Control method, circuit and equipment of voltage regulation control circuit

By using a voltage regulation control circuit in an electrotherapy instrument for neuromuscular electrical stimulation therapy, the duty cycle is dynamically adjusted to stabilize the output voltage, solving the problem of voltage instability, improving the treatment effect and reducing the circuit complexity.

CN119995314APending Publication Date: 2025-05-13SHANGHAI LISTENT MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510067475.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In neuromuscular electrical stimulation therapy, the output voltage of the boost circuit will change when the constant voltage and constant current control electrotherapeutic instrument is connected instantaneously or when the power supply voltage changes, resulting in unstable voltage and reducing the treatment effect.

Method used

Through the voltage regulation control circuit, the input voltage and the output voltage are obtained, and the first duty cycle is determined based on the target voltage and the output voltage, and the duty cycle is dynamically adjusted, so that the output voltage is within the allowable error of the target voltage.

Benefits of technology

The voltage regulation circuit outputs a stable voltage, solves the problem of input voltage fluctuations or unstable voltage during load connection, and reduces the circuit complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995314A_ABST
    Figure CN119995314A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method, circuit and equipment of a voltage regulation control circuit, and relates to the technical field of voltage control, the voltage regulation control circuit comprises a voltage regulation circuit, and the method comprises the following steps: obtaining an input voltage and an output voltage of the voltage regulation circuit, the output voltage is obtained by adjusting the input voltage by the voltage adjusting circuit according to a first duty ratio; judging to update the first duty ratio according to a given target voltage and the output voltage; and according to the input voltage and the output voltage, solving to obtain an updated first duty ratio, so that the voltage regulating circuit regulates the input voltage according to the updated first duty ratio until the output voltage is less than an allowable error of the target voltage. According to the embodiment of the invention, while stable voltage output is realized, the modification degree of hardware of the voltage regulation control circuit is low, and the complexity of the circuit is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of voltage control, and in particular to a control method, circuit and device for a voltage regulation control circuit. Background Art

[0002] Neuromuscular Electrical Stimulation (NMES) is a rehabilitation therapy that uses electrical stimulation to activate nerve and muscle tissue. Its basic principle is to send specific electrical pulses to nerves or muscles through external electrical stimulation equipment. These electrical pulses can simulate the body's own nerve impulses and cause muscle contraction. There are generally two different control forms for the electrical pulses output by common electrical stimulation treatment instruments: constant voltage and constant current.

[0003] Among them, the constant voltage low-frequency electrotherapy device controls the boost circuit through a microcontroller unit to boost the voltage and then supplies it to the stimulation circuit. Under the control of the microcontroller unit, the stimulation circuit outputs the required treatment waveform to the electrode. The electrode directly contacts the user and generates electrical stimulation to the user's treatment area. The constant current low-frequency electrotherapy device adds a feedback circuit for current output on the basis of constant voltage to ensure that the current acting on the user is constant and does not change with changes in external impedance. Both of the above control methods require the microcontroller unit to control the boost circuit to the constant voltage of the therapeutic device target. In practice, when the therapeutic device has a transient load connected or the power supply voltage changes, the output voltage of the boost circuit, that is, the target constant voltage, will also change, causing voltage instability and reducing the treatment effect. Summary of the invention

[0004] In view of this, embodiments of the present application provide a control method, circuit and device for a voltage regulation control circuit to solve at least one problem existing in the background technology.

[0005] In a first aspect, an embodiment of the present application provides a control method of a voltage regulation control circuit, wherein the voltage regulation control circuit includes a voltage regulation circuit, including:

[0006] Acquire an input voltage and an output voltage of the voltage regulating circuit, wherein the output voltage is obtained by regulating the input voltage by the voltage regulating circuit according to a first duty cycle;

[0007] According to a given target voltage and the output voltage, determining to update the first duty cycle;

[0008] An updated first duty cycle is obtained according to the input voltage and the output voltage, so that the voltage regulating circuit regulates the input voltage according to the updated first duty cycle until the output voltage is below an allowable error of the target voltage.

