Detection circuit, integrated circuit, brain-computer interface chip and electronic device

By designing a brain-computer interface with multi-channel shared DAC and adaptive clock control, the problems of excessive power consumption and area in high-channel-count recording are solved, achieving efficient neural signal acquisition and data synchronization, and meeting the needs of high-precision neural signal recording.

CN123177653APending Publication Date: 2026-11-27SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510734325.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-05-26
Filing Date
2025-06-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing brain-computer interface technologies face challenges in clinical applications, such as difficulty in achieving high-channel-count recording requirements, excessive power consumption, and large area requirements, making it difficult to meet the needs of high-precision neural signal recording.

Method used

A multi-channel shared DAC design is adopted, which combines adaptive clock control and pulse modulation technology. Signal amplitude encoding is achieved through comparator array to reduce power consumption. Data compression and synchronization are achieved through event-driven and segmentation methods to solve the problems of multi-channel expansion and data integrity.

Benefits of technology

It achieves a low-power, low-area design for a high-density, high-channel-count brain-computer interface, improving data conversion efficiency and signal integrity, and breaking through the technical bottlenecks of traditional designs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177653A_ABST
    Figure CN123177653A_ABST
Patent Text Reader

Abstract

The application relates to an integrated circuit, and provides a detection circuit, an integrated circuit, a brain-computer interface chip and an electronic device. The detection circuit comprises a plurality of detection channels, a signal generation circuit for generating a reference signal and a storage circuit. A first input end of a comparison circuit is connected with the signal generation circuit, a second input end of the comparison circuit is used for connecting a detection signal, the comparison circuit is used for comparing the detection signal with the reference signal and outputting a comparison level; a pulse generation circuit is connected with an output end of the comparison circuit and is used for generating a record enable pulse when the comparison level is reversed; and the storage circuit is connected with the signal generation circuit and each detection channel and is used for recording a value of the reference signal currently output by the signal generation circuit according to the record enable pulse. The plurality of detection channels share one signal generation circuit, so that the circuit area and power consumption are reduced, and the cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic circuit technology, and in particular relates to a detection circuit, integrated circuit, brain-computer interface chip and electronic device. Background Technology

[0002] Brain-computer interface (BCI) technology, as an emerging neurotechnology, is one of the most active research directions in the field of neural engineering. It enables interaction with external devices by directly reading brain signals, providing novel solutions for the diagnosis, treatment, and rehabilitation of brain dysfunction. However, existing BCI technologies still face many challenges in clinical applications. First, the complexity and dynamics of the nervous system require higher spatial and temporal resolution to accurately capture the details of neural activity. Current low-density, low-channel-count systems struggle to meet this need and cannot achieve comprehensive monitoring of complex neural networks. Second, high-channel-count recording not only provides richer information on neural activity but also significantly improves the ability to interpret neural signals, thus supporting more accurate diagnosis and more effective treatment. Therefore, high-throughput and high-density BCIs will provide better technical means for studying, restoring, and enhancing nervous system function. These interfaces can simultaneously record the activity of a large number of neurons at single-cell resolution, revealing complex interactions and collaborative behaviors between neurons. Therefore, to meet the clinical demand for high-precision neural signal recording, developing next-generation BCIs with high density and high channel counts has become an urgent priority. Summary of the Invention

[0003] The purpose of this application is to provide a detection circuit, integrated circuit, brain-computer interface chip and electronic device, which aims to solve the problems of traditional brain-computer interface circuits being complex, large in area and high in power consumption.

[0004] A first aspect of this application provides a detection circuit, including multiple detection channels, a signal generation circuit for generating continuously changing reference signals, and a storage circuit, wherein each detection channel includes a comparison circuit and a pulse generation circuit;

[0005] The first input terminal of the comparison circuit is connected to the signal generation circuit, the second input terminal of the comparison circuit is used to receive the detection signal, the comparison circuit is used to compare the detection signal with the reference signal and output a comparison level; the pulse generation circuit is connected to the output terminal of the comparison circuit and is used to generate a recording enable pulse when the comparison level flips.

