Neural interface chip and its application method, system and medium

By designing a neural interface chip that integrates signal acquisition, calculation and motion control functions, it solves the problems of single function and complex system in the existing technology, achieves low-power consumption, high-precision neural information processing and control, and supports the development of medical rehabilitation robots. application.

CN118333117BActive Publication Date: 2024-08-27TONGJI UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410756801.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-27
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

Existing neural interface chips have single functions in the process from signal collection, analysis and recognition to decision-making and control, and lack multi-function and high integration, resulting in complex system structures and increased power consumption, which limits the practical application of rehabilitation robots.

Method used

A neural interface chip is designed, which integrates the signal acquisition unit, computing unit, perception control unit and chip main control, including 8-channel differential signal input, analog signal processing, 24-bit synchronous ADC, convolutional neural network algorithm and RISC-V Customize the instruction set to realize the collection, processing and motion control of multi-channel physiological signals.

Benefits of technology

It achieves comprehensive functions of neural information perception, identification and control with low power consumption, low noise, high precision and high integration, simplifies the complex multi-hardware circuits and multi-chip modes in traditional neural signal control, and reduces the human cost of physiological electrical information. Difficulty in machine interface application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333117B
    Figure CN118333117B
Patent Text Reader

Abstract

The present invention provides a neural interface chip and its application method, system and medium, which designs and comprehensively integrates SoC hardware logic including an 8-channel signal acquisition preprocessing module, a deep learning neural network calculation and analysis module and a cognitive decision-making module for human motion intention control. Specifically, the 8-channel signal acquisition preprocessing module includes an 8-channel differential signal input hardware unit, an analog signal processing hardware unit, a channel gating module, a 24-bit synchronous ∑-Δ type analog-to-digital converter, and a data preprocessing unit, which are used to realize electrostatic impedance processing, primary differential amplification, secondary amplification, filtering, notching of analog signals, channel gating of analog signals and on-chip temperature, and conversion of analog signals to digital signals through an on-chip reference power supply module. The acquisition-calculation-knowledge integrated neural SoC chip of the present invention can realize the comprehensive functions of neural information perception, recognition and control with low power consumption, low noise, high precision and high integration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bioelectrical signal acquisition technology and chips, and transmission systems for measuring electrical variables, control signals or similar signals. Specifically, it relates to neural interface chips and their application methods, systems and media, and especially to neural interface chip systems for multi-channel physiological electrical acquisition, calculation and cognition. Background Art

[0002] The recognition of human motion intentions, such as gestures, is one of the research focuses that has attracted increasing attention from researchers in the field of artificial intelligence. It is widely used in rehabilitation, disability assistance, and human-computer interaction. The recognition of human motion intentions mainly relies on the stable and reliable acquisition of bio-electromechanical signals, and then further calculations are performed on the acquired bio-electromechanical signals for recognition.

[0003] The existing EMG (Electromyogram) and EEG (Electroencephalogram) signal acquisition chips or analysis and recognition chips have the problem of single function, and have not realized the whole process from signal acquisition, analysis and recognition to decision-making and control. At present, there is still a lack of neural interface chips that integrate the acquisition, analysis and control of motor nerve information in rehabilitation robots on the market at home and abroad. Although the ADC129X series of TI (Texas Instruments) is aimed at the acquisition of physiological signals, it can be applied to both EMG and EEG, but it does not include data analysis and control, and is not a multifunctional high-integration chip. However, if the above chips are used to realize signal acquisition and control of applications such as multifunctional prostheses and limb function rehabilitation robots, multiple chips are needed to build a comprehensive system of bioelectric signal acquisition units, signal analysis and calculation units, and management and control units, which will inevitably cause complex system structure, increased power consumption, and bulky volume, greatly limiting the practical application of rehabilitation robots.

[0004] Therefore, it is necessary to propose a new technical solution to improve the above technical problems. Summary of the invention

[0005] In view of the defects in the prior art, the object of the present invention is to provide a neural interface chip and its application method, system and medium.

[0006] A neural interface chip provided according to the present invention includes a signal acquisition unit, a computing unit, a perception control unit, and a chip main control and configuration unit;

[0007] The signal acquisition unit includes an 8-channel differential signal input unit, an analog signal processing unit, a channel gating unit, an 8-channel synchronous ADC unit and an on-chip reference power supply unit;

[0008] The computing unit includes a data processing logic unit, a RAM unit, a digital notch logic unit and a neural network algorithm unit;

[0009] The perception control unit includes a motion control unit and a motor drive control unit;

[0010] The chip master control and configuration unit includes a CPU unit, a status indication unit, and an interface and network communication unit;

[0011] Wherein, the signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing;

[0012] The computing unit processes and calculates the collected digital signal;

[0013] The perception control unit performs motion control based on the processed signal;

[0014] The chip master control and configuration unit manages the chip's internal affairs and external communications;

[0015] The pre-processing is to perform ESD protection, signal amplification and signal filtering on the electrical signal by means of hardware circuits;

[0016] The computing unit processes and computes the collected digital signal: the signal is digitally notched by hardware logic in the chip, and the computation refers to the computation of the neural network algorithm by hardware logic in the chip, which is the hardware computation module of the neural network;

[0017] The perception control unit performs motion control based on the processed signal: obtains recognition and classification results through a neural network, and then performs corresponding motion control according to the configured parameters.

[0018] Preferably, the analog signal processing unit includes an ESD protection circuit, a primary differential amplifier circuit, a secondary amplifier circuit and a filter circuit, and performs electrostatic protection, signal amplification and filtering on the input physiological electrical signal;