[0009] In conjunction with the first aspect of the present application, in an optional implementation manner, determining to update the first duty cycle according to a given target voltage and the output voltage includes:

[0010] comparing the target voltage and the output voltage;

[0011] If the output voltage is outside the allowable error of the target voltage, it is determined to update the first duty cycle.

[0012] In conjunction with the first aspect of the present application, in an optional implementation manner, the method further includes:

[0013] An initial duty cycle of the first duty cycle is predetermined, wherein the initial duty cycle is calculated according to the input voltage and the target voltage.

[0014] In combination with the first aspect of the present application, in an optional implementation manner, solving the updated first duty cycle according to the input voltage and the output voltage includes:

[0015] Calculating a second duty cycle according to the input voltage and the output voltage;

[0016] The second duty cycle is subjected to target approximation processing according to a given target duty cycle to obtain an updated first duty cycle.

[0017] In combination with the first aspect of the present application, in an optional implementation, the voltage regulating circuit includes a Boost circuit.

[0018] In combination with the first aspect of the present application, in an optional implementation manner, the calculating the second duty cycle according to the input voltage and the output voltage includes:

[0019] A difference between the output voltage and the input voltage is divided by the output voltage to obtain a second duty cycle.

[0020] In conjunction with the first aspect of the present application, in an optional implementation manner, performing a target approximation process on the second duty cycle according to a given target duty cycle to obtain an updated first duty cycle includes:

[0021] converting the second duty cycle into a corresponding count value;

[0022] Calculating a proportionality coefficient according to the target duty cycle and the second duty cycle;

[0023] Multiplying the maximum count value, the given step coefficient and the proportional coefficient to obtain a count change value;

[0024] The count change value and the count value are added and converted into a corresponding duty cycle to obtain an updated first duty cycle.

[0025] In conjunction with the first aspect of the present application, in an optional implementation manner, the method further includes:

[0026] If the sum of the count change value and the count value is greater than the maximum count value, it is determined that the first duty ratio is not to be updated.

[0027] In a second aspect, an embodiment of the present application provides a voltage regulation control circuit, including a voltage regulation circuit and a controller;

[0028] The voltage regulating circuit comprises an input end, an output end and a control end, wherein the input end is used to receive an input voltage, and the output end is used to output an output voltage after voltage regulation;

[0029] The controller includes a driving end, which is used to transmit a first duty cycle to the control end; and the controller is configured to implement the method as described in any one of the first aspects above.

[0030] In a third aspect, an embodiment of the present application provides an electrical stimulation device, including a battery assembly, a voltage regulation control circuit, a stimulation circuit and an electrode, wherein the voltage regulation control circuit is a voltage regulation control circuit as described in any one of the second aspects above.

[0031] In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory;

[0032] The memory is used to store computer executable instructions;

[0033] The processor is used to execute the computer executable instructions to implement the method as described in any one of the first aspects above.

[0034] In a fifth aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method described in any one of the first aspects above is implemented.

[0035] The beneficial effects of the technical solution provided by the embodiment of the present application include: based on a given target voltage, combined with the output voltage of the voltage regulating circuit, determining whether to update the first duty cycle, after determining to update the first duty cycle, dynamically adjusting the first duty cycle according to the input voltage and output voltage of the voltage regulating circuit, until the output voltage of the voltage regulating circuit is below the allowable error of the target voltage, thereby achieving a stable voltage output by the voltage regulating circuit, which can solve the problem of input voltage fluctuations or other loads being connected, and the voltage regulating circuit outputting a stable voltage. It can be seen that the embodiment of the present application has a low degree of modification to the hardware of the voltage regulating control circuit while achieving a stable voltage output, thereby reducing the complexity of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A flowchart of a control method of a voltage regulation control circuit provided in an embodiment of the present application;

[0038] Figure 2 This is the circuit diagram of the Boost circuit;

[0039] Figure 3 It is a simplified structural diagram of the voltage regulation control circuit;

[0040] Figure 4 A flowchart of a control method of a voltage regulation control circuit provided in a specific example of the present application;