[0006] The storage circuit is connected to the signal generation circuit and each of the detection channels, and is used to record the value of the reference signal currently output by the signal generation circuit according to the recording enable pulse.

[0007] In an optional embodiment, the comparison circuit is configured to output a first level when the detected signal is greater than or equal to the reference signal, and to output a second level when the detected signal is less than the reference signal. The comparison level includes the first level and the second level, and the comparison level is flipped from the first level to the second level.

[0008] In an optional embodiment, each detection channel further includes a clock control circuit connected to the comparison circuit. The clock control circuit is configured to output a de-enable signal based on a clock signal when the comparison level flips or when the comparison circuit receives a detection signal that is lower than the lower limit of the reference signal. The de-enable signal is used to enable the comparison circuit to shut down.

[0009] In an optional embodiment, the clock control circuit is further configured to output an enable signal at the beginning of each detection cycle, the enable signal being used to enable the comparator circuit to start.

[0010] In an optional embodiment, each detection channel further includes a sampling circuit, the input of which is connected to a detection electrode, and the output of which is connected to a second input of the comparison circuit. The sampling circuit is used to amplify and / or filter the sensing electrical signal of the detection electrode and then output the detection signal.

[0011] In an optional embodiment, the sampling circuit includes a differential amplifier circuit, the two input terminals of which are respectively connected to the two detection electrodes, and the two output terminals of the differential amplifier circuit are connected to the two second input terminals of the comparator circuit.

[0012] In an optional embodiment, the reference signal is a periodically changing electrical signal, and the electrical signal changes continuously within each cycle.

[0013] In an optional embodiment, the reference signal is a periodic ramp signal.

[0014] In an optional embodiment, the storage circuit includes a plurality of encoders and a memory. The plurality of encoders are connected one-to-one with the plurality of detection channels. The plurality of encoders are connected to the signal generation circuit and the memory respectively. Each encoder is used to independently encode the value of the reference signal currently output by the signal generation circuit according to the recording enable pulse to obtain the corresponding channel data, and output the corresponding channel data to the memory for storage.

[0015] In an optional embodiment, the plurality of detection channels are divided into multiple portions, each portion of the detection channels including a portion of the detection channels, and the memory includes:

[0016] Multiple storage areas, each of which is connected to a portion of the detection channels, are used to store channel data corresponding to that portion of the detection channels and form data frames, wherein the channel data is set with a storage area address;

[0017] A storage unit, connected to each of the storage areas, is used to store the data of each of the storage areas.

[0018] A second aspect of this application provides an integrated circuit including the detection circuit described above.

[0019] A third aspect of this application provides a brain-computer interface chip, including the detection circuit described above.

[0020] A fourth aspect of this application provides an electronic device including a detection electrode and a detection circuit as described above.

[0021] Compared with the prior art, the embodiments of this application have at least the following advantages: The detection circuit includes multiple detection channels, a signal generation circuit for generating a reference signal, and a storage circuit. The first input terminal of the comparison circuit is connected to the signal generation circuit, and the second input terminal of the comparison circuit is used to receive the detection signal. The comparison circuit is used to compare the detection signal with the reference signal and output a comparison level. The pulse generation circuit is connected to the output terminal of the comparison circuit and is used to generate a recording enable pulse when the comparison level flips. The storage circuit is connected to the signal generation circuit and each detection channel and is used to record the value of the reference signal currently output by the signal generation circuit according to the recording enable pulse. Multiple detection channels reuse a single signal generation circuit, reducing circuit area and power consumption, while saving costs.

[0022] Furthermore, each detection channel of the detection circuit is also equipped with a clock control circuit. The clock control circuit is used to control the comparison circuit to turn off when the comparison level flips, thereby reducing the power consumption of the comparison circuit. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of the detection circuit provided in one embodiment of this application;

[0024] Figure 2 A circuit diagram of the detection channel in a detection circuit provided in an embodiment of this application;

