Motor drive circuit and intelligent massage device

By controlling the switching between the charging unit and the vibration switch unit through the controller, and using the capacitor to drive the motor vibration, the problem of insufficient vibration intensity adjustment in the existing technology is solved, and the motor vibration intensity is gradually reduced to meet the user's needs in the sleep scenario.

CN224684134UActive Publication Date: 2026-08-25SHENZHEN BREO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521768872.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-08-19
Publication Date
2026-08-25
Estimated Expiration
2035-08-19

AI Technical Summary

Technical Problem

Existing technologies adjust vibration intensity by regulating the duration of motor vibration, which cannot provide a gentle and gradually diminishing vibration experience and is difficult to meet the needs of users in sleep scenarios.

Method used

The controller controls the charging unit to charge the capacitor, and stops charging when the capacitor voltage reaches a preset threshold. The vibration switch unit is then switched to the on state, causing the capacitor to drive the motor to vibrate. The discharge of the capacitor gradually reduces the intensity of the motor vibration.

Benefits of technology

It enables adjustment of motor vibration intensity, providing a gradually decreasing vibration experience from strong to weak, meeting the user's needs in sleep scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224684134U_ABST
    Figure CN224684134U_ABST
Patent Text Reader

Abstract

The application discloses a motor driving circuit and an intelligent massage device, and relates to the technical field of motors, and comprises a motor and a controller, a vibration switch unit, a first end of the vibration switch unit being connected with a first voltage output end of the controller, and a second end of the vibration switch unit being connected with a first end of the motor, a charging unit, a first end of the charging unit being connected with a second voltage output end of the controller, a capacitor, a first end of the capacitor being connected with a second end of the charging unit, a second end of the motor and a voltage detection end of the controller, and a second end of the capacitor being grounded, wherein the controller controls the charging unit to charge the capacitor, and when the voltage detection end detects that the voltage of the capacitor is greater than a preset voltage threshold, the controller controls the charging unit to stop charging the capacitor, and controls the vibration switch unit to switch from a cut-off state to a conducting state, so as to drive the motor to vibrate through the capacitor. The application realizes the adjustment of motor vibration feeling and realizes the vibration feeling from strong to weak.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motor technology, and in particular to a motor drive circuit and an intelligent massage device. Background Technology

[0002] As people's living standards improve, they are placing higher demands on the vibration intensity of massage devices (such as eye massagers), hoping for diverse vibration intensities to meet the needs of different usage scenarios. Currently, most methods adjust the vibration intensity by controlling the duration of the high-level pulse.

[0003] However, this method essentially only creates the illusion of different vibration intensities by varying the duration of vibration; the actual vibration intensity remains unchanged. This method has significant drawbacks. For example, in a sleep environment, it cannot provide a gentle and gradually diminishing vibration experience, failing to meet the user's vibration needs during sleep. Therefore, a new motor drive circuit is urgently needed to adjust the motor vibration intensity.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Utility Model Content

[0005] The main purpose of this application is to provide a motor drive circuit and an intelligent massage device, aiming to solve how to provide a new motor drive circuit to achieve the adjustment of motor vibration intensity.

[0006] To achieve the above objectives, this application provides a motor drive circuit, which includes:

[0007] Motors and controllers;

[0008] A vibration switch unit, wherein the first end of the vibration switch unit is connected to the first level output terminal of the controller, and the second end of the vibration switch unit is connected to the first end of the motor;

[0009] A charging unit, wherein the first end of the charging unit is connected to the second level output terminal of the controller;

[0010] A capacitor, the first end of which is connected to the second end of the charging unit, the second end of the motor, and the voltage detection terminal of the controller, and the second end of the capacitor is grounded;

[0011] The controller controls the charging unit to charge the capacitor, and when the voltage of the capacitor is detected to be greater than a preset voltage threshold at the voltage detection terminal, it controls the charging unit to stop charging the capacitor and controls the vibration switch unit to switch from the off state to the on state so as to drive the motor to vibrate through the capacitor.

[0012] In one embodiment, the charging unit includes:

[0013] A first resistor, the first end of which serves as the first end of the charging unit and is connected to the second level output terminal;

[0014] A second resistor, the first end of which is connected to the second end of the first resistor;

