Data processing device for near-infrared physiological parameters and near-infrared brain function imaging equipment
By leveraging the synergistic effect of a field-programmable gate array (FPGA) and a microcontroller, the near-infrared emitting unit is controlled to emit light in a time-division manner and process data. This solves the problems of data transmission delay and inaccurate correspondence in near-infrared brain functional imaging devices, and enables efficient acquisition of physiological parameter data.
Patent Information
- Application Number
- CN202611337034.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-27
AI Technical Summary
Existing near-infrared brain functional imaging equipment suffers from delays and inaccurate data correspondences during data transmission and processing, resulting in insufficient timeliness in acquiring physiological parameter data.
A field-programmable gate array (FPGA) is used to control the near-infrared emitting unit to emit light in a time-division manner, and analog-to-digital conversion is performed within the corresponding sampling time window. The microcontroller processes the raw light intensity data to generate near-infrared physiological parameter data, reducing the amount of data and processing required to be uploaded to the host computer.
It improves the timeliness of near-infrared physiological parameter data output, ensures accurate correspondence between sampled data and emission wavelength, and shortens data transmission and processing time.
Smart Images

Figure CN123166649A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of near-infrared physiological parameter data processing, and particularly to a near-infrared physiological parameter data processing device and a near-infrared brain function imaging device. Background Technology
[0002] Near-infrared brain functional imaging devices can sequentially emit near-infrared light onto the tissue to be tested using multiple near-infrared emitting units of different wavelengths, and receive the near-infrared light propagating through the tissue using a photodetector to obtain raw light intensity data corresponding to different wavelengths. Processing the raw light intensity data corresponding to different wavelengths yields the corresponding near-infrared physiological parameter data.
[0003] Existing near-infrared brain functional imaging devices typically use a microcontroller to control the emission of near-infrared emitting units at different wavelengths and to control an analog-to-digital converter for sampling. The raw light intensity data is then transmitted to a host computer for data processing. Since these devices usually include multiple acquisition channels, and each channel needs to acquire data corresponding to multiple wavelengths, the amount of raw light intensity data generated during the detection process is large. Transmitting all the raw light intensity data to the host computer for processing can easily introduce data transmission and processing delays. Furthermore, when the microcontroller controls the near-infrared emitting units and analog-to-digital converters at different wavelengths through software timing, there may be a deviation between the emission time and the sampling time. This leads to inaccurate correspondence between the sampled data and the current emission wavelength, further affecting the timely acquisition of near-infrared physiological parameter data.
[0004] Therefore, how to reduce the amount of data transmitted to the host computer and the amount of data processing done by the host computer while ensuring that the sampled data accurately corresponds to different emission wavelengths, so as to improve the timeliness of the output of near-infrared physiological parameter data, has become a problem that needs to be solved. Summary of the Invention
[0005] The purpose of this invention is to provide a near-infrared physiological parameter data processing device and a near-infrared brain function imaging device. Based on the correspondence between the emission sequence and the sampling time window, the sampled data corresponds to the current emission wavelength. Before being uploaded to the host computer, the microcontroller processes the original light intensity data into near-infrared physiological parameter data, reducing the amount of data transmitted to the host computer and the amount of processing, shortening the data transmission and processing time, and improving the timeliness of the output of near-infrared physiological parameter data.
[0006] To address the aforementioned technical problems, this invention provides a near-infrared physiological parameter data processing device applied to a near-infrared brain functional imaging device. The near-infrared brain functional imaging device includes a near-infrared light source, a photodetector, an analog-to-digital converter, and a host computer. The near-infrared light source includes multiple near-infrared emitting units of different wavelengths. The device includes: A field-programmable gate array (FPGA) is used to control near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to emission timing information. The FPGA also controls the analog-to-digital converter (ADC) to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within a sampling time window corresponding to the currently emitting near-infrared emitting unit, thereby obtaining raw light intensity data corresponding to different wavelengths. This raw light intensity data is then sent to a microcontroller. The emission timing information includes the emission sequence of the near-infrared emitting units of different wavelengths and the sampling time windows corresponding to each of the different wavelengths. The microcontroller, which is connected to the field-programmable gate array, is used to process the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, and then send the near-infrared physiological parameter data to the host computer.
[0007] Preferably, the emission timing information further includes emission time windows corresponding to the near-infrared emitting units of different wavelengths and total extinction time windows between two adjacent emission time windows; The field-programmable gate array (FPGA) is also used to control the current near-infrared emitting unit to emit light within the corresponding emission time window, and to control the analog-to-digital converter (ADC) to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit. The start time of the sampling time window is later than the start time of the corresponding emission time window, and the end time of the sampling time window is earlier than the end time of the corresponding emission time window. Within the total extinction time window, the near-infrared emitting units of different wavelengths are controlled to stop emitting light, and the ADC is controlled to stop sampling.
[0008] Preferably, controlling the analog-to-digital converter to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit includes: The analog-to-digital converter is controlled to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit, according to a preset sampling period, to obtain the original light intensity data sequence corresponding to the currently emitting near-infrared emitting unit, and the original light intensity data sequence is sent to the microcontroller. The microcontroller is also used to perform at least one of filtering and averaging processing on the original light intensity data sequences corresponding to different wavelengths to obtain effective light intensity data corresponding to different wavelengths, and to determine the near-infrared physiological parameter data based on the effective light intensity data corresponding to different wavelengths.
[0009] Preferably, the near-infrared light source includes multiple near-infrared emitting groups, and each near-infrared emitting group includes multiple near-infrared emitting units of different wavelengths; The microcontroller is also used to acquire the target detection scheme issued by the host computer, and determine the near-infrared emitting groups participating in the current detection, the emission order of each near-infrared emitting group, and the emission order of the near-infrared emitting units of different wavelengths in each near-infrared emitting group according to the target detection scheme; determine the emission timing information according to the near-infrared emitting groups participating in the current detection, the emission order of each near-infrared emitting group, and the emission order of the near-infrared emitting units of different wavelengths in each near-infrared emitting group, and send the emission timing information to the field programmable gate array.
[0010] Preferably, the microcontroller is further configured to determine the corresponding optical signal state based on the original light intensity data corresponding to different wavelengths; when the optical signal state indicates that the photodetector has received an optical signal and the intensity of the optical signal is lower than a preset signal intensity, increase the gain of the acquisition channel corresponding to the photodetector; when the optical signal state indicates that the photodetector has not received a valid optical signal, increase the luminous intensity of the corresponding near-infrared emitting unit. The field-programmable gate array is also used to control the corresponding near-infrared emitting unit to emit light again after the gain of the acquisition channel is increased or the luminous intensity of the corresponding near-infrared emitting unit is increased, and to control the analog-to-digital converter to reacquire the original light intensity data of the corresponding wavelength of the near-infrared emitting unit, and to send the reacquired original light intensity data to the microcontroller. The microcontroller is also used to update the original light intensity data for the corresponding wavelength with the newly acquired original light intensity data, and to determine the near-infrared physiological parameter data according to the original light intensity data corresponding to the updated different wavelengths.
[0011] Preferably, the near-infrared brain functional imaging device further includes a programmable gain amplifier, a differential amplifier, a digital-to-analog converter, and a light source driving circuit, wherein the light source driving circuit includes multiple light source driving branches corresponding to the near-infrared emitting units of different wavelengths. The output terminal of the photodetector is connected to the input terminal of the programmable gain amplifier, the output terminal of the programmable gain amplifier is connected to the input terminal of the differential amplifier, the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter, and the gain control terminal of the programmable gain amplifier is connected to the microcontroller for communication. The programmable gain amplifier is used to amplify the analog electrical signal output by the photodetector according to the target gain, and the differential amplifier is used to convert the amplified analog electrical signal into a differential analog signal and output it to the analog-to-digital converter. The control terminal of the digital-to-analog converter is connected to the field-programmable gate array (FPGA). The digital-to-analog converter has multiple analog output terminals. The near-infrared brain functional imaging device also includes multiple analog switches that correspond to multiple light source driving branches. The multiple analog output terminals are connected one-to-one with the control input terminals of the multiple light source driving branches through the multiple analog switches. The control terminals of the multiple analog switches are connected to the FPGA. The field-programmable gate array is also used to control the on / off state of multiple analog switches according to the light emission timing information, so as to transmit the control voltage output by the corresponding analog output terminal in the digital-to-analog converter to the light source driving branch corresponding to the currently emitting near-infrared emitting unit. The output terminal of each of the light source driving branches is connected to the near-infrared light-emitting unit of the corresponding wavelength; The microcontroller is also used to determine a target gain greater than the current gain of the programmable gain amplifier based on the original light intensity data when the light signal state characterizes that the photodetector has received a light signal and the intensity of the light signal is lower than the preset signal intensity, and to control the programmable gain amplifier to switch to the target gain. The microcontroller is also used to generate light intensity adjustment information corresponding to the near-infrared emitting unit to be adjusted when the light signal state characterizes that the photodetector has not received a valid light signal, and to send the light intensity adjustment information to the field programmable gate array. The field-programmable gate array is also used to control the digital-to-analog converter to increase the control voltage output to the corresponding light source driving branch according to the light intensity modulation information, so as to increase the driving current flowing through the corresponding near-infrared light-emitting unit in the light source driving branch.
[0012] Preferably, the photodetector includes at least one avalanche photodiode, and the near-infrared brain functional imaging device further includes a temperature sensor and a bias voltage adjustment circuit; The microcontroller is also used to acquire the temperature corresponding to the avalanche photodiode through the temperature sensor according to a preset compensation period; determine the target reverse bias voltage at the temperature that makes the avalanche gain of the avalanche photodiode meet the preset gain condition according to the pre-calibrated correspondence between temperature, reverse bias voltage and avalanche gain; generate bias control information corresponding to the target reverse bias voltage, and send the bias control information to the field programmable gate array, so that the field programmable gate array controls the bias voltage adjustment circuit to adjust the reverse bias voltage of the avalanche photodiode to the target reverse bias voltage according to the bias control information.
[0013] Preferably, the photodetector includes a plurality of avalanche photodiodes; The temperature sensor is connected to the microcontroller; The bias voltage regulation circuit includes an isolator, a bias digital-to-analog converter with a first analog output terminal and a second analog output terminal, a first high-voltage amplifier and a second high-voltage amplifier, and the field-programmable gate array is connected to the control terminal of the bias digital-to-analog converter through the isolator. The first analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the first high-voltage amplifier, and the output terminal of the first high-voltage amplifier forms a first bias voltage output terminal; the second analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the second high-voltage amplifier, and the output terminal of the second high-voltage amplifier forms a second bias voltage output terminal; the first bias voltage output terminal and the second bias voltage output terminal are respectively connected to the reverse bias terminal of at least one avalanche photodiode. The target reverse bias voltage includes a first target reverse bias voltage corresponding to the first bias voltage output terminal and a second target reverse bias voltage corresponding to the second bias voltage output terminal. The bias control information includes first bias control information and second bias control information corresponding to the first target reverse bias voltage and the second target reverse bias voltage, respectively. The field-programmable gate array is further configured to control the first analog output terminal and the second analog output terminal of the bias digital-to-analog converter to output corresponding analog voltages respectively through the isolator according to the first bias control information and the second bias control information, so that the first high-voltage amplifier outputs the first target reverse bias voltage and the second high-voltage amplifier outputs the second target reverse bias voltage.
[0014] To address the aforementioned technical problems, this invention provides a near-infrared brain functional imaging device, comprising a near-infrared light source, a light source driving circuit, a photodetector, a signal conditioning circuit, an analog-to-digital converter, a field-programmable gate array, a microcontroller, and a host computer; The near-infrared light source includes multiple near-infrared emitting units of different wavelengths, and the light source driving circuit is connected to the near-infrared emitting units of different wavelengths respectively. The output terminal of the photodetector is connected to the input terminal of the signal conditioning circuit. The photodetector is used to receive the emitted light formed by the near-infrared light emitted by the near-infrared light-emitting unit after propagation through the tissue to be detected, and output the corresponding analog electrical signal. The output terminal of the signal conditioning circuit is connected to the analog input terminal of the analog-to-digital converter. The signal conditioning circuit is used to amplify the analog electrical signal and convert the amplified analog electrical signal into a differential analog signal before outputting it to the analog-to-digital converter. The analog-to-digital converter is connected to the field-programmable gate array (FPGA), which is also connected to the light source driving circuit and the microcontroller, and the microcontroller is connected to the host computer. The field-programmable gate array (FPGA) is used to control the near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to the emission timing information through the light source driving circuit, and to control the analog-to-digital converter to sample the differential analog signal within the sampling time window corresponding to the currently emitting near-infrared emitting unit, so as to obtain the original light intensity data corresponding to different wavelengths, and send the original light intensity data to the microcontroller; the emission timing information includes the emission order of the near-infrared emitting units of different wavelengths and the sampling time window corresponding to the near-infrared emitting units of different wavelengths respectively; The microcontroller is used to process the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, and then send the near-infrared physiological parameter data to the host computer.
[0015] Preferably, the signal conditioning circuit includes a programmable gain amplifier and a differential amplifier; The input terminal of the programmable gain amplifier is connected to the output terminal of the photodetector, and the gain control terminal of the programmable gain amplifier is communicatively connected to the microcontroller. The programmable gain amplifier is used to amplify the analog electrical signal according to the target gain determined by the microcontroller based on the original light intensity data. The input terminal of the differential amplifier is connected to the output terminal of the programmable gain amplifier, and the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter. The differential amplifier is used to convert the amplified analog electrical signal into the differential analog signal and output the differential analog signal to the analog-to-digital converter.
[0016] This application provides a near-infrared physiological parameter data processing device and a near-infrared brain functional imaging device. The emission timing information includes the emission sequence of near-infrared emitting units of different wavelengths and their corresponding sampling time windows. A field-programmable gate array (FPGA) controls each emitting unit to emit light in a time-division manner according to the emission timing information, and controls an analog-to-digital converter (ADC) to sample within the corresponding sampling time window, obtaining raw light intensity data corresponding to different wavelengths and sending it to a microcontroller. The microcontroller processes the raw light intensity data to obtain near-infrared physiological parameter data and sends it to a host computer. Thus, based on the correspondence between the emission sequence and the sampling time window, the sampled data corresponds to the current emission wavelength. Furthermore, before uploading to the host computer, the microcontroller processes the raw light intensity data into near-infrared physiological parameter data, reducing the amount of data transmitted to the host computer and its processing load, shortening data transmission and processing time, and improving the timeliness of the output of near-infrared physiological parameter data. Attached Figure Description
[0017] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A schematic diagram of a near-infrared physiological parameter data processing device provided in this application; Figure 2 A schematic diagram of the structure of a near-infrared brain functional imaging device provided in this application; Figure 3 A schematic diagram of emission timing information provided in this application; Figure 4 A schematic diagram of the first part of a near-infrared brain functional imaging device provided in this application; Figure 5 A schematic diagram of the second part of a near-infrared brain functional imaging device provided in this application; Figure 6 A schematic diagram of the third part of a near-infrared brain functional imaging device provided in this application; Figure 7 A schematic diagram showing the relationship between temperature, reverse bias voltage and avalanche gain provided in this application; Figure 8 This is a schematic diagram of the fourth part of a near-infrared brain functional imaging device provided in this application. Detailed Implementation
[0019] The core of this invention is to provide a near-infrared physiological parameter data processing device and a near-infrared brain function imaging device. Based on the correspondence between the emission sequence and the sampling time window, the sampled data corresponds to the current emission wavelength. Before being uploaded to the host computer, the microcontroller processes the original light intensity data into near-infrared physiological parameter data, reducing the amount of data transmitted to the host computer and the amount of processing, shortening the data transmission and processing time, and improving the timeliness of the output of near-infrared physiological parameter data.
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] Please refer to Figure 1 , Figure 1 This is a schematic diagram of a near-infrared physiological parameter data processing device provided in this application. The device is applied to a near-infrared brain functional imaging device, which includes a near-infrared light source 10, a photodetector 20, an analog-to-digital converter 30, and a host computer 60. The near-infrared light source 10 includes multiple near-infrared emitting units of different wavelengths. Please refer to... Figure 2 , Figure 2 This is a schematic diagram of the structure of a near-infrared brain functional imaging device provided in this application.
[0022] The near-infrared emitting units of different wavelengths can be encapsulated in the same emitting component or set separately. As an example, the near-infrared light source 10 includes three near-infrared emitting units with wavelengths of 735 nm, 810 nm and 850 nm, respectively.
[0023] When the tissue to be tested is irradiated with near-infrared light of different wavelengths 90, different physiological components to be tested absorb near-infrared light of different wavelengths to varying degrees. A photodetector 20 receives the emitted light after propagation through the tissue to be tested 90 and converts the emitted light into an analog electrical signal. An analog-to-digital converter 30 performs analog-to-digital conversion on the analog electrical signal to obtain sampling data that can be used to characterize the intensity of the emitted light.
[0024] The device includes: A field-programmable gate array (FPGA) is used to control near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to emission timing information. It also controls an analog-to-digital converter (ADC) to sample the analog electrical signal output by a photodetector based on the near-infrared light propagating through the tissue being tested within the sampling time window corresponding to the currently emitting near-infrared emitting unit. This samples the signal to obtain the raw light intensity data corresponding to different wavelengths, which is then sent to a microcontroller. The emission timing information includes the emission sequence of near-infrared emitting units of different wavelengths and the sampling time window corresponding to each wavelength. The microcontroller is connected to a field-programmable gate array (FPGA) to process the raw light intensity data corresponding to different wavelengths, obtain near-infrared physiological parameter data, and send the near-infrared physiological parameter data to the host computer.
[0025] In one implementation, the host computer 60 determines a target detection scheme based on the area to be detected and the detection requirements, and sends the target detection scheme to the microcontroller 50. The microcontroller 50 parses the target detection scheme to obtain parameters such as emission sequence, emission duration, sampling delay, sampling duration, and sampling count, and generates emission timing information based on these parameters. The microcontroller 50 can convert the emission timing information into register configuration information or state machine configuration information that can be recognized by the field-programmable gate array 40, and send it to the field-programmable gate array 40.
[0026] In another implementation, the microcontroller 50 or the field-programmable gate array 40 pre-stores one or more emission timing information. Based on the target detection scheme issued by the host computer 60, the microcontroller 50 selects the emission timing information corresponding to the pre-stored emission timing scheme.
[0027] The emission sequence is used to determine the order in which near-infrared emitting units of different wavelengths are illuminated within a detection cycle. For example, within a detection cycle, near-infrared emitting units at 735 nm, 810 nm, and 850 nm can be illuminated sequentially. The emission sequence is not limited to the above order and can be adjusted according to the target detection scheme. Once the target detection scheme is selected, detection can be performed periodically according to the corresponding fixed emission sequence during the detection process of that scheme.
[0028] The sampling time window is used to limit the time range within which the analog-to-digital converter 30 acquires the analog electrical signal corresponding to the current wavelength. Near-infrared emitting units of different wavelengths each have their corresponding sampling time windows, so that the emission wavelength corresponding to the sampled data can be determined based on the current sampling time window.
[0029] The field-programmable gate array 40 generates emission control signals corresponding to near-infrared emission units of different wavelengths according to the emission timing information, so that near-infrared emission units of different wavelengths emit light in their respective time periods, thus avoiding the simultaneous emission of near-infrared emission units of different wavelengths.
[0030] After near-infrared light propagates through the scalp tissue 90 awaiting detection, a portion of the near-infrared light is received by the photodetector 20. The photodetector 20 converts the received optical signal into an analog electrical signal. After signal conditioning through amplification, filtering, and differential conversion, the analog electrical signal is input to the analog input terminal of the analog-to-digital converter 30.
[0031] While controlling the current near-infrared emitting unit to emit light, the field-programmable gate array 40 generates a sampling control signal for the analog-to-digital converter 30 based on the same hardware clock, so that the analog-to-digital converter 30 samples the analog electrical signal output by the photodetector 20 and after signal conditioning within the sampling time window corresponding to the currently emitting near-infrared emitting unit.
[0032] Synchronous control here refers to the fact that the emission control signal of the near-infrared emitting unit and the sampling control signal of the analog-to-digital converter 30 are generated by the field programmable gate array 40 based on the same hardware clock and the same emission timing information. There is a definite time relationship between the two, and it does not mean that near-infrared emitting units of different wavelengths emit light at the same time.
[0033] The analog-to-digital converter 30 and the field-programmable gate array 40 are independent devices. The analog-to-digital converter 30 is used to convert analog electrical signals into digital sampled data, and the field-programmable gate array 40 is used to control the sampling time of the analog-to-digital converter 30 and receive the digital sampled data output by the analog-to-digital converter 30.
[0034] The field-programmable gate array 40 can determine the near-infrared emitting unit and its wavelength corresponding to the sampled data based on the sampling time window in which the sampled data is located. For example, sampled data within the sampling time window corresponding to a 735 nm near-infrared emitting unit is determined as the original light intensity data corresponding to 735 nm. The field-programmable gate array 40 buffers, sorts, or packages the sampled data according to wavelength and acquisition channel to obtain the original light intensity data corresponding to different wavelengths, and sends the original light intensity data corresponding to different wavelengths to the microcontroller 50.
[0035] After receiving the raw light intensity data sent by the field programmable gate array 40, the microcontroller 50 pairs the raw light intensity data according to the wavelength and acquisition channel, and performs at least one of the following processing on the raw light intensity data: filtering, averaging, reference correction, optical density change calculation and physiological parameter calculation, to obtain near-infrared physiological parameter data.
[0036] The microcontroller 50 sends near-infrared physiological parameter data, rather than all raw light intensity data, to the host computer 60. The host computer 60 can generate graphs, two-dimensional distribution maps, three-dimensional distribution maps, or other visualization information based on the near-infrared physiological parameter data. The host computer 60 mainly undertakes data display, storage, and human-computer interaction functions, and does not need to perform physiological parameter calculations frame by frame on all raw light intensity data generated by each acquisition channel.
[0037] It should be noted that the near-infrared physiological parameter data in this application are calculated based on objective light intensity data collected by the photodetector 20, and are used to characterize the absorption changes of the tissue under test for different wavelengths of near-infrared light. This near-infrared physiological parameter data may include at least one of the following: oxyhemoglobin concentration change data, deoxyhemoglobin concentration change data, and cytochrome oxidase redox state change data. This application only relates to the collection, processing, and display of the aforementioned objective parameter data, and does not involve making disease diagnosis conclusions or formulating treatment plans based on the aforementioned parameter data.
[0038] Therefore, the field-programmable gate array 40 can control the near-infrared emitting units and analog-to-digital converter 30 of different wavelengths with microsecond-level hardware timing, reducing the misalignment of emission and sampling caused by software timing jitter, and ensuring that the sampled data accurately corresponds to the current emission wavelength. The microcontroller 50 completes the conversion of the original light intensity data to near-infrared physiological parameter data at the embedded end, reducing the amount of data transmitted to the host computer 60 through the communication interface and the amount of calculation by the host computer 60, thereby shortening the overall time of data acquisition, transmission and processing, and improving the timeliness of the output of near-infrared physiological parameter data.
[0039] Based on the above embodiments: In a preferred embodiment, the microcontroller 50 processes the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, including: Based on the original light intensity data corresponding to different wavelengths, determine the light density variation data corresponding to different wavelengths; Based on the optical density variation data corresponding to different wavelengths and the preset extinction coefficient matrix corresponding to each wavelength, the near-infrared physiological parameter data are determined. The preset extinction coefficient matrix includes the extinction coefficients of each physiological component to be measured at different wavelengths.
[0040] In this embodiment, the microcontroller 50 determines the optical density change data based on the original light intensity data corresponding to different wavelengths, and determines the near-infrared physiological parameter data based on the optical density change data and the preset extinction coefficient matrix.
[0041] Specifically, when only one original light intensity data is obtained within a sampling time window, the original light intensity data can be directly used as the current light intensity data for the corresponding wavelength; when an original light intensity data sequence is obtained within a sampling time window, at least one of filtering and averaging processing can be performed on the original light intensity data sequence, and the processing result can be used as the current light intensity data for the corresponding wavelength.
[0042] The microcontroller 50 also acquires reference light intensity data corresponding to different wavelengths. The reference light intensity data can be the raw light intensity data collected at the start of detection or within a preset reference stage, or it can be the data obtained by averaging multiple raw light intensity data collected within the preset reference stage.
[0043] For near-infrared light with wavelength λ, the optical density change data corresponding to this wavelength is determined according to the following formula, based on the current light intensity data and the reference light intensity data: ; in, This represents the current light intensity data corresponding to wavelength λ. This represents the reference light intensity data corresponding to wavelength λ. This represents the change in optical density corresponding to wavelength λ.
[0044] The optical density change data corresponding to different wavelengths are arranged in a preset wavelength order to obtain the optical density change vector. Taking the three wavelengths of 735 nm, 810 nm, and 850 nm as examples, the optical density change vector can be expressed as: ; The microcontroller 50 determines the change vector of the physiological parameter to be measured based on the optical density change vector, the preset extinction coefficient matrix, and the preset optical path parameters. ; Where E is the preset extinction coefficient matrix, and L is the optical path matrix including the effective optical path or differential path length factor. This represents the vector of changes in the physiological parameter to be measured. As near-infrared physiological parameter data, this vector can include changes in oxyhemoglobin concentration, deoxyhemoglobin concentration, and oxidized cytochrome oxidase concentration.
[0045] As a preferred embodiment, the emission timing information also includes emission time windows corresponding to near-infrared emission units of different wavelengths and total extinction time windows between two adjacent emission time windows; The field-programmable gate array (FPGA) is also used to control the current near-infrared emitting unit to emit light within the corresponding emission time window, and to control the analog-to-digital converter (ADC) to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit. The start time of the sampling time window is later than the start time of the corresponding emission time window, and the end time of the sampling time window is earlier than the end time of the corresponding emission time window. Within the total extinction time window, the emitting units of different wavelengths are controlled to stop emitting light, and the ADC is controlled to stop sampling.
[0046] In this embodiment, the emission timing information also includes the emission time windows corresponding to near-infrared emitting units of different wavelengths, and the total extinction time window between two adjacent emission time windows. Please refer to... Figure 3 , Figure 3 This is a schematic diagram of light emission timing information provided in this application.
[0047] The field-programmable gate array 40 controls the current near-infrared emitting unit to emit light within the corresponding emission time window. When the current near-infrared emitting unit is first lit, its output light intensity and the light source driving circuit 11 may be in a transient state. Therefore, the field-programmable gate array 40 does not start effective sampling immediately when the near-infrared emitting unit is first lit, but controls the analog-to-digital converter 30 to start sampling after a preset stabilization delay time.
[0048] The sampling time window starts later than the corresponding emission time window, and ends earlier than the corresponding emission time window. This avoids the initial light intensity rise of the near-infrared emitting unit and the circuit transients before and after it turns off, allowing the analog-to-digital converter 30 to sample during a relatively stable phase of the near-infrared emitting unit's output.
[0049] For example, the emission time window for a near-infrared emitting unit can be 20 μs. The field-programmable gate array 40 controls the near-infrared emitting unit to light up and then delays for 5 μs before controlling the analog-to-digital converter 30 to sample between 5 μs and 15 μs. After sampling, the near-infrared emitting unit continues to emit light for another 5 μs before being turned off. The specific times described above are only examples and can be set according to the response speed of the near-infrared emitting unit, the settling time of the signal conditioning circuit 21, and the sampling requirements.
[0050] An extinction time window is set between the emission time windows of two adjacent near-infrared emitting units of different wavelengths. Within the extinction time window, the field-programmable gate array 40 controls all near-infrared emitting units of different wavelengths to stop emitting light, and controls the analog-to-digital converter 30 to stop sampling. The extinction time window can reserve time for the afterglow decay of the previous near-infrared emitting unit and the transient recovery of the light source driving circuit 11 and the signal conditioning circuit 21, reducing the influence of the light signal of the previous wavelength on the sampling result of the subsequent wavelength.
[0051] After sampling all wavelengths in a near-infrared emission group, the field-programmable gate array 40 can also set a total extinction time window between the current near-infrared emission group and the next near-infrared emission group. After the total extinction time window ends, the near-infrared emission units in the next near-infrared emission group are then lit.
[0052] In a preferred embodiment, the analog-to-digital converter is controlled to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within a sampling time window corresponding to the currently emitting near-infrared emitting unit, including: The analog-to-digital converter is controlled to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit, according to the preset sampling period, to obtain the original light intensity data sequence corresponding to the currently emitting near-infrared emitting unit, and then send the original light intensity data sequence to the microcontroller. The microcontroller is also used to perform at least one of filtering and averaging processing on the original light intensity data sequences corresponding to different wavelengths to obtain the effective light intensity data corresponding to different wavelengths, and to determine the near-infrared physiological parameter data based on the effective light intensity data corresponding to different wavelengths.
[0053] In this embodiment, the field-programmable gate array 40 controls the analog-to-digital converter 30 to perform multiple samplings within each sampling time window according to a preset sampling period, instead of collecting only one data point.
[0054] For example, within a continuous 10 μs sampling time window, multiple samples can be taken at a sampling period of 1 μs to obtain the original light intensity data sequence corresponding to the current wavelength. The preset sampling period and number of samples can be issued by the host computer 60 through the target detection scheme, or they can be pre-stored in the microcontroller 50 or the field-programmable gate array 40.
[0055] The field-programmable gate array 40 adds at least one of wavelength identifier, acquisition channel identifier and detection period identifier to the original light intensity data sequence according to the wavelength corresponding to the current sampling time window, and sends the original light intensity data sequence to the microcontroller 50.
[0056] Specifically, the field programmable gate array 40 controls the analog-to-digital converter 30 to perform multiple samplings within the sampling time window according to the preset sampling period, and acquires the sampling data output by the analog-to-digital converter 30. Based on the correspondence between the current sampling time window and the wavelength of the near-infrared emitting unit, the sampling data is divided into original light intensity data sequences corresponding to different wavelengths, and then the original light intensity data sequences corresponding to different wavelengths are sent to the microcontroller 50.
[0057] The microcontroller 50 can perform at least one of the following processing methods on the original light intensity data sequence: filtering and averaging. Filtering may include amplitude limiting filtering, median filtering, moving average filtering, low-pass filtering, or removing abnormal data that exceeds a preset range. Averaging may involve calculating the arithmetic mean of all valid sampled values within the sampling time window, or calculating the average of the remaining sampled values after removing the maximum and minimum values.
[0058] The effective light intensity data obtained after filtering or averaging can reduce the impact of high-frequency noise, transient interference, and single-point outliers on subsequent physiological parameter calculations. The microcontroller 50 determines the optical density variation data based on the effective light intensity data corresponding to different wavelengths, and further determines the near-infrared physiological parameter data.
[0059] As a preferred embodiment, the near-infrared light source includes multiple near-infrared emitting groups, and each near-infrared emitting group includes multiple near-infrared emitting units of different wavelengths; The microcontroller is also used to acquire the target detection scheme issued by the host computer, and to determine the near-infrared emitting groups participating in the current detection, the emission order of each near-infrared emitting group, and the emission order of near-infrared emitting units of different wavelengths in each near-infrared emitting group according to the target detection scheme; and to determine the emission timing information according to the near-infrared emitting groups participating in the current detection, the emission order of each near-infrared emitting group, and the emission order of near-infrared emitting units of different wavelengths in each near-infrared emitting group, and to send the emission timing information to the field programmable gate array.
[0060] In this embodiment, the near-infrared light source 10 includes multiple near-infrared emitting groups, and each near-infrared emitting group includes multiple near-infrared emitting units of different wavelengths.
[0061] As an example, the device can be configured with multiple near-infrared emission groups distributed at different locations on the head, each near-infrared emission group including three near-infrared emission units at 735 nm, 810 nm, and 850 nm. The number of near-infrared emission groups in the device can be set according to the number of detection channels and the detection area; for example, approximately 150 near-infrared emission groups can be set, but this application does not limit this.
[0062] Different target detection schemes can correspond to different areas to be detected, such as the prefrontal cortex, top of the head, left brain region, right brain region, or posterior brain region. The target detection scheme may include at least one of the following: the near-infrared emission group participating in the current detection, the emission order of the near-infrared emission group, the emission order of different wavelength emission units in each near-infrared emission group, the emission duration, the total extinction duration, the sampling delay, the sampling duration, and the number of samplings.
[0063] The host computer 60 selects a target detection scheme based on the area to be detected and sends the target detection scheme to the microcontroller 50. The microcontroller 50 analyzes the target detection scheme, determines the near-infrared emitting groups participating in the current detection and the emission order of each near-infrared emitting group, and determines the emission order of different wavelength near-infrared emitting units in each near-infrared emitting group.
[0064] The order of light emission groups or wavelengths corresponding to different target detection schemes can be different. After a target detection scheme is selected, the field-programmable gate array 40 can periodically perform detection according to the light emission timing information corresponding to that target detection scheme.
[0065] The microcontroller 50 converts the parsed emission timing parameters into state machine configurations or register configurations for the field-programmable gate array 40. Based on the above configurations, the field-programmable gate array 40 sequentially completes the emission and sampling of different near-infrared emission groups and different wavelength near-infrared emission units in each near-infrared emission group.
[0066] In a preferred embodiment, the microcontroller is also used to determine the corresponding optical signal state based on the original light intensity data corresponding to different wavelengths; when the optical signal state indicates that the photodetector has received an optical signal and the intensity of the optical signal is lower than the preset signal intensity, the gain of the acquisition channel corresponding to the photodetector is increased; when the optical signal state indicates that the photodetector has not received an effective optical signal, the luminous intensity of the corresponding near-infrared emitting unit is increased. The field-programmable gate array is also used to control the corresponding near-infrared emitting unit to emit light again after the gain of the acquisition channel increases or the luminous intensity of the corresponding near-infrared emitting unit increases, and to control the analog-to-digital converter to reacquire the original light intensity data of the corresponding wavelength of the near-infrared emitting unit, and send the reacquired original light intensity data to the microcontroller. The microcontroller is also used to update the original light intensity data for the corresponding wavelength with the newly acquired original light intensity data, and to determine the near-infrared physiological parameter data based on the original light intensity data corresponding to the updated different wavelengths.
[0067] In this embodiment, during the processing of the original light intensity data, the microcontroller 50 also determines the corresponding light signal state based on the original light intensity data, and selects to adjust the gain of the acquisition channel or the luminous intensity of the near-infrared emitting unit according to the light signal state.
[0068] The microcontroller 50 can determine the optical signal state based on the comparison between the raw light intensity data corresponding to the current wavelength and at least one preset threshold. The preset threshold can be calibrated based on experimental data on the human scalp and can be set separately for different wavelengths, different light emission groups, or different acquisition channels.
[0069] When the original light intensity data is higher than the effective signal threshold but lower than the preset signal strength, it indicates that the photodetector 20 has received a valid light signal, but the light signal is weak. At this time, the microcontroller 50 increases the gain of the corresponding acquisition channel of the photodetector 20 to amplify the existing valid signal.
[0070] When the raw light intensity data is below the effective signal threshold, or when the raw light intensity data collected consecutively for a preset number of times cannot represent an effective light signal, it indicates that the photodetector 20 has not received an effective light signal. For example, when the hair on the top of the head is thick, the near-infrared light may be significantly blocked by the hair, and simply increasing the gain of the acquisition channel will not yield an effective signal. In this case, the microcontroller 50 increases the luminous intensity of the near-infrared emitting unit that generates the raw light intensity data.
[0071] The microcontroller 50 determines the target to be adjusted based on the light-emitting group identifier, wavelength identifier, and acquisition channel identifier, and does not make irrelevant adjustments to other near-infrared light-emitting groups or near-infrared light-emitting units of other wavelengths. For example, when the original light intensity data corresponding to the 850 nm near-infrared light-emitting unit in the first near-infrared light-emitting group is invalid, only the light intensity of the 850 nm near-infrared light-emitting unit is increased.
[0072] After increasing the acquisition channel gain or the emission intensity, the field programmable gate array 40 re-controls the target near-infrared emitting unit to emit light within the emission time window of the corresponding wavelength, and controls the analog-to-digital converter 30 to re-acquire the original light intensity data corresponding to that wavelength.
[0073] The microcontroller 50 updates the original light intensity data corresponding to this wavelength using the newly acquired original light intensity data. The original light intensity data corresponding to other wavelengths can be retained. The microcontroller 50 redetermines the near-infrared physiological parameter data based on the updated original light intensity data for different wavelengths.
[0074] In one alternative implementation, the microcontroller 50 can also set the maximum gain, maximum luminous intensity, and maximum number of re-sampling attempts. If a valid optical signal cannot be obtained after reaching the above limits, the microcontroller 50 will mark the corresponding acquisition channel as an invalid channel to avoid excessively increasing the luminous intensity or amplifier gain.
[0075] As a preferred embodiment, the near-infrared brain functional imaging device further includes a programmable gain amplifier, a differential amplifier, a digital-to-analog converter, and a light source driving circuit 11, which includes multiple light source driving branches corresponding to near-infrared emitting units of different wavelengths. The output terminal of the photodetector is connected to the input terminal of the programmable gain amplifier, the output terminal of the programmable gain amplifier is connected to the input terminal of the differential amplifier, the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter, and the gain control terminal of the programmable gain amplifier is connected to the microcontroller for communication. A programmable gain amplifier is used to amplify the analog electrical signal output by the photodetector according to the target gain, and a differential amplifier is used to convert the amplified analog electrical signal into a differential analog signal and output it to the analog-to-digital converter. The control terminal of the digital-to-analog converter is connected to the field-programmable gate array. The digital-to-analog converter has multiple analog output terminals. The near-infrared brain functional imaging device also includes multiple analog switches that correspond to multiple light source driving branches. The multiple analog output terminals are connected to the control input terminals of the multiple light source driving branches one by one through the multiple analog switches. The control terminals of the multiple analog switches are connected to the field-programmable gate array. Field-programmable gate arrays are also used to control the on / off state of multiple analog switches according to the light emission timing information, so as to transmit the control voltage output by the corresponding analog output terminal in the digital-to-analog converter to the light source driving branch corresponding to the currently emitting near-infrared emitting unit. The output of each light source driving branch is connected to the near-infrared light-emitting unit of the corresponding wavelength. The microcontroller is also used to determine a target gain greater than the current gain of the programmable gain amplifier based on the original light intensity data when the photodetector receives a light signal and the intensity of the light signal is lower than the preset signal intensity, and to control the programmable gain amplifier to switch to the target gain. The microcontroller is also used to generate light intensity adjustment information corresponding to the near-infrared emitting unit to be adjusted when the photodetector does not receive a valid light signal, and to send the light intensity adjustment information to the field programmable gate array. The field-programmable gate array is also used to control the digital-to-analog converter to increase the control voltage output to the corresponding light source drive branch according to the light intensity modulation information, so as to increase the drive current flowing through the corresponding near-infrared light-emitting unit in the light source drive branch.
[0076] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the first part of a near-infrared brain functional imaging device provided in this application.
[0077] In this embodiment, the near-infrared brain functional imaging device further includes a programmable gain amplifier 22, a differential amplifier 23, a digital-to-analog converter 12, and multiple light source driving branches corresponding to near-infrared emitting units of different wavelengths. The digital-to-analog converter 12 has multiple analog output terminals, each corresponding to a near-infrared emitting unit. Each analog output terminal is connected to the control input terminal of the corresponding light source driving branch through a corresponding analog switch, and the control terminal of each analog switch is connected to a field-programmable gate array 40. The field-programmable gate array 40 controls the on / off state of each analog switch according to the emission timing information, so that the output channel of the digital-to-analog converter corresponding to the currently emitting near-infrared emitting unit is connected to the corresponding light source driving branch.
[0078] The microcontroller 50 determines the target near-infrared emitting unit whose luminous intensity needs to be increased based on the original light intensity data, generates light intensity adjustment information including the target near-infrared emitting unit identifier and the target control voltage, and sends the light intensity adjustment information to the field-programmable gate array 40. The field-programmable gate array 40 selects the corresponding analog switch according to the target near-infrared emitting unit identifier and controls the corresponding analog output terminal of the digital-to-analog converter 12 to output the target control voltage, thereby increasing the drive current of the corresponding light source drive branch.
[0079] The photodetector 20 converts the received near-infrared light into a weak current or voltage signal. The output signal of the photodetector 20 can first pass through a filter capacitor for high-frequency noise filtering, and then be input to the programmable gain amplifier 22 for amplification. The programmable gain amplifier 22 can be a PGA281AIPWR, or other programmable gain amplifiers 22 with multiple switchable gain levels.
[0080] The output of the programmable gain amplifier 22 is connected to the differential amplifier 23. The differential amplifier 23 can be a THS4551IRGTR fully differential amplifier, used to convert the single-ended signal output from the programmable gain amplifier 22 into a differential analog signal suitable for reception by the analog-to-digital converter 30. The differential analog signal output from the differential amplifier 23 is input to the analog input terminal of the analog-to-digital converter 30.
[0081] The gain control terminal of the programmable gain amplifier 22 is communicatively connected to the microcontroller 50. This communication connection can be a direct connection between the microcontroller 50 and the gain control terminal of the programmable gain amplifier 22, or a connection between the microcontroller 50 and the gain control terminal of the programmable gain amplifier 22 via the field-programmable gate array 40. Regardless of the connection method used, the microcontroller 50 determines the target gain based on the original light intensity data.
[0082] The microcontroller 50 compares the original light intensity data with the preset signal intensity and selects the target gain from multiple gain levels based on the comparison result. When the light signal is valid but the intensity is low, the microcontroller 50 controls the programmable gain amplifier 22 to switch from the current gain to the target gain, which is higher than the current gain.
[0083] The control terminal of the digital-to-analog converter 12 is connected to the field-programmable gate array 40. The microcontroller 50 cannot directly change the output of the digital-to-analog converter 12, but generates light intensity adjustment information and sends the light intensity adjustment information to the field-programmable gate array 40, which then controls the digital-to-analog converter 12 according to the light intensity adjustment information.
[0084] The analog output of the digital-to-analog converter 12 is connected to the control input of multiple light source drive branches. The output of each light source drive branch is connected to a near-infrared emitting unit of the corresponding wavelength.
[0085] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the second part of a near-infrared brain functional imaging device provided in this application.
[0086] In one specific implementation, the analog control voltage output by the digital-to-analog converter 12 is input to the corresponding switching transistor 16 via a single-pole double-throw switch 14 and an operational amplifier 15. For example, a metal-oxide-semiconductor field-effect transistor (MOSFET) can be used as the switching transistor 16. Alternatively, the near-infrared emitting unit can be specifically divided into a first near-infrared emitting unit 101, a second near-infrared emitting unit 102, and a third near-infrared emitting unit 103. Each near-infrared emitting unit corresponds to a light source driving branch composed of a single-pole double-throw switch 14, an operational amplifier 15, and a switching transistor 16. Multiple light source driving branches together constitute the light source driving circuit 11. When the analog control voltage increases, the driving current output by the corresponding light source driving branch increases, thereby increasing the luminous intensity of the corresponding near-infrared emitting unit. The single-pole double-throw switch 14 can be an SGM3157YC6 / TR, and the operational amplifier 15 can be an OPA365AIDBVR.
[0087] The field-programmable gate array 40 can also control the lighting and extinguishing of the corresponding near-infrared emitting units through an independent light-emitting switch control terminal. Thus, the digital-to-analog converter 12 and the voltage-controlled constant current drive structure are responsible for adjusting the light emission intensity, while the light emission control signal generated by the field-programmable gate array 40 is responsible for controlling the lighting and extinguishing of the near-infrared emitting units according to the light emission timing information.
[0088] When the microcontroller 50 determines that the original light intensity data corresponding to a certain near-infrared emitting unit cannot represent an effective light signal, the microcontroller 50 generates light intensity adjustment information containing the emitting group identifier, wavelength identifier, and target light intensity level. The field-programmable gate array 40 controls the digital-to-analog converter 12 to increase the control voltage output to the target light source drive branch based on the light intensity adjustment information, thereby increasing the drive current flowing through the corresponding near-infrared emitting unit in the target light source drive branch.
[0089] It should be noted that the gain adjustment of the programmable gain amplifier 22 and the reverse bias voltage adjustment of the avalanche photodiode are different adjustment methods. The gain adjustment of the programmable gain amplifier 22 is used to change the amplification factor of the analog electrical signal by the signal conditioning circuit 21; the reverse bias voltage adjustment of the avalanche photodiode is used to compensate for the effect of temperature changes on the avalanche gain.
[0090] In a preferred embodiment, the photodetector includes at least one avalanche photodiode, and the near-infrared brain functional imaging device also includes a temperature sensor and a bias voltage regulation circuit. The microcontroller is also used to acquire the temperature of the avalanche photodiode through a temperature sensor according to a preset compensation cycle; determine the target reverse bias voltage that makes the avalanche gain of the avalanche photodiode meet the preset gain condition at the temperature according to the pre-calibrated correspondence between temperature, reverse bias voltage and avalanche gain; generate bias control information corresponding to the target reverse bias voltage, and send the bias control information to the field programmable gate array (FPGA) so that the FPGA controls the bias voltage adjustment circuit to adjust the reverse bias voltage of the avalanche photodiode to the target reverse bias voltage according to the bias control information.
[0091] The avalanche gain of an avalanche photodiode is affected by temperature. All other things being equal, temperature variations can cause changes in the output signal corresponding to the same light intensity. As an example, the gain temperature coefficient of an avalanche photodiode can range from approximately -4% / K to -2% / K. Therefore, its reverse bias voltage needs to be adjusted according to temperature.
[0092] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the third part of a near-infrared brain functional imaging device provided in this application. A temperature sensor 70 is positioned near the avalanche photodiode to collect temperature data characterizing the operating temperature of the avalanche photodiode. The temperature sensor 70 can be a TMP117 digital temperature sensor 70 and is connected to the microcontroller 50 via an integrated circuit bus.
[0093] During the equipment calibration phase, multiple reverse bias voltages are applied to the avalanche photodiode at various temperature points, and the corresponding avalanche gain is measured. This establishes the correlation between temperature, reverse bias voltage, and avalanche gain. This correlation can be stored in the microcontroller 50 in the form of a calibration table, piecewise function, fitted curve, or compensation coefficients. Please refer to [reference needed]. Figure 7 , Figure 7 This is a schematic diagram illustrating the relationship between temperature, reverse bias voltage, and avalanche gain provided in this application. The horizontal axis represents the reverse bias voltage, the vertical axis represents the avalanche gain, and each curve corresponds to a temperature value.
[0094] During the detection process, the microcontroller 50 acquires the temperature collected by the temperature sensor 70 according to a preset compensation cycle. The preset compensation cycle can be set according to the device's heating rate and the operating environment, for example, performing temperature detection and bias voltage compensation every 3 minutes or every 5 minutes, without having to adjust the reverse bias voltage every time light intensity is sampled.
[0095] The microcontroller 50 determines the target reverse bias voltage based on the current temperature, the target avalanche gain, and a pre-calibrated correspondence. When the current temperature is between two adjacent calibration temperature points, linear interpolation or curve fitting can be used to determine the target reverse bias voltage.
[0096] The microcontroller 50 generates bias control information, which is then controlled by the field-programmable gate array 40 to adjust the bias voltage of the avalanche photodiode to the target reverse bias voltage. As an example, when an increase in temperature causes a decrease in avalanche gain, the reverse bias voltage can be increased accordingly to offset the effect of temperature increase on avalanche gain.
[0097] In one optional implementation, a temperature change threshold, a bias voltage adjustment step size, and an adjustment hysteresis range can be set. When the temperature change is less than the temperature change threshold, the current reverse bias voltage is maintained; when the temperature change reaches the temperature change threshold, the reverse bias voltage is gradually adjusted according to the preset adjustment step size, thereby avoiding frequent fluctuations in the reverse bias voltage caused by temperature measurement noise.
[0098] In another optional implementation, when a temperature abrupt change exceeding a preset instantaneous temperature change threshold occurs between two adjacent compensation cycles, the microcontroller 50 can proportionally correct the raw light intensity data collected during that time period according to a pre-calibrated temperature correction coefficient. This data correction is used to compensate for transient errors generated before the bias voltage has been fully adjusted, and does not replace temperature compensation based on the reverse bias voltage.
[0099] In one preferred embodiment, the photodetector includes a plurality of avalanche photodiodes; The temperature sensor is connected to the microcontroller; The bias voltage regulation circuit includes an isolator, a bias digital-to-analog converter with a first analog output terminal and a second analog output terminal, a first high-voltage amplifier and a second high-voltage amplifier, and a field-programmable gate array connected to the control terminal of the bias digital-to-analog converter through the isolator; The first analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the first high-voltage amplifier, and the output terminal of the first high-voltage amplifier forms the first bias voltage output terminal; the second analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the second high-voltage amplifier, and the output terminal of the second high-voltage amplifier forms the second bias voltage output terminal; the first bias voltage output terminal and the second bias voltage output terminal are respectively connected to the reverse bias terminal of at least one avalanche photodiode. The target reverse bias voltage includes a first target reverse bias voltage corresponding to the first bias voltage output terminal and a second target reverse bias voltage corresponding to the second bias voltage output terminal. The bias control information includes first bias control information and second bias control information corresponding to the first target reverse bias voltage and the second target reverse bias voltage, respectively. The field-programmable gate array is also used to control the first analog output terminal and the second analog output terminal of the bias digital-to-analog converter to output corresponding analog voltages respectively through the isolator according to the first bias control information and the second bias control information, so that the first high-voltage amplifier outputs the first target reverse bias voltage and the second high-voltage amplifier outputs the second target reverse bias voltage.
[0100] Please refer to Figure 8 , Figure 8 This is a schematic diagram of the fourth part of a near-infrared brain functional imaging device provided in this application.
[0101] In this embodiment, the photodetector 20 includes multiple avalanche photodiodes, and the near-infrared brain functional imaging device also includes a temperature sensor 70 and a bias voltage adjustment circuit 80.
[0102] Temperature sensor 70 is connected to microcontroller 50 and is positioned near one or more avalanche photodiodes. One temperature sensor 70 can correspond to one avalanche photodiode or a group of avalanche photodiodes in close proximity.
[0103] The bias voltage regulation circuit 80 includes an isolator 81, a bias digital-to-analog converter 82 having a first analog output terminal and a second analog output terminal, a first high-voltage amplifier 83, and a second high-voltage amplifier 84.
[0104] The field-programmable gate array 40 is connected to the control terminal of the bias digital-to-analog converter 82 via an isolator 81. The isolator 81 provides electrical isolation between the low-voltage control side and the high-voltage bias drive side where the field-programmable gate array 40 is located, reducing interference from the high-voltage bias drive side to the low-voltage control side and improving circuit safety. The isolator 81 can be an ISO7741DBQR, and the bias digital-to-analog converter 82 can be a DAC8562SDGSR.
[0105] The bias digital-to-analog converter 82 has two independent analog outputs. Its first analog output is connected to the input of the first high-voltage amplifier 83, and the output of the first high-voltage amplifier 83 forms the first bias voltage output. Its second analog output is connected to the input of the second high-voltage amplifier 84, and the output of the second high-voltage amplifier 84 forms the second bias voltage output.
[0106] The first high-voltage amplifier 83 and the second high-voltage amplifier 84 can each be an ADHV4702-1BCPZ. The two high-voltage amplifiers form two parallel high-voltage amplification branches, rather than connecting the two high-voltage amplifiers in series and then connecting them together to an avalanche photodiode.
[0107] The first bias voltage output terminal and the second bias voltage output terminal are respectively connected to the reverse bias terminal of at least one avalanche photodiode. The first bias voltage output terminal can provide a reverse bias voltage to the first group of avalanche photodiodes, and the second bias voltage output terminal can provide a reverse bias voltage to the second group of avalanche photodiodes. The number of avalanche photodiodes in each group can be determined according to the number of device channels and the bias power supply capability.
[0108] The microcontroller 50 acquires the temperature collected by the temperature sensor 70 according to the preset compensation cycle, and determines the target reverse bias voltage corresponding to the first bias voltage output terminal and the second bias voltage output terminal according to the pre-calibrated correspondence between the temperature, reverse bias voltage and avalanche gain.
[0109] When the first bias voltage output terminal and the second bias voltage output terminal correspond to avalanche photodiodes at different locations or operating temperatures, the reverse bias voltages of the two targets can be different. When the avalanche photodiodes corresponding to the two bias voltage output terminals have the same temperature characteristics and operating temperature, the reverse bias voltages of the two targets can also be the same.
[0110] The microcontroller 50 generates bias control information based on the two target reverse bias voltages and sends the bias control information to the field programmable gate array 40. The bias control information may include the bias voltage output terminal identifier and the corresponding target digital-to-analog conversion value.
[0111] The field-programmable gate array 40 generates a control signal for the bias digital-to-analog converter 82 based on the bias control information, and sends the control signal to the bias digital-to-analog converter 82 through the isolator 81. The first analog output terminal and the second analog output terminal of the bias digital-to-analog converter 82 respectively output low-voltage analog voltages corresponding to the target digital-to-analog conversion value.
[0112] The first high-voltage amplifier 83 amplifies the low-voltage analog voltage output from the first analog output terminal into a first target reverse bias voltage, and applies it to the reverse bias terminal of the corresponding avalanche photodiode through the first bias voltage output terminal; the second high-voltage amplifier 84 amplifies the low-voltage analog voltage output from the second analog output terminal into a second target reverse bias voltage, and applies it to the reverse bias terminal of the corresponding avalanche photodiode through the second bias voltage output terminal.
[0113] Therefore, the microcontroller 50 is responsible for calculating the target reverse bias voltage based on the temperature data, the field programmable gate array 40 is responsible for controlling the bias digital-to-analog converter 82 based on the bias control information sent by the microcontroller 50, the bias digital-to-analog converter 82 is responsible for outputting the corresponding low-voltage analog voltage, and the high-voltage amplifier is responsible for amplifying the low-voltage analog voltage into the reverse bias voltage required by the avalanche photodiode, thus forming a compensation control link for temperature detection, target bias voltage calculation and reverse bias voltage adjustment.
[0114] In one embodiment, the temperature sensor 70 includes a first temperature sensor and a second temperature sensor. The first temperature sensor is disposed near an avalanche photodiode corresponding to a first bias voltage output terminal, and the second temperature sensor is disposed near an avalanche photodiode corresponding to a second bias voltage output terminal. The microcontroller 50 determines a first target reverse bias voltage based on the first temperature collected by the first temperature sensor, and determines a second target reverse bias voltage based on the second temperature collected by the second temperature sensor.
[0115] It should be noted that the specific chip model in this embodiment is only one optional implementation and does not constitute a limitation on the scope of protection of this application. Other devices capable of achieving the same signal isolation, digital-to-analog conversion, high-voltage amplification, temperature detection, programmable gain amplification, or differential conversion functions can also be used to implement the technical solution of this application.
[0116] This application also provides a near-infrared brain functional imaging device, including a near-infrared light source 10, a light source driving circuit 11, a photodetector 20, a signal conditioning circuit 21, an analog-to-digital converter 30, a field-programmable gate array 40, a microcontroller 50, and a host computer 60. The near-infrared light source includes multiple near-infrared emitting units of different wavelengths, and the light source driving circuit is connected to the near-infrared emitting units of different wavelengths respectively. The output terminal of the photodetector is connected to the input terminal of the signal conditioning circuit. The photodetector is used to receive the outgoing light formed by the propagation of near-infrared light emitted by the near-infrared emitting unit through the tissue to be detected, and output the corresponding analog electrical signal. The output of the signal conditioning circuit is connected to the analog input of the analog-to-digital converter. The signal conditioning circuit is used to amplify the analog electrical signal and convert the amplified analog electrical signal into a differential analog signal before outputting it to the analog-to-digital converter. The analog-to-digital converter is connected to the field-programmable gate array (FPGA), which is also connected to the light source driving circuit and the microcontroller. The microcontroller is connected to the host computer. The field-programmable gate array (FPGA) is used to control near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to the emission timing information through the light source driving circuit. It also controls the analog-to-digital converter to sample the differential analog signal within the sampling time window corresponding to the currently emitting near-infrared emitting unit, thereby obtaining the original light intensity data corresponding to different wavelengths, and sending the original light intensity data to the microcontroller. The emission timing information includes the emission order of near-infrared emitting units of different wavelengths and the sampling time window corresponding to each near-infrared emitting unit of different wavelengths. The microcontroller is used to process the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, and then send the near-infrared physiological parameter data to the host computer.
[0117] The near-infrared brain functional imaging device in this embodiment includes a near-infrared light source 10, a light source driving circuit 11, a photodetector 20, a signal conditioning circuit 21, an analog-to-digital converter 30, a field-programmable gate array 40, a microcontroller 50, and a host computer 60.
[0118] The near-infrared light source 10 includes multiple near-infrared emitting units with different wavelengths. The light source driving circuit 11 is connected to the near-infrared emitting units with different wavelengths respectively, and is used to control the corresponding near-infrared emitting units to light up or turn off according to the light emission control signal output by the field programmable gate array 40, and to adjust the driving current of the near-infrared emitting units according to the analog control voltage output by the digital-to-analog converter 12.
[0119] The near-infrared emitting unit is positioned facing the tissue 90 to be detected. The photodetector 20 is spaced apart from the near-infrared emitting unit and is used to receive the outgoing light formed after the near-infrared light emitted by the near-infrared emitting unit propagates through the tissue 90 to be detected, and to convert the outgoing light into an analog electrical signal.
[0120] The output terminal of the photodetector 20 is connected to the input terminal of the signal conditioning circuit 21. The signal conditioning circuit 21 amplifies the analog electrical signal output by the photodetector and converts the amplified analog electrical signal into a differential analog signal through the differential amplifier 23. The differential analog signal is then output to the analog-to-digital converter 30. The signal conditioning circuit may include a filter circuit 211, a programmable gain amplifier 22, and a differential amplifier 23.
[0121] The digital output of the analog-to-digital converter 30 is connected to the field-programmable gate array 40. Under the control of the field-programmable gate array 40, the analog-to-digital converter 30 performs analog-to-digital conversion on the analog electrical signal and sends the digital sampled data to the field-programmable gate array 40.
[0122] The field-programmable gate array 40 is connected to the light source driving circuit 11, the analog-to-digital converter 30, and the microcontroller 50. The field-programmable gate array 40 configures its internal counters, registers, or state machines according to the light emission timing information sent by the microcontroller 50, and generates the light emission control signal of the near-infrared light emission unit and the sampling control signal of the analog-to-digital converter 30 based on the same hardware clock.
[0123] The field-programmable gate array 40 controls the near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to the emission timing information through the light source driving circuit 11, and controls the analog-to-digital converter 30 to sample within the sampling time window corresponding to the currently emitting near-infrared emitting unit. Based on the correspondence between the sampling time window and the emission wavelength, the field-programmable gate array 40 classifies the digital sampled data by wavelength to obtain the original light intensity data corresponding to different wavelengths, and sends the original light intensity data to the microcontroller 50.
[0124] The microcontroller 50 is connected to the host computer 60. The microcontroller 50 receives the target detection scheme from the host computer 60, parses the scheme, and sends the corresponding emission timing information to the field-programmable gate array 40. The microcontroller 50 also receives raw light intensity data of different wavelengths sent by the field-programmable gate array 40, and performs filtering, averaging, optical density change calculation, and physiological parameter calculation on the embedded end to obtain near-infrared physiological parameter data.
[0125] The microcontroller 50 sends near-infrared physiological parameter data to the host computer 60. The microcontroller 50 can also generate acquisition channel gain adjustment information, luminous intensity adjustment information, or bias voltage adjustment information based on the raw light intensity data, and control the corresponding hardware via the field-programmable gate array 40.
[0126] The host computer 60 is used to select the target detection scheme, send start and stop acquisition commands to the microcontroller 50, and generate visualization information based on the near-infrared physiological parameter data sent by the microcontroller 50. After the target detection scheme is issued, the microsecond-level emission and sampling timing during the detection process is executed autonomously by the field-programmable gate array 40. The host computer 60 does not need to send start / stop commands for each near-infrared emission unit and sampling commands for each instance.
[0127] Therefore, the data transmission path in this device is as follows: near-infrared light source 10 emits near-infrared light, photodetector 20 receives the emitted light propagated through the tissue to be detected 90 and outputs an analog electrical signal, signal conditioning circuit 21 conditions the analog electrical signal, analog-to-digital converter 30 outputs digital sampling data, field programmable gate array 40 classifies the digital sampling data by wavelength, microcontroller 50 converts the original light intensity data of different wavelengths into near-infrared physiological parameter data, and host computer 60 visualizes the near-infrared physiological parameter data.
[0128] In a preferred embodiment, the signal conditioning circuit includes a programmable gain amplifier and a differential amplifier; The input terminal of the programmable gain amplifier is connected to the output terminal of the photodetector, and the gain control terminal of the programmable gain amplifier is connected to the microcontroller for communication. The programmable gain amplifier is used to amplify the analog electrical signal according to the target gain determined by the microcontroller based on the original light intensity data. The input terminal of the differential amplifier is connected to the output terminal of the programmable gain amplifier, and the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter. The differential amplifier is used to convert the amplified analog electrical signal into a differential analog signal and output the differential analog signal to the analog-to-digital converter.
[0129] In this embodiment, the programmable gain amplifier 22 is disposed between the photodetector and the differential amplifier 23, and is used to amplify the weak analog electrical signal output by the photodetector with adjustable gain. The microcontroller 50 determines the target gain based on the signal strength range of the original light intensity data, and controls the programmable gain amplifier 22 to switch to the target gain through the gain control terminal. In one embodiment, the microcontroller 50 is directly connected to the gain control terminal; in another embodiment, the microcontroller 50 sends the gain control information to the field-programmable gate array 40, which controls the programmable gain amplifier 22 to switch gain levels.
[0130] The differential amplifier 23 is used to convert the single-ended analog electrical signal output by the programmable gain amplifier 22 into a differential analog signal that matches the differential analog input of the analog-to-digital converter 30, thereby improving the common-mode interference suppression capability during signal transmission and analog-to-digital conversion.
[0131] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0132] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data processing device for near-infrared physiological parameters, characterized in that, An application is made in a near-infrared brain functional imaging device, the near-infrared brain functional imaging device comprising a near-infrared light source, a photodetector, an analog-to-digital converter, and a host computer, wherein the near-infrared light source comprises multiple near-infrared emitting units of different wavelengths, and the device comprises: A field-programmable gate array (FPGA) is used to control near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to emission timing information. The FPGA also controls the analog-to-digital converter (ADC) to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within a sampling time window corresponding to the currently emitting near-infrared emitting unit, thereby obtaining raw light intensity data corresponding to different wavelengths. This raw light intensity data is then sent to a microcontroller. The emission timing information includes the emission sequence of the near-infrared emitting units of different wavelengths and the sampling time windows corresponding to each of the different wavelengths. The microcontroller, which is connected to the field-programmable gate array, is used to process the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, and then send the near-infrared physiological parameter data to the host computer.
2. The near-infrared physiological parameter data processing device as described in claim 1, characterized in that, The emission timing information also includes emission time windows corresponding to the near-infrared emission units of different wavelengths and total extinction time windows between two adjacent emission time windows; The field-programmable gate array (FPGA) is also used to control the current near-infrared emitting unit to emit light within the corresponding emission time window, and to control the analog-to-digital converter (ADC) to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit. The start time of the sampling time window is later than the start time of the corresponding emission time window, and the end time of the sampling time window is earlier than the end time of the corresponding emission time window. Within the total extinction time window, the near-infrared emitting units of different wavelengths are controlled to stop emitting light, and the ADC is controlled to stop sampling.
3. The near-infrared physiological parameter data processing device as described in claim 2, characterized in that, Controlling the analog-to-digital converter to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within a sampling time window corresponding to the currently emitting near-infrared emitting unit includes: The analog-to-digital converter is controlled to sample the analog electrical signal output by the photodetector based on the near-infrared light propagating through the tissue to be detected within the sampling time window corresponding to the currently emitting near-infrared emitting unit, according to a preset sampling period, to obtain the original light intensity data sequence corresponding to the currently emitting near-infrared emitting unit, and the original light intensity data sequence is sent to the microcontroller. The microcontroller is also used to perform at least one of filtering and averaging processing on the original light intensity data sequences corresponding to different wavelengths to obtain effective light intensity data corresponding to different wavelengths, and to determine the near-infrared physiological parameter data based on the effective light intensity data corresponding to different wavelengths.
4. The near-infrared physiological parameter data processing device as described in claim 1, characterized in that, The near-infrared light source includes multiple near-infrared emitting groups, and each near-infrared emitting group includes multiple near-infrared emitting units of different wavelengths; The microcontroller is also used to acquire the target detection scheme issued by the host computer, and to determine the near-infrared emitting groups participating in the current detection, the emission order of each near-infrared emitting group, and the emission order of the near-infrared emitting units of different wavelengths in each near-infrared emitting group according to the target detection scheme. The emission timing information is determined based on the near-infrared emission groups participating in the current detection, the emission sequence of each near-infrared emission group, and the emission sequence of the near-infrared emission units of different wavelengths in each near-infrared emission group, and the emission timing information is sent to the field programmable gate array.
5. The near-infrared physiological parameter data processing device as described in claim 1, characterized in that, The microcontroller is also used to determine the corresponding optical signal state based on the original light intensity data corresponding to different wavelengths; when the optical signal state indicates that the photodetector has received an optical signal and the intensity of the optical signal is lower than a preset signal intensity, the gain of the acquisition channel corresponding to the photodetector is increased; when the optical signal state indicates that the photodetector has not received a valid optical signal, the luminous intensity of the corresponding near-infrared emitting unit is increased. The field-programmable gate array is also used to control the corresponding near-infrared emitting unit to emit light again after the gain of the acquisition channel is increased or the luminous intensity of the corresponding near-infrared emitting unit is increased, and to control the analog-to-digital converter to reacquire the original light intensity data of the corresponding wavelength of the near-infrared emitting unit, and to send the reacquired original light intensity data to the microcontroller. The microcontroller is also used to update the original light intensity data for the corresponding wavelength with the newly acquired original light intensity data, and to determine the near-infrared physiological parameter data according to the original light intensity data corresponding to the updated different wavelengths.
6. The near-infrared physiological parameter data processing device as described in claim 5, characterized in that, The near-infrared brain functional imaging device also includes a programmable gain amplifier, a differential amplifier, a digital-to-analog converter, and a light source driving circuit. The light source driving circuit includes multiple light source driving branches corresponding to the near-infrared emitting units of different wavelengths. The output terminal of the photodetector is connected to the input terminal of the programmable gain amplifier, the output terminal of the programmable gain amplifier is connected to the input terminal of the differential amplifier, the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter, and the gain control terminal of the programmable gain amplifier is connected to the microcontroller for communication. The programmable gain amplifier is used to amplify the analog electrical signal output by the photodetector according to the target gain, and the differential amplifier is used to convert the amplified analog electrical signal into a differential analog signal and output it to the analog-to-digital converter. The control terminal of the digital-to-analog converter is connected to the field-programmable gate array (FPGA). The digital-to-analog converter has multiple analog output terminals. The near-infrared brain functional imaging device also includes multiple analog switches that correspond to multiple light source driving branches. The multiple analog output terminals are connected one-to-one with the control input terminals of the multiple light source driving branches through the multiple analog switches. The control terminals of the multiple analog switches are connected to the FPGA. The field-programmable gate array is also used to control the on / off state of multiple analog switches according to the light emission timing information, so as to transmit the control voltage output by the corresponding analog output terminal in the digital-to-analog converter to the light source driving branch corresponding to the currently emitting near-infrared emitting unit. The output terminal of each of the light source driving branches is connected to the near-infrared light-emitting unit of the corresponding wavelength; The microcontroller is also used to determine a target gain greater than the current gain of the programmable gain amplifier based on the original light intensity data when the light signal state characterizes that the photodetector has received a light signal and the intensity of the light signal is lower than the preset signal intensity, and to control the programmable gain amplifier to switch to the target gain. The microcontroller is also used to generate light intensity adjustment information corresponding to the near-infrared emitting unit to be adjusted when the light signal state characterizes that the photodetector has not received a valid light signal, and to send the light intensity adjustment information to the field programmable gate array. The field-programmable gate array is also used to control the digital-to-analog converter to increase the control voltage output to the corresponding light source driving branch according to the light intensity modulation information, so as to increase the driving current flowing through the corresponding near-infrared light-emitting unit in the light source driving branch.
7. The data processing device for near-infrared physiological parameters as described in any one of claims 1 to 6, characterized in that, The photodetector includes at least one avalanche photodiode, and the near-infrared brain functional imaging device also includes a temperature sensor and a bias voltage adjustment circuit. The microcontroller is also used to obtain the temperature corresponding to the avalanche photodiode through the temperature sensor according to a preset compensation period; and to determine the target reverse bias voltage at the temperature that makes the avalanche gain of the avalanche photodiode meet the preset gain condition according to the pre-calibrated correspondence between temperature, reverse bias voltage and avalanche gain. A bias control information corresponding to the target reverse bias voltage is generated, and the bias control information is sent to the field programmable gate array (FPGA) so that the FPGA controls the bias voltage adjustment circuit to adjust the reverse bias voltage of the avalanche photodiode to the target reverse bias voltage according to the bias control information.
8. The data processing device for near-infrared physiological parameters as described in claim 7, characterized in that, The photodetector includes multiple avalanche photodiodes; The temperature sensor is connected to the microcontroller; The bias voltage regulation circuit includes an isolator, a bias digital-to-analog converter with a first analog output terminal and a second analog output terminal, a first high-voltage amplifier and a second high-voltage amplifier, and the field-programmable gate array is connected to the control terminal of the bias digital-to-analog converter through the isolator. The first analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the first high-voltage amplifier, and the output terminal of the first high-voltage amplifier forms a first bias voltage output terminal; the second analog output terminal of the bias digital-to-analog converter is connected to the input terminal of the second high-voltage amplifier, and the output terminal of the second high-voltage amplifier forms a second bias voltage output terminal; the first bias voltage output terminal and the second bias voltage output terminal are respectively connected to the reverse bias terminal of at least one avalanche photodiode. The target reverse bias voltage includes a first target reverse bias voltage corresponding to the first bias voltage output terminal and a second target reverse bias voltage corresponding to the second bias voltage output terminal. The bias control information includes first bias control information and second bias control information corresponding to the first target reverse bias voltage and the second target reverse bias voltage, respectively. The field-programmable gate array is further configured to control the first analog output terminal and the second analog output terminal of the bias digital-to-analog converter to output corresponding analog voltages respectively through the isolator according to the first bias control information and the second bias control information, so that the first high-voltage amplifier outputs the first target reverse bias voltage and the second high-voltage amplifier outputs the second target reverse bias voltage.
9. A near-infrared brain functional imaging device, characterized in that, It includes near-infrared light sources, light source driving circuits, photodetectors, signal conditioning circuits, analog-to-digital converters, field-programmable gate arrays, microcontrollers, and host computers; The near-infrared light source includes multiple near-infrared emitting units of different wavelengths, and the light source driving circuit is connected to the near-infrared emitting units of different wavelengths respectively. The output terminal of the photodetector is connected to the input terminal of the signal conditioning circuit. The photodetector is used to receive the emitted light formed by the near-infrared light emitted by the near-infrared light-emitting unit after propagation through the tissue to be detected, and output the corresponding analog electrical signal. The output terminal of the signal conditioning circuit is connected to the analog input terminal of the analog-to-digital converter. The signal conditioning circuit is used to amplify the analog electrical signal and convert the amplified analog electrical signal into a differential analog signal before outputting it to the analog-to-digital converter. The analog-to-digital converter is connected to the field-programmable gate array (FPGA), which is also connected to the light source driving circuit and the microcontroller, and the microcontroller is connected to the host computer. The field-programmable gate array (FPGA) is used to control the near-infrared emitting units of different wavelengths to emit light in a time-division multiplexing manner according to the emission timing information through the light source driving circuit, and to control the analog-to-digital converter to sample the differential analog signal within the sampling time window corresponding to the currently emitting near-infrared emitting unit, so as to obtain the original light intensity data corresponding to different wavelengths, and send the original light intensity data to the microcontroller; the emission timing information includes the emission order of the near-infrared emitting units of different wavelengths and the sampling time window corresponding to the near-infrared emitting units of different wavelengths respectively; The microcontroller is used to process the raw light intensity data corresponding to different wavelengths to obtain near-infrared physiological parameter data, and then send the near-infrared physiological parameter data to the host computer.
10. The near-infrared brain functional imaging device as described in claim 9, characterized in that, The signal conditioning circuit includes a programmable gain amplifier and a differential amplifier; The input terminal of the programmable gain amplifier is connected to the output terminal of the photodetector, and the gain control terminal of the programmable gain amplifier is communicatively connected to the microcontroller. The programmable gain amplifier is used to amplify the analog electrical signal according to the target gain determined by the microcontroller based on the original light intensity data. The input terminal of the differential amplifier is connected to the output terminal of the programmable gain amplifier, and the output terminal of the differential amplifier is connected to the analog input terminal of the analog-to-digital converter. The differential amplifier is used to convert the amplified analog electrical signal into the differential analog signal and output the differential analog signal to the analog-to-digital converter.