[0019] The 8-channel synchronous ADC unit adopts a Σ-Δ type ADC, the sampling accuracy is 24 bits, the sampling frequency is configured to be 1KSPS to 8KSPS, and each channel ADC unit includes a digital programmable gain amplifier function;

[0020] The channel selection unit switches the acquisition signal and the on-chip temperature sensing unit signal through configuration, and the system obtains the current chip temperature;

[0021] The digital notch logic unit filters out the power frequency signal through a digital signal processing algorithm;

[0022] The neural network algorithm unit adopts a convolutional neural network and a back-propagation algorithm, and performs conversion, calculation and output of multiple groups of floating-point data under programmable hardware parallel calculation through a data stream calculation structure of a pure hardware logic independent unit;

[0023] The collected data are all in the form of integers. The chip uses data conversion logic to convert the signal data into floating point numbers. The data is used for neural network calculations and is ultimately output as a result.

[0024] The neural network algorithm units are deployed in multiple channels within the chip for synchronous calculation and processing.

[0025] Preferably, the motion control unit performs motion control planning through a RISC-V custom instruction set, and sends the planned motion control instructions to the motor drive control unit;

[0026] The motor drive control unit generates a drive signal through PWM waveform generation logic and controls the motor through an external power drive circuit, including the start, stop, acceleration and deceleration functions of the motor;

[0027] The CPU unit performs chip internal management and external communication functions, including configuring the chip's working mode, monitoring the chip's working status, and exchanging data with external devices;

[0028] The status indication unit displays the working status, error information and configuration information of the chip, and gives prompts through indicator lights and buzzers, so that users can perform troubleshooting and system debugging.

[0029] Preferably, the 8-channel differential signal input unit performs access to neural electrical signals; the analog signal processing unit performs ESD protection processing on neural electrical signal input, and simultaneously performs primary differential amplification, secondary differential amplification and signal filtering processing; the on-chip temperature sensing unit realizes temperature sensing inside the chip; the channel selection unit selects the signal processed by the aforementioned analog signal processing unit and the on-chip temperature sensing signal, and connects the required signal to the subsequent ADC unit; the 8-channel synchronous ADC unit performs high-speed and high-precision synchronous conversion of analog signals, and converts the signal from analog to digital; the on-chip reference power supply unit provides a conversion reference voltage for the ADC unit;

[0030] The data processing logic unit performs processing and distribution of digital data converted by ADC; the RAM unit caches data; the digital notch logic unit performs power frequency notch on the acquired data; the neural network algorithm unit performs calculation and classification and recognition on the acquired data;

[0031] The motion control unit calculates the required motion plan and forms control data; the motor drive control unit performs the control function of the brushless DC motor and realizes the control of the motor through an external drive circuit;

[0032] The CPU unit performs chip internal management and external communication functions; the status indication unit outputs the chip working status and error status; the interface and network communication unit realizes information exchange between the chip and the outside world through the chip's external interface and communication.

[0033] Preferably, the signal is input by an 8-channel differential signal input unit, passes through an analog signal processing unit, a channel gating unit and an 8-channel synchronous ADC unit in sequence, and outputs a digital quantity of the collected signal;

[0034] The analog signal processing unit receives the differential signal, first passes through the ESD protection circuit, performs preliminary processing through the first-level differential amplifier circuit, then amplifies the signal to a suitable level through the second-level amplifier circuit, and finally sends it out after processing through the filter circuit.

[0035] Preferably, the 8-channel synchronous ADC unit is an 8-channel synchronous sampling ADC, the ADC conversion form is a Σ-Δ type, the sampling accuracy is 24 bits, and the sampling frequency is configurable from 1KSPS to 8KSPS; each channel ADC unit includes a digital programmable gain amplifier PGA function to amplify the signal by 1 to 12 times;

[0036] The channel gating unit realizes the switching of the collected signal and the signal generated by the on-chip temperature unit through parameter configuration, and the system obtains the current chip temperature;

[0037] The data processing logic unit is implemented by a logic circuit, which can manage and allocate data of the acquisition unit, and transmit the data to the digital trap logic unit or directly to the CPU unit through two RAM units;

[0038] The RAM unit can enable the subsequent unit to have complete fixed-length data for processing by switching between two RAM units;

[0039] The digital notch logic unit can perform digital power frequency notching on the acquired digital signal to weaken the interference signal related to the power frequency;

[0040] The neural network algorithm unit identifies and classifies the acquired signals and transmits them to the CPU unit;

[0041] The neural network algorithm unit configures the neural network structure through external parameters, and the neural network algorithm unit is implemented in a pure hardware logic manner.

[0042] Preferably, the motion control unit is capable of performing dynamic and kinematic computational control of different related motions and generating control data;

[0043] The motor drive control unit performs the field oriented control (FOC) of the brushless DC motor, controls the motor current loop, speed loop and position loop, and can analyze the control data generated by the motion control unit to control the motor through an off-chip drive circuit;

[0044] The field oriented control, motor current loop, speed loop and position loop control of the motor drive control unit are all implemented in a pure hardware logic manner;

[0045] The CPU unit interacts with external information through a network or other related interfaces, and sends the current chip working status and error alarm signal through the status indication unit;

[0046] The interfaces of the interface and network communication unit include UART, SPI, I2C, CAN, and the network communication includes 1000M Ethernet, WIFI and Bluetooth;

[0047] The CPU unit uses the RISC-V core and customizes neural network instructions and motion control instructions.

