Method and Device for Analyzing an Electrical Circuit
20180292457 ยท 2018-10-11
Inventors
Cpc classification
H04B17/23
ELECTRICITY
International classification
G01R27/26
PHYSICS
H04B17/23
ELECTRICITY
Abstract
A method of analyzing an electrical circuit applied for an electrical system is disclosed. The method includes steps of obtaining a loss parameter and an eye diagram of a circuit channel of the electrical system; comparing the eye diagram with a standard eye diagram to generate a comparison result; generating an analytic result of the loss parameter according to the comparison result in order to adjust the eye diagram; and adjusting the loss parameter according to the analytic result.
Claims
1. A method for analyzing an electrical circuit, applied for an electrical system, the method comprising: obtaining a loss parameter and an eye diagram of a circuit channel in the electrical system; comparing the eye diagram with an expected eye diagram, for generating a comparison result; generating an analytical result corresponding to the loss parameter according to the comparison result, for adjusting the eye diagram; and adjusting the loss parameter according to the analytical result.
2. The method of claim 1, wherein the step of comparing the eye diagram with the expected eye diagram for generating the comparison result comprises: obtaining an eye height and an eye width of the eye diagram and an expected eye height and an expected eye width of the expected eye diagram; and comparing the eye height and the eye width of the eye diagram with the expected eye height and expected eye width of the expected eye diagram, to generate the comparison result.
3. The method of claim 1, wherein the step of generating an analytical result corresponding to the loss parameter according to the comparison result comprises: generating the analytical result of adjusting the loss parameter of the circuit channel when the comparison result indicates at least one of the eye height is smaller than the expected eye height and the eye width is smaller than the expected eye width; and generating the analytical result of maintaining the loss parameter of the circuit channel when the comparison result indicates that the eye height is greater than or equal to the expected eye height and the eye width is greater than or equal to the expected eye width.
4. The method of claim 1, wherein when adjusting the loss parameter according to the analytical result, if the comparison result indicates at least one of the eye height is smaller than the expected eye height and the eye width is smaller than the expected eye width, a loss parameter adjusting loop is repeatedly performed until the comparison result indicates that the eye height is greater than or equal to the expected eye height and the eye width is greater than or equal to the expected eye width.
5. The method of claim 4, wherein the loss parameter adjusting loop is adding a unit gain to the loss parameter of the circuit channel, and comparing the eye diagram of the circuit channel with the expected eye diagram after the unit gain is added, to generate the comparison result.
6. The method of claim 1, wherein the loss parameter is a scattering parameter.
7. An electrical circuit analyzing device, applied for an electrical system, comprising: a processing unit; and a storage unit, for storing a program code to instruct the processing unit to perform the following steps: obtaining a loss parameter and an eye diagram of a circuit channel in the electrical system; comparing the eye diagram with an expected eye diagram for generating a comparison result; generating an analytical result corresponding to the loss parameter according to the comparison result for adjusting the eye diagram; and adjusting the loss parameter according to the analytical result.
8. The electrical circuit analyzing device of claim 7, wherein the processing unit is further configured to perform the following steps, for comparing the eye diagram with the expected eye diagram for generating the comparison result: obtaining an eye height and an eye width of the eye diagram and an expected eye height and an expected eye width of the expected eye diagram; and comparing the eye height and the eye width of the eye diagram with the expected eye height and expected eye width of the expected eye diagram, to generate the comparison result.
9. The electrical circuit analyzing device of claim 7, wherein the processing unit is further configured to perform the following steps, for generating an analytical result corresponding to the loss parameter according to the comparison result: generating the analytical result of adjusting the loss parameter of the circuit channel when the comparison result indicates at least one of the eye height is smaller than the expected eye height and the eye width is smaller than the expected eye width; and generating the analytical result of maintaining the loss parameter of the circuit channel when the comparison result indicates that the eye height is greater than or equal to the expected eye height and the eye width is greater than or equal to the expected eye width.
10. The electrical circuit analyzing device of claim 7, wherein when adjusting the loss parameter according to the analytical result, if the comparison result indicates at least one of the eye height is smaller than the expected eye height and the eye width is smaller than the expected eye width, the processing unit performs a loss parameter adjusting loop repeatedly until the comparison indicates that the eye height is greater than or equal to the expected eye height and the eye width is greater than or equal to the expected eye width.
11. The electrical circuit analyzing device of claim 10, wherein the loss parameter adjusting loop is performed by the processing unit to add a unit gain to the loss parameter of the circuit channel, and compare the eye diagram of the circuit channel with the expected eye diagram after the unit gain is increased, to generate the comparison result.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015] Please refer to
[0016] The electrical circuit analyzing device 10 is coupled to the circuit channel Ch, and comprises a processing unit 102 and a storage unit 104. The processing unit 102 may be a microprocessor (MCU), application-specific integrated circuit (ASIC), etc., and is not limited herein. The storage unit 104 is configured for storing a program code 1040, which may be accessed and executed by the processing unit 102. The storage unit 104 may be any type of data storage device, e.g., a read-only memory, a random-access memory, an optical data storage device, a non-volatile memory, etc., and not limited herein.
[0017] Please refer to
[0018] Step 200: Start.
[0019] Step 202: Obtain a loss parameter Ls and an eye diagram Edg of the circuit channel Ch in the electrical system 1.
[0020] Step 204: Compare the eye diagram Edg with an expected eye diagram Std to generate a comparison result.
[0021] Step 206: Generate an analytical result corresponding to the loss parameter Ls according to the comparison result, for adjusting the eye diagram Edg.
[0022] Step 208: Adjust the loss parameter Ls according to the analytical result.
[0023] Step 210: End.
[0024] According to the electrical circuit analyzing process 20, the electrical circuit analyzing device 10 obtains the loss parameter Ls and the eye diagram Edg of the circuit channel Ch, compares the eye diagram Edg and the expected eye diagram Std to generate the comparison result, and generates the analytical result corresponding to the loss parameter Ls according to the comparison result, for adjusting the eye diagram Edg. The analytical result of the loss parameter Ls may be a direction for adjusting characteristics of the electrical system 1, to help the circuit designer to reduce repeated and meaningless attempts, and for providing analytical suggestions for adjusting the circuit so as to accelerate the design flow.
[0025] In detail, in order to analyze the signal transmission characteristic of the circuit channel Ch, the electrical circuit analyzing device 10 obtains the loss parameter Ls and the eye diagram Edg of the circuit channel Ch (i.e. Step 202), and determines the signal transmission characteristic of the circuit channel Ch according to the loss parameter Ls and the eye diagram Edg. Generally, the eye diagram Edg may be obtained by delivering a pseudo random binary sequence (PRBS) signal from the transmitting end Tx and overlapping the received signal at the receiving end Rx to observe the transmission characteristic of the circuit channel Ch. Note that, the loss parameter Ls may be related to a scattering parameter. Moreover, since the loss parameter Ls reflects transmission characteristics (e.g. frequency response, impedance, etc.) of the circuit channel Ch, the eye diagram Edg corresponding to the circuit channel Ch may be obtained by analyzing the loss parameter Ls, and is not limited within measuring the digital signal Vo.
[0026] Next, to determine whether the circuit channel Ch meets the system requirements, the obtained eye diagram Edg is compared with the expected eye diagram Std ruled by a transmission specification (Step 204). As known by one skilled in the art, a wide and clear eye opening of the eye diagram Edg represents good signal characteristic of the circuit channel Ch and little interference from the non-ideal effects. The expected eye diagram Std represents an eye diagram corresponding to a transmission quality satisfying the system requirements. Therefore, for ensuring that the circuit Ch meets the required transmission quality, the opening of the eye diagram Edg is required to conform to or be larger than the expected eye diagram Std. In such a situation, the present invention compares the eye diagram Edg and the expected eye diagram Std, to determine whether the circuit channel Ch meets the system requirements.
[0027] According to the comparison result of the eye diagram Edg and the expected eye diagram Std, the electrical circuit analyzing device 10 determines if the eye diagram Edg corresponding to the loss parameter Ls satisfies the system requirements, and generates the analytical result of the loss parameter Ls accordingly (i.e. Step 206), which may be taken as an indication for adjusting the circuit channel Ch. For example, if the eye diagram Edg cannot satisfy the system requirements, it represents that the non-idealities of the circuit channel Ch is dominant and degrades the signal quality. Since adjusting the loss parameter Ls may improve the non-idealities of the circuit channel Ch, the analytical result may include an indication for adjusting the loss parameter Ls, so as to improve the eye diagram Edg and enhance the signal quality of the circuit channel Ch.
[0028] In brief, the electrical circuit analyzing device 10 of the embodiment of the present invention obtains the loss parameter Ls and the eye diagram Edg of the circuit channel Ch, compares the eye diagram Edg with the expected eye diagram Std stored in the storage unit 104 to generate the comparison result, and generates the analytical result of the loss parameter Ls accordingly, where the analytical result may be used for adjusting the eye diagram Edg.
[0029] Notably, the electrical circuit analyzing process 20 is an embodiment of the present invention, those skilled in the art may make modifications and alterations accordingly, and not limited herein. For example, Step 204 is to compare the eye diagram Edg and the expected eye diagram Std, which may be realized by observing and comparing jitters, eye amplitudes, eye heights or eye widths of the eye diagrams. The eye height and the eye width are generally utilized as indexes for evaluating the eye diagram opening and may represent the signal quality. If values of the eye height and the eye width of the eye diagram are greater, the corresponding signal quality is more stable, such that the difficulty or error rate for the circuit to accurately determine the signals is lower. More specifically, please refer to
[0030] Step 400: Start.
[0031] Step 402: The processing unit 102 obtains the loss parameter Ls and the eye diagram Edg of the circuit channel Ch.
[0032] Step 404: The processing unit 102 compares the eye diagram Edg with the expected eye diagram Std, to generate the comparison result.
[0033] Step 406: The processing unit 102 analyzes whether the eye height Eh is greater than or equal to the expected height Sh and the eye width Ew is greater than or equal to the expected width Sw, and generates the analytical result corresponding to the loss parameter Ls in order to adjust the eye diagram Edg. If yes, execute Step 410; if not, execute Step 408.
[0034] Step 408: Add a unit gain Gu to the loss parameter Ls and obtain the eye diagram Edg' after the unit gain Gu is added.
[0035] Step 410: End.
[0036] In the circuit analyzing and adjusting process 40, Steps 404, 406 and 408 may be regarded as a loss parameter adjusting loop. When the analytical result generated by the electrical circuit analyzing device 10 indicates to adjust the loss parameter Ls, the loss parameter adjusting loop may be repeatedly performed until the comparison result reveals that the eye height Eh is greater than or equal to the expected height Sh and the eye width Ew is greater than or equal to the expected width Sw.
[0037] As to operating principles of the circuit analyzing and adjusting process 40, the following descriptions are illustrated together with
[0038] Since the eye diagram Edg' shown in
[0039] Furthermore, to enhance the signal transmission quality, the loss parameter adjusting loop maybe additionally executed according to the circuit analyzing and adjusting process 40. As shown in
[0040] In another aspect, please refer to
[0041] Notably, the embodiments stated in the above are utilized for illustrating the concept of the present invention, and those skilled in the art may make modifications and alterations accordingly, which are not limited herein. For example, the processing unit 102 may not only increase the loss parameter Ls but also reduce the loss parameter Ls according to the analytical result instructed by the processing unit 102 when the eye diagram meets the system specification in order to decrease cost.
[0042] In another embodiment, except for performing the loss parameter adjusting loop, the loss parameter Ls may be adjusted by checking a lookup table. For example, after the processing unit 102 generates the analytical result of the loss parameter Ls, the processing unit 102 may check a predetermined lookup table with a difference value between the eye height Eh and the expected height Sh and/or between the eye width Ew and the expected width Sw, so as to determine the value for adjusting the loss parameter Ls.
[0043] In addition, to meet the system requirements and design flexibility, the processing unit 102 may not only compare the eye height Eh and eye width Ew of the eye diagram Edg with the expected height Sh and the expected width Sw of the expected eye diagram Std, but also compare the jitter or the amplitude of the eye diagram Edg to determine whether the circuit channel Ch meets the system specification and generate the analytical result accordingly.
[0044] Therefore, using the circuit analyzing and adjusting process 40 of the present invention, the circuit designers may execute the loss parameter adjusting loop according to the analytical result generated by the electrical circuit analyzing device 10, and adjust the eye diagram of the circuit channel Ch accordingly. The circuit designer may modify the layout of the circuit channel Ch right after the loss parameter which satisfies the system specification is obtained, unlike the prior art which modifies the circuit layout of the circuit channel Ch and generates the corresponding eye diagram Edg repeatedly without the instruction of the analytical result to determine whether the modified layout of the circuit channel Ch meets the system specification. Under such circumstances, according to the present invention, the circuit designer may save the expense of time from repeatedly modifying the layout of the circuit channel Ch and obtaining corresponding eye diagram Edg, and considerably shorten the design schedule and increase the design efficiency.
[0045] In the conventional art, when the transmission characteristic of the circuit channel does not meet the system specification, the circuit designers tend to modify the circuit layout for adjusting the transmission characteristic of the circuit, which may increase time for circuit design and decrease the design efficiency, because it is time consuming to obtain the loss parameter and the eye diagram from the circuit layout, and because there is no analytical result, the circuit designers have to blindly, meaninglessly and repeatedly modify the circuit layout to obtain the loss parameter which meets the system specification. In comparison, the electrical circuit analyzing device of the present invention may decrease invalid modification attempts for adjusting the circuit channel layout and further improve the eye diagram efficiently.
[0046] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.