[0041] Figure 5 A schematic diagram of the structure of an electrical stimulation device provided in one embodiment of the present application;

[0042] Figure 6 A schematic diagram of the structure of an electrical stimulation device provided for a specific example of the present application;

[0043] Figure 7 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] In order to make the technical solutions and beneficial effects of the present invention more clearly understandable, the following is a detailed description by listing specific embodiments. The drawings are not necessarily drawn to scale, and local features may be enlarged or reduced to more clearly show the details of the local features; unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application belongs.

[0046] like Figure 1As shown, an embodiment of the present application provides a control method for a voltage regulation control circuit, and the voltage regulation control circuit can be applied to an electrical stimulation device, and the electrical stimulation device can be an electrical stimulation therapeutic device. The electrical stimulation device includes a battery assembly, a voltage regulation control circuit, a stimulation circuit, and an electrode. The voltage regulation control circuit includes a voltage regulation circuit and a controller. The voltage regulation circuit can be a boost circuit, wherein the controller controls the boost circuit to boost the voltage provided by the battery assembly and then provide it to the stimulation circuit. The stimulation circuit outputs the required treatment waveform to the electrode under the control of the controller. The electrode directly contacts the user and generates electrical stimulation to the treatment part of the user.

[0047] The voltage boost circuit of this embodiment may be a Boost voltage boost circuit, such as Figure 2 As shown. The Boost circuit includes an inductor L, a switch tube S, a diode VD and a capacitor C. Its working principle is to store energy in the inductor L and release it to the load R by periodically controlling the on and off of the switch tube S, thereby achieving voltage boost. During the on stage of the switch tube S (energy storage), the input voltage U i Directly add it to both ends of the inductor L. At this time, the current path in the circuit is from the positive pole of the power supply, the inductor L, the switch tube S to the negative pole of the power supply. At this time, the inductor L will hinder the change of the current, so the current will gradually increase, and the inductor L begins to store magnetic field energy. In this process, the voltage across the inductor L, and because the diode VD is in a reverse biased state, the capacitor C discharges to the load R to maintain the output voltage U o In the off stage of the switch tube S (energy release), the current in the inductor L cannot change suddenly. The inductor L will generate a self-inductance electromotive force to maintain the flow of current. At this time, the current in the inductor L flows to the capacitor C and the load R through the diode VD. The magnetic field energy in the inductor L begins to be converted into electrical energy and released. The voltage across the inductor L is equal to the input voltage U. i After superposition, it acts on the capacitor C and the load R, making the output voltage U o Under steady-state conditions, the output voltage U can be adjusted by controlling the on-time and off-time ratio of the switch tube S, that is, the duty cycle D. o The size of V 2 / V 1 =1 / (1-D), where V 2 is the output voltage U o The voltage value, V 1 is the input voltage U i The voltage value is D, and D is the duty cycle, and 0<D<1. Obviously, the stable voltage required by the output of the Boost circuit can be achieved by dynamically adjusting the first duty cycle of the Boost circuit by the controller. This voltage is called the target voltage in this embodiment.

[0048] The controller may also be used to execute steps S101 to S103.

[0049] Step S101: acquiring an input voltage and an output voltage of a voltage regulating circuit, wherein the output voltage is obtained by regulating the input voltage by the voltage regulating circuit according to a first duty cycle.

[0050] The Boost circuit can boost the input voltage according to the first duty cycle to obtain the output voltage, wherein the input voltage can be regarded as the output of the battery assembly, and the output voltage can be regarded as the output of the Boost circuit. In this embodiment, the initial duty cycle of the first duty cycle can be predetermined, wherein the initial duty cycle is calculated based on the input voltage and the target voltage. Specifically, the initial value of the first duty cycle, i.e., the initial duty cycle, can be set in advance in the electrical stimulation device, which can also be referred to as the initial PWM (Pulse Width Modulation), so that the Boost circuit boosts the input voltage, wherein the target voltage is determined in advance by the boost circuit according to the gear position of the device, which can also be referred to as the target output voltage V out , the target voltage is the expected value of the output voltage. If the output voltage (here is the target voltage) and the input voltage are known, then according to the relationship V 2 / V 1 =1 / (1-D) to determine the target duty cycle, and use the target duty cycle as the initial duty cycle to reduce the number of duty cycle adjustments and quickly stabilize the output voltage.