[0025] Figure 3 The signal transmission waveform of a detection channel in a detection circuit provided in an embodiment of this application, in relation to a signal generation circuit and a storage circuit;

[0026] Figure 4 A circuit diagram of the detection channel in a detection circuit provided in an embodiment of this application;

[0027] Figure 5 This is a schematic diagram of the storage circuit in a detection circuit provided in an embodiment of this application;

[0028] Figure 6 The signal transmission waveform of the detection channel, signal generation circuit, and storage circuit in the detection circuit provided in one embodiment of this application;

[0029] Figure 7 The detection circuit provided in this application embodiment is compared with the data rate generated by a conventional ADC at different event occurrence frequencies. Detailed Implementation

[0030] To make the technical problems, technical solutions, and beneficial effects to be solved by this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this application.

[0031] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly on or indirectly on that other component. When a component is referred to as being "connected to" another component, it can be directly connected to or indirectly connected to that other component.

[0032] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0033] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, and "several" means one or more, unless otherwise explicitly specified.

[0034] High-density, high-channel-count brain-computer interfaces rely heavily on high-density electrode arrays and high-throughput brain-computer interface chips. In recent years, with the rapid development of materials science, research on high-density electrode arrays has made leaps and bounds, with several studies having developed electrodes with thousands of channels. However, in the field of chips, the rate of increase in the number of neurons that a single chip can simultaneously record is relatively slow; to date, most chips still record fewer than a thousand. To advance the development of brain-computer interfaces, future brain-computer interface chips must support the simultaneous recording of thousands or even more neurons while operating within the size and power consumption budget of a fully implantable device.

[0035] Recently, specific needs for clinical brain-computer interfaces (BCIs) have been emerging, such as focusing solely on the recording of action potentials. This presents an opportunity for a paradigm shift in BCI chip architecture. New designs can increase the number of channels while reducing the area and power consumption per channel. However, meeting these needs requires overcoming numerous design challenges:

[0036] 1) High data rate: With the increase in the number of channels (N) 2 As the number of channels increases, the system's data rate requirements rise rapidly. For example, if 1024 channels are sampled at 10-bit resolution and 20kS / s, the data rate will reach 204.8Mb / s. Although on-chip action potential spike detection can compress the raw data by transmitting only the data around the spike, this introduces significant threshold management overhead and buffer memory requirements.

[0037] 2) Power consumption limitations: Most high-density neural recording chips consume more than 10 μW per channel, while the power consumption budget for practical wirelessly powered biomedical implants is usually less than 10 mW.

[0038] 3) Excessively large channel area: Currently existing channel areas are typically larger than 0.004 mm. 2 This is still too large for achieving single-cell resolution interfaces in most areas of the nervous system.

[0039] To address the clinical need for simultaneous recording of more neuronal signals, the brain-computer interface chip field has adopted the following methods in recent years to achieve this goal:

[0040] 1) Event-Driven ADC: The action potential signals of nerve cells are characterized by suddenness and a relatively long resting period; such signals are called highly sparse signals. Event-driven analog-to-digital converters (ADCs), also known as level-crossing ADCs (LCADCs), operate on the principle of sampling and processing only when the signal exhibits sufficient activity, i.e., only when the signal crosses a predefined threshold (…). Figure 3Sampling is performed at V0 (as shown). This design effectively alleviates the power consumption waste problem in traditional fixed-rate sampling schemes, significantly reducing system power consumption by reducing the amount of data that needs to be processed and transmitted. However, due to the asynchronous nature of LCADCs, integrating them with conventional clock-driven discrete-time (DT) digital signal processors (DSPs) is not directly feasible; retiming is required to synchronize the ADC with the clock system interface, which to some extent offsets its advantages. Furthermore, this type of ADC presents significant challenges in multi-channel expansion, requiring a separate ADC for each channel, which undoubtedly increases power consumption.

