Voltage regulation method and electrical stimulation device
By obtaining the voltage parameters of the control element in the detection and control circuit of the electrical stimulation device and adjusting the output voltage of the execution circuit, the problems of low efficiency and high power consumption of the electrical stimulation device when adjusting the load current are solved, and a more efficient electrical stimulation effect is achieved.
Patent Information
- Application Number
- CN202310703996.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-06-13
AI Technical Summary
Existing electrical stimulation devices are inefficient in regulating load current, resulting in reduced device performance and high power consumption.
By acquiring the voltage parameters of the control element in the detection and control circuit and adjusting the output voltage of the execution circuit according to the voltage parameters, the voltage parameters of the control element can be made to meet the preset conditions, thereby reducing the power consumption of the control element.
The power consumption of the control element is reduced under different load currents, the heating of the electrical stimulation device is prevented, the performance of the device is improved and the overall power consumption is reduced.
Smart Images

Figure CN119126898B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrical signal processing, and in particular to a voltage regulation method and an electrical stimulation device. Background Art
[0002] An electrical stimulation device uses the target object as a load and applies a set current to stimulate the tissue cells at the corresponding target site, thereby achieving the purpose of treatment or physical therapy. Current electrical stimulation devices generally use a voltage-controlled constant current source structure composed of an H-bridge and a field-effect transistor. To meet the needs of outputting different load currents, electrical stimulation devices often use a digital-to-analog converter to output different voltage values to adjust the on-resistance of the field-effect transistor in the electrical stimulation device, thereby generating a load current output by the electrical stimulation device that meets the preset requirements.
[0003] The above-mentioned load current regulation method results in a low efficiency of the electrical stimulation device when the stimulation current is low, resulting in most of the energy being consumed by the field-effect transistor. The field-effect transistor dissipates the energy into the surrounding environment in the form of heat, causing the electrical stimulation device to heat up and reducing its performance.
[0004] There is currently no effective solution to the problem in related technologies that regulating the load current leads to reduced performance of the electrical stimulation device and high power consumption. Summary of the Invention
[0005] In this embodiment, a voltage regulation method and an electrical stimulation device are provided to solve the problem in the related art that regulating the load current leads to reduced performance of the electrical stimulation device and high power consumption.
[0006] In a first aspect, this embodiment provides a voltage regulation method for an electrical stimulation device, wherein the electrical stimulation device includes an execution circuit and a detection and control circuit, wherein the detection and control circuit includes a control element, and the method includes:
[0007] When the detection and control circuit adjusts the execution circuit to output a constant current, obtaining a voltage parameter of the control element;
[0008] The output voltage of the execution circuit is adjusted according to the voltage parameter so that the voltage parameter of the control element meets the preset conditions, and the adjusted output voltage is determined as the target output voltage; wherein the voltage parameter of the control element changes with the output voltage of the execution circuit.
[0009] In some embodiments, when the detection and control circuit adjusts the execution circuit to output a constant current, obtaining the voltage parameter of the control element includes:
[0010] When the detection and control circuit adjusts the execution circuit to output a constant current, based on the cycle of the voltage change of the control element, the target voltage of the control element in each corresponding cycle in multiple cycles is collected; wherein the target voltage is the lowest voltage in the cycle;
[0011] An average value is calculated for the plurality of target voltages collected to obtain a voltage average value, and the voltage average value is determined as the voltage parameter.
[0012] In some embodiments, when the detection and control circuit adjusts the execution circuit to output a constant current, collecting the target voltage of the control element in each corresponding cycle in a plurality of cycles based on the cycle of voltage change of the control element includes:
[0013] When the detection and control circuit adjusts the execution circuit to output a constant current, a delayed sampling period is determined from the period of the voltage change of the control element according to the periodic characteristics of the voltage change of the control element;
[0014] Determining, according to the delayed sampling period, a sampling moment for sampling the voltage of the control element in each corresponding cycle in a plurality of cycles;
[0015] The voltage of the control element in the multiple cycles is sampled according to the sampling time, and the sampled voltage is used as the target voltage of the control element in the corresponding cycle.
[0016] In some embodiments, determining, based on the delayed sampling period, a sampling moment for sampling the voltage of the control element in each corresponding cycle in a plurality of cycles includes:
[0017] Obtaining a rising edge moment of a modulation signal input to the control element;
[0018] A moment after the rising edge moment and separated from the rising edge moment by the delayed sampling period is used as a sampling moment for sampling the voltage of the regulating element.
[0019] In some embodiments, when the detection and control circuit adjusts the execution circuit to output a constant current, determining the delayed sampling period from the period of the voltage change of the control element according to the periodic characteristics of the voltage change of the control element includes:
[0020] Acquiring a pulse width of a modulation signal input to the control element and a sampling delay value of the control element;
[0021] According to the pulse width and the sampling delay value, a delayed sampling period is determined from the cycle of the voltage change of the control element.
[0022] In a second aspect, an electrical stimulation device is provided in this embodiment, comprising: a detection and control circuit and an execution circuit; the detection and control circuit comprises a control element; the execution circuit comprises a load access terminal; wherein:
[0023] The detection and control circuit is used to control the power of the control element so that the execution circuit outputs a constant current; and is used to obtain a voltage parameter of the control element when adjusting the execution circuit to output a constant current, and adjust the output voltage of the execution circuit according to the voltage parameter so that the voltage parameter of the control element meets a preset condition, and determine the adjusted output voltage as the target output voltage; wherein the voltage parameter of the control element changes with the output voltage of the execution circuit;
[0024] The execution circuit is used to output an electrical signal under the regulation of the detection and control circuit.
[0025] In some embodiments, the detection and control circuit further includes a resistance control subcircuit and a voltage detection subcircuit; the resistance control subcircuit is connected to the control element; the voltage detection subcircuit includes a resistance module and an analog-to-digital conversion module, the resistance module is connected in parallel with the control element, and the analog-to-digital conversion module is connected to the resistance module; wherein:
[0026] The resistance control subcircuit is used to control the on-resistance of the regulating element;
[0027] The analog-to-digital conversion module is used to sample the voltage value of the control element through the resistance module to obtain the voltage parameter of the control element.
[0028] In some embodiments, the detection control circuit further includes a micro control unit and a diode module; the output end of the micro control unit is connected to the input end of the micro control unit through the diode module; the output end of the micro control unit is also connected to the analog-to-digital conversion module;
[0029] The microcontroller unit is used to output a modulation signal to the diode module so that the modulation signal is fed back to the input end of the microcontroller unit through the diode module, and is used to determine the moment when the analog-to-digital conversion module triggers sampling of the voltage of the control element based on the modulation signal fed back through the diode module.
[0030] In some embodiments, the execution circuit further includes a boost circuit.
[0031] In some embodiments, the microcontroller unit is further used to send a control signal formed by the voltage parameters detected by the voltage detection subcircuit to the boost circuit; the boost circuit is used to adjust the output voltage of the execution circuit according to the control signal.
[0032] Compared to related technologies, the voltage regulation method and electrical stimulation device provided in this embodiment obtain the voltage parameters of the control element when the detection control circuit adjusts the execution circuit to output a constant current, and adjusts the output voltage of the execution circuit based on the voltage parameters so that the voltage parameters of the control element meet preset conditions. Finally, the adjusted output voltage is determined as the target output voltage; wherein the voltage parameters of the control element vary with the output voltage of the execution circuit. This can control the power consumption of the control element when the execution circuit outputs a constant current, thereby reducing the power consumed by the control element even when the electrical stimulation device outputs different load currents, thereby preventing the electrical stimulation device from heating, thereby improving the performance of the electrical stimulation device, and reducing the overall power consumption of the electrical stimulation device.
[0033] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0035] Figure 1 is a flow chart of the voltage regulation method of this embodiment;
[0036] Figure 2 It is a structural diagram of an electrical stimulation device in the related art;
[0037] Figure 3a yes Figure 2 The equivalent circuit diagram of the electrical stimulation device shown is in a switch closed state;
[0038] Figure 3b yes Figure 2 An equivalent circuit diagram of the electrical stimulation device shown in yet another switch-closed state;
[0039] Figure 4a It is a waveform comparison diagram of the voltage of the control element and the load current when DC load is applied;
[0040] Figure 4b It is a waveform comparison diagram of the voltage of the control element and the load current when AC load is applied;
[0041] Figure 5 is a flow chart of a voltage regulation method for an electrical stimulation device according to the preferred embodiment;
[0042] Figure 6 is a schematic structural diagram of the electrical stimulation device of this embodiment;
[0043] Figure 7 Schematic diagram of the composition of the micro-control unit and the diode module in this embodiment;
[0044] Figure 8 2 is a schematic diagram of the voltage boosting of the execution circuit in this embodiment. DETAILED DESCRIPTION
[0045] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0046] Unless otherwise defined, the technical terms or scientific terms involved in this application should have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "an", "a", "the", "these" and the like in this application do not indicate quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" involved in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. Generally, the character " / " indicates that the related objects are in an "or" relationship. The terms "first," "second," "third," etc. used in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0047] In this embodiment, a voltage regulation method is provided for an electrical stimulation device. The electrical stimulation device includes an execution circuit and a detection and control circuit. The detection and control circuit includes a control element. Figure 1 is a flow chart of the voltage regulation method of this embodiment, as shown in FIG. Figure 1 As shown, the process includes the following steps:
[0048] Step S101 , when detecting that the control circuit adjusts the execution circuit to output a constant current, obtain the voltage parameter of the control element.
[0049] Among them, the electrical stimulation device is capable of generating a stimulation current and outputting the stimulation current to the stimulation object through the electrode to achieve a physiological effect on the stimulated part of the stimulation object. Exemplarily, the electrical stimulation device may include an electrical stimulation therapeutic device, an electrical stimulation physiotherapy device, etc. The execution circuit in the electrical stimulation device refers to a circuit for outputting a load signal to the stimulation object. In the electrical stimulation device, the execution circuit can be implemented in the form of an H-bridge circuit, and the execution circuit includes a load access terminal. The detection and control circuit in the electrical stimulation device is used to adjust the load signal output by the execution circuit so that the load signal output by the execution circuit meets the preset load requirements. For example, the detection and control circuit can adjust the load current output by the execution circuit by controlling the on-resistance of the control element so that the load current meets the load requirements in the actual application scenario. The control element can specifically be a field effect transistor or a transistor, and the detection and control circuit can also include a digital to analog converter (DAC) and an amplifier.
[0050] When the execution circuit outputs a constant current signal that meets the load requirements based on the adjustment of the detection and control circuit, it indicates that the electrical stimulation device is now in a normal working state. Therefore, when the detection and control circuit adjusts the execution circuit to output a constant current, this embodiment obtains the voltage parameters of the control element so as to accurately obtain the voltage information of the control element of the electrical stimulation device under the actual working state. The voltage parameter can be the voltage value of the control element at a certain moment, or it can be a statistical value obtained by statistically processing the voltage value of the control element within a preset time. Preferably, the final voltage parameter of the control element can be determined based on the lowest voltage value of the field effect tube in each sampling period.
[0051] Step S102, adjusting the output voltage of the execution circuit according to the voltage parameter so that the voltage parameter of the control element meets the preset conditions, and determining the adjusted output voltage as the target output voltage; wherein the voltage parameter of the control element changes with the output voltage of the execution circuit.
[0052] After obtaining the voltage parameters of the regulating element, the voltage parameters of the regulating element are adjusted based on the output voltage of the execution circuit so that the voltage parameters of the regulating element change with the adjusted output voltage, thereby making the voltage parameters of the regulating element meet the preset conditions. Since the voltage on the regulating element is related to the power consumed by the regulating element, when the voltage parameters of the regulating element meet the preset conditions, the power of the regulating element can also meet the preset power requirements. Preferably, when the voltage on the regulating element can stabilize at the minimum voltage in the voltage change cycle, or reach a preset low voltage range, it can be regarded that the voltage parameters of the regulating element meet the preset conditions. When the voltage parameters meet the preset conditions, the power consumed by the regulating element can also meet the preset low power requirements, thereby avoiding the consumption of power of the electrical stimulation device by the regulating element.
[0053] In this embodiment, the voltage parameters of the control element are adjusted by adjusting the output voltage of the execution circuit based on the voltage parameters. Specifically, this embodiment can calculate and adjust the input voltage to the execution circuit based on the voltage parameters obtained in step S210, thereby adjusting the output voltage of the execution circuit. For example, the input voltage Vcc input to the execution circuit is obtained by passing the battery voltage through a boost circuit. In the related art, this voltage Vcc is a fixed value. This embodiment adjusts this voltage Vcc based on the voltage parameters, thereby changing the output voltage of the execution circuit and obtaining the target output voltage.
[0054] Figure 2 FIG is a schematic diagram of the structure of an electrical stimulation device in the related art. Figure 2 As shown, it includes an execution circuit 201 and a control circuit 202. The execution circuit 201 includes an H-bridge circuit composed of transistors Q1, Q2, Q3 and Q4. L denoted as "load connected to the load input terminal of actuator circuit 201." Pulse-width modulated signals PWM1 and PWM2 are input to actuator circuit 201 from the bases of the transistors in the H-bridge circuit. Based on the on / off state of each transistor, these signals flow through the control element in control circuit 202, namely, field-effect transistor Q5. Within control circuit 202, the digital-to-analog converter (DAC) outputs different voltage values based on the received signal and modulates the on-resistance of field-effect transistor Q5 via amplifier OP1, thereby causing actuator circuit 201 to generate a corresponding load current. In other words, within actuator circuit 201, the current in load ZL is regulated by control circuit 202.
[0055] Figure 3a for Figure 2 The equivalent circuit diagram of the electrical stimulation device shown is in a switch closed state; Figure 3b for Figure 2The equivalent circuit diagram of the electrical stimulation device in another switch closed state is shown in FIG. Where Rmos represents the equivalent resistance of the field effect transistor Q5. Figure 3a and Figure 3b It can be seen that the H-bridge circuit in the execution circuit can change the direction of the current on the load ZL when different transistors are closed or opened, while the direction of the current on the field effect tube remains unchanged. For example, Figure 3a The transistors Q1 and Q3 are disconnected, while Q2 and Q4 are closed. The current on the load ZL flows from right to left. Figure 3b The transistors Q2 and Q4 are disconnected, while Q1 and Q3 are closed, and the current on the load ZL flows from left to right; but Figure 3a and Figure 3b The current flowing through the equivalent resistor Rmos always flows in the same direction. Therefore, the load ZL and the equivalent resistor Rmos can be considered to be in a series relationship.
[0056] Therefore, combined Figure 2 、 Figure 3a as well as Figure 3b It can be seen that in the related art, when the required load current is small, the load current flowing through the load on the execution circuit can be reduced by increasing the on-resistance of the field effect tube to make it meet the load requirements. The above situation will lead to excessive power on the field effect tube, resulting in power waste. Therefore, on the basis of the related art, the present application detects the voltage parameters of the control element and adjusts the output voltage of the execution circuit according to the voltage parameters, so that the voltage parameters of the control element that change with the output voltage of the execution circuit can meet the preset conditions, thereby realizing the control of the power of the control element and avoiding power consumption. Compared with the related art in which the output voltage of the execution circuit is a fixed value under different load outputs and the problem of power consumption on the control element cannot be avoided, this embodiment can reduce the overall power consumption of the electrical stimulation device.
[0057] In the above steps S210 to S220, when the control circuit is detecting that the control circuit is regulating the execution circuit to output a constant current, the voltage parameters of the control element are obtained, and the output voltage of the execution circuit is adjusted according to the voltage parameters so that the voltage parameters of the control element meet the preset conditions, and the adjusted output voltage is determined as the target output voltage; wherein the voltage parameters of the control element vary with the output voltage of the execution circuit. This can control the power consumption of the control element when the execution circuit outputs a constant current, thereby reducing the power consumed by the control element even when the electrical stimulation device outputs different load currents, thereby preventing the electrical stimulation device from heating, thereby improving the performance of the electrical stimulation device, and reducing the overall power consumption of the electrical stimulation device.
[0058] In one embodiment, based on the above step S210, when detecting that the control circuit adjusts the execution circuit to output a constant current, obtaining the voltage parameter of the control element may specifically include the following steps:
[0059] When the detection control circuit adjusts the execution circuit to output a constant current, based on the cycle of the voltage change of the control element, the target voltage of the control element in each corresponding cycle in multiple cycles is collected; wherein the target voltage is the lowest voltage in the cycle; the average of the multiple target voltages collected is calculated to obtain the voltage average, and the voltage average is determined as the voltage parameter.
[0060] Figure 4a The waveform comparison diagram of the voltage of the control element and the load current when the DC load is applied; Figure 4b The waveform comparison diagram of the voltage of the control element and the load current when AC load is applied. Figure 4a and Figure 4b In the figure, the horizontal axis represents time and the vertical axis represents the amplitude of the signal. Figure 4a The area of the shaded part A is positively correlated. The power consumed by the field effect tube under AC load is Figure 4b The area of the shaded part B is positively correlated. Figure 4a and Figure 4b In order to reduce the power consumption of the field effect tube, this embodiment needs to reduce the area of the shaded portion A under the DC load and the area of the shaded portion B under the AC load. In addition, when carrying a DC load, the power consumption of the field effect tube is minimized when the voltage across the field effect tube is reduced to close to 0; and when carrying an AC load, the power consumption of the field effect tube is minimized when the lowest point voltage of the field effect tube is reduced to close to 0. Therefore, this embodiment samples the lowest voltage of the field effect tube in the voltage change cycle in real time as the voltage parameter of the control element. Among them, the voltage change cycle of the control element is Figure 4a and Figure 4b The period of waveform change of the field effect tube. This embodiment collects the lowest voltage in each period in multiple periods to obtain multiple lowest voltages, and then calculates the average voltage based on the average value, thereby improving the accuracy of voltage information collection and avoiding information errors caused by interference.
[0061] Furthermore, in one embodiment, when the control circuit is detecting that the control circuit adjusts the execution circuit to output a constant current, based on the period of voltage change of the control element, collecting the target voltage of the control element in each corresponding period of multiple periods may specifically include:
[0062] When detecting that the control circuit adjusts the execution circuit to output a constant current, a delayed sampling period is determined from the period of the voltage change of the control element according to the periodic characteristics of the voltage change of the control element; based on the delayed sampling period, a sampling moment for sampling the voltage of the control element in each corresponding period in multiple periods is determined; based on the sampling moment, the voltage of the control element in multiple periods is sampled, and the sampled voltage is used as the target voltage of the control element in the corresponding period.
[0063] Specifically, combined Figure 4a and Figure 4b It can be seen that in each cycle of voltage change, the lowest voltage of the field effect tube will appear at the moment when the current is about to be turned off. Considering that the voltage sampling of the field effect tube based on the hardware circuit is often caused by the hardware itself, in order to avoid missing the sampling of the lowest voltage in each cycle, it is necessary to set a delayed sampling period for each cycle of voltage change, so that the corresponding voltage information can be collected in time before the current flowing through the field effect tube is turned off. Among them, this embodiment selects a reference time from each cycle of voltage change, takes the reference time as the starting point, and adds the delayed sampling period to determine the final sampling time in each cycle. In each cycle of the voltage change of the control element, this embodiment samples the voltage of the control element based on the sampling time determined by the delayed sampling period, which can achieve timely, accurate and controllable sampling of the voltage of the control element, thereby obtaining effective voltage information.
[0064] Furthermore, in one embodiment, determining the sampling moment for sampling the voltage of the control element in each corresponding cycle in the multiple cycles according to the delayed sampling period may include:
[0065] The rising edge moment of the modulation signal input to the control element is obtained; and the moment after the rising edge moment and separated from the rising edge moment by a delayed sampling period is used as the sampling moment for sampling the voltage of the control element.
[0066] Among them, the moment when the current flowing through the control element is turned off corresponds to the falling edge moment of the modulation signal input to the control element, wherein the modulation signal can specifically be a pulse width modulation signal. Based on the above content, taking into account the delay problem existing in the voltage sampling process, this embodiment uses the rising edge moment of the modulation signal before the falling edge moment as the reference moment, takes the rising edge moment as the starting moment, and determines the moment after the delayed sampling period as the sampling moment for sampling the voltage of the control element. For example, if the rising edge moment is a and the delayed sampling period is t, the sampling moment in each cycle is the (a+t) moment in the cycle. This embodiment uses the rising edge as a reference and combines the delayed sampling moment to determine the final sampling moment, which can ultimately trigger timely sampling of the control element by detecting the rising edge of the modulation signal.
[0067] Furthermore, in one embodiment, when the detection control circuit adjusts the execution circuit to output a constant current, determining a delayed sampling period from the period of the voltage change of the control element according to the periodic characteristics of the voltage change of the control element includes:
[0068] The pulse width of the modulation signal input to the control element and the sampling delay value of the control element are obtained; and the delayed sampling period is determined from the cycle of the voltage change of the control element according to the pulse width and the sampling delay value.
[0069] Since the length of a cycle of voltage change of the control element corresponds to the pulse width of the modulation signal input to the control element, the above-mentioned delayed sampling period can be set based on the pulse width and a predetermined sampling delay value. The sampling delay value refers to the delay value between the hardware itself that samples the voltage of the control element and the time it receives the sampling instruction and the time it completes the voltage sampling. The specific value can be obtained by testing the hardware used for voltage sampling in advance. For example, the pulse width of the modulation signal is t on , and the sampling delay value is t d , then the delayed sampling period t=t on -t d .
[0070] The present embodiment is described and illustrated below through preferred embodiments.
[0071] Figure 5 This is a flow chart of a voltage regulation method for an electrical stimulation device according to a preferred embodiment of the present invention. The electrical stimulation device includes an execution circuit and a detection and control circuit. The detection and control circuit includes a control element. Figure 5 As shown, the voltage regulation method includes the following steps:
[0072] Step S501, raising the input voltage of the execution circuit to a maximum value Vmax;
[0073] Step S502: According to a preset load requirement, the detection and control circuit is controlled to adjust the execution circuit so that the execution circuit outputs a constant current;
[0074] Step S503, when the circuit is executing constant current output, taking the rising edge of the modulation signal input to the control element as a reference, based on a predetermined delayed sampling period, delay sampling the terminal voltage of the field effect tube;
[0075] Step S504, performing average filtering on the voltage sampled in each cycle or every preset number of cycles to calculate the minimum voltage value Vmos of the field effect transistor;
[0076] In step S505 , the input voltage Vcc of the execution circuit is readjusted to (Vmax−Vmos) according to the minimum voltage value Vmos of the field effect transistor, thereby adjusting the output voltage of the execution circuit.
[0077] In the above embodiment, after the execution circuit outputs constant current, voltage parameter detection is performed, and the target output voltage is calculated based on the voltage parameters, and then the output voltage of the execution circuit is adjusted based on the target output voltage; this cycle is then repeated to ensure that the entire circuit operates with minimum power consumption. Moreover, during the adjustment process, the execution circuit also ensures the constant current output state of the circuit by adjusting the detection control circuit at all times. More specifically, the control of the constant current output of the execution circuit is achieved by detecting the resistance control subcircuit in the control circuit.
[0078] In this embodiment, an electrical stimulation device 60 is provided. Figure 6 FIG. 6 is a schematic diagram of the structure of the electrical stimulation device 60 of this embodiment. Figure 6 As shown, the electrical stimulation device 60 includes: a detection and control circuit 62 and an execution circuit 64; the detection and control circuit 62 includes a control element; the execution circuit 64 includes a load access terminal; wherein:
[0079] The detection and control circuit 62 is used to control the power of the control element so that the execution circuit 64 outputs a constant current; and is used to obtain the voltage parameters of the control element when adjusting the execution circuit 64 to output a constant current, and adjust the output voltage of the execution circuit 64 according to the voltage parameters so that the voltage parameters of the control element meet the preset conditions, and the adjusted output voltage is determined as the target output voltage; wherein the voltage parameters of the control element change with the output voltage of the execution circuit 64; the execution circuit 64 is used to output an electrical signal under the regulation of the detection and control circuit 62. Figure 6 In the detection control circuit 62, the control element is the field effect tube Q5. Figure 2 and Figure 6 It can be seen that the execution circuit 64 in this embodiment is Figure 2 The main components of the execution circuit 201 are similar and will not be repeated here. In addition, the pulse width modulation signal PWM1 is input to the execution circuit 64 through the base of the transistor Q1 or the transistor Q4, and the pulse width modulation signal PWM2 is input to the execution circuit 64 through the base of the transistor Q2 or the transistor Q4. Compared with the related art, the detection and control circuit 62 of this embodiment can also realize the acquisition of the voltage parameters of the control element, thereby adjusting the output voltage of the execution circuit 64. In addition, Figure 6 In the embodiment, the detection and control circuit 62 further includes a resistor Rs connected to the ground terminal. The load access terminal in the execution circuit 64 is connected to the load Z L The two ends are connected.
[0080] The above-mentioned electrical stimulation device 60 can control the power consumption of the regulating element when the execution circuit outputs a constant current, so that even when the electrical stimulation device outputs different load currents, the power consumed by the regulating element can be reduced, thereby preventing the electrical stimulation device from heating, thereby improving the performance of the electrical stimulation device and reducing the overall power consumption of the electrical stimulation device.
[0081] Furthermore, in one embodiment, the detection and control circuit 62 also includes a resistance control subcircuit 621 and a voltage detection subcircuit 622; the resistance control subcircuit 621 is connected to the control element; the voltage detection subcircuit 622 includes a resistance module and an analog-to-digital conversion module, the resistance module is connected in parallel with the control element, and the analog-to-digital conversion module is connected to the resistance module; wherein: the resistance control subcircuit 621 is used to control the on-resistance of the control element, thereby controlling the execution circuit to achieve constant current output; the analog-to-digital conversion module is used to sample the voltage value of the control element through the resistance module to obtain the voltage parameters of the control element.
[0082] Among them, combined Figure 2 and Figure 6 It can be seen that in this embodiment Figure 2 On the basis of Figure 2 The control circuit 202 is used as part of the detection and control circuit 62. For example, the digital-to-analog converter DAC and the amplifier OP1 form a resistance control subcircuit 621, and a voltage detection subcircuit 622 is added on this basis. The voltage detection subcircuit 622 includes a resistance module composed of resistors R1 and R2, and an analog-to-digital converter (ADC). In the voltage detection subcircuit 622, the analog-to-digital converter can be an analog-to-digital converter ADC, which collects the voltage value of the control element, that is, the field effect transistor Q5, through the resistance module, thereby determining the voltage parameter of the control element.
[0083] In this embodiment, by adding a voltage detection subcircuit to the control element, the voltage value of the control element can be collected in a timely manner, thereby obtaining voltage parameters, and then adjusting the output voltage of the execution circuit based on the voltage parameters. Therefore, the added voltage detection subcircuit in this embodiment can help to ultimately control the power consumption of the control element.
[0084] Furthermore, in one embodiment, the detection control circuit also includes a microcontroller unit (MCU) and a diode module; the output end of the MCU is connected to the input end of the MCU through the diode module; the output end of the MCU is also connected to the analog-to-digital conversion module; the MCU is used to output a modulation signal to the diode module, so that the modulation signal is fed back to the input end of the MCU through the diode module, and is used to determine the moment when the analog-to-digital conversion module triggers sampling of the voltage of the control element based on the modulation signal fed back through the diode module.
[0085] Figure 7 The schematic diagram of the micro-control unit and the diode module in this embodiment is shown in FIG. The diode module includes diodes D1 and D2; the analog-to-digital conversion module is Figure 6 The analog-to-digital conversion module in the medium voltage detection subcircuit is connected to the microcontroller unit and samples the voltage value of the control element under the control of the microcontroller unit. Specifically, the input ends of the diodes D1 and D2 are connected to the output end of the microcontroller unit (not shown in the figure), and the output ends of the diodes D1 and D2 are connected to the input end of the microcontroller unit, so that after the microcontroller unit sends the modulation signal, based on the feedback of the diodes D1 and D2, it detects the rising edge of the modulation signal, and then controls the analog-to-digital conversion module to trigger the voltage sampling of the control element based on the rising edge. Specifically, the modulation signal generated by the microcontroller unit includes a pulse width modulation signal PWM1 and a pulse width modulation signal PWM2. PWM1 is fed back to the input end of the microcontroller unit through the diode D1, and PWM2 is fed back to the input end of the microcontroller unit through the diode D2.
[0086] When generating a modulation signal, the microcontroller can only determine the period and pulse width of the modulation signal, but cannot determine the time corresponding to the edge of the modulation signal. In other words, the microcontroller cannot determine the time corresponding to the rising edge and falling edge of the modulation signal in each period. Therefore, based on the relevant technology, this embodiment provides a diode module between the input and output terminals of the microcontroller. After the microcontroller generates and outputs the modulation signal, the diode module is fed back to the input terminal of the microcontroller. This allows the microcontroller to accurately determine the time of the rising edge of the modulation signal, thereby successfully achieving voltage sampling of the control element.
[0087] Additionally, in one embodiment, the execution circuit 64 further includes a boost circuit ( Figure 6 not shown). Figure 8 Schematic diagram of the voltage boosting of the execution circuit 64 in this embodiment. The voltage boosting circuit 80 can be implemented by a voltage boosting chip, or can be a circuit with voltage boosting function composed of multiple components based on a general method. Figure 8The boost circuit 80 is connected to the power supply BT to boost the voltage provided by the power supply to obtain the voltage value Vcc of the execution circuit. In addition, the boost circuit is also connected to the microcontroller unit to receive the control signal from the microcontroller unit and adjust the output voltage of the execution circuit based on the control signal.
[0088] Specifically, in one embodiment, the microcontroller unit is further configured to transmit a control signal formed from the voltage parameter detected by the voltage detection subcircuit 622 to the boost circuit 80; the boost circuit 80 is configured to adjust the output voltage of the execution circuit 64 based on the control signal. This embodiment, based on the microcontroller unit and the boost circuit, can regulate the output voltage of the execution circuit, thereby controlling the power consumed by the control element.
[0089] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0090] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0091] Obviously, the accompanying drawings are merely examples or embodiments of the present application. A person skilled in the art can also apply the present application to other similar situations based on these drawings without inventive effort. Furthermore, it is understandable that, although the work involved in this development process may be complex and lengthy, certain design, manufacturing, or production changes based on the technical content disclosed in this application are merely routine technical means for a person skilled in the art and should not be considered to constitute a deficiency in the disclosure of the present application.
[0092] The term "embodiment" as used in this application refers to specific features, structures, or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily mean that the embodiment is the same, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is understood, either explicitly or implicitly, by those skilled in the art that the embodiments described in this application can be combined with other embodiments when there is no conflict.
[0093] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A voltage regulation method for an electrical stimulation device, characterized in that: The electrical stimulation device includes an execution circuit and a detection and control circuit, the detection and control circuit includes a control element, and the method includes: When the detection and control circuit adjusts the execution circuit to output a constant current, obtaining a voltage parameter of the control element includes: When the detection and control circuit adjusts the execution circuit to output a constant current, based on the cycle of the voltage change of the control element, the target voltage of the control element in each corresponding cycle in multiple cycles is collected; wherein the target voltage is the lowest voltage in the cycle; Calculating the average of the collected multiple target voltages to obtain a voltage average, and determining the voltage average as the voltage parameter; The output voltage of the execution circuit is adjusted according to the voltage parameter so that the voltage parameter of the control element meets the preset conditions, and the adjusted output voltage is determined as the target output voltage; wherein the voltage parameter of the control element changes with the output voltage of the execution circuit.
2. The voltage regulation method according to claim 1, wherein: When the detection and control circuit adjusts the execution circuit to output a constant current, based on the cycle of the voltage change of the control element, collecting the target voltage of the control element in each corresponding cycle in multiple cycles, includes: When the detection and control circuit adjusts the execution circuit to output a constant current, a delayed sampling period is determined from the period of the voltage change of the control element according to the periodic characteristics of the voltage change of the control element; Determining, according to the delayed sampling period, a sampling moment for sampling the voltage of the control element in each corresponding cycle in a plurality of cycles; The voltage of the control element in the multiple cycles is sampled according to the sampling time, and the sampled voltage is used as the target voltage of the control element in the corresponding cycle.
3. The voltage regulation method according to claim 2, wherein: Determining, based on the delayed sampling period, a sampling moment for sampling the voltage of the regulating element in each corresponding cycle in a plurality of cycles includes: Obtaining a rising edge moment of a modulation signal input to the control element; A moment after the rising edge moment and separated from the rising edge moment by the delayed sampling period is used as a sampling moment for sampling the voltage of the regulating element.
4. The voltage regulation method according to claim 2, wherein: When the detection and control circuit adjusts the execution circuit to output a constant current, determining a delayed sampling period from a period of the voltage change of the control element according to a periodic characteristic of the voltage change of the control element includes: Acquiring a pulse width of a modulation signal input to the control element and a sampling delay value of the control element; According to the pulse width and the sampling delay value, a delayed sampling period is determined from the cycle of the voltage change of the control element.
5. An electrical stimulation device, characterized in that: include: Detection control circuit and execution circuit; The detection and control circuit includes a control element; The execution circuit includes a load access terminal; wherein: the detection and regulation circuit also includes a resistance control subcircuit and a voltage detection subcircuit; The detection and control circuit is used to control the power of the control element so that the execution circuit outputs a constant current; and is used to obtain a voltage parameter of the control element when adjusting the execution circuit to output a constant current, and adjust the output voltage of the execution circuit according to the voltage parameter so that the voltage parameter of the control element meets a preset condition, and determine the adjusted output voltage as the target output voltage; wherein the voltage parameter of the control element changes with the output voltage of the execution circuit; The execution circuit is used to output an electrical signal under the regulation of the detection and control circuit.
6. The electrical stimulation device according to claim 5, characterized in that The resistance control subcircuit is connected to the regulating element; the voltage detection subcircuit includes a resistance module and an analog-to-digital conversion module, the resistance module is connected in parallel with the regulating element, and the analog-to-digital conversion module is connected to the resistance module; wherein: The resistance control subcircuit is used to control the on-resistance of the regulating element; The analog-to-digital conversion module is used to sample the voltage value of the control element through the resistance module to obtain the voltage parameter of the control element.
7. The electrical stimulation device according to claim 6, wherein: The detection and control circuit further includes a micro control unit and a diode module; the output end of the micro control unit is connected to the input end of the micro control unit through the diode module; the output end of the micro control unit is also connected to the analog-to-digital conversion module; The microcontroller unit is used to output a modulation signal to the diode module so that the modulation signal is fed back to the input end of the microcontroller unit through the diode module, and is used to determine the moment when the analog-to-digital conversion module triggers sampling of the voltage of the control element based on the modulation signal fed back through the diode module.
8. The electrical stimulation device according to claim 7, wherein: The execution circuit further includes a voltage boost circuit.
9. The electrical stimulation device according to claim 8, wherein The microcontroller unit is further configured to send a control signal formed by the voltage parameter detected by the voltage detection subcircuit to the boost circuit; the boost circuit is configured to adjust the output voltage of the execution circuit according to the control signal.
Citation Information
Patent Citations
Constant-current electric stimulator without output transformer
CN1033443A
Current control circuit
CN109743811A