[0048] The present invention also provides an application method of a neural interface chip, the method using the neural interface chip described above, the method comprising the following steps:

[0049] Step S1: The signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing;

[0050] Step S2: the computing unit processes and computes the collected multi-channel physiological electrical signals;

[0051] Step S3: the sensing control unit performs motion control based on the processed multi-channel physiological electrical signals;

[0052] Step S4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

[0053] The present invention also provides an application system of a neural interface chip, the system using the neural interface chip described above, the system comprising the following steps:

[0054] Module M1: The signal acquisition unit collects multi-channel physiological electrical signals and performs preprocessing;

[0055] Module M2: The computing unit processes and calculates the collected multi-channel physiological electrical signals;

[0056] Module M3: The perception control unit performs motion control based on the processed multi-channel physiological electrical signals;

[0057] Module M4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

[0058] The present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the application method of the neural interface chip described above are implemented.

[0059] Compared with the prior art, the present invention has the following beneficial effects:

[0060] The neural interface chip of the present invention can realize the comprehensive functions of neural information perception, recognition and control with low power consumption, low noise, high precision and high integration, simplifying the cumbersome and complex multi-hardware circuit and multi-chip parallel use mode in traditional neural signal control, reducing the difficulty of human-machine interface application of physiological electrical information, and providing support for portable low-power neural interface chips in medical rehabilitation robots, wearable devices, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0062] Figure 1 This is a schematic diagram of the overall structure of the neural interface chip mainly embodied in the present invention;

[0063] Figure 2 This is a schematic diagram of the internal structure of the signal acquisition and processing unit, the channel gating unit and the 8-channel synchronous ADC of the present invention;

[0064] Figure 3 This is a schematic diagram of the internal structure of the dual RAM module mainly embodied in the present invention;

[0065] Figure 4 This is a schematic diagram of the processing principle of the digital notch logic unit mainly embodied in the present invention;

[0066] Figure 5 The figure is a schematic diagram of the internal structure of a digital trap logic unit mainly embodied in the present invention.

[0067] in:

[0068] 8-channel differential signal input 1; analog signal processing unit 2; channel selection 3; 8-channel synchronous ADC 4; data processing logic unit 5; dual RAM module 6; digital notch logic unit 7; neural network algorithm unit 8; CPU 9; interface and network communication unit 10; on-chip temperature 11; on-chip reference power supply unit 12; chip debugging configuration 13; status indication unit 14; motion control unit 15; motor drive control unit 16; ESD protection 201; first-level differential amplifier 202; second-level amplifier 203; filtering circuit 204; digital PGA 401; ADC 402; control logic 403; storage logic 601; SRAM 602; reading logic 603; raw data buffer 701; status judgment 702; subtractor control logic 703; filtered data buffer 704. DETAILED DESCRIPTION

[0069] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0070] Example 1

[0071] According to the present invention, a neural interface chip includes a signal acquisition unit, a computing unit, a perception control unit, and a chip main control and configuration unit; the signal acquisition unit includes an 8-channel differential signal input unit, an analog signal processing unit, a channel gating unit, an 8-channel synchronous ADC unit, and an on-chip reference power supply unit; the computing unit includes a data processing logic unit, a RAM unit, a digital notch logic unit, and a neural network algorithm unit; the perception control unit includes a motion control unit and a motor drive control unit; the chip main control and configuration unit includes a CPU unit, a state indication unit, and an interface and network communication unit; the signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing; the computing unit The collected digital signals are processed and calculated; the perception control unit performs motion control based on the processed signals; the chip master control and configuration units manage the internal affairs of the chip and external communications; preprocessing is to perform ESD protection, signal amplification and signal filtering on the electrical signals through hardware circuits; the computing unit processes and calculates the collected digital signals: the signal is digitally notched through hardware logic in the chip, and calculation refers to the calculation of the neural network algorithm through hardware logic in the chip, which is the hardware computing module of the neural network; the perception control unit performs motion control based on the processed signals: the recognition and classification results are obtained through the neural network, and then the corresponding motion control is performed according to the configured parameters.

[0072] The analog signal processing unit includes an ESD protection circuit, a first-level differential amplifier circuit, a second-level amplifier circuit and a filter circuit, which perform electrostatic protection, signal amplification and filtering on the input physiological electrical signals; the 8-channel synchronous ADC unit adopts a Σ-Δ ADC with a sampling accuracy of 24 bits and a sampling frequency configured to be 1KSPS to 8KSPS, and each channel ADC unit contains a digital programmable gain amplifier function; the channel selection unit switches the acquisition signal and the on-chip temperature sensor unit signal through configuration, and the system obtains the current chip temperature; the digital notch logic unit filters the power frequency signal through a digital signal processing algorithm; the neural network algorithm unit adopts a convolutional neural network and a back-propagation algorithm, and through the data streaming calculation structure of a pure hardware logic independent unit, it performs conversion, calculation and output of multiple groups of floating-point data under programmable hardware parallel calculation; the collected data are all shaped, and the signal data is converted into floating-point numbers through data conversion logic in the chip, and the data is used for neural network calculation and finally output as the result; the neural network algorithm unit is deployed in multiple channels in the chip for synchronous calculation and processing.

[0073] The motion control unit performs motion control planning through the RISC-V custom instruction set, and sends the planned motion control instructions to the motor drive control unit; the motor drive control unit generates a drive signal through the PWM waveform generation logic, and controls the motor through the external power drive circuit, including the motor start, stop, acceleration, and deceleration functions; the CPU unit performs internal chip management and external communication functions, including configuring the chip's working mode, monitoring the chip's working status, and exchanging data with external devices; the status indication unit displays the chip's working status, error information, and configuration information, and prompts through indicator lights and buzzers, allowing users to troubleshoot and debug the system.

