Complex wave control method, device and equipment for pelvic floor muscle recovery and storage medium
By analyzing and adjusting the reference time and frequency of the multi-component combination waveform to ensure that it is synchronized in time and frequency, the problem of waveform offset in the prior art is solved, and the effect of electrical stimulation and patient comfort is improved.
Patent Information
- Application Number
- CN202411699223.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-04
AI Technical Summary
When generating and transmitting multi-component combination waveforms, the prior art is prone to time offset or frequency mismatch, resulting in reduced stimulation effect or discomfort to the patient, and lacks an effective synchronization control mechanism.
By obtaining the reference time and frequency of each waveform component, analyzing and updating the reference time using component time alignment rules, analyzing and adjusting the reference frequency, ensuring that each waveform component is synchronized in time and frequency, thereby generating and outputting synchronous composite waves.
It effectively avoids the time and frequency shift problem of multi-component combination waveforms, improves the synchronization of electrical stimulation and the treatment effect, and reduces discomfort for patients.
Smart Images

Figure CN119548760A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to a complex wave control method, device, equipment and storage medium for pelvic floor muscle recovery. Background Art
[0002] Pelvic floor muscle dysfunction is one of the main causes of urinary incontinence, pelvic organ prolapse and other problems. The current mainstream method is to restore the pelvic floor muscles through electrical stimulation technology. With the increasing development of electrical stimulation, existing methods are no longer limited to adjusting a single waveform, but try to use multi-component combined waveforms to provide complex electrical stimulation signals, thereby achieving personalized treatment. However, in the process of generating and transmitting multi-component combined waveforms, the waveform components may have time offsets or frequency mismatches, which will not only reduce the stimulation effect, but may even cause discomfort to the patient. The existing technology lacks an effective synchronization control mechanism and cannot ensure the precise synchronization of multi-component combined waveforms. Summary of the invention
[0003] The embodiments of the present application provide a composite wave control method, apparatus, device and storage medium for pelvic floor muscle recovery, aiming to ensure that a multi-component combined waveform can be synchronized in time and frequency, and to avoid time offset or frequency mismatch in a multi-component combined waveform.
[0004] In the first aspect, an embodiment of the present application provides a complex wave control method for pelvic floor muscle recovery, including: obtaining the reference time of each waveform component, and analyzing the reference time using component time alignment rules; based on the analysis results of the reference time, updating the reference time of each waveform component respectively; obtaining the reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component; generating and outputting a synchronous complex wave according to the updated reference time of each waveform classification and the adjusted frequencies.
[0005] In a second aspect, an embodiment of the present application provides a complex wave control device for pelvic floor muscle recovery, comprising:
[0006] A first analysis module is used to obtain the reference time of each waveform component and analyze the reference time using the component time alignment rule;
[0007] An updating module, used for updating the reference time of each waveform component respectively based on the analysis result of the reference time;
[0008] A second analysis module is used to obtain a reference frequency of each waveform component, analyze the reference frequency and adjust the frequency of each waveform component;
[0009] The output module is used to generate and output a synchronous composite wave according to the updated reference time of each waveform component and the adjusted frequencies.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0011] Memory and processing modules;
[0012] The memory is used to store computer programs;
[0013] The processing module is used to execute the computer program and implement the steps of the complex wave control method for pelvic floor muscle recovery as described in the first aspect above when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program;
[0015] When the computer program is executed by one or more processing modules, the one or more processing modules execute the steps of the complex wave control method for pelvic floor muscle recovery of the first aspect as described above.
[0016] The embodiments of the present application provide a composite wave control method, device, equipment and storage medium for pelvic floor muscle recovery, wherein the composite wave control method for pelvic floor muscle recovery includes: obtaining the reference time of each waveform component, analyzing the reference time using the component time alignment rule; updating the reference time of each waveform component based on the analysis result of the reference time; obtaining the reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component; generating and outputting a synchronous composite wave according to the updated reference time of each waveform component and the adjusted frequencies. By updating the reference time of each waveform component based on the time alignment rule and adjusting each frequency based on the reference frequency, it is intended to ensure that the multi-component combined waveform can be synchronized in time and frequency, and avoid the phenomenon of time offset or frequency mismatch in the multi-component combined waveform. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0018] Figure 1 A schematic flow chart of a composite wave control method for pelvic floor muscle recovery provided in an embodiment of the present application;
[0019] Figure 2 A schematic diagram of the structure of a complex wave control device for pelvic floor muscle recovery provided in an embodiment of the present application;
[0020] Figure 3A schematic block diagram of a complex wave control device for pelvic floor muscle recovery provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0023] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0024] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0025] The technical solution provided by this application will be described in detail below with reference to the accompanying drawings.
[0026] See also Figure 1 , Figure 1 A flow chart of a compound wave control method for pelvic floor muscle recovery provided in an embodiment of the present application. The compound wave control method for pelvic floor muscle recovery provided in an embodiment of the present application is implemented by a compound wave control device for pelvic floor muscle recovery. The compound wave control device for pelvic floor muscle recovery includes but is not limited to an electronic therapeutic device and various pelvic floor muscle rehabilitation instruments.
[0027] like Figure 1 As shown, the complex wave control method for pelvic floor muscle recovery includes steps S101 to S104. The details are as follows:
[0028] S101: Obtain reference time of each waveform component, and analyze the reference time using component time alignment rules.
[0029] The reference time of each waveform component is the preset start time. Since each waveform component may have a different initial phase, if unified synchronization is not performed, the time difference between the actual start time and the reference time is reflected as a phase difference. In addition, during the propagation of different waveform components, path length, medium characteristics or interference will cause propagation delays, resulting in time differences. In order to solve the time difference problem, it is necessary to
[0030] In order to solve the time difference problem, the embodiment of the present application uses the component time alignment rule to analyze the difference between the reference time and the actual start time and calculate the phase offset to achieve accurate synchronization of the components. In one embodiment, the reference time is analyzed using the component time alignment rule, including: based on the reference time of each waveform component, respectively calculating the time difference between the actual start time and the reference time of each waveform component; according to each time difference, respectively calculating the phase offset of each waveform component; based on the calculated phase offset, modulating the phase of each waveform component; according to each time difference, calculating the global reference time of each waveform component.
[0031] For any waveform component, assuming the reference time is t ref , represents the preset start time, which is used to synchronize multi-component waveforms; the actual start time is t act , represents the starting time point measured for the current waveform component. Then the calculated time difference is: Δt = t act -t ref , the time difference represents the delay or advance of the waveform component relative to the reference time. According to the time difference, the phase offset of the waveform component is calculated, which is expressed as: t=2πf·Δt;where f is the current frequency of the corresponding waveform component, w is the angular frequency, and the phase offset describes how the time difference of the waveform component is reflected in the phase. If the time difference is large, the phase offset may cause periodic changes.
[0032] The waveform components are analyzed for time alignment using phase offset as an indicator. Specifically, the phase of each waveform component is adjusted according to the calculated phase offset. This is a local adjustment, which processes each waveform component one by one, so that each waveform component can make instant corrections to the waveform component based on the reference time, solving the instant error problem relative to the reference time.
[0033] In one embodiment, the global reference time of each waveform component is calculated according to the time difference of each waveform component, which is expressed as: Among them, t ref-new is the global reference time of each waveform component, N is the number of waveform components, is the actual starting time of the i-th waveform component, is the reference time of the i-th waveform component. The global reference time adjusts the reference benchmark to minimize the difference between components from an overall perspective.
[0034] S102: Based on the analysis result of the reference time, respectively update the reference time of each waveform component.
[0035] Based on the analysis result of the reference time, the reference time of each waveform component is updated respectively, including: based on the global reference time, the reference time of each waveform component is updated.
[0036] It should be noted that phase difference correction usually occurs when the current reference time remains unchanged, and is used for local precise adjustment. If it is found that there is still a large error in the overall after local adjustment, the global reference time is used to optimize the global benchmark to reduce the difference between the waveform components. The combination of the two can achieve synchronization from local to global, making the multi-component composite wave have higher time and phase consistency.
[0037] S103: Acquire the reference frequency of each waveform component, analyze the reference frequency and adjust the frequency of each waveform component.
[0038] Obtaining the reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component, including: inputting each waveform component into a phase-locked loop, using the phase-locked loop to analyze the reference frequency and adjust the output frequency of each waveform component.
[0039] The phase-locked loop includes: an inner loop and an outer loop; the phase-locked loop is used to analyze the reference frequency and output the output frequency of each waveform component, including: for any waveform component, in the inner loop, the frequency error is calculated according to the reference frequency of the waveform component and the output frequency at the current moment; according to the frequency error and the inner loop gain, the output frequency of the waveform component is dynamically adjusted; in the outer loop, the average input frequency of the waveform component in the sliding window of the outer loop and the difference between the average input frequency and the output frequency at the current moment are calculated to obtain a frequency deviation signal; according to the frequency deviation signal and the outer loop gain, the frequency drift of the waveform component is corrected to obtain the output frequency of the waveform component.
[0040] According to the frequency error and the inner loop gain, the output frequency of the waveform component is dynamically adjusted, which is expressed as:
[0041] f t+1 =f t +k1×(f0-f t )
[0042] Among them, f t+1 is the output frequency at the next moment after the current moment t after dynamic adjustment, f t is the output frequency at the current moment, k1 is the inner loop gain, and f0 is the reference frequency.
[0043] By comparing the reference frequency of the waveform component and the output frequency at the current moment, the frequency error between the two is calculated, and then the output frequency is dynamically adjusted according to the frequency error and the inner loop gain. The inner loop gain is a proportional factor used to amplify or reduce the frequency error and control the sensitivity of the adjustment. The inner loop responds quickly and corrects the output frequency deviation in time to achieve real-time tracking of the reference frequency. The adjustment range is small and it is suitable for subtle correction of frequency errors.
[0044] According to the frequency deviation signal and the outer loop gain, the frequency drift of the waveform component is corrected to obtain the output frequency of the waveform component, which is expressed as:
[0045]
[0046] Among them, f s is the output frequency of the waveform component, k2 is the outer loop gain, is the frequency deviation signal, is the average input frequency in the outer loop sliding window, and N is the size of the outer loop sliding window.
[0047] Sliding window is a technique to take a fixed-length subset of a continuous or discrete time series. The outer loop sliding window is mainly used to analyze the short-term behavior of the input signal and help calculate and adjust the output frequency of the waveform component. In the outer loop, the sliding window contains the input frequency data of the waveform component.
[0048] It should be noted that the outer loop mainly deals with the long-term trend drift of the frequency, has a slower dynamic response and a larger adjustment range, and is used to compensate for the low-frequency error or accumulated deviation that the inner loop cannot correct. The inner loop is corrected in real time based on the outer loop to ensure frequency stability, and the outer loop corrects the benchmark of the inner loop through long-term observation to prevent drift accumulation.
[0049] S104: Generate and output a synchronous composite wave according to the adjusted phases and frequencies.
[0050] Through the above analysis, it can be known that the composite wave control method for pelvic floor muscle recovery provided by the embodiment of the present application includes: obtaining the reference time of each waveform component, analyzing the reference time using the component time alignment rule; updating the reference time of each waveform component based on the analysis result of the reference time; obtaining the reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component; generating and outputting a synchronous composite wave according to the updated reference time of each waveform component and the adjusted frequencies. By updating the reference time of each waveform component based on the time alignment rule and adjusting each frequency based on the reference frequency, it is intended to ensure that the multi-component combined waveform can be synchronized in time and frequency, and avoid the phenomenon of time offset or frequency mismatch in the multi-component combined waveform.
[0051] See also Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of the composite wave control device for pelvic floor muscle recovery provided in an embodiment of the present application. Figure 2 It can be seen that the composite wave control device 20 for pelvic floor muscle recovery provided in the embodiment of the present application includes:
[0052] The first analysis module 201 is used to obtain the reference time of each waveform component and analyze the reference time using the component time alignment rule;
[0053] An updating module 202, for updating the reference time of each waveform component based on the analysis result of the reference time;
[0054] The second analysis module 203 is used to obtain the reference frequency of each waveform component, analyze the reference frequency and adjust the frequency of each waveform component;
[0055] The output module 204 is used to generate and output a synchronous composite wave according to the updated reference time of each waveform component and the adjusted frequencies.
[0056] In one embodiment, the first analysis module 201 includes:
[0057] A first calculation unit, for calculating the time difference between the actual start time of each waveform component and the reference time based on the reference time of each waveform component;
[0058] A second calculation unit, used to calculate the phase shift of each waveform component according to each time difference;
[0059] A first adjustment unit, configured to adjust the phase of each waveform component based on the calculated phase offset;
[0060] The third calculation unit is used to calculate the global reference time of each waveform component according to each time difference.
[0061] In one embodiment, the update module 202 is specifically configured to:
[0062] Based on the global reference time, the reference time of each waveform component is updated.
[0063] In one embodiment, the second analysis module 203 is specifically configured to:
[0064] Each waveform component is input into a phase-locked loop, which analyzes the reference frequency and adjusts the output frequency of each waveform component.
[0065] In one embodiment, the phase-locked loop includes: an inner loop and an outer loop;
[0066] The second analysis module 203 includes:
[0067] A fourth calculation unit, for calculating a frequency error in an inner loop according to a reference frequency of the waveform component and an output frequency at a current moment for any waveform component;
[0068] A second adjustment unit, used for dynamically adjusting the output frequency of the waveform component according to the frequency error and the inner loop gain;
[0069] A fifth calculation unit is used to calculate, in the outer loop, an average input frequency of the waveform component in the sliding window of the outer loop, and a difference between the average input frequency and the output frequency at a current moment, to obtain a frequency deviation signal;
[0070] The correction unit is used to correct the frequency drift of the waveform component according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component.
[0071] In one embodiment, the output frequency of the waveform component is dynamically adjusted according to the frequency error and the inner loop gain, which is expressed as:
[0072] f t+1 =f t +k1×(f0-f t )
[0073] Among them, f t+1 is the output frequency at the next moment after the current moment t after dynamic adjustment, f t is the output frequency at the current moment, k1 is the inner loop gain, and f0 is the reference frequency.
[0074] In one embodiment, the frequency drift of the waveform component is corrected according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component, which is expressed as:
[0075]
[0076] Among them, f s is the output frequency of the waveform component, k2 is the outer loop gain, is the frequency deviation signal, is the average input frequency in the outer loop sliding window, and N is the size of the outer loop sliding window.
[0077] It should be noted that the specific implementation process of the above modules or units can refer to the specific implementation process of each step in the previous method embodiment, which will not be repeated here.
[0078] See also Figure 3 As shown, Figure 3 A schematic block diagram of a complex wave control device for pelvic floor muscle recovery provided in an embodiment of the present application.
[0079] Exemplarily, the complex wave control device 30 for pelvic floor muscle recovery includes a processing module 301 and a memory 302 .
[0080] Exemplarily, the processing module 301 and the memory 302 are connected via a bus 303 , and the bus 303 is, for example, an I2C (Inter-integrated Circuit) bus.
[0081] Specifically, the processing module 301 may be a micro-controller unit (MCU), a central processing unit (CPU) or a digital signal processing module (DSP).
[0082] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0083] The processing module 301 is used to run the computer program stored in the memory 302, and implement the steps of the above-mentioned complex wave control method for pelvic floor muscle recovery when executing the computer program.
[0084] Exemplarily, the processing module 301 is used to run the computer program stored in the memory 302, and implement the following steps when executing the computer program:
[0085] Obtain the reference time of each waveform component and analyze the reference time using the component time alignment rule;
[0086] Based on the analysis result of the reference time, the reference time of each waveform component is updated respectively;
[0087] Obtaining a reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component;
[0088] Based on the updated reference time of each waveform component and the adjusted frequencies, a synchronous composite wave is generated and output.
[0089] In one embodiment, analyzing the reference time using the component time alignment rule includes:
[0090] Based on the reference time of each waveform component, respectively calculate the time difference between the actual start time of each waveform component and the reference time;
[0091] According to each time difference, the phase shift of each waveform component is calculated respectively;
[0092] Based on the calculated phase offset, adjusting the phase of each waveform component;
[0093] Based on each time difference, the global reference time of each waveform component is calculated.
[0094] In one embodiment, based on the analysis result of the reference time, the reference time of each waveform component is updated respectively, including:
[0095] Based on the global reference time, the reference time of each waveform component is updated.
[0096] In one embodiment, obtaining a reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component includes:
[0097] Each waveform component is input into a phase-locked loop, which analyzes the reference frequency and adjusts the output frequency of each waveform component.
[0098] In one embodiment, the phase-locked loop includes: an inner loop and an outer loop;
[0099] The phase-locked loop is used to analyze the reference frequency and output the output frequency of each waveform component, including:
[0100] For any waveform component, in the inner loop, the frequency error is calculated based on the reference frequency of the waveform component and the output frequency at the current moment;
[0101] Dynamically adjust the output frequency of the waveform component according to the frequency error and the inner loop gain;
[0102] In the outer loop, the average input frequency of the waveform component in the sliding window of the outer loop and the difference between the average input frequency and the output frequency at the current moment are calculated to obtain a frequency deviation signal;
[0103] According to the frequency deviation signal and the outer loop gain, the frequency drift of the waveform component is corrected to obtain the output frequency of the waveform component.
[0104] In one embodiment, the output frequency of the waveform component is dynamically adjusted according to the frequency error and the inner loop gain, which is expressed as:
[0105] f t+1 =f t +k1×(f0-f t )
[0106] Among them, f t+1 is the output frequency at the next moment after the current moment t after dynamic adjustment, f t is the output frequency at the current moment, k1 is the inner loop gain, and f0 is the reference frequency.
[0107] In one embodiment, the frequency drift of the waveform component is corrected according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component, which is expressed as:
[0108]
[0109] Among them, f sis the output frequency of the waveform component, k2 is the outer loop gain, is the frequency deviation signal, is the average input frequency in the outer loop sliding window, and N is the size of the outer loop sliding window.
[0110] The specific principles and implementation methods of the complex wave control device for pelvic floor muscle recovery provided in the embodiment of the present application are similar to the implementation of the complex wave control method for pelvic floor muscle recovery in the aforementioned embodiment, and will not be repeated here.
[0111] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by the processing module, the processing module implements the following steps:
[0112] Obtain the reference time of each waveform component and analyze the reference time using the component time alignment rule;
[0113] Based on the analysis result of the reference time, the reference time of each waveform component is updated respectively;
[0114] Obtaining a reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component;
[0115] Based on the updated reference time of each waveform component and the adjusted frequencies, a synchronous composite wave is generated and output.
[0116] In one embodiment, analyzing the reference time using the component time alignment rule includes:
[0117] Based on the reference time of each waveform component, respectively calculate the time difference between the actual start time of each waveform component and the reference time;
[0118] According to each time difference, the phase shift of each waveform component is calculated respectively;
[0119] Based on the calculated phase offset, adjusting the phase of each waveform component;
[0120] Based on each time difference, the global reference time of each waveform component is calculated.
[0121] In one embodiment, based on the analysis result of the reference time, the reference time of each waveform component is updated respectively, including:
[0122] Based on the global reference time, the reference time of each waveform component is updated.
[0123] In one embodiment, obtaining a reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component includes:
[0124] Each waveform component is input into a phase-locked loop, which analyzes the reference frequency and adjusts the output frequency of each waveform component.
[0125] In one embodiment, the phase-locked loop includes: an inner loop and an outer loop;
[0126] In one embodiment, a phase-locked loop is used to analyze a reference frequency and output an output frequency of each waveform component, including:
[0127] For any waveform component, in the inner loop, the frequency error is calculated based on the reference frequency of the waveform component and the output frequency at the current moment;
[0128] Dynamically adjust the output frequency of the waveform component according to the frequency error and the inner loop gain;
[0129] In the outer loop, the average input frequency of the waveform component in the sliding window of the outer loop and the difference between the average input frequency and the output frequency at the current moment are calculated to obtain a frequency deviation signal;
[0130] According to the frequency deviation signal and the outer loop gain, the frequency drift of the waveform component is corrected to obtain the output frequency of the waveform component.
[0131] In one embodiment, the output frequency of the waveform component is dynamically adjusted according to the frequency error and the inner loop gain, which is expressed as:
[0132] f t+1 =f t +k1×(f0-f t )
[0133] Among them, f t+1 is the output frequency at the next moment after the current moment t after dynamic adjustment, f t is the output frequency at the current moment, k1 is the inner loop gain, and f0 is the reference frequency.
[0134] In one embodiment, the frequency drift of the waveform component is corrected according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component, which is expressed as:
[0135]
[0136] Among them, f s is the output frequency of the waveform component, k2 is the outer loop gain, is the frequency deviation signal, is the average input frequency in the outer loop sliding window, and N is the size of the outer loop sliding window.
[0137] The computer-readable storage medium may be an internal storage unit of the compound wave control device for pelvic floor muscle recovery in the aforementioned embodiment, such as a hard disk or memory of the compound wave control device for pelvic floor muscle recovery. The computer-readable storage medium may also be an external storage device of the compound wave control device for pelvic floor muscle recovery, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the compound wave control device for pelvic floor muscle recovery.
[0138] It should be understood that the terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0139] It will also be understood that the term "and / or" used in this application and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A composite wave control method for pelvic floor muscle recovery, characterized in that: include: Obtaining a reference time of each waveform component, and analyzing the reference time using a component time alignment rule; Based on the analysis result of the reference time, respectively updating the reference time of each of the waveform components; Obtaining a reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component; A synchronous composite wave is generated and outputted according to the updated reference time of each of the waveform components and the adjusted frequencies.
2. The complex wave control method for pelvic floor muscle recovery according to claim 1, characterized in that: The analyzing the reference time by using a component time alignment rule comprises: Based on the reference time of each of the waveform components, respectively calculating the time difference between the actual start time of each of the waveform components and the reference time; Calculating the phase shift of each of the waveform components according to each of the time differences; Adjusting the phase of each of the waveform components based on the calculated phase offset; The global reference time of each of the waveform components is calculated according to each of the time differences.
3. The complex wave control method for pelvic floor muscle recovery according to claim 2, characterized in that: The updating of the reference time of each waveform component based on the analysis result of the reference time comprises: Based on the global reference time, the reference time of each of the waveform components is updated.
4. The complex wave control method for pelvic floor muscle recovery according to claim 1, characterized in that: The obtaining of the reference frequency of each waveform component, analyzing the reference frequency and adjusting the frequency of each waveform component includes: Each of the waveform components is input into a phase-locked loop, and the phase-locked loop is used to analyze the reference frequency and adjust the output frequency of each of the waveform components.
5. The complex wave control method for pelvic floor muscle recovery according to claim 4, characterized in that: The phase-locked loop comprises: an inner loop and an outer loop; The method of analyzing the reference frequency by using the phase-locked loop and outputting the output frequency of each waveform component includes: For any of the waveform components, in the inner loop, a frequency error is calculated according to a reference frequency of the waveform component and an output frequency at a current moment; Dynamically adjusting the output frequency of the waveform component according to the frequency error and the inner loop gain; In the outer loop, calculating the average input frequency of the waveform component in the sliding window of the outer loop, and the difference between the average input frequency and the output frequency at the current moment, to obtain a frequency deviation signal; The frequency drift of the waveform component is corrected according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component.
6. The complex wave control method for pelvic floor muscle recovery according to claim 5, characterized in that: The output frequency of the waveform component is dynamically adjusted according to the frequency error and the inner loop gain, which is expressed as: f t+1 =f t +k1×(f0-f t ) Among them, f t+1 is the output frequency at the next moment after the current moment t after dynamic adjustment, f t is the output frequency at the current moment, k1 is the inner loop gain, and f0 is the reference frequency.
7. The complex wave control method for pelvic floor muscle recovery according to claim 5, characterized in that: The frequency drift of the waveform component is corrected according to the frequency deviation signal and the outer loop gain to obtain the output frequency of the waveform component, which is expressed as: Among them, f s is the output frequency of the waveform component, k2 is the outer loop gain, is the frequency deviation signal, is the average input frequency in the outer loop sliding window, and N is the size of the outer loop sliding window.
8. A composite wave control device for pelvic floor muscle recovery, characterized in that: include: A first analysis module, used to obtain a reference time of each waveform component and analyze the reference time using a component time alignment rule; An updating module, used for updating the reference time of each waveform component respectively based on the analysis result of the reference time; A second analysis module is used to obtain a reference frequency of each waveform component, analyze the reference frequency and adjust the frequency of each waveform component; The output module is used to generate and output a synchronous composite wave according to the updated reference time of each waveform component and the adjusted frequencies.
9. An electronic device, characterized in that: include: Memory and processing modules; The memory is used to store computer programs; The processing module is used to execute the computer program and implement the steps of the complex wave control method for pelvic floor muscle recovery as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer readable storage medium stores a computer program; When the computer program is executed by one or more processing modules, the one or more processing modules execute the steps of the complex wave control method for pelvic floor muscle recovery as described in any one of claims 1 to 7.