Dynamic biasing circuit, system, and method based on physical layer timing masking and closed loop calibration

By directly bringing out the PCIe hard core status pins from the physical layer of the FPGA, and combining on-chip self-healing and timing masking modules, the bias current of the AFE front end is dynamically adjusted, solving the heat generation and delay problems caused by static bias current in high-density sensor array systems, and achieving low latency, efficient power management and robustness.

CN123157013APending Publication Date: 2026-11-24SHANGHAI XINLIJI SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611664753.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In high-density sensor array systems, traditional static bias current consumption leads to severe system-level heat generation and thermal noise, affecting the signal-to-noise ratio of the sensors. Meanwhile, traditional software stack control results in high latency and low power management efficiency.

Method used

A dynamic bias circuit based on physical layer timing masking and closed-loop calibration is adopted. By directly leading out the status pins of the PCIe hard core from the physical layer of the FPGA, cross-domain power consumption regulation is achieved by using pure combinational logic hard interconnects. Combined with on-chip self-healing and timing masking modules, hardware-level adaptive calibration is performed to dynamically adjust the bias current of the AFE front end.

Benefits of technology

It achieves power management with low latency and low software overhead, reduces heat generation and data distortion, and improves the system's robustness under extreme conditions and the sensor's signal-to-noise ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157013A_ABST
    Figure CN123157013A_ABST
Patent Text Reader

Abstract

This invention discloses a dynamic bias circuit, system, and method based on physical layer timing masking and closed-loop calibration. The dynamic bias circuit includes a feedforward decoding module that directly outputs the communication status signal of the LTSSM status pin of the FPGA's PCIe hard core, a cross-domain drive and charge injection module that decodes the communication status signal into a multi-bit physical control word, and a cross-domain drive and charge injection module. The operating current of the parallel basic sustain branch, down-frequency compensation branch, and full-speed compensation branch increases sequentially as a percentage of the rated operating current of the cross-domain drive and charge injection module. For receiving a standby control word, the basic sustain branch operates, while the down-frequency compensation branch and full-speed compensation branch do not operate. For receiving a down-frequency control word, the full-speed compensation branch does not operate, but at least the down-frequency compensation branch operates. For a full bias control word, the basic sustain branch, the down-frequency compensation branch, and the full-speed compensation branch all operate. This invention is more energy-efficient, has higher accuracy, and solves the drift problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the intersection of integrated circuit design, high-speed serial interconnect and low-power system architecture, and in particular to a dynamic bias circuit, system and method based on physical layer timing masking and closed-loop calibration. Background Technology

[0002] In advanced edge computing systems such as embodied robots and high-sensitivity industrial vision, high-density arrays of tactile or multimodal sensors are typically deployed. The weak analog physical quantities collected by the sensors must be amplified transimpedancely, conditioned, and converted to analog-to-digital (ADC) signals by a mixed-signal front-end (AFE) before being aggregated into a field-programmable gate array (FPGA) or the main control SoC. To meet the high-bandwidth, low-latency transmission requirements of massive amounts of sensor data, high-speed serial interconnect buses such as PCIe are commonly used for data exchange between the FPGA and the main control system.

[0003] However, in the aforementioned high-density array systems, the core analog components within the AFE (such as operational amplifiers and high-speed comparators) must continuously consume enormous static bias current to maintain the system's required rated gain-bandwidth product (GBW) and slew rate (SR). When hundreds or thousands of AFE channels are simultaneously in full-speed standby mode, the accumulated static power consumption can cause severe system-level heat generation. This not only significantly shortens the battery life of mobile devices, but the resulting thermal noise and temperature drift also physically degrade the sensor's signal-to-noise ratio (SNR). Therefore, achieving microsecond or even nanosecond-level system-level dynamic power management without sacrificing high-speed bus communication response speed has become a critical engineering challenge in overcoming the bottleneck of high-density sensing in this field.

[0004] The disclosure of the above background technical content is only for the purpose of assisting in understanding the concept and technical solution of this application, and does not necessarily provide technical instruction. Summary of the Invention

[0005] The purpose of this invention is to provide a dynamic bias circuit, system, and method based on physical layer timing masking and closed-loop calibration, which can reduce latency and heat generation.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A dynamic bias circuit, comprising: An out-of-band state extraction module is configured to directly bring out the LTSSM state pin of the PCIe hard core at the physical layer of the FPGA to output PCIe communication status signals, which include a first signal, a second signal, and a third signal in order of increasing power consumption. The feedforward decoding module is configured to decode the communication status signal into a multi-bit physical control word, the physical control word including a standby control word corresponding to the first signal, a frequency reduction control word corresponding to the second signal, and a full bias control word corresponding to the third signal. A cross-domain drive and charge injection module includes a parallel basic sustaining branch, a frequency reduction compensation branch, and a full-speed compensation branch. The operating current of the basic sustaining branch, the frequency reduction compensation branch, and the full-speed compensation branch in their operating states accounts for an increasing proportion of the rated operating current of the cross-domain drive and charge injection module. When the cross-domain drive and charge injection module receives the standby control word, the basic sustaining branch operates, while the frequency reduction compensation branch and the full-speed compensation branch do not operate. When the cross-domain drive and charge injection module receives the frequency reduction control word, the full-speed compensation branch does not operate, and at least the frequency reduction compensation branch operates. When the cross-domain drive and charge injection module receives the full bias control word, the basic sustaining branch, the frequency reduction compensation branch, and the full-speed compensation branch all operate.

[0007] Furthermore, following any one or a combination of the aforementioned technical solutions, the basic sustaining branch includes a first transistor, the frequency reduction compensation branch includes a second transistor, and the full-speed compensation branch includes a third transistor. The sources of the first transistor, the second transistor, and the third transistor are electrically connected to the tail current output terminal of the analog-to-digital hybrid front end, and the drains of the first transistor, the second transistor, and the third transistor are all grounded. The gate of the first transistor is electrically connected to the bandgap reference voltage terminal; The gate of the second transistor is electrically connected to the output of the first control word; The gate of the third transistor is electrically connected to the output terminal of the second control word; The first control word output terminal and the second control word output terminal are configured to output the physical control word.

[0008] Furthermore, following any one or a combination of the aforementioned technical solutions, the operating current of the basic sustaining branch accounts for 5% to 10% of the rated operating current of the cross-domain drive and charge injection module, the operating current of the frequency reduction compensation branch accounts for 20% to 30% of the rated operating current of the cross-domain drive and charge injection module, and the operating current of the full-speed compensation branch accounts for 60% to 70% of the rated operating current of the cross-domain drive and charge injection module; and / or, The first transistor has a parameter specification of W / L, and the second transistor has a parameter specification of k1. W / L, k1 > 1, the parameter specification of the third transistor is k2 W / L, k2, k1 are preset scaling factors, k2 > k1 > 1, representing the transistor width, and L representing the transistor length; and / or, The gate of the second transistor is electrically connected to the output of the first control word via a first level converter, and the gate of the third transistor is electrically connected to the output of the second control word via a second level converter. The first and second level converters are configured to convert the level corresponding to the physical control word into a voltage value within the receiving range of the analog-to-digital front end.