[0051] Step S102: determining whether to update the first duty cycle according to a given target voltage and output voltage.

[0052] In this step, it can be determined whether the first duty cycle needs to be updated based on whether the output voltage is within the allowable error of the target voltage, so step S102 may include: comparing the target voltage and the output voltage; if the output voltage is outside the allowable error of the target voltage, determining to update the first duty cycle. In this embodiment, when the output voltage is outside the allowable error of the target voltage, it means that the first duty cycle cannot make the Boost boost circuit output the target voltage, thereby affecting the waveform generated by the stimulation circuit to the electrode, resulting in the user being unable to obtain effective stimulation treatment. Therefore, in this case, it is necessary to recalculate the first duty cycle, and use the calculated first duty cycle as the updated first duty cycle to the Boost boost circuit, so that the Boost boost circuit outputs a stable voltage. When the output voltage is within the allowable error of the target voltage, it means that the output voltage meets the demand and there is no need to adjust the first duty cycle. The allowable error can be a relative error, and the specific value can be determined based on experience, which will not be repeated here.

[0053] Step S103: according to the input voltage and the output voltage, an updated first duty cycle is obtained, so that the voltage regulating circuit regulates the input voltage according to the updated first duty cycle until the output voltage is below the allowable error of the target voltage.

[0054] like Figure 3 As shown, the controller receives the input voltage and the actual output voltage of the Boost circuit, and determines the next first duty cycle for the output voltage to approach the target voltage according to the actual input voltage and the output voltage. The next first duty cycle is the updated first duty cycle. The controller then gives the next first duty cycle to the Boost circuit, so that the Boost circuit performs boost regulation again according to the input voltage to obtain a new output voltage, and then determines whether the above-mentioned next first duty cycle needs to be updated according to the new output voltage. This cycle is repeated until the output voltage of the Boost circuit is within the allowable error of the target voltage.

[0055] Further, step S103 may include steps S301 to S302.

[0056] Step S301: Calculate and obtain a second duty cycle according to the input voltage and the output voltage.

[0057] In step S301, the difference between the output voltage and the input voltage is divided by the output voltage to obtain the second duty cycle.

[0058] Step S302: performing target approximation processing on the second duty cycle according to a given target duty cycle to obtain an updated first duty cycle.

[0059] Among them, it needs to be explained that the output voltage and the duty cycle are positively correlated, and the target approximation refers to gradually approaching the second duty cycle to the target duty cycle according to a certain step size, which can also be understood as the output voltage gradually approaching the target voltage. The specific implementation method of step S302 can be: converting the second duty cycle to the corresponding count value; calculating the proportional coefficient according to the target duty cycle and the second duty cycle; multiplying the maximum count value, the given step size coefficient and the proportional coefficient to obtain the count change value; adding the count change value and the count value, converting them to the corresponding duty cycle, that is, obtaining the updated first duty cycle.

[0060] In step S103, assuming that the number of bits of the controller is 16, its resolution means that one PWM cycle can be divided into two 16 (i.e. 65536) equal parts, which means that there are 65536 different counts to adjust the PWM signal, and its maximum count value C' is 65536. The current input voltage value is V in-n , and the input voltage is basically stable in the short term, so it can be regarded as a fixed value V in the calculation. in, in actual calculation, the current output voltage is calculated based on the measured value. out-n , the target voltage is V out , the target duty cycle value is D 0 , the second duty cycle value is D 2-n , then D 0 =(V out -V in-n ) / V out , D 2-n =(V out-n -V in-n ) / V out-n . 2-n =50% as an example, the second duty cycle 50% is converted into the corresponding count value C n is 32768, where C = M·D 2-n The formula for calculating the proportionality coefficient K is: K = (D 2-n -D 0 ) / D 0 , from which the proportional coefficient K can be solved. After that, the step of PWM regulation is calculated according to the set step coefficient α, and the count change value ΔC = K·M·α is calculated. Assuming that the set step coefficient is 50%, then ΔC = K·M·50%. When ΔC < 1, ΔC takes the value of 1, and the next count value C n+1 =C n +ΔC, and then the next count value C n+1 Converted to the updated first duty cycle D 1-n , and decide to output the first duty cycle D 1-n To the boost circuit.

