Control method and device of massage equipment, massage equipment and storage medium
By setting up a wear detection circuit in the massage device, the number of pulse signals output by the pulse output circuit is detected in real time, and the power supply is disconnected in an abnormally worn state, which solves the problem of electrical sting and excessive power consumption, and achieves a safer and efficient massage effect.
Patent Information
- Application Number
- CN202010865335.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-08-25
AI Technical Summary
During the electrical stimulation massage, the fit between the electrode sheet and the human body is abnormal, resulting in an increase in the current density and an electric sting. The power consumption of the massage equipment is too high when worn abnormally.
By setting a wear detection circuit in the massage device, the number of pulse signals output by the pulse output circuit is detected in real time. When the number is less than the threshold, it is determined to be an abnormal wear state, and the power supply of the power supply of the pulse output circuit is controlled to be disconnected.
It effectively prevents the occurrence of electrical stings, reduces the power consumption of massage equipment when worn abnormally, and improves the battery life of the equipment.
Smart Images

Figure CN112138278B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a control method and device for massage equipment, massage equipment and a storage medium. Background Art
[0002] When a user wears a massage device for electrical stimulation massage, the electrodes on the massage device can output current signals to act on parts of the human body to achieve a massage effect. If the massage device is not worn properly, the contact area between the electrodes and the human body may become smaller, resulting in an increase in the current density flowing through the human body per unit area relative to when the electrodes are fully contacted, causing the person to feel an electric sting. Summary of the invention
[0003] The embodiments of the present application disclose a control method, device, massage device and storage medium for massage equipment, which can prevent the generation of electric stinging sensation during electric stimulation massage and reduce the power consumption of the massage equipment.
[0004] The present application embodiment discloses a control method for a massage device, wherein the massage device includes an electric stimulation device and a power supply, wherein the electric stimulation device includes a pulse output circuit, and the method includes:
[0005] When the electrical stimulation device is in working state, obtaining the number of first valid pulse signals output by the pulse output circuit within a first time period;
[0006] When the number of the first valid pulse signals is less than the number threshold, determining that the massage device is in an abnormal wearing state;
[0007] The power supply is controlled to be disconnected from the pulse output circuit so that the power supply stops supplying power to the pulse output circuit.
[0008] The embodiment of the present application discloses a massage device, including a power supply, a wearing detection circuit, a pulse output circuit, a switch module and a controller, wherein the wearing detection circuit is electrically connected to the controller and the pulse output circuit respectively, and the switch module is electrically connected to the power supply, the controller and the pulse output circuit respectively;
[0009] The wearing detection circuit is used to generate a feedback signal according to the pulse signal output by the pulse output circuit, and send the feedback signal to the controller;
[0010] The controller is used to obtain the number of first valid pulse signals output by the pulse output circuit within a first time period according to the feedback signal sent by the wearing detection circuit, and when the number of the first valid pulse signals is less than a number threshold, determine that the massage device is in an abnormal wearing state, and send a disconnection signal to the switch module;
[0011] The switch module is used to disconnect according to the disconnection signal sent by the controller, so that the power supply stops supplying power to the pulse output circuit.
[0012] The present application embodiment discloses a control device for a massage device, the massage device comprising an electric stimulation device and a power supply, the electric stimulation device comprising a pulse output circuit, and the control device for the massage device comprising:
[0013] A quantity acquisition module, used for acquiring the quantity of first valid pulse signals output by the pulse output circuit within a first time period when the electrical stimulation device is in a working state;
[0014] a wearing state determination module, configured to determine that the massage device is in an abnormal wearing state when the number of the first valid pulse signals is less than a number threshold;
[0015] A disconnection module is used to control the disconnection between the power supply and the pulse output circuit so that the power supply stops supplying power to the pulse output circuit.
[0016] An embodiment of the present application discloses a massage device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method described above.
[0017] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described above is implemented.
[0018] The control method, device, massage device and storage medium of the massage device disclosed in the embodiments of the present application obtain the number of first valid pulse signals output by the pulse output circuit within a first time period when the electric stimulation device is in working state, and when the number of first valid pulse signals is less than the number threshold, determine that the massage device is in an abnormal wearing state, and control the power supply and the pulse output circuit to be disconnected so that the power supply stops supplying power to the pulse output circuit. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit can be stopped in time to stop the electric stimulation device from working, so as to prevent the generation of electric tingling during the electric stimulation massage, and avoid the unnecessary power consumption when the massage device is worn abnormally, thereby reducing the power consumption of the massage device. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1A This is an application scenario diagram of a control method for a massage device in an embodiment;
[0021] Figure 1B is a structural block diagram of a massage device in one embodiment;
[0022] Figure 2 is a flow chart of a control method of a massage device in one embodiment;
[0023] Figure 3 is a structural block diagram of a massage device in another embodiment;
[0024] Figure 4 is a flow chart of a control method of a massage device in another embodiment;
[0025] Figure 5 A flowchart of obtaining the number of first valid pulse signals output by a pulse output circuit within a first time period in one embodiment;
[0026] Figure 6 is a structural schematic diagram of a wearing detection circuit in one embodiment;
[0027] Figure 7 is a structural block diagram of a massage device in another embodiment;
[0028] Figure 8 It is a structural schematic diagram of a wearing detection circuit in another embodiment;
[0029] Fig. 9 is a block diagram of a control device of a massage device in one embodiment;
[0030] Fig.10 FIG. 4 is a structural block diagram of a massage device in another embodiment. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0033] Figure 1A FIG. 1 is an application scenario diagram of a control method for a massage device in an embodiment. Figure 1A As shown, the massage device 10 may include a massage component 110, which may act on a user's body part, such as the user's skin, joints, etc., to provide massage services. In the embodiment of the present application, the massage component 110 may at least include an electrode sheet, which may output an electrical signal (such as a current signal) to act on a human body part to produce an electrical stimulation massage effect.
[0034] Figure 1B FIG. 1 is a structural block diagram of a massage device in one embodiment. Figure 1B As shown, the massage device 10 may include a massage component 110, a controller 120 and a pulse output circuit 130, wherein the massage component 110 may include at least two electrode sheets 112. The controller 120 may be electrically connected to the pulse output circuit 130, and the pulse output circuit 130 may be electrically connected to the electrode sheets 112. The pulse output circuit 130 may generate a pulse current under the drive of the input driving voltage, and output the pulse current to the at least two electrode sheets 112. The pulse current output by the at least two electrode sheets 112 may act on a human body part (e.g., skin) to generate stimulation, so as to realize the electric stimulation massage function.
[0035] like Figure 2 As shown, in one embodiment, a control method for a massage device is provided, which can be applicable to massage devices, and the massage devices may include but are not limited to neck massagers, waist massagers, eye massagers, etc., which are not limited in the embodiments of the present application. The method may include the following steps:
[0036] Step 210, when the electrical stimulation device is in working state, obtaining the number of first valid pulse signals output by the pulse output circuit within a first time period.
[0037] The massage device may include an electric stimulation device, which may include a pulse output circuit and at least two electrode sheets, and the pulse output circuit may be electrically connected to the at least two electrode sheets. The electric stimulation device being in a working state may refer to a state in which the electric stimulation device performs an electric stimulation massage operation, the pulse output circuit may output a pulse current to the electrode sheet, and transmit a current signal to the human skin through the electrode sheet, and the current signal may act on the human skin to generate electric stimulation, thereby performing an electric stimulation massage operation.
[0038] When the electrical stimulation device is in working state, the wearing state of the massage device can be detected in real time. The wearing state can be understood as the degree of fit between the electrode sheet and the human skin. The wearing state can include a normal wearing state and an abnormal wearing state, wherein the normal wearing state refers to the normal fit between the electrode sheet and the human skin, and the abnormal wearing state refers to the abnormal fit between the electrode sheet and the human skin. Optionally, the abnormal wearing state may include a poor wearing state and a non-wearing state, wherein the poor wearing state may refer to the fit between the electrode sheet and the human skin, but the fit area is too small, and the non-wearing state refers to the failure of the electrode sheet to fit the human skin.
[0039] In an embodiment of the present application, the effective pulse signal output by the pulse output circuit can be counted, and the wearing state of the massage device can be determined according to the number of first effective pulse signals output by the pulse output circuit in the first time period. Optionally, the pulse signal output by the pulse output circuit may include a pulse voltage and / or a pulse current. When the massage device is in different wearing states, the load resistance of the massage device will change, resulting in instability of the pulse signal output by the pulse output circuit. The effective pulse signal output by the pulse output circuit can be determined, and the effective pulse signal is a stable pulse signal output by the pulse output circuit. The number of first effective pulse signals may refer to the number of stable pulse signals output by the pulse output circuit in the first time period. The first time period can be set according to actual needs, such as 100ms (milliseconds), 230ms, 50ms, etc., but is not limited to this.
[0040] Step 220: When the number of the first valid pulse signals is less than the number threshold, it is determined that the massage device is in an abnormal wearing state.
[0041] It can be determined whether the number of first valid pulse signals output by the pulse output circuit in the first time period is less than the number threshold. If the number of first valid pulse signals is greater than or equal to the number threshold, it can be determined that the massage device is in a normal wearing state, wherein the number threshold can be determined according to actual experiments, such as 10 times. If the number of first valid pulse signals is less than the number threshold, it can be determined that the massage device is in an abnormal wearing state.
[0042] In some embodiments, the abnormal wearing state may include a poor wearing state and a non-wearing state. When the massage device is in a poor wearing state, the load resistance of the massage device may suddenly increase, or it may become a normal resistance again. Therefore, the number of first valid pulse signals output by the pulse output circuit in the first time period may be within a certain range. If the number of first valid pulse signals is less than the first threshold value (i.e., the above-mentioned number threshold value) and is greater than or equal to the second threshold value, it can be determined that the massage device is in a poor wearing state, wherein the second threshold value can also be determined according to actual experiments, such as 3 times, 2 times, etc. When the massage device is in a non-wearing state, the load resistance of the massage device approaches infinity, so the number of stable pulse signals output by the pulse output circuit is very small. If the number of first valid pulse signals is less than the second threshold value, it can be determined that the massage device is in a non-wearing state.
[0043] Step 230, controlling the power supply and the pulse output circuit to be disconnected so that the power supply stops supplying power to the pulse output circuit.
[0044] The power supply of the massage device can be electrically connected to the pulse output circuit. When the electrical stimulation device is in working state, the power supply can supply power to the pulse output circuit to ensure that the pulse output circuit can operate normally. When it is detected that the massage device is in an abnormal wearing state, the power supply and the pulse output circuit can be disconnected so that the power supply stops supplying power to the pulse output circuit. After the power supply stops supplying power, the pulse output circuit 330 no longer outputs pulse current, which can prevent the generation of electric tingling during the electrical stimulation massage process and avoid unnecessary power consumption when the massage device is worn abnormally.
[0045] For example, now combined Figure 3 The above-mentioned embodiment is described. Figure 3 FIG. 1 is a structural block diagram of a massage device in another embodiment. Figure 3 As shown, the massage device 300 may include a controller 310, a boost circuit 320, a pulse output circuit 330, a wearing detection circuit 340, at least two electrode sheets 332, a power supply 360 and a switch module 350. Among them, the output end of the controller 310 can be electrically connected to the input end of the boost circuit 320 and the input end of the switch module 350 respectively. The output end of the boost circuit 320 can be electrically connected to the input end of the pulse output circuit 330. The output end of the switch module 350 can be electrically connected to the input end of the pulse output circuit 330, and the input end of the switch module 350 can also be electrically connected to the output end of the power supply 360, and the output end of the power supply 360 can also be electrically connected to the input end of the controller 310. The output end of the pulse output circuit 330 can be electrically connected to the at least two electrode sheets 332 and the input end of the wearing detection circuit 340 respectively. The output end of the wearing detection circuit 340 can be electrically connected to the input end of the controller 310.
[0046] The power supply 360 can provide power to the pulse output circuit 330 through the switch module 350. The controller 310 can output a pulse signal to the boost circuit 320, and the boost circuit 320 outputs a driving voltage to the pulse output circuit 330 according to the received pulse signal, and the driving voltage is used as the input voltage of the pulse output circuit 330. The pulse output circuit 330 generates a pulse current driven by the driving voltage output by the boost circuit 320, and outputs the pulse current to the electrode sheet 332, and the pulse current flows through the load (the user when wearing it).
[0047] The wearing detection circuit 340 can detect the stable pulse signal output by the pulse output circuit 330, generate a feedback signal, and send the feedback signal to the controller 310. Optionally, the feedback signal can be the stable pulse signal output by the pulse output circuit 330 detected each time, or can be the counting result of the stable pulse signal output by the pulse output circuit 330 in the first time period. The controller 310 can determine the number of first valid pulse signals output by the pulse output circuit 330 in the first time period according to the feedback signal sent by the wearing detection circuit 340, and determine the wearing state of the massage device 300 according to the number of first valid pulse signals. If the controller 310 determines that the number of first valid pulse signals output by the pulse output circuit 330 in the first time period is less than the number threshold, it can send a control signal to the switch module 350 to control the switch module 350 to disconnect. After the switch module 350 is disconnected, the power supply 360 stops supplying power to the pulse output circuit 330.
[0048] In an embodiment of the present application, when the electric stimulation device is in a working state, the number of first valid pulse signals output by the pulse output circuit within a first time period is obtained. When the number of first valid pulse signals is less than a number threshold, it is determined that the massage device is in an abnormal wearing state, and the power supply and the pulse output circuit are disconnected to stop the power supply to the pulse output circuit. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit can be stopped in time to stop the electric stimulation device from working. This can prevent the sensation of electric tingling during the electric stimulation massage, avoid unnecessary power consumption when the massage device is worn abnormally, and reduce the power consumption of the massage device.
[0049] like Figure 4 As shown, in one embodiment, another control method of a massage device is provided, which can be applied to the above-mentioned massage device. The method may include the following steps:
[0050] Step 402, receiving a power-on instruction, and controlling the massage device to enter an initialization state according to the power-on instruction.
[0051] Optionally, the power-on instruction can be generated by detecting that a power-on button is triggered. The massage device can be provided with a power-on button, and the user can trigger the power-on button by clicking, long pressing, etc. When the power-on button is triggered, the controller of the massage device can receive the generated power-on instruction. Optionally, the power-on instruction can also be generated by detecting that a power supply is supplying power to the controller.
[0052] The initialization state of the massage device may refer to a low power consumption state. After receiving the power-on command, the power supply may be controlled to supply power with the initialization power, which may be less than the normal output power of the power supply. For example, the normal output power of the power supply is 5 to 10W (watts), and the initialization power may be 2W, etc. At this time, the power supply and the pulse output circuit may be disconnected, and the power supply has not supplied power to the pulse output circuit.
[0053] Step 404: If an electric stimulation massage operation instruction is received, the power supply and the pulse output circuit are controlled to be connected according to the first level signal.
[0054] The electric stimulation massage operation instruction can be used to instruct the electric stimulation device to start the electric stimulation massage operation. The electric stimulation massage operation instruction can be triggered by physical massage (such as physical buttons, rollers, etc.) set on the massage device, or by voice instructions, or by a remote control, a terminal device connected to the massage device (such as a mobile phone, etc.), without limitation.
[0055] The massage device can generate a first level signal and control the conduction between the power supply and the pulse output circuit according to the first level signal. The first level signal can be a high level signal. Figure 3 For example, when the massage device 300 is in the initialization state, the switch module 350 can be in the disconnection mode, and the power supply 360 can initialize the power and only provide power to the controller 310. After the controller 310 receives the electric stimulation massage operation instruction, it can send a high level signal to the switch module 350, and the high level signal can trigger the switch module 350 to turn on. After the switch module 350 is turned on, the power supply 360 can supply power to the pulse output circuit 330.
[0056] Step 406, control the massage device to enter the running state, and control the electric stimulation device to enter the working state according to the electric stimulation massage operation instruction.
[0057] After the power supply provides power to the pulse output circuit, the massage device can be controlled to enter an operating state, which may refer to a normal working state (non-low power consumption state) of the massage device. The power supply can be controlled to supply power with normal output power, and based on the electric stimulation massage operation instruction, the electric stimulation device can be controlled to start performing the electric stimulation massage operation.
[0058] In some embodiments, before controlling the massage device to enter the operating state, the wearing state of the massage device can be detected first. When it is detected that the massage device is in the normal wearing state, the massage device is controlled to enter the operating state, and the electric stimulation device is controlled to enter the working state according to the electric stimulation massage operation.
[0059] After the massage device control power supply and the pulse output circuit are connected, the power supply is powered with initialization power, and an initialization voltage can be input to the pulse output circuit first, and the initialization voltage can be lower than the driving voltage corresponding to the lowest gear of the electric stimulation device. The second effective pulse signal number output by the pulse output circuit in the second time period under the drive of the initialization voltage can be obtained. The second effective pulse signal number can refer to the number of effective pulse signals generated by the pulse output circuit in the second time period under the drive of the initialization voltage. When the second effective pulse signal number is greater than or equal to the number threshold, it can be determined that the massage device is in a normal wearing state. The second time period can be set according to actual needs, such as 100ms, 200ms, 340ms, etc. It should be noted that the method for obtaining the second effective pulse signal number in the embodiment of the present application can be the same as the method for obtaining the first effective pulse signal number. When the massage device is in a normal wearing state, the power supply can be controlled to supply power with normal output power, and the electric stimulation device can be controlled to start performing the electric stimulation massage operation based on the electric stimulation massage operation instruction. First detect the wearing state of the massage device, and then perform the electric stimulation massage operation when the massage device is in the normal wearing state, which can prevent the electric stinging sensation during the electric stimulation massage and improve the massage effect.
[0060] In one embodiment, when the user controls the massage device to start the electric stimulation massage operation, the user can select the desired gear, and different gears can correspond to different electric stimulation massage effects. Optionally, the higher the gear, the stronger the electric stimulation massage effect produced by the massage device. The electric stimulation massage operation instruction may include a gear selection instruction, and the target gear can be determined according to the gear selection instruction, wherein the target gear may refer to the gear selected by the user. The massage device can input a driving voltage corresponding to the target gear to the pulse output circuit, so that the pulse output circuit generates a pulse current matching the target gear under the drive of the driving voltage. The higher the target gear selected by the user, the greater the intensity of the pulse current output by the pulse output circuit, which is then transmitted to the human body through the electrode sheet, so that the user can feel the electric stimulation massage effect matching the selected target gear.
[0061] by Figure 3For example, after the power supply 360 starts to supply power to the pulse output circuit 330, it can still output with the initialization power. The controller 310 can send an initialization pulse signal to the boost circuit 320. The boost circuit 320 can generate an initialization voltage according to the initialization pulse signal, and input the initialization voltage into the pulse output circuit 330. The pulse output circuit 330 can generate a weak pulse current under the action of the initialization voltage, and output the weak pulse current to the electrode sheet 332. The weak pulse current is usually not perceived by the user. The wearing detection circuit 340 can detect the effective pulse signal output by the pulse output circuit 330 in real time during this process, and generate a corresponding feedback signal to input to the controller 310. The controller 310 can obtain the number of second effective pulse signals output by the pulse output circuit 330 in the second time period under the drive of the initialization voltage according to the feedback signal sent by the wearing detection circuit 340. The controller 310 can determine whether the number of the second valid pulse signals is greater than or equal to the number threshold. If it is greater than or equal to the number threshold, it can be determined that the massage device is in a normal wearing state, and control the power supply 360 to supply power to the pulse output circuit 330 with normal power.
[0062] The controller 310 can determine the target gear according to the gear selection instruction, generate a pulse signal corresponding to the target gear, and input the pulse signal to the boost circuit 320. The boost circuit 320 can generate a driving voltage matching the target gear according to the pulse signal, and output the driving voltage to the pulse output circuit 330. The pulse output circuit 330 can generate a pulse current matching the target gear under the drive of the driving voltage, and output the pulse current to the electrode sheet 332.
[0063] Step 408, when the electrical stimulation device is in working state, obtaining the number of first valid pulse signals output by the pulse output circuit within a first time period.
[0064] In one embodiment, Figure 5 As shown, the step of obtaining the number of first valid pulse signals output by the pulse output circuit in the first time period may include steps 502 to 504.
[0065] Step 502, determining whether the pulse signal outputted by the pulse output circuit each time is a valid pulse signal.
[0066] The pulse signal outputted by the pulse output circuit each time when it is in working state can be collected, and it can be determined whether the collected pulse signal is a valid pulse signal. A valid pulse signal can be a pulse signal that meets certain conditions, such as a pulse voltage outputted by the pulse output circuit that meets certain voltage conditions, or a pulse current outputted by the pulse output circuit that meets certain current conditions.
[0067] As an implementation, step 502 may include: obtaining a first divided voltage each time the pulse output circuit outputs a pulse signal, comparing the first divided voltage with a reference voltage, and if the first divided voltage is greater than the reference voltage, determining that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0068] The first divided voltage is determined by the return voltage of the pulse output circuit, and the return voltage is generated after the driving voltage is input into the pulse output circuit. The pulse output circuit can generate a pulse current under the action of the driving voltage, and the pulse current is transmitted to the human body (i.e., the load) through the electrode sheet, and then transmitted back to the pulse output circuit by the electrode sheet. The return voltage may refer to the voltage generated after the pulse current passes through the electrode sheet and the load. The voltage generated after the pulse current passes through the load can be collected to obtain the return voltage. When the massage device is in different wearing states, the load resistance will change, and the current transmitted back by the pulse current output by the pulse output circuit after passing through the load will also change accordingly, thereby changing the size of the return voltage.
[0069] In one embodiment, the first divided voltage can be obtained by dividing the return voltage of the pulse output circuit by a first divided resistor. The wearing detection circuit may include a first divided resistor connected in series with the pulse output circuit. When the pulse output circuit is in a working state, the wearing detection circuit can collect a pulse signal output by the pulse output circuit, and the return voltage can be obtained according to the pulse signal, and the return voltage is divided by the first divided resistor to obtain the first divided voltage.
[0070] When the massage device is in a normal wearing state, the contact between the human skin and the electrode is good, the load resistance is within the normal range, and the first divided voltage obtained is relatively stable. When the massage device is not worn, there is no contact between the human skin and the electrode, the load resistance is infinite, and a loop cannot be formed. Therefore, the wearing detection circuit cannot collect the pulse signal, that is, the first divided voltage cannot be obtained. When the massage device is in a poor wearing state, the contact area between the human skin and the electrode is small, and the load resistance becomes larger. Although a loop can be formed, the return voltage generated by the pulse output circuit is very small because the resistance is very large, and the first divided voltage obtained after dividing the return voltage by the first divided voltage resistor is also very small.
[0071] Therefore, the wearing state of the massage device can be determined according to the first divided voltage determined by the reflux voltage of the pulse output circuit. The first divided voltage can be compared with a reference voltage, and the reference voltage can be a voltage value set according to experimental data or empirical values, such as 35V (volts), 40V, etc. If the first divided voltage is greater than the reference voltage, it can be determined that the pulse signal output by the wearing detection circuit is a valid pulse signal. The wearing detection circuit can generate a feedback signal according to each valid pulse signal detected, and send the feedback signal to the controller, so that the controller counts the valid pulse signals output by the pulse output circuit in the first time period according to the feedback signal. The wearing detection circuit can also directly count the valid pulse signals output by the pulse output circuit in the first time period, and generate a feedback signal according to the counting result, and then send the feedback signal to the controller. The controller can directly obtain the counting result of the valid pulse signal output by the pulse output circuit in the first time period according to the feedback signal.
[0072] In some embodiments, different gears may correspond to different reference voltages, and the reference voltage may be set according to actual needs. For example, the electric stimulation massage of the massage device includes 5 gears, the reference voltage of the first gear is 5V, the reference voltage of the second gear is 12V, the reference voltage of the third gear is 20V, the reference voltage of the fourth gear is 30V, and the reference voltage of the fifth gear is 37V, etc. Optionally, the higher the gear, the larger the corresponding reference voltage may be, and the intensity of the current signal output by the electrode sheet may be greater. The controller of the massage device may determine the reference voltage corresponding to the current gear of the electric stimulation device, and send the reference voltage to the wearing detection circuit, and the wearing detection circuit may compare the first divided voltage with the reference voltage corresponding to the current gear.
[0073] Figure 6 FIG. 1 is a schematic diagram of a wearing detection circuit in one embodiment. Figure 6 As shown, the wearing detection circuit may include a comparator 602, wherein the EMS_check input terminal may be connected to the output terminal of the first voltage-dividing resistor, and the EMS_standard input terminal may be connected to the output terminal of the controller. After the wearing detection circuit divides the return voltage generated by the pulse output circuit through the first voltage-dividing resistor, the first voltage-dividing voltage output by the first voltage-dividing resistor may be input into the comparator 602 through the EMS_check input terminal, and the reference voltage may be input into the comparator 602 through the EMS_standard input terminal. The comparator 602 may compare the first voltage-dividing voltage with the reference voltage, and when the first voltage-dividing voltage is greater than the reference voltage, determine that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0074] As another implementation, the reference voltage may be a second divided voltage, which is determined according to the driving voltage input to the pulse output circuit.
[0075] The massage device can divide the driving voltage input to the pulse output circuit and obtain a second divided voltage after the division. Since the return voltage will change when the massage device is in different wearing states, the first divided voltage obtained after dividing the return voltage will also change accordingly, so that by comparing the first divided voltage and the second divided voltage, the wearing state of the massage device can be determined. Since the return voltage is the voltage of the return end of the grounded pulse output circuit, if the driving voltage and the return voltage are not divided separately, but the driving voltage is directly compared with the return voltage, it may happen that regardless of any wearing state of the massage device, the driving voltage is higher than the return voltage, resulting in low accuracy in detecting the wearing state. By first dividing the driving voltage and the return voltage of the pulse output circuit separately, and then comparing the two divided voltages, the wearing state of the massage device can be detected more accurately.
[0076] In some embodiments, when the massage device is not in a normal wearing state, the resistance of the load will increase, thereby causing the return voltage of the pulse output circuit to decrease, and the first divided voltage obtained by dividing the return voltage will also decrease. Therefore, when the first divided voltage is greater than the second divided voltage, it can be determined that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0077] In one embodiment, the second voltage-dividing voltage is obtained by dividing the driving voltage by a second voltage-dividing resistor, wherein the above-mentioned first voltage-dividing resistor may be smaller than the second voltage-dividing resistor. As a specific implementation, the first voltage-dividing resistor may be much smaller than the second voltage-dividing resistor, for example, the second voltage-dividing resistor is 300kΩ (kilo-ohms), the first voltage-dividing resistor is 5Ω, etc., but not limited to this. By dividing the driving voltage of the pulse output circuit by a second voltage-dividing resistor much larger than the first voltage-dividing resistor, the first voltage-dividing voltage and the second voltage-dividing voltage obtained by the voltage division can be both smaller values, which are easier to compare. It can be understood that the first voltage-dividing resistor and the second voltage-dividing resistor can be set according to actual needs, and the embodiment of the present application does not limit the specific resistance values of the first voltage-dividing resistor and the second voltage-dividing resistor.
[0078] Figure 7 FIG. 1 is a structural block diagram of a massage device in another embodiment. Figure 7 As shown, the wearing detection circuit 340 may also include a first voltage divider circuit 342 and a second voltage divider circuit 344, wherein the output end of the boost circuit 320 may be electrically connected to the input end of the second voltage divider circuit 344, and the output end of the pulse output circuit 330 may be electrically connected to the input end of the first voltage divider circuit 342. As a specific implementation, the ground end of the pulse output circuit 330 may be connected to the input end of the first voltage divider circuit 342, and the first voltage divider circuit 342 first collects the return voltage generated by the return pulse current and then grounds it.
[0079] The first voltage-dividing circuit 342 may include a first voltage-dividing resistor, and the return voltage of the pulse output circuit 330 may be divided by the first voltage-dividing resistor to obtain a first divided voltage. The second voltage-dividing circuit 344 may include a second voltage-dividing resistor, and the driving voltage output from the boost circuit 320 to the pulse output circuit 330 may be divided by the second voltage-dividing resistor to obtain a second divided voltage.
[0080] As an implementation method, the wearing detection circuit 340 may also include: Figure 8 The comparator 802 shown in the figure, wherein the EMS_check input terminal can be electrically connected to the output terminal of the first voltage-dividing circuit 342, and the EMS-HV-VREF input terminal can be electrically connected to the output terminal of the second voltage-dividing circuit 344. The EMS_check input terminal can input the first divided voltage output by the first voltage-dividing circuit 342 into the comparator 802, and the EMS-HV-VREF input terminal can input the second divided voltage output by the second voltage-dividing circuit 344 into the comparator 802. The comparator 802 can compare the first divided voltage and the second divided voltage, and when the first divided voltage is greater than the second divided voltage, determine that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0081] In the embodiment of the present application, by comparing the first divided voltage of the return voltage and the second divided voltage of the driving voltage, the load condition can be timely and accurately known, thereby being able to timely and accurately detect the wearing state of the massage device.
[0082] It should be noted that the wearing detection circuit 340 may be an independent circuit structure, or may be fully or partially integrated with the controller 310, that is, the wearing detection circuit 340 may be fully or partially an internal circuit of the controller 310. In one implementation, the comparator 602 may be an internal circuit of the controller 310, and the comparator 802 may also be an internal circuit of the controller 310.
[0083] Step 504: Acquire the number of valid pulse signals determined in the first time period as the first valid pulse signal number.
[0084] The controller of the massage device can obtain the number of valid pulse signals determined in the first time period as the first valid pulse signal number, and determine that the massage device is in an abnormal wearing state when the first valid pulse signal number is less than the number threshold. Determining the wearing state of the massage device by the number of valid pulse signals detected within a certain period of time can prevent false detection and improve the accuracy of detection. And using the pulse signal to make direct judgment can make wearing detection simpler and improve detection efficiency.
[0085] Step 410: When the number of the first valid pulse signals is less than the number threshold, it is determined that the massage device is in an abnormal wearing state.
[0086] Step 412: Control the power supply and the pulse output circuit to be disconnected according to the second level signal, so that the power supply stops supplying power to the pulse output circuit.
[0087] The second level signal may be a low level signal. When the massage device is not in a normal wearing state, Figure 3 For example, the controller 310 can send a low-level signal to the switch module 350, and trigger the switch module 350 to disconnect through the low voltage signal, so that the power supply 360 stops supplying power to the pulse output circuit 330, the electric stimulation device stops the electric stimulation massage operation, and ends the working state.
[0088] Step 414, controlling the massage device to enter an initialization state.
[0089] After the electric stimulation device stops the electric stimulation massage operation, the massage device can control the power supply to supply power with initialization power so that the massage device re-enters the initialization state, saving the power loss of the massage device when the electric stimulation device is not in working state, and effectively improving the battery life of the massage device.
[0090] In an embodiment of the present application, by determining the number of valid pulse signals output by the pulse output circuit within the first time period, the wearing state of the massage device can be accurately detected. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit is stopped in time, so that the electric stimulation device stops working, which can prevent the occurrence of electric tingling during the electric stimulation massage. When the electric stimulation device is not in working state, the massage device enters a low-power initialization state, avoiding unnecessary power consumption, reducing the power consumption of the massage device, and effectively improving the endurance of the massage device.
[0091] In one embodiment, Figure 3 As shown, a massage device 300 is provided, which includes a power supply 360, a wearing detection circuit 340, a pulse output circuit 330, a switch module 350 and a controller 310. The wearing detection circuit 340 is electrically connected to the controller 310 and the pulse output circuit 330 respectively, and the switch module 350 is electrically connected to the power supply 360, the controller 310 and the pulse output circuit 330 respectively.
[0092] The wearing detection circuit 340 is used to generate a feedback signal according to the pulse signal output by the pulse output circuit 330 and send the feedback signal to the controller 310 .
[0093] The controller 310 is used to obtain the first valid pulse signal number output by the pulse output circuit 330 within the first time period according to the feedback signal sent by the wearing detection circuit. When the first valid pulse signal number is less than the number threshold, it is determined that the massage device 300 is in an abnormal wearing state and a disconnect signal is sent to the switch module 350.
[0094] The switch module 350 is used to disconnect according to the disconnection signal sent by the controller 310 so that the power supply 360 stops supplying power to the pulse output circuit 330 .
[0095] In one embodiment, the power supply 360 may also be electrically connected to the controller 310 .
[0096] The controller 310 is also used to receive a power-on instruction, and control the power supply 360 to supply power with an initialization power according to the power-on instruction, so as to control the massage device 300 to enter an initialization state, wherein the initialization power is less than the normal output power of the power supply.
[0097] The controller 310 is further configured to generate a first level signal and send the first level signal to the switch module 350 upon receiving an electric stimulation massage operation instruction.
[0098] The switch module 350 is further configured to be turned on according to the first level signal so that the power supply supplies power to the pulse output circuit 330 , wherein the first level signal is a high level signal.
[0099] In one embodiment, the massage device 300 may further include a boost circuit 320 , and the boost circuit 320 may be electrically connected to the controller 310 and the pulse output circuit 330 , respectively.
[0100] The electric stimulation massage operation instruction includes a gear selection instruction. The controller 310 is further used to determine a target gear according to the gear selection instruction, generate a pulse signal matching the target gear, and send the pulse signal to the boost circuit 320.
[0101] The boost circuit 320 may be used to generate a driving voltage corresponding to a target gear position according to a pulse signal sent by the controller 310 , and input the driving voltage to the pulse output circuit 330 .
[0102] The pulse output circuit 330 is also used to generate a pulse current corresponding to the target gear position under the action of the driving voltage output by the boost circuit 320.
[0103] In one embodiment, the boost circuit 320 is also used to generate an initialization voltage after the switch module 350 is turned on according to the first level signal, and send the initialization voltage to the pulse output circuit 330. The wearing detection circuit 340 is also used to collect the pulse signal output by the pulse output circuit 330 under the drive of the initialization voltage, and generate a feedback signal according to the pulse signal, and then send the feedback signal to the controller 310. The controller 310 can obtain the number of second valid pulse signals output by the pulse output circuit 330 in the second time period according to the feedback signal sent by the wearing detection circuit 340. When the number of second valid pulse signals is greater than the number threshold, it is determined that the massage device 300 is in a normal wearing state, and then the power supply 360 is controlled to supply power with normal output power, and the target gear is determined according to the gear selection instruction.
[0104] In one embodiment, the wearing detection circuit 340 is further used to determine the effective pulse signal output by the pulse output circuit 330 each time, and generate a feedback signal according to the effective pulse signal.
[0105] In one embodiment, the wearing detection circuit 340 includes a first voltage-dividing resistor, which can be electrically connected to the pulse output circuit 330. The first voltage-dividing resistor is also used to obtain the return voltage of the pulse output circuit according to the pulse signal output by the pulse output circuit, and divide the return voltage to obtain the first divided voltage.
[0106] As an implementation method, Figure 6 As shown, the wearing detection circuit 340 may include a comparator 602, and the comparator 602 may be electrically connected to the first voltage-dividing resistor and the controller 310, respectively. The comparator 602 is used to obtain the first voltage-dividing voltage and the reference voltage, and compare the first voltage-dividing voltage with the reference voltage. If the first voltage-dividing voltage is greater than the reference voltage, it is determined that the pulse signal output by the pulse output circuit is a valid pulse signal. In one embodiment, the controller 310 is also used to determine the reference voltage corresponding to the current gear position, and input the reference voltage corresponding to the current gear position into the comparator 602. The comparator 602 is also used to compare the first voltage-dividing voltage with the reference voltage corresponding to the current gear position.
[0107] In some embodiments, the reference voltage may be the second divided voltage. Figure 7 As shown, the wearing detection circuit 340 may include a first voltage divider circuit 342 and a second voltage divider circuit 344 , the second voltage divider circuit 344 may be electrically connected to the boost circuit 320 , and the first voltage divider circuit 342 may be electrically connected to the pulse output circuit 330 .
[0108] The first voltage divider circuit 342 is used to divide the return voltage of the pulse output circuit 330 to obtain a first divided voltage. The second voltage divider circuit 344 is used to divide the driving voltage input from the boost circuit 320 to the pulse output circuit 330 to obtain a second divided voltage. Optionally, the first voltage divider circuit 342 includes a first voltage divider resistor, and the second voltage divider circuit 344 includes a second voltage divider resistor. The first voltage divider circuit 342 is also used to divide the return voltage of the pulse output circuit 330 through the first voltage divider resistor to obtain a first divided voltage. The second voltage divider circuit 344 is also used to divide the driving voltage input from the boost circuit 320 to the pulse output circuit 330 through the second voltage divider resistor to obtain a second divided voltage. Wherein, the first voltage divider resistor is smaller than the second voltage divider resistor.
[0109] like Figure 8 As shown, the wearing detection circuit 340 further includes a comparator 802, which can be electrically connected to the first voltage divider circuit 342, the second voltage divider circuit 344 and the controller 310 respectively. The comparator 802 is used to compare the first divided voltage output by the first voltage divider circuit 342 with the second divided voltage output by the second voltage divider circuit 344. If the first divided voltage is greater than the second divided voltage, it is determined that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0110] In one embodiment, the controller 310 is further configured to generate a second level signal when determining that the massage device 300 is in an abnormal wearing state, and send the second level signal to the switch module 350. The switch module 350 is configured to disconnect according to the second level signal, wherein the second level signal is a low level signal.
[0111] It should be noted that the relevant description of the massage device provided in the embodiment of the present application can refer to the description of the control method of the massage device provided in the above embodiment, which will not be repeated here.
[0112] In an embodiment of the present application, when the electrical stimulation device is in a working state, the wearing detection circuit can detect the pulse signal output by the pulse output circuit in real time, and the controller can obtain the first number of valid pulse signals output by the pulse output circuit in a first time period. When the first number of valid pulse signals is less than the number threshold, it is determined that the massage device is in an abnormal wearing state, and the power supply and the pulse output circuit are controlled to be disconnected so that the power supply stops supplying power to the pulse output circuit. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit can be stopped in time, so that the electrical stimulation device stops working, which can prevent the generation of electric tingling during the electrical stimulation massage, and avoid the unnecessary power consumption when the massage device is worn abnormally, thereby reducing the power consumption of the massage device.
[0113] like Fig. 9As shown, in one embodiment, a control device 900 of a massage device is provided, which can be applied to the above-mentioned massage device, the massage device includes an electric stimulation device and a power supply, and the electric stimulation device includes a pulse output circuit. The control device 900 of the massage device may include a quantity acquisition module 910, a wearing state determination module 920 and a disconnection module 930.
[0114] The quantity acquisition module 910 is used to acquire the quantity of the first valid pulse signal output by the pulse output circuit within the first time period when the electrical stimulation device is in working state.
[0115] The wearing state determination module 920 is used to determine that the massage device is in an abnormal wearing state when the number of the first valid pulse signals is less than a number threshold.
[0116] The disconnection module 930 is used to control the disconnection between the power supply and the pulse output circuit so that the power supply stops supplying power to the pulse output circuit.
[0117] In an embodiment of the present application, when the electric stimulation device is in a working state, the number of first valid pulse signals output by the pulse output circuit within a first time period is obtained. When the number of first valid pulse signals is less than a number threshold, it is determined that the massage device is in an abnormal wearing state, and the power supply and the pulse output circuit are disconnected to stop the power supply to the pulse output circuit. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit can be stopped in time to stop the electric stimulation device from working. This can prevent the sensation of electric tingling during the electric stimulation massage, avoid unnecessary power consumption when the massage device is worn abnormally, and reduce the power consumption of the massage device.
[0118] In one embodiment, the control device 900 of the massage device includes, in addition to the quantity acquisition module 910, the wearing state determination module 920 and the disconnection module 930, an initialization module, a conduction module and an operation module.
[0119] The initialization module is used to receive a power-on instruction and control the massage device to enter an initialization state according to the power-on instruction.
[0120] The conduction module is used to control the conduction between the power supply and the pulse output circuit according to the first level signal if an electric stimulation massage operation instruction is received.
[0121] The operation module is used to control the massage device to enter the operation state, and control the electric stimulation device to enter the working state according to the electric stimulation massage operation instruction.
[0122] In one embodiment, the electric stimulation massage operation instruction includes a gear selection instruction. The operation module is further used to determine the target gear according to the gear selection instruction, and input a driving voltage corresponding to the target gear to the pulse output circuit, so that the pulse output circuit generates a pulse current matching the target gear under the drive of the driving voltage.
[0123] In one embodiment, the operation module is also used to control the massage device to enter the operation state when it is detected that the massage device is in the normal wearing state, and control the electric stimulation device to enter the working state according to the electric stimulation massage operation.
[0124] In one embodiment, the quantity acquisition module 910 is also used to input an initialization voltage into the pulse output circuit, and obtain the number of second valid pulse signals output by the pulse output circuit within a second time period under the drive of the initialization voltage, wherein the initialization voltage is lower than the driving voltage corresponding to the lowest gear of the electrical stimulation device.
[0125] The wearing state determination module 920 is further used to determine that the massage device is in a normal wearing state when the number of the second valid pulse signals is greater than or equal to a number threshold.
[0126] In one embodiment, the initialization module is further used to control the power supply to supply power with an initialization power according to the power-on instruction, and the initialization power is less than the normal output power of the power supply.
[0127] The operation module is also used to control the power supply to supply power with normal output power.
[0128] In one embodiment, the initialization module is further used to control the power supply to supply power with the initialization power after the disconnection module 930 controls the power supply to be disconnected from the pulse output circuit, so as to make the massage device re-enter the initialization state.
[0129] In one embodiment, the quantity acquisition module 910 includes a signal determination unit and a quantity acquisition unit.
[0130] The signal determination unit is used to determine whether the pulse signal outputted by the pulse output circuit each time is a valid pulse signal.
[0131] In one embodiment, a signal determination unit is used to obtain a first divided voltage each time a pulse output circuit outputs a pulse signal, and compare the first divided voltage with a reference voltage. If the first divided voltage is greater than the reference voltage, the pulse signal output by the pulse output circuit is determined to be a valid pulse signal, wherein the first divided voltage is determined by a return voltage of the pulse output circuit, and the return voltage is generated after a driving voltage is input into the pulse output circuit.
[0132] In one embodiment, the signal determination unit is also used to determine the reference voltage corresponding to the current gear of the electrical stimulation device, and compare the first divided voltage with the reference voltage corresponding to the current gear. If the first divided voltage is greater than the reference voltage corresponding to the current gear, it is determined that the pulse signal output by the pulse output circuit is a valid pulse signal.
[0133] In one embodiment, the reference voltage is a second divided voltage, and the second divided voltage is determined according to the driving voltage input to the pulse output circuit.
[0134] In one embodiment, the first divided voltage is obtained by dividing the return voltage through a first divided resistor, and the second divided voltage is obtained by dividing the drive voltage through a second divided resistor, wherein the first divided resistor is smaller than the second divided resistor.
[0135] The quantity acquisition unit is used to acquire the quantity of valid pulse signals determined in the first time period as the first valid pulse signal quantity.
[0136] In an embodiment of the present application, by determining the number of valid pulse signals output by the pulse output circuit within the first time period, the wearing state of the massage device can be accurately detected. When it is detected that the massage device is in an abnormal wearing state, the power supply to the pulse output circuit is stopped in time, so that the electric stimulation device stops working, which can prevent the occurrence of electric tingling during the electric stimulation massage. When the electric stimulation device is not in working state, the massage device enters a low-power initialization state, avoiding unnecessary power consumption, reducing the power consumption of the massage device, and effectively improving the endurance of the massage device.
[0137] Fig.10 FIG. 1 is a structural block diagram of a massage device in another embodiment. Fig.10 As shown, the massage device 1000 may be a neck massager, a waist massager, an eye massager, etc. The massage device 1000 may include one or more of the following components: a processor 1010, a memory 1020 coupled to the processor 1010, wherein the memory 1020 may store one or more application programs, and the one or more application programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 1010.
[0138] The processor 1010 may include one or more processing cores. The processor 1010 uses various interfaces and lines to connect various parts of the entire massage device 1000, and executes various functions and processes data of the massage device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1020, and calling data stored in the memory 1020. Optionally, the processor 1010 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1010 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1010, but may be implemented separately through a communication chip.
[0139] The memory 1020 may include a random access memory (RAM) or a read-only memory (ROM). The memory 1020 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the massage device 1000 during use, etc.
[0140] It is understandable that the massage device 1000 may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, a speaker, a Bluetooth module, a sensor, etc., and it is not limited here.
[0141] An embodiment of the present application discloses a neck massager, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor implements the methods described in the above embodiments.
[0142] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the method described in the above embodiment when executed by a processor.
[0143] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.
[0145] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or Flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM), and direct memory bus dynamic RAM (DRDRAM).
[0146] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.
[0147] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0148] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0150] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0151] The above is a detailed introduction to a control method, device, massage device and storage medium of a massage device disclosed in the embodiment of the present application. The principle and implementation method of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A control method for a massage device, characterized in that: The massage device comprises an electric stimulation device and a power supply, the electric stimulation device comprises a pulse output circuit, and the method comprises: When the electrical stimulation device is in working state, the number of first effective pulse signals output by the pulse output circuit within a first time period is obtained; wherein, the number of first effective pulse signals is the number of effective pulse signals output by the pulse output circuit within the first time period, and the effective pulse signal is a pulse signal whose first divided voltage is greater than a reference voltage when the pulse output circuit outputs a pulse signal; the first divided voltage is obtained by dividing the return voltage of the pulse output circuit by a first divided resistor; the return voltage is the voltage generated after the pulse current passes through the electrode sheet and the load, and the pulse current is transmitted from the pulse output circuit to the load through the electrode sheet, and then transmitted back to the pulse output circuit by the electrode sheet; When the number of the first valid pulse signals is less than the number threshold, determining that the massage device is in an abnormal wearing state; The power supply is controlled to be disconnected from the pulse output circuit so that the power supply stops supplying power to the pulse output circuit.
2. The method according to claim 1, characterized in that When the electrical stimulation device is in working state, before obtaining the number of pulse signals output by the pulse output circuit within the first time period, the method further includes: receiving a power-on instruction, and controlling the massage device to enter an initialization state according to the power-on instruction; If an electric stimulation massage operation instruction is received, the power supply and the pulse output circuit are controlled to be connected according to the first level signal; The massage device is controlled to enter a running state, and the electric stimulation device is controlled to enter a working state according to the electric stimulation massage operation instruction.
3. The method according to claim 2, characterized in that The electric stimulation massage operation instruction includes a gear selection instruction; and controlling the electric stimulation device to enter a working state according to the electric stimulation massage operation instruction includes: determining a target gear according to the gear selection instruction; A driving voltage corresponding to the target gear position is input to the pulse output circuit, so that the pulse output circuit generates a pulse current matching the target gear position under the driving of the driving voltage.
4. The method according to claim 2 or 3, characterized in that: The step of controlling the massage device to enter a running state and controlling the electrical stimulation device to enter a working state according to the electrical stimulation massage operation comprises: When it is detected that the massage device is in a normal wearing state, the massage device is controlled to enter an operating state, and the electric stimulation device is controlled to enter a working state according to the electric stimulation massage operation.
5. The method according to claim 4, characterized in that Before controlling the massage device to enter the running state when the massage device is detected to be in the normal wearing state, the method further includes: Inputting an initialization voltage into the pulse output circuit, wherein the initialization voltage is lower than the driving voltage corresponding to the lowest gear of the electrical stimulation device; Acquire the number of second valid pulse signals output by the pulse output circuit within a second time period under the drive of the initialization voltage; When the number of the second valid pulse signals is greater than or equal to the number threshold, it is determined that the massage device is in a normal wearing state.
6. The method according to claim 2, characterized in that The step of controlling the massage device to enter an initialization state according to the power-on instruction comprises: Controlling the power supply to supply power with an initialization power according to the power-on instruction, wherein the initialization power is less than a normal output power of the power supply; The step of controlling the massage device to enter an operating state comprises: The power supply is controlled to supply power with the normal output power.
7. The method according to claim 6, characterized in that After controlling the power supply to be disconnected from the pulse output circuit, the method further includes: The power supply is controlled to supply power with the initialization power so that the massage device re-enters the initialization state.
8. The method according to claim 1, characterized in that The obtaining the number of first valid pulse signals output by the pulse output circuit within a first time period includes: Determine whether the pulse signal outputted by the pulse output circuit each time is a valid pulse signal; The number of the valid pulse signals determined in the first time period is obtained as the first valid pulse signal number.
9. The method according to claim 8, characterized in that The step of determining whether the pulse signal outputted by the pulse output circuit each time is a valid pulse signal comprises: Acquire a first divided voltage each time the pulse output circuit outputs a pulse signal, wherein the first divided voltage is determined by a return voltage of the pulse output circuit, and the return voltage is generated after a driving voltage is input into the pulse output circuit; The first divided voltage is compared with a reference voltage, and if the first divided voltage is greater than the reference voltage, it is determined that the pulse signal output by the pulse output circuit is a valid pulse signal.
10. The method according to claim 9, characterized in that The comparing the first divided voltage with a reference voltage comprises: Determine a reference voltage corresponding to a current gear position of the electrical stimulation device, and compare the first divided voltage with the reference voltage corresponding to the current gear position.
11. The method according to claim 9, characterized in that The reference voltage is a second divided voltage, and the second divided voltage is determined according to the driving voltage input to the pulse output circuit.
12. The method according to claim 11, characterized in that The first divided voltage is obtained by dividing the return voltage through a first divided voltage resistor, and the second divided voltage is obtained by dividing the drive voltage through a second divided voltage resistor, wherein the first divided voltage resistor is smaller than the second divided voltage resistor.
13. The method according to claim 1, characterized in that The controlling the power supply to be disconnected from the pulse output circuit comprises: The power supply and the pulse output circuit are disconnected according to a second level signal, and the second level signal is a low level signal.
14. A massage device, characterized in that: It includes a power supply, a wearing detection circuit, a pulse output circuit, a switch module and a controller, wherein the wearing detection circuit is electrically connected to the controller and the pulse output circuit respectively, and the switch module is electrically connected to the power supply, the controller and the pulse output circuit respectively; The wearing detection circuit is used to generate a feedback signal according to the pulse signal output by the pulse output circuit, and send the feedback signal to the controller; The controller is used to obtain the first valid pulse signal number output by the pulse output circuit within the first time period according to the feedback signal sent by the wearing detection circuit, and when the first valid pulse signal number is less than the number threshold, it is determined that the massage device is in an abnormal wearing state, and a disconnection signal is sent to the switch module; wherein the first valid pulse signal number is the number of valid pulse signals output by the pulse output circuit within the first time period, and the valid pulse signal is a pulse signal whose first divided voltage is greater than a reference voltage when the pulse output circuit outputs a pulse signal; the first divided voltage is obtained by dividing the return voltage of the pulse output circuit by a first divided resistor; the return voltage is the voltage generated after the pulse current passes through the electrode sheet and the load, and the pulse current is transmitted from the pulse output circuit to the load through the electrode sheet, and then transmitted back to the pulse output circuit by the electrode sheet; The switch module is used to disconnect according to the disconnection signal sent by the controller, so that the power supply stops supplying power to the pulse output circuit.
15. A control device for a massage device, characterized in that: The massage device comprises an electric stimulation device and a power supply, wherein the electric stimulation device comprises a pulse output circuit, and the control device of the massage device comprises: A quantity acquisition module, used for acquiring the first effective pulse signal quantity output by the pulse output circuit within a first time period when the electrical stimulation device is in working state; wherein the first effective pulse signal quantity is the number of effective pulse signals output by the pulse output circuit within the first time period, and the effective pulse signal is a pulse signal whose first divided voltage is greater than a reference voltage when the pulse output circuit outputs a pulse signal; the first divided voltage is obtained by dividing the return voltage of the pulse output circuit by a first divided resistor; the return voltage is the voltage generated after the pulse current passes through the electrode sheet and the load, and the pulse current is transmitted from the pulse output circuit to the load through the electrode sheet, and then transmitted back to the pulse output circuit by the electrode sheet; a wearing state determination module, configured to determine that the massage device is in an abnormal wearing state when the number of the first valid pulse signals is less than a number threshold; A disconnection module is used to control the disconnection between the power supply and the pulse output circuit so that the power supply stops supplying power to the pulse output circuit.
16. A massage device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 13.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
Citation Information
Patent Citations
Method and system for improving provision of electrical stimulation
CN108778409A
Wearable equipment, tactile feedback method and device and storage medium
CN111399645A