[0015] A first switching transistor, the first end of which is connected to the second end of the first resistor and the first end of the second resistor, the second end of which serves as the second end of the charging unit, and the second end of which is connected to the first end of the capacitor and the second end of the motor;

[0016] A power supply, the output terminal of which is connected to the third terminal of the first switching transistor.

[0017] In one embodiment, the charging unit further includes a second switching transistor disposed between a first terminal of the first resistor and the second level output terminal;

[0018] The first terminal of the second switch is connected to the second level output terminal, the second terminal of the second switch is grounded, and the third terminal of the second switch is connected to the first terminal of the first resistor.

[0019] In one embodiment, a buffer resistor is further provided between the second end of the motor and the second end of the first switching transistor.

[0020] In one embodiment, the voltage regulation terminal of the power supply is connected to the voltage control terminal of the controller.

[0021] In one embodiment, the vibration switch unit includes:

[0022] The third resistor, the first end of which serves as the first end of the vibration switch unit;

[0023] A fourth resistor, the first end of which is connected to the second end of the third resistor, and the second end of the fourth resistor is grounded;

[0024] The third switch transistor has its first end connected to the second end of the third resistor and the first end of the fourth resistor. The second end of the third switch transistor serves as the second end of the vibration switch unit. The second end of the third switch transistor is connected to the first end of the motor. The third end of the third switch transistor is connected to the second end of the fourth resistor.

[0025] In one embodiment, the motor drive circuit further includes a voltage divider unit, the voltage divider unit comprising:

[0026] A first voltage divider resistor, the first end of which is connected to the voltage detection terminal, and the second end of which is connected to the first end of the capacitor;

[0027] The second voltage divider resistor has its first end connected to the second end of the capacitor, and its second end connected to the voltage detection terminal and the first end of the first voltage divider resistor.

[0028] In one embodiment, the motor drive circuit further includes a diode, the anode of which is connected to a first terminal of the motor, and the cathode of which is connected to a second terminal of the motor.

[0029] In one embodiment, the first switching transistor in the charging unit and the third switching transistor in the vibration switching unit are both field-effect transistors, and the second switching transistor in the charging unit is a transistor.

[0030] Furthermore, this application embodiment also provides an intelligent massage device, which includes the motor drive circuit described above.

[0031] This application provides a motor drive circuit, including a motor and a controller, a vibration switch unit, a first end of which is connected to a first-level output terminal of the controller, and a second end of which is connected to a first terminal of the motor; a charging unit, the first end of which is connected to a second-level output terminal of the controller; and a capacitor, the first end of which is connected to a second terminal of the charging unit, a second terminal of the motor, and a voltage detection terminal of the controller. The controller controls the charging unit to charge the capacitor, and when the voltage detection terminal detects that the voltage of the capacitor is greater than a preset voltage threshold, it controls the charging unit to stop charging the capacitor and controls the vibration switch unit to switch from a cutoff state to a conduction state, so as to drive the motor to vibrate through the capacitor.

[0032] Since the controller is connected to the charging unit, which in turn is connected to the capacitor, the controller can control the charging unit to charge the capacitor. When the capacitor reaches a preset voltage threshold, the controller can control the charging unit to stop charging the capacitor. Furthermore, the controller can also control the vibration switch unit to switch from the off state to the on state, thereby discharging the capacitor. The capacitor can then drive the motor to vibrate. After the capacitor discharges, the voltage gradually decreases, which in turn causes the vibration intensity of the motor to gradually decrease from strong to weak, achieving a gradually weakening vibration sensation and thus realizing the adjustment of the motor vibration intensity. Attached Figure Description

[0033] Figure 1 This is a simplified circuit diagram of a motor vibration drive in the prior art;

[0034] Figure 2 This is a schematic diagram of the framework of one embodiment of the motor drive circuit in this application;

[0035] Figure 3 This is a schematic diagram of the circuit connection of the charging unit in the motor drive circuit of this application;

[0036] Figure 4 This is a schematic diagram of the circuit connection of the charging unit, including the second switching transistor, in the motor drive circuit of this application.

[0037] Figure 5 This is a schematic diagram of the circuit connection in the motor drive circuit of this application, in which a buffer resistor is provided between the motor and the first switching transistor.