[0041] 2) Wired-OR Data Compression Method: A Wired-OR data compression method is proposed to achieve high-density and high-channel-count recording arrays for future single-cell resolution BCIs. The 1024-channel array consists of active digital pixels (ADPs) based on pulse-position modulation (PPM) and employs a global single-slope (SS) A / D conversion scheme, significantly reducing pixel design complexity and size. The PPM output is read out from outside the array via a single wire, thereby significantly reducing array wiring congestion and readout power consumption. This method compresses a large amount of data from a large array during A / D conversion, solving the data overflow problem and significantly reducing data movement. Since compression occurs during A / D conversion and does not require spike detection, the readout chain has no significant data movement or spike detection overhead. Therefore, this analog-to-digital compression architecture enables simultaneous recording in large-scale micro-electrode arrays (MEAs) while solving the data overflow problem. However, a significant drawback of this study is that when the signals from two channels are close at the same time, the system defaults to treating it as a collision and discards it. In reality, however, spike signals from adjacent channels may also be close at the same time. Simply discarding them would result in the loss of valid signals. Therefore, this method loses valid data and sacrifices data integrity when handling collision events.

[0042] In summary, existing methods primarily focus on three main technical approaches: increasing channel density, optimizing power consumption, and reducing data rates. However, when scaling to over a thousand channels, current solutions generally encounter mutually exclusive constraints on multiple objective parameters such as signal fidelity, system energy efficiency, and chip area. This has become a core technical barrier restricting the clinical application of implantable brain-computer interfaces (BCIs). To meet the demands of next-generation clinical applications for BCIs, the design of BCI chips needs to comprehensively consider multiple objective parameters, including data compression efficiency, power consumption, area, multi-channel expansion, and data integrity.

[0043] This application provides an optimization scheme for the above-mentioned multi-objective parameters, proposes an ADC design for high-throughput neural signal high-efficiency detection, and a method for converting event streams into data streams, providing a brain-computer interface chip design method that can be applied to brain-computer interface systems with more than a thousand channels.

[0044] The inventive concept of this application mainly includes two basic elements:

[0045] (1) Design of a high-efficiency acquisition pulse modulation ADC:

[0046] First, a multi-channel shared DAC is used to implement pulse encoding of signal amplitude through a comparator array, which avoids the area overhead caused by using a capacitor array and solves the timing alignment problem of multiple channels through a synchronous clock. Second, an adaptive clock controller is designed to dynamically adjust the working state based on the comparator output, so that channels without events are immediately turned off and event-triggered channels automatically go into sleep mode after completing the conversion, which significantly reduces the dynamic power consumption of the comparator. Finally, combined with the sparse characteristics of neural signals, the event-driven characteristics of pulse modulation are used to achieve data compression and improve the efficiency of effective information conversion.

[0047] (2) Efficient conversion from event stream to data stream:

[0048] First, a channel-independent encoder is designed to synchronize asynchronous events and resolve conflicts that arise when events are triggered simultaneously from different channels. This ensures that all event conflicts are recorded, thus solving the problem of effective data loss in Wired-OR data compression. Second, a segmented event aggregation method is proposed, establishing a hybrid address encoding protocol based on segment division. This reduces address encoding overhead and improves address encoding efficiency through a segmented address sharing mechanism. Finally, an event-driven frame structure is designed, employing a two-level FIFO (First-In-First-Out) buffer architecture to achieve ordered assembly and priority scheduling of segmented data packets.

[0049] Please see Figure 1 , Figure 2 and Figure 3 One embodiment of this application provides a detection circuit, including multiple detection channels 10, a signal generation circuit 20 for generating a continuously changing reference signal Gout, and a storage circuit 30. Each detection channel 10 includes a comparison circuit 101 and a pulse generation circuit 102. Figure 2 The diagram shown is a structural schematic of a detection channel 10 (e.g., the first detection channel). Figure 3 The diagram also shows the signal transmission waveform between the detection channel 10, the signal generation circuit 20, and the storage circuit 30.

