Stimulation source generating circuit for neurostimulator
By designing a boost circuit and adjustment module in the neurostimulator, the problem of insufficient battery supply voltage is solved, precise adjustment of stimulation voltage and improvement of energy efficiency are achieved, adapting to the needs of different human bodies.
Patent Information
- Application Number
- CN201910993254.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-10-18
AI Technical Summary
The battery supply voltage of existing neurostimulators is only 3.6V, which cannot effectively adjust the stimulation voltage required by different human bodies, resulting in energy waste and low efficiency.
A stimulus source generating circuit including a power module, a boost module and an adjustment module is designed. Through the cooperation of the boost boost circuit and the mos tube, the input voltage is boosted, and the adjustment module adjusts the work according to the size of the stimulus source. frequency to ensure the output voltage is within the appropriate range.
It improves the voltage adjustment accuracy and efficiency of the neurostimulator, reduces energy waste, and adapts to the stimulation voltage needs of different human bodies.
Smart Images

Figure CN112675424B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a stimulation source generating circuit for a nerve stimulator. Background Art
[0002] In implantable medical devices, neurostimulators effectively control the symptoms of functional neurological diseases and mental illnesses by chronically electrically stimulating target nerves. Neurostimulators are in contact with the human body through electrodes. However, the amplitude of stimulation required by different human bodies varies greatly. However, batteries are currently used to power the device, which can only provide a voltage of 3.6V. Currently, a boost circuit is used to boost the battery voltage, and the amplitude of the electrical stimulation is between 0.1V and 10V. If the supply voltage of the stimulation source is much greater than the voltage required by the stimulator, a large part of the energy will be wasted.
[0003] Therefore, a stimulus source generating circuit must be designed that can generate a stimulus source close to the stimulus amplitude. Summary of the invention
[0004] In order to solve one of the above problems, the present invention provides a stimulation source generating circuit for a neural stimulator, the stimulation source generating circuit comprising: a power module, used to provide an input voltage; a boost module, connected to the power module to boost the input voltage and generate a stimulation source; the boost module comprises a charging branch and a discharging branch, the charging branch is connected in parallel at both ends of the power module and comprises an inductor and a first MOS tube, the inductor is connected to the positive electrode of the power module, the input end of the first MOS tube is connected to the other end of the inductor, and the output end is connected to the negative electrode of the power module; the discharging branch comprises a charging branch and a discharging branch, the charging branch is connected in parallel at both ends of the power module and comprises an inductor and a first MOS tube, the inductor is connected to the positive electrode of the power module, the input end of the first MOS tube is connected to the other end of the inductor, and the output end is connected to the negative electrode of the power module; the discharging branch comprises a The invention comprises a second MOS tube and an output branch for outputting a stimulus source, wherein the input end of the second MOS tube is connected to an end of the inductor away from the power supply module, the output end is connected to one end of the output branch, and the other end of the output branch is connected to the negative electrode of the power supply module; an adjustment module is connected to the output branch to output an operating frequency according to the size of the stimulus source; the adjustment module is also connected to the control ends of the first MOS tube and the second MOS tube to adjust the conduction or disconnection of the first MOS tube and the second MOS tube according to the operating frequency; at most only one of the first MOS tube and the second MOS tube can be turned on at the same time.
[0005] As a further improvement of the present invention, the power module includes a battery, an input capacitor connected in parallel at both ends of the battery, and a first switch connected between the battery and the input capacitor.
[0006] As a further improvement of the present invention, the regulation module also includes a first comparator branch, a frequency controller and a first set voltage branch, the frequency controller is communicatively connected to the control ends of the first MOS tube and the second MOS tube; the first comparator branch includes a first comparator, and the output end of the first comparator is connected to the frequency controller; one of the positive input end or the negative input end of the first comparator can be selectively connected to the output branch, and the other is connected to the first set voltage branch.
[0007] As a further improvement of the present invention, the adjustment module also includes an oscillator and a driver that are communicatively connected to the frequency controller, the oscillator is connected to the input end of the driver, and the output end of the driver is connected to the control ends of the first MOS tube and the second MOS tube.
[0008] As a further improvement of the present invention, the output branch includes an output capacitor, the two ends of the output capacitor are respectively connected to the output end of the second MOS tube and the negative electrode of the power supply module, and the two ends of the output capacitor are used to output the stimulation source; the output branch also includes a voltage divider branch connected in parallel to the two ends of the output capacitor, and the voltage divider branch includes a first resistor and a second resistor connected in series, and the first comparator can be selectively connected between the first resistor and the second resistor.
[0009] As a further improvement of the present invention, the stimulus source generating circuit includes a reference voltage module, which can generate a first set voltage; the first set voltage branch includes a first capacitor, one end of which is grounded; the first comparator branch also includes a first single-pole double-throw switch, and the two moving ends of the first single-pole double-throw switch are respectively connected to the output branch and the reference voltage module; the first comparator branch also includes a second switch, and the second switch is connected between the output end of the first comparator and the end of the first capacitor away from the ground; one of the positive input end or the negative input end of the first comparator can be selectively connected to the fixed end of the first single-pole double-throw switch, and the other is connected to the end of the first capacitor away from the ground.
[0010] As a further improvement of the present invention, the stimulation source circuit also includes a first sampling module, which includes a third resistor, a second comparator branch, and a second set voltage branch. The third resistor is connected between the output end of the first MOS tube and the negative pole of the power supply module; the second comparator branch includes a second comparator, and the output end of the second comparator is connected to the driver; one of the positive input end and the negative input end of the second comparator can be selectively connected to the second set voltage branch, and the other is connected to the end of the third resistor away from the negative pole of the power supply module.
[0011] As a further improvement of the present invention, the stimulus source generating circuit includes a reference voltage module, which can generate a second set voltage; the second set voltage branch includes a second capacitor, one end of which is grounded; the second comparator branch also includes a second single-pole double-throw switch, and the two moving ends of the second single-pole double-throw switch are respectively connected to the reference voltage module and the end of the third resistor away from the negative pole of the power supply module; the second comparator also includes a third switch, and the third switch is connected to the output end of the second comparator and the end of the second capacitor away from the ground; one of the positive input end and the negative input end of the second comparator is connected to the fixed end of the second single-pole double-throw switch, and the other is connected to the end of the second capacitor away from the ground.
[0012] As a further improvement of the present invention, the stimulation source circuit also includes a second sampling module, which includes a fourth resistor, a third comparator branch, and a third set voltage branch. The fourth resistor is connected between the output end and the output branch of the second MOS tube; the third comparator branch includes a third comparator, and the output end of the third comparator is connected to the driver; the positive input end and the negative input end of the third comparator branch are connected in parallel to the two ends of the fourth resistor.
[0013] As a further improvement of the present invention, the third comparator branch further includes a third setting voltage branch connected to the common mode input terminal of the third comparator.
[0014] As a further improvement of the present invention, the stimulus source generating circuit includes a reference voltage module, which can generate a third set voltage; the third set voltage branch includes a third capacitor and a fourth switch, one end of the third capacitor is grounded, and the other end is connected to the common mode input terminal of the third comparator; one end of the fourth switch is connected to an end of the third capacitor away from the ground, and the other end is connected to the reference voltage module.
[0015] Compared with the prior art, the boost module in the present invention adopts a boost circuit, which realizes the boost of the input voltage through the cooperation of an inductor, a first MOSFET and a second MOSFET; and, the stimulation source output by the output branch is monitored by the adjustment module, and the operating frequency is output according to the size of the stimulation source, so that the first MOSFET and the second MOSFET are turned on or off at a suitable operating frequency, so that the stimulation source output by the output branch is within a suitable range. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a circuit diagram of a stimulus source generating circuit in the present invention;
[0017] Figure 2 It is a circuit diagram of the reference voltage module in the present invention. Specific embodiments
[0018] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0019] like Figure 1 to Figure 2 As shown, the present invention provides a stimulation source Vo generating circuit for a nerve stimulator, the stimulation source Vo generating circuit comprising:
[0020] A power module, used for providing input voltage;
[0021] The boost module is connected to the power module to boost the input voltage and generate a stimulus source Vo; the boost module includes a charging branch and a discharging branch:
[0022] The charging branch is connected in parallel at both ends of the power module and includes an inductor L and a first MOS tube M1, wherein the inductor L is connected to the positive electrode of the power module, the input end of the first MOS tube M1 is connected to the other end of the inductor L, and the output end is connected to the negative electrode of the power module, and the negative electrode of the power module is grounded;
[0023] The discharge branch includes a second MOS tube M2 and an output branch for outputting a stimulus source Vo, wherein the input end of the second MOS tube M2 is connected to an end of the inductor L away from the power module, the output end is connected to one end of the output branch, and the other end of the output branch is connected to the negative electrode of the power module;
[0024] The regulating module is connected to the output branch to output the operating frequency according to the size of the stimulation source Vo; the regulating module is also connected to the control ends of the first MOSFET M1 and the second MOSFET M2 to adjust the conduction or disconnection of the first MOSFET M1 and the second MOSFET M2 according to the operating frequency; at most only one of the first MOSFET M1 and the second MOSFET M2 can be turned on at the same time.
[0025] In the present invention, the boost module adopts a boost circuit, which realizes the boost of the input voltage through the cooperation of the inductor L, the first MOSFET M1 and the second MOSFET M2; and the stimulation source Vo output by the output branch is monitored by the adjustment module, and the operating frequency is output according to the size of the stimulation source Vo, so that the first MOSFET M1 and the second MOSFET M2 are turned on or off at a suitable operating frequency, so that the stimulation source Vo output by the output branch is within a suitable range.
[0026] Specifically, since the boost module is a boost circuit, when the first MOSFET M1 is closed and the second MOSFET M2 is disconnected, the power module, the inductor L, and the first MOSFET M1 form a charging loop, and the current in the inductor L increases linearly at a certain ratio. As the current increases, a certain amount of energy is also stored in the inductor L; when the first MOSFET M1 is disconnected and the second MOSFET M2 is closed, the power module, the inductor L, the second MOSFET M2, and the output branch form a discharge loop, and the current on the inductor L flows to the output branch and gradually decreases. The voltage on the inductor L is superimposed on the power module, so that the voltage at both ends of the output branch is greater than the voltage at both ends of the power module, and the boost is completed accordingly. Thus, the first MOSFET M1 and the second MOSFET M2 are frequently turned on and off, and the output voltage on the output branch can be gradually increased. Of course, when the first MOSFET M1 and the second MOSFET M2 are both turned off, the boost module does not work; and in order to ensure the normal operation of the boost module, the first MOSFET M1 and the second MOSFET M2 cannot be turned on at the same time.
[0027] In addition, the power module also includes a battery, an input capacitor Cin connected in parallel at both ends of the battery, and a first switch S1 connected between the battery and the input capacitor Cin. When the first switch S1 is closed, the input capacitor Cin draws power from the battery, and when the first switch S1 is disconnected, the boost module draws power from the input capacitor Cin. The first switch S1 is opened and closed in stages. This is because the internal resistance of the battery is too large. If the boost module draws power directly from the battery, the efficiency will be greatly reduced. Therefore, in order to improve efficiency, the input capacitor Cin is used to provide input voltage to the boost module.
[0028] From the above, it can be concluded that the regulation module can monitor the stimulus source Vo output by the output branch and output the working frequency according to the size of the stimulus source Vo. The following specifically describes how the regulation module monitors the stimulus source Vo and determines the voltage range of the stimulus source Vo.
[0029] The regulating module also includes a first comparator branch, a frequency controller D0 and a first setting voltage branch. The frequency controller D0 is connected to the control end of the first MOSFET M1 and the second MOSFET M2 in communication, so that the frequency controller D0 outputs a control signal and can control the conduction and shutdown of the first MOSFET M1 and the second MOSFET M2. In addition, the first comparator branch includes a first comparator COMP1, the output end of the first comparator COMP1 is connected to the frequency controller D0, one of the positive input end and the negative input end of the first comparator COMP1 can be selectively connected to the output branch, and the other is connected to the first setting voltage branch. Therefore, the first comparator COMP1 compares the voltage on the output branch with the first setting voltage U1 on the first setting voltage branch, and the first comparator COMP1 then outputs the comparison result to the frequency controller D0, and the frequency controller D0 is connected to the first MOSFET M1 and the second MOSFET M2 in communication to control the first MOSFET M1 and the second MOSFET M2.
[0030] The first comparator COMP1 is an operational amplifier, and in this embodiment, the negative input terminal of the first comparator COMP1 is connected to the first set voltage branch, and the positive input terminal can be selectively connected to the output branch. Therefore, when the voltage on the output branch is less than the first set voltage U1 of the first set voltage branch, the output result of the first comparator COMP1 is 0, and when the voltage on the output branch is greater than the first set voltage U1 of the first set voltage branch, the output result of the first comparator COMP1 is 1.
[0031] In addition, it should be noted that, as described above, the frequency controller D0 is connected to the first MOSFET M1 and the second MOSFET M2 in communication. In this embodiment, the adjustment module also includes an oscillator E1 and a driver connected to the frequency controller D0 in communication to control the switching frequency of the first MOSFET M1 and the second MOSFET M2. Specifically, the oscillator E1 is connected to the input end of the driver, and the output end of the driver is connected to the control end of the first MOSFET M1 and the second MOSFET M2.
[0032] As described above, the regulating module can control the conduction and disconnection of the first MOSFET M1 and the second MOSFET M2 according to the size of the stimulus source Vo. Specifically, the operating frequency is generated by the oscillator E1, and the frequency controller D0 is connected to the oscillator E1 in communication to control the oscillator E1 to output the operating frequency within a suitable time through a control signal. The oscillator E1 and the driver are connected again, and the oscillator E1 outputs the operating frequency to the driver, and the driver adjusts the switch of the first MOSFET M1 and the second MOSFET M2 based on this. In this specific embodiment, the oscillator E1 and the frequency controller D0 are both connected to the driver, and the driver serves as a communication medium between the oscillator E1 and the frequency controller D0 to output signals to the first MOSFET M1 and the second MOSFET M2. Of course, if the frequency controller D0 is first connected to the oscillator E1, and the oscillator E1 is then connected to the driver, the purpose of the present invention can also be achieved.
[0033] Usually, the oscillator E1 can continuously generate a relatively large frequency. Therefore, in this embodiment, when the frequency controller D0 determines that the output voltage is within a suitable range, it outputs the judgment result to the driver. The driver receives the operating frequency generated by the oscillator E1 and sends it to the control ends of the first MOSFET M1 and the second MOSFET M2, so that the first MOSFET M1 and the second MOSFET M2 operate at a relatively large operating frequency, so that the voltage of the stimulus source quickly reaches the requirement. When the output voltage is not within a suitable range, the judgment result is output to the driver, and the driver does not receive the operating frequency generated by the oscillator E1, and turns off both the first MOSFET M1 and the second MOSFET M2, and the boost module does not work.
[0034] Since the voltage of the stimulus source Vo that the output branch needs to output is relatively large relative to the first comparator COMP1, the stimulus source Vo and the first set voltage U1 are usually not directly compared. Therefore, the output branch usually includes an output capacitor Cout and a voltage divider branch connected in parallel to both ends of the output capacitor Cout. The two ends of the output capacitor Cout are respectively connected to the output end of the second MOSFET M2 and the negative electrode of the power module, and the two ends of the output capacitor Cout are used to store electricity and to output the stimulus source Vo. When the first MOSFET M1 and the second MOSFET M2 are frequently turned off, the amount of electricity stored in the output capacitor Cout gradually increases, and the voltage of the stimulus source Vo at both ends of the output capacitor Cout gradually increases. Correspondingly, the voltage on the voltage divider branch also gradually increases.
[0035] The voltage-dividing branch includes a first resistor R1 and a second resistor R2 connected in series, and the first comparator COMP1 is connected between the first resistor R1 and the second resistor R2. Specifically, in the present embodiment, the positive input terminal of the first comparator COMP1 can be selectively connected between the first resistor R1 and the second resistor R2, and the second resistor R2 is connected to the negative pole of the battery. Therefore, when the first comparator COMP1 makes a comparison, it compares the voltage division on the second resistor R2 and the size of the first set voltage U1. Moreover, in the present embodiment, the resistance value of the first resistor R1 is 4 times that of the second resistor R2, so that the voltage division on the second resistor R2 is one-fifth of the voltage of the stimulus source Vo. It should be noted that when the positive input terminal of the first comparator COMP1 is connected between the first resistor R1 and the second resistor R2, the first comparator COMP1 is used as a comparator.
[0036] In addition, the voltage-dividing branch also includes a fifth switch S5, which is connected in series with the first resistor R1 and the second resistor R2. When the fifth switch S5 is closed, current will flow through the voltage-dividing branch, and the subsequent adjustment module will work. After the neural stimulator starts working, the fifth switch S5 is disconnected, and the stimulation source is output to the outside through the output capacitor Cout.
[0037] As described above, the first setting voltage branch can output the first setting voltage U1 . The following specifically describes how the first setting voltage branch stores the first setting voltage U1 .
[0038] The stimulation source Vo generating circuit also includes a reference voltage module E2, and the reference voltage module E2 can generate a first set voltage U1. The first set voltage branch includes a first capacitor C1, and one end of the first capacitor C1 is grounded; the first comparator branch also includes a first single-pole double-throw switch SD1, and the two moving ends of the first single-pole double-throw switch SD1 are respectively connected to the output branch and the reference voltage module E2; the first comparator branch also includes a second switch S2, and the second switch S2 is connected between the output end of the first comparator COMP1 and the end of the first capacitor C1 away from the ground. One of the positive input end and the negative input end of the first comparator COMP1 can be selectively connected to the fixed end of the first single-pole double-throw switch SD1, and the other is connected to the end of the first capacitor C1 away from the ground.
[0039] Specifically, in this embodiment, the negative input end of the first comparator COMP1 is connected to the first capacitor C1, and the positive input end is connected to the fixed end of the first single-pole double-throw switch SD1. The two moving ends of the first single-pole double-throw switch SD1 are respectively connected between the first resistor R1 and the second resistor R2 and the reference voltage module E2. Before the first comparator COMP1 starts to compare, the second switch S2 is closed first, so that the first comparator branch forms a follower circuit, and the first single-pole double-throw switch SD1 is connected to the reference voltage module E2, so that since the first comparator branch forms a follower circuit, the first set voltage U1 output on the reference voltage module E2 can be transmitted to the first capacitor C1. Then, the second switch S2 is opened, and the first single-pole double-throw switch SD1 is connected between the first resistor R1 and the second resistor R2, so that the divided voltage on the second resistor R2 can be compared with the first set voltage U1.
[0040] When the divided voltage on the second resistor R2 is less than the first set voltage U1, the first comparator COMP1 outputs 0, and the frequency controller D0 outputs a signal to make the first MOSFET M1 and the second MOSFET M2 work at the working frequency; when the divided voltage on the second resistor R2 is greater than the first set voltage U1, the first comparator COMP1 outputs 1, and the frequency controller D0 outputs a signal to make the first MOSFET M1 and the second MOSFET M2 not work.
[0041] As described above, the frequency controller D0 is connected to the oscillator E1 and the driver in communication. The operating frequency generated by the oscillator E1 is relatively large, usually 100kHz. The relatively large operating frequency can enable the stimulus source Vo to quickly reach the requirement of the first set voltage U1. In addition, the first MOS tube M1 and the second MOS tube M2 require two drivers to be controlled separately in actual work. Therefore, in fact, the driver includes a first driver D1 and a second driver D2. The first driver D1 controls the first MOS tube M1, and the second driver D2 controls the second MOS tube M2.
[0042] In the above, the control of the operating frequencies of the first MOSFET M1 and the second MOSFET M2 by the first comparator COMP1 circuit is described in detail. The shutdown conditions of the first MOSFET M1 and the second MOSFET M2 are described in detail below.
[0043] The stimulation source Vo circuit also includes a first sampling module, which is used to determine the current size during the charging circuit to prevent the current during the charging circuit from being too large and the amount of electricity stored in the inductor L from being too much. Specifically, the first sampling module includes a third resistor R3, a second comparator COMP2 branch, and a second set voltage branch. The third resistor R3 is connected between the output end of the first MOS tube M1 and the negative electrode of the power module. The third resistor R3 is used as a sampling resistor to facilitate the first sampling module to determine the current during the charging circuit.
[0044] The second comparator branch includes a second comparator COMP2, the driver is the first driver D1, and the output of the second comparator COMP2 is connected to the first driver D1; one of the positive input and negative input of the second comparator COMP2 can be selectively connected to the second set voltage branch, and the other is connected to an end of the third resistor R3 away from the negative pole of the power module. Specifically, in this embodiment, the positive input of the second comparator COMP2 can be selectively connected to the third resistor R3, and the negative input is connected to the second set voltage branch. When the voltage on the third resistor R3 is less than the second set voltage U2 of the second set voltage branch, the second comparator COMP2 outputs 0, and when the voltage on the third resistor R3 is greater than the second set voltage U2 of the second set voltage branch, the second comparator COMP2 outputs 1.
[0045] Furthermore, the output end of the second comparator COMP2 is directly connected to the first driver D1. Therefore, in this embodiment, the first driver D1 can only work and receive the operating frequency generated by the oscillator E1 and the control signal generated by the frequency controller D0 to make the first MOS tube M1 work when the voltage on the third resistor R3 is lower than the second set voltage U2; and when the voltage on the third resistor R3 is higher than the second set voltage U2, the first driver D1 directly controls the first MOS tube M1 to turn off. Therefore, the control of the second comparator COMP2 takes precedence over the operating frequency control of the oscillator E1. During the operation of the boost module, the first MOS tube M1 is turned on and off at the operating frequency. However, if the current in the charging circuit is too large, the first MOS tube M1 is immediately turned off to wait for the next turn-on.
[0046] Similarly, as described above, the negative input terminal of the second comparator COMP2 is connected to the second setting voltage branch and makes a judgment. Specifically, the reference voltage module E2 can also generate a second setting voltage U2, and the second setting voltage branch includes a second capacitor C2, one end of the second capacitor C2 is grounded, and the other end is connected to the first comparator COMP1.
[0047] The second comparator branch also includes a second single-pole double-throw switch SD2, and the two moving ends of the second single-pole double-throw switch SD2 are respectively connected to the reference voltage module E2 and the end of the third resistor R3 away from the negative pole of the power supply module; the second comparator COMP2 also includes a third switch S3, and the third switch S3 is connected to the output end of the second comparator COMP2 and the end of the second capacitor C2 away from the ground.
[0048] One of the positive input terminal and the negative input terminal of the second comparator COMP2 is connected to the fixed end of the second single-pole double-throw switch SD2, and the other is connected to an end of the second capacitor C2 away from the ground. As described above, the positive input terminal of the second comparator COMP2 is connected to the fixed end of the second single-pole double-throw switch SD2, the negative input terminal is connected to the second capacitor C2, and the third switch S3 is also connected between the output terminal and the negative input terminal. Before the first comparator COMP1 starts to compare, the third switch S3 is closed first, so that the second comparator COMP2 branch forms a follower circuit, and the second single-pole double-throw switch SD2 is connected to the reference voltage module E2, so that the second comparator COMP2 branch forms a follower circuit, and the second set voltage U2 output on the reference voltage module E2 can be transmitted to the second capacitor C2. Then, the third switch S3 is disconnected, and the first single-pole double-throw switch SD1 is connected to the third resistor R3, so that the divided voltage on the third resistor R3 can be compared with the second set voltage U2.
[0049] When the divided voltage on the third resistor R3 is less than the second set voltage U2, the second comparator COMP2 outputs 0, and the first driver D1 works, so that the first driver D1 can receive the control signal and the operating frequency, and the first MOS tube M1 can work at the operating frequency; when the divided voltage on the third resistor R3 is greater than the second set voltage U2, the second comparator COMP2 outputs 1, the first driver D1 does not work, and the first MOS tube M1 is disconnected and does not work.
[0050] Therefore, through the above circuit setting, it is possible to prevent excessive current passing through the inductor L in the charging circuit and excessive energy stored in the inductor L when the boost module is working.
[0051] Similarly, a second sampling module is still provided in the discharge circuit.
[0052] Specifically, the second sampling module includes a fourth resistor R4, a third comparator branch, and a third setting voltage U3 module. The fourth resistor R4 is connected between the output end of the second MOS tube M2 and the output branch, so that the second sampling module can be used to sample the current of the discharge circuit.
[0053] The third comparator branch includes a third comparator COMP3, the driver is the second driver D2, and the output end of the third comparator COMP3 is connected to the second driver D2; the positive input end and the negative input end of the third comparator branch are respectively connected to the two ends of the fourth resistor R4; so that the third comparator COMP3 can be used to determine the current flow direction of the fourth resistor R4. In this embodiment, the positive input end of the third comparator COMP3 is connected to one end of the fourth resistor R4 connected to the output module, and the negative input end is connected to the output end of the second MOS tube M2. Therefore, when the current on the fourth resistor R4 is a normal current, the current flows from the inductor to the output module, and the third comparator COMP3 outputs 1, otherwise, it outputs 0.
[0054] Specifically, in the case of the discharge loop, the current on the inductor L is transmitted to the output capacitor Cout. After the current on the inductor L is transmitted, the amount of electricity in the output capacitor Cout will return to the inductor L. Therefore, the second MOS tube M2 must be turned off in time when the current in the discharge loop reaches 0 to prevent the current from flowing back and affecting the efficiency of the circuit.
[0055] Furthermore, since the output end of the third comparator COMP3 is connected to the second driver D2, the control of the third comparator COMP3 takes precedence over the control of the operating frequency by the second driver D2. During the operation of the boost module, the second MOS tube M2 is turned on and off at the operating frequency, but if the current of the discharge loop reaches 0 or is about to reach 0, the first MOS tube M1 is immediately turned off to wait for the next turn-on.
[0056] However, the existing comparator, even the high-speed comparator, has a delay of several hundred nanoseconds. Therefore, it is necessary to compensate the delay of the high-speed comparator so that the third comparator COMP3 is flipped before it detects that the current of the discharge loop is reduced to 0, so that the second MOS tube M2 is turned off. Therefore, the third comparator branch also includes a third setting voltage U3 module connected to the common mode input terminal Vcom of the third comparator COMP3. The third setting voltage U3 module can change the common mode input voltage of the third comparator COMP3, so that the third comparator COMP3 can be flipped when the current of the discharge loop is not reduced to 0.
[0057] Similarly, the third setting voltage U3 module can output the third setting voltage U3, and the reference voltage module E2 can generate the third setting voltage U3. The third setting voltage U3 module includes a third capacitor C3 and a fourth switch S4, one end of the third capacitor C3 is grounded, and the other end is connected to the common mode input terminal Vcom of the third comparator COMP3; one end of the fourth switch S4 is connected to the end of the third capacitor C3 away from the ground, and the other end is connected to the reference voltage module E2. In this embodiment, the stimulus source generation circuit also includes a delay optimization module E3, and the delay optimization module E3 is connected between the fourth switch S4 and the reference voltage module E2.
[0058] Thus, when the fourth switch S4 is closed, the third set voltage U3 output by the reference voltage module E2 enters the third capacitor C3; after the fourth switch S4 is disconnected, the third comparator COMP3 can start comparison. Therefore, through the above configuration, when the voltage across the fourth resistor R4 is about to drop to 0, the third comparator COMP3 can be flipped and the second MOS tube M2 can be disconnected to prevent the current inversion of the discharge loop.
[0059] In addition, the reference voltage module E2 can generate a first set voltage U1, a second set voltage U2, and a third set voltage U3, and the first set voltage U1, the second set voltage U2, and the third set voltage U3 are finely adjustable. Figure 2 The reference voltage module E2 of an embodiment is shown, which includes a fourth comparator COMP4, the output terminal and the negative input terminal of the fourth comparator COMP4 are connected through a feedback resistor RF, and the output terminal outputs a reference output voltage Vo_DAC; the positive input terminal is grounded. The negative input terminal of the fourth comparator COMP4 is also connected to the resistor module. The reference output voltage Vo_DAC is the first set voltage U1, the second set voltage U2, and the third set voltage U3.
[0060] The resistor module includes a reference input voltage VREF and a plurality of reference resistors. Specifically, the reference resistors include a first reference resistor Rb1 to a ninth reference resistor Rb9, a first distribution resistor Rc1 to a ninth distribution resistor Rc9, and a first reference single-pole double-throw switch Sb1 to a ninth reference switch Sb9. One end of the first reference resistor Rb1 is connected to the reference input voltage VREF, and the other end is connected to the fixed end of the first reference single-pole double-throw switch Sb1; one end of the first distribution resistor Rc1 is connected to one end of the first reference resistor Rb1, and the other end is connected to the second reference resistor Rb2, and the other end of the second reference resistor Rb2 is connected to the fixed end of the second reference single-pole double-throw switch Sb2. Correspondingly, one end of the second distribution resistor Rc2 is connected between the second reference resistor Rb2 and the first distribution resistor Rc1, and the other end is connected to the third reference resistor Rb3, and the other end of the third reference resistor Rb3 is connected to the fixed end of the third single-pole double-throw switch Sb3. By analogy, one end of the ninth distribution resistor Rc9 is connected between the eighth distribution resistor Rc8 and the ninth reference resistor Rb9, and the other end is grounded. In addition, one of the moving ends of the first reference single-pole double-throw switch Sb1 to the ninth reference single-pole double-throw switch Sb9 is grounded, and the other moving ends are connected to each other and to the negative input end of the fourth comparator COMP4.
[0061] In addition, in this embodiment, the resistance values of the first reference resistor Rb1 to the ninth reference resistor Rb9 are all set to 2r, the resistance values of the first distribution resistor Rc1 to the eighth distribution resistor Rc8 are all set to r, the resistance value of the ninth distribution resistor Rc9 is 2r, and the resistance value of the feedback resistor RF is kr. Therefore, the relationship between the reference output voltage Vo_DAC, the reference input voltage VREF and the resistance module is:
[0062]
[0063] Among them, b1 to b9 represent the on-off status of the first reference single-pole double-throw switch Sb1 to the ninth reference single-pole double-throw switch Sb9. For example, when the first reference single-pole double-throw switch Sb1 is connected to the ground, b1 is 0, and when the first reference single-pole double-throw switch Sb1 is connected to the negative input terminal of the fourth comparator COMP4, b1 is 1. Therefore, it can be seen from the above formula that the output range of the reference output voltage Vo_DAC is accurate to 1 / 2 9 Therefore, the reference circuit can output a precisely adjustable reference output voltage Vo_DAC, and the values of the first setting voltage U1, the second setting voltage U2, and the third setting voltage U3 can also be precisely adjusted.
[0064] Of course, the neurostimulator circuit also has a corresponding working method. Although the circuit is basically automatically controlled by the first comparator COMP1, the second comparator COMP2, the third comparator COMP3, etc. to form the stimulation source Vo, since it involves the setting of the first set voltage U1, the second set voltage U2, and the third set voltage U3, the first switch S1 to the fifth switch S5, the first single-pole double-throw switch SD1, and the second single-pole double-throw switch SD2 mentioned above all need to be controlled.
[0065] Therefore, the working method of the stimulation source Vo generating circuit for the neural stimulator includes:
[0066] Controlling the first capacitor C1 to store a first set voltage U1, controlling the second capacitor C2 to store a second set voltage U2, and controlling the third capacitor C3 to store a third set voltage U3;
[0067] The first switch S1 is closed and opened after a period of T1;
[0068] Control the first single-pole double-throw switch SD1 to be connected between the first resistor R1 and the second resistor R2, and control the second single-pole double-throw switch SD2 to be connected to the third resistor R3;
[0069] Disconnect the fifth switch S5;
[0070] Begin neurostimulation.
[0071] Corresponding to the above, after the first switch S1 is closed, the battery charges the input capacitor Cin. After charging for T1 time, the first switch S1 is disconnected, and a certain amount of electricity is stored in the input capacitor Cin.
[0072] After the first single-pole double-throw switch SD1 is connected between the first resistor R1 and the second resistor R2, and the second single-pole double-throw switch SD2 is connected to the third resistor R3, the first comparator COMP1 starts to compare the voltage on the first set voltage U1 and the second resistor R2, so that the frequency controller D0 outputs a control signal to make the first MOSFET M1 and the second MOSFET M2 work. At the same time, in the single operation of the first MOSFET and the second MOSFET, the second comparator COMP2 compares the second set voltage U2 and the voltage on the third resistor R3 to determine whether the current of the charging circuit is too large, and the third comparator COMP3 also determines whether the current on the fourth resistor R4 is or is about to drop to 0, so that the third comparator COMP3 can be flipped immediately to prevent current backflow.
[0073] When the voltage on the second resistor R2 of the first comparator COMP1 is greater than or equal to the second set voltage U2, it means that the voltage of the stimulation source Vo reaches a suitable range, and the frequency controller D0 outputs a control signal to disconnect the first MOSFET M1 and the second MOSFET M2.
[0074] The fifth switch S5 is then turned off, so that the first comparator COMP1 does not work.
[0075] The above step of "controlling the first capacitor C1 to store the first set voltage U1, controlling the second capacitor C2 to store the second set voltage U2, and controlling the third capacitor C3 to store the third set voltage U3" is specifically as follows:
[0076] Controlling the reference voltage module to generate a first set voltage U1;
[0077] Control the first single-pole double-throw switch SD1 to switch to connect with the reference voltage module, and close the second switch S2 for a duration of T2;
[0078] Disconnect the first single-pole double-throw switch SD1 and the second switch SD2;
[0079] Controlling the reference voltage module to generate a second set voltage U2;
[0080] Control the second single-pole double-throw switch SD2 to switch to connect with the reference voltage module, and close the third switch S3 for a duration of T3;
[0081] Disconnect the second single-pole double-throw switch SD2 and the third switch S3;
[0082] Control the reference voltage modules to generate a third set voltage U3 respectively;
[0083] The fourth switch S4 is closed for a period of time T4;
[0084] The fourth switch S4 is turned off.
[0085] In summary, the stimulus source generating circuit in the present invention uses a boost circuit, and monitors the stimulus source Vo output by the output branch through an adjustment module, and outputs the operating frequency according to the size of the stimulus source Vo, so as to control the first MOS tube M1 and the second MOS tube M2 to be turned on or off at a suitable operating frequency, so that the stimulus source Vo output by the output branch is within a suitable range. Secondly, the adjustment branch in the present invention compares the divided voltage on the output branch with the first set voltage U1 through a first comparator, and controls the oscillator to generate a higher operating frequency when the first set voltage U1 is not reached, so that the entire stimulus source generating circuit quickly reaches a suitable value, and after reaching it, immediately turns off the first MOS tube M1, the second MOS tube M2, and the fifth switch S5, so that the stimulus source generating circuit is disconnected, so that the voltage of the stimulus source is maintained on the output capacitor Cout. Furthermore, the currents in the charging circuit and the discharging circuit are monitored by the first sampling circuit and the second sampling circuit, and the first MOS tube M1 and the second MOS tube M2 are disconnected when appropriate, so that the current in the charging circuit is not too large and the current in the discharging circuit is not reversed. In addition, the present invention also divides the power module into a battery and an input capacitor, and charges the battery and the capacitor before the boost starts, so that after the boost starts, the boost circuit draws power from the input capacitor, reducing the internal resistance of the power module and improving efficiency.
[0086] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0087] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. All equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A stimulation source generating circuit for a neural stimulator, characterized in that: The stimulus source generating circuit comprises: A power module, used for providing input voltage; the power module comprises a battery; A boost module is connected to the power module to boost the input voltage and generate a stimulus source; the boost module includes a charging branch and a discharging branch, the charging branch is connected in parallel to the two ends of the power module and includes an inductor and a first MOS tube, the inductor is connected to the positive electrode of the power module, the input end of the first MOS tube is connected to the other end of the inductor, and the output end is connected to the negative electrode of the power module; the discharging branch includes a second MOS tube and an output branch for outputting the stimulus source, the input end of the second MOS tube is connected to the end of the inductor away from the power module, the output end is connected to one end of the output branch, and the other end of the output branch is connected to the negative electrode of the power module; A regulating module is connected to the output branch to output the operating frequency according to the magnitude of the stimulus source; the regulating module is also connected to the control ends of the first MOS tube and the second MOS tube to adjust the conduction or disconnection of the first MOS tube and the second MOS tube according to the operating frequency; at most only one of the first MOS tube and the second MOS tube can be turned on at the same time; The regulation module also includes a first comparator branch, a frequency controller and a first set voltage branch, the frequency controller is communicatively connected to the control ends of the first MOS tube and the second MOS tube; the first comparator branch includes a first comparator, and the output end of the first comparator is connected to the frequency controller; one of the positive input end or the negative input end of the first comparator can be selectively connected to the output branch, and the other is connected to the first set voltage branch.
2. The stimulus source generating circuit according to claim 1, characterized in that: The power module includes an input capacitor connected in parallel at both ends of a battery and a first switch connected between the battery and the input capacitor.
3. The stimulus source generating circuit according to claim 1, characterized in that: The regulating module further comprises an oscillator and a driver which are communicatively connected to the frequency controller, wherein the oscillator is connected to an input end of the driver, and an output end of the driver is connected to control ends of the first MOS tube and the second MOS tube.
4. The stimulus source generating circuit according to claim 1, characterized in that: The output branch includes an output capacitor, and the two ends of the output capacitor are respectively connected to the output end of the second MOS tube and the negative electrode of the power supply module, and the two ends of the output capacitor are used to output the stimulation source; the output branch also includes a voltage divider branch connected in parallel to the two ends of the output capacitor, and the voltage divider branch includes a first resistor and a second resistor connected in series, and the first comparator can be selectively connected between the first resistor and the second resistor.
5. The stimulus source generating circuit according to claim 1, characterized in that: The stimulus source generating circuit includes a reference voltage module, and the reference voltage module can generate a first set voltage; The first setting voltage branch includes a first capacitor, one end of which is grounded; The first comparator branch further includes a first single-pole double-throw switch, wherein two moving ends of the first single-pole double-throw switch are respectively connected to the output branch and the reference voltage module; the first comparator branch further includes a second switch, wherein the second switch is connected between the output end of the first comparator and an end of the first capacitor away from the ground; One of the positive input terminal or the negative input terminal of the first comparator can be selectively connected to the fixed terminal of the first single-pole double-throw switch, and the other is connected to an end of the first capacitor away from the ground.
6. The stimulus source generating circuit according to claim 3, characterized in that: The stimulus source generating circuit further includes a first sampling module, the first sampling module includes a third resistor, a second comparator branch, and a second setting voltage branch, the third resistor is connected between the output end of the first MOS tube and the negative electrode of the power supply module; The second comparator branch includes a second comparator, the output of which is connected to the driver; one of the positive input and negative input of the second comparator can be selectively connected to the second set voltage branch, and the other is connected to an end of the third resistor away from the negative pole of the power module.
7. The stimulus source generating circuit according to claim 6, characterized in that: The stimulus source generating circuit includes a reference voltage module, and the reference voltage module can generate a second set voltage; The second setting voltage branch includes a second capacitor, one end of which is grounded; The second comparator branch further includes a second single-pole double-throw switch, wherein two moving ends of the second single-pole double-throw switch are respectively connected to the reference voltage module and an end of the third resistor away from the negative electrode of the power supply module; the second comparator further includes a third switch, wherein the third switch is connected to the output end of the second comparator and an end of the second capacitor away from the ground; One of the positive input terminal and the negative input terminal of the second comparator is connected to the fixed terminal of the second single-pole double-throw switch, and the other is connected to the end of the second capacitor away from the ground.
8. The stimulus source generating circuit according to claim 3, characterized in that: The stimulus source generating circuit further includes a second sampling module, the second sampling module includes a fourth resistor, a third comparator branch, and a third setting voltage branch, the fourth resistor is connected between the output end of the second MOS tube and the output branch; The third comparator branch includes a third comparator, and the output end of the third comparator is connected to the driver; the positive input end and the negative input end of the third comparator branch are connected in parallel to the two ends of the fourth resistor.
9. The stimulus source generating circuit according to claim 8, characterized in that: The third comparator branch also includes a third setting voltage branch connected to the common mode input terminal of the third comparator.
10. The stimulus source generating circuit according to claim 9, characterized in that: The stimulus source generating circuit includes a reference voltage module, and the reference voltage module can generate a third set voltage; The third setting voltage branch includes a third capacitor and a fourth switch, one end of the third capacitor is grounded, and the other end is connected to the common mode input end of the third comparator; one end of the fourth switch is connected to the end of the third capacitor away from the ground, and the other end is connected to the reference voltage module.
Citation Information
Patent Citations
Stimulation source generating circuit for nerve stimulator
CN211097044U