[0038] Figure 6 This is a schematic diagram of the circuit connection of the voltage control terminal of the power supply to the controller in the motor drive circuit of this application.

[0039] Figure 7 This is a schematic diagram of the circuit connection of the vibration switch unit in the motor drive circuit of this application;

[0040] Figure 8 This is a schematic diagram of the circuit connection including the voltage divider unit in the motor drive circuit of this application;

[0041] Figure 9 This is a schematic diagram of the circuit connection including diodes in the motor drive circuit of this application.

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

[0043] Explanation of icon numbers:

[0044] 100, Controller; 200, Vibration Switch Unit; 300, Charging Unit; Motor; GPIO1, First Level Output Terminal; GPIO2, Second Level Output Terminal; ADC, Voltage Detection Terminal; C, Capacitor; GND, Ground; 310, Power Supply; Q1, First Switching Transistor; Q2, Second Switching Transistor; Q3, Third Switching Transistor; R1, First Resistor; R2, Second Resistor; R3, Third Resistor; R4, Fourth Resistor; Rh, Buffer Resistor; dt, Voltage Adjustment Terminal of Power Supply; dk, Voltage Control Terminal of Controller; d_out, Output Terminal of Power Supply; R5, First Voltage Divider Resistor; R6, Second Voltage Divider Resistor; D1, Diode. Detailed Implementation

[0045] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0046] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0047] As people's living standards improve, they have higher requirements for the vibration intensity of massage devices (such as eye massagers), hoping for diverse vibration intensities to meet different usage scenarios. Generally, the vibration intensity of the motor is adjusted by controlling the duration of the high-level signal, but in reality, this creates the illusion of vibration intensity adjustment for the user by changing the duration of the motor's vibration; the vibration intensity itself remains unchanged.

[0048] For example, refer to Figure 1 , Figure 1 This is a simplified circuit diagram of a motor vibration drive in the prior art. The positive terminal of the motor is connected to power supply 'a', the negative terminal of the motor can be connected to the drain of a switching transistor 'a', the source of switching transistor 'a' is grounded, and the gate of switching transistor 'a' can be connected to the control terminal of a controller. A high-level signal can be applied to the control terminal, thereby turning on switching transistor 'a', grounding the negative terminal of the motor, and thus causing the motor to vibrate. Figure 1 The circuit shown can only adjust the duration of the high level to regulate the vibration duration of the motor, thus providing users with different vibration sensations. However, it cannot provide users with a gentle vibration intensity that varies from strong to weak, making it difficult to meet the vibration needs of users in a sleep scenario.

[0049] Therefore, this embodiment provides a motor drive circuit. The motor drive circuit in this embodiment can drive the motor through a capacitor. For example, the capacitor can be pre-charged by a charging unit. During the capacitor charging process, the vibration switch unit is in the off state. After the capacitor is charged to a preset voltage threshold, the charging unit can stop charging the capacitor, and the vibration switch unit can also be turned on, thereby driving the motor through the capacitor. During the discharge process of the capacitor, the voltage will gradually decrease, thereby causing the voltage at both ends of the motor to gradually decrease as well. This allows the vibration intensity of the motor to gradually change from strong to weak, so as to provide the user with an experience of gradually decreasing vibration intensity from strong to weak, and also realizes the adjustment of the motor vibration intensity.

[0050] Based on this, the embodiments of this application provide a motor drive circuit, referring to... Figure 2 , Figure 2 This is a schematic diagram of the module connection of an embodiment of the motor drive circuit of this application.

[0051] Reference Figure 2 This application provides a motor drive circuit, which includes:

[0052] Motor and controller 100;

[0053] A vibration switch unit 200, the first end of which is connected to the first level output terminal GPIO1 of the controller 100, and the second end of which is connected to the first terminal of the motor.

[0054] A charging unit 300, the first end of which is connected to the second level output terminal GPIO2 of the controller 100;

[0055] Capacitor C, the first end of which is connected to the second end of the charging unit 300, the second end of the motor, and the voltage detection terminal ADC of the controller 100, and the second end of the capacitor C is grounded to GND;