[0074] The 8-channel differential signal input unit is used to access the neural electrical signal; the analog signal processing unit performs ESD protection processing on the neural electrical signal input, and simultaneously performs primary differential amplification, secondary differential amplification and signal filtering processing; the on-chip temperature sensing unit realizes temperature sensing inside the chip; the channel selection unit selects the signal processed by the aforementioned analog signal processing unit and the on-chip temperature sensing signal, and connects the required signal to the subsequent ADC unit; the 8-channel synchronous ADC unit performs high-speed and high-precision synchronous conversion of analog signals, and converts the signal from analog to digital; the on-chip reference power supply unit provides the conversion reference voltage for the ADC unit; the data processing logic The logic unit processes and distributes the digital data converted by ADC; the RAM unit caches data; the digital notch logic unit performs power frequency notch on the acquired data; the neural network algorithm unit calculates and classifies the acquired data; the motion control unit calculates the planning of the required motion and forms control data; the motor drive control unit performs the control function of the brushless DC motor and realizes the control of the motor through an external drive circuit; the CPU unit performs internal chip management and external communication functions; the status indication unit outputs the chip working status and error status; the interface and network communication unit realizes information exchange between the chip and the outside world through the chip's external interface and communication.

[0075] The signal is input by the 8-channel differential signal input unit, passes through the analog signal processing unit, the channel selection unit and the 8-channel synchronous ADC unit in sequence, and outputs the digital quantity of the collected signal; the analog signal processing unit receives the differential signal, first passes through the ESD protection circuit, performs preliminary processing through the first-level differential amplifier circuit, and then amplifies the signal to the appropriate level through the second-level amplifier circuit, and finally is sent out after being processed by the filter circuit.

[0076] 8-channel synchronous ADC unit 8-channel synchronous sampling ADC, ADC conversion form is Σ-Δ type, sampling accuracy is 24 bits, sampling frequency is configurable from 1KSPS to 8KSPS; each channel ADC unit contains a digital programmable gain amplifier PGA function to amplify the signal by 1 to 12 times; the channel selection unit realizes the switching of the collected signal and the signal generated by the on-chip temperature unit through parameter configuration, and the system obtains the current chip temperature; the data processing logic unit is realized by a logic circuit, which can manage and allocate the data of the collection unit, and transfer the data to the digital notch logic unit or directly to the CPU unit through two RAM units; the RAM unit can enable the subsequent units to have complete fixed-length data for processing by switching between the two RAM units; the digital notch logic unit can perform digital power frequency notching on the acquired digital signal to weaken the interference signal related to the power frequency; the neural network algorithm unit identifies and classifies the acquired signal and transmits it to the CPU unit; the neural network algorithm unit configures the neural network structure through external parameters, and the neural network algorithm unit is implemented in a pure hardware logic manner.

[0077] The motion control unit can perform dynamic and kinematic calculation control of different related motions and generate control data; the motor drive control unit performs field-oriented control FOC of the brushless DC motor, controls the motor current loop, speed loop and position loop, and can parse the control data generated by the motion control unit to control the motor through an off-chip drive circuit; the field-oriented control, motor current loop, speed loop and position loop control of the motor drive control unit are all implemented in a pure hardware logic manner; the CPU unit interacts with external information through the network or other related interfaces, and sends the current chip working status and error alarm signals through the status indication unit; the interfaces of the interface and network communication unit include UART, SPI, I2C, CAN, and the network communication includes 1000M Ethernet, WIFI and Bluetooth; the CPU unit uses the RISC-V kernel and customizes neural network instructions and motion control instructions.

[0078] The present invention also provides an application method of a neural interface chip, the method using the neural interface chip described above, the method comprising the following steps:

[0079] Step S1: The signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing;

[0080] Step S2: the computing unit processes and computes the collected multi-channel physiological electrical signals;

[0081] Step S3: the sensing control unit performs motion control based on the processed multi-channel physiological electrical signals;

[0082] Step S4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

[0083] The present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the application method of the neural interface chip described above are implemented.

[0084] The present invention also provides an application system of a neural interface chip, which can be implemented by executing the process steps of the application method of the neural interface chip, that is, those skilled in the art can understand the application method of the neural interface chip as a preferred implementation of the application system of the neural interface chip.

[0085] Example 2

[0086] The present invention also provides an application system of a neural interface chip, the system using the neural interface chip described above, the system comprising the following steps:

[0087] Module M1: The signal acquisition unit collects multi-channel physiological electrical signals and performs preprocessing;

[0088] Module M2: The computing unit processes and calculates the collected multi-channel physiological electrical signals;

[0089] Module M3: The perception control unit performs motion control based on the processed multi-channel physiological electrical signals;

[0090] Module M4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

[0091] Example 3

[0092] In view of the defects in the prior art, the object of the present invention is to provide a neural interface chip and its application method, system and medium.