[0050] The first input terminal of the comparator circuit 101 is connected to the signal generation circuit 20, and the second input terminal of the comparator circuit 101 is used to input the detection signal V1. The comparator circuit 101 is used to compare the detection chip with the reference signal Gout and output the comparison level Fs1. The pulse generation circuit 102 is connected to the output terminal of the comparator circuit 101 and is used to generate a recording enable pulse C1 when the comparison level Fs1 flips (taking the output of one detection channel 10 as an example). The storage circuit 30 is connected to the signal generation circuit 20 and each detection channel 10 and is used to record the value D1 of the reference signal Gout currently output by the signal generation circuit 20 according to the recording enable pulse C1 (taking the detection data of one detection channel 10 as an example).

[0051] in, Figure 2 The reference signal Gout output from the pulse generation circuit 102 to the comparison circuit 101 and the storage circuit 30 can be considered as two outputs of the same signal. Figure 3 The waveform V (the reference signal output to the comparator circuit 101) and the waveform Gout can be considered as different representations of the analog and digital signals of the reference signal Gout.

[0052] The second input terminal of the comparator circuit 101 is used to connect the detection electrode 200 to receive the detection signal V1. The pulse generation circuit 102 generates a continuously changing reference signal Gout, which provides a continuously changing detection signal threshold. The detection signal V1 usually does not fluctuate much over a period of time (e.g., within a detection cycle). Therefore, the comparator circuit 101 of each detection channel 10 can connect to (i.e., multiplex) the reference signal Gout generated by the signal generation circuit 20 and compare it with the detection signal V1. When the detection signal V1 passes through (i.e., is greater than or less than) the reference signal Gout, the current value D1 of the detection signal V1 can be determined based on the current value of the reference signal Gout. The two can be considered equal or differ by a fixed value. At this time, the comparison level Fs1 output by the comparison circuit 101 flips. Therefore, the pulse generation circuit 102 generates a recording enable pulse C1 according to the flip of the comparison level Fs1, so as to enable the storage circuit 30 to record the value D1 of the reference signal Gout output by the signal generation circuit 20 at the current time (i.e., the time when the comparison level Fs1 flips or the recording enable pulse C1 is generated). In this way, the acquisition and recording of the specific (voltage / current) value D1 of the detection signal V1 can be realized.

[0053] It is understood that the pulse generation circuit 102 can be configured to trigger the output recording enable pulse C1 by a fixed edge signal or level signal. For example, the fixed edge signal or level signal is: when the comparator circuit 101 receives a detection signal V1 that is higher than the current value of the reference signal Gout, it will switch to a detection signal V1 that is lower than the current value of the reference signal Gout. At this time, the output level of the comparator circuit 101 will switch, and the output edge signal or level signal can trigger the output recording enable pulse C1.

[0054] In the technical solution of this application embodiment, multiple detection channels 10 can reuse a single signal generation circuit 20, eliminating the need to deploy a separate signal generation circuit 20 for each detection channel 10. This greatly reduces the circuit area, simplifies the circuit, and reduces power consumption.

[0055] In some embodiments, the signal generation circuit 20 includes, for example, a digital-to-analog converter (DAC) that outputs a continuously and periodically varying reference signal Gout, driven by a clock signal Fclk. The pulse generation circuit 102 includes, for example, a pulse generator that is triggered by a falling edge or a low level.

[0056] Please see Figure 3 In some embodiments, the comparator circuit 101 is configured to output a first level when the detection signal V1 is greater than or equal to the reference signal Gout, and to output a second level when the detection signal V1 is less than the reference signal Gout. The comparison level Fs1 includes both the first and second levels, and the comparison level Fs1 flips from the first level to the second level. For example, the first level is high, and the second level is low. Therefore, the pulse generation circuit 102 can be configured to output recording enable pulses C1 to Cn triggered by a falling edge or level.