[0056] The controller 100 controls the charging unit 300 to charge the capacitor C, and when the voltage detection terminal ADC detects that the voltage of the capacitor C is greater than a preset voltage threshold, it controls the charging unit 300 to stop charging the capacitor C and controls the vibration switch unit 200 to switch from the off state to the on state so as to drive the motor to vibrate through the capacitor C.

[0057] It should be noted that the motor can be a miniature vibration motor, and the controller 100 can be a microcontroller 100 such as a single-chip microcomputer or DSP. This embodiment does not specifically limit this. The first terminal of the motor is the negative terminal of the motor, and the second terminal of the motor is the positive terminal of the motor.

[0058] The first level output terminal GPIO1 can output a high level or a low level. When the first level output terminal GPIO1 outputs a high level, the vibration switch unit 200 is in the on state. When the first level output terminal GPIO1 outputs a low level, the vibration switch unit 200 is in the off state.

[0059] The charging unit 300 can charge capacitor C. The second-level output terminal GPIO2 can output either a high or low level. When GPIO2 outputs a high level, the charging unit 300 is turned on; when GPIO2 outputs a low level, the charging unit 300 is turned off. When the charging unit 300 is on, it can charge capacitor C; when it is off, it stops charging capacitor C. When the charging unit 300 is on, the vibration switch unit 200 is generally in the off state, thus preventing the charging unit 300 from driving the motor to vibrate while charging capacitor C; this ensures the stability of capacitor C charging and also guarantees the reliability of the circuit.

[0060] The voltage detection terminal ADC of controller 100 can detect the voltage of capacitor C. When capacitor C is directly connected to the voltage detection terminal ADC, the maximum voltage of capacitor C must not exceed the maximum voltage that the voltage detection terminal ADC can detect, thereby avoiding damage to controller 100. The preset voltage threshold can be determined based on actual conditions, and this embodiment does not impose specific limitations on it. When the voltage of capacitor C is greater than the preset voltage threshold, capacitor C can be considered fully charged.

[0061] The controller 100 can output a high level at its second-level output terminal GPIO2 to turn on the charging unit 300, allowing the charging unit 300 to charge the capacitor C. When the voltage of the capacitor C is detected to be greater than a preset voltage threshold, the controller 100 can output a low level at its second-level output terminal GPIO2 to turn off the charging unit 300, thereby stopping the charging unit 300 from charging the capacitor C. The controller 100 can also output a high level at its first-level output terminal GPIO1 to turn on the vibration switch unit 200, thereby allowing the capacitor C to discharge to the motor. This allows the motor to vibrate through the capacitor C, and the vibration intensity of the motor can gradually decrease. The maximum vibration intensity of the motor can be determined by the maximum voltage across the capacitor C; the higher the maximum voltage across the capacitor C, the greater the maximum vibration intensity of the motor.

[0062] The motor drive circuit in this embodiment includes a motor, a controller 100, a vibration switch unit 200, a first terminal of which is connected to the first level output terminal GPIO1 of the controller 100, and a second terminal of which is connected to the first terminal of the motor; a charging unit 300, the first terminal of which is connected to the second level output terminal GPIO2 of the controller 100; and a capacitor C, the first terminal of which is connected to the second terminal of the charging unit 300, the second terminal of the motor, and the voltage detection terminal ADC of the controller 100. The controller 100 controls the charging unit 300 to charge the capacitor C, and when the voltage detection terminal ADC detects that the voltage of the capacitor C is greater than a preset voltage threshold, it controls the charging unit 300 to stop charging the capacitor C and controls the vibration switch unit 200 to switch from a cutoff state to a conduction state, so as to drive the motor to vibrate through the capacitor C.

[0063] Since the controller 100 is connected to the charging unit 300, and the charging unit 300 is connected to the capacitor C, the controller 100 can control the charging unit 300 to charge the capacitor C. When the capacitor C is charged to a voltage greater than a preset threshold, the controller 100 can control the charging unit 300 to stop charging the capacitor C. At the same time, the controller 100 can also control the vibration switch unit 200 to switch from the off state to the on state, thereby causing the capacitor C to discharge. The motor can then be driven to vibrate through the capacitor C. After the capacitor C discharges, the voltage will gradually decrease, thereby causing the vibration intensity of the motor to gradually decrease from strong to weak, achieving a gradually weakening vibration sensation, and thus realizing the adjustment of the vibration intensity of the motor.