[0061] In practice, C n+1 must be less than the maximum count value C′, so when C n+1 =C′ or C n+1 >C′, the first duty cycle cannot be further adjusted, so when the sum of the count change value and the count value is greater than or equal to the maximum count value, it can be determined that the first duty cycle does not need to be updated, and the previous first duty cycle can be used to control the Boost circuit. Preferably, the embodiment of the present application also includes: if the sum of the count change value and the count value is above the maximum count value, it is determined that the first duty cycle is not updated.

[0062] It can be seen that the embodiment of the present application collects the output of the battery assembly, calculates the initial duty cycle with the set target voltage, synchronously collects the voltage actually output by the boost circuit, recalculates the duty cycle according to the output of the battery assembly and the output of the boost circuit, and performs target approximation processing to obtain the duty cycle provided to the boost circuit, wherein the output of the battery assembly can be regarded as a fixed value, and repeats the steps of calculating and obtaining the duty cycle for the boost circuit according to the output of the boost voltage until the voltage output value of the boost circuit is within the allowable error of the target voltage value or the duty cycle cannot be further adjusted.

[0063] The embodiment of the present application is based on a given target voltage and combines the output voltage of the voltage regulating circuit to determine whether to update the first duty cycle. After determining to update the first duty cycle, the first duty cycle is dynamically adjusted according to the input voltage and output voltage of the voltage regulating circuit until the output voltage of the voltage regulating circuit is below the allowable error of the target voltage, thereby achieving a stable voltage output by the voltage regulating circuit, which can solve the problem of input voltage fluctuations or other loads being connected, and the voltage regulating circuit outputs a stable voltage. It can be seen that the embodiment of the present application has a low degree of modification to the hardware of the voltage regulating control circuit while achieving a stable voltage output, thereby reducing the complexity of the circuit.

[0064] The control method of the voltage regulation control circuit provided in the present application is further explained below with reference to a specific example.

[0065] Figure 4 A flowchart of this specific example is shown; Figure 4 As shown, first, according to the gear position of the electrical stimulation device, the target output voltage V is determined. out , set the initial PWM, the initial PWM can be calculated from the target output voltage and the rated voltage of the battery, detect the actual voltage of the battery, detect the actual output voltage V of the boost circuit out-n , determine the output voltage V out-n Is the target output voltage V out If yes, return to the step of detecting the battery voltage; otherwise, calculate the duty cycle D 2-n , and decide the duty cycle D of the actual output to the boost circuit 1-n After the decision is made, it is determined whether the PWM setting in the electrical stimulation device is adjustable, if so, the PWM is reset and the process returns to the step of detecting the battery voltage, otherwise the process returns directly to the step of detecting the battery voltage.

[0066] Based on the control method of the voltage regulation control circuit in this specific example, the embodiment of the present application also provides a voltage regulation control circuit. Figure 3The structure of the voltage regulation control circuit is shown; as shown in the figure, the voltage regulation control circuit includes a voltage regulation circuit and a controller; the voltage regulation circuit includes an input end, an output end and a control end, the input end is used to receive an input voltage, and the output end is used to output a voltage after voltage regulation; the controller includes a driving end, and the driving end is used to transmit a first duty cycle to the control end; and the controller is configured to implement a method as in any of the above embodiments.

[0067] It is worth noting that the circuit embodiment provided in the present application has been described in detail in the above method embodiment and will not be repeated here.

