Electromagnetic muscle shaping instrument, magnetic field intensity control method and equipment thereof, medium and product
By real-time monitoring of the capacitance value and calculating the charging voltage target value, combined with the PID algorithm to control the variable power supply output voltage, the problem of magnetic field strength control accuracy caused by capacitor aging in the electromagnetic muscle shaping device is solved, and a stable muscle stimulation effect is achieved.
Patent Information
- Application Number
- CN202510738280.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-10-10
AI Technical Summary
Existing electromagnetic muscle shaping devices have poor electromagnetic energy control accuracy due to the aging of key components and are unable to achieve ideal muscle stimulation effects.
By real-time monitoring of the capacitance value in the LC oscillation circuit, calculating the charging voltage target value, and controlling the variable power supply output voltage based on the PID algorithm, the attenuation of the magnetic field strength caused by capacitor aging is compensated to ensure the accuracy of magnetic field strength control.
Stable magnetic field strength control is achieved within the life of the capacitor, avoiding the decrease in magnetic field strength accuracy due to capacitor aging and ensuring the muscle stimulation effect.
Smart Images

Figure CN120754445A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electromagnetic body shaping technology, and in particular to an electromagnetic muscle shaping instrument and a magnetic field intensity control method, equipment, medium and product thereof. Background Art
[0002] Electromagnetic muscle sculpting devices use electromagnetic pulses to stimulate deep muscles through high-frequency electromagnetic waves. For example, high-intensity focused electromagnetic waves (HIFEM) stimulate deep muscles (such as the core muscles) through ultra-high frequency (50-100 Hz) pulses, inducing super-strong muscle contractions (20-30% greater than voluntary contractions) while simultaneously triggering adipocyte apoptosis (for example, by rupturing cell membranes and releasing triglycerides), promoting muscle growth and fat metabolism, and achieving non-invasive beauty and fitness sculpting. However, existing solutions still suffer from poor electromagnetic energy control precision due to aging key components. Summary of the Invention
[0003] The present invention provides an electromagnetic muscle shaping instrument and its magnetic field strength control method, equipment, medium and product, which are used to solve the defect of poor electromagnetic energy control accuracy caused by aging of key components of the electromagnetic muscle shaping instrument in the prior art, and realize precise control of the electromagnetic energy of the electromagnetic muscle shaping instrument.
[0004] The present invention provides a method for controlling the magnetic field strength of an electromagnetic muscle shaping instrument. The electromagnetic muscle shaping instrument comprises: an LC oscillation circuit and a variable power supply, wherein the variable power supply is electrically connected to the LC oscillation circuit; the method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument comprises the following steps.
[0005] Get the actual capacitance value of the capacitor in the LC oscillation circuit; Calculate the target charging voltage value based on the actual capacitance value and the target magnetic field strength; Based on the charging voltage target value, the output voltage of the variable power supply is controlled.
[0006] According to a method for controlling the magnetic field strength of an electromagnetic muscle shaping device provided by the present invention, the actual capacitance value of a capacitor in an LC oscillation circuit is obtained, comprising: Obtain the voltage sampling value across the capacitor in the LC oscillation circuit; Determine the oscillation frequency of the LC oscillation circuit based on the voltage sampling value across the capacitor in the LC oscillation circuit; Calculate the actual capacitance value of the capacitor in the LC oscillation circuit based on the oscillation frequency of the LC oscillation circuit.
[0007] According to a method for controlling the magnetic field strength of an electromagnetic muscle shaping device provided by the present invention, a target charging voltage value is calculated according to an actual capacitance value and a target magnetic field strength, comprising: Calculate the target charging voltage using the following formula: in, μ 0 represents the vacuum permeability of the inductor, N Indicates the number of turns of the inductor coil, R represents the radius of the inductor coil, L Indicates the coil inductance value, z It represents the axial distance between the point on the coil axis and the center point of the coil. r Indicates the equivalent resistance value of the oscillation circuit, Indicates the target magnetic field strength, Indicates the actual capacitance value.
[0008] According to the present invention, a method for controlling the magnetic field strength of an electromagnetic muscle shaping device is provided, which controls the output voltage of a variable power supply based on a target charging voltage value, comprising: Get the actual voltage output value of the variable power supply; Calculating a charging voltage compensation value based on a charging voltage target value and an actual voltage output value of the variable power supply; Based on the charging voltage compensation value, the output voltage of the variable power supply is controlled so that the output voltage of the variable power supply reaches the charging voltage target value.
[0009] According to the present invention, a method for controlling the magnetic field strength of an electromagnetic muscle shaping device is provided, which controls the output voltage of a variable power supply based on a charging voltage compensation value, comprising: Based on the charging voltage compensation value, a PID algorithm is used to control the output voltage of the variable power supply.
[0010] According to a method for controlling the magnetic field strength of an electromagnetic muscle shaping instrument provided by the present invention, the method further includes: Determine whether the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold; If the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold, a prompt signal is issued to warn that the capacitor life has reached an upper limit.
[0011] The present invention also provides an electromagnetic muscle shaping instrument, comprising: LC oscillator circuit; A voltage detection module, wherein the sampling end is connected in parallel with the capacitor of the LC oscillation circuit, and the output end is connected to the input end of the controller, and is used to sample the voltage value of the capacitor of the LC oscillation circuit in real time; a variable power supply electrically connected to the LC oscillation circuit; and A controller, whose output end is controllably connected to the variable power supply, is used to obtain a voltage sampling value across the capacitor in the LC oscillation circuit, determine an oscillation frequency of the LC oscillation circuit based on the voltage sampling value across the capacitor in the LC oscillation circuit, calculate an actual capacitance value of the capacitor in the LC oscillation circuit based on the oscillation frequency of the LC oscillation circuit, calculate a charging voltage target value based on the actual capacitance value and a target magnetic field strength, and control the output voltage of the variable power supply based on the charging voltage target value.
[0012] The present invention also provides a magnetic field strength control device for an electromagnetic muscle shaping instrument, which includes the following modules.
[0013] The actual capacitance value acquisition module is used to obtain the actual capacitance value of the capacitor in the LC oscillation circuit.
[0014] The charging voltage target value calculation module is used to calculate the charging voltage target value according to the actual capacitance value and the target magnetic field strength.
[0015] The output voltage control module is used to control the output voltage of the variable power supply based on the charging voltage target value.
[0016] In an exemplary embodiment, the actual capacitance value obtaining module includes: The voltage sampling value acquisition unit is used to obtain the voltage sampling value across the capacitor in the LC oscillation circuit.
[0017] The oscillation frequency determination unit is used to determine the oscillation frequency of the LC oscillation circuit according to the voltage sampling value across the capacitor in the LC oscillation circuit.
[0018] The actual capacitance value calculation unit is used to calculate the actual capacitance value of the capacitor in the LC oscillation circuit according to the oscillation frequency of the LC oscillation circuit.
[0019] In an exemplary embodiment, the charging voltage target value calculation module is specifically configured to calculate the charging voltage target value according to the following formula: in, μ 0 represents the vacuum permeability of the inductor, N Indicates the number of turns of the inductor coil, R represents the radius of the inductor coil, L Indicates the coil inductance value, z It represents the axial distance between the point on the coil axis and the center point of the coil. r Indicates the equivalent resistance value of the oscillation circuit, Indicates the target magnetic field strength, Indicates the actual capacitance value.
[0020] In one example embodiment, the output voltage control module includes: A power supply actual output voltage acquisition unit, used to acquire the actual voltage output value of the variable power supply; a charging voltage compensation value calculation unit, configured to calculate a charging voltage compensation value based on a charging voltage target value and an actual voltage output value of a variable power supply; The variable power supply output voltage control unit is used to control the output voltage of the variable power supply based on the charging voltage compensation value so that the output voltage of the variable power supply reaches the charging voltage target value.
[0021] In an exemplary embodiment, the variable power supply output voltage control unit is specifically configured to control the output voltage of the variable power supply using a PID algorithm based on the charging voltage compensation value.
[0022] In an exemplary embodiment, the magnetic field strength control device of the electromagnetic muscle shaping instrument also includes a capacitor life warning module, which is used to determine whether the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold value; if the actual capacitance value of the capacitor in the LC oscillation circuit is less than the preset threshold value, a prompt signal is issued to warn that the capacitor life has reached an upper limit.
[0023] The present invention also provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method for controlling the magnetic field intensity of the electromagnetic muscle shaping instrument as described above is implemented.
[0024] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for controlling the magnetic field intensity of the electromagnetic muscle shaping device as described above is implemented.
[0025] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described methods for controlling the magnetic field intensity of an electromagnetic muscle shaping device.
[0026] The electromagnetic muscle shaping device and its magnetic field strength control method, device, medium, and product provided by the present invention obtain the actual capacitance value of the capacitor in the LC oscillating circuit in real time, calculate the target charging voltage based on the actual capacitance value and the target magnetic field strength, and control the variable power supply output voltage based on the target charging voltage. Specifically, by adjusting the charging voltage output by the variable battery, the electromagnetic energy that decays as the capacitor's capacity decreases with aging is compensated in real time, allowing the magnetic field strength to be accurately controlled at the target magnetic field strength. Because the present invention compensates for the magnetic field strength in response to capacitor aging, the control accuracy of the magnetic field strength is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0028] Figure 1 Schematic diagram of the circuit structure of the electromagnetic muscle shaping device provided in an embodiment of the present invention.
[0029] Figure 2 This is one of the flow charts of the method for controlling the magnetic field strength of the electromagnetic muscle shaping device provided in an embodiment of the present invention.
[0030] Figure 3 4 is a flow chart of a method for determining an actual capacitance value provided by an embodiment of the present invention.
[0031] Figure 4 Schematic diagram of the attenuation oscillation curve of the RLC oscillation circuit in an embodiment of the present invention.
[0032] Figure 5 It is a flow chart of a variable voltage output voltage control method provided by an embodiment of the present invention.
[0033] Figure 6 This is a PID control principle diagram provided by an embodiment of the present invention.
[0034] Figure 7 This is the second flow chart of the method for controlling the magnetic field strength of the electromagnetic muscle shaping device provided in an embodiment of the present invention.
[0035] Figure 8 Schematic diagram of the structure of the magnetic field strength control device of the electromagnetic muscle shaping instrument provided by an embodiment of the present invention.
[0036] Figure 9 It is a structural schematic diagram of the electronic device provided by the present invention.
[0037] Reference numerals: 101: LC oscillation circuit; 102: voltage detection module; 103: controller; 104: variable power supply. DETAILED DESCRIPTION
[0038] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0039] In the electromagnetic energy circuit, the most critical components include: thyristor switch, energy storage capacitor, and excitation coil, among which the performance degradation problem of energy storage capacitor is the biggest shortcoming. During the long-term charging and discharging process of the energy storage capacitor, the energy storage capacity of the capacitor continues to decrease due to the backflow of electrolyte, reduced ion concentration, degradation of electrode material, accelerated aging due to high temperature, etc. According to experience, when the capacitance decays to less than 80% of the nominal capacity, it can no longer generate electromagnetic waves of ideal intensity, that is, it cannot achieve the ideal muscle stimulation effect. Based on this, the magnetic field strength control method of the electromagnetic muscle shaping instrument provided in the embodiment of the present invention is mainly aimed at the decrease in capacitance after aging of the capacitor in the LC oscillation circuit, and the decrease in magnetic field strength as the capacitance decreases, thereby making the magnetic field strength no longer meet the demand, that is, the control accuracy of the magnetic field strength is reduced, and the effect required by the user cannot be achieved. In order to improve the control accuracy of the magnetic field strength of the electromagnetic muscle shaping instrument and avoid the influence of the aging of the capacitor in the LC oscillation circuit on the control accuracy of the magnetic field strength of the electromagnetic muscle shaping instrument, the embodiment of the present invention proposes a magnetic field strength compensation control method for capacitor aging.
[0040] The following combination Figure 1-Figure 7 The magnetic field intensity control method of the electromagnetic muscle shaping instrument and the electromagnetic muscle shaping instrument according to the embodiment of the present invention are introduced.
[0041] Figure 1 The electromagnetic muscle shaping instrument provided by the embodiment of the present invention is exemplified. Figure 1 As shown, the electromagnetic muscle shaping device includes an LC oscillating circuit 101, a variable power supply 104, a voltage detection module 102, and a controller 103. The variable power supply 104 is electrically connected to the LC oscillating circuit 101 to provide a charging voltage for the LC oscillating circuit 101. The voltage detection module 102 has a sampling terminal connected in parallel with the capacitor of the LC oscillating circuit 101 and an output terminal connected to the input terminal of the controller 103 to sample the voltage value of the capacitor of the LC oscillating circuit 101 in real time. The controller 103 has an output terminal connected to the variable power supply 104 for executing the method described in the embodiments of the present invention.
[0042] Figure 2 One of the flow charts of the method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument provided by the embodiment of the present invention is exemplified. Figure 2 As shown, the method for controlling the magnetic field strength of the electromagnetic muscle shaping device includes the following steps 201 to 203.
[0043] Step 201: Obtain the actual capacitance value of the capacitor in the LC oscillation circuit.
[0044] Step 202: Calculate a target charging voltage value according to the actual capacitance value and the target magnetic field strength.
[0045] Step 203: Control the output voltage of the variable power supply based on the target charging voltage value.
[0046] During use, the electromagnetic muscle shaping instrument has different target magnetic field strength requirements by adjusting the gear position. The controller controls the variable power supply to output a corresponding charging voltage to the LC oscillating circuit according to the different target magnetic field strength requirements, so that the magnetic field strength generated by the inductor of the LC oscillating circuit reaches the target value, wherein the numerical correspondence between the target magnetic field strength and the output voltage of the variable power supply is pre-calibrated. However, as the capacitor ages, when the controller controls the variable power supply according to the numerical correspondence between the pre-calibrated target magnetic field strength and the output voltage of the variable power supply, the actual magnetic field strength generated by the inductor of the LC oscillating circuit will be lower than the required target magnetic field strength, and the result is that the precision control of the magnetic field strength does not meet the requirements. The present invention monitors the capacitance of the LC oscillating circuit in real time, based on the principle that the capacitance of the LC oscillating circuit and the charging voltage of the LC oscillating circuit are both positively correlated with the magnitude of the magnetic field strength. When the capacitance of the LC oscillating circuit is detected to decrease, the magnetic field strength attenuated by the decrease in the capacitance of the LC oscillating circuit is compensated by increasing the charging voltage to ensure the required magnetic field strength, thereby avoiding the problem of decreased magnetic field strength control precision caused by aging of the LC oscillating circuit capacitance, while ensuring the output of a stable magnetic field strength.
[0047] It should be noted that step 201 of this embodiment can obtain the actual capacitance value of the capacitor in the LC oscillation circuit in real time, or can periodically obtain the actual capacitance value of the capacitor in the LC oscillation circuit, that is, obtain the actual capacitance value of the capacitor in the LC oscillation circuit once every certain period of time. The present invention does not limit this.
[0048] In an example embodiment, Figure 3 The flowchart of the method for determining the actual capacitance value provided by the embodiment of the present invention is shown as an example. Figure 3 As shown, step 201 of obtaining the actual capacitance value of the capacitor in the LC oscillation circuit in real time can be implemented by following steps 301 to 303.
[0049] Step 301: Obtain a voltage sampling value across a capacitor in an LC oscillation circuit.
[0050] The voltage sampling module can be used to sample the capacitor voltage in real time to obtain a sampling data set of the capacitor voltage. Specifically, the ADC detection module can be used for oversampling, and the collected voltage analog signal can be converted into a digital signal and sent to the controller.
[0051] It should be noted that this embodiment can acquire a voltage sampling data set across the capacitor in the LC oscillator circuit in real time, or it can acquire a voltage sampling data set across the capacitor in the LC oscillator circuit periodically, that is, acquire a voltage sampling data set across the capacitor in the LC oscillator circuit at regular intervals. Accordingly, the voltage sampling module can sample the capacitor voltage in real time or periodically.
[0052] Step 302: Determine the oscillation frequency of the LC oscillation circuit according to the voltage sampling values across the capacitor in the LC oscillation circuit.
[0053] Specifically, after obtaining the voltage sampling value data set ( V 0, V 1,… V n ), then import it into the Fast Fourier Transform algorithm FFT for calculation, analyze the FFT results, and find the frequency component with the highest amplitude in the spectrum. This frequency component is the oscillation frequency of the LC oscillation circuit. f .
[0054] Step 303: Calculate the actual capacitance value of the capacitor in the LC oscillation circuit according to the oscillation frequency of the LC oscillation circuit.
[0055] Specifically, Figure 4 FIG. 1 is a schematic diagram showing an attenuated oscillation curve of an RLC oscillator circuit according to an embodiment of the present invention. Figure 4 As shown in the figure, the voltage across the capacitor decreases gradually with the oscillation period, but the oscillation frequency remains unchanged. The oscillation frequency is determined by L and C. f , Energy storage capacitor capacitance C Relationship between coil inductance and L The relationship is as shown in formula (1).
[0056] (1) According to formula (1), we can get the capacitance calculation formula (2). From formula (2), we can know that when the oscillation frequency is known, f and coil inductance L After that, the actual capacitance of the energy storage capacitor can be calculated. C .
[0057] (2) It should be noted that, according to actual usage experience, the coil inductance value L There is almost no deviation over time and it can be determined as a known value before leaving the factory.
[0058] In an exemplary embodiment, step 102 calculates the target charging voltage value according to the actual capacitance value and the target magnetic field strength, which can be achieved in the following manner.
[0059] Specifically, the charging voltage target value is calculated according to formula (3): (3) in, μ 0 represents the vacuum permeability of the inductor, N Indicates the number of turns of the inductor coil, R represents the radius of the inductor coil, L Indicates the coil inductance value, z It represents the axial distance between the point on the coil axis and the center point of the coil. r Indicates the equivalent resistance value of the oscillation circuit, Indicates the target magnetic field strength, Indicates the actual capacitance value.
[0060] In practical applications, L The coil is a known parameter, and its inductance does not change with time, or the change can be ignored. C and coil inductance, the charging voltage V Under the action of , the calculation formula of the initial maximum magnetic field intensity generated by the circular coil is as shown in formula (4).
[0061] (4) in, μ 0 is the vacuum permeability, N is the number of coil turns, I 0 is the maximum value of the current, R is the coil radius.
[0062] The coil parameters are determined by the specific coil design and processing technology. After the coil design is finalized, they are all known and unchanging parameters. N 、 R and z The initial maximum magnetic field strength is B max Only with the maximum current through the coil I max Directly proportional.
[0063] In a typical underdamped oscillatory circuit (RLC), the maximum current I max The calculation formula is shown in formula (5).
[0064] (5) in, V 0 is the initial charging voltage, L is the coil inductance, C is the capacitance of the energy storage capacitor (i.e. the actual capacitance value), r is the equivalent resistance value of the oscillation circuit.
[0065] Formula (6) can be derived from formula (4) and formula (5): (6) From formula (6), we can see that the maximum magnetic field strength is related to and V 0 positive correlation, when the energy storage capacitor C When attenuation occurs, the magnetic field strength B Reduced, at this time by increasing the charging voltage V 0 to compensate for the reduced magnetic field.
[0066] In an example embodiment, Figure 5 The flow chart of the variable voltage output voltage control method provided by the embodiment of the present invention is shown as an example. Figure 5 As shown, step 203 controls the output voltage of the variable power supply based on the charging voltage target value, which can be achieved by following steps 501 to 503.
[0067] Step 501: Obtain the actual voltage output value of the variable power supply.
[0068] Step 502: Calculate a charging voltage compensation value according to the charging voltage target value and the actual voltage output value of the variable power supply.
[0069] Step 503: Based on the charging voltage compensation value, control the output voltage of the variable power supply so that the output voltage of the variable power supply reaches the target charging voltage value. This process can be implemented through PID closed-loop control. It should be noted that the variable power supply is a power supply that supports adjustable output voltage.
[0070] PID closed-loop control is as follows: Obtain the actual voltage output value of the variable power supply in real time and calculate the charging voltage target value, and calculate the deviation based on formula (7) err , by adjusting the voltage output value of the variable power supply, the deviation is achieved err is 0.
[0071] V 目标 - V out (7) The incremental PID formula is shown in Equation (8) and Equation (9): (8) (9) in, is the integral parameter of PID, is the differential parameter of PID, is the voltage deviation calculated at the previous moment, is the voltage deviation calculated at the current time, is the calculated output voltage increment, is the output voltage value at the previous moment, is the voltage value that should be output this time.
[0072] In an exemplary embodiment, step 202 calculates the target charging voltage value according to the actual capacitance value and the target magnetic field strength, and step 203 controls the output voltage of the variable power supply based on the target charging voltage value, which can also be implemented in the following manner.
[0073] Calculate the actual capacitance value C After that, the current actual magnetic field strength is further calculated by formula (6): B .Will B Target magnetic field strength B 目标 For comparison, when '( B 目标 - B ) is not 0, by adjusting the variable power supply output voltage to the charging voltage target value, the B To achieve err’ is 0, ensuring that the output magnetic field strength is in an ideal state.
[0074] Specifically, PID closed-loop control can be used to adjust the output voltage of the variable power supply. V out (i.e. the charging voltage of the LC oscillating circuit), thereby achieving dynamic field strength compensation output. For details, please refer to Figure 6 .
[0075] B 目标 - B (10) The incremental PID formula is shown in Equation (8) and Equation (9): (11) (12) in, is the integral parameter of PID, is the differential parameter of PID, is the magnetic field strength deviation calculated at the last moment, is the magnetic field strength deviation calculated at the current time, is the calculated output voltage increment, is the output voltage value at the previous moment, is the voltage value that should be output this time.
[0076] The embodiment of the present invention calculates the actual magnetic field strength by detecting the resonant frequency and calculating the capacitance. B Target magnetic field strength B 目标 The difference ( err' = B 目标 -B ), by increasing the capacitor charging voltage, compensating for the magnetic field loss, making err=0, and ensuring a stable output magnetic field with the target magnetic field strength.
[0077] It should be noted that when using PID closed-loop control to adjust the output voltage of the variable power supply V out The so-called charging voltage target value refers to the charging voltage value applied to the LC oscillation circuit at each moment, that is, The calculation method of the charging voltage target value is as follows: calculate the actual magnetic field strength according to the actual capacitance value, compare the actual magnetic field strength with the target magnetic field strength, and judge whether there is a deviation between the two. If there is a deviation, the charging voltage target value at the previous moment is Add To obtain the current charging voltage target value , control the output voltage of the variable voltage to be equal to the charging voltage target value Then, based on the actual capacitance value of the capacitor and the target charging voltage calculate k +1 moment actual magnetic field strength, according to the actual magnetic field strength and target magnetic field strength comparison, to determine whether there is a deviation between the two, if there is a deviation, the charging voltage target value at the previous moment Add , to obtain k Charging voltage target value at time +1 , and so on, until there is no longer any deviation between the actual magnetic field strength and the target magnetic field strength.
[0078] It can be seen from the above embodiments that the present invention can dynamically compensate for the loss of magnetic field strength due to capacitor attenuation during the effective life of the capacitor, thereby solving the problem that muscle stimulation effectiveness decreases with the capacity of the energy storage capacitor.
[0079] In an exemplary embodiment, when the variable voltage output upper limit is no longer able to compensate for the loss of magnetic field energy due to capacitor attenuation, a prompt message needs to be generated in a timely manner to prompt the user and the manufacturer to replace the capacitor.
[0080] Specifically, it is judged in real time whether the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold value; if the actual capacitance value of the capacitor in the LC oscillation circuit is less than the preset threshold value, a prompt signal is sent to warn that the capacitor life has reached the upper limit. It should be noted that the above-mentioned preset threshold value can be determined according to actual needs and actual experience, and the present application does not limit this.
[0081] In one example embodiment, the preset threshold value can be set to 80% of the initial capacity of the capacitor according to experience, that is, when the capacitor capacity decays to 80% of the initial capacity, it is considered that the capacitor has reached the upper limit of the life.
[0082] Specifically, the capacitance value of the current energy storage capacitor is calculated in real time C and the deviation of the initial capacitance value C 0 is calculated, and when the deviation percentage exceeds 20% (that is, when the capacitance value of the capacitor is less than 80% of the initial capacitance value in formula (10)), a life upper limit prompt is generated.
[0083] (13) The present application can ensure that the output stable magnetic field strength (intensity deviation <5%) within the effective life of the capacitor, and can timely find and judge whether the energy storage capacitor life has reached the limit, and timely remind to replace.
[0084] The electromagnetic muscle shaping instrument magnetic field strength control method provided by the embodiment of the present application can detect the resonance frequency, calculate the capacitor capacity, dynamically adjust the output voltage of the variable voltage, compensate for the magnetic field strength decay caused by the capacitor decay, and at the same time, when the actual capacity is lower than the preset threshold value, mark the upper limit of the capacitor life and remind to replace the capacitor.
[0085] The above-mentioned embodiment of the present application also provides an electromagnetic muscle shaping instrument, and the controller in the electromagnetic muscle shaping instrument executes the electromagnetic muscle shaping instrument magnetic field strength control method described in the above-mentioned embodiment.
[0086] Specifically, referring to Figure 7 the controller imports the voltage sampling data set of the capacitor in the LC oscillation circuit received by the voltage detection module V 0, V 1, … V n ) into the fast Fourier transform algorithm FFT for calculation, analyzes the FFT result, finds the frequency component with the highest amplitude in the frequency spectrum, and then obtains the oscillation frequency f of the LC oscillation circuit.Based on the oscillation frequency f , the actual capacitance value of the capacitor in the LC oscillation circuit is calculated, the actual capacitance value of the capacitor in the LC oscillation circuit and the target magnetic field strength are calculated to obtain the target charging voltage value, and the variable power supply output voltage is controlled based on the target charging voltage value.
[0087] Furthermore, the actual capacitance value of the capacitor and the target magnetic field strength can be substituted into formula (3) to calculate the target charging voltage value of the LC oscillation circuit. The target charging voltage value is greater than the actual output voltage of the current variable power supply (the reason is that the capacitor ages during use and the capacity decreases. In order to maintain the target magnetic field strength unchanged, the charging voltage needs to be increased to compensate). Then, the output voltage of the variable power supply is controlled to be equal to the above target charging voltage value.
[0088] The actual magnetic field strength can also be calculated based on the actual capacitance value, and then based on the deviation between the actual magnetic field strength and the target magnetic field strength, a PID control algorithm is used to determine the charging voltage target value at each moment in the PID control process, and the output voltage of the variable power supply is controlled to be equal to the above charging voltage target value until the deviation between the actual magnetic field strength and the target magnetic field strength is 0.
[0089] It should be noted that one of the above charging voltage target values is calculated based on formula (3), and the other is obtained based on the PID control algorithm. The determination methods of the two are different, but their essential functions and significance are the same.
[0090] The following describes the magnetic field strength control device of the electromagnetic muscle shaping instrument provided by the present invention. The magnetic field strength control device of the electromagnetic muscle shaping instrument described below and the magnetic field strength control method of the electromagnetic muscle shaping instrument described above can be referred to each other.
[0091] Figure 8 The schematic diagram of the structure of the magnetic field strength control device of the electromagnetic muscle shaping instrument provided by the embodiment of the present invention is shown as an example. Figure 8 The magnetic field strength control device of the electromagnetic muscle shaping instrument includes the following modules.
[0092] The actual capacitance value acquisition module 801 is used to acquire the actual capacitance value of the capacitor in the LC oscillation circuit.
[0093] The charging voltage target value calculation module 802 is used to calculate the charging voltage target value according to the actual capacitance value and the target magnetic field strength.
[0094] The output voltage control module 803 is used to control the output voltage of the variable power supply based on the charging voltage target value.
[0095] In an exemplary embodiment, the actual capacitance value obtaining module 801 includes: The voltage sampling value acquisition unit is used to obtain the voltage sampling value across the capacitor in the LC oscillation circuit.
[0096] The oscillation frequency determination unit is used to determine the oscillation frequency of the LC oscillation circuit according to the voltage sampling value across the capacitor in the LC oscillation circuit.
[0097] The actual capacitance value calculation unit is used to calculate the actual capacitance value of the capacitor in the LC oscillation circuit according to the oscillation frequency of the LC oscillation circuit.
[0098] In an exemplary embodiment, the charging voltage target value calculation module 802 is specifically configured to calculate the charging voltage target value according to the following formula: in, μ 0 represents the vacuum permeability of the inductor, N Indicates the number of turns of the inductor coil, R represents the radius of the inductor coil, L Indicates the coil inductance value, z It represents the axial distance between the point on the coil axis and the center point of the coil. r Indicates the equivalent resistance value of the oscillation circuit, Indicates the target magnetic field strength, Indicates the actual capacitance value.
[0099] In an example embodiment, the output voltage control module 803 includes: A power supply actual output voltage acquisition unit, used to acquire the actual voltage output value of the variable power supply; a charging voltage compensation value calculation unit, configured to calculate a charging voltage compensation value based on a charging voltage target value and an actual voltage output value of a variable power supply; The variable power supply output voltage control unit is used to control the output voltage of the variable power supply based on the charging voltage compensation value so that the output voltage of the variable power supply reaches the charging voltage target value.
[0100] In an exemplary embodiment, the variable power supply output voltage control unit is specifically configured to control the output voltage of the variable power supply using a PID algorithm based on the charging voltage compensation value.
[0101] In an exemplary embodiment, the magnetic field strength control device of the electromagnetic muscle shaping instrument further includes a capacitor life warning module 804, which is used to determine whether the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold value; if the actual capacitance value of the capacitor in the LC oscillation circuit is less than the preset threshold value, a prompt signal is issued to warn that the capacitor life has reached an upper limit.
[0102] As for the more specific functions of the module, please refer to the magnetic field intensity control method of the electromagnetic muscle shaping instrument described above, which will not be repeated here.
[0103] Figure 9 An example of a physical structure diagram of an electronic device is shown below. Figure 9As shown, the electronic device may include: a processor 910, a communications interface 920, a memory 930, and a communications bus 940. The processor 910, communications interface 920, and memory 930 communicate with each other via the communications bus 940. The processor 910 may invoke logic instructions stored in the memory 930 to execute a method for controlling the magnetic field strength of an electromagnetic muscle shaping device. The method includes: obtaining the actual capacitance value of a capacitor in an LC oscillating circuit in real time; calculating a target charging voltage value based on the actual capacitance value and a target magnetic field strength; and controlling the output voltage of a variable power supply based on the target charging voltage value. For more specific methods, please refer to the method for controlling the magnetic field strength of an electromagnetic muscle shaping device described above and will not be further elaborated here.
[0104] Furthermore, the logic instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0105] On the other hand, the present invention also provides a computer program product, comprising a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the magnetic field intensity control method for the electromagnetic muscle shaping device provided by each of the above methods. The method comprises: obtaining the actual capacitance value of the capacitor in the LC oscillating circuit in real time; calculating a target charging voltage value based on the actual capacitance value and the target magnetic field intensity; and controlling the output voltage of the variable power supply based on the target charging voltage value. For more specific methods, reference can be made to the magnetic field intensity control method for the electromagnetic muscle shaping device described above, and no further description is given here.
[0106] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the method for controlling the magnetic field strength of an electromagnetic muscle shaping device provided by the aforementioned methods. The method comprises: obtaining the actual capacitance value of a capacitor in an LC oscillating circuit in real time; calculating a target charging voltage value based on the actual capacitance value and a target magnetic field strength; and controlling the output voltage of a variable power supply based on the target charging voltage value. For more specific methods, reference may be made to the method for controlling the magnetic field strength of an electromagnetic muscle shaping device described above and will not be repeated here.
[0107] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0108] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for controlling the magnetic field strength of an electromagnetic muscle shaping instrument, characterized in that: The electromagnetic muscle shaping instrument includes: an LC oscillation circuit and a variable power supply, wherein the variable power supply is electrically connected to the LC oscillation circuit; the magnetic field intensity control method of the electromagnetic muscle shaping instrument includes: Get the actual capacitance value of the capacitor in the LC oscillation circuit; Calculate the target charging voltage value based on the actual capacitance value and the target magnetic field strength; Based on the charging voltage target value, the output voltage of the variable power supply is controlled.
2. The method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument according to claim 1, wherein: Get the actual capacitance value of the capacitor in the LC oscillator circuit, including: Obtain the voltage sampling value across the capacitor in the LC oscillation circuit; Determine the oscillation frequency of the LC oscillation circuit based on the voltage sampling value across the capacitor in the LC oscillation circuit; Calculate the actual capacitance value of the capacitor in the LC oscillation circuit based on the oscillation frequency of the LC oscillation circuit.
3. The method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument according to claim 1, wherein: Calculate the target charging voltage value based on the actual capacitance value and the target magnetic field strength, including: Calculate the target charging voltage using the following formula: in, μ 0 represents the vacuum permeability of the inductor, N Indicates the number of turns of the inductor coil, R represents the radius of the inductor coil, L Indicates the coil inductance value, z It represents the axial distance between the point on the coil axis and the center point of the coil. r Indicates the equivalent resistance value of the oscillation circuit, Indicates the target magnetic field strength, Indicates the actual capacitance value.
4. The method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument according to claim 1, wherein: Based on the charging voltage target value, the variable power supply output voltage is controlled, including: Get the actual voltage output value of the variable power supply; Calculating a charging voltage compensation value based on a charging voltage target value and an actual voltage output value of the variable power supply; Based on the charging voltage compensation value, the output voltage of the variable power supply is controlled so that the output voltage of the variable power supply reaches the charging voltage target value.
5. The method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument according to claim 4, characterized in that: Based on the charging voltage compensation value, the output voltage of the variable power supply is controlled, including: Based on the charging voltage compensation value, a PID algorithm is used to control the output voltage of the variable power supply.
6. The method for controlling the magnetic field strength of the electromagnetic muscle shaping instrument according to claim 1, wherein: The method for controlling the magnetic field intensity of the electromagnetic muscle shaping instrument also includes: Determine whether the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold; If the actual capacitance value of the capacitor in the LC oscillation circuit is less than a preset threshold, a prompt signal is issued to warn that the capacitor life has reached an upper limit.
7. An electromagnetic muscle shaping instrument, characterized in that include: LC oscillator circuit; A voltage detection module, wherein the sampling end is connected in parallel with the capacitor of the LC oscillation circuit, and the output end is connected to the input end of the controller, and is used to sample the voltage value of the capacitor of the LC oscillation circuit in real time; a variable power supply electrically connected to the LC oscillation circuit; as well as A controller, whose output end is controllably connected to the variable power supply, is used to obtain a voltage sampling value across the capacitor in the LC oscillation circuit, determine an oscillation frequency of the LC oscillation circuit based on the voltage sampling value across the capacitor in the LC oscillation circuit, calculate an actual capacitance value of the capacitor in the LC oscillation circuit based on the oscillation frequency of the LC oscillation circuit, calculate a charging voltage target value based on the actual capacitance value and a target magnetic field strength, and control the output voltage of the variable power supply based on the charging voltage target value.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method for controlling the magnetic field intensity of the electromagnetic muscle shaping device according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for controlling the magnetic field intensity of the electromagnetic muscle shaping device according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for controlling the magnetic field intensity of the electromagnetic muscle shaping device according to any one of claims 1 to 6 is implemented.