[0064] Furthermore, in one embodiment, please refer to Figure 3 , Figure 3 This is a circuit diagram of the charging unit 300 in the motor drive circuit of this application. The charging unit 300 includes:

[0065] The first resistor R1, the first end of the first resistor R1 serves as the first end of the charging unit 300, and is connected to the second level output terminal GPIO2;

[0066] The second resistor R2 has its first end connected to the second end of the first resistor R1.

[0067] The first switch Q1 has its first end connected to the second end of the first resistor R1 and the first end of the second resistor R2. The second end of the first switch Q1 serves as the second end of the charging unit 300. The second end of the first switch Q1 is also connected to the first end of the capacitor C and the second end of the motor.

[0068] Power supply 310, the output terminal d_out of which is connected to the third terminal of the first switching transistor Q1.

[0069] It should be noted that the first switching transistor Q1 can be a field-effect transistor, for example, a PMOS transistor, and the power supply 310 can be an adjustable power supply 310. The first terminal of the first switching transistor Q1 can be the gate, the second terminal of the first switching transistor Q1 can be the source, and the third terminal of the first switching transistor Q1 can be the drain.

[0070] When the second-level output terminal GPIO2 outputs a high level, the first switch Q1 is turned on, causing the charging unit 300 to conduct. When the charging unit 300 is turned on, the power supply 310 can charge the capacitor C through the first switch Q1. When the second-level output terminal GPIO2 outputs a low level, the first switch Q1 is turned off, causing the charging unit 300 to be turned off, and the power supply 310 will not charge the capacitor C.

[0071] In this embodiment, a charging unit 300 is provided in the motor drive circuit, which enables the capacitor C to be charged so that the capacitor C can drive the motor to vibrate after each charging, thereby enabling the motor to vibrate periodically from strong to weak.

[0072] In one feasible embodiment, please refer to Figure 4 The charging unit 300 also includes a second switching transistor Q2 disposed between the first end of the first resistor R1 and the second level output terminal GPIO2;

[0073] The first terminal of the second switch Q2 is connected to the second level output terminal GPIO2, the second terminal of the second switch Q2 is grounded, and the third terminal of the second switch Q2 is connected to the first terminal of the first resistor R1.

[0074] It should be noted that the second switch Q2 can be a transistor, specifically an NPN transistor. The first terminal of the second switch Q2 can be the base, the second terminal can be the emitter, and the third terminal can be the collector. When the second-level output terminal GPIO2 outputs a high level, it turns on the second switch Q2, which in turn turns on the first switch Q1. When the second-level output terminal GPIO2 outputs a low level, it turns off the second switch Q2, which in turn turns off the first switch Q1.

[0075] The first terminal of the second switch Q2 can be used as the first terminal of the charging unit 300. The inclusion of the second switch Q2 in the charging unit 300 makes the charging unit 300 more stable and prevents it from mis-conducting when the controller 100 is powered on or reset. For example, when the controller 100 is powered on or reset, the output level of the second level output terminal GPIO2 is unstable and may fluctuate between high and low levels. Without the second switch Q2, the charging unit 300 might mis-conduct during power-on or reset. However, in this embodiment, with the second switch Q2, since the high level changes instantaneously when the controller 100 is powered on or reset, the second switch Q2 will not conduct due to the unstable output level of the second level output terminal GPIO2. Because the high level duration is insufficient, the second switch Q2 will not conduct. When the second switch Q2 is not conducting, the first switch Q1 will also not conduct, and the charging unit 300 will not charge the capacitor C, thus improving the reliability of the circuit.

[0076] In one feasible embodiment, please refer to Figure 5 A buffer resistor Rh is also provided between the second end of the motor and the second end of the first switching transistor Q1.