[0009] Furthermore, in accordance with any or a combination of the aforementioned technical solutions, the system also includes an on-chip self-healing and timing masking module, which includes an on-chip delay monitor, a dual threshold window comparator, a saturated reversible counter, and a binary weighted capacitor array. The on-chip delay monitor is configured to monitor the setup time t of the mixed-signal front end. setup ; The dual threshold window comparator includes two physical boundary registers, which are configured to receive the setup time measurement value from the on-chip delay monitor and compare the setup time measurement value with the windows corresponding to the two physical boundary registers to obtain the comparison result. The binary weighted capacitor array is composed of several physical capacitors with different weights connected in parallel, and a switching transistor is connected in series in each parallel branch of the capacitor. The saturated reversible counter is configured to count based on the comparison result and control the on / off state of the switching transistors corresponding to each capacitor according to its technical result to control the access area of ​​the binary weighted capacitor array.

[0010] Furthermore, based on any or a combination of the aforementioned technical solutions, the binary weighted capacitor array includes a first editable capacitor array and a second editable capacitor array. The first editable capacitor array is disposed between the first control word output terminal and the second transistor, and the second editable capacitor array is disposed between the second control word output terminal and the third transistor. The first programmable capacitor array includes multiple parallel first physical branches, each first physical branch being connected in series with a MOS switch and a capacitor; The second programmable capacitor array also includes multiple parallel second physical branches, each of which is connected in series with a MOS switch and a capacitor.

[0011] Furthermore, following any one or a combination of the aforementioned technical solutions, the capacitances of the capacitors on the multiple parallel first physical branches are matched and distributed according to binary weight ratios. The capacitance of the capacitors on the multiple parallel second physical branches is matched and distributed according to the binary weight ratio.

[0012] Furthermore, based on any or a combination of the aforementioned technical solutions, the feedforward decoding module further includes a data line concurrent fan-out unit, a down-frequency filtering path, a multiplexer, and a transition edge detection gate circuit; The output of the concurrent fan-out unit of the data line is directly connected to the first input of the multiplexer. The output of the concurrent fan-out unit of the data line is connected to the second input of the multiplexer through a down-frequency filtering path. The output of the multiplexer is connected to one of its first and second inputs under the control of the edge detection gate circuit. In response to the detection of a drop signal, the edge detection gate circuit controls the output of the concurrent fan-out unit of the data line to be connected to the second input of the multiplexer, and controls the output of the multiplexer to be connected to its second input. If the edge detection gate circuit does not detect a drop signal, it controls the output terminal of the concurrent fan-out unit of the data line to be connected to the first input terminal of the multiplexer, and controls the output terminal of the multiplexer to be connected to its first input terminal.

[0013] Furthermore, following any one or a combination of the aforementioned technical solutions, the frequency reduction filtering path includes a synchronous counter and a trigger connected in sequence.

[0014] Furthermore, based on any or a combination of the aforementioned technical solutions, the feedforward decoding module includes a pure combinational logic module disposed in the programmable logic area of ​​the FPGA, and the input terminal of the pure combinational logic module is connected to the output terminal of the out-of-band state extraction module. The pure combinational logic module is configured to decode the communication status signal into the corresponding physical control word based on a preset mapping relationship.

[0015] Furthermore, following any or a combination of the aforementioned technical solutions, the out-of-band state extraction module is configured to route the communication state signal across domains to the feedforward decoding module using a physical wire network in the hardware description language source code at the top level of the FPGA. The out-of-band state extraction module is configured to attach physical property constraints in the register transfer level code, or to forcibly lock the wiring path of the out-of-band state extraction module in the system constraint file.

[0016] Furthermore, following any one or a combination of the aforementioned technical solutions, the first signal is an L1 state signal or a reset (Recovery) signal, the second signal is an L0s state signal, and the third signal is an L0 state signal.

[0017] According to another aspect of the present invention, an edge computing system is provided, including a dynamic bias circuit as described in any one of the above technical solutions or any combination of multiple technical solutions.

[0018] According to another aspect of the present invention, an edge computing method is provided, which adjusts the bias current of the sensor analog-to-digital hybrid front end based on the dynamic bias circuit described in any or more of the above technical solutions.

[0019] The beneficial effects of the technical solution provided by this invention are as follows: a. This invention abandons the traditional software stack control based on CPU interrupts and slow serial buses. In the physical routing layer, the LTSSM status pin of the PCIe hard core is directly connected to the programmable bias pin of the AFE through pure combinational logic hard connection. This can eliminate software polling and bus read / write cycles, and achieve low software overhead and low latency for cross-domain power consumption control. b. This invention differs from the traditional serial timing of the bus entering the L0 state and then waking up. It uses the intermediate state (Recovery state) that PCIe must pass through when exiting sleep as the hardware feedforward trigger source to construct a parallel timing constraint network in which the setup time of the analog-digital front-end is less than the recovery time of the analog-digital front-end. It uses the inherent physical handshake time of the protocol to mask the bias setup process of the analog front-end, ensuring that the AFE is fully ready the instant the high-speed bus enters the L0 state, reducing the distortion and truncation of effective data. c. This invention connects a LUT decoding array and an asymmetric MUX selector in series in the control link, performs zero-clock-cycle pass-through for wake-up commands, and performs N-cycle hardware counting filtering for power reduction commands, which can give the system the adaptive capability of micro-congestion (multi-order frequency reduction). At the same time, when the link environment is harsh and the state fluctuates at high frequency, it can filter out transient glitches and suppress crosstalk at the physical level. d. This invention integrates an on-chip delay monitor (TMM module) based on a high-frequency sampling clock and a dual threshold window comparator to convert the measured timing margin into a digital feedback step instruction. It dynamically adjusts the binary weighted capacitor array at the front end of the AFE, which can change the traditional open-loop feedforward and realize hardware-level adaptive calibration for temperature and voltage drift. This enables automatic optimization between fast wake-up and low noise floor, ensuring the robustness of the system under extreme conditions. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application 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 recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic diagram of the structure of an out-of-band state extraction module provided as an exemplary embodiment of the present invention; Figure 2 A schematic diagram of the structure of a feedforward decoding module provided as an exemplary embodiment of the present invention; Figure 3 A schematic diagram of the cross-domain driving and charge injection module provided as an exemplary embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an on-chip self-healing and timing masking module provided as an exemplary embodiment of the present invention. Detailed Implementation

[0022] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0024] This invention relates to the intersection of integrated circuit design, high-speed serial interconnect, and low-power system architecture, specifically to a hardware architecture based on PCIe underlying state machine feedforward and closed-loop delay self-calibration, used to achieve near-zero latency dynamic control of the bias current of the mixed-signal front-end (AFE) of external sensors. This application is applicable to hardware application scenarios that have dual requirements for high-speed data interaction and extreme static power consumption control, such as high-density sensing arrays for embodied robots and industrial edge vision accelerator cards.