[0093] The present invention provides a neural interface chip and its application method, system and medium, which relate to the fields of electronic circuits, chip technology and neural signal control. The chip mainly solves the technical problems of integrated system on chip (SoC) for the acquisition, calculation and cognition of multi-channel physiological electrical information, and designs and comprehensively integrates SoC hardware logic including 8-channel signal acquisition preprocessing module, deep learning neural network calculation and analysis module and cognitive decision module for human motion intention control. Specifically, the 8-channel signal acquisition preprocessing module includes an 8-channel differential signal input hardware unit, an analog signal processing hardware unit, a channel gating module, a 24-bit synchronous ∑-Δ analog to digital converter (ADC), and a data preprocessing unit, which are used to realize the electrostatic discharge (ESD) processing, first-level differential amplification, second-level amplification, filtering, notching, channel gating of analog signals and on-chip temperature, and conversion of analog signals to digital signals through the on-chip reference power supply module; the deep learning neural network calculation and analysis module includes a programmable hardware logic unit based on convolutional neural network and back propagation network algorithms, and realizes the conversion, calculation and output of multiple groups of floating-point data under programmable hardware parallel calculation through the data streaming calculation structure of pure hardware logic independent units; the cognitive decision module is composed of a central processing unit (Central Processing Unit) based on the RISC-V core The chip is composed of a main control cognitive unit (CPU) and a motor drive control unit. Based on the collection and calculation of the aforementioned physiological electrical signals, the neural network full stack is efficiently configured through RISC-V custom instructions to decode and recognize human movement intentions and realize motor decision-making and motion control; as well as dual random access memories (RAM), status indications, WiFi / Bluetooth / peripheral interfaces and network communications, and SoC debugging configuration units. The acquisition-calculation-cognition integrated neural SoC chip of the present invention can realize the comprehensive functions of neural information perception, recognition and control with low power consumption, low noise, high precision and high integration, simplifying the cumbersome and complex multi-hardware circuits and multi-chip parallel use modes in traditional neural signal control, reducing the difficulty of human-machine interface application of physiological electrical information, and providing support for portable low-power neural interface chips in medical rehabilitation robots, wearable devices, etc.

[0094] According to the present invention, a neural interface chip and its application method, system and medium include a signal acquisition unit, a computing perception part, a motion control part and a chip master control and configuration unit; the signal acquisition unit includes: an 8-channel differential signal input unit to realize the access of neural electrical signals; an analog signal processing unit to realize the ESD protection processing of neural electrical signal input, and at the same time realize the first-level differential amplification, the second-level differential amplification and the signal filtering processing; an on-chip temperature sensing unit to realize the internal temperature sensing of the chip; a channel gating unit to realize the gating of the signal processed by the aforementioned analog signal processing unit and the on-chip temperature sensing signal, and connect the required signal to the subsequent ADC unit; an 8-channel synchronous ADC unit to realize the high-speed and high-precision synchronous conversion of analog signals, and realize the conversion of signals from analog to digital; an on-chip reference power supply unit to provide the conversion reference voltage for the ADC unit. The computing perception part includes: a data processing logic unit to realize the processing and distribution of digital data after ADC conversion; a RAM unit to realize the cache of data; a digital notch logic unit to realize the power frequency notch of the acquired data; a neural network algorithm unit to realize the calculation and classification recognition of the acquired data. The motion control part includes: a motion control unit, which realizes the planning and calculation of the required motion and forms control data; a motor drive control unit, which realizes the control function of the brushless DC motor and realizes the control of the motor through an external drive circuit. The chip main control and configuration unit includes: a CPU unit, which realizes the internal management and external communication functions of the chip; a status indication unit, which outputs the chip working status and error status; an interface and network communication unit, which realizes information exchange between the chip and the outside world through the chip's external interface and communication.

[0095] Preferably, the signal acquisition unit part includes: an 8-channel differential signal input unit, an analog signal processing unit, an on-chip temperature sensor unit, a channel gating unit, an on-chip reference power supply unit and an 8-channel synchronous ADC unit. The signal is input by the 8-channel differential signal input unit, passes through the analog signal processing unit, the channel gating unit and the synchronous ADC unit in sequence, and outputs the digital value of the acquired signal.

[0096] Preferably, the analog signal processing unit receives a differential signal, first passes through an ESD protection circuit, performs preliminary processing through a first-stage differential amplifier circuit, then amplifies the signal to a suitable level through a second-stage amplifier circuit, and finally sends it out after being processed through a filter circuit.

[0097] Preferably, the filter circuit includes a low-pass filter, a high-pass filter and an industrial frequency trap circuit to remove related interference and useless analog signals.

[0098] Preferably, the ADC is an 8-channel synchronous sampling ADC, the ADC conversion form is a Σ-Δ type, the sampling accuracy is 24 bits, and the sampling frequency is configurable from 1KSPS to 8KSPS; each channel ADC unit includes a digital programmable gain amplifier (PGA) function to achieve 1 to 12 times signal amplification.

[0099] Preferably, the channel selection unit can be configured to realize the switching between the collected signal and the signal generated by the on-chip temperature unit, so that the system can not only collect neural signals but also obtain the current chip temperature.

[0100] Preferably, the data processing logic unit is completely implemented by logic circuits, which can realize the data management allocation of the acquisition unit, transfer the data to the digital trap logic unit unit or directly to the CPU by time-sharing docking of two RAM units, and transmit the original neural signal through the communication unit.

[0101] Preferably, the RAM unit can ensure that the subsequent processing unit has complete fixed-length data for processing through time-sharing switching of two RAMs.

[0102] Preferably, the digital notch logic unit utilizes the determinism of the power frequency signal and uses the reverse superposition method of the signal to perform digital power frequency notching on the acquired digital signal completely through hardware logic programming, thereby further weakening the interference signal related to the power frequency.

