Rapidio-based amplitude adaptation method, device, medium and system
By adaptively setting the RapidIO amplitude and adjusting pre-emphasis and deemphasis, the problem of poor signal quality caused by hardware wiring in large-scale RapidIO networks is solved, achieving stable node access and improved signal quality.
Patent Information
- Application Number
- CN202411340558.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2044-09-25
AI Technical Summary
In large-scale RapidIO networks, poor signal quality caused by hardware wiring can prevent RapidIO nodes from joining the network.
By adaptively setting the amplitude of RapidIO, including pre-emphasis and de-emphasis settings, the optimal amplitude for each module's physical location is found, thereby improving signal quality.
Without affecting the speed, the signal quality of RapidIO nodes was optimized, the problem of nodes being unable to join the network was solved, and efficiency and user acceptance were improved.
Smart Images

Figure CN119299303B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of embedded system applications, and more specifically, to an amplitude adaptive method, apparatus, medium, and system based on RapidIO. Background Technology
[0002] In embedded system applications, all hardware components are connected via a bus. However, traditional interconnect buses, due to limitations in transmission bandwidth and system topology, can no longer meet the demands of ever-increasing processor frequencies and performance. Therefore, in embedded environments, the RapidIO interconnect bus protocol is primarily used to meet the interconnection and transmission needs between chips and boards, enabling communication speeds from 1Gbps to 60Gbps.
[0003] The amplitude of the RapidIO signal determines the signal strength and transmission distance. If the signal amplitude is too small, it may cause excessive signal attenuation during transmission, thus affecting the data reception quality. If the signal amplitude is too large, it may cause signal distortion at the receiving end, affecting the accuracy of the data. Therefore, proper adjustment of the signal amplitude is very important for ensuring the stability and reliability of communication.
[0004] When the RapidIO network is small, the default amplitude value of the RapidIO physical layer is sufficient. However, as the RapidIO network grows larger, the increased trace distance between the backplane and the controller, along with interference between physical chips, can lead to poor RapidIO signal quality. If the hardware is fixed, improving RapidIO signal quality can only be achieved by changing the speed of the RapidIO nodes, essentially performing a speed reduction. The drawback of this method is:
[0005] (1) Although the quality of RapidIO signal is improved after the rate is reduced, it may not meet the system's rate and bandwidth requirements.
[0006] (2) Even after reducing the rate, the RapidIO signal quality may still be poor, and the problem cannot be completely solved. Summary of the Invention
[0007] The purpose of this invention is to overcome the shortcomings of the prior art and provide an amplitude adaptive method, device, medium and system based on RapidIO, which can solve the problem of poor RapidIO signal quality and the inability of RapidIO nodes to join the network due to hardware wiring in large-scale networks.
[0008] The objective of this invention is achieved through the following approach:
[0009] An amplitude adaptation method based on RapidIO includes:
[0010] By adaptively setting the amplitude of RapidIO, the optimal amplitude corresponding to the physical location of the module is sought through pre-emphasis settings and de-emphasis settings in sequence.
[0011] The optimal amplitude setting is used to improve the problem of poor RapidIO signal quality caused by hardware wiring in large-scale RapidIO networks, which prevents RapidIO nodes from joining the network.
[0012] Furthermore, the process of adaptively setting the RapidIO amplitude, sequentially through pre-emphasis settings and de-emphasis settings, to find the optimal amplitude corresponding to the physical location of the module, specifically includes the following sub-steps:
[0013] S100: During system initialization, the master control node scans the RapidIO nodes in the system, detects the RIO Port Error and Status CSR status of all ports of the SRIO switching chip, and judges the signal quality as poor if it is lower than expected, and performs multiple recovery operations.
[0014] After recovery, the main control node checks the RIO Port Error and Status CSR of the chip replacement port. If the signal quality is still poor, amplitude modulation is performed; otherwise, it directly connects to the network.
[0015] S300 enables the output amplitude of the transmitting end of the switching chip port;
[0016] S400: Set the local pre-amplification value sequentially. After each set number of times, reset and check the RIOPort Error and Status CSR status of the chip port. If the signal quality is greater than or equal to the expected value, it is considered good and can be connected to the network.
[0017] If the pre-weight setting fails, try setting the weight again. After each number of settings, reset the chip and check the RIO Port Error and Status CSR. If the signal quality is good, then connect to the network.
[0018] In the S600, the master control node records the amplitude values corresponding to different switching ports in the corresponding amplitude table. Upon the next power-on, the master control node configures itself based on the values in the amplitude table.
[0019] Furthermore, the multiple recovery operations specifically include performing three recovery operations.
[0020] Furthermore, the set number of times includes once.
[0021] A RapidIO-based amplitude adaptation device includes a processor and a memory, wherein the memory stores a computer program that, when loaded by the processor, executes the method described in any of the preceding claims.
[0022] A computer-readable storage medium storing a computer program that, when loaded by a processor, executes the method described in any of the preceding claims.
[0023] An amplitude adaptive system based on RapidIO includes the amplitude adaptive device based on RapidIO as described above.
[0024] The beneficial effects of this invention include:
[0025] (1) This invention provides a solution to the problem of nodes being unable to join the network due to poor RapidIO signal quality. By adaptively setting the RapidIO amplitude, the optimal amplitude corresponding to the physical location of the module is sought through pre-emphasis setting and de-emphasis setting. By setting the amplitude, the problem of RapidIO nodes being unable to join the network due to poor RapidIO signal quality caused by large-scale RapidIO networks and hardware wiring can be improved.
[0026] (2) This invention has the advantage of high efficiency. Specifically, it proposes a method to solve the problem of poor RapidIO signal quality caused by hardware wiring in large-scale RapidIO networks by reducing the bandwidth rate of RapidIO. The method provided by this invention optimizes the signal quality of RapidIO nodes without affecting the rate, and is more efficient and better accepted by users. Attached Figure Description
[0027] 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 these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of an amplitude adaptive method based on RapidIO according to an embodiment of the present invention. Detailed Implementation
[0029] All features disclosed in all embodiments of this specification, or steps in all methods or processes implied in the disclosure, may be combined and / or extended or replaced in any way, except for mutually exclusive features and / or steps.
[0030] The specific implementation process of this invention is as follows:
[0031] like Figure 1 As shown, the present invention provides an amplitude adaptation method based on RapidIO, comprising the following steps:
[0032] S100: During system initialization, the master control node scans the RapidIO nodes in the system, detects the RIO Port Error and Status CSR status of all ports of the SRIO switching chip, and performs three recovery operations for those with poor signal quality.
[0033] After the S200 is restored, the master control node checks the RIO Port Error and Status CSR of the chip replacement port. If the signal quality is still poor, amplitude modulation is performed; otherwise, it directly connects to the network.
[0034] S300 enables the output amplitude of the transmitting end of the switching chip port;
[0035] S400: Set the local pre-increment size sequentially. After each setting, reset and check the chip port RIO PortError and Status CSR status. If the signal quality is good, then connect to the network.
[0036] If the pre-weight setting of S500 fails, try to set the weight. After each setting, reset and check the RIO Port Error and Status CSR of the chip port. If the signal quality is good, then connect to the network.
[0037] In the S600, the master control node records the amplitude values corresponding to different switching ports in the corresponding amplitude table. Upon the next power-on, the master control node configures itself based on the values in the amplitude table.
[0038] It should be noted that, within the scope of protection defined in the claims of this invention, the following embodiments can be combined and / or extended or replaced in any logical manner from the above specific embodiments, such as the disclosed technical principles, disclosed technical features or implicitly disclosed technical features.
[0039] Example 1
[0040] An amplitude adaptation method based on RapidIO includes:
[0041] By adaptively setting the amplitude of RapidIO, the optimal amplitude corresponding to the physical location of the module is sought through pre-emphasis settings and de-emphasis settings in sequence.
[0042] The optimal amplitude setting is used to improve the problem of poor RapidIO signal quality caused by hardware wiring in large-scale RapidIO networks, which prevents RapidIO nodes from joining the network.
[0043] Example 2
[0044] Based on Example 1, the step of adaptively setting the RapidIO amplitude, and sequentially setting pre-emphasis and deemphasis to find the optimal amplitude corresponding to the physical location of the module, specifically includes the following sub-steps:
[0045] S100: During system initialization, the master control node scans the RapidIO nodes in the system, detects the RIO Port Error and Status CSR status of all ports of the SRIO switching chip, and judges the signal quality as poor if it is lower than expected, and performs multiple recovery operations.
[0046] After recovery, the main control node checks the RIO Port Error and Status CSR of the chip replacement port. If the signal quality is still poor, amplitude modulation is performed; otherwise, it directly connects to the network.
[0047] S300 enables the output amplitude of the transmitting end of the switching chip port;
[0048] S400: Set the local pre-amplification value sequentially. After each set number of times, reset and check the RIOPort Error and Status CSR status of the chip port. If the signal quality is greater than or equal to the expected value, it is considered good and can be connected to the network.
[0049] If the pre-weight setting fails, try setting the weight again. After each number of settings, reset the chip and check the RIO Port Error and Status CSR. If the signal quality is good, then connect to the network.
[0050] In the S600, the master control node records the amplitude values corresponding to different switching ports in the corresponding amplitude table. Upon the next power-on, the master control node configures itself based on the values in the amplitude table.
[0051] Example 3
[0052] Based on Example 2, the multiple recovery operations specifically include performing three recovery operations.
[0053] Example 4
[0054] Based on Example 2, the set number of times includes once.
[0055] Example 5
[0056] A RapidIO-based amplitude adaptive device includes a processor and a memory, wherein the memory stores a computer program that, when loaded by the processor, executes the method described in any one of Embodiments 1 to 4.
[0057] Example 6
[0058] A computer-readable storage medium storing a computer program that, when loaded by a processor, executes the method described in any one of Examples 1 to 4.
[0059] Example 7
[0060] An amplitude adaptive system based on RapidIO includes an amplitude adaptive device based on RapidIO as described in Example 5.
[0061] The units described in the embodiments of the present invention can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0062] According to one aspect of the present invention, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described above.
[0063] In another aspect, embodiments of the present invention also provide a computer-readable medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods described in the above embodiments.
Claims
1. An amplitude adaptive method based on RapidIO, characterized in that, include: By adaptively setting the RapidIO amplitude, the optimal amplitude corresponding to the physical location of the module is sought through pre-emphasis settings and de-emphasis settings in sequence. The optimal amplitude setting is used to improve the problem of poor RapidIO signal quality caused by hardware wiring in large-scale RapidIO networks, which prevents RapidIO nodes from joining the network. The process of adaptively setting the RapidIO amplitude, through pre-emphasis settings and de-emphasis settings, seeks the optimal amplitude corresponding to the physical location of the module, specifically including the following sub-steps: S100, during system initialization, the master control node scans the RapidIO nodes in the system, detects the RIO Port Error and Status CSR status of all ports of the SRIO switching chip, and judges the signal quality as poor if it is lower than expected, and performs multiple recovery operations. After recovery, the main control node checks the RIO Port Error and Status CSR of the chip replacement port. If the signal quality is still poor, amplitude modulation is performed; otherwise, it directly connects to the network. S300 enables the output amplitude of the transmitting end of the switching chip port; S400: Set the local pre-increment size sequentially. After each set number of times, reset and check the chip port RIO PortError and Status CSR status. If the signal quality is greater than or equal to the expected value, it is considered good and can be connected to the network. If the pre-weight setting fails, try setting the weight again. After each number of settings, reset the chip and check the RIO Port Error and Status CSR. If the signal quality is good, then connect to the network. In the S600, the master control node records the amplitude values corresponding to different switching ports in the corresponding amplitude table. Upon the next power-on, the master control node configures itself based on the values in the amplitude table.
2. The amplitude adaptive method based on RapidIO according to claim 1, characterized in that, The aforementioned multiple recovery operations specifically include performing three recovery operations.
3. The amplitude adaptive method based on RapidIO according to claim 1, characterized in that, The set number of times includes once.
4. An amplitude adaptive device based on RapidIO, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when loaded by the processor, executes the method as described in any one of claims 1 to 3.
5. A computer-readable storage medium, characterized in that, A computer program is stored in a readable storage medium, which, when loaded by a processor, executes the method as described in any one of claims 1 to 3.
6. An amplitude adaptive system based on RapidIO, characterized in that, Includes the amplitude adaptive device based on RapidIO as described in claim 4.
Citation Information
Patent Citations
High speed receiver
CN111384927A
High-speed exchange device based on localization SRIO
CN112019457A