Tms coil position localization and detection methods and apparatus
Patent Information
- Application Number
- CN202611054204.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-08-28
AI Technical Summary
[0004]本申请所要解决的技术问题是在传统TMS设备的操作过程中,患者坐在椅子上,随着治疗进行,可能会因为放松、打哈欠、不适而轻微移动头部,导致TMS线圈与人体头部的相对位置发生偏移,使线圈产生的磁场无法作用在相应的区域
本申请提供的TMS线圈位置定位与检测方法及设备,方法提及,先采集头部反光贴的反射光信号,完成光电转换并提取光信号幅度值,依托幅度值计算光强变异系数;通过调整线圈位姿,在反射光光强幅度达到最大值、光强变异系数小于第一预设阈值时锁定线圈最佳位姿,同步存储该状态下的信号幅度、光强变异系数、陀螺仪姿态数据作为基准参数;治疗全程持续采集线圈实时运行参数,对比实时参数与基准参数计算各项偏离数据,一旦偏离数据超出第二预设阈值,即刻输出线圈偏离提示信号。通过光学信号量化线圈对位状态,摆脱人工主观手感判断,可精准标定磁场有效作用的最佳线圈位置与角度;治疗过程中实现头部微动、线圈倾斜偏移的全自动实时监测,一旦线圈偏离有效刺激位姿及时预警,避免磁场错位造成无效治疗,同时依托存储的基准参数为操作人员复位线圈提供量化调整依据。
Smart Images