[0077] When the first switch Q1 is turned on, the buffer resistor Rh in this embodiment can limit the charging current of capacitor C. If there is no buffer resistor Rh, then the charging unit 300 only has the on-resistance of the first switch Q1. The on-resistance of the switch is generally in the milliohm range, which will make the charging speed of capacitor C very fast. When it is necessary to control the voltage value of capacitor C after charging, the voltage detection terminal ADC of controller 100 collects the voltage of capacitor C to detect whether the target value has been reached (the target value can be a preset voltage threshold), and then controls capacitor C to stop charging. However, the time for voltage detection and controlling capacitor C to stop charging may be long. Therefore, there may be cases where the voltage value of capacitor C has exceeded the target value, but controller 100 detects that the voltage value of capacitor C has not reached the target value. This will lead to the inability to accurately control the charging voltage of capacitor C, and thus the inability to control the vibration intensity of motor.

[0078] Therefore, in this embodiment, a buffer resistor Rh is provided between the second terminal of the motor and the second terminal of the first switching transistor Q1. The charging current of the capacitor C can be limited by the buffer resistor Rh, thereby reducing the charging speed of the capacitor C and facilitating accurate control of the charging voltage of the capacitor C, so as to accurately control the maximum vibration intensity of the motor.

[0079] In one feasible embodiment, please refer to Figure 6 The voltage regulation terminal dt of the power supply is connected to the voltage control terminal dk of the controller.

[0080] It should be noted that the power supply 310 can be an adjustable power supply 310, and the voltage adjustment terminal dt of the power supply can be connected to the voltage control terminal dk of the controller, so that the controller 100 can adjust the voltage of the power supply 310.

[0081] The maximum vibration of the motor is determined by the maximum voltage across capacitor C. The maximum voltage across capacitor C is related to the voltage of power supply 310. The higher the VDD voltage, the higher the voltage that capacitor C can be charged to. Therefore, power supply 310 can be an adjustable power supply, and the voltage of power supply 310 can be controlled by controller 100.

[0082] This embodiment allows for adjustment of the voltage of the power supply 310, thereby facilitating the adjustment of the maximum voltage that the capacitor C can be charged to, and thus adjusting the maximum intensity of the motor vibration.

[0083] In another feasible embodiment, please refer to Figure 7 The vibration switch unit 200 includes:

[0084] The third resistor R3, the first end of which serves as the first end of the vibration switch unit 200;

[0085] The fourth resistor R4 has its first end connected to the second end of the third resistor R3, and its second end grounded.

[0086] The third switch Q3 has its first end connected to the second end of the third resistor R3 and the first end of the fourth resistor R4. The second end of the third switch Q3 serves as the second end of the vibration switch unit 200. The second end of the third switch Q3 is connected to the first end of the motor. The third end of the third switch Q3 is connected to the second end of the fourth resistor R4.

[0087] It should be noted that when the first-level output terminal GPIO1 outputs a high level, the third switch Q3 is turned on, causing the vibration switch unit 200 to conduct. When the vibration switch unit 200 is turned on, the first terminal of the motor can be grounded through the third switch unit Q3. When the first-level output terminal GPIO1 outputs a low level, the third switch unit Q3 is turned off, causing the vibration switch unit 200 to turn off. When the vibration switch unit 200 is turned off, the first terminal of the motor is open, and the motor will not vibrate.

[0088] In this embodiment, when the charging unit 300 is turned on, the third switch Q3 is turned off, which in turn causes the vibration switch unit 200 to also be turned off, thus ensuring stable charging of the capacitor C. When the vibration switch unit 200 is turned on, the charging unit 300 is turned off, thus preventing the charging unit 300 from charging the capacitor C while the motor is vibrating, avoiding abnormal motor vibration, and preventing the motor from failing to achieve a gradual decrease in vibration intensity. The first terminal of the third switch Q3 is the gate, the second terminal of the third switch Q3 is the drain, and the third terminal of the third switch Q3 is the source.

[0089] In one feasible embodiment, please refer to Figure 8 The motor drive circuit further includes a voltage divider unit, which includes:

[0090] The first voltage divider resistor R5 has its first terminal connected to the voltage detection terminal ADC, and its second terminal connected to the first terminal of the capacitor C.

[0091] The second voltage divider resistor R6 has its first end connected to the second end of the capacitor C, and its second end connected to the voltage detection terminal ADC and the first end of the first voltage divider resistor R5.