[0068] like Figure 5 As shown, an embodiment of the present application also provides an electrical stimulation device, including a battery assembly, a voltage regulation control circuit, a stimulation waveform control circuit and an electrode, wherein the voltage regulation control circuit is a voltage regulation control circuit as in any of the above embodiments, and the voltage regulation control circuit includes a voltage regulation circuit and a controller, wherein the voltage regulation circuit can be a Boost circuit.

[0069] In this embodiment, the controller controls the Boost circuit to boost the voltage (input voltage) provided by the battery assembly and then provide it to the stimulation circuit. Under the control of the controller, the stimulation circuit outputs the required treatment waveform to the electrode. The electrode directly contacts the user and generates electrical stimulation to the treatment part of the user.

[0070] Among them, the function of the controller can be integrated into the PWM unit of the main control chip, or it can be a PWM control chip external to the main control chip. When the main control chip in the electrical stimulation device on the market is integrated with a PWM chip, there is almost no need to modify the hardware of the device. Only the software needs to be upgraded to achieve stable output of the boost circuit.

[0071] like Figure 6 As shown, Figure 6 The specific structure diagram of the electrical stimulation device. Figure 6 The hardware of the electrical stimulation device is introduced. The main control chip can be an 8-bit / 16-bit / 32-bit single-chip microcomputer MCU or a higher-level chip such as DSP / ARM. The ADC (Analog-to-Digital Converter) acquisition module can use the ADC unit that comes with the main control chip, or an independent ADC. The PWM control unit can be the PWM unit of the main control chip or an external PWM control chip. The boost circuit can be a Boost boost circuit, such as Figure 2As shown. The output voltage feedback processing unit and the battery voltage processing unit are both for the convenience of ADC to collect and perform subsequent related calculations. The output voltage feedback processing unit can be used to divide the output voltage of the Boost circuit, and use an operational amplifier to follow and input it to the ADC; the battery voltage processing unit is used to divide the battery voltage and input it to the ADC. The stimulation waveform control circuit is mainly used to output the required treatment waveform to the electrode under the control of the waveform / frequency / pulse width of the electrical stimulation of the main control chip. The electrode is in direct contact with the human skin and generates electrical stimulation to the treatment area of ​​the user. And other input and output units, such as buttons, display screens, Bluetooth networks, etc. It should be noted that the connection between the input end of the boost circuit and the output end of the battery is well known. Figure 6 There is no picture in the picture.

[0072] In this embodiment, by sampling the ADC feedback of the output voltage of the boost circuit, combined with the voltage regulation control circuit and the adjustable boost control circuit, a constant voltage output voltage for stable electrical stimulation is achieved. Through the embodiment of the present application, the voltage fluctuation and voltage drop problems of the constant voltage source output by the boost circuit can be solved when the battery voltage changes or the instantaneous load is connected to a small wearable electrical stimulation therapeutic device using a battery.

[0073] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method in any of the above embodiments are implemented.

[0074] The present application embodiment can be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium, which is loaded with a computer-readable program instruction for making a processor realize various aspects of the present application. The computer program product can be written in any combination of one or more programming languages ​​to perform the program code for performing the operation of the present application embodiment, and the programming language includes an object-oriented programming language, such as Java, C++, etc., and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed completely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device, partially on the remote computing device, or completely on the remote computing device or server. In the case of a remote computer, the remote computer can be connected to the user computer through any type of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present application.

[0075] Computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. Computer readable storage medium is a tangible device that can keep and store instructions used by an instruction execution device. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0076] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0077] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0078] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0079] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0080] An embodiment of the present application also provides an electronic device. Figure 7 The figure is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device 700 includes: one or more processors 701 and a memory 702; the memory 702 stores computer executable instructions; the processor 701 is used to execute the computer executable instructions to implement the steps in the method of any of the above embodiments.

[0081] The processor 701 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0082] The memory 702 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 701 may execute the program instructions to implement the steps in the methods of the various embodiments of the present application described above and / or other desired functions.

[0083] In one example, the electronic device 700 may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown in the figure).