Figure CN122643591A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical device technology, and in particular to a method and equipment for TMS coil positioning and detection. Background Technology
[0002] Transcranial magnetic stimulation (TMS) is a non-invasive and painless neuromodulation technique that precisely stimulates the cerebral cortex with a magnetic field to regulate neural activity. It is used for the treatment of mental and neurological diseases and in brain science research. The core principle is based on Faraday's law of electromagnetic induction. An energized coil in the device generates a rapidly changing, strong pulsed magnetic field that penetrates the scalp and skull, inducing a weak current within a depth of 2–3 cm in the cerebral cortex. This current alters the neuronal membrane potential, activating or inhibiting its excitability. High frequencies (>1Hz) enhance brain activity; low frequencies (≤1Hz) inhibit overactivity. The magnetic field generated by the TMS coil must penetrate the skull to induce a sufficiently strong electric field in a specific brain region to alter the neuronal membrane potential.
[0003] During the operation of traditional TMS devices, the patient sits in a chair and may slightly move their head as the treatment progresses due to relaxation, yawning, or discomfort. This causes the relative position of the TMS coil and the patient's head to shift, preventing the magnetic field generated by the coil from acting on the corresponding area. Summary of the Invention
[0004] The technical problem this application aims to solve is that during the operation of traditional TMS devices, when the patient is sitting in a chair, as the treatment progresses, they may slightly move their head due to relaxation, yawning, or discomfort, causing the relative position of the TMS coil and the patient's head to shift, making it impossible for the magnetic field generated by the coil to act on the corresponding area.
[0005] To address the aforementioned issues, this application provides a method and apparatus for TMS coil positioning and detection.
[0006] In a first aspect, the present invention discloses a method for locating and detecting the position of a TMS coil, comprising, The reflected light signal from the reflective sticker is obtained, the light signal is converted into an electrical signal, the amplitude value is extracted from the electrical signal, and the light intensity variation coefficient is calculated based on the amplitude value to obtain the light intensity amplitude value and the light intensity variation coefficient. Adjust the position and angle of the coil until the amplitude value of the reflected light signal reaches its maximum and the coefficient of variation of the light intensity exceeds the first preset threshold. Obtain the optimal position and angle of the coil and collect the parameters of the optimal position and angle, including the signal amplitude, the coefficient of variation of the light intensity, and the gyroscope data. The parameters corresponding to the position of the coil are detected in real time to obtain real-time parameters. The deviation data between the real-time parameters and the parameters of the optimal position angle of the coil is calculated. When the deviation data deviates from the second preset threshold, the coil deviation signal is output.
[0007] Preferably, the reflected light signal from the reflective sticker is acquired, the light signal is converted into an electrical signal, the amplitude value is extracted from the electrical signal, and the light intensity variation coefficient is calculated based on the amplitude value to obtain the light intensity amplitude value and the light intensity variation coefficient. Specifically, this includes the following steps: The optical receiver receives the reflected light signal from the reflector, converts it into an analog electrical signal, and then uses an analog-to-digital converter to convert the analog electrical signal into a digital electrical signal. The amplitude and frequency values of the light intensity amplitude are extracted from the digital electrical signal corresponding to the reflected light signal. Collect a set of amplitude values of digital electrical signals over a preset period of time, calculate the standard deviation and mean of the amplitude values based on the set of amplitude values, and calculate the coefficient of variation of light intensity to obtain the coefficient of variation of light intensity.
[0008] Preferably, the position and angle of the coil are adjusted until the reflected light signal reaches its maximum intensity amplitude and the intensity variation coefficient exceeds a first preset threshold, thus obtaining the optimal position and angle of the coil, and the parameters of the optimal position and angle are collected. Specifically, this includes the following steps: By arbitrarily changing the position and angle of the coil, the corresponding light intensity amplitude value and real-time light intensity variation coefficient at the real-time position of the coil are collected. When the real-time light intensity amplitude reaches its maximum value and the real-time light intensity variation coefficient is less than 0.5, it is determined that the reflected light signal is aligned with the reflector to obtain the optimal position angle of the coil. The signal amplitude, light intensity variation coefficient, and gyroscope data of the coil at the optimal position angle are recorded to obtain the parameters of the optimal position angle. The gyroscope data includes Euler angle data obtained by the gyroscope.
[0009] Preferably, the parameters corresponding to the position of the coil are detected in real time to obtain real-time parameters. The deviation data between the real-time parameters and the parameters of the optimal position angle of the coil is calculated. When the deviation data deviates from the second preset threshold, a coil deviation signal is output. Specifically, this includes the following steps: After the coil is put on by the user, the position and angle of the coil and the corresponding signal amplitude, light intensity variation coefficient, and gyroscope data are detected in real time to obtain real-time parameters, including the real-time detected signal amplitude value, the real-time detected light intensity variation coefficient, and the real-time detected gyroscope data. The deviation data is obtained by calculating the deviation between the amplitude value of the real-time detected signal and the amplitude value of the light intensity at the optimal position angle of the coil, the deviation between the coefficient of variation of the real-time detected light intensity and the coefficient of variation of the light intensity at the optimal position angle of the coil, and the deviation between the real-time detected gyroscope data and the gyroscope data at the optimal position angle of the coil. Compare the deviation data with the second preset threshold. If the first deviation data is greater than or equal to 3%, the second deviation data is greater than or equal to 0.2%, or the third deviation data is greater than or equal to 5%, the real-time parameter is determined to deviate from the optimal position angle of the coil. If the real-time position angle of the coil deviates from the optimal position angle of the coil, a deviation signal is output to the host computer.
[0010] Preferably, it includes the following steps: A reflective sticker is attached to the head, and a coil is attached to the head. A light signal with a preset amplitude and frequency value is modulated and shone from the opening of the coil onto the head. The reflective sticker reflects the light signal, and the coil collects the reflected light signal.
[0011] Preferably, the procedure specifically includes the following steps: Wear a photoluminescence cap on your head, with reflective stickers covering your head; The coil is attached to the head, and the emitted light signal is modulated according to the preset amplitude and frequency values. The modulated light signal is directed from the open coil of the coil to the reflective patch on the head, while the reflected light signal is collected from the reflective patch.
[0012] Preferably, the following steps are then included: Continuously receive coil deviation signals, adjust the position and angle of the coil until the coil deviation signal stops being output, and then stop adjusting the position and angle of the coil.
[0013] Secondly, the present invention discloses a TMS coil position positioning and detection device, which operates using the aforementioned TMS coil position positioning and detection method.
[0014] Preferably, it includes a coil mechanism and an optical fiber collimation mechanism. The coil mechanism is provided with a window and is connected to the optical fiber collimation mechanism. The optical fiber collimation mechanism faces the head from the window.
[0015] Preferably, the fiber optic collimation mechanism includes a gyroscope, an optical fiber, an optical receiver, a collimating lens, and a light-emitting element. The optical fiber connects the gyroscope, the optical receiver, and the light-emitting element. The light emitted by the light-emitting element is emitted from the collimating lens, and the reflected light signal enters the fiber optic collimation mechanism from the collimating lens and is received by the optical receiver. The gyroscope detects the Euler angle data of the detection coil mechanism.
[0016] The technical solution provided in this application has the following advantages compared with the prior art: The TMS coil positioning and detection method and device provided in this application include the following steps: First, the reflected light signal from the head reflective patch is collected, photoelectric conversion is completed, and the amplitude value of the light signal is extracted. The light intensity variation coefficient is calculated based on the amplitude value. By adjusting the coil posture, the optimal coil posture is locked when the reflected light intensity amplitude reaches its maximum value and the light intensity variation coefficient is less than a first preset threshold. The signal amplitude, light intensity variation coefficient, and gyroscope posture data in this state are stored simultaneously as reference parameters. Throughout the treatment, the real-time operating parameters of the coil are continuously collected, and various deviation data are calculated by comparing the real-time parameters with the reference parameters. Once the deviation data exceeds a second preset threshold, a coil deviation prompt signal is immediately output. By quantifying the coil alignment state through optical signals, the subjective judgment of human touch is eliminated, and the optimal coil position and angle for effective magnetic field action can be accurately calibrated. During the treatment, fully automatic real-time monitoring of head micro-movements and coil tilting and displacement is achieved. Once the coil deviates from the effective stimulation posture, an early warning is issued in time to avoid ineffective treatment caused by magnetic field misalignment. At the same time, the stored reference parameters provide quantitative adjustment basis for the operator to reset the coil.
[0017] The equipment includes a coil mechanism and an optical fiber collimation mechanism. The coil mechanism has a window, and the optical fiber collimation mechanism is installed in the window. The coil mechanism and the optical fiber collimation mechanism are connected and connected. Optical signals are transmitted over long distances via the optical fiber path, avoiding electromagnetic interference from the strong pulse magnetic field of the TMS coil on the photoelectric detection circuit. The hardware as a whole is equipped with the aforementioned positioning and detection method to complete the entire process of signal acquisition, calculation, and offset determination. The hardware layout using the windowed optical fiber collimation mechanism physically isolates the optical path from the coil magnetic field area, solving the problem of strong magnetic field interference with the optical detection circuit and ensuring stable and reliable acquisition of reflected light signals. The hardware structure is deeply adapted to the positioning and detection method, and can stably complete optical signal transmission and reception, synchronous acquisition of coil attitude, and fully realize the hardware carrier function of coil reference calibration and real-time offset detection throughout the process, making it suitable for long-term clinical TMS treatment scenarios. Attached Figure Description
[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating a TMS coil position positioning and detection method provided in this application; Figure 2A flowchart of step S1 of the TMS coil position positioning and detection method provided in this application; Figure 3 A flowchart illustrating the extraction of amplitude and frequency values from reflected light signals in a TMS coil positioning and detection method provided in this application; Figure 4 A flowchart of step S2 of the TMS coil position positioning and detection method provided in this application; Figure 5 A flowchart illustrating step S2 of the TMS coil position positioning and detection method provided in this application; Figure 6 A flowchart of step S3 of the TMS coil position positioning and detection method provided in this application; Figure 7 A flowchart illustrating step S3 of the TMS coil position positioning and detection method provided in this application; Figure 8 The structure of the TMS coil position positioning and detection device provided in this application Figure 1 ; Figure 9 The structure of the TMS coil position positioning and detection device provided in this application Figure 2 ; Figure 10 This is a diagram illustrating the usage status of a TMS coil positioning and detection device provided in this application.
[0021] Explanation of reference numerals in the attached figures: 1. TMS coil positioning and detection equipment; 11. Coil mechanism; 111. Window opening; 12. Fiber optic collimation mechanism. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] Firstly, see Figures 1-7 This invention discloses a method for locating and detecting the position of a TMS coil, comprising: Step S1: Obtain the reflected light signal from the reflective sticker, convert the light signal into an electrical signal, extract the amplitude value from the electrical signal, calculate the light intensity variation coefficient based on the amplitude value, and obtain the light intensity amplitude value and the light intensity variation coefficient. Step S2: Adjust the position and angle of the coil until the amplitude value of the reflected light signal reaches its maximum and the coefficient of variation of the light intensity exceeds the first preset threshold. Obtain the optimal position and angle of the coil and collect the parameters of the optimal position and angle, including the signal amplitude, the coefficient of variation of the light intensity, and the gyroscope data. Step S3: Real-time detection of the parameters corresponding to the position of the coil, obtaining real-time parameters, calculating the deviation data between the real-time parameters and the parameters of the optimal position angle of the coil, and outputting the coil deviation signal when the deviation data deviates from the second preset threshold.
[0024] Specifically, in step S1, the device collects the reflected light signal returned by the reflective sticker on the head target. The photodetector converts the light signal into an analog electrical signal, which is then amplified, converted from analog to digital, and demodulated using a bandpass filter to extract the effective light signal amplitude value. The system continuously collects multiple sets of amplitude values in a 1-second rolling data window, calculates the mean and standard deviation of the amplitude values to solve for the light intensity variation coefficient, and finally outputs the real-time light intensity amplitude value and light intensity variation coefficient synchronously. This completes the acquisition, signal conversion, and quantization calculation of the reflected light signal from the head reflective sticker, and outputs the light intensity amplitude value and light intensity variation coefficient that can be used to determine the coil alignment status.
[0025] Specifically, in step S2, the operator continuously moves and rotates the TMS coil to change its position and tilt angle. The device simultaneously outputs the light intensity amplitude and light intensity variation coefficient in real time. When the light intensity amplitude corresponding to the reflected light reaches the maximum value of the current interval, and the light intensity variation coefficient meets the condition of being less than the first preset threshold, the current coil pose is determined to be the optimal stimulation position angle. Simultaneously, the reference parameters in this state are collected and stored, including the reference signal amplitude, the reference light intensity variation coefficient, and the coil's three-axis gyroscope attitude data. This ensures precise alignment with the optimal position and angle of the brain stimulation target, and saves the reference parameters, providing a comparative standard for judging deviations during the treatment phase.
[0026] Specifically, in step S3, the real-time light intensity amplitude and light intensity variation coefficient of the coil are continuously collected during the treatment process. Simultaneously, the gyroscope collects the coil's current posture data in real time, integrating these data to form real-time parameters. These real-time parameters are then compared with the optimal position reference parameters to calculate three types of deviation data: light intensity, light spot stability, and coil posture. If any type of deviation data exceeds a second preset threshold, the device immediately outputs a coil deviation warning signal, reminding the operator to adjust and reset the coil. Throughout the treatment, the coil's posture changes are monitored in real time, automatically identifying coil deviations caused by patient head movement or hand fatigue. If the deviation exceeds the limit, a warning signal is proactively issued to prevent the magnetic field from deviating from the target brain region, thus avoiding ineffective treatment.
[0027] The TMS coil positioning and detection method and device provided in this application include the following steps: First, the reflected light signal from the head reflective patch is collected, photoelectric conversion is completed, and the amplitude value of the light signal is extracted. The light intensity variation coefficient is calculated based on the amplitude value. By adjusting the coil posture, the optimal coil posture is locked when the reflected light intensity amplitude reaches its maximum value and the light intensity variation coefficient is less than a first preset threshold. The signal amplitude, light intensity variation coefficient, and gyroscope posture data in this state are stored simultaneously as reference parameters. Throughout the treatment, the real-time operating parameters of the coil are continuously collected, and various deviation data are calculated by comparing the real-time parameters with the reference parameters. Once the deviation data exceeds a second preset threshold, a coil deviation prompt signal is immediately output. By quantifying the coil alignment state through optical signals, the subjective judgment of human touch is eliminated, and the optimal coil position and angle for effective magnetic field action can be accurately calibrated. During the treatment, fully automatic real-time monitoring of head micro-movements and coil tilting and displacement is achieved. Once the coil deviates from the effective stimulation posture, an early warning is issued in time to avoid ineffective treatment caused by magnetic field misalignment. At the same time, the stored reference parameters provide quantitative adjustment basis for the operator to reset the coil.
[0028] Step S1 specifically includes the following steps: Step S11: The optical receiver receives the reflected light signal from the reflective sticker, converts it into an analog electrical signal, and then converts the analog electrical signal into a digital electrical signal through an analog-to-digital converter; Step S12: Extract the amplitude and frequency values based on the digital electrical signal corresponding to the reflected light signal to obtain the light intensity amplitude value; Step S13: Collect the set of amplitude values of digital electrical signals within a preset time period, calculate the standard deviation and mean of the amplitude values based on the set of amplitude values, and calculate the light intensity variation coefficient to obtain the light intensity variation coefficient.
[0029] Specifically, the process begins with a light receiver receiving the reflected light signal from the reflective pad on the head, converting it into an analog electrical signal. This analog signal is then sampled and converted by an analog-to-digital converter (ADC) to output a digital electrical signal. Next, the amplitude and frequency values of the digital electrical signal corresponding to the reflected light are extracted. After filtering out irrelevant stray light frequency components, the effective light intensity amplitude value is obtained. Finally, multiple sets of digital electrical signals corresponding to the light intensity amplitude values within a preset time period are collected to form an amplitude value set. The standard deviation and mean of the amplitude values within this set are calculated, and the light intensity variation coefficient is obtained by combining the standard deviation and mean. This step completes the entire process from light signal to quantified optical indicators. Analog-to-digital conversion digitizes the signal, frequency filtering eliminates interference from natural and ambient light, and the calculation of the variation coefficient using amplitude data over a period quantifies the completeness of the light spot coverage of the reflective pad. The output is stable and can be used to determine the coil alignment accuracy, providing a precise and interference-resistant quantitative data foundation for subsequent calibration of the coil's optimal pose and real-time monitoring of coil offset.
[0030] The specific operation is as follows: After being reflected back through the reflective pad and then through the optical fiber, the light is detected by the optical receiving sensor, converted into an electrical signal, amplified by the internal amplifier circuit, converted by an ADC (analog-to-digital converter), and then processed to demodulate the magnitude of the light amplitude change. Then, the light intensity variation coefficient is calculated using Aa. ;in Let A be the standard deviation. The above calculation is based on the average value of Aa, calculated for a 1-second time frame in a real-time scrolling data window.
[0031] Step S2 specifically includes the following steps: Step S21: Arbitrarily change the position and angle of the coil, and collect the corresponding light intensity amplitude value and real-time light intensity variation coefficient at the real-time position of the coil; Step S22: When the real-time light intensity amplitude value reaches its maximum value and the real-time light intensity variation coefficient is less than 0.5, determine that the reflected light signal is aligned with the reflector to obtain the optimal position angle of the coil; Step S23: Record the signal amplitude, light intensity variation coefficient, and gyroscope data of the optimal position angle of the coil to obtain the parameters of the optimal position angle. The gyroscope data includes the Euler angle data obtained by the gyroscope detection.
[0032] Specifically, the operator can freely adjust the position and tilt angle of the coil. The device simultaneously and continuously collects the real-time light intensity amplitude and coefficient of variation corresponding to the current coil position. The collected light intensity amplitude and coefficient of variation are compared in real time. When the real-time light intensity amplitude is at its maximum and the real-time coefficient of variation is less than 0.5, the reflected light spot is determined to be completely aligned with the head reflective patch. The current position and angle of the coil are determined to be the optimal stimulation pose. The signal amplitude, coefficient of variation, and three-axis Euler angle data output by the gyroscope under this optimal pose are simultaneously collected and stored, forming complete optimal position reference parameters. Step S2 objectively and quantitatively filters out the coil posture where the magnetic field can accurately act on the target brain region, abandoning the traditional method relying on the operator's subjective judgment. It also saves a complete set of reference parameters, including optical alignment indicators and coil posture, providing a unified and reliable comparative standard for real-time detection of coil displacement in subsequent treatment stages.
[0033] The specific operation is as follows: Arbitrarily change several positions and angles of the coil to make the value of Aa tend to the maximum. At the same time, when the CV value is less than 0.5, it is determined to be aligned with the reflector. At this time, the current light intensity amplitude value, light intensity variation coefficient, and gyroscope data are obtained, that is, the current value of Aa MaxAa and the CV value tCV are recorded, as well as the current Euler angle values of the gyroscope tGx, tGy, and tGz.
[0034] Step S3 specifically includes the following steps: Step S31: After the coil is put on by the user, the position angle of the coil and the corresponding signal amplitude, light intensity variation coefficient and gyroscope data are detected in real time to obtain real-time parameters, including real-time detected signal amplitude value, real-time detected light intensity variation coefficient and real-time detected gyroscope data. Step S32: Calculate the deviation data between the real-time detection signal amplitude value and the light intensity amplitude value at the optimal position angle of the coil, the deviation data between the real-time detection light intensity variation coefficient and the light intensity variation coefficient at the optimal position angle of the coil, and the deviation data between the real-time detection gyroscope data and the gyroscope data at the optimal position angle of the coil, and obtain the deviation data. Step S33: Compare the deviation data with the second preset threshold. If the first deviation data is greater than or equal to ≥3%, or the second deviation data is ≥0.2%, or the third deviation data is ≥5%, determine the parameter that the real-time parameter deviates from the optimal position angle of the coil. If the real-time position angle of the coil deviates from the optimal position angle of the coil, output a deviation signal to the host computer.
[0035] Specifically, throughout the entire treatment process after the patient wears the coil, the current position and angle of the coil are continuously and in real time collected. The corresponding real-time signal amplitude value, real-time light intensity variation coefficient, and real-time gyroscope Euler angle data are simultaneously acquired and integrated to form real-time parameters. Three sets of deviation data are calculated respectively: the deviation of the real-time light intensity amplitude from the reference maximum light intensity amplitude, the difference between the real-time light intensity variation coefficient and the reference variation coefficient, and the attitude deviation modulus obtained by comprehensively calculating the real-time gyroscope Euler angle and the reference Euler angle. The three sets of deviation data are compared with the second preset threshold. If any of the following conditions are met: signal amplitude deviation data ≥3%, light intensity variation coefficient deviation data ≥0.2, or gyroscope data deviation data ≥5, the coil's current posture is determined to deviate from the calibrated optimal stimulation posture, and a coil deviation prompt signal is output to the host computer. This step can continuously and automatically monitor the coil alignment status throughout the entire treatment cycle. It simultaneously combines optical spot matching indicators and coil posture data to achieve multi-dimensional deviation judgment. No continuous manual observation is required. It can promptly identify coil misalignment caused by patient head micro-movements, operator hand fatigue, etc., and actively issue warnings to avoid ineffective treatment due to magnetic field deviation from the target brain region. At the same time, the host computer prompts and guides the operator to quickly adjust back to the standard stimulation position according to the reference parameters, ensuring the accuracy of TMS treatment stimulation and the stability of clinical efficacy.
[0036] The specific operation is as follows: If |Aa-MaxAa| / Aa≥3% or |CV-tCV|≥0.2 or If the value is ≥5, the parameter deviates from the judgment value, where Aa is the amplitude information of the signal demodulated in real time, and CV is the coefficient of variation in real time. ; ; ; , , This is the currently recorded real-time gyroscope data.
[0037] The steps preceding step S1 include: Step S0: Apply reflective tape to the head, attach the coil to the head, modulate the light signal with a preset amplitude and frequency value, and shine it onto the head through the opening of the coil. The reflective tape reflects the light signal, and the coil collects the reflected light signal.
[0038] Step S0 specifically includes the following steps: Wear a photoluminescence cap on your head, with reflective stickers covering your head; The coil is attached to the head, and the emitted light signal is modulated according to the preset amplitude and frequency values. The modulated light signal is directed from the open coil of the coil to the reflective patch on the head, while the reflected light signal is collected from the reflective patch.
[0039] Specifically, the process begins by placing a light cap on the patient's head and attaching a reflective patch to the target brain stimulation area. Then, a TMS coil is attached to the patient's head. The device sinusoidally modulates the emitted light source according to preset amplitude and frequency values to generate a unique modulated light signal. This modulated light signal is directed through a window in the coil onto the reflective patch on the head. The reflective patch reflects the incident modulated light, and the coil simultaneously collects the reflected light signal. This reflected light signal is then sent to subsequent processing steps. This step, by attaching the light cap and fixing the reflective patch, accurately locks the optical reference point for the target brain stimulation. The fixed amplitude and frequency modulated light emission method distinguishes between ambient stray light from the ward, such as natural light and artificial light, reducing interference from external light on the detection results. The coil window completes the optical path transmission and reception, establishing a stable optical detection pathway. This provides a clean and identifiable effective reflected light signal basis for subsequent photoelectric conversion, light intensity calculation, and coil position calibration.
[0040] The specific operation is as follows: The light source modulation signal is set to... The frequency of the modulated optical signal waveform is 2π / Amplitude The modulated waveform drives the light source to emit light, which passes through an optical fiber and is emitted from a window in the coil toward the head.
[0041] Step S3 is followed by the following steps: Step S4: Continuously receive the coil deviation signal, adjust the position and angle of the coil until the coil deviation signal stops being output, and then stop adjusting the position and angle of the coil.
[0042] Specifically, the device continuously receives the coil deviation signal output in step S3. The operator adjusts the position and tilt angle of the coil step by step according to the prompt, and monitors various deviation indicators in real time until the coil deviation signal is no longer output. At this point, the adjustment of the coil position and angle is stopped. This step forms a closed-loop correction process after the deviation alarm. Relying on the system's quantitative judgment standard, the operator is assisted in accurately resetting the coil to the optimal stimulation posture. There is no need to rely on subjective feel to judge the alignment status. The relative deviation between the coil and the head is quickly eliminated, allowing the magnetic field to accurately cover the target brain area again, ensuring the stimulation effectiveness of subsequent TMS treatment and continuously stabilizing the clinical treatment effect.
[0043] Secondly, see Figures 8-10 The present invention discloses a TMS coil position positioning and detection device 1, which operates using the above-mentioned TMS coil position positioning and detection method. The TMS coil position positioning and detection device 1 includes a coil mechanism 11 and an optical fiber collimation mechanism 12. The coil mechanism 11 is provided with a window 111. The coil mechanism 11 is connected to the optical fiber collimation mechanism 12. The optical fiber collimation mechanism 12 faces the head from the window 111.
[0044] Specifically, the TMS coil positioning and detection device 1 includes a coil mechanism 11 and an optical fiber collimation mechanism 12. The coil mechanism 11 has a window 111, and the optical fiber collimation mechanism 12 is installed in the window 111. The coil mechanism 11 and the optical fiber collimation mechanism 12 are connected and connected, relying on the optical fiber path to transmit optical signals over long distances, avoiding electromagnetic interference from the strong pulse magnetic field of the TMS coil to the photoelectric detection circuit. The hardware as a whole is equipped with the aforementioned positioning and detection method to complete the entire process of signal acquisition, calculation, and offset determination. By adopting the hardware layout of window 111 and optical fiber collimation mechanism 12, the optical path and the coil magnetic field area are physically isolated, solving the problem of strong magnetic field interference with the optical detection circuit, ensuring stable and reliable acquisition of reflected light signals. The TMS coil positioning and detection device 1 is deeply adapted to the TMS coil positioning and detection method, and can stably complete optical signal transmission and reception, synchronous acquisition of coil attitude, and fully realize the hardware carrier function of coil reference calibration and real-time offset detection throughout the process, adapting to long-term clinical TMS treatment scenarios.
[0045] The fiber optic collimation mechanism 12 includes a gyroscope, an optical fiber, an optical receiver, a collimating lens, and a light-emitting element. The optical fiber connects the gyroscope, the optical receiver, and the light-emitting element. The light emitted by the light-emitting element is emitted from the collimating lens, and the reflected light signal enters the fiber optic collimation mechanism 12 from the collimating lens and is received by the optical receiver. The gyroscope detects the Euler angle data of the detection coil mechanism 11.
[0046] Specifically, the optical fiber serves as the transmission medium, connecting the gyroscope, optical receiver, and light-emitting element. The light-emitting element outputs a detection light source modulated by a preset amplitude and frequency. The collimating lens converges and shapes the light emitted from the light-emitting element, outputting a regular and stable light spot that illuminates the head reflector. Simultaneously, the reflected light returned by the reflector can also be gathered by the collimating lens and sent into the optical fiber. The optical receiver is responsible for receiving the reflected light transmitted back from the optical fiber and completing photoelectric conversion. The gyroscope synchronously acquires the three-axis Euler angle attitude data of the coil mechanism 11 in real time. The optical fiber collimating mechanism 12 achieves long-distance optical path transmission through the optical fiber. The collimating lens ensures the focusing effect of the light spot in the transmitting and receiving optical paths, improving the intensity and stability of the reflected light signal acquisition. The gyroscope synchronously acquires the coil attitude to achieve dual detection of optical indicators and attitude data.
[0047] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0048] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0049] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0050] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0051] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0052] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. The illustrative expressions of the above terms in this specification should not be construed as necessarily referring to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0053] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.
[0054] The above description describes specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for locating and detecting the position of a TMS coil, characterized in that, include, The reflected light signal from the reflective sticker is obtained, the light signal is converted into an electrical signal, the amplitude value is extracted from the electrical signal, and the light intensity variation coefficient is calculated based on the amplitude value to obtain the light intensity amplitude value and the light intensity variation coefficient. Adjust the position and angle of the coil until the amplitude value of the reflected light signal reaches its maximum and the coefficient of variation of the light intensity exceeds the first preset threshold. Obtain the optimal position and angle of the coil and collect the parameters of the optimal position and angle, including the signal amplitude, the coefficient of variation of the light intensity, and the gyroscope data. The parameters corresponding to the position of the coil are detected in real time to obtain real-time parameters. The deviation data between the real-time parameters and the parameters of the optimal position angle of the coil is calculated. When the deviation data deviates from the second preset threshold, the coil deviation signal is output.
2. The method according to claim 1, characterized in that, The process involves acquiring the reflected light signal from the reflective sticker, converting the light signal into an electrical signal, extracting the amplitude value from the electrical signal, calculating the light intensity variation coefficient based on the amplitude value, and obtaining the light intensity amplitude value and the light intensity variation coefficient. Specifically, this includes the following steps: The optical receiver receives the reflected light signal from the reflector, converts it into an analog electrical signal, and then uses an analog-to-digital converter to convert the analog electrical signal into a digital electrical signal. The amplitude and frequency values of the light intensity amplitude are extracted from the digital electrical signal corresponding to the reflected light signal. Collect a set of amplitude values of digital electrical signals over a preset period of time, calculate the standard deviation and mean of the amplitude values based on the set of amplitude values, and calculate the coefficient of variation of light intensity to obtain the coefficient of variation of light intensity.
3. The method according to claim 1, characterized in that, Adjusting the position and angle of the coil until the reflected light signal reaches its maximum intensity amplitude and the intensity variation coefficient exceeds a first preset threshold, yields the optimal coil position and angle. The parameters of this optimal position and angle are then collected. This process includes the following steps: By arbitrarily changing the position and angle of the coil, the corresponding light intensity amplitude value and real-time light intensity variation coefficient at the real-time position of the coil are collected. When the real-time light intensity amplitude reaches its maximum value and the real-time light intensity variation coefficient is less than 0.5, it is determined that the reflected light signal is aligned with the reflector to obtain the optimal position angle of the coil. The signal amplitude, light intensity variation coefficient, and gyroscope data of the coil at the optimal position angle are recorded to obtain the parameters of the optimal position angle. The gyroscope data includes Euler angle data obtained by the gyroscope.
4. The method according to claim 1, characterized in that, The parameters corresponding to the position of the coil are detected in real time to obtain real-time parameters. The deviation data between the real-time parameters and the parameters of the optimal position angle of the coil is calculated. When the deviation data deviates from the second preset threshold, the coil deviation signal is output. The specific steps include: After the coil is put on by the user, the position and angle of the coil and the corresponding signal amplitude, light intensity variation coefficient, and gyroscope data are detected in real time to obtain real-time parameters, including the real-time detected signal amplitude value, the real-time detected light intensity variation coefficient, and the real-time detected gyroscope data. The deviation data is obtained by calculating the deviation between the amplitude value of the real-time detected signal and the amplitude value of the light intensity at the optimal position angle of the coil, the deviation between the coefficient of variation of the real-time detected light intensity and the coefficient of variation of the light intensity at the optimal position angle of the coil, and the deviation between the real-time detected gyroscope data and the gyroscope data at the optimal position angle of the coil. Compare the deviation data with the second preset threshold. If the first deviation data is greater than or equal to 3%, the second deviation data is greater than or equal to 0.2%, or the third deviation data is greater than or equal to 5%, the real-time parameter is determined to deviate from the optimal position angle of the coil. If the real-time position angle of the coil deviates from the optimal position angle of the coil, a deviation signal is output to the host computer.
5. The method according to claim 1, characterized in that, Includes the following steps: A reflective sticker is attached to the head, and a coil is attached to the head. A light signal with a preset amplitude and frequency value is modulated and shone from the opening of the coil onto the head. The reflective sticker reflects the light signal, and the coil collects the reflected light signal.
6. The method according to claim 5, characterized in that, Specifically, the steps include: Wear a photoluminescence cap on your head, with reflective stickers covering your head; The coil is attached to the head, and the emitted light signal is modulated according to the preset amplitude and frequency values. The modulated light signal is directed from the open coil of the coil to the reflective patch on the head, while the reflected light signal is collected from the reflective patch.
7. The method according to claim 1, characterized in that, The following steps are then included: Continuously receive coil deviation signals, adjust the position and angle of the coil until the coil deviation signal stops being output, and then stop adjusting the position and angle of the coil.
8. A TMS coil position positioning and detection device, characterized in that, The method for TMS coil positioning and detection as described in any one of claims 1-7 is used.
9. The device according to claim 8, characterized in that, It includes a coil mechanism and an optical fiber collimation mechanism. The coil mechanism has a window and is connected to the optical fiber collimation mechanism. The optical fiber collimation mechanism faces the head from the window.
10. The device according to claim 9, characterized in that, The fiber optic collimation mechanism includes a gyroscope, an optical fiber, an optical receiver, a collimating lens, and a light-emitting element. The optical fiber connects the gyroscope, the optical receiver, and the light-emitting element. The light emitted by the light-emitting element is emitted through the collimating lens, and the reflected light signal enters the fiber optic collimation mechanism through the collimating lens and is received by the optical receiver. The gyroscope detects the Euler angle data of the detection coil mechanism.