Method and device for determining signal transmission time delay, equipment and storage medium
By acquiring and analyzing signal moments and simulating signal waveforms using simulation models, the problem of inaccurate signal transmission delay assessment in the existing technology is solved and more accurate delay measurement is achieved.
Patent Information
- Application Number
- CN202410755529.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-06
AI Technical Summary
When calculating the signal transmission delay, the existing technology cannot accurately consider the influence of components such as the transmitter and receiver device packaging, termination resistors, decoupling capacitors, etc., resulting in inaccurate signal transmission delay evaluation.
By obtaining the sending signal moment and receiving signal moment, and combining the preset simulation model (such as the IBIS model) to simulate the signal simulation waveform, the signal transmission delay is determined, taking into account the impact of edge degradation during the signal transmission process.
The data accuracy of the signal transmission delay is improved, the impact of each component on the printed circuit board on the signal transmission delay is fully considered, and the accuracy of the evaluation is enhanced.
Smart Images

Figure CN118607443A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and storage medium for determining a signal transmission delay. Background Art
[0002] Printed Circuit Board (PCB) is a key component used to support and connect electronic components. Electrical connections can be achieved by printing conductive paths on an insulating substrate and is widely used in various electronic devices.
[0003] There is a signal transmission delay in the signal transmission between two electronic devices connected via a printed circuit board. In the related art, the signal transmission delay in the printed circuit board is calculated by a formula related to the signal routing length and the signal transmission speed.
[0004] However, the entire path from when the signal is sent from the transmitter to when it is received by the receiver not only includes the transmission line on the printed circuit board, but also the device packaging, termination resistors, decoupling capacitors, etc. at the transmitter will affect the transmission of the signal. The transmission delay directly calculated by the formula is not accurate enough. Summary of the invention
[0005] The present application provides a method, apparatus, device and storage medium for determining a signal transmission delay, so as to solve the problem of how to improve the accuracy of the signal transmission delay.
[0006] In a first aspect, the present application provides a method for determining a signal transmission delay, the method comprising:
[0007] Obtaining a signal sending moment and a signal receiving moment; wherein the sending end and the receiving end are connected via a printed circuit board, the signal sending moment represents a moment when the sending end sends an evaluation signal to the receiving end, and the signal receiving moment represents a moment when the evaluation signal sent by the sending end reaches the receiving end via the printed circuit board;
[0008] The signal transmission delay is determined based on the signal sending time and signal receiving time.
[0009] Optionally, obtaining the time of sending the signal includes:
[0010] By deploying a preset simulation model at the sending end, a signal simulation waveform at the sending end is obtained; wherein the signal simulation waveform at the sending end represents a curve of voltage variation over time in the transmission path of the sending end when the preset simulation model at the sending end simulates that the sending end sends an evaluation signal to the receiving end;
[0011] Determine the time to send the signal based on the signal simulation waveform at the sending end.
[0012] Optionally, determining the time to send a signal according to a signal simulation waveform of a sending end includes:
[0013] Determine a target edge time on the signal simulation waveform of the transmitting end; wherein the target edge time is any one of a low voltage edge time, a center edge time, and a high voltage edge time, wherein the low voltage edge time represents the boundary time when the voltage changes from a low voltage to a high voltage, the high voltage edge time represents the boundary time when the voltage reaches a high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage;
[0014] The target edge time is determined as the signal sending time.
[0015] Optionally, obtaining the time of receiving the signal includes:
[0016] By deploying a preset simulation model at the receiving end, a signal simulation waveform at the receiving end is obtained; wherein the signal simulation waveform at the receiving end represents a curve of voltage variation over time in the transmission path of the receiving end when the preset simulation model at the receiving end simulates the evaluation signal sent by the transmitting end through the printed circuit board;
[0017] Determine the time of receiving the signal based on the signal simulation waveform at the receiving end.
[0018] Optionally, determining the signal receiving time according to the signal simulation waveform of the receiving end includes:
[0019] Determine a target edge time on the signal simulation waveform at the receiving end; wherein the target edge time is any one of a low voltage edge time, a center edge time, and a high voltage edge time, wherein the low voltage edge time represents the boundary time when the voltage changes from a low voltage to a high voltage, the high voltage edge time represents the boundary time when the voltage reaches a high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage;
[0020] The target edge time is determined to be the received signal time.
[0021] Optionally, the preset simulation model of the transmitting end and the preset simulation model of the receiving end are both IBIS models.
[0022] Optionally, determining the signal transmission delay according to the signal sending time and the signal receiving time includes:
[0023] Determine the difference between the time when the signal is received and the time when the signal is sent, and determine the difference as the signal transmission delay.
[0024] In a second aspect, the present application provides a device for determining a signal transmission delay, the device comprising:
[0025] An acquisition unit, used to acquire a signal transmission time and a signal reception time; wherein the transmitting end and the receiving end are connected via a printed circuit board, the signal transmission time represents a time when the transmitting end sends an evaluation signal to the receiving end, and the signal reception time represents a time when the evaluation signal sent by the transmitting end reaches the receiving end via the printed circuit board;
[0026] The determination unit is used to determine the signal transmission delay according to the signal sending time and the signal receiving time.
[0027] In a third aspect, the present application provides an electronic device, the electronic device comprising: a processor, the processor being connected to a memory;
[0028] The memory stores computer-executable instructions;
[0029] The processor executes the computer-executable instructions stored in the memory to implement the aforementioned method.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the method as described above when executed by a processor.
[0031] In a fifth aspect, the present application provides a computer program product, including a computer program, which is used to implement the method as described above when executed by a processor.
[0032] The present application provides a method, device, equipment and storage medium for determining signal transmission delay, the method comprising: obtaining the time of sending a signal, and obtaining the time of receiving a signal; wherein the transmitting end and the receiving end are connected via a printed circuit board, the time of sending a signal represents the time when the transmitting end sends an evaluation signal to the receiving end, and the time of receiving a signal represents the time when the evaluation signal sent by the transmitting end reaches the receiving end via the printed circuit board; the signal transmission delay is determined according to the time of sending a signal and the time of receiving a signal. The method of the present application fully considers the influence of the transmitting end and the receiving end themselves and the components on the printed circuit board on the transmission delay in the process from the signal being sent from the transmitting end to the signal being received by the receiving end, and takes into account the influence of the edge degradation generated after the signal passes through the transmission path, so that the evaluation delay is more accurate and the data accuracy of the signal transmission delay is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0034] Figure 1A simplified structural diagram of a signal transmission path in a printed circuit board provided in an embodiment of the present application;
[0035] Figure 2 A flowchart of a method for determining a signal transmission delay provided in an embodiment of the present application;
[0036] Figure 3 A topological diagram of an IBIS model of a transmitter provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a signal simulation waveform provided in an embodiment of the present application;
[0038] Figure 5 A topological diagram of an IBIS model of a receiving end provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of the structure of a device for determining a signal transmission delay provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0041] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] There is a signal transmission delay in the signal transmission between two electronic devices connected by a printed circuit board. In a related technology, the transmission delay of the signal in the printed circuit board PCB trace is evaluated mainly by calculating the formula:
[0045]
[0046] The speed of signal transmission can be expressed by the speed v of electromagnetic field change, which satisfies:
[0047]
[0048] Among them, ε 0 Represents the dielectric constant of free space, which is 8.89*10 -12 F / m; ε r Represents the relative dielectric constant of the material; μ 0 Represents the magnetic permeability of free space, the value is 4π*10 -7 H / m; μ r represents the relative magnetic permeability of the material. Substituting the data, we can get The relative permeability of almost all interconnect materials is 1, so we have
[0049] That is, the transmission delay
[0050] Based on the transmission delay formula, it can be known that under this calculation method, the signal transmission delay is positively correlated with the signal trace length and the relative dielectric constant of the material. However, the entire path from the signal being sent from the transmitter to the signal being received by the receiver includes not only the transmission line on the printed circuit board, but also the device package at the transmitter, the termination resistor of the printed circuit board, the decoupling capacitor, etc., which will affect the transmission of the signal.
[0051] For example, Figure 1This is a simplified structural diagram of a signal transmission path in a printed circuit board provided in an embodiment of the present application. Figure 1 As shown, the transmitting end (Driver) 10 and the receiving end (Receiver) 20 are connected to the substrate 30 of the printed circuit board through the pads (not shown in the figure) on the printed circuit board, and the transmitting end 10 and the receiving end 20 are connected through the traces 40, the string resistor 50, the via 60, etc. on the circuit board. The signal is sent from the transmitting end 10, passes through the pads (not shown in the figure), the traces 40, the string resistor 50, the via 60, etc., and reaches the receiving end 20. Due to the transmission line loss, the waveform edge T1 of the receiving end 20 will be degraded to a certain extent compared with the waveform edge T2 of the transmitting end 10. However, the above-mentioned method of calculation using the formula cannot take into account the influence of the rising edge degradation, especially for the signal sampled by the edge. The inaccuracy of the edge will affect the timing evaluation of the system, resulting in inaccurate transmission delay evaluation.
[0052] In order to solve the above problems, the present application provides a method for determining the signal transmission delay, which evaluates the signal transmission delay from the level of the entire transmission system. Specifically, the present application obtains the moment when the transmitter sends the evaluation signal and the moment when the receiver receives the evaluation signal, and then determines the signal transmission delay based on these two moments. In this way, the influence of edge degradation during signal transmission can be taken into account, and the influence of each component on the printed circuit board on the signal transmission delay can be fully considered, making the evaluation delay more accurate.
[0053] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0054] Figure 2 A flow chart of a method for determining a signal transmission delay provided in an embodiment of the present application. The execution subject of the embodiment of the present application may be a device for determining a signal transmission delay, and the device for determining a signal transmission delay may be located on an electronic device, and the electronic device may be a mobile terminal, such as a mobile phone, a tablet, a computer, etc., which is not limited in the present application. The embodiment of the present application is described in detail by taking the execution subject as a device for determining a signal transmission delay as an example.
[0055] like Figure 2 As shown, the method for determining the signal transmission delay provided in this embodiment includes:
[0056] S201, obtaining the time of sending a signal and obtaining the time of receiving a signal; wherein the sending end and the receiving end are connected via a printed circuit board, the time of sending a signal represents the time when the sending end sends an evaluation signal to the receiving end, and the time of receiving a signal represents the time when the evaluation signal sent by the sending end reaches the receiving end via the printed circuit board.
[0057] For example, Figure 1 As shown, in the embodiment of the present application, the transmitting end and the receiving end are connected via a printed circuit board. The signal transmission delay determination method provided in the embodiment of the present application can be used to determine the signal transmission delay between two electronic devices connected via a printed circuit board. Among them, the transmitting end can be a transmitting end chip, and the receiving end can be a receiving end chip. Of course, the transmitting end and the receiving end can also be other electronic devices, and the present application does not limit this.
[0058] Based on the method of the present application, the signal transmission delay determination device of the present application needs to first obtain the time T1 when the transmitting end sends the evaluation signal to the receiving end, and the time T2 when the evaluation signal sent by the transmitting end reaches the receiving end via the printed circuit board, when determining the signal transmission delay from the transmitting end to the receiving end, so as to subsequently determine the signal transmission delay according to T1 and T2. Optionally, the evaluation signal can be a clock signal.
[0059] In a possible implementation, obtaining the signal sending time may include:
[0060] A. Obtain a signal simulation waveform of the sending end by deploying a preset simulation model at the sending end; wherein the signal simulation waveform of the sending end represents a curve of voltage variation over time in the transmission path of the sending end when the preset simulation model of the sending end simulates the sending end sending an evaluation signal to the receiving end.
[0061] B. Determine the time to send the signal based on the signal simulation waveform at the sending end.
[0062] For example, in order to obtain a relatively accurate time of sending a signal, a preset simulation model for obtaining a signal simulation waveform of the sending end can be deployed at the sending end. The preset simulation model of the sending end can simulate the situation when the sending end sends an evaluation signal to the receiving end, thereby outputting a curve of the voltage change over time in the transmission path of the sending end when the sending end sends the evaluation signal, so as to obtain the signal simulation waveform of the sending end. Furthermore, the time of sending a signal can be determined according to the signal simulation waveform of the sending end.
[0063] Optionally, the preset simulation model of the transmitting end can be an IBIS model. Among them, the IBIS (Input / output Buffer Informational Specification) model is a method for quickly and accurately modeling the input / output (I / O) buffer (BUFFER) based on the voltage / current (V / I) curve. It is an international standard that reflects the chip driving and receiving electrical characteristics. It provides a standard file format to record parameters such as driving source output impedance, rise / fall time and input load. Signal integrity issues that can be analyzed using the IBIS model include: crosstalk, reflection, oscillation, overshoot, undershoot, transmission line analysis, topology analysis, etc. This application assigns the IBIS model to the transmitting end, and combined with the transmission structure on the printed circuit board, it can perform time domain waveform simulation to obtain the signal simulation waveform of the transmitting end.
[0064] For example, Figure 3 A topological diagram of an IBIS model of a transmitter provided in an embodiment of the present application. Figure 3 As shown in the figure, the output pin of the IBIS model of the transmitter is floated. Figure 3 The IBIS model of the transmitter shown can obtain the signal simulation waveform of the transmitter.
[0065] In a possible implementation, determining the time to send a signal according to a signal simulation waveform at the sending end may include:
[0066] B1. Determine the target edge moment on the signal simulation waveform of the transmitting end; wherein the target edge moment is any one of the low voltage edge moment, the center edge moment, and the high voltage edge moment. The low voltage edge moment represents the boundary moment when the voltage changes from a low voltage to a high voltage, the high voltage edge moment represents the boundary moment when the voltage reaches a high voltage, and the center edge moment represents the moment when the voltage reaches the middle point between the low voltage and the high voltage.
[0067] B2. Determine the target edge time as the signal sending time.
[0068] For example, Figure 4 A schematic diagram of a signal simulation waveform provided in an embodiment of the present application. Figure 4 As shown, the horizontal axis is time, the vertical axis is voltage, and curve D is based on Figure 1 The printed circuit board structure shown in the figure shows that the IBIS model at the transmitter outputs a clock signal with a frequency of 33MHz and an amplitude of 3.3V on the FR4 board (ε r=4) on a 50Ω transmission line through an 18-inch routing simulation. When determining the time to send a signal, the low voltage edge time corresponding to the boundary point D1 when the voltage on the curve D changes from a low voltage to a high voltage, the center edge time corresponding to the middle point D2 when the voltage reaches the low voltage and the high voltage, and the high voltage edge time corresponding to the boundary point D3 when the voltage reaches the high voltage can be selected as the time to send the signal, and this application does not limit this.
[0069] In a possible implementation, obtaining the signal receiving time may include:
[0070] M. Obtain a signal simulation waveform at the receiving end by deploying a preset simulation model at the receiving end; wherein the signal simulation waveform at the receiving end represents a curve of voltage variation over time in a transmission path at the receiving end when the preset simulation model at the receiving end simulates an evaluation signal sent by the transmitting end through a printed circuit board.
[0071] N. Determine the time of receiving the signal based on the signal simulation waveform at the receiving end.
[0072] For example, in order to obtain a relatively accurate signal reception time, a preset simulation model for obtaining the signal simulation waveform of the receiving end can also be deployed at the receiving end. The preset simulation model of the receiving end can simulate the situation when the receiving end receives the evaluation signal sent by the transmitting end through the printed circuit board, thereby outputting a curve of the voltage change over time in the transmission path of the receiving end when the receiving end receives the evaluation signal, so as to obtain the signal simulation waveform of the receiving end. Furthermore, the signal reception time can be determined according to the signal simulation waveform of the receiving end.
[0073] Optionally, the preset simulation model of the receiving end may also be an IBIS model. Figure 5 A topological diagram of an IBIS model of a receiving end provided in an embodiment of the present application. Figure 1 The structure of the printed circuit board shown in the figure is taken as an example. Figure 5 As shown, Figure 1 The printed circuit board structure shown is brought into the model, based on Figure 5 The IBIS model of the receiver shown in Figure 4 The signal simulation waveform at the receiving end is shown as the curve R in the middle.
[0074] Based on this, in a possible implementation, determining the signal receiving time according to the signal simulation waveform at the receiving end may include:
[0075] N1. Determine the target edge moment on the signal simulation waveform at the receiving end; wherein the target edge moment is any one of the low voltage edge moment, the center edge moment, and the high voltage edge moment. The low voltage edge moment represents the boundary moment when the voltage changes from a low voltage to a high voltage, the high voltage edge moment represents the boundary moment when the voltage reaches a high voltage, and the center edge moment represents the moment when the voltage reaches the midpoint between the low voltage and the high voltage.
[0076] N2. Determine the target edge time as the signal receiving time.
[0077] For example, Figure 4 As shown, curve R is based on Figure 1 The printed circuit board structure shown, the IBIS model of the receiving end outputs a clock signal with a frequency of 33MHz and an amplitude of 3.3V on a 50Ω transmission line of FR4 board (εr=4), and the signal simulation waveform of the receiving end is obtained by simulating an 18-inch routing. When determining the time of receiving the signal, the low voltage edge time corresponding to the boundary point R1 when the voltage on the curve R changes from low voltage to high voltage, the center edge time corresponding to the middle point R2 when the voltage reaches the low voltage and the high voltage, and the high voltage edge time corresponding to the boundary point R3 when the voltage reaches the high voltage can be selected as the time of receiving the signal, and this application does not limit this.
[0078] In practical applications, the curve D output by the IBIS model at the transmitter and the curve R output by the IBIS model at the receiver can be shown as Figure 4 The diagram is drawn on one coordinate system, and can also be drawn on different coordinate systems, which is not limited in this application.
[0079] Since the IBIS model of the transmitting end and the IBIS model of the receiving end take into account the overall structure of the printed circuit board, the signal sending time and signal receiving time determined based on this are more accurate, and the signal transmission delay determined subsequently will also be more accurate.
[0080] S202: Determine a signal transmission delay according to a signal sending time and a signal receiving time.
[0081] Exemplarily, after the signal transmission delay determination device of the present application obtains the signal sending time and the signal receiving time, the signal transmission delay can be determined according to the signal sending time and the signal receiving time.
[0082] In a possible implementation, determining the signal transmission delay according to the signal sending time and the signal receiving time may include: determining the difference between the signal receiving time and the signal sending time, and determining the difference as the signal transmission delay.
[0083] Exemplarily, signal transmission delay is also called transmission delay, which refers to the time required for a signal to be transmitted from a transmitting end to a receiving end. In the embodiment of the present application, signal transmission delay Td = signal reception time T2 - signal transmission time T1. Therefore, the time difference obtained by subtracting the signal transmission time from the signal reception time of the present application is the signal transmission delay of the present application.
[0084] For example, Figure 4 As shown in the figure, if the center edge time corresponding to the voltage on the signal simulation waveform at the sending end reaching the middle point D2 (at 1.65V) between the low voltage and the high voltage is taken as the sending signal time T1, and the center edge time corresponding to the voltage on the signal simulation waveform at the receiving end reaching the middle point R2 (at 1.65V) between the low voltage and the high voltage is taken as the receiving signal time T2, the signal transmission delay can be obtained to be 3.355ns. If it is directly calculated according to the conventional formula between the signal routing length and the signal transmission speed, The signal transmission delay calculated by this formula is only 3ns. Compared with the method calculated by the conventional formula, the signal transmission delay obtained by the method of this application increases by about 11.83%, and the increase is mainly caused by the chip packaging in the transmitting and receiving ends, the resistors on the printed circuit board, the decoupling capacitors, the transmission lines, etc.
[0085] The method for determining the signal transmission delay provided in the embodiment of the present application includes: obtaining the time of sending the signal, and obtaining the time of receiving the signal; wherein the transmitting end and the receiving end are connected through a printed circuit board, the time of sending the signal represents the time when the transmitting end sends an evaluation signal to the receiving end, and the time of receiving the signal represents the time when the evaluation signal sent by the transmitting end reaches the receiving end through the printed circuit board; according to the time of sending the signal and the time of receiving the signal, the signal transmission delay is determined. The method of the present application fully considers the influence of the transmitting end and the receiving end themselves and the components on the printed circuit board on the transmission delay in the process from the signal being sent from the transmitting end to the signal being received by the receiving end, and takes into account the influence of the edge degradation generated after the signal passes through the transmission path, so that the evaluation delay is more accurate and the data accuracy of the signal transmission delay is improved.
[0086] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0087] Figure 6 A schematic diagram of a signal transmission delay determination device provided in an embodiment of the present application. Figure 6 As shown, the signal transmission delay determination device 60 provided in the embodiment of the present application includes an acquisition unit 601 and a determination unit 602 .
[0088] The acquisition unit 601 is used to acquire the time of sending a signal and the time of receiving a signal; wherein the sending end and the receiving end are connected via a printed circuit board, the time of sending a signal represents the time when the sending end sends an evaluation signal to the receiving end, and the time of receiving a signal represents the time when the evaluation signal sent by the sending end reaches the receiving end via the printed circuit board.
[0089] The determining unit 602 is used to determine the signal transmission delay according to the signal sending time and the signal receiving time.
[0090] In a possible implementation, the acquiring unit 601 is specifically configured to:
[0091] By deploying a preset simulation model at the sending end, a signal simulation waveform at the sending end is obtained; wherein the signal simulation waveform at the sending end represents a curve of voltage variation over time in the transmission path of the sending end when the preset simulation model at the sending end simulates the sending end sending an evaluation signal to the receiving end;
[0092] Determine the time to send the signal based on the signal simulation waveform at the sending end.
[0093] In a possible implementation, the obtaining unit 601 is further specifically configured to:
[0094] Determine the target edge time on the signal simulation waveform of the transmitting end; wherein the target edge time is any one of the low voltage edge time, the center edge time, and the high voltage edge time, the low voltage edge time represents the boundary time when the voltage changes from the low voltage to the high voltage, the high voltage edge time represents the boundary time when the voltage reaches the high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage;
[0095] The target edge time is determined as the time of sending the signal.
[0096] In a possible implementation, the obtaining unit 601 is further specifically configured to:
[0097] By deploying a preset simulation model at the receiving end, a signal simulation waveform at the receiving end is obtained; wherein the signal simulation waveform at the receiving end represents a curve of voltage variation over time in a transmission path at the receiving end when the preset simulation model at the receiving end simulates an evaluation signal sent by the sending end through a printed circuit board;
[0098] Determine the time of receiving the signal based on the signal simulation waveform at the receiving end.
[0099] In a possible implementation, the obtaining unit 601 is further specifically configured to:
[0100] Determine the target edge time on the signal simulation waveform at the receiving end; wherein the target edge time is any one of the low voltage edge time, the center edge time, and the high voltage edge time, the low voltage edge time represents the boundary time when the voltage changes from the low voltage to the high voltage, the high voltage edge time represents the boundary time when the voltage reaches the high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage;
[0101] The target edge time is determined as the time of receiving the signal.
[0102] In a possible implementation, the preset simulation model of the transmitting end and the preset simulation model of the receiving end are both IBIS models.
[0103] In a possible implementation, the determining unit 602 is specifically configured to:
[0104] Determine the difference between the time when the signal is received and the time when the signal is sent, and determine the difference as the signal transmission delay.
[0105] The device provided in this embodiment can be used to execute the method of the above embodiment. Its implementation principle and technical effect are similar and will not be described in detail here.
[0106] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, it can also be stored in the memory of the above device in the form of program code, and the functions of the above data processing modules can be called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0107] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 70 includes: a processor 701 , and the processor 701 is connected to a memory 702 .
[0108] The memory 702 stores computer-executable instructions; the processor 701 executes the computer-executable instructions stored in the memory 702 to implement any of the aforementioned methods.
[0109] In the specific implementation of the above electronic device, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The method disclosed in the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution.
[0110] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any of the methods described above.
[0111] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to computer instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0112] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement any of the aforementioned methods when executed by a processor.
[0113] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0114] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for determining signal transmission delay, characterized in that: The method comprises: Obtaining a signal sending moment and a signal receiving moment; wherein the sending end and the receiving end are connected via a printed circuit board, the signal sending moment represents a moment when the sending end sends an evaluation signal to the receiving end, and the signal receiving moment represents a moment when the evaluation signal sent by the sending end reaches the receiving end via the printed circuit board; The signal transmission delay is determined based on the signal sending time and signal receiving time.
2. The method according to claim 1, characterized in that Get the time when the signal is sent, including: By deploying a preset simulation model at the sending end, a signal simulation waveform at the sending end is obtained; wherein the signal simulation waveform at the sending end represents a curve of voltage variation over time in the transmission path of the sending end when the preset simulation model at the sending end simulates that the sending end sends an evaluation signal to the receiving end; Determine the time to send the signal based on the signal simulation waveform at the sending end.
3. The method according to claim 2, characterized in that According to the signal simulation waveform at the sending end, determine the time to send the signal, including: Determine a target edge time on the signal simulation waveform of the transmitting end; wherein the target edge time is any one of a low voltage edge time, a center edge time, and a high voltage edge time, wherein the low voltage edge time represents the boundary time when the voltage changes from a low voltage to a high voltage, the high voltage edge time represents the boundary time when the voltage reaches a high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage; The target edge time is determined as the signal sending time.
4. The method according to claim 2, characterized in that: Get the received signal time, including: By deploying a preset simulation model at the receiving end, a signal simulation waveform at the receiving end is obtained; wherein the signal simulation waveform at the receiving end represents a curve of voltage variation over time in the transmission path of the receiving end when the preset simulation model at the receiving end simulates the evaluation signal sent by the transmitting end through the printed circuit board; Determine the time of receiving the signal based on the signal simulation waveform at the receiving end.
5. The method according to claim 4, characterized in that According to the signal simulation waveform at the receiving end, determine the time of receiving the signal, including: Determine a target edge time on the signal simulation waveform at the receiving end; wherein the target edge time is any one of a low voltage edge time, a center edge time, and a high voltage edge time, wherein the low voltage edge time represents the boundary time when the voltage changes from a low voltage to a high voltage, the high voltage edge time represents the boundary time when the voltage reaches a high voltage, and the center edge time represents the time when the voltage reaches the middle point between the low voltage and the high voltage; The target edge time is determined to be the received signal time.
6. The method according to claim 4, characterized in that The preset simulation model of the transmitting end and the preset simulation model of the receiving end are both IBIS models.
7. The method according to any one of claims 1 to 6, characterized in that The signal transmission delay is determined based on the signal sending time and signal receiving time, including: Determine the difference between the time when the signal is received and the time when the signal is sent, and determine the difference as the signal transmission delay.
8. A device for determining a signal transmission delay, characterized in that: The device comprises: An acquisition unit, used to acquire a signal transmission time and a signal reception time; wherein the transmitting end and the receiving end are connected via a printed circuit board, the signal transmission time represents a time when the transmitting end sends an evaluation signal to the receiving end, and the signal reception time represents a time when the evaluation signal sent by the transmitting end reaches the receiving end via the printed circuit board; The determination unit is used to determine the signal transmission delay according to the signal sending time and the signal receiving time.
9. An electronic device, characterized in that: The electronic device comprises: a processor, wherein the processor is connected to a memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