[0103] Preferably, the neural network algorithm unit implements the calculation process of CNN and BP neural networks by means of pure hardware logic, and has the function of configurable network structure. The CPU configures the network type and network structure according to requirements, and finally identifies and classifies the acquired signals and transmits them to the CPU.

[0104] Preferably, the motion control unit is capable of realizing dynamic and kinematic computational control of different related motions and generating control data.

[0105] Preferably, the motor drive control unit implements field oriented control (FOC) of the brushless DC motor, realizes motor current loop, speed loop and position loop control, and can analyze the control data generated by the motion control unit, and realizes accurate and efficient control of the motor through an off-chip drive circuit. The field oriented control, realization of motor current loop, speed loop and position loop control are all realized by pure hardware logic.

[0106] Preferably, the CPU interacts with external information through a network or other related interfaces, and can send signals such as the current chip working status and error alarm through a status indication unit. The interface and network communication unit include UART, SPI, I2C, and CAN, and the interfaces all implement corresponding functions through hardware logic. Network communication includes 1000M Ethernet, WIFI, and Bluetooth.

[0107] Preferably, the chip master control and CPU use a RISC-V core, and customize neural network instructions and motion control instructions within RISC-V.

[0108] like Figure 1 As shown, according to a neural interface chip and its application method, system and medium provided by the present invention, the integrated neural chip includes a signal acquisition unit (including an 8-channel differential signal input 1, an analog signal processing unit 2, a channel selection 3, and an 8-channel synchronous ADC 4), a computing perception part (including a data processing logic unit 5, a dual RAM module 6, a digital notch logic unit 7, and a neural network algorithm unit 8), a motion control part (including a motion control unit 15 and a motor drive control unit 16), and a chip main control and configuration unit (including a CPU 9, an interface and network communication unit 10, a chip debugging configuration 13, and a status indication unit 14), etc., and each part coordinates with each other to realize the integrated computing and perception neural chip.

[0109] The analog signal processing unit 2 receives the weak physiological electrical signal obtained by the 8-channel differential signal input unit 1 through the external motor chip group, processes, amplifies and filters the signal, and then sends it to the channel selection 3 for the CPU 9 unit selection call.

[0110] Furthermore, in the analog signal processing unit 2, the received weak signal first passes through the ESD protection 201 to process the static electricity generated during the acquisition process or when the electrode sheet is connected to protect the subsequent functional modules of the chip;

[0111] The first-stage differential amplifier 202 is implemented using a three-op-amp structure of an instrumentation amplifier, and an input impedance of up to 1 MΩ is achieved through the differential amplifier. A higher input impedance is more conducive to maintaining the input signal characteristics.

[0112] The secondary amplifier 203 performs secondary amplification on the signal amplified by the primary differential amplifier 202. The secondary amplification can achieve a higher gain and a lower offset level.

[0113] The filter circuit 204 implements low-pass and high-pass filtering of the aforementioned amplified signal, reduces and removes signals other than the effective physiological electrical signal frequency, and implements power frequency filtering processing on the signal.

[0114] like Figure 1As shown, the signal flows into the channel strobe 3 after passing through the 8-channel differential signal input unit 1 and the analog signal processing unit 2. The channel strobe 3 also receives the voltage signal from the on-chip temperature 11. The channel strobe 3 selects the signal output by the analog signal processing unit 2 and the on-chip temperature 11 by receiving the instruction of the CPU 9, and then the selected signal is sent to the 8-channel synchronous ADC 4.

[0115] Furthermore, if Figure 2 As shown, the 8-channel synchronous ADC4 internally includes 8 groups of digital PGA401 and ADC402 and control logic 403. The control logic 403 receives the control instruction of CPU9 to control the digital PGA401 to achieve 1 to 12 times amplification of the input signal. The amplified signal is sent to ADC4 for conversion. At the same time, the ADC level reference source comes from the on-chip reference power supply unit 12. The on-chip reference power supply unit 12 achieves a high-precision 2.048V voltage output.

[0116] Furthermore, ADC4 is a 24-bit Σ-Δ ADC converter, and can realize a sampling rate of 1KSPS to 8KSPS through the configuration of control logic 403. The control logic 403 is implemented based on hardware logic.

[0117] like Figure 1 As shown, after being processed by the data processing logic unit 5, the data enters the dual RAM module 6, which internally includes a storage logic 601, two groups of SRAM 602 and a read logic 603. The data cache and transmission are realized through the cooperation of various logics.

[0118] Furthermore, storage logic 601 determines to which SRAM the data sent by data processing logic unit 5 is transferred according to the current working state, and can also directly transfer the data to CPU 9 as needed, and then output the original data to the outside of the chip through the interface and network communication unit 10. Read logic 603 determines from which SRAM to read data and sends it to digital trap logic unit 7 according to the current state.

[0119] Furthermore, the storage logic 601 and the reading logic 603 are both implemented based on hardware logic.

[0120] The digital trap logic unit 7 utilizes the deterministic principle of the power frequency signal and uses a logic subtraction method to eliminate the corresponding consistency interference of the previous and next cycles. Figure 4 The filtering principle of the proposed digital power frequency filter is described. Under a given sampling rate, the number of sampling times of the target noise in one cycle can be obtained, and the noise can be eliminated by subtracting the sampling data at the corresponding waveform position. The calculation formula of the digital filter is as follows:

[0121] Y t =(X t -Xt-n )

[0122] n = (fs / fz)