[0025] In one embodiment of the present invention, a dynamic bias circuit is provided, see [link to relevant documentation]. Figures 1 to 3 It includes: The out-of-band state extraction module (Module 1) is configured to directly bring out the LTSSM status pin of the PCIe hard core at the physical layer of the FPGA to output the PCIe communication status signal. The communication status signal includes a first signal, a second signal, and a third signal in order of increasing power consumption. For example, the first signal corresponds to L1, i.e., deep sleep state; the second signal corresponds to L0s state or recovery state, i.e., congestion state / link retraining state; and the third signal corresponds to L0 state, i.e., normal transmission state / full-speed transmission state. The feedforward decoding module (module 2) is configured to decode the communication status signal into a multi-bit physical control word, the physical control word including a standby control word corresponding to the first signal, a frequency reduction control word corresponding to the second signal, and a full bias control word corresponding to the third signal; The cross-domain drive and charge injection module (Module 3) includes a parallel basic sustain branch, a frequency reduction compensation branch, and a full-speed compensation branch. The operating current of the basic sustain branch, the frequency reduction compensation branch, and the full-speed compensation branch in their operating states accounts for an increasing proportion of the rated operating current of the cross-domain drive and charge injection module. When the cross-domain drive and charge injection module receives the standby control word, the basic sustain branch operates, while the frequency reduction compensation branch and the full-speed compensation branch do not operate. When the cross-domain drive and charge injection module receives the frequency reduction control word, the full-speed compensation branch does not operate, but at least the frequency reduction compensation branch operates. When the cross-domain drive and charge injection module receives the full bias control word, the basic sustain branch, the frequency reduction compensation branch, and the full-speed compensation branch all operate. The cross-domain drive and charge injection module provides multi-level switchable bias current to the AFE, ranging from low power consumption to medium power consumption and then to full power consumption. For example, if the ratio of the operating current of the basic sustaining branch to the rated operating current of the cross-domain drive and charge injection module is a first ratio, the ratio of the operating current of the frequency reduction compensation branch to the rated operating current of the cross-domain drive and charge injection module is a second ratio, and the ratio of the operating current of the full-speed compensation branch to the rated operating current of the cross-domain drive and charge injection module is a third ratio, then the first ratio is less than the second ratio, and the second ratio is less than the third ratio. Specifically, when the cross-domain drive and charge injection module receives the frequency reduction control word, the full-speed compensation branch is not working, and at least the frequency reduction compensation branch is working, there are two ways. One way is that when the cross-domain drive and charge injection module receives the frequency reduction control word, both the basic sustaining branch and the full-speed compensation branch are not working, and the frequency reduction compensation branch is working; the other way is that when the cross-domain drive and charge injection module receives the frequency reduction control word, neither the full-speed compensation branch is working, and both the basic sustaining branch and the frequency reduction compensation branch are working. This latter method will be further explained in the following embodiments.

[0026] Existing power management solutions for mixed-signal front-ends (AFEs) generally suffer from time-domain mismatch and architectural barriers. Specifically, there is a millisecond-level latency issue due to serial control of the software stack: the power reduction links in existing solutions are highly dependent on the system software stack (PCIe interrupt to CPU response to I2C bus dispatch). This cross-layer communication takes hundreds of microseconds to milliseconds, creating a huge time gap compared to the nanosecond-level micro-jumps of high-speed buses. In high-density tactile sensing or edge industrial vision inspection scenarios of embodied robots, this technical limitation leads to the following application pain points: power avalanche and thermal drift caused by high-density nodes. If the massive number of sensor nodes distributed at the end of the robotic arm are continuously in standby mode at full speed, not only will the battery life be rapidly consumed, but the local heat accumulation will also cause severe thermal drift in flexible sensors, physically compromising the accuracy of the underlying sensing.

[0027] This invention solves the aforementioned problem of slow software intervention through pure hardware topology reconstruction of cross-level control data flow. Specifically, see... Figure 1 Existing technology uses the PCIe integrated hard core inside the FPGA to transmit the main data stream through... Figure 1 The path shown by the dashed line transmits data to the protocol stack latency region, then via the bus interface, interrupt controller, and processor / driver to the external mixed-signal front-end (AFE). This cross-layer communication takes hundreds of microseconds to milliseconds. This application, however, abandons the traditional software stack control based on CPU interrupts and slow serial buses (such as SPI / I2C). Instead, it directly connects the PCIe hard core's LTSSM status pin to the AFE's programmable bias pin at the physical routing layer using pure combinational logic hardwired connections. This eliminates software polling and bus read / write cycles, achieving low software overhead and low latency for cross-domain power consumption control.

[0028] Furthermore, this invention incorporates a feedforward decoder formed by cascading a LUT decoding array and a multiplexer (also known as an asymmetric MUX selector or bypass multiplexer) in the control link. This hardware debouncing design, based on asymmetric hysteresis and multi-order mapping, addresses noise issues caused by state jitter. Zero-clock-cycle pass-through is performed for wake-up commands, while N-cycle hardware counting filtering is applied to power-down commands. This endows the system with adaptive capability for micro-congestion (multi-order frequency reduction) and also physically filters out transient spikes and suppresses crosstalk when the link environment is harsh and state jitter is high.

[0029] In one embodiment of the invention, the basic sustaining branch includes a first transistor ( Figure 3 Q1 shown), the down-frequency compensation branch includes a second transistor ( Figure 3 Q2 shown), the full-speed compensation branch includes a third transistor ( Figure 3Q3 shown), the source currents of the first, second, and third transistors and the tail currents (I) of the analog-to-digital hybrid front end. tail The output terminals are electrically connected, and the drains of the first, second, and third transistors are all grounded; the gate of the first transistor is electrically connected to a preset bandgap reference voltage terminal; the gate of the second transistor is electrically connected to the first control word output terminal; the gate of the third transistor is electrically connected to the second control word output terminal; the first and second control word output terminals are configured to output the physical control word. For the three communication status signals, a 2-bit physical control setting is sufficient, with bits 0 and 1 set sequentially from right to left, such as... Figure 3 As shown, Bias_Ctrl[0] represents the 0th physical control word, and Bias_Ctrl[1] represents the 1st physical control word.

[0030] Existing power management solutions for mixed-signal front-ends (AFEs) suffer from power waste and data truncation issues under open-loop control. Due to severe control link lag, the system faces a dilemma: without hibernation, static power is wasted during microsecond-level link congestion; if forced into software hibernation, the slow setup time of the AFE during the instantaneous recovery of the high-speed bus to L0 state results in severe truncation of effective data in the initial wake-up phase. Consequently, in practical applications, the microsecond-level perception blind spot during sudden physical contact—when a robot performs high-speed grasping or encounters a sudden collision—means that the traditional wake-up-then-data acquisition mechanism leaves the system in a "blind and deaf" state for the critical tens of microseconds during the initial contact phase. This not only results in the loss of crucial initial transient force sensing data but may also send unstable error levels to the bus, causing control instability in upper-layer algorithms.

