A signal overshoot detection and processing apparatus and method
By combining a switched resistor network and a management module, online automated detection and processing of signal overshoot is achieved, solving the problem of cumbersome manual operation in traditional methods and improving detection efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2026-01-19
- Publication Date
- 2026-05-01
AI Technical Summary
Existing technologies for signal overshoot detection are cumbersome and cannot achieve online real-time processing of signal overshoot, resulting in high labor costs, low testing efficiency, and poor accuracy.
By combining a switched resistor network and a management module, the system automatically adjusts the drive current and resistance value to achieve online automated detection and processing of signal overshoot, thus avoiding human error.
It achieves automated detection and processing of signal overshoot, saving testing time and improving detection efficiency and accuracy. It is suitable for scenarios with multiple signal overshoots on the board.
Smart Images

Figure CN121559202B_ABST
Abstract
Description
A signal overshoot detection and processing device and method Technical Field
[0001] This application relates to the field of overshoot detection technology, and in particular to a signal overshoot detection and processing apparatus and method. Background Technology
[0002] Signal overshoot is a common problem in the field of signal integrity in digital electronic systems and one of the core qualitative indicators for evaluating the signal quality of electronic products. Its occurrence directly affects the stability and accuracy of digital signal transmission, and in severe cases, may lead to malfunctions, performance degradation, or even hardware damage in electronic devices. Therefore, the detection and resolution of signal overshoot is of critical significance to the research and development, testing, and mass production stages of electronic products.
[0003] In the current research and development testing of digital products such as switches, the detection and handling of signal overshoot mainly relies on traditional manual operation methods. The core process of this method is as follows: measure the waveform of the signal under test with an oscilloscope to determine whether overshoot exists; if overshoot exists, manually solder a series resistor of the appropriate specification or manually adjust the drive current of the main controller; retest the signal with an oscilloscope to evaluate whether it meets the quality requirements; if it does not meet the standards, repeat the above soldering, adjustment and retesting steps until the signal meets the standards.
[0004] However, traditional methods have significant technical drawbacks: on the one hand, due to the limitations of the board layout design, the operation process of frequently disassembling and replacing series resistors and adjusting the drive current is cumbersome and requires a lot of manpower and time, especially when there are multiple overshoot signals on the board, the efficiency is extremely low; on the other hand, manual soldering of series resistors is prone to problems such as incorrect resistor value selection and poor soldering / false soldering, and manual adjustment of drive current may also have operational deviations. These human factors will directly introduce test errors and affect the accuracy of signal overshoot detection and processing; in addition, traditional methods require offline soldering and firmware burning, which cannot achieve online real-time processing of signal overshoot, further restricting test efficiency and product development cycle. Summary of the Invention
[0005] This application provides a signal overshoot detection and processing apparatus and method to at least solve the problems of cumbersome overshoot signal detection and inability to achieve online real-time processing of signal overshoot in related technologies.
[0006] This application provides a signal overshoot detection and processing device, including: a control module, a switched resistor network, and a management module. The first terminal of the control module is connected to the first terminal of the switched resistor network, the second terminal of the control module is connected to the control terminal of the switched resistor network, and the third terminal of the control module is connected to the first terminal of the management module. The control module is used to adjust the drive current output to the switched resistor network and the resistance value of the switched resistor network based on detection commands. The second terminal of the switched resistor network is connected to the controlled device. The second terminal of the management module is connected to the second terminal of the switched resistor network. The management module is used to output different detection commands, each detection command corresponding to a different drive current and a different resistance value of the switched resistor network; to summarize the overshoot signals under different detection commands; and to determine the final drive current and resistance value of the switched resistor network.
[0007] This application provides a signal overshoot detection and processing method, applied to the management module of a signal overshoot detection and processing device. The method includes: outputting a detection command for the current cycle to a control module, the detection command for the current cycle including a drive current control command and a resistance value control command for a switched resistor network, the detection command being used to control the control module to adjust the drive current output to the switched resistor network and the resistance value of the switched resistor network; recording the detection command for the current cycle and the overshoot signal of the switched resistor network; adjusting the control command for the current cycle and outputting it to the control module, returning to the step of "recording the detection command for the current cycle and the overshoot signal of the switched resistor network", until the control module has executed all the detection commands; and determining the drive current of the switched resistor network and the resistance value of the switched resistor network based on the overshoot signal of the switched resistor network corresponding to each detection command.
[0008] This application utilizes a switching resistor network to replace the tedious traditional manual soldering of series resistors and manual adjustment of drive current. The management module automatically issues detection commands and the control module precisely executes parameter adjustments, eliminating the need for manual intervention throughout the process. This saves testing time and is particularly suitable for scenarios with multiple signal overshoots on the board.
[0009] Through this application, the management module can traverse the entire combination of "drive current-resistance", summarize the overshoot signals in all scenarios, and filter out the optimal parameters that "eliminate overshoot, balance system stability and low power consumption" through logic analysis, avoiding the omission of solutions caused by incomplete parameter testing in traditional methods. Attached Figure Description
[0010] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 is a composition diagram of the signal overshoot detection and processing device provided in an embodiment of this application;
[0012] Figure 2 is another component diagram of the signal overshoot detection and processing device provided in the embodiment of this application;
[0013] Figure 3 is a schematic diagram of the display mode of the display module provided in the embodiment of this application;
[0014] Figure 4 is a flowchart of the signal overshoot detection and processing method provided in an embodiment of this application;
[0015] Figure 5 is another flowchart of the signal overshoot detection and processing method provided in an embodiment of this application;
[0016] Figure 6 is another flowchart of the signal overshoot detection and processing method provided in the embodiment of this application.
[0017] Figure label:
[0018] 1-Control module; 2-Switching resistor network; 3-Management module; 4-Display module; 5-Power supply module. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0020] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0021] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0022] The specific application environment architecture or specific hardware architecture on which the signal overshoot detection and processing method depends is described here.
[0023] The embodiments of this application provide a signal overshoot detection and processing device. The core objective is to overcome the limitations of traditional manual series resistor adjustment and offline signal overshoot testing. As shown in Figure 1, it includes: a control module 1, a switched resistor network 2, and a management module 3.
[0024] As shown in Figure 1, the first terminal of the control module is connected to the first terminal of the switched resistor network, the second terminal of the control module is connected to the control terminal of the switched resistor network, and the third terminal of the control module is connected to the first terminal of the management module. The control module is used to adjust the drive current output to the switched resistor network and the resistance value of the switched resistor network based on the detection command.
[0025] Specifically, the control module, as the intermediate execution layer of the device, is based on the principle of receiving and parsing the detection commands issued by the management module, and converting the abstract command parameters into specific electrical signals that can be applied to the switching resistor network, thereby achieving precise control of the drive current and resistance value.
[0026] Specifically, the control module can output a stable current of corresponding strength according to the drive current parameters specified in the detection command, providing the necessary power support for the conduction of the switches inside the switching resistor network and ensuring the reliability of the switch action; the second end of the control module is connected to the control end of the switching resistor network to build a logic control link. The control module will convert the resistance configuration requirements in the command into switch on / off signals (such as high level / low level), and control the closing and opening of specific switches in the switching resistor network through this link, thereby realizing the switching of the input resistance value.
[0027] Optionally, the control module is implemented using a Complex Programmable Logic Device (CPLD).
[0028] As shown in Figure 1, the second end of the switched resistor network is connected to the controlled device.
[0029] Switched resistor networks dynamically change the impedance matching state of the signal transmission link of the controlled device by switching the resistance value, thereby affecting the performance of signal overshoot and providing an adjustable signal environment for subsequent detection and processing. From a functional logic perspective, the switched resistor network is directly connected in series in the signal transmission link of the controlled device. The signal will pass through the switched resistor network before being transmitted. At this time, the resistance value connected in the network will directly change the total impedance of the link: the change in impedance matching will directly affect the rising and falling edge characteristics of the signal, and the magnitude of signal overshoot (overshoot, undershoot) is closely related to these characteristics (for example, impedance mismatch can easily lead to signal energy reflection, causing overshoot).
[0030] The resistance switching of the switched resistor network depends entirely on the logic signals of the control module: when the control module sends different switching commands, different resistors inside the network will be selectively connected to the link, thus forming multiple impedance configuration schemes. Each scheme corresponds to a different performance state of signal overshoot, which provides the basis for the management module to collect overshoot signals under different scenarios and select the optimal solution.
[0031] As shown in Figure 1, the second end of the management module is connected to the second end of the switched resistor network. The management module is used to output different detection commands. Each detection command corresponds to a driving current and a resistance value of the switched resistor network. The overshoot signals under different detection commands are summarized, and the final driving current and resistance value of the switched resistor network are determined.
[0032] The principle behind the management module outputting different detection commands is to cover all possible parameter combinations of "drive current-resistance": Since signal overshoot is affected by both drive current (which affects signal output strength) and link resistance (which affects impedance matching), a single parameter combination cannot fully investigate overshoot problems. Therefore, the management module generates multiple sets of detection commands, each set of commands corresponding to unique drive current and resistance parameters, to ensure that it can traverse signal overshoot states under different parameters and avoid missing potential optimal solutions.
[0033] The management module directly collects the actual signal after resistance adjustment: This connection point is located at the interaction end between the switching resistor network and the controlled device. The collected signal can truly reflect the overshoot situation (such as overshoot voltage and undershoot voltage) of the controlled device signal after impedance adjustment under the current parameter configuration, providing accurate raw data for subsequent analysis.
[0034] The management module aggregates overshoot signal data corresponding to all detection commands and establishes a correspondence between parameter combinations and overshoot states. The management module determines the final drive current and resistance value based on threshold comparison and optimized selection. For example, it presets a pass threshold for overshoot of the controlled device signal (such as the maximum allowable overshoot voltage V). max Minimum allowable undershoot voltage V min First, the overshoot data of all parameter combinations are compared with the threshold to screen out candidate solutions that can make the overshoot meet the qualified standard. Then, from the candidate solutions, the optimal solution that balances performance and reliability is further screened out by combining principles such as system stability (e.g., excessive drive current will increase power consumption and affect device life) and signal quality (e.g., the resistance configuration must ensure long-term link impedance matching). Finally, the drive current and resistance parameters that the device needs to operate for a long time are determined.
[0035] Optionally, the management module is implemented by the Baseboard Management Controller (BMC), and the management module and the control module are connected via a JTAG interface.
[0036] In summary, the closed-loop principle of the entire device is as follows: the management module issues a detection command → the control module converts the command into drive current and resistance configuration → the switching resistor network switches the resistance value and connects to the controlled device link → the management module collects overshoot signals → the management module summarizes and analyzes the data and determines the optimal parameters. Throughout the process, the online automated detection and processing of signal overshoot is achieved through electrical linkage and logical coordination between modules, fundamentally avoiding the errors and efficiency problems of manual operation.
[0037] In one alternative implementation, the switched resistor network includes at least two resistor branches, wherein all resistor branches are connected in parallel, and all resistor branches have different resistance values.
[0038] The use of differentiated resistance values in all resistor branches is designed to cover different levels of signal overshoot and provide diverse impedance matching solutions. Its design purpose and function can be explained from the following perspectives:
[0039] 1. Adapts to different levels of signal overshoot: Targeted impedance adjustment
[0040] The severity of signal overshoot is directly related to the impedance mismatch in the signal link. Slight overshoot may be eliminated with only minor impedance adjustments, while severe overshoot requires more significant impedance compensation. By designing resistor branches with different resistance values, multiple levels of impedance adjustment can be achieved.
[0041] For example, for slight overshoot, a small resistance value (such as 0Ω or 10Ω) can be selected to fine-tune the link impedance and avoid signal attenuation due to excessive resistance. For moderate or severe overshoot, a larger resistance value (such as 22Ω or 33Ω) can be selected to suppress signal reflection through greater impedance compensation and effectively eliminate overshoot.
[0042] Branches with different resistance values form a gradient impedance adjustment option, ensuring that the device can select the most suitable resistance value according to the actual degree of overshoot. This avoids both insufficient resistance that cannot eliminate overshoot and excessive resistance that affects normal signal transmission.
[0043] 2. Supports optimal solution selection: Provides a basis for multi-parameter combination.
[0044] In the device's testing process, the management module needs to traverse multiple sets of parameter combinations of "drive current-resistance value" to select the optimal solution that balances overshoot elimination, system stability, and low power consumption. The presence of "resistor branches with different resistance values" is a prerequisite for this selection.
[0045] If all branch resistance values are the same, the resistance value connected will be consistent regardless of which branch is switched, making it impossible to form multiple sets of drive current-resistance combinations, and the management module will also be unable to compare the overshoot handling effect under different resistance values.
[0046] Only when the branch resistance values are different can they be matched with different levels of drive current to form multiple sets of parameter combinations (such as "16mA drive current + 0Ω resistance", "8mA drive current + 33Ω resistance", etc.). The management module can finally select the optimal parameters by collecting the overshoot data of each combination.
[0047] Therefore, the differential resistance design provides the necessary parameter dimension for the device's "multi-scheme comparison-optimal decision-making", which is one of the core prerequisites for achieving accurate signal overshoot processing.
[0048] In one optional embodiment, the resistor branch includes: a series resistor and a controllable switch connected in series, wherein the first terminal of the controllable switch is connected to the first terminal of the control module, the second terminal of the controllable switch is connected to the first terminal of the series resistor, the control terminal of the controllable switch is connected to the second terminal of the control module, and the second terminal of the series resistor is connected to the controlled device.
[0049] In signal overshoot detection and processing devices, the core function of a single resistor branch is to provide a fixed and precise impedance value (determined by the series resistance) and control whether this impedance is connected to the signal transmission link of the controlled device through the on / off state of a controllable switch. By connecting multiple resistor branches with different resistance values in parallel to form a switched resistor network, multi-level impedance switching can be achieved. The control module can individually control the controllable switch of each branch to connect the corresponding series resistance to the link, thereby adjusting the impedance matching state of the signal transmission and providing hardware support for eliminating signal overshoot of varying degrees.
[0050] For example, referring to Figure 2, there are three resistor branches: SW1 and R1 form the first resistor branch, SW2 and R2 form the second resistor branch, and SW3 and R3 form the third resistor branch. The control module controls the switch selection signals (E1, E2, and E3) to configure the resistance values in the circuit. In this example, the analog switch is 74LVC1G66, and the resistor configuration is shown in Table 1.
[0051] Table 1
[0052]
[0053] In an optional implementation, as shown in FIG2, the signal overshoot detection and processing device further includes a display module 4, wherein the display module is connected to the third terminal of the management module, and the display module is used to display the final drive current and resistance value of the switching resistor network.
[0054] The display module presents the optimal drive current-resistance combination selected by the management module through complex logic in a way that users can quickly identify. This avoids the cumbersome operation of users having to read data through backend code or professional tools. At the same time, it provides an intuitive basis for subsequent parameter verification, batch configuration or troubleshooting. For example, R&D personnel can quickly determine whether the current parameters are suitable for the signal link of the controlled equipment (such as switches or servers) through the display results, and quality inspectors can confirm whether the product has passed the overshoot test based on the display content, which significantly improves the ease of use and operating efficiency of the device.
[0055] Optionally, the BMC sends the final result to the TFT display screen via an SPI signal for later use by staff. The display screen shows the result format as shown in Figure 3.
[0056] In an optional implementation, as shown in FIG2, the signal overshoot detection and processing device further includes a power supply module 5, wherein the power supply module is used to supply power to the control module, the switching resistor network, the management module, and the display module.
[0057] Specifically, the power supply module mainly consists of a power supply unit (PSU) and a switching power supply module. When the system is powered on, the PSU converts the 220V AC voltage to 12V DC voltage. The 12V DC voltage is then converted to 5V / 3.3V by a multi-stage switching power supply module to power the control module, management module, display module, and controlled devices.
[0058] In one optional implementation, the management module also integrates a dynamic monitoring and retest triggering unit;
[0059] The dynamic monitoring and retest triggering unit is used for:
[0060] (1) Real-time acquisition of the overshoot signal at the second end of the switch resistor network, and calculation of the fluctuation of the overshoot signal within a continuously preset time period;
[0061] (2) Two pre-set retest trigger conditions are provided. The management module will be triggered to perform a retest when either condition is met:
[0062] (a) Time-triggered: Automatically triggered according to the retesting cycle configured by the user;
[0063] (b) Signal fluctuation trigger: When the fluctuation exceeds a preset fluctuation threshold, it is triggered immediately;
[0064] (3) After triggering the retest, the management module is controlled to re-execute the entire process of “outputting detection command - recording overshoot signal - determining final parameters”, and compare the deviation of the re-determined final drive current and resistance value with the currently effective parameters;
[0065] (4) If the deviation exceeds the preset update threshold (e.g., drive current deviation > 2mA or resistance deviation > 5Ω), a parameter update instruction is generated to control the control module to synchronously update the drive current output to the switching resistor network, and to control the switching resistor network to switch to the redefined resistance value, while triggering the display module to update the display content.
[0066] An embodiment of this application provides a signal overshoot detection and processing method, applied to the management module of a signal overshoot detection and processing device, as shown in FIG4. The method includes:
[0067] Step S1: Output the detection command for the current cycle to the control module. The detection command for the current cycle includes the drive current control command and the resistance value control command of the switching resistor network. The detection command is used to control the control module to adjust the drive current output to the switching resistor network and the resistance value of the switching resistor network.
[0068] Specifically, the current cycle is an independent time unit set by the management module for testing a unique combination of "drive current-series resistance value" parameters. For example, "drive current 16mA + series resistance 0Ω" corresponds to the first cycle, "drive current 16mA + series resistance 22Ω" corresponds to the second cycle, and so on.
[0069] The core principle of cycle division is parameter independence: only one set of parameters is adjusted within each cycle, and the next cycle begins only after the overshoot signal under that parameter has been acquired (step S2 ends). This design avoids the problem of inaccurate binding between overshoot signals and parameters caused by cross-adjustment of multiple sets of parameters. For example, if the drive current and resistance are switched simultaneously, it will be impossible to determine whether the overshoot change is caused by the current or the resistance. Combining the device hardware parameters (CPLD supports 16mA / 12mA / 8mA drive currents, and the switching resistor network supports 0Ω / 22Ω / 33Ω resistances), a complete detection process has a total of 3×3=9 cycles, ensuring coverage of all potentially effective parameter combinations and leaving no possible solutions to eliminate overshoot.
[0070] Specifically, the detection command for the current cycle is a structured instruction generated by the management module based on a preset parameter combination list. It must contain two types of sub-commands: drive current control and resistance control, and be deeply bound to the device hardware characteristics.
[0071] Referring to Figure 5, after the control module is powered on, the control module loads the internal image and completes the initialization configuration of each switch control signal (E1, E2, E3), CPLD upgrade interface (JTAG), and drive current mode M. Among them, the drive current control command is used to select the drive current module, and the resistance control command is used to select the switch control signal.
[0072] For example, referring to Figure 2, there are three possible resistance values for the series resistor connection circuit: 0Ω, 22Ω, and 33Ω. These are also commonly used resistance values in the electronics field to solve signal overshoot problems. However, signal overshoot is also affected by the drive current of the CPLD IO port. When overshoot still exists in the 33Ω series resistor connection circuit, it indicates that the CPLD drive current is too high and needs to be reduced. Taking the Lattice CPLD as an example, the drive currents are 8mA, 12mA, and 16mA. For each type, the CPLD drive current depends on the initial configuration and is fixed and cannot be changed, meaning that the CPLD firmware needs to be upgraded for use. Therefore, CPLD images are provided according to each drive current and uploaded to the BMC via the network for upgrade calls in different situations. The image-drive current-switch configuration correspondence table is shown in Table 2.
[0073] Table 2
[0074]
[0075] In Table 2, M represents the drive current mode configuration, which corresponds one-to-one with the drive current block size and the mirror image. N represents the switch count configuration, which corresponds one-to-one with the number of switches. There are 3 types of drive current for CPLD IO ports and 3 types of switches, for a total of 9 scenarios; the default configuration of the internal mirror drive current of the CPLD is 12mA.
[0076] According to Table 2, overshoot signals are detected under each image. Overshoot signals include overshoot signals and undershoot signals. When the measurement signal overshoots, the CPLD IO port is pulled from low level to high level. When the measurement signal undershoots, the CPLD IO port is pulled from high level to low level.
[0077] Step S2: Record the detection command for the current cycle and the overshoot signal of the switching resistor network.
[0078] Step S3: After adjusting the control command for the current cycle, output it to the control module and return to the step of "recording the detection command and overshoot signal of the switching resistor network for the current cycle" until the control module has executed all the detection commands.
[0079] After the system powers on, the CPLD operates normally, initializing the drive current mode configuration (M=0) and all interconnect ports. The entire detection process is shown in Figure 6, and is detailed below:
[0080] (1) When M=1, the maximum drive current of the CPLD port is 16mA. The BMC control program sets N=1 and controls the CPLD switch SW1 to close, and the 0Ω series resistor is connected to the signal.
[0081] When the measurement signal overshoots, the CPLD IO port is pulled high from low level to high level. The ADC samples once during the ADC process, repeating this process 10 times, and the average of the 10 samples is taken. The sampled data is recorded as... When the measurement signal undershoots, the CPLD IO port is pulled low from high level to low level. The ADC samples once during the ADC process, repeating this process 10 times. The average of the 10 samples is taken, and the sampled data is recorded as... .
[0082] like > or < If the signal is positive, it indicates that there is signal overshoot; otherwise, it indicates that there is no signal overshoot. In this case, the BMC records M=1 and N=1. and When an overshoot is detected in the signal, repeat the above process to shut down SW2 and SW3, i.e., connect series resistors of 22Ω and 33Ω to the signal to cancel the overshoot, and record the test results: M=1, N=2. and With M=1 and N=3, and .
[0083] (2) When the tests of the three resistor configurations with M=1 are completed, the BMC controls M+1, i.e., sets M=2. The BMC uses mirror ② to upgrade the CPLD via the JTAG interface. After the upgrade is completed, the BMC controls the system power-off and then the system power-on 10 seconds later. At this time, the CPLD drive current is 12mA. Repeat step ① and record the test results as: M=2, N=1. and M=2, N=2, and M=1, N=3 and ;
[0084] (3) When the test of the three resistor configurations with M=2 is completed, the BMC controls M+1, that is, sets M=3. The BMC uses mirror ③ to upgrade the CPLD through the JTAG interface. After the upgrade is completed, the BMC controls the system power-off and controls the system power-on 10 seconds later. At this time, the CPLD drive current is 8mA. Repeat step ① and record the test results as: M=3, N=1. and M=3, N=2 and M=3, N=3 and .
[0085] Step S4: Based on the overshoot signal of the switching resistor network corresponding to each detection command, determine the driving current of the switching resistor network and the resistance value of the switching resistor network.
[0086] The management module, based on the full set of "parameter-overshoot data" recorded in step S2, combines it with the overshoot threshold V defined by the chip. max V is the upper limit of the overshoot voltage. min (As the lower limit of the undershoot voltage), the final drive current and series resistance value are determined through a three-layer logic of "overshoot judgment - candidate screening - optimal decision".
[0087] In one optional implementation, the overshoot signal includes an overshoot signal and an undershoot signal. After eliminating abnormal overshoot signals, the process of determining the drive current and resistance value of the switched resistor network includes: sorting all normal overshoot signals in ascending order and sorting all normal undershoot signals in ascending order; using a cyclic matching method, taking the resistance value of the switched resistor network corresponding to the largest undershoot signal as the resistance value of the switched resistor network and the drive current corresponding to the largest undershoot signal as the drive current of the switched resistor network.
[0088] Specifically, the smaller the voltage value of the normal overshoot signal, the better the effect of the parameter combination on suppressing the signal overshoot (when the signal is pulled from low level to high level, the peak value is closer to the standard high level, and there is no excess energy reflection). Therefore, the sorting rule is to arrange them in ascending order of voltage value.
[0089] Specifically, the larger the voltage value of the normal undershoot signal, the better the compensation effect of the parameter combination on the signal undershoot (when the signal is pulled down from a high level to a low level, the valley value is closer to the standard low level, avoiding excessive signal attenuation). Therefore, the ultimate goal is to screen the "maximum undershoot signal".
[0090] Specifically, the matching cycle refers to an independent screening unit targeting a single overshoot signal. Each cycle verifies only one target overshoot signal, progressing in order of "overshoot signal from smallest to largest". Its core purpose is to first identify the candidate with the best overshoot suppression, then verify its undershoot compensation capability. If it does not meet the requirements, the overshoot suppression requirements are gradually relaxed (selecting the second smallest overshoot) until a combination with qualified overshoot and optimal undershoot is found.
[0091] In one optional implementation, the cyclic matching process includes: in the current matching cycle, selecting an overshoot signal that is only smaller than the overshoot signal of the previous matching cycle as the target overshoot signal, using the driving current corresponding to the target overshoot signal as the driving current of the switching resistor network, and determining whether the undershoot signal corresponding to the target overshoot signal is the largest undershoot signal; if the undershoot signal corresponding to the target overshoot signal is the largest undershoot signal, then using the resistance value of the switching resistor network corresponding to the undershoot signal as the resistance value of the switching resistor network, otherwise starting the next matching cycle; wherein, in the first matching cycle, the smallest overshoot signal is used as the target overshoot signal.
[0092] The management module prioritizes analyzing the combined data of "0Ω resistance + all drive currents" (0Ω resistance has no additional impedance compensation and best reflects the original signal state of the controlled device) to determine whether there is signal overshoot: when < and > When the signal is detected, it indicates that there is no overshoot under 0Ω series resistance and all drive current combinations, meaning that the detected signal is normal.
[0093] The first matching cycle is the initial screening round of cyclic matching. Its core is to start verification from the combination with optimal overshoot suppression, because the smaller the overshoot signal, the less energy is reflected when the signal is pulled from low to high, and the stronger the signal's rising edge stability. The specific execution steps are as follows:
[0094] 1. Determine the "target upward surge signal" for the first cycle.
[0095] According to the rules, in the first matching period, the first element U1 of the normal overshoot signal sequence U is directly taken as the target overshoot signal. U1 is the smallest among all normal overshoot signals, representing the parameter combination with the best overshoot suppression effect in the current candidate pool, and is the optimal priority verification object.
[0096] For example: if the normal overshoot signal sequence is U=[0.7V,0.8V,0.9V] (corresponding to U1=0.7, U2=0.8, U3=0.9), then the target overshoot signal for the first cycle is U1=0.7V.
[0097] 2. Lock the drive current corresponding to the target overshoot signal.
[0098] By using the "overshoot signal-parameter mapping table", the drive current associated with the target overshoot signal U1 is extracted and temporarily set as the drive current of the switch resistor network to be verified. This is because the drive current is directly related to the overshoot signal (the CPLD drive current determines the signal output strength, which in turn affects the overshoot size). The drive current corresponding to U1 is the hardware basis for achieving the minimum overshoot and does not require additional adjustment.
[0099] Continuing with the example above: If the drive current corresponding to U1=0.7V is I1=8mA (M3 mode, matching mirror ③), then the drive current in the first cycle is tentatively set to 8mA.
[0100] 3. Verify whether the downward impulse signal corresponding to the target upward impulse signal is the maximum downward impulse signal.
[0101] This is the core judgment step in the first cycle. It is necessary to find the undershoot signal DU1 associated with U1 through the parameter mapping table, and then determine whether there is a match:
[0102] Step 1: Extract the associated undershoot signal: Look up the undershoot signal corresponding to U1 from the mapping table. For example, the undershoot signal DU1=0.29 corresponds to U1=0.7V (8mA drive current).
[0103] Step 2: Is DU1 the maximum value among all normal undershoot signals? If DU1 is the maximum value among all normal undershoot signals, it means that the combination simultaneously satisfies the minimum overshoot and the maximum undershoot, and is the optimal solution. Directly set the drive current (8mA) corresponding to U1 as the final drive current, and set the resistance value (e.g., 33Ω) corresponding to DU1 as the final resistance value. The first matching cycle ends, and the cyclic matching terminates. If DU1 is not the maximum value among all normal undershoot signals, it means that the optimal overshoot combination has not achieved optimal undershoot, and the next matching cycle needs to be started to continue to screen the suboptimal overshoot combination.
[0104] If the optimal solution is not found in the first matching cycle, the process proceeds to the second, third, ..., nth matching cycle. The core rule for each cycle is that the target overshoot signal is only less than the overshoot signal of the previous cycle, that is, strictly following the order of the normal overshoot signal sequence U (U1→U2→U3→…→U…). n The process proceeds progressively, without skipping any intermediate elements, to avoid overlooking potentially optimal combinations where the next smallest upward movement is followed by the largest downward movement. The specific execution flow is as follows:
[0105] 1. Determine the target overshoot signal for the current period. Using the target overshoot signal of the previous matching period as a reference, select the next adjacent element from the normal overshoot signal sequence U as the target overshoot signal for the current period. This element must be smaller than the overshoot signal of the previous period to ensure that the overshoot suppression effect is only slightly relaxed and to prioritize the stability of the signal rising edge.
[0106] For example: if the target surge signal in the previous period (first period) is U1=0.7V, then in the current period (second period), U2=0.8V (the element in the sequence that is immediately adjacent to U1 and only greater than U1) is selected.
[0107] If a match is not found in the second cycle, the third cycle will be selected, and so on.
[0108] 2. The drive current of the current cycle is tentatively set to be consistent with the logic of the first cycle. The drive current corresponding to the current target overshoot signal is extracted through the parameter mapping table and is tentatively set as the drive current of the switch resistor network to be verified. This drive current is the hardware guarantee for realizing the current target overshoot signal and does not require additional adjustment.
[0109] Example: The target overshoot signal U2 in the second cycle is 0.8V. The corresponding drive current is I2=12mA (M2 mode, matching mirror ②) according to the mapping table. So the current drive current is temporarily set to 12mA.
[0110] 3. Downward signal matching judgment and period progression
[0111] Repeat the undershoot judgment logic of the first matching cycle to verify whether the undershoot signal corresponding to the current target overshoot signal is the maximum value among all normal undershoot signals. If so, directly set the drive current corresponding to U2 as the final drive current and the resistance value corresponding to DU2 as the final resistance value; otherwise, proceed to the third matching cycle.
[0112] For example, taking Figure 2, Table 1, and Table 2 as examples, according to actual engineering verification, inserting a 22Ω / 33Ω series resistor can eliminate overshoot. Therefore < and Considering system stability and power consumption, it is necessary to select a drive with low current and... The smaller The larger the option, the better. The decision-making process is as follows:
[0113] Will , , , , , and , , , , , Two sets of data, arranged in ascending order and descending order respectively. Assume... Minimum, match according to superscript M2 The maximum, final optimized solution is: CPLD drive current 12mA and series resistance 22Ω. (Assume...) Minimum, matched The largest match is selected. The next smallest match is then used, and the matching continues until a match is found.
[0114] In one optional implementation, if the undershoot signal corresponding to each overshoot signal is not the largest undershoot signal, the process of determining the drive current of the switched resistor network and the resistance value of the switched resistor network further includes: selecting the smallest overshoot signal as the target overshoot signal, using the drive current corresponding to the target overshoot signal as the drive current of the switched resistor network; using the undershoot signal corresponding to the target overshoot signal as the reference undershoot signal; using the undershoot signal that is only smaller than the reference undershoot signal as the target undershoot signal; and using the resistance value of the switched resistor network corresponding to the target undershoot signal as the resistance value of the switched resistor network.
[0115] For example, taking Figure 2, Table 1, and Table 2 as examples, from , , , , , If the smallest value is selected, then the smaller value is selected if the same index is matched. Assume... Minimum, the data to be paired is and ,like < The final solution is: CPLD drive current 8mA and series resistance 33Ω.
[0116] The signal overshoot detection and processing apparatus and method provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A method for detecting and processing signal overshoot, characterized in that, The method includes: outputting a detection command for the current cycle to a control module, the detection command for the current cycle including a drive current control command and a resistance value control command for the switched resistor network, the detection command being used to control the control module to adjust the drive current output to the switched resistor network and the resistance value of the switched resistor network; recording the detection command for the current cycle and the overshoot signal of the switched resistor network; adjusting the control command for the current cycle and outputting it to the control module, returning to the step of recording the detection command for the current cycle and the overshoot signal of the switched resistor network, until the control module has executed all the detection commands; based on the switched resistor network corresponding to each detection command... The process of determining the drive current and resistance value of the switched resistor network by analyzing the overshoot signal of the switching resistor network includes: sorting all normal overshoot signals in ascending order and sorting all normal undershoot signals in ascending order; using a cyclic matching method, taking the resistance value of the switched resistor network corresponding to the largest undershoot signal as the resistance value of the switched resistor network and the drive current corresponding to the largest undershoot signal as the drive current of the switched resistor network.
2. The signal overshoot detection and processing method according to claim 1, characterized in that, The cyclic matching process includes: in the current matching cycle, selecting an overshoot signal that is only smaller than the previous matching cycle as the target overshoot signal, using the drive current corresponding to the target overshoot signal as the drive current of the switching resistor network, and determining whether the undershoot signal corresponding to the target overshoot signal is the largest undershoot signal; if the undershoot signal corresponding to the target overshoot signal is the largest undershoot signal, then using the resistance value of the switching resistor network corresponding to the undershoot signal as the resistance value of the switching resistor network, otherwise starting the next matching cycle; wherein, in the first matching cycle, the smallest overshoot signal is used as the target overshoot signal.
3. The signal overshoot detection and processing method according to claim 2, characterized in that, If the undershoot signal corresponding to each overshoot signal is not the largest undershoot signal, the process of determining the drive current of the switching resistor network and the resistance value of the switching resistor network further includes: selecting the smallest overshoot signal as the target overshoot signal, using the drive current corresponding to the target overshoot signal as the drive current of the switching resistor network; using the undershoot signal corresponding to the target overshoot signal as the reference undershoot signal; using the undershoot signal that is only smaller than the reference undershoot signal as the target undershoot signal; and using the resistance value of the switching resistor network corresponding to the target undershoot signal as the resistance value of the switching resistor network.
4. The signal overshoot detection and processing method according to claim 1, characterized in that, The process of identifying abnormal overshoot signals includes: identifying process signals where the overshoot signal is greater than a preset maximum voltage and the undershoot signal is less than a preset minimum voltage as abnormal overshoot signals.
5. A signal overshoot detection and processing device, characterized in that, include: The system comprises a control module, a switched resistor network, and a management module. A first terminal of the control module is connected to a first terminal of the switched resistor network, a second terminal of the control module is connected to a control terminal of the switched resistor network, and a third terminal of the control module is connected to a first terminal of the management module. The control module is used to adjust the drive current output to the switched resistor network and the resistance value of the switched resistor network based on detection commands. The second terminal of the switched resistor network is connected to a controlled device. The second terminal of the management module is connected to the second terminal of the switched resistor network. The management module is used to output different detection commands, each corresponding to a drive current and a resistance value of the switched resistor network; to summarize overshoot signals under different detection commands; and to determine the final drive current and resistance value of the switched resistor network. The management module is used to execute the signal overshoot detection and processing method according to any one of claims 1-4.
6. The signal overshoot detection and processing device according to claim 5, characterized in that, The switched resistor network includes at least two resistor branches, wherein all resistor branches are connected in parallel; and all resistor branches have different resistance values.
7. The signal overshoot detection and processing device according to claim 6, characterized in that, The resistor branch includes a series resistor and a controllable switch connected in series, wherein the first end of the controllable switch is connected to the first end of the control module, the second end of the controllable switch is connected to the first end of the series resistor, the control end of the controllable switch is connected to the second end of the control module, and the second end of the series resistor is connected to the controlled device.
8. The signal overshoot detection and processing device according to claim 5, characterized in that, Also includes: The display module is connected to the third terminal of the management module and is used to display the final drive current and resistance value of the switched resistor network.
9. The signal overshoot detection and processing device according to claim 8, characterized in that, Also includes: A power supply module, wherein the power supply module is used to supply power to the control module, the switched resistor network, the management module, and the display module.
Citation Information
Patent Citations
Telephone interface testing device and method
CN108152646A
Surge current suppression circuit and power supply device
CN117810941A