[0123] Where X t and Y t are the raw data and filtered data at time t, fs and fz are the current sampling frequency of the system and the target noise to be processed, respectively, and n is the number of times the target noise captures the target noise in one sampling cycle. Take the power frequency fz as 50Hz, and assume that the current sampling frequency fs of the system is 1KSPS, then n is 20. By converting the raw data X at time t into t and the original data X at time t-20 t-20 By performing difference calculation, the amplitude of the power frequency noise is effectively reduced to a certain extent, and the influence of the power frequency noise on the electromyographic information of the movement is reduced.

[0124] Furthermore, if Figure 5 As shown, the digital notch logic unit 7 includes an original data buffer 701, a state judgment 702, a subtractor control logic 703 and a filter data buffer 704. The above-mentioned notch algorithm logic is implemented by the modules. Each module in the digital notch logic unit 7 is implemented by pure hardware logic.

[0125] The neural network algorithm unit 8 divides the neural network calculation into several independent calculation units. The calculation units implement the conversion, data operation and output of multiple groups of floating-point data through pure hardware logic. The data to be calculated flows through the calculation units in the form of data flow and obtains the calculation results.

[0126] Furthermore, the neural network algorithm unit 8 internally integrates configurable CNN and BP neural networks, and implements the configuration of the neural network structure by receiving configuration control instructions from the CPU 9. The neural network algorithm unit 8 implements related functions through pure hardware logic.

[0127] The motion control unit 15 implements corresponding motion control for the classification results calculated by the aforementioned neural network algorithm unit 8 , implements motion dynamics and kinematic planning inside the motion control unit, and generates motor motion control instructions that are transmitted to the motor drive control unit 16 .

[0128] Furthermore, both the kinematics and dynamics planning can be configured by the CPU 9, and a maximum of 6-DOF motion planning and configuration can be realized internally.

[0129] The motor drive control unit 16 implements the field oriented control (FOC) of the brushless DC motor, can control the motor's current loop, speed loop and position loop, and can analyze the control data generated by the motion control unit to achieve precise and efficient control of the motor through an off-chip drive circuit. The field oriented control, the realization of the motor's current loop, speed loop and position loop control are all achieved through pure hardware logic.

[0130] In addition to controlling and managing the above-mentioned module units, the CPU 9 is also connected to the status indication unit 14. The status indication unit 14 can indicate whether the current chip working status is normal and generate a Fault error status output.

[0131] CPU9 is based on the RISC-V core and customizes neural network instructions and motion control instructions to achieve efficient calling and configuration of neural networks and motion control.

[0132] The interfaces in the interface and network communication unit 10 include UART, SPI, I2C, CAN, and the network communication includes 1000M Ethernet, WIFI and Bluetooth.

[0133] The chip debugging configuration 13 is used to realize the chip function configuration and program download function.

[0134] The present invention proposes a neural interface chip design, in which signal acquisition, processing and calculation all rely on the logic implementation inside the chip; at the same time, the internal motor drive unit also implements the motor drive function based on the chip hardware logic. The present invention performs related operations on the motor (the chip contains motor control functions, i.e., FOC control, current loop, speed loop and position loop, etc.) from signal acquisition, processing, calculation and calculation results.

[0135] Those skilled in the art may understand this embodiment as a more specific description of Embodiment 1 and Embodiment 2.

[0136] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.

[0137] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.

Claims

1. A neural interface chip, characterized in that: It includes a signal acquisition unit, a computing unit, a perception control unit, and a chip main control and configuration unit; The signal acquisition unit includes an 8-channel differential signal input unit, an analog signal processing unit, a channel gating unit, an 8-channel synchronous ADC unit and an on-chip reference power supply unit; The computing unit includes a data processing logic unit, a RAM unit, a digital notch logic unit and a neural network algorithm unit; The perception control unit includes a motion control unit and a motor drive control unit; The chip master control and configuration unit includes a CPU unit, a status indication unit, and an interface and network communication unit; Wherein, the signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing; The computing unit processes and calculates the collected digital signal; The perception control unit performs motion control based on the processed signal; The chip master control and configuration unit manages the chip's internal affairs and external communications; The pre-processing is to perform ESD protection, signal amplification and signal filtering on the electrical signal by means of hardware circuits; The computing unit processes and computes the collected digital signal: the signal is digitally notched by hardware logic in the chip, and the computation refers to the computation of the neural network algorithm by hardware logic in the chip, which is the hardware computation module of the neural network; The perception control unit performs motion control based on the processed signal: obtains recognition and classification results through a neural network, and then performs corresponding motion control according to the configured parameters; The analog signal processing unit includes an ESD protection circuit, a primary differential amplifier circuit, a secondary amplifier circuit and a filter circuit, which performs electrostatic protection, signal amplification and filtering on the input physiological electrical signal; The 8-channel synchronous ADC unit adopts a Σ-Δ type ADC, the sampling accuracy is 24 bits, the sampling frequency is configured to be 1KSPS to 8KSPS, and each channel ADC unit includes a digital programmable gain amplifier function; The channel selection unit switches the acquisition signal and the on-chip temperature sensing unit signal through configuration, and the system obtains the current chip temperature; The digital notch logic unit filters out the power frequency signal through a digital signal processing algorithm; The neural network algorithm unit adopts a convolutional neural network and a back-propagation algorithm, and performs conversion, calculation and output of multiple groups of floating-point data under programmable hardware parallel calculation through a data stream calculation structure of a pure hardware logic independent unit; The collected data are all in the form of integers. The chip uses data conversion logic to convert the signal data into floating point numbers. The data is used for neural network calculations and is ultimately output as a result. The neural network algorithm unit is deployed in multiple channels within the chip for synchronous calculation and processing; The 8-channel differential signal input unit is used to access the neural electrical signal; the analog signal processing unit performs ESD protection processing on the neural electrical signal input, and simultaneously performs primary differential amplification, secondary differential amplification and signal filtering processing; the on-chip temperature sensing unit realizes temperature sensing inside the chip; the channel selection unit selects the signal processed by the aforementioned analog signal processing unit and the on-chip temperature sensing signal, and connects the required signal to the subsequent ADC unit; the 8-channel synchronous ADC unit performs high-speed and high-precision synchronous conversion of analog signals, and converts the signal from analog to digital; the on-chip reference power supply unit provides the ADC unit with a conversion reference voltage; The data processing logic unit performs processing and distribution of digital data converted by ADC; the RAM unit caches data; the digital notch logic unit performs power frequency notch on the acquired data; the neural network algorithm unit performs calculation and classification and recognition on the acquired data; The motion control unit calculates the required motion plan and forms control data; the motor drive control unit performs the control function of the brushless DC motor and realizes the control of the motor through an external drive circuit; The CPU unit performs chip internal management and external communication functions; the status indication unit outputs the chip working status and error status; the interface and network communication unit realizes information exchange between the chip and the outside world through the chip's external interface and communication.