[0092] It should be noted that the first voltage divider resistor R5 is positioned between the first terminal of the capacitor C and the voltage detection terminal ADC. The voltage divider unit can scale the voltage of the capacitor C to within the range of the voltage detection terminal ADC of the controller 100, thereby preventing the voltage detected by the voltage detection terminal ADC from exceeding its maximum detectable voltage. The resistance values ​​of the first voltage divider resistor R5 and the second voltage divider resistor R6 can be determined based on actual conditions; this embodiment does not impose specific limitations on this. After the voltage divider unit is connected in parallel across the capacitor C, the controller 100 can deduce the true voltage of the capacitor C after the voltage detection terminal ADC detects the voltage, thus not affecting the accuracy of the voltage detection of the capacitor C.

[0093] In one feasible embodiment, please refer to Figure 9 The motor drive circuit further includes a diode D1, the anode of which is connected to the first terminal of the motor, and the cathode of which is connected to the second terminal of the motor.

[0094] It should be noted that if diode D1 is not used across the motor, due to the equivalent inductance of the motor oscillator, a back electromotive force (EMF) will be generated in the oscillator when the third switch Q3 is turned off. This back EMF will be applied to the drain of the third switch Q3, resulting in a very high instantaneous voltage, which could potentially cause the third switch Q3 to break down due to overvoltage. With diode D1, the back EMF returns to the oscillator through diode D1 and is absorbed, thus preventing the third switch Q3 from breaking down. This improves the reliability of the motor drive circuit.

[0095] In a feasible embodiment, the first switch Q1 in the charging unit 300 and the third switch Q3 in the vibration switch unit 200 are both field-effect transistors, and the second switch Q2 in the charging unit 300 is a transistor.

[0096] It should be noted that the first switch Q1 can be a PMOS, the third switch Q3 can be an NMOS, and the second switch Q2 can be an NPN transistor. Both PMOS and NMOS are field-effect transistors.

[0097] To better understand this embodiment, please refer to Figure 9 The process of driving the motor vibration in this embodiment is briefly described below:

[0098] The controller outputs a high level at its second-level output, turning on Q2 and Q1, charging capacitor C. The controller then detects the voltage at the ADC to determine if capacitor C is fully charged (e.g., whether the voltage across capacitor C exceeds a preset threshold). Once capacitor C is fully charged, the controller pulls GPIO2 low, turning off Q2 and Q1, stopping capacitor C's charging. The controller then pulls GPIO1 high, turning on Q3, discharging capacitor C to the motor, causing it to vibrate. As the voltage across capacitor C gradually decreases, the motor's vibration gradually weakens until it stops, creating a high-to-low vibration pattern. The discharge time of capacitor C affects the duration of motor vibration; it can be assumed that the discharge duration of capacitor C is the same as the duration of motor vibration.

[0099] The maximum vibration of the motor is determined by the maximum voltage across capacitor C, which is related to the power supply voltage. For example, when the required maximum vibration of the motor is M1, and the voltage corresponding to M1 is V1, the highest voltage across capacitor C1 is V1. The controller can pull GPIO2 high, turn on Q2 and Q1, and the power supply charges the capacitor through the buffer resistor Rh. At the same time, the controller collects the voltage at the ADC and detects whether the capacitor voltage has reached the target value V1. When the voltage across capacitor C reaches V1, the controller immediately pulls GPIO2 low, turns off Q2 and Q1, and capacitor C stops charging.

[0100] In addition, in this embodiment, the interval between the moment when the first switch Q1 turns on and the moment when the third switch Q3 turns on can be two vibration cycles of the motor, and the first switch Q1 and the third switch Q3 will not turn on at the same time.

[0101] Based on the above embodiments of the motor drive circuit, this application also provides an intelligent massage device, which includes the above-described motor drive circuit.

[0102] It is worth noting that the intelligent massage device can be an eye massager or a massager containing a miniature vibration motor; this embodiment does not specifically limit it. The intelligent massage device can automatically activate sleep mode when it detects that the current time has reached the preset sleep activation time and the device is powered on. The vibration sensation in sleep mode is a gradual decrease in intensity, achieved by the aforementioned motor drive circuit. In other embodiments, the maximum vibration sensation of the motor can be gradually reduced based on the duration of sleep mode activation. For example, there may be a mapping relationship between a preset activation duration and a preset maximum vibration sensation. The maximum vibration sensation corresponding to the current sleep mode activation duration of the intelligent massage device can be found in the mapping relationship. A preset voltage threshold can be adjusted based on the target maximum vibration sensation. When the target maximum vibration sensation exceeds the preset voltage threshold, the maximum output voltage of the power supply can be adjusted so that the intelligent massage device can achieve the target maximum vibration sensation. The longer the activation duration, the weaker the maximum vibration sensation, thus providing a better sleep experience for the user.

