Pulse sequence dynamic sparse perception method and system based on neuron dynamics
By employing a sparse sensing method based on neuronal dynamics, an integral capacitor and attenuation control module are used to form a dynamic equilibrium state. Combined with a hysteresis comparator, real-time sensing and steady-state decision-making of sparsity are achieved, solving the problem of improper allocation of computing resources in traditional electrophysiological signal acquisition and improving energy efficiency and noise resistance.
Patent Information
- Application Number
- CN202611685421.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Traditional electrophysiological signal acquisition methods generate redundant data due to fixed-frequency analog-to-digital conversion, which undermines the event-driven advantage of spiking neural networks, makes it impossible to achieve real-time sparsity sensing, and leads to improper allocation of computing resources and low energy efficiency.
A sparse sensing method based on neuronal dynamics is adopted. A dynamic equilibrium state is formed through an integral capacitor and a decay control module. Combined with a hysteresis comparator, the sparsity is realized in real time and steady-state decision, driving the adaptive computing mode of the back-end spiking neural network.
It achieves real-time continuous sensing of impulse sparsity, significantly improves the noise resistance of sparsity decision, optimizes backend computing energy efficiency, and reduces hardware overhead.
Smart Images

Figure CN123175318A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of integrated circuit design and neuromorphic computing technology, and in particular to a dynamic sparse sensing method and system based on neuronal dynamics pulse sequences. Background Technology
[0002] In the field of wearable health monitoring, the acquisition and processing of electrophysiological signals (such as electrocardiogram (ECG) and electroencephalogram (EEG)) are core technologies. Due to the randomness of physiological activities and individual differences, these signals exhibit significant random sparsity and non-uniform distribution characteristics in the time domain.
[0003] Currently, traditional signal acquisition links mostly employ fixed-frequency analog-to-digital converters (ADCs) based on the Nyquist sampling theorem. This fixed-rate oversampling mechanism ignores the inherent sparsity of signals, leading to the generation and transmission of a large amount of redundant data. When the backend is connected to event-driven computing modules, such as spiking neural network (SNN) accelerators, the fixed data flow undermines the event-driven advantage of SNNs, forcing the accelerator to continuously process invalid data, thereby severely limiting the overall energy efficiency of the system.
[0004] To overcome the aforementioned shortcomings, existing technologies have introduced level-crossing analog-to-digital converters (LC-ADCs). LC-ADCs can sample based on changes in signal amplitude rather than the time axis, adaptively converting analog signals into non-uniform pulse sequences, thus achieving data compression in the time domain. However, the sparsity of the output pulse sequence of an LC-ADC is not constant; it undergoes significant dynamic drift as the user's physiological state changes, such as from a resting state to a moving state.
[0005] Because the existing acquisition architecture lacks a real-time sensing mechanism for the sparsity of pulse sequences, the backend SNN accelerator cannot know the activity level of the current data stream. This causes the accelerator to be configured with the worst-case (highest sparsity) computing resources, or to be blind in switching computing modes, failing to configure computing resources according to the real-time density of the input data, ultimately resulting in a large amount of ineffective dynamic power consumption waste. Summary of the Invention
[0006] To achieve the above objectives, the present invention adopts the following technical solution: One aspect of the present invention provides a dynamic sparse sensing method for pulse sequences based on neuronal dynamics, comprising the following steps: The original pulse sequence output by the level-crossing analog-to-digital converter is fed in parallel into the integrating capacitor inside the sparse sensing module. The integrating capacitor is incrementally filled with charge by each pulse edge, so that the potential amplitude across the integrating capacitor gradually increases with the increase of the pulse arrival frequency until a real-time sensing potential characterizing the pulse accumulation density is obtained. The attenuation control module applies a control square wave with an adjustable on / off time ratio to the integrating capacitor to control the rate at which the integrating capacitor releases charge to the reference ground through the leakage path. This causes the real-time sensing potential to fall back at a preset attenuation slope during the pulse-free interval. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed in which the real-time sensing potential changes inversely with the sparseness of the input pulses. When the pulse arrival interval is shortened, the net increase in real-time sensing potential occurs when the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to its initial value through the leakage path. In this case, the amount of charge injected by each new pulse exceeds the amount of charge leaked during the interval between two pulses, resulting in a net increase in the sensing potential with a gradual upward trend. When the pulse arrival interval is extended, the net decrease in real-time sensing potential occurs when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level through the leakage path. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval, resulting in a net decrease in the sensing potential with a gradual downward trend.
[0007] The real-time sensed potential in a dynamic equilibrium state is compared with the amplitude of a preset high-level threshold and a preset low-level threshold. When the real-time sensed potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag is flipped to the dense indication state. When the real-time sensed potential falls from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag is flipped to the sparsity indication state. When the real-time sensed potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag remains unchanged to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise. The steady-state sparsity decision signal drives the back-end spiking neural network accelerator to switch to the corresponding sparsity level computing mode.
[0008] This invention addresses the energy efficiency bottleneck in the electrophysiological signal acquisition and processing chain of wearable devices by proposing a dynamic sparse sensing method for pulse sequences based on neuronal dynamics. The main improvement is a shift from the traditional architecture of fixed sampling and blind computation to a closed-loop intelligent architecture of event-driven, density-sensing, and adaptive computation. Specifically, this invention constructs a complete technical chain consisting of a level-crossing analog-to-digital converter, a sparse sensing module, and a back-end spiking neural network accelerator working collaboratively. The level-crossing analog-to-digital converter, as the signal acquisition front-end, overcomes the limitations of the traditional fixed sampling rate by triggering the generation of a non-uniformly distributed original pulse sequence based on changes in signal amplitude. The sparsity of the pulse sequence naturally drifts dynamically with physiological states; this provides a data source for sensing and regulation. The sparse sensing module, the core innovative component of this invention, is set up independently of the main computing path. Internally, it consists of three cascaded sub-components: an integrating capacitor, an attenuation control module, and a hysteresis comparator. The integrating capacitor utilizes the charge accumulation effect to perform real-time physical mapping of pulse arrival density, transforming discrete pulse events into continuously changing sensing potentials. The attenuation control module, through adjustable duty cycle leakage control, endows the sensing potentials with memory-forgetting characteristics, allowing them to dynamically follow the changing trend of pulse density rather than fluctuating instantaneously. The hysteresis comparator uses a dual-threshold interval to construct a decision insensitive band, eliminating false triggering caused by pulse edge jitter. Thus, the sparsity information of the original pulse sequence is sequentially transformed into three levels of physical representation: charge quantity, voltage amplitude, and binary decision signal, ultimately outputting a steady-state sparsity decision signal. The back-end spiking neural network accelerator, as a controlled execution component, dynamically switches its computing mode based on the decision signal. There is a clear technological progression and functional complementarity among the three components mentioned above: the level-crossing analog-to-digital converter solves the problem of matching signal sampling with sparsity characteristics; the sparse sensing module solves the problem of how sparsity can be reliably sensed; and the back-end accelerator solves the problem of how the sensing results are converted into energy efficiency benefits. All three are indispensable and together constitute the complete technical solution of this invention, distinguishing it from existing technologies.
[0009] Another aspect of the present invention provides a pulse sequence dynamic sparse sensing system based on neuronal dynamics, comprising: The sensing potential acquisition module is used to input the original pulse sequence output by the level-crossing analog-to-digital converter into the integrating capacitor inside the sparse sensing module in parallel. The integrating capacitor is filled with incremental charge by each pulse edge, so that the potential amplitude at both ends of the integrating capacitor gradually increases with the increase of the pulse arrival frequency until the real-time sensing potential characterizing the pulse accumulation density is obtained. The equilibrium state acquisition module applies a control square wave with an adjustable on / off time ratio to the integrating capacitor via the attenuation control module. This controls the rate at which the integrating capacitor releases charge to the reference ground through the leakage path, causing the real-time sensing potential to fall back at a preset attenuation slope during the pulse-free input interval. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed where the real-time sensing potential changes inversely with the sparseness of the input pulses. The net increase in real-time sensing potential when the pulse arrival interval is shortened occurs when the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to its initial value through the leakage path. In this case, the amount of charge injected by each new pulse exceeds the amount of charge leaked during the two pulse intervals, resulting in a net increase in the sensing potential with a gradual upward trend. Conversely, the net decrease in real-time sensing potential when the pulse arrival interval is extended occurs when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level through the leakage path. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval, resulting in a net decrease in the sensing potential with a gradual downward trend. The decision signal output module compares the amplitude of the real-time sensed potential in a dynamic equilibrium state with preset high-level thresholds and preset low-level thresholds. When the real-time sensed potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag flips to the dense indication state; when the real-time sensed potential falls from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag flips to the sparsity indication state. When the real-time sensed potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag remains unchanged to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise. Based on the steady-state sparsity decision signal, the module drives the back-end spiking neural network accelerator to switch to the corresponding sparsity level computing mode.
[0010] While level-crossing analog-to-digital converters (ADCs) are recognized as a sampling method with time-domain compression capabilities, those skilled in the art typically view them only as front-end tools for reducing data volume. They fail to recognize that the dynamic drift of pulse sequence sparsity output by the converter with physiological states fundamentally limits the energy efficiency of back-end computing modules. More importantly, even though some researchers have noted the time-varying nature of pulse density, existing technologies have never proposed a method for real-time sensing of pulse sparsity and filtering of jitter noise using analog circuits without relying on complex statistical calculations in the digital domain. Current methods involve buffering the pulse sequence in the digital domain and counting the number of pulses per unit time. This method introduces additional storage overhead and computational latency and cannot achieve continuous real-time sensing.
[0011] The complete logical closed loop constructed in this invention is as follows: A level-crossing analog-to-digital converter outputs a non-uniform pulse sequence due to the random sparsity of physiological signals; the density of this pulse sequence reflects changes in physiological state in real time. Integrating capacitors in the sparse sensing module map the pulse density to the rise rate of the sensing potential through charge accumulation. The attenuation control module allows the sensing potential to naturally fall back during the pulse interval through controllable leakage. The dynamic equilibrium formed by these two components makes the sensing potential a continuous monotonic mapping function of the pulse density. A hysteresis comparator converts the continuous analog quantity into a binary steady-state signal with noise suppression capability through dual-threshold decision-making. The back-end spiking neural network accelerator switches its calculation mode based on this signal to achieve optimal energy efficiency. Each link in the above closed loop is indispensable for realizing the overall function of real-time sensing-robust decision-driving control. Prior to this invention, no such technical path had been disclosed in public literature or implemented in commercial products.
[0012] By organically combining the above-mentioned multiple technical features, the present invention achieves the following beneficial effects: First, it achieves real-time continuous sensing of pulse sparsity. Unlike intermittent detection methods in the digital domain that require data caching and statistical analysis, this invention utilizes an integrating capacitor to respond to the pulse sequence pulse by pulse, achieving charge accumulation in an analog domain manner. This allows the sensing potential to change continuously with the pulse arrival frequency, eliminating data acquisition windows and computational delays. It can follow rapid changes in physiological state in real time, providing readily available control data for the backend accelerator.
[0013] Second, it significantly improves the noise immunity of sparsity decision. Through the charging-draining dynamic balance mechanism jointly constructed by the integrating capacitor and the attenuation control module, the sensed potential naturally possesses short-term smoothness characteristics, and the charge fluctuations caused by single pulse jitter are partially offset by the leakage process. On this basis, the dual-threshold decision mechanism of the hysteresis comparator further constructs an insensitive interval in the amplitude domain. The decision state only flips when the sensed potential crosses the preset high and low threshold boundaries. From both the time domain and amplitude domain, it simultaneously suppresses decision oscillations caused by pulse edge jitter and comparator operation noise, ensuring the steady-state quality of the decision signal.
[0014] Third, adaptive optimization of the computational energy efficiency of the back-end accelerator is achieved. By directly outputting the steady-state sparsity decision signal to the back-end spiking neural network accelerator as a mode switching enable, the accelerator can provide sufficient computational throughput during pulse-dense periods to ensure algorithm accuracy, and actively shut down idle computing units during pulse-sparse periods to reduce dynamic power consumption. Compared to the traditional approach of configuring fixed computing resources with worst-case sparsity, this invention enables dynamic adjustment of computational power consumption according to the activity of input data, fundamentally eliminating energy waste caused by the mismatch between computation mode and data sparsity.
[0015] Fourth, the above functions are achieved with extremely low hardware overhead. The sparse sensing module of this invention consists only of basic analog components such as integrating capacitors, leakage control switches, and hysteresis comparators. It does not require high-power resources such as analog-to-digital converters, digital signal processors, or memory required for digital domain statistics. The area and power consumption costs are minimal, making it particularly suitable for wearable device scenarios where size and power consumption are strictly limited, and it has extremely high engineering practical value. Attached Figure Description
[0016] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 A flowchart of the pulse sequence dynamic sparse sensing method based on neuronal dynamics provided by the present invention; Figure 2 A schematic diagram of the dynamic sparse sensing method for pulse sequences based on neuronal dynamics provided by this invention; Figure 3 A block diagram of a pulse sequence dynamic sparse sensing system based on neuron dynamics provided by the present invention; Figure 4 A schematic diagram of the sparse sensing circuit provided by the present invention; Figure 5 Waveform diagrams of the LC-ADC and sparse sensing module provided by this invention; Figure 6 A block diagram of the electronic device provided by the present invention; Figure 7 A block diagram of a computer-readable storage medium provided for this invention.
[0017] Reference numerals: 1. Potential sensing module; 2. Balance state acquisition module; 3. Decision signal output module; 4. Central processing unit / microprocessor / main control chip; 5. Storage medium; 6. Data bus; 7. Input / output bus / external bus / device bus; 8. Display; 9. Input / output device; 10. Computer-readable instructions; 11. Non-transitory computer-readable storage medium. Detailed Implementation
[0018] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0019] This invention applies the integral-leakage membrane potential dynamics of biological neurons to real-time pulse sparsity detection, introducing for the first time the principle of membrane potential dynamics of biological neurons into the field of pulse sparsity sensing at the front end of electrophysiological signal acquisition. In biological neural systems, neurons receive presynaptic pulses through dendrites. Each pulse input causes an excitatory integral increase in the membrane potential, while the membrane potential continuously decreases through leakage from ion channels. The dynamic fluctuations in the membrane potential reflect the density of the input pulses.
[0020] Specifically, this invention treats the raw pulse sequence output by the level-crossing analog-to-digital converter as synaptic input events of biological neurons, and the integrating capacitor as the charge storage capacity of the neuron's cell membrane. Each input pulse is equivalent to a postsynaptic excitatory current injection, causing an incremental rise in the sensing potential across the integrating capacitor. Simultaneously, a controllable leakage path introduced through the attenuation control module simulates the passive decay process of the neuron's membrane potential, allowing the sensing potential to naturally fall back when there is no pulse input. The introduction of this integral-leakage dynamics model maps the pulse sequence sparsity detection problem, originally in the digital circuit domain, to a state tracking problem of a continuous-time system in the analog domain. This fundamentally avoids the data buffering and arithmetic operation overhead required by traditional digital domain statistical methods, achieving a significant reduction in sensing latency and a substantial decrease in hardware costs. This invention applies the above-mentioned bio-inspired mechanism for the first time to real-time pulse sparsity detection at the chip front end, an application direction not previously publicly documented or technically inspired by existing technologies.
[0021] Hybrid digital-analog sensing architecture: Based on the original biodynamic mechanism, this invention further constructs a hybrid digital-analog sensing architecture of analog integral sensing + digital square wave leakage control. Through the coordinated cooperation of analog and digital circuits, it realizes dynamic monitoring functions with adjustable parameters and extremely low power consumption.
[0022] Specifically, the front-end sensing path of the architecture is implemented using pure analog circuitry: integrating capacitors continuously accumulate charge in the input pulse over the time domain, and the sensing potential changes continuously with the pulse density. This eliminates the need for clock sampling and quantization, thus avoiding the time window truncation error and quantization noise inherent in digital domain statistical methods. The back-end control path, on the other hand, is implemented using digital logic: the attenuation control module outputs a digital square wave with an adjustable duty cycle. The average conduction duration of the leakage path is precisely controlled by the ratio of the high-level duration to the low-level duration of the square wave, thereby flexibly adjusting the charge leakage rate in the analog domain digitally. The core advantages of this hybrid design are: firstly, the instantaneous response characteristics and continuous tracking capability of the analog integrating front-end ensure the real-time and continuous nature of the sensing; secondly, the digitally configurable duty cycle of the digital square wave allows the system to flexibly adjust the attenuation slope to match the optimal detection sensitivity based on the typical range of pulse sparsity changes in different physiological states, such as resting, active, and sleep states, without changing any analog component parameters. The aforementioned hybrid analog-digital architecture, which combines analog integral sensing with digital square wave leakage control, retains the inherent advantages of analog circuits in terms of low power consumption and continuous processing, while also possessing the programmable flexibility of digital circuits. This achieves a good balance between the ultra-low power consumption constraints of wearable devices and the need for adaptation to multiple scenarios.
[0023] Anti-jitter logic: A combination of dual-threshold hysteresis comparator and state-holding feedback is used to address the technical challenge of sparsity misjudgment caused by inherent noise in physiological electrical signals and jitter of level-crossing analog-to-digital converter comparators. This invention designs an anti-jitter decision mechanism based on dual-threshold hysteresis comparator and state-holding feedback logic at the output stage of a mixed-signal sensing architecture.
[0024] Specifically, the core of the mechanism lies in simultaneously utilizing two anti-interference strategies—amplitude domain hysteresis and time domain state maintenance—to form a combined protection. At the amplitude domain level, this invention sets two amplitude reference points: a preset high-level threshold and a preset low-level threshold. The voltage range between these two points constitutes the hysteresis interval. When the sensed potential changes within this interval, the decision output flag does not flip. Only when the sensed potential completely crosses the high or low threshold boundary is the output state allowed to change. This creates an insensitive band in the amplitude dimension, eliminating decision oscillations caused by minute fluctuations in the sensed potential near the critical point. At the time domain level, the state maintenance feedback logic ensures that the decision output flag maintains its existing logical state until the sensed potential crosses the hysteresis interval. Even if the input pulse experiences sudden density fluctuations within a short period, as long as the sensed potential does not cross the threshold boundary, the decision result remains stable. The combined application of the two anti-interference strategies mentioned above enables the present invention to output a sparse decision signal with state stability even under complex conditions where interference sources such as pulse edge jitter, inherent fluctuations in physiological signals, and noise from circuit comparators coexist. This provides a reliable and stable basis for mode switching for the back-end spiking neural network accelerator, fundamentally ensuring the anti-interference capability of the entire adaptive computing link in real physiological monitoring scenarios.
[0025] The three technical features mentioned above are closely interdependent and progressively related: the pioneering integral-leakage biodynamic mechanism provides the theoretical foundation and physical implementation framework for the entire sensing scheme; the hybrid analog-digital sensing architecture engineers the bio-inspired mechanism into a parameter-adjustable and practically operable circuit system; and the anti-jitter logic provides the final guarantee of output reliability when the system faces complex noise environments of real physiological signals. Together, these three constitute the complete technical solution of this invention, from principle to implementation, from core to periphery.
[0026] By comprehensively utilizing the above three technical features, the present invention achieves the following overall beneficial effects: First, the hardware overhead of the analog sensing front-end, which consists of an integrating capacitor and an attenuation control module, enables real-time continuous sensing of pulse sparsity. It does not require digital domain data caching and statistical operations. The sensing delay is determined only by the charging and discharging time constant of the integrating capacitor, which is significantly better than the intermittent detection mechanism of traditional digital statistical methods. Second, by leveraging the configurable digital duty cycle of the digital square wave output by the attenuation control module, the attenuation slope can be flexibly adjusted, enabling the system to adaptively adjust the detection sensitivity according to the dynamic range of pulse sparsity under different application scenarios without changing the parameters of the analog components. Third, by combining the hysteresis interval between the preset high-level threshold and the preset low-level threshold with the state-maintaining feedback logic, the sparsity decision output flag maintains its existing logic state when the sensing potential is within the hysteresis interval, eliminating the decision output error caused by pulse edge jitter and comparator operation noise, and ensuring the stability of the decision signal in the critical region. Fourth, by outputting a sparsity decision signal with state-maintaining stability to the back-end spiking neural network accelerator as a mode switching enable, the accelerator dynamically configures the activation scale of the internal computing array, the clock gating state of the neuron computing unit, and the synaptic weight update triggering conditions according to the current pulse sparsity. This provides sufficient computing throughput during pulse-dense periods and shuts down idle computing units during pulse-sparse periods, thus comprehensively improving the energy efficiency ratio of the wearable electrophysiological signal processing system from the data source to the computing terminal.
[0027] like Figure 1 As shown, this embodiment of the invention provides a dynamic sparse sensing method for pulse sequences based on neuronal dynamics, comprising the following steps: Step S100: The original pulse sequence output by the level-crossing analog-to-digital converter is connected in parallel to the integrating capacitor inside the sparse sensing module. The integrating capacitor is incrementally filled with charge by each pulse edge, so that the potential amplitude at both ends of the integrating capacitor gradually increases with the increase of the pulse arrival frequency until a real-time sensing potential characterizing the pulse accumulation density is obtained.
[0028] Specifically, a level-crossing analog-to-digital converter (ADC) is a signal conversion device with a non-fixed sampling rate. It triggers sampling output based on the time point when the amplitude of the input analog signal crosses a preset level reference point, rather than relying on fixed clock edges for equally spaced sampling. This converts continuous analog electrophysiological signals into a temporally non-uniformly distributed raw pulse sequence. The raw pulse sequence is a digital pulse output by the aforementioned level-crossing ADC each time the signal amplitude crosses a preset level step. The time interval of the pulse sequence dynamically changes with the rate of change of the input signal; pulses are dense when the signal changes drastically and sparse when the change is gradual, thus exhibiting overall random sparsity and non-uniformity. The sparse sensing module is an analog front-end processing unit independent of the back-end spiking neural network accelerator. Its input is connected to the pulse output of the level-crossing ADC, and it is dedicated to real-time monitoring and quantification of the arrival density of the raw pulse sequence. It does not participate in the main computation task of the pulse sequence; the integrating capacitor is a passive device with charge storage capability set inside the sparse sensing module. It receives the charge injection from each pulse edge in the original pulse sequence and presents the accumulated charge in the form of the potential amplitude at both ends, serving as a physical quantity carrier characterizing the pulse density; incremental charge filling is an operation mode in which the integrating capacitor is quantitatively replenished with charge by a switching device when each input pulse edge arrives. Each pulse contributes a fixed charge increment, so that the total charge on the integrating capacitor increases in a stepwise manner as the number of pulses arrives; the real-time sensing potential of pulse accumulation density is the voltage value at both ends corresponding to the charge stored in the integrating capacitor at the current moment. The voltage value reflects the accumulation density of the input pulses from the previous reset moment to the current moment in real time. The higher the pulse arrival frequency, the faster the voltage rise rate, and the lower the pulse arrival frequency, the slower the voltage rise rate.
[0029] Step S200: A control square wave with an adjustable on / off time ratio is applied to the integrating capacitor via the attenuation control module to control the rate at which the integrating capacitor releases charge to the reference ground through the leakage path. This causes the real-time sensing potential to fall back at a preset attenuation slope during the gap period without pulse input. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed in which the real-time sensing potential changes inversely with the sparseness of the input pulse. Specifically, when the pulse arrival interval is shortened, the net increase in real-time sensing potential occurs when the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to its initial value through the leakage path. In this case, the amount of charge injected by each new pulse exceeds the amount of charge leaked during the interval between two pulses, resulting in a net increase in the sensing potential with a gradual upward trend. When the pulse arrival interval is extended, the net decrease in real-time sensing potential occurs when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level through the leakage path. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval period, resulting in a net decrease in the sensing potential with a gradual downward trend. Specifically: The attenuation control module is an active control circuit unit coupled to the integrating capacitor device. It generates a control square wave with a specific duty cycle to actively adjust the release rate of the charge stored in the integrating capacitor device, thereby controlling the dynamic range of the sensed potential. The control square wave with an adjustable on / off time ratio is a periodic rectangular wave signal output by the attenuation control module. The square wave contains both on and off time periods within one cycle. By adjusting the ratio of on to off time, the average on-time of the leakage path is changed, thus achieving precise control of the leakage rate. The leakage path releases to the reference ground. The charge rate is the discharge path formed between the integrating capacitor and the reference ground through the controlled switching device. During the control square wave conduction period, the capacitor releases the stored charge through resistive discharge. The speed of the release process is determined by the equivalent leakage resistance value determined by the duty cycle of the control square wave. The no-pulse input gap is the time interval between two adjacent pulses in the original pulse sequence. During this time interval, no new charge is injected into the integrating capacitor, and the sensed potential decreases exponentially or linearly only under the control of the leakage path. The preset decay slope is the rate of change of the potential of the integrating capacitor with time during the no-pulse input gap. The rate of change is preset by the duty cycle of the control square wave output by the attenuation control module, used to match the dynamic detection range of pulse sparsity under different physiological states; the dynamic equilibrium state of the inverse change of pulse sparsity is the result of the integrating capacitor simultaneously experiencing two opposing effects: incremental charge filling and continuous charge leakage. When the pulse arrival frequency is high, charge accumulation dominates, causing the sensing potential to rise; when the pulse arrival frequency is low, charge leakage dominates, causing the sensing potential to fall. This results in a dynamic response characteristic where the sensing potential fluctuates inversely with the input pulse density; the net increase in real-time sensing potential when the pulse arrival interval shortens is when... When the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to its initial value through the leakage path, the amount of charge injected by each new pulse exceeds the amount of charge leaked during the interval between two pulses, resulting in a net increase in the sensing potential with a gradual upward trend. When the pulse arrival interval is extended, the net decrease in the real-time sensing potential occurs when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level through the leakage path. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval, resulting in a net decrease in the sensing potential with a gradual downward trend.
[0030] As a preferred approach, the process of forming a dynamic equilibrium state in which the real-time sensing potential changes inversely with the sparsity of the input pulse specifically includes the following steps: Step S201: When each pulse edge of the original pulse sequence arrives, a quantitative charge injection is performed on the integrating capacitor through a switching device, so that the potential at both ends of the integrating capacitor is raised by a fixed amplitude step. At the same time, during the gap between two adjacent pulses, the control square wave with an adjustable duty cycle output by the attenuation control module conducts the leakage path, so that the integrating capacitor releases charge to the reference ground through the leakage path, thereby obtaining an alternating charge and discharge response process in which the potential rises stepwise during the pulse injection period and the potential decreases exponentially during the pulse gap period. Step S202: During the alternating charge-discharge response, when the pulse arrival interval shortens, the cumulative value of the charge injected by each pulse exceeds the cumulative value of the charge leaked during the adjacent interval, making the net change in potential across the integrating capacitor positive; when the pulse arrival interval lengthens, the cumulative value of the charge injected by each pulse is less than the cumulative value of the charge leaked during the adjacent interval, making the net change in potential across the integrating capacitor negative; thus, a dynamic equilibrium state is obtained in which the potential across the integrating capacitor increases net as the pulse arrival interval shortens and decreases net as the pulse arrival interval lengthens.
[0031] Specifically: The switching device is a controlled conducting element located in the charging path of the integrating capacitor. Its control terminal is connected to the pulse output terminal of the level-crossing analog-to-digital converter. When a pulse edge in the original pulse sequence arrives, the switching device enters the conducting state in response to the pulse edge triggering. When the pulse edge ends, it returns to the cutoff state, used to convert each input pulse into a quantitative charge injection operation on the integrating capacitor. The quantitative charge injection involves the switching device conducting for a preset fixed duration when each pulse edge arrives. The fixed duration is determined by the time width of the conduction control signal, and a constant current is applied during the conduction period. The integrating capacitor is charged so that an equal amount of charge is injected into it with each pulse edge, ensuring a consistent contribution amplitude of each pulse event to the sensing potential and eliminating the influence of the randomness of the pulse width on the amount of charge injected. The fixed-amplitude step rise is a sudden increase in the amplitude of the potential across the integrating capacitor due to the instantaneous injection of a fixed amount of charge at each pulse edge. The magnitude of this sudden increase is determined by the ratio of the injected charge to the capacitance of the integrating capacitor, and does not change with the historical state of the input pulse sequence or the current potential amplitude. Each pulse edge causes the sensing potential to exhibit a fixed high amplitude. The time discontinuous jump of the degree; the gap period is the time interval between two adjacent pulse edges in the original pulse sequence. During the time interval, the switching device is in the off state, the integrating capacitor has no new charge injection, and the amplitude change of the sensed potential is completely dominated by the discharge process of the leakage path. The length of the gap period changes dynamically with the rate of change of the input signal. The gap period is longer when the signal changes slowly and shorter when the signal changes violently. The potential step rise during the pulse injection period is the behavior characteristic of the instantaneous jump rise of the potential of the integrating capacitor due to the quantitative charge injection at the moment of arrival of each pulse edge. The rise process is approximately a step response in time. The rise edge is steep and the duration is much shorter than the gap period, serving as the excitation source for the change of the sensed potential. The potential exponential drop during the pulse gap period is the behavior characteristic of the potential at both ends of the integrating capacitor gradually falling back according to the resistance-capacitance discharge characteristics when the device releases charge to the reference ground through the leakage path during the gap period without pulse injection. The decay time constant is determined by the equivalent resistance value of the leakage path and the capacitance value of the integrating capacitor. The initial amplitude of the decay is the step peak value after the previous pulse injection, and the final amplitude of the decay depends on the length of the gap period and the decay time constant.The alternating charge-discharge response process is a cyclic sequence in which the integrating capacitor device alternately experiences two physical processes on the time axis: a step-like charge rise during the pulse injection period and an exponential leakage fall during the pulse gap period. Each pulse triggers a charging step, followed by a leakage fall of variable duration, thus forming a complete response waveform in which charging and leakage alternate in the time domain and are connected one after the other. A shortened pulse arrival interval refers to a trend where the time interval between two adjacent pulse edges in the original pulse sequence becomes shorter relative to the previous interval or a preset reference value. This trend reflects an increased rate of change and a higher frequency of amplitude crossing the reference level within the current time period, corresponding to a decrease in the sparsity of the pulse sequence in the time domain. The cumulative charge injected by the pulse is the sum of the charges injected sequentially into the integrating capacitor by each pulse edge through the switching device within a preset time window or a continuous pulse sequence. The cumulative value increases monotonically with the increase in pulse arrival frequency; the shorter the pulse arrival interval and the more injections per unit time, the larger the cumulative value. The cumulative charge value, when used alone, specifically refers to the total amount of charge released from the integrating capacitor to the reference ground through the leakage path during the gap between adjacent pulses. The amount released is determined by the duration of the gap and the equivalent impedance of the leakage path; the longer the gap, the greater the cumulative charge released by leakage, and the greater the drop in the sensed potential. A prolonged pulse arrival interval refers to a trend where the time interval between two adjacent pulse edges in the original pulse sequence becomes shorter relative to the previous interval or a preset reference value. The increasing trend reflects a slower rate of change and a lower frequency of amplitude crossing the reference level in the current time period of the input analog electrophysiological signal, corresponding to an increase in the sparsity of the pulse sequence in the time domain. The net increase in the potential at both ends as the pulse arrival interval shortens is because when the pulse arrival interval shortens, the amount of charge lost due to leakage between two adjacent pulses is less than the amount of charge replenished when the next pulse is injected. This results in the potential at both ends of the integrating capacitor being higher than the initial potential before the start of the cycle after completing one charge-discharge cycle. After multiple cycles, the overall trend of the sensed potential shows an increasing change, and the net increase is equal to the positive value of the difference between the cumulative value of the injected charge of each pulse and the cumulative value of the leakage charge of each interval. The net decrease as the pulse arrival interval lengthens is because when the pulse arrival interval lengthens, the amount of charge lost due to leakage between two adjacent pulses is more than the amount of charge replenished when the next pulse is injected. This results in the potential at both ends of the integrating capacitor being lower than the initial potential before the start of the cycle after completing one charge-discharge cycle. After multiple cycles, the overall trend of the sensed potential shows a decreasing change, and the net decrease is equal to the negative value of the difference between the cumulative value of the injected charge of each pulse and the cumulative value of the leakage charge of each interval.The dynamic equilibrium state is a fluctuation response state of the integrating capacitor device under the combined action of continuous pulse excitation and intermittent leakage. In this state, the step rise caused by each pulse injection and the subsequent exponential drop during the interval constitute a complete charge-discharge cycle. At the end of each cycle, the sensed potential undergoes a net change compared to its initial value. The sign and magnitude of the net change are uniquely determined by the relative relationship between the pulse arrival interval and the leakage time constant. When the pulse arrival interval is shorter than the leakage time constant, the sensed potential increases netly and tends to be higher overall; when the pulse arrival interval is longer than the leakage time constant, the sensed potential decreases netly and tends to be lower overall. This causes the amplitude of the sensed potential to dynamically follow the instantaneous density of the input pulse sequence and exhibit a correlation characteristic that changes inversely with the pulse sparsity.
[0032] In one possible implementation: In this embodiment, charge injection is performed quantitatively on the integrating capacitor via a switching device at the pulse edge trigger, ensuring a fixed-amplitude potential step rise for each pulse. This characteristic allows the system to linearly superimpose the count of input pulses, conforming to the basic biological principle of postsynaptic potential accumulation in neurons. The decay control module drives the periodic conduction of the leakage path using an adjustable duty cycle square wave, forming an exponentially decaying potential release process during the pulse interval, simulating the passive decay characteristics of neuronal membrane potential. The adjustable duty cycle mechanism allows the system to dynamically adjust the leakage rate according to actual needs, achieving adaptive response to pulse sparsity patterns at different time scales. The potential change of the integrating capacitor is jointly determined by charge injection and leakage release. When the input pulse interval is shortened, the potential of the integrating capacitor shows a net increasing trend due to the increased frequency of charge injection per unit time; when the input pulse interval is extended, the potential of the integrating capacitor shows a net decreasing trend due to the increased proportion of leakage time. The nonlinear response characteristic enables dynamic encoding of the temporal sparsity characteristics of the pulse sequence.
[0033] In summary, this embodiment constructs a monotonic mapping relationship between the rate of potential change and the input pulse density by precisely matching the dynamic balance between charge injection and leakage, ultimately forming a dynamic equilibrium state dependent on the pulse interval. It achieves lossless feature extraction of pulse sequence temporal patterns, and its working mechanism is isomorphic to the encoding principle of synaptic input frequencies by neurons. The system output potential directly reflects the instantaneous sparsity of the input pulse sequence, providing a quantitative basis for subsequent pulse signal processing.
[0034] As an example: In a specific application scenario, this embodiment is used in a wearable ECG signal monitoring device. The level quantization step size of the level-crossing analog-to-digital converter is set to 200 microvolts, meaning that a pulse is output every 200 microvolts change in the simulated ECG signal. For a typical ECG signal, the pulse arrival interval during the rising edge of the QRS complex is approximately 1 millisecond, and the pulse arrival interval during the slow T-wave transition period is approximately 10 milliseconds.
[0035] The capacitance of the integrating capacitor is selected as 10 picofarads. The switching device is turned on for 1 microsecond at the arrival of each pulse edge. During the on-time, the integrating capacitor is charged with a constant current of 10 microamps. Therefore, the charge injected by each pulse is 10 picocoulombs, and the corresponding step rise is 1 volt. The charge of 10 picocoulombs is divided by the capacitance of 10 picofarads.
[0036] The frequency of the control square wave output by the attenuation control module is set to 100 kHz, and the duty cycle is initially set to 50%. The equivalent resistance of the leakage path is 100 kΩ, so the leakage time constant is 1 microsecond, which is 100 kΩ multiplied by 10 picofarads.
[0037] During the rising edge of the QRS complex, the pulse arrival interval is 1 millisecond, which is much larger than the leakage time constant of 1 microsecond. Theoretically, after each pulse injection, the sensing potential is completely discharged to the reference ground potential before the next pulse arrives. However, due to the cumulative effect of multiple pulses, the step rise of the sensing potential during each pulse injection period is 1 volt, and the drop during each interval period is about 0.999 volts. According to the exponential decay law, it approaches 0 after 1000 time constants. Therefore, the net increase is about 0.001 volts after each charge-discharge cycle. After the accumulation of multiple pulses, the sensing potential gradually rises.
[0038] When the attenuation control module adjusts the duty cycle of the control square wave to 10%, the average conduction time of the leakage path decreases, the equivalent leakage resistance increases to 1 megohm, and the leakage time constant is extended to 10 microseconds. At this time, during the T-wave gradual change, the pulse arrival interval is 10 milliseconds. Within a single gap period, the sensed potential decays exponentially from the step peak, approaching the reference ground potential after about 1000 time constants, with the net change approaching zero, and the sensed potential remains at a low level.
[0039] The hysteresis comparator has a preset high-level threshold of 5 volts and a preset low-level threshold of 2 volts. When the QRS complex arrives continuously, causing the sensed potential to accumulate and cross 5 volts, the sparsity decision output flag flips to the dense indication state, driving the back-end pulse neural network accelerator to switch to high-throughput computing mode. When the pulse sparsity arrives during the T-wave gradual change, causing the sensed potential to continuously decrease and cross 2 volts, the sparsity decision output flag flips to the sparsity indication state, driving the back-end accelerator to switch to low-power computing mode. The hysteresis interval between 2 volts and 5 volts ensures that the decision output remains unchanged when the sensed potential is within this range.
[0040] Step S300: The amplitude of the real-time sensing potential in dynamic equilibrium state is compared with the preset high-level threshold and the preset low-level threshold respectively. When the real-time sensing potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag is flipped to the dense indication state. When the real-time sensing potential falls from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag is flipped to the sparsity indication state. When the real-time sensing potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag is maintained unchanged to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise. The back-end spiking neural network accelerator is then driven to switch to the corresponding sparsity level calculation mode according to the steady-state sparsity decision signal.
[0041] Specifically: The preset high-level threshold and preset low-level threshold are two amplitude parameters preset in the hysteresis comparator. The high-level threshold is used to determine whether the sensed potential has reached the trigger condition for dense mode, and the low-level threshold is used to determine whether the sensed potential has fallen back to the trigger condition for sparse mode. The difference between the two thresholds constitutes the width of the hysteresis interval. The real-time sensed potential moving from the low-level region is the process of the sensed potential continuously rising from a low state numerically lower than the preset low-level threshold. This rising process is driven by the charging rate consistently exceeding the leakage rate when the pulse density arrives. The dense indication state is when the sparsity decision output flag is set to characterize the current... The input pulse sequence is in a high-density active phase at a logic level, triggering the backend spiking neural network accelerator to switch to a computing configuration suitable for processing high-density data streams. The high-level region is the process of the sensing potential continuously decreasing from a high-level state numerically above a preset high-level threshold, driven by a leakage rate consistently exceeding the charging rate when pulses arrive sparsly. The sparsity indication state is when the sparsity decision output flag is set to a logic level representing the current input pulse sequence in a low-density quiet phase, triggering the backend spiking neural network accelerator to switch to a low-power computing configuration suitable for processing low-density data streams. The hysteresis region is a preset low level. The voltage margin range between the threshold and the preset high-level threshold ensures that the comparator's output state maintains the logic value from the previous moment within this range, without flipping due to minor fluctuations in the sensed potential. This creates an insensitive region in the amplitude domain to filter out fluctuations in the sensed potential caused by pulse edge jitter. The steady-state sparsity decision signal for suppressing pulse edge jitter noise is a binarized decision signal with state-preserving characteristics, output after hysteresis comparison processing. The signal maintains a constant logic state before the sensed potential crosses the boundary of the hysteresis interval, eliminating frequent oscillations in the decision output caused by inherent fluctuations in physiological signals or comparator operation noise. The back-end pulse neural network adds... The accelerator is a dedicated computing hardware unit located after the sparse sensing module. It runs the spiking neural network algorithm in an event-driven manner, receives the same original pulse sequence input as the sparse sensing module, and adjusts its own computing resource allocation according to the sparsity decision signal. The sparse level computing mode is that the back-end spiking neural network accelerator dynamically configures the activation scale of the internal computing array, the clock gating strategy of the neuron computing unit, and the triggering conditions for synaptic weight updates based on the binary state of the steady-state sparsity decision signal. This provides sufficient computing throughput when pulses are dense and shuts down idle computing units when pulses are sparse, thereby optimizing the overall system energy efficiency.
[0042] The dynamic equilibrium state, as the core response form in step S200, is the amplitude stable fluctuation range that the integrating capacitor device enters under the dual action of continuous pulse excitation and intermittent charge leakage. This state runs through the entire operation process of step S200, and the real-time sensing potential determined by charging and leakage is used as the object of threshold comparison in step S300. It is an intermediate physical quantity connecting pulse density monitoring and threshold decision.
[0043] As a preferred approach, the process of generating a steady-state sparsity decision signal that suppresses pulse edge jitter noise specifically includes the following steps: Step S301: Obtain a first comparison value based on the first comparison result between the real-time sensed potential and the preset low-level threshold, and simultaneously obtain a second comparison value based on the second comparison result between the real-time sensed potential and the preset high-level threshold; Step S302: Perform a first logical AND operation on the second comparison value and the first comparison value to obtain a first intermediate state value; and perform a second logical AND operation on the second comparison value, the first comparison value, and the sparsity decision output flag of the previous time step to obtain a second intermediate state value. Step S303: Perform a logical OR operation between the first intermediate state value and the second intermediate state value to obtain the sparsity decision output flag at the current moment; wherein, when the real-time sensing potential is higher than the preset high-level threshold, since the preset high-level threshold is higher than the preset low-level threshold, both the first comparison value and the second comparison value are high, and the sparsity decision output flag at the current moment is forcibly set to the dense indication state; when the real-time sensing potential is lower than the preset low-level threshold, the sparsity decision output flag at the current moment is forcibly set to the sparse indication state; when the real-time sensing potential is between the preset low-level threshold and the preset high-level threshold, the sparsity decision output flag at the current moment remains in the logical state of the sparsity decision output flag at the previous moment.
[0044] In the embodiments of steps S301-S303, this embodiment achieves noise suppression of pulse edge jitter through a dynamic coupling mechanism of multi-level threshold comparison and logical operation. Specifically, the technical effect is as follows: a window discrimination mechanism for potential intervals is established through dual comparison of high-level and low-level thresholds; a first logical AND operation filters out strongly excited states where the potential simultaneously exceeds both thresholds; a second logical AND operation captures suppressed states where the potential drops through inversion processing; the OR operation of the first and second intermediate state values constitutes a state memory pathway, enabling the sparsity decision output flag to maintain pre-state stability when the potential is between the two thresholds, to force dense indication when the potential exceeds the high threshold to resist positive jitter interference, and to force sparse indication when the potential is below the low threshold to eliminate negative jitter noise. This hybrid decision strategy based on absolute potential comparison and state latching effectively suppresses non-steady-state edge oscillations during neuronal action potential propagation, ensuring the temporal continuity of the sparse perception of the pulse sequence.
[0045] As an example: A level-crossing analog-to-digital converter (LC-ADC) is used as the signal conversion front end. The input of the LC-ADC is connected to the original analog electrophysiological signal, and its output is connected to the charging control terminal of the integrating capacitor and the data input terminal of the back-end spiking neural network accelerator (SNNA accelerator). The LC-ADC triggers sampling output according to the time point when the amplitude change of the input analog signal crosses the preset level reference point. It converts the continuous analog electrophysiological signal into a time-distributed original pulse sequence in a non-fixed sampling rate manner, and outputs the original pulse sequence in parallel to the integrating capacitor and the back-end spiking neural network accelerator, realizing time-domain adaptive compression of signal sampling.
[0046] One end of the integrating capacitor is connected to the output of the pulse acquisition module via a switching device, and the other end is connected to the reference ground. The integrating capacitor responds to the control of each pulse edge in the original pulse sequence, converts the pulse event into a charge accumulation, and outputs the real-time sensing potential Vcap in the form of the potential amplitude at both ends. The attenuation control module consists of a square wave generator and a controlled switch connected in series. The square wave generator outputs a control square wave with an adjustable on / off time ratio. One end of the controlled switch is connected to the charge storage terminal of the integrating capacitor, and the other end is connected to the reference ground via a leakage resistor. The control terminal of the controlled switch is connected to the control square wave output by the square wave generator. This is used to conduct the leakage path in the high-level range of the control square wave and to turn off the leakage path in the low-level range, thereby controlling the rate at which the integrating capacitor releases charge to the reference ground through the leakage path. This allows the integrating capacitor to receive charge replenishment during the pulse injection period and release charge according to a preset attenuation slope during the pulse gap period. Finally, under the combined action of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed in which the real-time sensing potential Vcap changes inversely with the sparseness of the input pulse.
[0047] The dual threshold hysteresis comparator consists of a first comparator (Comparator1, CMP1), a second comparator (Comparator2, CMP2), and two reference voltage sources; The positive input of the first comparator CMP1 is connected to a preset low-level threshold Vref1, and its inverting input is connected to the charge storage terminal of the integrating capacitor. It is used to compare the amplitude of the real-time sensing potential Vcap with the preset low-level threshold Vref1, and output a high-level first comparison signal CMP1 when the real-time sensing potential Vcap is higher than the preset low-level threshold Vref1. The non-inverting input terminal of the second comparator CMP2 is connected to a preset high-level threshold Vref2, and its inverting input terminal is connected to the charge storage terminal of the integrated capacitor, which is used to compare the amplitude of the real-time sensed potential Vcap with the preset high-level threshold Vref2, and output a high-level second comparison signal CMP2 when the real-time sensed potential Vcap is higher than the preset high-level threshold Vref2; The voltage value of the preset high-level threshold Vref2 is higher than that of the preset low-level threshold Vref1, i.e., Vref1<Vref2, and the voltage range between the preset low-level threshold Vref1 and the preset high-level threshold Vref2 constitutes a hysteresis interval.
[0048] The input terminal of the sparse decision logic module is connected to the output terminal of the first comparator CMP1 and the output terminal of the second comparator CMP2, and its output terminal is connected to the mode control terminal of the back-end spiking neural network accelerator; The sparse decision logic module generates the sparsity decision output flag SP_DT at the current time according to the first comparison signal CMP1, the second comparison signal CMP2, and the sparsity decision output flag at the previous time through the hysteresis decision logic; the logical expression of the hysteresis decision logic is: Wherein, CMP1 is the output signal of the first comparator, CMP2 is the output signal of the second comparator, is the sparsity decision output flag at the previous time, is the logical negation of the output signal of the second comparator; The hysteresis decision logic is specifically as follows: when the real-time sensed potential Vcap is higher than the preset high-level threshold Vref2, since Vref2>Vref1, at this time Vcap is necessarily higher than the preset low-level threshold Vref1, i.e., CMP2=1 and CMP1=1, and the sparsity decision output flag SP_DT is set to the dense indication state, i.e., ; when the real-time sensed potential Vcap is lower than the preset low-level threshold Vref1, i.e., CMP2=0 and CMP1=0, the sparsity decision output flag SP_DT is set to the sparse indication state, i.e., ; when the real-time sensed potential Vcap is between the preset low-level threshold Vref1 and the preset high-level threshold Vref2, i.e., CMP2=0 and CMP1=1, the sparsity decision output flag SP_DT is kept unchanged as the logical state of the sparsity decision output flag at the previous time, i.e., , so as to realize the hysteresis comparison characteristic; The sparse decision logic module sends its output sparsity decision flag SP_DT to the mode control terminal of the back-end spiking neural network accelerator to drive the back-end spiking neural network accelerator to switch to the corresponding sparse level computing mode.
[0049] The principle of the pulse sequence dynamic sparse sensing method based on neuronal dynamics provided in this invention embodiment needs to be referred to the appendix. Figure 2 In the appendix Figure 2 In the process, the level-crossing analog-to-digital converter outputs the original pulse sequence, which is then fed in parallel into the sparse sensing module. The sparse sensing module first performs an incremental charge filling operation on the integrating capacitor, with the real-time sensing potential continuously increasing with the pulse arrival frequency. Subsequently, the attenuation control module applies a control square wave, controlling the leakage path with an adjustable on / off ratio to complete charge release and achieve dynamic balance of the real-time sensing potential. During the dynamic balance phase, if the pulse interval shortens, the sensing potential experiences a net increase; if the pulse interval lengthens, the sensing potential experiences a net decrease. The signal after the potential change is sent to a dual-threshold hysteresis comparator for judgment: when the potential rises and crosses the high threshold, it is determined to be a pulse-dense state; when the potential falls and crosses the low threshold, it is determined to be a pulse-sparse state; when the potential is within the hysteresis interval, the current judgment state remains unchanged. The above three judgment results are uniformly output as a steady-state sparsity decision signal, which drives the pulse neural network accelerator, ultimately switching to the calculation mode corresponding to the current sparsity level.
[0050] The core technical problem to be solved by this invention is as follows: First, regarding the issue of the sparsity of the random pulse sequence output by LC-ADC changing in real time with physiological state, how to construct a lightweight, low-latency real-time monitoring mechanism to continuously and accurately capture the density distribution characteristics of the pulse sequence within the current time window.
[0051] Second, considering the inherent instability of physiological signals and the jitter noise introduced by circuit comparators, how to design sensing logic with noise tolerance? That is, how to effectively filter out the jitter interference of pulse edges during the sensing of sparsity changes, avoid frequent misjudgments and oscillations of sparsity states caused by noise, and thus ensure the stability and anti-interference capability of the sensing signal.
[0052] Third, based on the perceived stable sparsity information, how to establish a linkage and control interface between the perception results and the back-end computing modules (especially SNN accelerators)? That is, how to dynamically drive the back-end accelerator to execute a matching computing mode (such as adjusting the neuron activation threshold, computing clock frequency, or array size) according to the current data sparsity level, so as to fundamentally eliminate redundant computing and achieve the optimization of the overall system energy efficiency.
[0053] In the embodiments of steps S100-S300, the original pulse sequence output by the level-crossing analog-to-digital converter is connected in parallel to the integrating capacitor of the sparse sensing module. Incremental charge filling of the integrating capacitor is achieved through pulse edges, causing the potential amplitude to rise with the increase in pulse arrival frequency, forming a real-time sensing potential and realizing dynamic characterization of pulse accumulation density. This achieves continuous quantitative monitoring of pulse sequence density, providing a basic signal for sparsity determination. The attenuation control module applies an adjustable on / off time ratio control square wave to the integrating capacitor, controlling the rate of charge release to the reference ground through the leakage path, causing the real-time sensing potential to attenuate at a preset slope during periods without pulse input. A dynamic balance mechanism between pulse excitation and charge leakage is established, enabling the sensing potential to accurately reflect the temporal sparsity characteristics of the input pulse. When the pulse interval shortens, the potential increases net; when the interval lengthens, the potential decreases net, forming a real-time feedback system for the sparsity of the input pulse. The comparison of the amplitude of the real-time sensing potential with preset high and low level thresholds constitutes a dual-threshold hysteresis decision mechanism. When the potential rises and crosses the high-level threshold, a dense indicator state is output; when it falls and crosses the low-level threshold, a sparse indicator state is output, maintaining the original logic state within the hysteresis interval. This effectively suppresses misjudgments caused by pulse edge jitter and generates a stable sparsity decision signal. The signal-based mode switching drive function enables the backend spiking neural network accelerator to adaptively adjust computational resource allocation, achieving optimal energy efficiency under different sparsity levels.
[0054] In summary, this embodiment achieves real-time dynamic sensing and quantization output of the sparsity of pulse sequences, combining the pulse frequency encoding principle in neuronal dynamics with the dynamic threshold mechanism in electronic circuits to provide accurate input feature representation for spiking neural networks. Through hardware-configurable attenuation control parameters and hysteresis thresholds, the system can adapt to the sparsity detection requirements of different application scenarios, ultimately achieving the energy-saving optimization goal of on-demand allocation of computing resources.
[0055] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0056] The above is an introduction to the method embodiments. The following is a further explanation of the method scheme of the present invention based on the dynamic sparse sensing system of pulse sequence based on neuron dynamics through an embodiment of the pulse sequence dynamic sparse sensing system based on neuron dynamics.
[0057] like Figure 3As shown, this embodiment of the invention provides a pulse sequence dynamic sparse sensing system based on neuronal dynamics, comprising: The sensing potential acquisition module 1 is used to input the original pulse sequence output by the level-crossing analog-to-digital converter into the integrating capacitor inside the sparse sensing module in parallel. The integrating capacitor is filled with incremental charge by each pulse edge, so that the potential amplitude at both ends of the integrating capacitor gradually increases with the increase of the pulse arrival frequency until the real-time sensing potential characterizing the pulse accumulation density is obtained. The equilibrium state acquisition module 2 is used to apply a control square wave with an adjustable on / off time ratio to the integrating capacitor device through the attenuation control module. This controls the rate at which the integrating capacitor device releases charge to the reference ground via the leakage path, causing the real-time sensing potential to fall back at a preset attenuation slope during the gap period without pulse input. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed in which the real-time sensing potential changes inversely with the sparseness of the input pulse. The net increase or decrease of the real-time sensing potential depends on the relative relationship between the charge injection rate and the leakage rate. When the pulse arrival interval is shortened, causing the charge injection rate to be greater than the leakage rate, the real-time sensing potential increases net; when the pulse arrival interval is lengthened, causing the charge injection rate to be less than the leakage rate, the real-time sensing potential decreases net. The decision signal output module 3 is used to compare the amplitude of the real-time sensed potential in dynamic equilibrium state with the preset high-level threshold and the preset low-level threshold respectively. When the real-time sensed potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag is flipped to the dense indication state; when the real-time sensed potential falls from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag is flipped to the sparsity indication state. When the real-time sensed potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag remains unchanged to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise. The steady-state sparsity decision signal drives the back-end spiking neural network accelerator to switch to the corresponding sparsity level computing mode.
[0058] In this embodiment, the sensing potential acquisition module incrementally fills the integrating capacitor with the original pulse sequence output by the level-crossing analog-to-digital converter, causing the potential amplitude at both ends of the integrating capacitor to rise with the increase of pulse arrival frequency, generating a sensing potential that characterizes the pulse accumulation density in real time. The module converts the discrete pulse sequence into a continuous potential signal, providing a basic physical quantity for sparsity quantification. The equilibrium state acquisition module adjusts the charge release rate of the integrating capacitor to the reference ground through the leakage path by controlling the attenuation control module with an adjustable on / off time ratio control square wave, so that the real-time sensing potential decays at a preset slope during the pulse input interval. The module establishes a dynamic balance mechanism between pulse excitation and charge leakage, so that the sensing potential accurately reflects the temporal sparsity characteristics of the input pulse, realizing a dynamic inverse correlation between the potential amplitude and the pulse interval. The decision signal output module uses a dual-threshold hysteresis comparison mechanism to determine the amplitude of the real-time sensing potential in the dynamic equilibrium state. When the potential rises and crosses the high-level threshold, a dense indication state is output; when it falls and crosses the low-level threshold, a sparse indication state is output. The original logic state is maintained within the hysteresis interval. The module suppresses misjudgments caused by pulse edge jitter, generates a steady-state sparsity decision signal, and drives the back-end spiking neural network accelerator to switch the corresponding working mode accordingly.
[0059] In summary, the cascading action of the three modules in this embodiment constitutes a complete pulse sparsity sensing-decision-control link. The potential acquisition module realizes the linear conversion from pulse density to potential, the equilibrium state acquisition module introduces the membrane potential decay characteristics of biological neurons, and the decision signal output module simulates the threshold triggering mechanism of neural synapses. The system as a whole reproduces the neuronal dynamics characteristics through hardware circuitry, realizing real-time quantitative evaluation of the input pulse sparsity and adaptive computational resource scheduling.
[0060] like Figure 4 As shown, the ECG signal sparse sensing and detection circuit includes a level-crossing analog-to-digital converter and a sparse sensing module. The ECG output signal of the level-crossing analog-to-digital converter is divided into two paths: one directly outputs a pulse signal; the other is sent to the sparse sensing module via a gating switch. The sparse sensing module includes an attenuation control unit, an energy storage capacitor, a first comparator, a second comparator, and a sparse decision module. A clock signal is input to the attenuation control unit, generating a capacitor voltage signal on the energy storage capacitor. The first comparator CMP1 compares the capacitor voltage V_cap with a first reference voltage V_ref1, and the second comparator CMP2 compares the capacitor voltage V_cap with a second reference voltage V_ref2. The first reference voltage V_ref1 is a preset low-level threshold, and the second reference voltage V_ref2 is a preset high-level threshold. The level signals output from the two comparators are sent to the sparse decision module, which performs logical judgment on the two signals and outputs a sparse detection signal.
[0061] like Figure 5The diagram shows the corresponding timing waveforms. The upper waveform sequentially shows the ECG waveform, pulse sequence, and direction signal output by the level-crossing analog-to-digital converter. The lower waveform is the internal working waveform of the sparse sensing module. The capacitor voltage dynamically changes with the input ECG signal. The first comparator CMP1 flips when Vcap is higher than Vref1, and the second comparator CMP2 flips when Vcap is higher than Vref2. The sparse decision module generates sparse detection pulses at corresponding times based on the timing states of the two comparator outputs, thereby completing the sparse event detection of ECG characteristic pulses.
[0062] LC-ADC is a level-crossing analog-to-digital converter; CMP1 is the first comparator, compared with the first reference voltage V_ref1; CMP2 is the second comparator, compared with the second reference voltage V_ref2; V_cap is the capacitor voltage; V_ref1 is the first reference voltage, i.e., the preset low-level threshold; V_ref2 is the second reference voltage, i.e., the preset high-level threshold; clk is the clock signal; SP_DT is the sparse detection signal; ECG is the electrocardiogram signal; Spike is the pulse; Dir is the direction signal.
[0063] It is especially suitable for the electrophysiological signal processing front end of wearable devices.
[0064] Figure 6 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present invention is shown.
[0065] The electronic device may include a central processing unit / microprocessor / main control chip 4; and a storage medium 5 coupled to the central processing unit / microprocessor / main control chip 4 and storing computer-executable instructions therein for performing the steps of various methods of embodiments of the present invention when executed by the processor.
[0066] The central processing unit / microprocessor / main control chip 4 may include, but is not limited to, one or more processors or microprocessors.
[0067] Storage medium 5 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, computer storage media (e.g., hard disk, floppy disk, solid-state drive, removable disk, CD-ROM, DVD-ROM, Blu-ray disc, etc.).
[0068] In addition, electronic devices may also include (but are not limited to) a data bus 6, an input / output bus / external bus / device bus 7, a display 8, and input / output devices 9 (e.g., keyboard, mouse, speaker, etc.).
[0069] The central processing unit / microprocessor / main control chip 4 can communicate with external devices (8, 9, etc.) via wired or wireless networks (not shown) through the input / output bus / external bus / device bus 7.
[0070] The storage medium 5 may also store at least one computer-executable instruction for performing the steps of various functions and / or methods in the embodiments described herein when the central processing unit / microprocessor / main control chip 4 is running.
[0071] In one embodiment, at least one computer-executable instruction may also be compiled into or comprise a software product, wherein one or more computer-executable instructions are executed by a processor to perform the steps of the various functions and / or methods in the embodiments described herein.
[0072] Figure 7 A schematic diagram of a computer-readable storage medium according to an embodiment of the present invention is shown.
[0073] like Figure 7 As shown, the non-transitory computer-readable storage medium 11 stores instructions, such as computer-readable instructions 10. When the computer-readable instructions 10 are executed by a processor, the various methods described above can be performed. The non-transitory computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-transitory non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. For example, the non-transitory computer-readable storage medium 11 can be connected to a computing device such as a computer, and then, when the computing device executes the computer-readable instructions 10 stored on the non-transitory computer-readable storage medium 11, the various methods described above can be performed.
[0074] In the embodiments provided by this invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0075] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dynamic sparse sensing method for pulse sequences based on neuronal dynamics, characterized in that, Includes the following steps: The original pulse sequence output from the level-crossing analog-to-digital converter is fed in parallel into the integrating capacitor inside the sparse sensing module to obtain a real-time sensing potential characterizing the pulse accumulation density. By applying a control square wave with an adjustable on / off time ratio to the integrating capacitor through the attenuation control module, a dynamic equilibrium state is formed in which the real-time sensing potential changes in the opposite direction to the sparseness of the input pulse. The amplitude of the real-time sensing potential in dynamic equilibrium state is compared with the preset high-level threshold and the preset low-level threshold respectively. When the real-time sensing potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag is flipped to the dense indication state. When the real-time sensing potential drops from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag is flipped to the sparsity indication state. When the real-time sensing potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag remains unchanged, so as to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise.
2. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, By incrementally filling the integrating capacitor with each pulse edge, the potential amplitude across the integrating capacitor gradually increases with the increase of the pulse arrival frequency, thereby obtaining a real-time sensing potential.
3. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, By controlling the rate at which the integrating capacitor releases charge to the reference ground through the leakage path, the real-time sensing potential is made to fall back at a preset decay slope during the gap period when there is no pulse input. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed in which the real-time sensing potential changes in the opposite direction to the sparseness of the input pulse.
4. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 3, characterized in that, When the pulse arrival interval is shortened, the real-time sensing potential net increase is when the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to the initial value by the leakage path. The amount of charge injected by each new pulse exceeds the amount of charge leaked during the interval between two pulses, so that the sensing potential shows a net increase state of gradual climbing in the overall trend. The net decrease in real-time sensing potential when the pulse arrival interval is extended is when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level due to leakage. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval, resulting in a net decrease in the sensing potential in an overall trend.
5. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, The attenuation control module is an active control circuit unit coupled to the integrating capacitor device. It generates a control square wave with a time duty cycle to actively adjust the release rate of the charge stored in the integrating capacitor device, so as to achieve the control of the dynamic change range of the sensed potential. The control square wave with adjustable on / off time ratio is a periodic rectangular wave signal output by the attenuation control module. The square wave contains an on time period and an off time period within one cycle. By adjusting the ratio of the on time to the off time, the average on time of the leakage path is changed, thereby controlling the leakage rate.
6. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, The process of forming a dynamic equilibrium state in which the real-time sensed potential changes inversely with the sparsity of the input pulse includes the following steps: When each pulse edge of the original pulse sequence arrives, a quantitative charge injection is performed on the integrating capacitor through a switching device, so that the potential at both ends of the integrating capacitor is raised by a fixed amplitude step. At the same time, during the gap between two adjacent pulses, a control square wave with an adjustable duty cycle output by the attenuation control module conducts the leakage path, so that the integrating capacitor releases charge to the reference ground through the leakage path, thus obtaining an alternating charge and discharge response process in which the potential rises stepwise during the pulse injection period and the potential decreases exponentially during the pulse gap period. During the alternating charge-discharge response, when the pulse arrival interval shortens, the cumulative value of the charge injected by each pulse exceeds the cumulative value of the charge leaked during the adjacent gap period, making the net change in potential across the integrating capacitor positive; when the pulse arrival interval lengthens, the cumulative value of the charge injected by each pulse is less than the cumulative value of the charge leaked during the adjacent gap period, making the net change in potential across the integrating capacitor negative. A dynamic equilibrium state is obtained in which the potential across the integrating capacitor increases net as the pulse arrival interval shortens and decreases net as the pulse arrival interval lengthens.
7. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, The process of generating a steady-state sparsity decision signal that suppresses pulse edge jitter noise includes the following steps: A first comparison value is obtained based on a first comparison result between the real-time sensed potential and a preset low-level threshold, and a second comparison value is obtained based on a second comparison result between the real-time sensed potential and a preset high-level threshold. The first intermediate state value is obtained by performing a first logical AND operation between the second comparison value and the first comparison value, and the second intermediate state value is obtained by performing a second logical AND operation between the second comparison value, the first comparison value, and the sparsity decision output flag of the previous time step. Perform a logical OR operation between the first intermediate state value and the second intermediate state value to obtain the sparsity decision output flag at the current time.
8. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 7, characterized in that, in, When the real-time sensing potential is higher than the preset high-level threshold, since the preset high-level threshold is higher than the preset low-level threshold, both the first comparison value and the second comparison value are high, and the sparsity decision output flag at the current moment is forced to be set to the dense indication state; when the real-time sensing potential is lower than the preset low-level threshold, the sparsity decision output flag at the current moment is forced to be set to the sparse indication state; when the real-time sensing potential is between the preset low-level threshold and the preset high-level threshold, the sparsity decision output flag at the current moment remains in the logic state of the sparsity decision output flag at the previous moment.
9. The pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in claim 1, characterized in that, The steady-state sparsity decision signal drives the back-end spiking neural network accelerator to switch to the corresponding sparsity level computing mode.
10. A pulse sequence dynamic sparse sensing system based on neuronal dynamics, used to implement the pulse sequence dynamic sparse sensing method based on neuronal dynamics as described in any one of claims 1 to 9, characterized in that, include: The sensing potential acquisition module is used to input the original pulse sequence output by the level-crossing analog-to-digital converter into the integrating capacitor inside the sparse sensing module in parallel. The integrating capacitor is filled with incremental charge by each pulse edge, so that the potential amplitude at both ends of the integrating capacitor gradually increases with the increase of the pulse arrival frequency until the real-time sensing potential characterizing the pulse accumulation density is obtained. The equilibrium state acquisition module applies a control square wave with an adjustable on / off time ratio to the integrating capacitor via the attenuation control module. This controls the rate at which the integrating capacitor releases charge to the reference ground through the leakage path, causing the real-time sensing potential to fall back at a preset attenuation slope during the pulse-free input interval. Under the combined effect of continuous pulse excitation and intermittent leakage, a dynamic equilibrium state is formed where the real-time sensing potential changes inversely with the sparseness of the input pulses. Specifically, the net increase in real-time sensing potential when the pulse arrival interval shortens occurs when the time interval between adjacent pulses in the original pulse sequence is less than the time required for the sensing potential to recover to its initial value through the leakage path. In this case, the amount of charge injected by each new pulse exceeds the amount of charge leaked during the interval between two pulses, resulting in a net increase in the sensing potential with a gradual upward trend. Conversely, the net decrease in real-time sensing potential when the pulse arrival interval lengthens occurs when the time interval between adjacent pulses in the original pulse sequence is greater than the time required for the sensing potential to drop to a lower level through the leakage path. In this case, the amount of charge injected by each pulse is insufficient to compensate for the amount of charge leaked during the long interval, resulting in a net decrease in the sensing potential with a gradual downward trend. The decision signal output module compares the amplitude of the real-time sensed potential in a dynamic equilibrium state with preset high-level thresholds and preset low-level thresholds. When the real-time sensed potential rises from the low-level region and crosses the preset high-level threshold, the sparsity decision output flag flips to the dense indication state; when the real-time sensed potential falls from the high-level region and crosses the preset low-level threshold, the sparsity decision output flag flips to the sparsity indication state. When the real-time sensed potential is within the hysteresis interval between the preset low-level threshold and the preset high-level threshold, the existing logic state of the sparsity decision output flag remains unchanged to generate a steady-state sparsity decision signal that suppresses pulse edge jitter noise. Based on the steady-state sparsity decision signal, the module drives the back-end spiking neural network accelerator to switch to the corresponding sparsity level computing mode.