[0031] To address the aforementioned issues, in this embodiment, the dynamic bias circuit further includes an on-chip self-healing and timing masking module. This module comprises a first hardware trigger anchor, a second hardware trigger anchor, an on-chip delay monitor, a dual threshold window comparator, a saturated reversible counter, and a binary weighted capacitor array. The first and second hardware trigger anchors serve as inputs to the on-chip delay monitor. The first hardware trigger anchor is physically connected to the output of the feedforward decoding module to receive the LTSSM transition edge signal. The second hardware trigger anchor receives the Bias_Ready signal (generated by the bias setup detection circuit within the AFE) fed back from within the AFE. The on-chip delay monitor monitors the setup time t of the mixed-signal front-end based on the LTSSM transition edge signal and the Bias_Ready signal. setup .

[0032] The dual-threshold window comparator includes two physical boundary registers configured to receive setup time measurements from an on-chip delay monitor and compare these measurements with windows corresponding to the two physical boundary registers to obtain a comparison result. The binary weighted capacitor array consists of several physical capacitors with different weights connected in parallel, with each capacitor branch connected in series with a switching transistor. The saturated reversible counter is configured to count based on the comparison result and, according to its technical result, control the on / off state of the switching transistors corresponding to each capacitor to control the access area of ​​the binary weighted capacitor array.

[0033] Specifically, the binary weighted capacitor array includes a first editable capacitor array and a second editable capacitor array. The first editable capacitor array is disposed between the first control word output terminal and the second transistor, and the second editable capacitor array is disposed between the second control word output terminal and the third transistor. The first editable capacitor array includes multiple parallel first physical branches, each first physical branch connected in series with a MOS switch and a capacitor. The second editable capacitor array also includes multiple parallel second physical branches, each second physical branch connected in series with a MOS switch and a capacitor. The capacitance of the capacitors on the multiple parallel first physical branches is matched and distributed according to the binary weight ratio; the capacitance of the capacitors on the multiple parallel second physical branches is matched and distributed according to the binary weight ratio.

[0034] In existing hardware architectures, the Link State Machine (LTSSM) within the PCIe Physical Layer (PHY) is only used to shut down purely digital components such as internal phase-locked loops. There is a lack of a direct hardware handshake channel between the underlying digital protocol and the external analog bias network, and it lacks on-chip self-calibration capabilities to combat process, voltage, and temperature (PVT) drift. Therefore, existing power management solutions for mixed-signal front-ends (AFEs) suffer from a physical isolation blind spot between digital communication and the analog front-end. This technical problem leads to "environmentally blind" vulnerability under harsh operating conditions. For example, when a robot enters or exits a cold storage facility or a high-temperature workshop, or encounters a sudden surge in motor current that lowers the system voltage (a drastic change in PVT), the physical response time of analog devices fluctuates significantly. Existing open-loop systems cannot adapt to such environmental changes, easily causing the already barely functioning timing to completely collapse, leading to unpredictable and persistent interruptions.

[0035] This invention integrates an on-chip delay monitor (TMM) based on a high-frequency sampling clock and a dual-threshold window comparator within the circuit. It converts the measured timing margin into digital feedback step instructions, dynamically adjusting the binary weighted capacitor array at the AFE front end. This overcomes the limitations of traditional open-loop feedforward, achieving hardware-level adaptive calibration for temperature and voltage drift (PVT). It automatically optimizes between fast wake-up and low noise floor, ensuring system robustness under extreme conditions.

[0036] By employing a timing masking architecture that circumvents physical setup latency, the problem of data loss during wake-up is further resolved. Unlike the traditional serial timing where the bus enters L0 state before waking up, this invention utilizes the necessary intermediate state (Recovery state) of PCIe exiting sleep mode as a hardware feedforward trigger source to construct t setup <t rec Parallel temporally constrained networks, t setup t represents the simulation setup time of the AFE. rec This indicates the recovery time of the AFE. In this way, the inherent physical handshake time of the protocol is used to "mask" the bias setup process of the analog front end, ensuring that the AFE is fully ready the instant the high-speed bus enters the L0 state, reducing the distortion and truncation of effective data.

[0037] The dynamic bias circuit provided by the present invention will be further described below through a specific embodiment.

[0038] See Figure 1 An out-of-band state extraction module is constructed, which is based on RTL (Register Transfer Level) instantiation and synthesis constraints.

[0039] (1) First, set up the underlying interface exposure of the PCIe hard IP.

[0040] When instantiating the PCIe integrated endpoint hard core in a hardware development tool (such as Vivado), the system maintains its high-speed data channel configuration based on the AXI bus. Simultaneously, the observation interface of the Link Training State Machine (LTSSM) is forcibly enabled in the "Debug and Diagnostics" tab of the IP core configuration interface or in the Low-Level Interface tab.

[0041] Through this operation, the PCIe IP top-level wrapper code generated by the tool physically exposes probe pins (such as the 6-bit wide cfg_ltssm_state[5:0]) that indicate the underlying microscopic communication state signals (including L0, L0s, L1, Recovery). This set of pins directly maps to the physical layer's level state without being packaged by any protocol stack.

[0042] (2) Instantiation of RTL-level point-to-point hardwired connections.

[0043] In the FPGA's top-level hardware description language (such as Verilog / SystemVerilog) source code, cross-domain routing of this communication status signal is implemented using a physical wire network. The specific code implementation logic is as follows: Declare an independent wire network: wire [5:0] direct_ltssm_wire; Instantiation binding: Bind the wire network directly to the exposed PCIe status pins mentioned above, and use it as an input to the downstream feedforward decoding module.

[0044] In this code topology, direct_ltssm_wire does not allocate any register addresses and does not generate system interrupts. Signal delivery strictly bypasses the on-chip soft-core processor (such as MicroBlaze) and the Advanced Peripheral System Bus (APB / AHB), compressing communication latency from software-driven milliseconds to gate-level nanoseconds.

[0045] (3) Physical Constraints of Underlying Synthesis and Routing.

[0046] Since the out-of-band state extraction module (out-of-band state feedforward connection) neither enters the main data stream nor is controlled by the CPU, it is very easy for the synthesizer to judge it as redundant logic without clock drive and perform incorrect pruning during the normal logic synthesis process.

[0047] To ensure the nanosecond-level pass-through path truly exists in the final generated silicon netlist, this module adds physical attribute constraints (e.g., embedding (DONT_TOUCH="TRUE") or (KEEP="TRUE") primitives) to the register transfer level code, or forcibly locks the routing path of the out-of-band state extraction module in the system constraint file (.xdc). This hardware constraint ensures the absolute independence of the underlying metal interconnects. Traditional main data streams include all pin status signals and other data. This application, through the out-of-band state extraction module, directly exposes the LTSSM status pins of the PCIe hard core at the physical layer, establishing a pure hardware direct-connect signal path bypassing the system bus. This is equivalent to opening an extra path to separately acquire the pin status signals, i.e., the PCIe communication status signals.

[0048] Pre-decoding module such as Figure 2 As shown, this invention designs a feedforward decoding and debouncing architecture based on pure logic gates and asymmetric hysteresis counters.