2. The neural interface chip according to claim 1, characterized in that: The motion control unit performs motion control planning through a RISC-V custom instruction set, and sends the planned motion control instructions to the motor drive control unit; The motor drive control unit generates a drive signal through PWM waveform generation logic and controls the motor through an external power drive circuit, including the start, stop, acceleration and deceleration functions of the motor; The CPU unit performs chip internal management and external communication functions, including configuring the chip's working mode, monitoring the chip's working status, and exchanging data with external devices; The status indication unit displays the working status, error information and configuration information of the chip, and gives prompts through indicator lights and buzzers, so that users can perform troubleshooting and system debugging.

3. The neural interface chip according to claim 1, characterized in that: The signal is input by the 8-channel differential signal input unit, passes through the analog signal processing unit, the channel selection unit and the 8-channel synchronous ADC unit in sequence, and outputs the digital value of the collected signal; The analog signal processing unit receives the differential signal, first passes through the ESD protection circuit, performs preliminary processing through the first-level differential amplifier circuit, then amplifies the signal to a suitable level through the second-level amplifier circuit, and finally sends it out after processing through the filter circuit.

4. The neural interface chip according to claim 1, characterized in that: The 8-channel synchronous ADC unit is an 8-channel synchronous sampling ADC, the ADC conversion form is Σ-Δ type, the sampling accuracy is 24 bits, and the sampling frequency is configurable from 1KSPS to 8KSPS; each channel ADC unit includes a digital programmable gain amplifier PGA function to amplify the signal by 1 to 12 times; The channel gating unit realizes the switching of the collected signal and the signal generated by the on-chip temperature unit through parameter configuration, and the system obtains the current chip temperature; The data processing logic unit is implemented by a logic circuit, which can manage and allocate data of the acquisition unit, and transmit the data to the digital trap logic unit or directly to the CPU unit through two RAM units; The RAM unit can enable the subsequent unit to have complete fixed-length data for processing by switching between two RAM units; The digital notch logic unit can perform digital power frequency notching on the acquired digital signal to weaken the interference signal related to the power frequency; The neural network algorithm unit identifies and classifies the acquired signals and transmits them to the CPU unit; The neural network algorithm unit configures the neural network structure through external parameters, and the neural network algorithm unit is implemented in a pure hardware logic manner.

5. The neural interface chip according to claim 1, characterized in that: The motion control unit is capable of performing dynamic and kinematic computational control of different related motions and generating control data; The motor drive control unit performs the field oriented control (FOC) of the brushless DC motor, controls the motor current loop, speed loop and position loop, and can analyze the control data generated by the motion control unit to control the motor through an off-chip drive circuit; The field oriented control, motor current loop, speed loop and position loop control of the motor drive control unit are all implemented in a pure hardware logic manner; The CPU unit interacts with external information through a network or other related interfaces, and sends the current chip working status and error alarm signal through the status indication unit; The interfaces of the interface and network communication unit include UART, SPI, I2C, CAN, and the network communication includes 1000M Ethernet, WIFI and Bluetooth; The CPU unit uses the RISC-V core and customizes neural network instructions and motion control instructions.

6. An application method of a neural interface chip, characterized in that: The method uses the neural interface chip according to any one of claims 1 to 5, and the method comprises the following steps: Step S1: The signal acquisition unit acquires multi-channel physiological electrical signals and performs preprocessing; Step S2: the computing unit processes and computes the collected multi-channel physiological electrical signals; Step S3: the sensing control unit performs motion control based on the processed multi-channel physiological electrical signals; Step S4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

7. An application system of a neural interface chip, characterized in that: The system uses the neural interface chip according to any one of claims 1 to 5, and the system comprises the following steps: Module M1: The signal acquisition unit collects multi-channel physiological electrical signals and performs preprocessing; Module M2: The computing unit processes and calculates the collected multi-channel physiological electrical signals; Module M3: The perception control unit performs motion control based on the processed multi-channel physiological electrical signals; Module M4: The chip master control and configuration unit manages the chip's internal affairs and external communications.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the application method of the neural interface chip described in claim 6 are implemented.

Citation Information

Cited By

  • Robot dexterous hand collecting, controlling and driving integrated chip medium, system and application method

    CN122518359A