[0084] In addition, the input device may also include, for example, a keyboard, a mouse, a microphone, etc. The output device may output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0085] Of course, to simplify, Figure 7 Only a part of the components related to the present application in the electronic device 700 is shown, and components such as a bus, an input device / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 700 may also include any other appropriate components.

[0086] It should be noted that the method embodiments, circuit embodiments, device embodiments, computer-readable storage medium embodiments and electronic device embodiments provided in the embodiments of the present application belong to the same concept; the technical features in the technical solutions recorded in each embodiment can be arbitrarily combined without conflict.

[0087] It should be understood that the above embodiments are exemplary and are not intended to include all possible implementations included in the claims. Various modifications and changes may be made on the basis of the above embodiments without departing from the scope of the present disclosure. Similarly, the various technical features of the above embodiments may be arbitrarily combined to form other embodiments of the present invention that may not be explicitly described. Therefore, the above embodiments only express several implementations of the present invention and do not limit the scope of protection of the patent of the present invention.

Claims

1. A control method for a voltage regulation control circuit, wherein the voltage regulation control circuit comprises a voltage regulation circuit, characterized in that: include: Acquire an input voltage and an output voltage of the voltage regulating circuit, wherein the output voltage is obtained by regulating the input voltage by the voltage regulating circuit according to a first duty cycle; According to a given target voltage and the output voltage, determining to update the first duty cycle; An updated first duty cycle is obtained according to the input voltage and the output voltage, so that the voltage regulating circuit regulates the input voltage according to the updated first duty cycle until the output voltage is below an allowable error of the target voltage.

2. The control method of the voltage regulation control circuit according to claim 1, characterized in that: The step of determining to update the first duty cycle according to the given target voltage and the output voltage includes: comparing the target voltage and the output voltage; If the output voltage is outside the allowable error of the target voltage, it is determined to update the first duty cycle.

3. The control method of the voltage regulation control circuit according to claim 1, characterized in that: Also includes: An initial duty cycle of the first duty cycle is predetermined, wherein the initial duty cycle is calculated according to the input voltage and the target voltage.

4. The control method of the voltage regulation control circuit according to claim 1 or 3, characterized in that: The step of obtaining an updated first duty cycle according to the input voltage and the output voltage includes: Calculating a second duty cycle according to the input voltage and the output voltage; The second duty cycle is subjected to target approximation processing according to a given target duty cycle to obtain an updated first duty cycle.

5. The control method of the voltage regulation control circuit according to claim 4, characterized in that: The voltage regulating circuit includes a Boost circuit.

6. The control method of the voltage regulation control circuit according to claim 5, characterized in that: The step of calculating a second duty cycle according to the input voltage and the output voltage includes: A difference between the output voltage and the input voltage is divided by the output voltage to obtain a second duty cycle.

7. The control method of the voltage regulation control circuit according to claim 5, characterized in that: The step of performing a target approximation process on the second duty cycle according to a given target duty cycle to obtain an updated first duty cycle includes: converting the second duty cycle into a corresponding count value; Calculating a proportionality coefficient according to the target duty cycle and the second duty cycle; Multiplying the maximum count value, the given step coefficient and the proportional coefficient to obtain a count change value; The count change value and the count value are added and converted into a corresponding duty cycle to obtain an updated first duty cycle.

8. The control method of the voltage regulation control circuit according to claim 7, characterized in that: Also includes: If the sum of the count change value and the count value is greater than the maximum count value, it is determined that the first duty ratio is not to be updated.

9. A voltage regulation control circuit, characterized in that: Including voltage regulating circuit and controller; The voltage regulating circuit comprises an input end, an output end and a control end, wherein the input end is used to receive an input voltage, and the output end is used to output an output voltage after voltage regulation; The controller comprises a driving end, and the driving end is used to transmit a first duty cycle to the control end; And, the controller is configured to implement the method according to any one of claims 1 to 8.

10. An electrical stimulation device, comprising a battery assembly, a voltage regulation control circuit, a stimulation circuit and electrodes, characterized in that: The voltage regulation control circuit is the voltage regulation control circuit as claimed in claim 9.