[0049] This module is designed to receive out-of-band feedforward bus ( Figure 1 The underlying digital communication status (PCIe communication status signal) transmitted via the physical connection (direct_ltssm_wire) is converted into analog front-end physical bias commands without occupying any system clock cycles. Simultaneously, it eliminates crosstalk caused by high-frequency state transitions to the analog power rails from a physical circuit perspective. The specific hardware circuit topology is as follows: (1) First, nanosecond-level pure combinational logic decoding based on lookup table (LUT).

[0050] Within the FPGA's programmable logic area (Fabric), no finite state machine (FSM) or sequential logic is used. Instead, a pure combinational logic circuit is directly instantiated using a hardware description language (the underlying mapping is a lookup table (LUT) in a field-programmable gate array).

[0051] The inputs of this pure combinational logic module are physically directly connected to the 6-bit out-of-band feedforward hard bus (direct_ltssm_wire) pulled out by the out-of-band state extraction module. The feedforward decoding module internally stores the mapping relationship between PCIe communication status signals and physical control words. When the input vector is in L0 state (e.g., binary 010110) (i.e., the PCIe communication status signal is the third signal, normal transmission state / full speed transmission state), the hardwired output full bias control word 11 is used. When the input vector indicates L0s state or Recovery state (i.e., the PCIe communication status signal is the second signal, congestion state / link retraining state), the hardwired output frequency reduction control word 01 is used. When the input vector indicates L1 state (i.e., the PCIe communication status signal is the third signal, deep sleep state), the hardwired output standby control word 00 is used.

[0052] This pure physical gate-level decoding ensures that the conversion delay from PCIe communication status signals to physical control words depends only on the intrinsic propagation delay of the logic gates (typically less than 1 nanosecond).

[0053] (2) Cross-domain crosstalk suppression: physical topology of asymmetric digital hysteresis structure.

[0054] In the presence of electromagnetic interference (EMI) or high bit error rates, the PCIe physical link may experience extremely high-frequency reciprocating jitter between the L0 and Recovery states within nanoseconds. If this digital transition is directly exposed to the analog front end (i.e., the subsequent AFE), it will cause severe ground bounce.

[0055] Therefore, an asymmetric digital hysteresis structure consisting of a synchronous counter, a D flip-flop (DFF), and a multiplexer (MUX) is serially inserted between the LUT decoding output and the final physical control pin.

[0056] If a fall signal (dormant signal) is detected, then proceed. Figure 2 If other signals are detected on the left side, proceed... Figure 2 Right side of the middle. (Through) Figure 2 The left-hand circuit can detect whether it is a genuine drop signal, and can also perform filtering and noise reduction; through Figure 2 The right-hand side circuit enables rapid wake-up.

[0057] (3) Concurrent output of signals and edge detection-based end MUX gating topology.

[0058] In terms of physical cabling, this asymmetric hysteresis structure abandons software-based conditional branching and adopts a pure hardware architecture with concurrent fan-out of data lines and controlled gating of end multiplexers (MUX).

[0059] Concurrent physical mapping of data: The physical control word signal output by the decoding logic is hardwired into two parallel transmission branches on the physical circuit. The first branch is... Figure 2 The right-hand path in the diagram is used as the fast path and is directly connected to input port B of the multiplexer (MUX / Bypass MUX) at the end of the module, i.e., the first input port; the second path is... Figure 2 The left path in the MUX is used as the slow path and is synchronously connected to a delay filter network consisting of an N-cycle synchronous counter and a D flip-flop. The output of this network is connected to the input port A of the MUX, which is the second input.

[0060] Independent Select Control Logic: The operation of the MUX is strictly controlled by an independent edge detection gate circuit within Module 2. This edge detection gate circuit monitors the output state of the decoding logic in real time and generates a 1-bit hardware select signal, which directly drives the MUX's select control terminal (Sel) to connect one of the multiplexer's first and second input terminals to its output terminal.

[0061] Power reduction direction (delayed filtering mode): When the detection circuit detects a falling edge of the physical control word from high to low (e.g., 11 to 01), its output selection signal instantly selects the MUX to the slow path (i.e., the output is electrically connected to port A). At this time, although the fast path has concurrently received the latest low-power instruction, it is physically isolated by the MUX at the end. The system forces the output to be closed by a counter. Only when the low-power instruction has been held for N consecutive clock cycles (e.g., N=256) without inversion, and the trigger is updated, will the MUX output the down-frequency control word to the cross-domain drive and charge injection module, thereby physically filtering out transient glitches on the bus.

[0062] Wake-up direction (full hardware bypass mode): When the detection circuit detects a rising edge from low to high (e.g., 01 to 11), its output selection signal flips within a single clock cycle, forcing the MUX to be instantly selected to the fast path (port B). At this time, the system completely ignores the counter's operating state and directly outputs the full-speed wake-up command without delay through the MUX to the corresponding physical pin.

[0063] The feedforward decoding module provided by this invention utilizes a pure logic array and an asymmetric hysteresis counter to construct an asymmetric hysteresis topology for concurrent transmission and controlled-end arbitration. It instantaneously decodes the communication state into a multi-bit feedforward control word and sacrifices power-saving response time (MUX locks in the slow path) to achieve transient stability of the analog power supply, thus physically filtering out interference caused by high-frequency state jitter without compromising the extremely fast wake-up response capability (MUX switches to the fast path). In this way, it achieves the characteristic of easy wake-up and difficult sleep in the physical circuit, providing a robust feedforward source for the smooth switching of the subsequent analog current mirror.

[0064] See Figure 3 The cross-domain driving and charge injection module (module 3) proposed in this invention is based on the physical response and driving circuit of a multi-stage programmable current mirror array.

[0065] The cross-domain drive and charge injection module is designed to receive the nanosecond-level digital physical control word (the physical control word corresponding to Bias_Ctrl[1:0] is 10) output by the feedforward decoding module, and the closed-loop dynamic reconfiguration bus (DRP_Value[2:0]) output by the on-chip self-healing and timing masking module, spanning the digital and analog voltage domains, and converting both into the physical step and dynamic compensation of the bias current inside the sensor analog-digital front-end (AFE). The specific circuit topology and working logic are as follows: For the existing AFE analog circuit, T_tail is its tail current output terminal (the working state of the analog circuit can be represented by the output tail current; the larger the current, the higher the energy consumption of the working state).

[0066] (1) Physical branch splitting topology based on width-to-length ratio (W / L) weighting.

[0067] Within the bias voltage generation network of the sensor AFE chip, a set of programmable current mirror arrays with multiple branches connected in parallel is physically instantiated. In the transistor-level layout design, the total tail current of the internal operational amplifier (OTA) or high-speed analog-to-digital converter (ADC) of the AFE is split into three physically independent branches with specific weights based on the width-to-length ratio (W / L): Base Branch: This branch does not connect in series with the digital controlled switch. Its bias gate is hardwired to the on-chip bandgap reference voltage terminal and is always in the on state. Its operating current weight (transistor size) can be optionally designed to be 5%~10% of the total rated operating current value. The core function of the base branch is to force the analog core device to remain in the subthreshold region during deep bus sleep, preventing the high-impedance node voltage from completely discharging to ground potential, thereby preparing for rapid wake-up.

[0068] Frequency reduction compensation branch (L0s / Recovery Branch): This branch is connected in series with NMOS / PMOS cascaded switches and is driven by the 0th bit of the physical control word (Bias_Ctrl[0]). Its operating current weight can be optionally designed to be 20%~30% of the rated operating current value.

[0069] Full-speed compensation branch (L0 Branch): This branch is connected in series with the corresponding weight of the switching transistor, driven by the first bit of the physical control word (Bias_Ctrl[1]), and its operating current weight can be optionally designed to be 60%~70% of the rated operating current value.

[0070] The proportion of the operating current to the rated operating current of the basic sustain branch, the down-compensation branch, and the full-speed compensation branch can be allocated by selecting first to third transistors with different parameter specifications. For example, the first transistor can be selected with a parameter specification of W / L, and the second transistor with a parameter specification of k1. W / L, the parameter specification of the third transistor is k2 W / L, k2>k1>1, where W represents the transistor width and L represents the transistor length.

[0071] (2) Cross-level hard drive and Miller feedthrough suppression.

[0072] Because the pure digital feedforward signal voltage domain output by the FPGA (typically a core voltage of 1.2V or 1.8V) is physically isolated from the analog power rail of the AFE (typically 3.3V or even higher), this module inserts a cross-coupled level shifter in series before the digital control line enters the gate of the current mirror switch.

[0073] Meanwhile, to prevent high-frequency dV / dt steps generated during the nanosecond-level flip of digital signals, Miller parasitic capacitance (C) is used. gdTo prevent coupling and contamination of the pure analog bias reference source, a slew rate control circuit and a dummy switch charge absorption structure were added to the output of the level shifter. The slew rate control circuit, through controlled current limiting or RC filtering of the rising / falling edges of the control signal, transforms the originally steep dV / dt step into a gentler slope voltage, thereby significantly reducing the high-frequency noise energy coupled to the analog bias reference node. Simultaneously, the dummy switch, with a size matching the main switch and connected in reverse, absorbs the charge injected by the Miller capacitor at the instant of the main switch's gate voltage transition, further isolating the digital domain transients from interfering with the bandgap reference voltage and ensuring the high-impedance node potential remains stable during bias switching.

[0074] Its dynamic physical response process is as follows: When Bias_Ctrl outputs 00 (Bias_Ctrl[0]=0, Bias_Ctrl[1]=0), both the upper and lower level converters output low levels. Only the basic maintenance branch is on, while the frequency reduction compensation branch and the full speed compensation branch are not on. The output current is about 5% to 10% of the rated current. This current is injected into the bias network of the AFE core analog device, and the system enters the extreme low power standby mode, i.e., the deep sleep mode.

[0075] When Bias_Ctrl is switched to 01 (Bias_Ctrl[0]=1, Bias_Ctrl[1]=0), the frequency reduction branch switch enters the saturation region, superimposed with the operating current of the output base sustaining branch, and outputs about 30% of the rated current. This current is also directly used as the bias current of the AFE, giving it a medium gain bandwidth.

[0076] When Bias_Ctrl is switched to 11 (Bias_Ctrl[0]=1, Bias_Ctrl[1]=1), all controlled branch switches, i.e. Q1 to Q2, are turned on, the AFE obtains full tail current, and the system gain-bandwidth product (GBW) instantly reaches its peak value.

[0077] (3) Programmable charge injection acceleration array controlled by closed-loop feedback.

[0078] When a conventional current mirror is turned on, the charging process of the gate-source parasitic capacitance (Cgs) of the mirror transistor is extremely slow due to the limited driving capability of the reference current source, resulting in a settling time (t). setup It can last for tens of microseconds.

[0079] To address this physical bottleneck and resist PVT drift, this embodiment does not use a fixed feedforward capacitor at the gate drive node of the down-frequency compensation transistor and the full-speed compensation transistor. Instead, it instantiates a set of "binary-weighted capacitor banks" controlled by the digital bus.

[0080] like Figure 3 As shown, the binary weighted capacitor array consists of multiple (e.g., 3) parallel physical branches, each branch connected in series with a miniature MOS switch and a fixed physical capacitor. The capacitor values ​​are matched and distributed on the layout according to binary weight ratios (e.g., 1C, 2C, 4C). The control terminal of the miniature MOS switch is directly connected to the dynamic reconfiguration bus (DRP_Value[2:0]) output by the on-chip self-healing and timing masking module (module four).

[0081] The dynamic physical response process includes static capacitor addressing and transient charge pumping. The static capacitor addressing process occurs during system sleep or standby. The current DRP status word output by module four determines how many physical branches in the capacitor array are in the conducting state, thus physically determining the current equivalent feedforward capacitance C. total .

[0082] The transient charge pumping process occurs when the hardware feedforward control word Bias_Ctrl experiences a low-to-high topping edge. A high-frequency digital step signal (ΔV) then passes through the currently active capacitor array, generating a transient feedforward pump charge. The total injected charge conforms to the physical equation: Q=C total ΔV.

[0083] By introducing this programmable capacitor array, module three, acting as the physical execution end, forms a hardware closed loop with the monitoring end of module four. When the system detects a setup timeout or overshoot risk, it directly changes the participating capacitor area at the physical level by modifying the DRP control word. At the transistor physical level, adaptive matching of the pumped charge to the environment is achieved, smoothly compressing the setup time of the analog bias current and creating conditions for timing masking of the next module.

[0084] See Figure 4 The on-chip self-healing and timing masking module provided by this invention is implemented through a cross-domain timing masking architecture and an on-chip self-verification circuit.

[0085] Module 4 aims to utilize the inherent handshake cycle of the PCIe protocol's underlying state machine to "eliminate" the setup time of the analog front-end (AFE) at the physical layer, and to construct an on-chip real-time verification circuit based on a hardware counter. The specific implementation mechanism and circuit logic are as follows: (1) Based on the hardware pre-wake-up triggering logic of the protocol intermediate state (Recovery) in the PCIe protocol specification, before the link wakes up from L1 (deep sleep) to L0 (full-speed transmission) state, it must be forced into the Recovery (link retraining) state for bit synchronization and symbol alignment. This process has an inherent physical time t. rec (Typically on the order of microseconds).

[0086] As follows, this module configures this intermediate state as the wake-up trigger source for the AFE at the hardware level: Edge detection: When the feedforward decoder detects the first system clock edge (clock period is usually 4ns or 2ns) when the LTSSM state vector switches from L1 to Recovery, it immediately generates a full-speed wake-up pulse.

[0087] Timing parallel overlap: At this time, the charge injection acceleration circuit in module 3 starts to work, and the AFE enters the physical bias establishment process (time t). setup Because this action is initiated simultaneously with the PCIe physical layer link retraining, the AFE activation process is completely masked within the protocol handshake window.

[0088] (2) Hardware constraint design for physical layer timing masking.

[0089] Through underlying hardware constraints, the physical enable process of the AFE is forced to overlap with the link negotiation process (Recovery state) of the PCIe protocol in parallel. To ensure the absolute integrity of data transmission, the logic circuit follows the timing constraint equations: t setup{max} +Δt logic +t sync <t rec{min} ; where t setup{max} The maximum time Δt is taken for the AFE to enter the physical bias setup process. logic The intrinsic delay (typically <1ns) of the combinational logic from detecting the LTSSM state transition to generating the bias instruction is t. sync The transmission delay t refers to the time it takes for a physical control word to travel from the digital core domain (e.g., 1.2V) to the analog drive domain (e.g., 3.3V), after passing through a level shifter and an anti-metastable synchronizer. rec{min} This refers to the minimum physical dwell time in Recovery state as defined in the PCIe specification.

[0090] Under hardware constraints, the system's wake-up timing exhibits a dual-parallel characteristic: When the bus detects a level change indicating it is exiting sleep mode, the main data link enters Recovery mode and begins the protocol handshake. Simultaneously, the feedforward decoder generates a feedforward trigger, driving the level shifter and acceleration capacitor to perform nanosecond-level bias pumping on the analog side, independent of the main data link. This is because the hardware architecture ensures that the total latency on the left side is strictly less than the latency on the right side. rec{min} Therefore, when the main link handshake is completed, the LTSSM state machine officially enters the L0 state and is ready to transmit the first set of valid data, the simulated physical parameters of the AFE have already completed the steady-state establishment in advance.

[0091] Through this constraint design, the system utilizes the inherent handshake redundancy time of the protocol to "mask" the physical wake-up overhead of the analog hardware at the underlying circuit level.

[0092] (3) On-chip monitoring topology based on dual anchor points (TMM).

[0093] To monitor timing margins in real time, a hardware timing and calibration system was integrated within the FPGA based on module four: Hardware trigger anchor point A (starting point): Physically connected to the output of the LTSSM state decoder in module 2. A start pulse is generated when the first system clock edge of the transition from L1 state to Recovery state is detected.

[0094] Hardware trigger anchor point B (cutoff point): Receives the Bias_Ready signal from the internal feedback of the AFE (Internal Feedback Bias_Ready signal of the AFE). This signal is processed by a second-order synchronizer to eliminate metastability, and its rising edge serves as a timing stop pulse. The Bias_Ready signal is generated by the bias establishment detection circuit inside the AFE. Specifically, a comparator is set at the common high-impedance node (I_tail node) of the basic sustain branch and the down-frequency / full-speed compensation branch, comparing the voltage of this node with a preset subthreshold reference level. When the voltage of the high-impedance node rises and stabilizes above the reference level after the bias current injection, the comparator output flips, generating a high-level Bias_Ready signal. This signal is buffered on-chip and fed back to the FPGA as the cutoff anchor point for the timing of the on-chip delay monitor (TMM module), thereby quantifying the physical delay from wake-up trigger to the actual completion of analog bias establishment.

[0095] 16-bit adder counter: driven by a 500MHz high-frequency auxiliary clock (achieving 2ns measurement accuracy), its count value N is determined by formula t setup =N t clk Directly quantify the real-time physical setup time of AFE.

[0096] (4) Closed-loop self-healing logic based on dual threshold hysteresis.

[0097] The core innovation of this module lies in the introduction of a dual threshold window comparator and a saturation up-and-down counter, which enables dynamic closed-loop adjustment of the charge injection intensity of the module's three charges: This closed-loop self-healing logic is implemented in the pure digital domain of the FPGA through the following three hardware units: Dual threshold window comparator: Receives high-precision 16-bit setup time measurements (t) from the on-chip delay monitor (TMM module). setup ,Right now Figure 4 Input A). Internally, it has (or can be pre-configured via software) two physical boundary registers: upper threshold register B. high (Characterizing the timing violation warning line, such as 380ns, i.e.) Figure 4 Input B1) and lower threshold register B low (Characterizing the charge overload warning line, such as 200 ns, i.e.) Figure 4 Input B2 in the middle).

[0098] Saturated reversible counter: As an N-bit (e.g., 3-bit) stepping state register, it serves as the core of feedback control. It has a hardware saturation protection mechanism: when the value reaches the maximum value (all 1s), addition is disabled; when the value reaches the minimum value (all 0s), subtraction is disabled, thus physically preventing control failure caused by data overflow and reversal.

[0099] The binary weighted capacitor array (execution end, located in the cross-domain drive and charge injection module) consists of N physical capacitors with different weights (e.g., 1C, 2C, 4C) connected in parallel, with each capacitor branch connected in series with a digitally controlled MOS switch. This array is directly controlled by the bus output (DRP_Value[3:0]) of the aforementioned 3-bit step status register.

[0100] During each PCIe link wake-up (L1 exit to Recovery), the hardware logic completes the following closed-loop judgment and step optimization within a single clock cycle: Operating condition 1: Under-compensation state (timing alarm).

[0101] When the analog channel carrier mobility decreases due to excessively high chip junction temperature, t setup Length increases. When the dual threshold window comparator determines t... setup >B high At that time, a single-cycle INC (incremental) hardware pulse is output.

[0102] After capturing the pulse, the saturated reversible counter increments by 1 (e.g., from 001 to 010). This carry operation instantaneously opens the capacitor switch branch with greater weight in Module 3. Upon the next wake-up, a larger amount of transient charge is forcibly injected into the analog front-end gates, namely the gates of the "frequency reduction compensation transistor" and "full-speed compensation transistor" in the programmable current mirror array of Module 3, forcibly shortening the setup time. The saturated reversible counter does not continuously increment automatically; each time it exits L1 and enters wake-up mode, the saturated reversible counter performs only one judgment and step. Figure 4 The measured value A in the figure is the real-time settling time t obtained from a 16-bit adder counter. setup B1 corresponds to the upper threshold register B. high B2 corresponds to the lower threshold register B. low .

[0103] Operating condition 2: Overcompensation state (overshoot / noise alarm).

[0104] When a chip operates at extremely low temperatures and high speeds, the intrinsic characteristics of the analog circuit build up very quickly. Excessive charge injection can lead to severe analog power rail bounce. When the dual threshold window comparator determines t... setup low At that time, a single-cycle DEC (decrease) hardware pulse is output.

[0105] After capturing the pulse, the saturated reversible counter decrements its value by 1 (e.g., from 011 to 010). Physically disconnecting some capacitors (specifically, disconnecting the currently selected, higher-weighted capacitor branch in the binary weighted capacitor array) recovers excess timing margin, thereby minimizing crosstalk from the digital system to the analog side while ensuring zero-delay wake-up.

[0106] Operating Condition 3: Stability Dead Zone (Hysteresis Lockout).

[0107] After 1-3 step adjustments, the timing is pulled back to B. low t setup B high Within the specified range. At this time, both the INC and DEC ports of the dual threshold window comparator output a low level.

[0108] The feedback loop enters a hardware silent state (quiet state). The value of the saturated reversible counter is physically latched by the register, maintaining the current capacitor array configuration without change.

[0109] In one embodiment of the present invention, an edge computing system is provided, including the dynamic bias circuit as described in any of the above embodiments.

[0110] ​In one embodiment of the present invention, an edge computing method is provided, which adjusts the bias current of the sensor analog-to-digital hybrid front end based on the dynamic bias circuit described in any of the above embodiments, so as to perform transimpedance amplification, signal conditioning and analog-to-digital conversion on the analog physical quantities collected by the sensor.

[0111] It should be noted that the above-described edge computing system embodiments and edge computing method embodiments share the same inventive concept as the dynamic bias circuit embodiments. All contents of the dynamic bias circuit embodiments are incorporated into the edge computing system embodiments and edge computing method embodiments by reference.

[0112] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0113] The above description is only a specific embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A dynamic bias circuit, characterized in that, It includes: An out-of-band state extraction module is configured to directly bring out the LTSSM state pin of the PCIe hard core at the physical layer of the FPGA to output PCIe communication status signals, which include a first signal, a second signal, and a third signal in order of increasing power consumption. The feedforward decoding module is configured to decode the communication status signal into a multi-bit physical control word, the physical control word including a standby control word corresponding to the first signal, a frequency reduction control word corresponding to the second signal, and a full bias control word corresponding to the third signal. A cross-domain drive and charge injection module includes a parallel basic sustaining branch, a frequency reduction compensation branch, and a full-speed compensation branch. The operating current of the basic sustaining branch, the frequency reduction compensation branch, and the full-speed compensation branch accounts for an increasing proportion of the rated operating current of the cross-domain drive and charge injection module. When the cross-domain drive and charge injection module receives the standby control word, the basic sustaining branch operates, while the frequency reduction compensation branch and the full-speed compensation branch do not operate. When the cross-domain drive and charge injection module receives the frequency reduction control word, the full-speed compensation branch does not operate, and at least the frequency reduction compensation branch operates. When the cross-domain drive and charge injection module receives the full bias control word, the basic sustaining branch, the frequency reduction compensation branch, and the full-speed compensation branch all operate.

