A handheld shaver control device based on a three-axis accelerometer
Through the coordinated control of a three-axis accelerometer and a main controller, an intelligent sleep and wake-up mechanism for the electric shaver is realized, which reduces standby current and extends battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- ZHONGSHAN TULIN ELECTRONIC TECH CO LTD
- Filing Date
- 2025-08-07
- Publication Date
- 2026-06-26
AI Technical Summary
Traditional electric shavers use mechanical switches to control the motor's start and stop, which are prone to accidental activation, causing the motor to start unexpectedly when not in use. They also cannot automatically recognize the usage status, resulting in wasted battery power. Accelerometer solutions cannot distinguish the device's orientation, and wake-up sensitivity and sleep delay cannot be coordinated, leading to high standby power consumption.
It adopts a three-axis accelerometer combined with a main controller, realizes hand-raise wake-up through AOI1 interrupt, realizes static sleep through AOI2 interrupt, and uses Z-axis gravity component to detect hand-held status, combined with tool head contact switch to realize dual-condition start motor control, and dynamically manages power consumption.
It achieves a standby current of less than 200μA, extending battery life and solving the problems of accidental start-up and high standby power consumption.
Smart Images

Figure CN224407677U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of electric shaver control technology, specifically a handheld shaver control device based on a triaxial accelerometer. Background Technology
[0002] Electric shavers eliminate the need for frequent blade replacements; simply turn them on to use. They also support both wet and dry shaving, making them suitable for various scenarios. Compared to manual shavers, which require shaving cream and frequent blade replacements, electric shavers are more time-saving and labor-saving. The shaver head keeps a distance from the skin, avoiding the risk of cuts from direct contact, making them especially suitable for people with sensitive or acne-prone skin. Manual shavers require skillful operation, and even slight carelessness can easily cause skin damage. Therefore, electric shavers are highly favored by consumers.
[0003] However, traditional electric shaver controls have the following drawbacks:
[0004] (1) Traditional electric shavers generally use mechanical switches to control the motor to start and stop. Mechanical switches are easy to be accidentally touched, which can cause the motor to start unexpectedly when not in use. They cannot automatically recognize the usage status, resulting in battery energy waste. They also lack an intelligent sleep mechanism and consume a lot of power when left on standby for a long time.
[0005] (2) Although traditional electric shavers use accelerometers, they cannot distinguish the orientation of the device, whether it is handheld or placed. The wake-up sensitivity and sleep delay cannot be adjusted in coordination, and the problem of coordinated control between the head contact switch and the handheld state has not been solved. Utility Model Content
[0006] The purpose of this invention is to provide a handheld shaver control device based on a three-axis accelerometer, in order to solve the problems mentioned in the background art. Traditional electric shavers generally use mechanical switches to control the motor start and stop. Mechanical switches are prone to accidental activation, causing the motor to start unexpectedly when not in use. They cannot automatically identify the usage status, resulting in wasted battery energy. They also lack an intelligent sleep mechanism, leading to high power consumption during long standby periods. Although some traditional electric shavers use accelerometers, they cannot distinguish the orientation of the device, whether it is held or placed. The wake-up sensitivity and sleep delay cannot be adjusted in coordination, and the problem of coordinated control between the head contact switch and the handheld state is not solved.
[0007] To achieve the above objectives, this utility model provides the following technical solution: a handheld shaver control device based on a triaxial accelerometer, comprising a triaxial accelerometer, a main controller, a motor drive circuit, a lithium battery management circuit, and a blade contact switch. The surface of the triaxial accelerometer is provided with interrupt signal lines INT1 and INT2 and an I2C interface. The surface of the main controller is provided with PA5 and PA6. The triaxial accelerometer is connected to the main controller via the I2C interface. The blade contact switch is connected to the main controller. The main controller is connected to the motor drive circuit. The triaxial accelerometer, the main controller, the motor drive circuit, and the blade contact switch are all electrically connected to the lithium battery management circuit.
[0008] Preferably, the interrupt signal line INT1 is connected to PA5, and the interrupt signal line INT2 is connected to PA6.
[0009] Preferably, the main controller has a main controller PA12 inside, and the motor drive circuit has a MOS transistor gate, which is connected to the main controller PA12.
[0010] Preferably, a main control PA0 is provided on one side of the main controller, and the main control PA0 is connected to the cutter head contact switch.
[0011] Preferably, the surface of the lithium battery management circuit is provided with a Type-C charging interface.
[0012] Preferably, the motor drive circuit includes resistors R1 and R2 and a metal-oxide-semiconductor field-effect transistor (MOSFET). One end of the MOSFET is connected to one end of resistor R1, and the other end of resistor R1 is connected to one end of resistor R2. The other ends of resistor R2 and the other ends of the MOSFET are both grounded.
[0013] Preferably, the resistance of resistor R1 is 1KΩ and the resistance of resistor R2 is 10KΩ.
[0014] Compared with the prior art, the beneficial effects of this utility model are as follows: the AOI1 interrupt of the SC7A20E accelerometer realizes the hand-raise wake-up function, the AOI2 interrupt realizes the static sleep function, and the hand-held state is determined by the Z-axis gravity component detection. The main controller PY32F002 coordinates the accelerometer interrupt signal and the shaver head contact switch to realize dual-condition start motor control. It innovatively proposes a dynamic power consumption management strategy, which turns off the accelerometer output in the sleep state, and reduces the standby current of the whole machine to below 200μA. This solves the problems of accidental start and high standby power consumption of traditional shavers, and greatly extends the battery life. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the architecture of this utility model;
[0016] Figure 2 This is a circuit diagram of the motor drive circuit of this utility model;
[0017] Figure 3 This is a flowchart of Embodiment 1 of the present utility model;
[0018] Figure 4 This is a flowchart of Embodiment 2 of the present invention.
[0019] In the diagram: 1. Triaxial accelerometer; 101. Interrupt signal line INT1; 102. Interrupt signal line INT2; 103. I2C interface; 2. Main controller; 21. PA5; 22. PA6; 3. Motor drive circuit; 4. Lithium battery management circuit; 5. Cutter head contact switch. Detailed Implementation
[0020] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention.
[0021] Please see Figure 1-4 This utility model provides a handheld shaver control device based on a triaxial accelerometer, including a triaxial accelerometer 1, a main controller 2, a motor drive circuit 3, a lithium battery management circuit 4, and a blade contact switch 5. The surface of the triaxial accelerometer 1 is provided with interrupt signal lines INT1101 and INT2102 and an I2C interface 103. The surface of the main controller 2 is provided with PA521 and PA622. The triaxial accelerometer 1 is connected to the main controller 2 through the I2C interface 103. The blade contact switch 5 is connected to the main controller 2. The main controller 2 is connected to the motor drive circuit 3. The triaxial accelerometer 1, the main controller 2, the motor drive circuit 3, and the blade contact switch 5 are all electrically connected to the lithium battery management circuit 4.
[0022] Interrupt signal line INT1101 is connected to PA521, and interrupt signal line INT2102 is connected to PA622.
[0023] The main controller 2 has a main controller PA12 inside, and the motor drive circuit 3 has a MOS transistor gate, which is connected to the main controller PA12.
[0024] A main control PA0 is provided on one side of the main controller 2, and the main control PA0 is connected to the cutter head contact switch 5.
[0025] The surface of the lithium battery management circuit 4 is provided with a Type-C charging interface.
[0026] The motor drive circuit 3 includes resistors R1 and R2 and a metal-oxide-semiconductor field-effect transistor (MOSFET). One end of the MOSFET is connected to one end of resistor R1, and the other end of resistor R1 is connected to one end of resistor R2. The other ends of resistor R2 and the other ends of the MOSFET are both grounded.
[0027] The resistance of resistor R1 is 1KΩ, and the resistance of resistor R2 is 10KΩ.
[0028] In this embodiment of the application, the following features are used: a 100nF ceramic capacitor is connected in parallel to VDD / VDDIO inside the triaxial accelerometer 1; a 10kΩ pull-up resistor is connected to the CS pin of the triaxial accelerometer 1 to enable I2C mode; a 1kΩ current-limiting resistor is connected in series to INT1 / INT2 of the triaxial accelerometer 1; Z-axis data is spliced into the 0x2A / 0x2B register; adaptive range conversion ±2g: 0.016g / LSB; a continuous 5-sampling confirmation mechanism; the Type-C charging interface supports 5V / 500mA input; the lithium battery management circuit 4CM1102B prevents overcharging and over-discharging; and the overall current is <200μA in sleep mode.
[0029] Example 1:
[0030] The AOI1 interrupt is used to detect sudden acceleration changes (>0.2g) to wake up the hand by raising it. The AOI2 interrupt is used to detect three-axis accelerations of <0.1g for 250ms while the hand is stationary to enter sleep mode. The Z-axis gravity component detection range is 0.7g-1.3g to determine the handheld state.
[0031] Example 2:
[0032] In sleep mode, the accelerometer data output is turned off. After the wake-up interrupt is triggered, the system is restored within 10ms. In handheld mode, the motor is started by dual verification of the cutter head contact switch.
[0033] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A handheld shaver control device based on a triaxial accelerometer, comprising a triaxial accelerometer (1), a main controller (2), a motor drive circuit (3), a lithium battery management circuit (4), and a shaver head contact switch (5), characterized in that: The surface of the triaxial accelerometer (1) is provided with interrupt signal line INT1 (101), interrupt signal line INT2 (102) and I2C interface (103). The surface of the main controller (2) is provided with PA5 (21) and PA6 (22). The triaxial accelerometer (1) is connected to the main controller (2) through the I2C interface (103). The blade contact switch (5) is connected to the main controller (2). The main controller (2) is connected to the motor drive circuit (3). The triaxial accelerometer (1), the main controller (2), the motor drive circuit (3) and the blade contact switch (5) are all electrically connected to the lithium battery management circuit (4).
2. The handheld shaver control device based on a triaxial accelerometer according to claim 1, characterized in that: The interrupt signal line INT1 (101) is connected to PA5 (21), and the interrupt signal line INT2 (102) is connected to PA6 (22).
3. The handheld shaver control device based on a triaxial accelerometer according to claim 1, characterized in that: The main controller (2) has a main controller PA12 inside, and the motor drive circuit (3) has a MOS transistor gate inside, which is connected to the main controller PA12.
4. A handheld shaver control device based on a triaxial accelerometer according to claim 1, characterized in that: The main controller (2) has a main controller PA0 on one side, and the main controller PA0 is connected to the cutter head contact switch (5).
5. A handheld shaver control device based on a triaxial accelerometer according to claim 1, characterized in that: The surface of the lithium battery management circuit (4) is provided with a Type-C charging interface.
6. A handheld shaver control device based on a triaxial accelerometer according to claim 1, characterized in that: The motor drive circuit (3) includes resistors R1 and R2 and a metal-oxide-semiconductor field-effect transistor (MOSFET). One end of the MOSFET is connected to one end of resistor R1, and the other end of resistor R1 is connected to one end of resistor R2. The other end of resistor R2 and the other end of the MOSFET are both grounded.
7. A handheld shaver control device based on a triaxial accelerometer according to claim 6, characterized in that: The resistance of resistor R1 is 1KΩ, and the resistance of resistor R2 is 10KΩ.