[0057] Please see Figure 3 In some embodiments, the reference signal Gout is a periodically changing electrical signal that changes continuously within each cycle. It is understood that this cycle is both the detection cycle of the detection circuit and the operating cycle of the comparator circuit 101. For example, the detection cycle is more than 256 times the cycle of the clock signal Fclk. For example, the reference signal Gout is a periodic ramp signal that gradually increases from a predefined threshold (i.e., the lower limit) V0 within each detection cycle, thereby providing a gradually increasing detection signal threshold. In other embodiments, the reference signal Gout is other periodic waveforms, such as triangular waves, square waves, sine waves, or wavy waves, depending on the application scenario requirements.

[0058] Please see Figure 4In some embodiments, each detection channel 10 further includes a clock control circuit 103 connected to a comparator circuit 101. The clock control circuit 103 outputs a de-enable signal based on a clock signal Fclk when the comparison level Fs1 flips or when it receives a detection signal V1 that is below the lower limit V0 of the reference signal Gout. The de-enable signal enables the comparator circuit 101 to shut down. It is understood that when the comparator circuit 101 receives a detection signal V1 below the lower limit V0 of the reference signal Gout, it outputs a second level. At this time, the detection signal V1 can be considered invalid, or the detected object can be considered to be in a dormant state with low excitation or no excitation, and the fluctuation of the detectable sensing electrical signal is below the threshold. Furthermore, as mentioned above, the flipping of the comparison level Fs1 indicates that the detection result (i.e., the value D1) has been recorded. Therefore, to save power, the de-enable signal is output to shut down the comparator circuit 101.

[0059] Overall, the clock control circuit 103 is designed for low power consumption based on the state of the object being detected. Based on the output of the comparator circuit 101, its working state is dynamically adjusted so that the detection channel 10 is immediately shut down when there is no event (an event is a valid sensing electrical signal or a detection signal V1 that is greater than the lower limit value V0 of the reference signal Gout). The detection channel 10 that is triggered by an event automatically goes into sleep mode after the detection is completed, which significantly reduces the power consumption generated by the comparator circuit 101.

[0060] In some embodiments, the clock control circuit 103 is further configured to output an enable signal at the beginning of each detection cycle based on the clock signal Fclk. The enable signal is used to enable the comparator circuit 101 to start. It is understood that the beginning of each detection cycle includes the moment the entire device is powered on. The comparator circuit 101 is enabled by the clock control circuit 103 at the beginning of each detection cycle. When the output level of the comparator circuit 101 flips, the clock control circuit 103 generates a de-enable signal to turn it off. Detection channels 10 that have not generated any events during the detection cycle are immediately turned off, which can significantly reduce the power consumption of the comparator circuit 101. For example, the detection cycle is more than 256 times the period of the clock signal Fclk.

[0061] Please see Figure 4 In some embodiments, each detection channel 10 further includes a sampling circuit 104. The input terminal of the sampling circuit 104 is connected to the detection electrode 200, and the output terminal of the sampling circuit 104 is connected to the second input terminal of the comparison circuit 101. The sampling circuit 104 is used to amplify and / or filter the sensing electrical signal from the detection electrode 200 and then output a detection signal V1. The sampling circuit 104 is used to preprocess the sensing electrical signal so that the comparison circuit 101 can recognize it.

[0062] Please see Figure 4 In some embodiments, the sampling circuit 104 includes a differential amplifier circuit. The two input terminals of the differential amplifier circuit are respectively connected to the two detection electrodes 200, and the two output terminals of the differential amplifier circuit are connected to the two second input terminals of the comparator circuit 101. Using a dual-output differential amplifier circuit is beneficial for improving the comparison accuracy and reliability of the comparator circuit 101. Therefore, in some embodiments, the comparator circuit 101 includes a dual differential input comparator, and the reference signal Gout input from the signal generation circuit to the comparator circuit 101 is also a differential signal. In an alternative embodiment, the sampling circuit 104 can use an output differential amplifier circuit, in which case the reference signal Gout input from the signal generation circuit to the comparator circuit 101 is a single-channel signal.