2. The dynamic bias circuit according to claim 1, characterized in that, The basic sustaining branch includes a first transistor, the frequency reduction compensation branch includes a second transistor, and the full-speed compensation branch includes a third transistor; The sources of the first transistor, the second transistor, and the third transistor are electrically connected to the tail current output terminal of the analog-to-digital hybrid front end, and the drains of the first transistor, the second transistor, and the third transistor are all grounded. The gate of the first transistor is electrically connected to the bandgap reference voltage terminal; The gate of the second transistor is electrically connected to the output of the first control word; The gate of the third transistor is electrically connected to the output terminal of the second control word; The first control word output terminal and the second control word output terminal are configured to output the physical control word.

3. The dynamic bias circuit according to claim 2, characterized in that, The operating current of the basic sustaining branch accounts for 5%~10% of the rated operating current of the cross-domain drive and charge injection module; the operating current of the frequency reduction compensation branch accounts for 20%~30% of the rated operating current of the cross-domain drive and charge injection module; and the operating current of the full-speed compensation branch accounts for 60%~70% of the rated operating current of the cross-domain drive and charge injection module; and / or, The first transistor has a parameter specification of W / L, and the second transistor has a parameter specification of k1. W / L, the parameter specification of the third transistor is k2 W / L, k2>k1>1, W represents the transistor width, L represents the transistor length; and / or, The gate of the second transistor is electrically connected to the output of the first control word via a first level converter, and the gate of the third transistor is electrically connected to the output of the second control word via a second level converter. The first and second level converters are configured to convert the level corresponding to the physical control word into a voltage value within the receiving range of the analog-to-digital front end.