[0103] The intelligent massage device provided in this application offers a novel motor drive circuit to adjust the vibration intensity of the motor. Compared to the prior art, the beneficial effects of the device provided in this application are the same as those of the motor drive circuit provided in the above embodiments, and will not be elaborated upon here.

[0104] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A motor drive circuit, characterized in that, The motor drive circuit includes: Motors and controllers; A vibration switch unit, wherein the first end of the vibration switch unit is connected to the first level output terminal of the controller, and the second end of the vibration switch unit is connected to the first end of the motor; A charging unit, wherein the first end of the charging unit is connected to the second level output terminal of the controller; A capacitor, the first end of which is connected to the second end of the charging unit, the second end of the motor, and the voltage detection terminal of the controller, and the second end of the capacitor is grounded; The controller controls the charging unit to charge the capacitor, and when the voltage of the capacitor is detected to be greater than a preset voltage threshold at the voltage detection terminal, it controls the charging unit to stop charging the capacitor and controls the vibration switch unit to switch from the off state to the on state so as to drive the motor to vibrate through the capacitor.

2. The motor drive circuit as described in claim 1, characterized in that, The charging unit includes: A first resistor, the first end of which serves as the first end of the charging unit and is connected to the second level output terminal; A second resistor, the first end of which is connected to the second end of the first resistor; A first switching transistor, the first end of which is connected to the second end of the first resistor and the first end of the second resistor, the second end of which serves as the second end of the charging unit, and the second end of which is connected to the first end of the capacitor and the second end of the motor; A power supply, the output terminal of which is connected to the third terminal of the first switching transistor.

3. The motor drive circuit as described in claim 2, characterized in that, The charging unit further includes a second switching transistor disposed between the first end of the first resistor and the second level output end; The first terminal of the second switch is connected to the second level output terminal, the second terminal of the second switch is grounded, and the third terminal of the second switch is connected to the first terminal of the first resistor.

4. The motor drive circuit as described in claim 2, characterized in that, A buffer resistor is also provided between the second end of the motor and the second end of the first switching transistor.

5. The motor drive circuit as described in claim 2, characterized in that, The voltage regulation terminal of the power supply is connected to the voltage control terminal of the controller.

6. The motor drive circuit as described in claim 1, characterized in that, The vibration switch unit includes: The third resistor, the first end of which serves as the first end of the vibration switch unit; A fourth resistor, the first end of which is connected to the second end of the third resistor, and the second end of the fourth resistor is grounded; The third switch transistor has its first end connected to the second end of the third resistor and the first end of the fourth resistor. The second end of the third switch transistor serves as the second end of the vibration switch unit. The second end of the third switch transistor is connected to the first end of the motor. The third end of the third switch transistor is connected to the second end of the fourth resistor.

7. The motor drive circuit as described in claim 1, characterized in that, The motor drive circuit further includes a voltage divider unit, which includes: A first voltage divider resistor, the first end of which is connected to the voltage detection terminal, and the second end of which is connected to the first end of the capacitor; The second voltage divider resistor has its first end connected to the second end of the capacitor, and its second end connected to the voltage detection terminal and the first end of the first voltage divider resistor.

8. The motor drive circuit as described in claim 1, characterized in that, The motor drive circuit also includes a diode, the anode of which is connected to a first terminal of the motor, and the cathode of which is connected to a second terminal of the motor.

9. The motor drive circuit according to any one of claims 1 to 8, characterized in that, The first switching transistor in the charging unit and the third switching transistor in the vibration switching unit are both field-effect transistors, while the second switching transistor in the charging unit is a transistor.

10. A smart massage device, characterized in that, The intelligent massage device includes a motor drive circuit as described in any one of claims 1 to 9.