[0063] Please see Figure 5 and Figure 6 In some embodiments, the storage circuit 30 includes multiple encoders 31 and a memory 32. Each encoder 31 is connected to a corresponding detection channel 10, and each encoder 31 is connected to the signal generation circuit 20 and the memory 32. Each encoder 31 independently encodes the values ​​D1 to Dn of the reference signal Gout currently output by the signal generation circuit 20 according to the recording enable pulses C1 to Cn to obtain the corresponding channel data DATA1 to DATAn, and outputs the corresponding channel data DATA1 to DATAn to the memory 32 for storage. Then, the channel data DATA1 to DATAn generated by all detection channels 10 are independently encoded, and the channel address and data are recorded. This process can realize the synchronization of asynchronous events within a period.

[0064] Please see Figure 5 and Figure 6 In some embodiments, the multiple detection channels 10 are divided into multiple parts, and each part of the detection channels 10 includes at least one detection channel. The memory 32 includes multiple storage areas 321 and storage units 322.

[0065] Each storage area 321 is connected to a portion of the detection channels 10, used to store the channel data DATA1~DATAn corresponding to that portion of the detection channels 10 and form a data frame. The channel data DATA1~DATAn sets the area address. The storage unit 322 is connected to each storage area 321 and is used to store the data of each storage area 321. For example, 16 detection channels 10 correspond to one storage area 321, or 32 detection channels 10 correspond to one storage area 321.

[0066] Thus, by designing a spatiotemporal hybrid coding protocol, asynchronous events are synchronized, and events within the detection period are aggregated, efficiently transforming the event stream into a data stream. The main structure consists of two parts: each detection channel 10 is equipped with an independent parallel encoder 31, followed by a two-level storage buffer architecture, with both levels of storage being FIFO (First In First Out) memories.

[0067] First, the detection channel 10 is divided into segments. Then, the channel data DATA1 to DATAn within each segment that generates events are independently encoded, recording the channel address and data. This process enables the synchronization of asynchronous events within the detection cycle. Simultaneously, each storage segment 321 is assigned a segment address, and the channel data DATA1 to DATAn are shown in Table 1 below. The channel data DATA1 to DATAn within the same detection cycle of each storage segment 321 are combined into a single data frame. The data from each storage segment 321 is then stored in the final storage unit 322. In this process, the aggregation of events within the storage segment 321 is achieved through segmentation, reducing the amount of data encoded by channel addresses and improving data encoding efficiency. Furthermore, this method allows for easy channel expansion; 1024 channels or even more can be expanded using the same sampling method.

[0068] Table 1:

[0069] Address of passageway within the area data Area address identification code Area Address 4-digit number 8-digit number 6-digit 6-digit

[0070] One embodiment of this application also provides an integrated circuit including the detection circuit of any of the above embodiments.

[0071] One embodiment of this application also provides a brain-computer interface chip, including the detection circuit of any of the above embodiments.

[0072] One embodiment of this application also provides an electronic device, which further includes a detection electrode 200 and a detection circuit or integrated circuit as described in any of the above embodiments.

[0073] The technical solution provided in this application embodiment constructs a new pulse modulation ADC with detection channels 10, and achieves event-driven dynamic power consumption control. Specifically, multiple detection channels 10 share a DAC to resolve the area-efficiency contradiction; and power consumption is addressed through dynamic power consumption adjustment of the event-driven comparator. The strategy proposed in this application embodiment will provide new methods and technologies for overcoming the "power consumption-area-efficiency" triangle dilemma in ultra-high throughput neural signal acquisition.

[0074] The technical solution provided in this application also achieves synchronization of asynchronous events within the detection period through an independent parallel encoder 31, enabling synchronous recording of conflicting events and resolving the contradiction between signal synchronization and signal integrity. Simultaneously, by dividing storage areas 321 and aggregating encoding, it achieves area address sharing and local address bit-field compression, solving the data compression efficiency problem. The method proposed in this application will provide a "high-fidelity-low-latency-scalable" data flow conversion framework for ultra-high-throughput brain-computer interface chips, breaking through the technical bottleneck that high-energy-efficiency architecture and high-quality data transmission are mutually exclusive.