4. The dynamic bias circuit according to claim 2, characterized in that, It also includes an on-chip self-healing and timing masking module, which includes an on-chip delay monitor, a dual threshold window comparator, a saturated reversible counter, and a binary weighted capacitor array. The on-chip delay monitor is configured to monitor the setup time t of the mixed-signal front end. setup ; The dual threshold window comparator includes two physical boundary registers, which are configured to receive the setup time measurement value from the on-chip delay monitor and compare the setup time measurement value with the windows corresponding to the two physical boundary registers to obtain the comparison result. The binary weighted capacitor array is composed of several physical capacitors with different weights connected in parallel, and a switching transistor is connected in series in each parallel branch of the capacitor. The saturated reversible counter is configured to count based on the comparison result and control the on / off state of the switching transistors corresponding to each capacitor according to its technical result to control the access area of ​​the binary weighted capacitor array.

5. The dynamic bias circuit according to claim 4, characterized in that, The binary weighted capacitor array includes a first editable capacitor array and a second editable capacitor array. The first editable capacitor array is disposed between the first control word output terminal and the second transistor, and the second editable capacitor array is disposed between the second control word output terminal and the third transistor. The first programmable capacitor array includes multiple parallel first physical branches, each first physical branch being connected in series with a MOS switch and a capacitor; The second programmable capacitor array also includes multiple parallel second physical branches, each of which is connected in series with a MOS switch and a capacitor.

