Low-power-consumption adjustment method and system of electrical stimulation circuit
By using Boost boost power supply and constant current source circuit in the electrical stimulation circuit, combined with the automatic calibration compensation mechanism, adjusting the output voltage value, the power loss and device life problems in the electrical stimulation circuit are solved, and a low-power and high-energy-efficient electrical stimulation circuit system is realized.
Patent Information
- Application Number
- CN202411777142.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-14
AI Technical Summary
In electrical stimulation circuits, the difference in impedance of the human body leads to an increase in power loss, which in turn affects the battery life of the equipment and the life of components.
By enabling the Boost boost power supply, setting the current value of the constant current source circuit, turning on the bridge arm of the output circuit, controlling the output of the electrical stimulation waveform, and adjusting the output voltage value of the Boost boost power supply through an automatic calibration compensation mechanism to optimize the electrical stimulation current and power consumption.
It effectively reduces the power consumption of the electrical stimulation circuit, reduces the temperature rise load of the device, and improves the energy efficiency ratio and reliability of the system.
Smart Images

Figure CN119628412A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit control, and in particular to the control of power consumption adjustment of an electrical stimulation circuit. Background Art
[0002] In the field of electrical stimulation, the temperature rise of the device will seriously affect the user experience of the product. In actual applications, there are large differences in the impedance of different users or even different parts of the same user. When the human body impedance is reduced to below 300 ohms, according to Ohm's law U=I*R, it can be seen that the voltage drop at the human body end accounts for a small proportion of the overall voltage drop. The other part of the voltage drop can only be consumed on the PNP transistor, which is determined by the principle of constant current source, that is, Vce. However, excessive Vce will introduce unnecessary power loss. Since some electrical stimulation devices are powered by internal batteries, large power loss will reduce the endurance of the device. As Vce increases further, the heat generated by the transistor is also further increased. In some usage scenarios, the junction temperature of the transistor will even reach 150°C. For electronic components, excessively high junction temperature will bring two obvious effects. One is the passive derating of device performance, and the other is the shortening of device life.
[0003] Therefore, a new technical solution is needed to solve the above problems. Summary of the invention
[0004] Purpose of the invention: The present invention provides a low power consumption adjustment method for an electrical stimulation circuit, the purpose of which is to reduce power consumption while maintaining normal operation of the electrical stimulation circuit.
[0005] Based on the same purpose, the present invention also provides a low power consumption adjustment system for an electrical stimulation circuit.
[0006] Technical solution: To solve the above technical problems, the low power consumption adjustment method of the electrical stimulation circuit provided by the present invention adopts the following technical solution:
[0007] A low power consumption adjustment method for an electrical stimulation circuit, characterized by comprising:
[0008] Enable the Boost power supply, set the current value of the constant current source circuit, open the bridge arm of the output circuit, and control the output of the electrical stimulation waveform; when the preset current and waveform reach the maximum value, synchronously sample the voltage value of the Boost power supply, the electrical stimulation output voltage value, and the electrical stimulation current value; compare the deviation of the electrical stimulation current value with the preset current value, and when the deviation is within the error accuracy range, calculate the voltage difference between the Boost power supply output voltage value and the electrical stimulation output voltage value, and adjust the output voltage value of the Boost power supply according to the calculation result; after reducing the output voltage value of the Boost power supply, sample the electrical stimulation current value after the voltage value is reduced again and calculate the deviation of the electrical stimulation current value after the voltage value is reduced and the preset current value.
[0009] When the deviation between the electrical stimulation current value and the preset current value exceeds the accuracy range, it is determined that there is no room for reducing power consumption, that is, the output voltage value of the Boost power supply is no longer adjusted.
[0010] Furthermore, based on the calculation results, the output voltage value of the Boost power supply is adjusted as follows: when the voltage difference between the Boost power supply output voltage and the electrical stimulation output voltage is ≤ the expected value of the voltage difference, there is no need to reduce the output voltage value of the Boost power supply; when the voltage difference between the Boost power supply output voltage and the electrical stimulation output voltage is greater than the expected value of the voltage difference, the output voltage value of the Boost power supply is reduced.
[0011] Furthermore, according to the calculation result, the output voltage value of the Boost power supply is reduced according to a preset step unit.
[0012] The present invention also provides a technical solution for a low-power adjustment system of an electrical stimulation circuit, comprising: a lower computer, an electrical stimulation voltage sampling circuit, a Boost voltage sampling circuit, an electrical stimulation current sampling circuit and a Boost boost power supply; the lower computer is used to enable the Boost boost power supply, set the current value of the constant current source circuit, open the bridge arm of the output circuit, and control the output of the electrical stimulation waveform; the electrical stimulation voltage sampling circuit is used to collect the electrical stimulation output voltage value; the Boost voltage sampling circuit is used to collect the output voltage value of the Boost boost power supply; the electrical stimulation current sampling circuit is used to collect the electrical stimulation current value; the lower computer compares the electrical stimulation current value with the preset current The deviation of the value is calculated, and when the deviation is within the error accuracy range, the voltage difference between the Boost power supply output voltage value and the electrical stimulation output voltage value is calculated; the lower computer adjusts the output voltage value of the Boost power supply according to the calculation result; after reducing the output voltage value of the Boost power supply, the electrical stimulation current sampling circuit again samples the electrical stimulation current value after the voltage is reduced, and calculates the deviation between the electrical stimulation current value after the voltage is reduced and the preset current value through the lower computer. When the deviation between the electrical stimulation current value calculated by the lower computer and the preset current value exceeds the accuracy range, it is determined that there is no room for reducing power consumption, that is, the output voltage value of the Boost power supply is no longer adjusted.
[0013] Further, according to the calculation result, the lower computer adjusts the output voltage value of the Boost power supply in the following manner: when the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is ≤ the expected voltage difference value, the output voltage value of the Boost power supply does not need to be reduced;
[0014] When the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is greater than the expected voltage difference value, the output voltage value of the Boost power supply is reduced.
[0015] Furthermore, the lower computer calculates the sampling points of the waveform voltage according to the waveform and pulse width;
[0016] The lower computer samples and calculates the current output voltage value (STIM_VCC) of the Boost power supply;
[0017] The lower computer calculates the sampling points of the upper / lower waveform according to the electrical stimulation waveform and pulse width; when the sampling point arrives, the lower computer samples and calculates the actual stimulation current value, and calculates the deviation from the current preset value; at the same time, when the sampling point arrives, the lower computer samples and calculates the electrical stimulation output voltage value (STIM_OUT); the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is the voltage drop value (Vdrop) falling on the PNP tube, the emitter of the PNP tube inputs the Boost power supply output voltage, and the collector of the PNP tube outputs the electrical stimulation output voltage value.
[0018] Furthermore, the lower computer reduces the output voltage value of the Boost power supply according to the calculation result in a preset step unit.
[0019] Furthermore, the lower computer is also included to output a specific voltage value to adjust the Feedback voltage of the boost chip, indirectly control the output voltage of the Boost power supply, and realize the power consumption adjustment control of electrical stimulation.
[0020] Beneficial effects: The present invention greatly improves the working efficiency of the circuit through automatic calibration and compensation, while avoiding data deviations caused by differences in device parameters; the present invention also greatly improves the energy efficiency ratio of the system, effectively reduces the temperature rise load of power tube devices and peripheral devices, and further ensures the reliability of the system.
[0021] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the low power consumption adjustment method when executing the computer program.
[0022] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the low power consumption adjustment method are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a schematic diagram of the Boost power supply voltage regulation circuit of the present invention;
[0024] Figure 2 It is a schematic diagram of the structure of the electric stimulation circuit of the present invention;
[0025] Figure 3 Schematic diagram of sampling points of the electrical stimulation waveform of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] Please combine Figure 1 and Figure 2 As shown, this embodiment provides a low power consumption adjustment system for an electrical stimulation circuit, which is based on Figure 1 and Figure 2 The circuit structure shown in . Figure 1 It is the Boost power supply voltage regulator circuit. Figure 2 It is an electrical stimulation circuit that cooperates with the Boost power supply voltage regulation circuit.
[0028] In the electrical stimulation output control circuit, the lower computer outputs a specific voltage value to adjust the Feedback voltage of the boost chip, indirectly control the output voltage of the Boost power supply, and achieve electrical stimulation power consumption adjustment control. The electrical stimulation power supply circuit structure is shown in the attached figure. Figure 2 As shown in the figure, the core of Boost power consumption regulation is the application of Feedback function, where the FB pin is grounded through resistor R3, connected to STIM_VCC through resistor R2, and connected to the output end of the lower computer through resistor R4. STIM_VCC is the output voltage obtained after the Boost power supply is boosted, with an amplitude range of 12.3V to 78.3V; the power supply voltage of the lower computer is 3.3V, so the output level range of the lower computer is 0 to 3.3V, and the resistance values of R2, R3, and R4 are 20K, 220R, and 1K respectively.
[0029] The STIM_OUT voltage is divided by R20 and R21 to obtain STIM_OUT_ADC. In the Boost voltage sampling circuit, the STIM_VCC voltage is divided by R18 and R19 to obtain STIM_VCC_ADC. In the electrical stimulation current sampling circuit, the STIM_Current current is divided by resistor R15 to obtain STIM_Current_ADC.
[0030] The lower computer is used to enable the Boost power supply, set the current value of the constant current source circuit, open the bridge arm of the output circuit, and control the output of the electrical stimulation waveform.
[0031] The electrical stimulation voltage sampling circuit is used to collect the electrical stimulation output voltage value (STIM_OUT);
[0032] The Boost voltage sampling circuit is used to collect the output voltage value (STIM_VCC) of the Boost power supply;
[0033] The electrical stimulation current sampling circuit is used to collect the electrical stimulation current value (STIM_Current);
[0034] The lower computer compares the deviation between the electrical stimulation current value (STIM_Current) and the preset current value (Iset). When the deviation is within the error accuracy range, the voltage difference between the Boost power supply output voltage value (STIM_VCC) and the electrical stimulation output voltage value (STIM_OUT) is calculated.
[0035] The lower computer adjusts the output voltage value of the Boost power supply according to the calculation result; after reducing the output voltage value of the Boost power supply, the electrical stimulation current sampling circuit samples the electrical stimulation current value after the voltage value is reduced and calculates the deviation between the electrical stimulation current value after the voltage value is reduced and the preset current value (Iset) through the lower computer. In this embodiment, the reduction range of the output voltage value is calculated by the following method:
[0036] The BOOST_CTR signal is output by the lower computer and is expressed in VCTL, ranging from 0 to 3.3V. The Vfb level is determined by the FB pin of the Boost chip and is fixed at 0.7V. The current flowing through R4 is I4, the current flowing through R3 is I3, and the current flowing through R2 is I2.
[0037] When VCTL level > Vfb, I3 = I2 + I4, and the calculation process of STIM_VCC voltage is as follows:
[0038] I2=I3-I4;
[0039] I3=Vfb / R3;
[0040] I4=(VCTL-Vfb) / R4;
[0041] I2 = (STIM_VCC - Vfb) / R2;
[0042] The calculations show that:
[0043] (STIM_VCC-0.7) / R2=0.7 / R3-(VCTL-0.7) / R4;
[0044] STIM_VCC-0.7=R2*0.7 / R3-(VCTL-0.7)*R2 / R4;
[0045] STIM_VCC=R2*0.7 / R3+0.7-(VCTL-0.7)*R2 / R4;
[0046] STIM_VCC=0.7*(R2+R3) / R3-(VCTL-0.7)*R2 / R4;
[0047] Substitute the values of R2, R3, and R4;
[0048] STIM_VCC=63.34V-(VCTL-0.7)*20;
[0049] It should be pointed out that the output level of the Boost chip cannot be lower than the input voltage, so by adjusting the voltage value of VCTL, STIM_VCC can cover any level between 12V and 63.34V;
[0050] When VCTL level is less than Vfb, I3=I2-I4, and the calculation process of STIM_VCC voltage is as follows:
[0051] I2=I3+I4;
[0052] I3=Vfb / R3;
[0053] I4=(Vfb-VCTL) / R4;
[0054] I2=Vfb / R3+(Vfb-VCTL) / R4;
[0055] The calculations show that:
[0056] (STIM_VCC-0.7) / R2=0.7 / R3+(0.7-VCTL) / R4;
[0057] STIM_VCC-0.7=R2*0.7 / R3+(0.7-VCTL)*R2 / R4;
[0058] STIM_VCC=R2*0.7 / R3+0.7+(0.7-VCTL)*R2 / R4;
[0059] STIM_VCC=0.7*(R2+R3) / R3+(0.7-VCTL)*R2 / R4;
[0060] Substitute the values of R2, R3, and R4;
[0061] STIM_VCC=63.34V+(0.7-VCTL)*20;
[0062] It should be pointed out that the output level of VCTL cannot be lower than the lower limit of the DAC output level, that is, VCTL will not be lower than 0V. Therefore, when VCTL=0V, the STIM_VCC output level reaches the maximum value of 77.34V;
[0063] Through the comprehensive calculation process, it can be concluded that by adjusting the level value of VCTL, STIM_VCC can achieve a wide voltage output from 12V to 77.34V.
[0064] The lower computer calculates the output voltage STIM_VCC of the Boost power supply, the electrostimulation output voltage STIM_OUT, and the electrostimulation current STIM_Current;
[0065] The lower computer samples the voltage value of STIM_VCC_ADC, records it as ADC_STIM, and calculates the sampling points of the upper / lower waveforms according to the waveform type and pulse width. When the sampling point arrives, the voltage values at STIM_OUT_ADC and STIM_Current_ADC are synchronously sampled and recorded as ADC_V1 and ADC_V2 respectively. For example, if the output waveform is a square half-wave, as Figure 3 shown, then the voltage values at STIM_OUT_ADC and STIM_Current_ADC are synchronously sampled at the sampling point moment in this square half-wave.
[0066] ADC_STIM is the voltage division result of resistors R18 and R19, and STIM_VCC = ADC_STIM * (R18 + R19) / R19;
[0067] ADC_V1 is the voltage division result of resistors R20 and R21, and STIM_OUT = ADC_V1 * (R20 + R21) / R21;
[0068] Because R16 << R17, ADC_V2 can be approximately regarded as the voltage value across resistor R15, and STIM_Current = ADC_V2 / R15.
[0069] The lower computer calculates the difference between the preset current Iset and the electrostimulation output current STIM_Current, that is, Ierror = Iset - STIM_Current. When Ierror falls within the accuracy range, the output voltage value of the Boost boost power supply is adjusted downward; when Ierror exceeds the accuracy range, it is determined that there is no power consumption reduction space, that is, the output voltage value of the Boost boost power supply is no longer adjusted. If the output voltage value of the Boost boost power supply is adjusted downward, it is adjusted in the following manner:
[0070] When the voltage difference Vce between the Boost power supply output voltage STIM_VCC and the electrostimulation output voltage STIM_OUT ≤ the voltage difference expected value, for example, in this embodiment, Vce = STIM_VCC - STIM_OUT; when Vce ≤ 10V, the output voltage value of the Boost boost power supply does not need to be adjusted downward; when the voltage difference Vce > 10V, the output voltage value of the Boost boost power supply is adjusted downward.
[0071] In addition, there are many specific implementation methods and approaches of the present invention, and the above is only a preferred implementation of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A low power consumption adjustment method for an electrical stimulation circuit, characterized in that: include: Enable the Boost power supply, set the current value of the constant current source circuit, open the bridge arm of the output circuit, and control the output of the electrical stimulation waveform; When the preset current and waveform reach the maximum value, the voltage value of the Boost power supply, the electrical stimulation output voltage value and the electrical stimulation current value are synchronously sampled; Compare the deviation between the electrical stimulation current value (STIM_Current) and the preset current value (Iset). When the deviation is within the error accuracy range, calculate the voltage difference between the Boost power supply output voltage value (STIM_VCC) and the electrical stimulation output voltage value (STIM_OUT). According to the calculation result, adjust the output voltage value of the Boost power supply. After reducing the output voltage value of the Boost power supply, sample the electrical stimulation current value after the voltage is reduced and calculate the deviation between the electrical stimulation current value after the voltage is reduced and the preset current value (Iset). When the deviation between the electrical stimulation current value and the preset current value (Iset) exceeds the accuracy range, it is determined that there is no room for reducing power consumption, that is, the output voltage value of the Boost power supply is no longer adjusted.
2. The low power consumption adjustment method of the electrical stimulation circuit according to claim 1, characterized in that: According to the calculation results, the output voltage value of the Boost power supply is adjusted as follows: when the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is ≤ the expected voltage difference value, the output voltage value of the Boost power supply does not need to be reduced; When the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is greater than the expected voltage difference value, the output voltage value of the Boost power supply is reduced.
3. The low power consumption adjustment method of the electrical stimulation circuit according to claim 1 or 2, characterized in that: According to the calculation result, the output voltage value of the Boost power supply is reduced according to the preset step unit.
4. A low power consumption adjustment system for an electrical stimulation circuit, characterized in that: include: Lower computer, electrical stimulation voltage sampling circuit, Boost voltage sampling circuit, electrical stimulation current sampling circuit and Boost power supply; The lower computer is used to enable the Boost power supply, set the current value of the constant current source circuit, open the bridge arm of the output circuit, and control the output of the electrical stimulation waveform; The electrical stimulation voltage sampling circuit is used to collect the electrical stimulation output voltage value (STIM_OUT); The Boost voltage sampling circuit is used to collect the output voltage value (STIM_VCC) of the Boost power supply; The electrical stimulation current sampling circuit is used to collect the electrical stimulation current value (STIM_Current); The lower computer compares the deviation between the electrical stimulation current value (STIM_Current) and the preset current value (Iset). When the deviation is within the error accuracy range, the voltage difference between the Boost power supply output voltage value (STIM_VCC) and the electrical stimulation output voltage value (STIM_OUT) is calculated. The lower computer adjusts the output voltage value of the Boost power supply according to the calculation result; after reducing the output voltage value of the Boost power supply, the electrical stimulation current sampling circuit samples the electrical stimulation current value after the voltage is reduced and calculates the deviation between the electrical stimulation current value after the voltage is reduced and the preset current value (Iset) through the lower computer. When the deviation between the electric stimulation current value calculated by the lower computer and the preset current value (Iset) exceeds the accuracy range, it is determined that there is no room for reducing power consumption, that is, the output voltage value of the Boost power supply is no longer adjusted.
5. The low power consumption adjustment system of the electrical stimulation circuit according to claim 4, characterized in that: According to the calculation results, the lower computer adjusts the output voltage value of the Boost power supply in the following manner: when the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is ≤ the expected voltage difference value, the output voltage value of the Boost power supply does not need to be reduced; When the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is greater than the expected voltage difference value, the output voltage value of the Boost power supply is reduced.
6. The low power consumption adjustment system of the electrical stimulation circuit according to claim 5, characterized in that: The lower computer calculates the sampling points of the waveform voltage according to the waveform and pulse width; The lower computer samples and calculates the current output voltage value (STIM_VCC) of the Boost power supply; The lower computer calculates the sampling points of the upper / lower waveforms based on the electrical stimulation waveform and pulse width; When the sampling point arrives, the lower computer samples and calculates the actual stimulation current value, and calculates the deviation from the current preset value; at the same time, when the sampling point arrives, the lower computer samples and calculates the electrical stimulation output voltage value (STIM_OUT); the voltage difference between the Boost power supply output voltage (STIM_VCC) and the electrical stimulation output voltage (STIM_OUT) is the voltage drop value (Vdrop) falling on the PNP tube, the emitter of the PNP tube inputs the Boost power supply output voltage, and the collector of the PNP tube outputs the electrical stimulation output voltage value.
7. The low power consumption adjustment system of the electrical stimulation circuit according to claim 4 or 5, characterized in that: The lower computer reduces the output voltage value of the Boost power supply according to the preset step unit based on the calculation result.
8. The low power consumption adjustment method of the electrical stimulation circuit according to claim 1, characterized in that: It also includes the lower computer outputting a specific voltage value to adjust the Feedback voltage of the boost chip, indirectly controlling the output voltage of the Boost power supply, and realizing electrical stimulation power consumption regulation and control.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.