[0075] When the technical solution provided in this application is applied to a brain-computer interface chip, theoretical calculations and derivations are used to compare the data rate of the technical solution provided in this application with that of a traditional ADC under different event frequencies. Figure 7 As shown. However, the ratio of the time of action potential occurrence to the resting state time of neural signals is between 1:10 and 1:100. Therefore, at this frequency of event occurrence, the technical solution provided in this application can greatly reduce the data rate while ensuring low power consumption and small area.

[0076] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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 this application, and should all be included within the protection scope of this application.

Claims

1. A detection circuit, characterized in that, It includes multiple detection channels, a signal generation circuit for generating a continuously changing reference signal, and a storage circuit. Each detection channel includes a comparison circuit and a pulse generation circuit. The first input terminal of the comparison circuit is connected to the signal generation circuit, the second input terminal of the comparison circuit is used to receive the detection signal, and the comparison circuit is used to compare the detection signal with the reference signal and output a comparison level. The pulse generation circuit is connected to the output terminal of the comparison circuit and is used to generate a recording enable pulse when the comparison level flips. The storage circuit is connected to the signal generation circuit and each of the detection channels, and is used to record the value of the reference signal currently output by the signal generation circuit according to the recording enable pulse.

2. The detection circuit as described in claim 1, characterized in that, The comparison circuit is used to output a first level when the detected signal is greater than or equal to the reference signal, and to output a second level when the detected signal is less than the reference signal. The comparison level includes the first level and the second level, and the comparison level is flipped from the first level to the second level.

3. The detection circuit as described in claim 1 or 2, characterized in that, Each of the detection channels further includes a clock control circuit connected to the comparison circuit. The clock control circuit is configured to output a de-enable signal based on a clock signal when the comparison level flips or when the comparison circuit receives a detection signal that is lower than the lower limit of the reference signal. The de-enable signal is used to enable the comparison circuit to turn off.

4. The detection circuit as described in claim 3, characterized in that, The clock control circuit is also configured to output an enable signal at the beginning of each detection cycle based on the clock signal, the enable signal being used to enable the comparison circuit to start.

5. The detection circuit as described in claim 1, characterized in that, Each of the detection channels further includes a sampling circuit, the input of which is connected to the detection electrode, and the output of which is connected to the second input of the comparison circuit. The sampling circuit is used to amplify and / or filter the sensing electrical signal of the detection electrode and then output the detection signal.

6. The detection circuit as described in claim 5, characterized in that, The sampling circuit includes a differential amplifier circuit, the two input terminals of which are respectively connected to the two detection electrodes, and the two output terminals of which are connected to the two second input terminals of the comparator circuit.

7. The detection circuit as described in claim 1 or 2, characterized in that, The reference signal is a periodically changing electrical signal, and the electrical signal changes continuously within each period.

8. The detection circuit as described in claim 1 or 2, characterized in that, The reference signal is a periodic ramp signal.

9. The detection circuit as described in claim 1, characterized in that, The storage circuit includes multiple encoders and a memory. The multiple encoders are connected to the multiple detection channels one by one. The multiple encoders are connected to the signal generation circuit and the memory respectively. Each encoder is used to independently encode the value of the reference signal currently output by the signal generation circuit according to the recording enable pulse to obtain the corresponding channel data, and output the corresponding channel data to the memory for storage.

10. The detection circuit as described in claim 9, characterized in that, The plurality of detection channels are divided into multiple parts, and the memory includes: Multiple storage areas, each of which is connected to a portion of the detection channels, are used to store channel data corresponding to that portion of the detection channels and form data frames, wherein the channel data is set with a storage area address; A storage unit, connected to each of the storage areas, is used to store the data of each of the storage areas.

11. An integrated circuit, characterized in that, Includes the detection circuit as described in any one of claims 1 to 10.

12. A brain-computer interface chip, characterized in that, Includes the detection circuit as described in any one of claims 1 to 10.

13. An electronic device, characterized in that, It includes a detection electrode and a detection circuit as described in any one of claims 1 to 10.