6. The dynamic bias circuit according to claim 5, characterized in that, The capacitance of the capacitors on the first physical branch of multiple parallel lines is matched and distributed according to binary weight ratio; The capacitance of the capacitors on the multiple parallel second physical branches is matched and distributed according to the binary weight ratio.

7. The dynamic bias circuit according to claim 1, characterized in that, The feedforward decoding module also includes a data line concurrent fan-out unit, a down-frequency filtering path, a multiplexer, and a transition edge detection gate circuit; The output of the concurrent fan-out unit of the data line is directly connected to the first input of the multiplexer. The output of the concurrent fan-out unit of the data line is connected to the second input of the multiplexer through a down-frequency filtering path. The output of the multiplexer is connected to one of its first and second inputs under the control of the edge detection gate circuit. In response to the detection of a drop signal, the edge detection gate circuit controls the output of the concurrent fan-out unit of the data line to be connected to the second input of the multiplexer, and controls the output of the multiplexer to be connected to its second input. If the edge detection gate circuit does not detect a drop signal, it controls the output terminal of the concurrent fan-out unit of the data line to be connected to the first input terminal of the multiplexer, and controls the output terminal of the multiplexer to be connected to its first input terminal.

8. The dynamic bias circuit according to claim 7, characterized in that, The down-frequency filtering path includes a synchronous counter and a trigger connected in sequence.

9. The dynamic bias circuit according to claim 1, characterized in that, The feedforward decoding module includes a pure combinational logic module located in the programmable logic area of ​​the FPGA, and the input of the pure combinational logic module is connected to the output of the out-of-band state extraction module. The pure combinational logic module is configured to decode the communication status signal into the corresponding physical control word based on a preset mapping relationship.

10. The dynamic bias circuit according to claim 1, characterized in that, The out-of-band state extraction module is configured to route the communication state signal across domains to the feedforward decoding module using a physical wire network in the hardware description language source code at the top level of the FPGA. The out-of-band state extraction module is configured to attach physical property constraints in the register transfer level code, or to forcibly lock the wiring path of the out-of-band state extraction module in the system constraint file.

11. The dynamic bias circuit according to claim 1, characterized in that, The first signal is an L1 state signal or a reset signal, the second signal is an L0s state signal, and the third signal is an L0 state signal.

12. An edge computing system, characterized in that, Includes the dynamic bias circuit as described in any one of claims 1 to 11.

13. An edge computing method, characterized in that, The bias current of the sensor's analog-to-digital hybrid front end is adjusted based on the dynamic bias circuit described in any one of claims 1 to 11.