Electronic pen and electronic pen control method
By using a combination of drive parts, transmission parts and controllers in the electronic pen, combined with an acceleration sensor to detect drop scenes, the extension and retraction control of the pen tip is achieved, and the function loss of existing electronic pen tips is solved in the case of pressure and drop, and the protection effect and reliability are improved.
Patent Information
- Application Number
- CN202510370677.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-01
AI Technical Summary
When the tip of the existing electronic pen is under great pressure, the sensitivity of the pen is reduced or loses its function, and it is prone to damage the tip due to fall, and lacks an effective protection mechanism.
An electronic pen is designed, using a combination of a drive member, a transmission member and a controller. The drive member is controlled in different modes by the controller, so that the pen tip can extend or retract. The acceleration sensor is used to detect the acceleration of the electronic pen. When a drop scene is detected, the controller is triggered to enter the second mode and retract the pen tip to protect it.
It effectively reduces the risk of loss of sensitivity of the pen tip when it is under high pressure, and improves the protection effect of the pen tip, reduces the probability of the pen tip being damaged due to fall, and enhances the reliability and service life of the electronic pen.
Smart Images

Figure CN120233892A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of terminals, and particularly relates to an electronic pen and an electronic pen control method. Background Art
[0002] With the progress and development of technology, paperless office and study have gradually found more and more extensive applications, and the electronic pen has become an important interaction tool in people's work and study.
[0003] In the prior art, the tip of the electronic pen can sense and detect the screen of the electronic device and generate interactions, thereby enabling the writing mode.
[0004] However, when the tip is under great pressure, it is easy to affect the sensitivity of the tip, and even lose its function. For example, when the electronic pen drops and the tip is subjected to a large impact, the tip is easily damaged, resulting in the electronic pen being unable to be used normally and unable to effectively protect the tip. Summary of the Invention
[0005] In view of the above problems, the present invention is proposed to provide an electronic pen and an electronic pen control method that overcome the above problems or at least partially solve the above problems.
[0006] To solve the above technical problems, the present application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides an electronic pen, which includes:
[0008] A pen body housing;
[0009] A tip at the end of the pen body housing;
[0010] A driving member, a transmission member, and a controller disposed in the pen body housing, the controller is electrically connected to the driving member, the transmission member is connected to the driving member, and the tip is connected to the transmission member;
[0011] The controller is configured to control the driving member to drive the transmission member to drive the tip to extend out of the pen body housing in a first mode, and control the driving member to drive the transmission member to drive the tip to retract into the pen body housing in a second mode;
[0012] Wherein, the first mode includes: a usage scenario; the second mode includes a dropping scenario and an idle scenario.
[0013] Optionally, the electronic pen further includes an acceleration sensor disposed in the pen body housing, the acceleration sensor is electrically connected to the controller, and the acceleration sensor is used to detect the acceleration of the electronic pen;
[0014] The controller is configured to determine that the electronic pen is in a falling scenario when the acceleration of the electronic pen obtained is greater than a preset threshold, thereby triggering the control of the controller in the second mode;
[0015] Wherein, the preset threshold is greater than or equal to the acceleration due to gravity.
[0016] Optionally, the electronic pen further includes an acceleration sensor disposed in the pen body housing, the acceleration sensor is electrically connected to the controller, and the acceleration sensor detects the acceleration of the electronic pen;
[0017] The controller is further configured to obtain the connection state between the electronic pen and the electronic device;
[0018] The controller is configured to determine that the electronic pen is in the idle scenario when the electronic pen is in a connected state, the acceleration sensor is in a first state where no acceleration is detected, and the duration of the connected state and the first state is greater than or equal to a first preset time, or when the controller determines that the electronic pen is in a disconnected state and the duration of the disconnected state is greater than or equal to a second preset time, thereby triggering the control of the controller in the second mode.
[0019] Optionally, the electronic pen further includes an acceleration sensor disposed in the pen body housing, the acceleration sensor is electrically connected to the controller, and the acceleration sensor is used to detect the acceleration of the electronic pen;
[0020] The controller is further configured to obtain the connection state between the electronic pen and the electronic device;
[0021] When the controller is configured to determine that the electronic pen is in a connected state and the acceleration of the electronic pen is less than the preset threshold, it is determined that the electronic pen is in the usage scenario, thereby triggering the control of the controller in the first mode;
[0022] Wherein, the preset threshold is greater than or equal to the acceleration due to gravity.
[0023] Optionally, in the falling scenario of the second mode, the driving member has a first rotational speed, and in the idle scenario of the second mode, the driving member has a second rotational speed;
[0024] Wherein, the first rotational speed is greater than the second rotational speed.
[0025] Optionally, the nib includes a tip portion and a connecting rod portion connected to each other, the transmission member is a cylindrical structure, and a spiral groove is circumferentially provided on the surface of the transmission member along the axial direction of the transmission member, and the transmission member is sleeved on the connecting rod portion;
[0026] The connecting rod part is provided with a first limiting protrusion, and the first limiting protrusion is located in the spiral groove;
[0027] During the process that the driving member drives the transmission member to drive the pen tip to move, the first limiting protrusion moves in the spiral groove.
[0028] Optionally, along the axial direction of the transmission member, the spiral groove includes a relatively arranged first end and a second end, and the first end is close to the tip part;
[0029] When the first limiting protrusion is at the first end of the spiral groove, the pen tip extends out of the pen body housing;
[0030] When the first limiting protrusion is at the second end of the spiral groove, the pen tip retracts into the pen body housing.
[0031] Optionally, the pen tip includes a tip part and a connecting rod part that are connected to each other;
[0032] Along the axial direction of the pen body housing, a limiting groove extending along the axial direction of the pen body housing is provided on the inner wall of the pen body housing. The connecting rod part is provided with a second limiting protrusion, and the second limiting protrusion is located in the limiting groove;
[0033] During the process that the driving member drives the transmission member to drive the pen tip to move, the second limiting protrusion moves in the limiting groove to limit the linear motion of the connecting rod part.
[0034] Optionally, the driving member is a reduction motor, the output end of the reduction motor is connected to one end of the transmission member away from the pen tip, and the reduction motor, the transmission member and the pen tip are coaxially arranged;
[0035] The output end rotates around the axial direction of the transmission member, driving the transmission member to rotate in the pen body housing.
[0036] Optionally, the controller is further configured to judge whether the pen tip is in a retracted state or an extended state;
[0037] In the dropping scenario or the idle scenario, if the controller judges that the pen tip is in the retracted state, the controller stops controlling the driving member. If the controller judges that the pen tip is in the extended state, the controller controls the driving member to start, and the driving member drives the transmission member to drive the pen tip to retract into the pen body housing;
[0038] In the described usage scenario, if the controller determines that the pen tip is in the extended state, the controller stops controlling the driving member. If the controller determines that the pen tip is in the retracted state, the controller controls the driving member to start, and the driving member drives the transmission member to drive the pen tip to extend out of the pen body housing.
[0039] In a second aspect, an embodiment of the present application provides an electronic pen control method, which is applied to the electronic pen described above. The method includes:
[0040] Obtain the working parameters of the electronic pen, where the working parameters include at least one of acceleration, connection status, and duration;
[0041] Determine the current scenario where the electronic pen is located according to the working parameters of the electronic pen;
[0042] When the scenario is a usage scenario, control the driving member of the electronic pen to drive the transmission member to drive the pen tip to extend out of the pen body housing;
[0043] When the scenario is a drop scenario or an idle scenario, control the driving member of the electronic pen to drive the transmission member to drive the pen tip to retract into the pen body housing.
[0044] In an embodiment of the present application, the electronic pen includes: a pen body housing; a pen tip at the end of the pen body housing; a driving member, a transmission member, and a controller disposed in the pen body housing. The controller is electrically connected to the driving member, the transmission member is connected to the driving member, and the pen tip is connected to the transmission member. The controller is configured to control the driving member to drive the transmission member to drive the pen tip to extend out of the pen body housing in a first mode, and control the driving member to drive the transmission member to drive the pen tip to retract into the pen body housing in a second mode. Among them, the first mode includes: a usage scenario; the second mode includes a drop scenario and an idle scenario. In this way, the controller of the electronic pen is configured with different control methods in the first mode and the second mode. In the usage scenario where the electronic pen is needed, the controller can control the driving member to start, and the driving member drives the transmission member to drive the pen tip to extend out of the pen body housing for the user to use. In scenarios where the electronic pen is not needed, or when the electronic pen is in a drop scenario due to being collided and the pen tip of the electronic pen needs to be protected, the controller can control the driving member to start, and the driving member drives the transmission member to drive the pen tip to retract into the pen body housing, achieving a relatively effective and reliable protection for the pen tip. It reduces the risk that the use sensitivity of the pen tip is affected or even loses its function when the pen tip is under greater pressure, and also reduces the probability that the pen tip of the electronic pen is subjected to a greater impact when the electronic pen falls, improves the protection effect on the pen tip, reduces the risk of its damage, enhances the reliability of the electronic pen, and extends its service life.
[0045] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present invention. Description of the Drawings
[0046] The above and / or additional aspects and advantages of the present invention will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0047] Figure 1 is a schematic structural diagram of an electronic pen according to an embodiment of the present application;
[0048] Figure 2 is one of the partial structural diagrams of an electronic pen according to an embodiment of the present application;
[0049] Figure 3 is another partial structural diagram of an electronic pen according to an embodiment of the present application;
[0050] Figure 4 is yet another partial structural diagram of an electronic pen according to an embodiment of the present application;
[0051] Figure 5 is one of the logical control flowcharts of an electronic pen according to an embodiment of the present application;
[0052] Figure 6 is another logical control flowchart of an electronic pen according to an embodiment of the present application;
[0053] Figure 7 is the step flowchart of a method for controlling an electronic pen according to an embodiment of the present application.
[0054] Reference numerals: 10 - pen body housing; 20 - pen tip; 30 - transmission member; 40 - driving member; 50 - acceleration sensor; 21 - connecting rod portion; 24 - tip portion; 22 - first limiting protrusion; 31 - spiral groove; 32 - first end; 33 - second end; 23 - second limiting protrusion; 11 - limiting groove. Detailed Description of the Embodiments
[0055] Embodiments of the present invention will be described in detail below. Examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and should not be construed as limiting the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts fall within the scope of protection of the present application.
[0056] The terms "first", "second" in the description and claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0057] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention.
[0058] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "mounted", "connected", "coupled" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0059] Referring to Figures 1 to 4 , a schematic structural diagram of an electronic pen according to an embodiment of the present application is shown. The electronic pen may specifically include: a pen body housing 10; a pen tip 20 at the end of the pen body housing 10; a driving member 40, a transmission member 30 and a controller disposed in the pen body housing 10. The controller is electrically connected to the driving member 40, the transmission member 30 is connected to the driving member 40, and the pen tip 20 is connected to the transmission member 30. The controller is configured to control the driving member 40 to drive the transmission member 30 to drive the pen tip 20 to extend out of the pen body housing 10 in a first mode, and control the driving member 40 to drive the transmission member 30 to drive the pen tip 20 to retract into the pen body housing 10 in a second mode. Wherein, the first mode includes: a usage scenario; the second mode includes a drop scenario and an idle scenario.
[0060] In the embodiments of the present application, the controller of the electronic pen is configured with different control modes in the first mode and the second mode. In the usage scenarios where the electronic pen is needed, the controller can control the driving member 40 to start, and the driving member 40 drives the transmission member 30 to drive the pen tip 20 to extend out of the pen body housing 10 for the user to use. In the scenarios where the electronic pen is not needed, or when the electronic pen is collided and in a falling scenario and it is necessary to protect the pen tip 20 of the electronic pen, the controller can control the driving member 40 to start, and the driving member 40 drives the transmission member 30 to drive the pen tip 20 to retract into the pen body housing 10, achieving a relatively effective and reliable protection for the pen tip 20. It reduces the risk that the use sensitivity of the pen tip 20 is affected or even loses its function when the pen tip 20 is under greater pressure, and also reduces the probability that the pen tip of the electronic pen is subject to a greater impact when the electronic pen falls, improves the protection effect on the pen tip 20, reduces its damage risk, enhances the reliability of the electronic pen, and prolongs its service life.
[0061] For example, in the embodiments of the present application, the controller can be an MCU (Microcontroller Unit), which has a small volume, is convenient for installation, and also has a good control effect and is widely used. In addition, the controller can also be a CPLD (Complex Programmable Logic Device), or an ASIC (Application-Specific Integrated Circuit), or a SoC (System on Chip), or an MPU (Micro Processor Unit), or a CMOS (Complementary Metal-Oxide-Semiconductor), etc. The embodiments of the present application may not limit the specific type of the controller.
[0062] Specifically, in the embodiments of the present application, the pen body housing 10 is the main part of the electronic pen and can be held by the user. The pen body housing 10 is provided with a hollow cavity, which can provide a setting space for structures such as the pen tip 20, the transmission member 30, and the driving member 40.
[0063] In the embodiments of the present application, specifically, the driving member 40 is used to provide a relatively stable and reliable power source and has good control accuracy. The transmission member 30 is respectively connected to the driving member 40 and the pen tip 20 and is used to transmit the power of the driving member 40 to the pen tip 20. For example, the transmission member 30 can rotate within the pen body housing 10. During the rotation process, the relative position between the transmission member 30 and the pen body housing 10 may not change, that is, the transmission member 30 does not generate displacement in the axial direction of the pen body housing 10 and only makes a rotational motion.
[0064] In an embodiment of the present application, the transmission member 30 can drive the pen tip 20 to extend or retract into the pen body housing 10. For example, during the rotation of the transmission member 30, as described above, the transmission member 30 does not generate displacement in the axial direction of the pen body housing 10, but drives the pen tip 20 to slide along the axial direction of the pen body housing 10. The relative movement between the transmission member 30 and the pen tip 20 enables the transmission member 30 to drive the pen tip 20 to perform telescopic movement along the axial direction, realizing the telescopic movement of the pen tip 20 relative to the pen body housing 10.
[0065] Optionally, in an embodiment of the present application, the electronic pen further includes an acceleration sensor 50 disposed in the pen body housing 10. The acceleration sensor 50 is electrically connected to the controller, and the acceleration sensor 50 is used to detect the acceleration of the electronic pen. The controller is configured to determine that the electronic pen is in a falling scenario when the acceleration of the electronic pen acquired is greater than a preset threshold, thereby triggering the control of the controller in the second mode. Wherein, the preset threshold is greater than or equal to the acceleration due to gravity. In this way, the acceleration of the electronic pen is detected by the acceleration sensor 50 to determine whether the scenario where the electronic pen is located is a falling scenario. If it is detected that the acceleration of the electronic pen is greater than the preset threshold, that is, the acceleration of the electronic pen is greater than the acceleration due to gravity, it can be determined that the electronic pen is in a falling scenario, and then the controller is triggered to start the control strategy of the second mode, controlling the driving member 40 to drive the transmission member 30, so that the transmission member 30 drives the pen tip 20 to retract into the pen body housing 10, timely protecting the pen tip 20 and preventing the pen tip 20 from being damaged by impact during a fall.
[0066] For example, in an embodiment of the present application, when the electronic pen is accidentally touched and falls from a height, the electronic pen performs a free-fall motion. At this time, the acceleration sensor 50 detects that the acceleration of the electronic pen is equal to the acceleration due to gravity G, that is, 9.8 m / s 2 . In another embodiment of the present application, if the electronic pen is accidentally thrown out under the action of a force, at this time, the acceleration sensor 50 detects that the acceleration of the electronic pen is greater than the acceleration due to gravity G, such as 5G (49 m / s 2 ), 10G (98 m / s 2 ), 20G (196 m / s 2 ), etc. In the case where the electronic pen is thrown out, the acceleration of the electronic pen is positively correlated with the force applied to the electronic pen. For example, when the acceleration sensor 50 detects the acceleration of the electronic pen, a step signal is generated, and the controller receives the step signal and is activated, thereby triggering the extension or retraction of the pen tip 20.
[0067] In an embodiment of the present application, if the acceleration sensor 50 detects that the acceleration of the electronic pen is less than a preset threshold, that is, when the acceleration of the electronic pen is less than the acceleration due to gravity, it can be determined that the electronic pen is not in a falling scenario and may be in a normal use or transportation scenario. Then, the controller will not activate the control strategy of the second mode.
[0068] Optionally, in an embodiment of the present application, the electronic pen further includes an acceleration sensor 50 disposed in the pen body housing 10. The acceleration sensor 50 is electrically connected to the controller, and the acceleration sensor 50 detects the acceleration of the electronic pen. The controller is further configured to obtain the connection state between the electronic pen and the electronic device. The controller is configured to, when it is obtained that the electronic pen is in a connected state, the acceleration sensor 50 is in a first state where no acceleration is detected, and the duration of the connected state and the first state is greater than or equal to a first preset time, or when the controller determines that the electronic pen is in a disconnected state and the duration of the disconnected state is greater than or equal to a second preset time, determine that the electronic pen is in the idle scenario, thereby triggering the controller to control in the second mode.
[0069] In an embodiment of the present application, when the electronic pen is in a connected state with the electronic device, the acceleration sensor 50 is in a first state where no acceleration of the electronic pen is detected, and the combined duration of the connected state of the electronic pen and the first state where no acceleration is detected is greater than or equal to the first preset time. This indicates that within the first preset time or a duration exceeding the first preset time, the electronic pen is in a stationary state or a uniform motion state during transportation when in the connected state. At this time, it can be determined that the electronic pen is in an unused idle scenario. Then, the controller is triggered to also activate the control strategy of the second mode, controlling the driving member 40 to drive the transmission member 30, so that the transmission member 30 drives the nib 20 to retract into the pen body housing 10, putting the nib 20 in a protected state to protect the nib 20.
[0070] For example, in an embodiment of the present application, the first preset time can be 2 s, 3 s, 5 s, etc., and can be set according to the user's usage habits and actual needs. The specific value of the first preset time in the embodiments of the present application may not be limited.
[0071] In another embodiment of the present application, when the electronic pen and the electronic device are in a disconnected state and the duration of the disconnected state is greater than or equal to a second preset time, that is, in the case of the second preset time or a duration exceeding the second preset time, both the electronic pen and the electronic device are in a disconnected state. At this time, it can also be determined that the electronic pen is in an idle scenario where it is not being used, and then the trigger controller also starts the control strategy of the second mode, controlling the driving member 40 to drive the transmission member 30, so that the transmission member 30 drives the pen tip 20 to retract into the pen body housing 10, putting the pen tip 20 in a protected state to protect the pen tip 20.
[0072] In the embodiment of the present application, for example, the second preset time can be 2 s, 3 s, 5 s, etc., and can be set according to the user's usage habits and actual needs. The specific value of the second preset time in the embodiment of the present application may also not be limited.
[0073] For example, in the embodiment of the present application, the electronic pen can interact with the electronic device through the USI ("Universal Serial Interface", universal serial interface) protocol or the MPP ("Message Posting Protocol", message posting protocol). That is, when the electronic pen and the electronic device meet the USI or MPP protocol, the electronic pen and the electronic device are paired and connected, can interact, and the electronic pen is in a connected state. The electronic pen can send position signals, pressure sensing signals, tilt state signals, etc. to the electronic device to realize the writing function of the pen tip 20 of the electronic pen on the screen of the electronic device.
[0074] Optionally, in the embodiments of the present application, the electronic pen further includes an acceleration sensor 50 disposed in the pen body housing 10. The acceleration sensor 50 is electrically connected to the controller. The acceleration sensor 50 is used to detect the acceleration of the electronic pen. The controller is further used to obtain the connection state between the electronic pen and the electronic device. When the controller is configured to determine that the electronic pen is in the connected state and the acceleration of the electronic pen is less than a preset threshold, it is determined that the electronic pen is in the usage scenario, thereby triggering the control of the controller in the first mode. Wherein, the preset threshold is greater than or equal to the acceleration due to gravity. In this way, when the acceleration sensor 50 detects that the acceleration of the electronic pen is less than the preset threshold, it indicates that the electronic pen is moving with a small speed change and is in non-uniform motion. Moreover, the controller obtains that the electronic pen is in the connected state, indicating that the electronic pen is moving with a small speed change on the electronic device, and the electronic pen interacts with the electronic device. Then it can be determined that the electronic pen is in the normal usage scenario, and the controller is triggered to start the control strategy of the first mode, controlling the driving member 40 to drive the transmission member 30, so that the transmission member 30 drives the pen tip 20 to extend out of the pen body housing 10 and remain in the usage state, meeting the normal usage needs of the user.
[0075] In the embodiments of the present application, by way of example, such as Figure 6 FIG. shows a flow schematic diagram of the electronic pen. Step M1 is executed to start the process. At this time, the pen tip 20 is in the retracted state. Then step M2 is executed to detect whether the electronic pen generates acceleration through the acceleration sensor 50. If it is detected that the electronic pen generates acceleration, step M3 is continued. In step M3, it is judged by the controller whether the electronic pen is in the connected state. If it is judged that the electronic pen is in the connected state, it is determined that the electronic pen is in the usage scenario. Then step M4 is executed to trigger the first mode of the controller, that is, the controller controls the driving member 40 to drive the transmission member 30 to drive the pen tip 20 to extend out of the pen body housing 10.
[0076] In the embodiments of the present application, optionally, in the dropping scenario of the second mode, the driving member 40 has a first rotation speed, and in the idle scenario of the second mode, the driving member 40 has a second rotation speed. Wherein, the first rotation speed is greater than the second rotation speed. In this way, when it is judged that the electronic pen is in the falling scenario, it is relatively urgent. When the extended pen tip 20 needs to be retracted at a faster speed, the controller controls the driving member 40 to start at the faster first rotation speed, so that the pen tip 20 is retracted relatively quickly, avoiding damage due to the slow retraction of the pen tip 20. When it is judged that the electronic pen is in the idle scenario and not in use, and the extended pen tip 20 needs to be retracted, it is a non-emergency situation, and there is no risk of damage to the pen tip 20. The controller can control the driving member 40 to start at the slower second rotation speed, so that the pen tip 20 is retracted relatively slowly, reducing the power loss of the driving member 40.
[0077] In an embodiment of the present application, by way of example, such as Figure 5 Another schematic flowchart of the electronic pen is shown. Step S1 is executed to start the process. At this time, the pen tip 20 is in the extended state. Then, step S2 is executed to detect whether the electronic pen generates an acceleration through the acceleration sensor 50. If it is detected that the electronic pen generates an acceleration, step S3 is executed to determine whether the acceleration generated by the electronic pen is greater than the preset threshold. If it is determined that the acceleration is greater than the preset threshold, it is determined that the electronic pen is in a falling scenario, and step S4 is executed. The controller controls the driving member 40 to rotate at a relatively fast first rotation speed to achieve step S8, and the driving member 40 drives the transmission member 30 to retract the pen tip 20 into the pen body housing 10.
[0078] In step S2 above, if it is detected that the electronic pen does not generate an acceleration, step S5 is executed to determine the connection state of the electronic pen. If it is determined that the electronic pen is in the connected state, step S6 is executed to determine whether the duration of the first state without generating an acceleration and the connected state of the electronic pen is greater than the first preset time. If it is determined that the duration of the first state without generating an acceleration and the connected state is greater than or equal to the first preset time, it is determined that the electronic pen is in an idle scenario, and then step S7 is executed. The controller controls the driving member 40 to rotate at a relatively slow second rotation speed to achieve step S8, and the driving member 40 drives the transmission member 30 to retract the pen tip 20 into the pen body housing 10.
[0079] In step S5 above, if it is determined that the electronic pen is in the unconnected state, it can also be determined that the electronic pen is in an idle scenario, and then step S7 is executed. The controller controls the driving member 40 to rotate at a relatively slow second rotation speed to achieve step S8, and the driving member 40 drives the transmission member 30 to retract the pen tip 20 into the pen body housing 10.
[0080] Optionally, in the embodiments of the present application, the nib 20 includes a tip portion 24 and a connecting rod portion 21 that are connected to each other. The transmission member 30 is a cylindrical structure. Along the axial direction of the transmission member 30, a spiral groove 31 is provided around the surface of the transmission member 30. The transmission member 30 is sleeved on the connecting rod portion 21. The connecting rod portion 21 is provided with a first limiting protrusion 22, and the first limiting protrusion 22 is located in the spiral groove 31. During the process of the driving member 40 driving the transmission member 30 to drive the nib 20 to move, the first limiting protrusion 22 moves in the spiral groove 31. Specifically, the driving member 40 drives the cylindrical transmission member 30 to rotate, so that the first limiting protrusion 22 slides along the spiral groove 31 in the axial direction of the pen body housing 10, so that the transmission member 30 drives the nib 20 to extend or retract into the pen body housing 10. Moreover, the connection between the nib 20 and the transmission member 30 is realized through the connecting rod portion 21, and the relative position between the nib 20 and the transmission member 30 is limited by the first limiting protrusion 22, reducing the risk of the nib 20 detaching from the transmission member 30 during the movement process, and also reducing the time required during the switching process of the telescopic state due to the relatively large overlapping part of the connection between the nib 20 and the transmission member 30.
[0081] Exemplarily, in the embodiments of the present application, the spiral groove 31 may be a hollow structure, and the width of the hollow gap is greater than or equal to the first limiting protrusion 22, so that the sliding of the first limiting protrusion 22 relative to the spiral groove 31 has better reliability, avoiding the first limiting protrusion 22 from detaching from the transmission member 30. In addition, the spiral groove 31 may also be a non-hollow structure, and the first limiting protrusion 22 may be slidably connected to the bottom of the spiral groove 31, which can also achieve a better limiting effect of the first limiting protrusion 22 on the nib 20 and the transmission member 30. The embodiments of the present application may not limit the specific type of the spiral groove 31.
[0082] Optionally, in the embodiments of the present application, along the axial direction of the transmission member 30, the spiral groove 31 includes a first end 32 and a second end 33 that are oppositely arranged, and the first end 32 is close to the tip portion 24. When the first limiting protrusion 22 is at the first end 32 of the spiral groove 31, the nib 20 extends out of the pen body housing 10. When the first limiting protrusion 22 is at the second end 33 of the spiral groove 31, the nib 20 retracts into the pen body housing 10. That is, when the transmission member 30 rotates to make the first limiting protrusion 22 abut against the first end 32 close to the nib 20, the overlapping part between the transmission member 30 and the nib 20 is less, and the sum of their lengths is larger, so that the nib 20 extends out of the pen body housing 10. The second end 33 of the spiral groove 31 is oppositely arranged to the first end 32, and the first end 32 is close to the tip portion 24, that is, the second end 33 is far from the tip portion 24 of the nib 20 and is close to the driving member 40. When the transmission member 30 rotates to make the first limiting protrusion 22 abut against the second end 33 far from the nib 20, the overlapping part between the transmission member 30 and the nib 20 is more, and the sum of their lengths is smaller, so that the nib 20 retracts into the pen body housing 10.
[0083] In an embodiment of the present application, optionally, the nib 20 includes a tip portion 24 and a connecting rod portion 21 that are connected to each other; along the axial direction of the pen body housing 10, a limiting groove 11 extending along the axial direction of the pen body housing 10 is provided on the inner wall of the pen body housing 10, and the connecting rod portion 21 is provided with a second limiting protrusion 23, and the second limiting protrusion 23 is located in the limiting groove 11; during the process that the driving member 40 drives the transmission member 30 to drive the nib 20 to move, the second limiting protrusion 23 moves in the limiting groove 11 to limit the linear motion of the connecting rod portion 21. In this way, the movement mode of the second limiting protrusion 23 is limited to a linear motion by the limiting groove 11, and the movement direction of the second limiting protrusion 23 is limited to the axial direction of the pen body housing 10, so that the nib 20 performs telescopic movement along the axial direction of the pen body housing 10, avoiding the transmission member 30 driving the nib 20 to rotate in the pen body housing 10 and affecting the telescopic effect of the nib 20.
[0084] Optionally, in an embodiment of the present application, the driving member 40 is a reduction motor, the output end of the reduction motor is connected to one end of the transmission member 30 away from the nib 20, and the reduction motor, the transmission member 30 and the nib 20 are coaxially arranged; the output end rotates around the axial direction of the transmission member 30 to drive the transmission member 30 to rotate in the pen body housing 10. In this way, the reduction motor effectively prevents the nib 20 from driving the transmission member 30 to reverse due to an external force. Moreover, the reduction motor, the transmission member 30 and the nib 20 are coaxially arranged, so that the reduction motor and the transmission member 30 and the nib 20 have a better force transmission effect, reduce the force transmission loss, and are beneficial to the spatial layout of the reduction motor, the transmission member 30 and the nib 20 in the pen body housing 10.
[0085] In an embodiment of the present application, since the reduction motor has a large reduction ratio, the driving member 40 can be started with a small output power, so that the output end of the driving member 40 rotates under the action of the output torque. If the nib 20 is forced to contract when it extends, thereby driving the output end of the driving member 40 to reverse, a force far greater than the output torque is required. For example, the reduction ratio of the reduction motor is 100:1. If the output torque is 1 N, the torque required to reverse it needs to be greater than 100 N. In normal use scenarios, the nib 20 usually does not receive a large external force. Therefore, using a reduction motor can effectively prevent the nib 20 from driving the transmission member 30 to reverse under pressure, avoid the inability to use the nib 20 of the electronic pen normally after it extends, and enable the electronic pen to have better performance.
[0086] Optionally, in the embodiments of the present application, the controller is further configured to determine whether the nib 20 is in a retracted state or an extended state; in the drop scenario or the idle scenario, if the controller determines that the nib 20 is in the retracted state, the controller stops controlling the driving member 40, and if the controller determines that the nib 20 is in the extended state, the controller controls the driving member 40 to start, and the driving member 40 drives the transmission member 30 to drive the nib 20 to retract into the pen body housing 10; in the usage scenario, if the controller determines that the nib 20 is in the extended state, the controller stops controlling the driving member 40, and if the controller determines that the nib 20 is in the retracted state, the controller controls the driving member 40 to start, and the driving member 40 drives the transmission member 30 to drive the nib 20 to extend out of the pen body housing 10. In this way, the controller first determines the retracted state or the extended state of the nib 20, and when it is determined that the state of the nib 20 needs to be changed, the driving member 40 is then controlled to start, avoiding unnecessary energy consumption caused by the idling of the driving member 40.
[0087] In summary, the electronic pen in the embodiments of the present application may at least have the following advantages:
[0088] In the embodiments of the present application, the electronic pen includes: a pen body housing; a nib at the end of the pen body housing; a driving member, a transmission member and a controller disposed in the pen body housing, the controller being electrically connected to the driving member, the transmission member being connected to the driving member, and the nib being connected to the transmission member; the controller is configured to control the driving member to drive the transmission member to drive the nib to extend out of the pen body housing in a first mode, and to control the driving member to drive the transmission member to drive the nib to retract into the pen body housing in a second mode; wherein, the first mode includes: a usage scenario; the second mode includes a drop scenario and an idle scenario. In this way, the controller of the electronic pen is configured with different control methods in the first mode and the second mode. In the usage scenario where the electronic pen is needed, the controller can control the driving member to start, and the driving member drives the transmission member to drive the nib to extend out of the pen body housing for the user to use. In the scenario where the electronic pen is not needed, or when the electronic pen is in a drop scenario due to being collided and the nib of the electronic pen needs to be protected, the controller can control the driving member to start, and the driving member drives the transmission member to drive the nib to retract into the pen body housing, achieving a more effective and reliable protection for the nib. It reduces the risk that the use sensitivity of the nib is affected or even the function is lost when the nib is under greater pressure, and also reduces the probability that the electronic pen drops and the nib is subjected to a greater impact, improves the protection effect on the nib, reduces the risk of its damage, enhances the reliability of the electronic pen, and prolongs its service life.
[0089] Referring to Figure 7 , the embodiments of the present application also propose an electronic pen control method, and the electronic pen control method includes:
[0090] Step 101: Obtain the operating parameters of the electronic pen, where the operating parameters include at least one of acceleration, connection status, and duration.
[0091] In an embodiment of the present application, the operating parameters of the electronic pen can be obtained through a controller. For example, the acceleration of the electronic pen can be detected by an acceleration sensor 50. The acceleration sensor 50 is electrically connected to the controller and can send the detected acceleration value and status to the controller. And the controller can obtain whether the electronic pen and the electronic device meet a communication protocol, such as the USI or MPP protocol, to obtain the connection status of the electronic pen. And the duration of the electronic pen in various states, such as the connected state, the unconnected state, or the first state where no acceleration is detected, etc., can be obtained through a timer. The timer is communicatively connected to the controller and can send the duration data to the controller, etc.
[0092] For example, one or more of the acceleration, connection status, and duration of the electronic pen can be obtained through the controller, and can be set according to the operating parameters required to judge the current scenario of the electronic pen. The embodiments of the present application may not limit this.
[0093] Step 102: Determine the current scenario of the electronic pen according to the operating parameters of the electronic pen.
[0094] In an embodiment of the present application, for example, among the operating parameters obtained by the above controller, the acceleration parameter may include the acceleration value and no acceleration generated, etc. The connection status parameter may include the connected state and the unconnected state. The duration parameter may include a time value, and the duration may be various states. For example, the time maintained in the connected state, the unconnected state, or the state where no acceleration is generated.
[0095] If the controller obtains that the acceleration value of the electronic pen is greater than or equal to a preset threshold, it can be determined that the current scenario of the electronic pen is a falling scenario.
[0096] If the controller obtains that the electronic pen is in the connected state and the electronic pen does not generate acceleration, and the duration of the connected state and the state of not generating acceleration is greater than or equal to a first preset time. Or, if the controller obtains that the electronic pen is in the unconnected state, and the duration of the unconnected state is greater than or equal to a second preset time, it can be determined that the current scenario of the electronic pen is an idle scenario.
[0097] If the controller obtains that the connection status of the electronic pen is the connected state and the acceleration of the electronic pen is less than the preset threshold, it can be determined that the current scenario of the electronic pen is a usage scenario.
[0098] Step 103: When the scenario is a usage scenario, control the driving member of the electronic pen to drive the transmission member to drive the nib to extend out of the pen body housing; when the scenario is a drop scenario or an idle scenario, control the driving member of the electronic pen to drive the transmission member to drive the nib to retract into the pen body housing.
[0099] Based on Step 102, it can be obtained that the scenarios of the electronic pen can include a drop scenario, an idle scenario, and a usage scenario. When it is determined that the electronic device is in a usage scenario, the controller controls the driving member 40 to drive the transmission member 30 to rotate, and the transmission member 30 drives the nib 20 to extend out of the pen body housing 10, so that the nib 20 of the electronic pen remains in the extended state for normal use.
[0100] When it is determined that the electronic device is in a drop scenario or an idle scenario, the controller controls the driving member 40 to drive the transmission member 30 to rotate, and the transmission member 30 drives the nib 20 to retract into the pen body housing 10 to protect the nib 20, avoid damage to the nib 20, enhance the reliability of the electronic pen, and extend its service life. Regarding how the specific driving member 40 drives the transmission member 30 to drive the nib 20 to extend or retract into the pen body housing 10, as described above, it will not be elaborated in this embodiment of the present application.
[0101] In summary, the electronic pen control method described in the embodiments of the present application can at least include the following advantages:
[0102] In the embodiments of the present application, the electronic pen control method is applied to the electronic pen described above. The method includes: obtaining the working parameters of the electronic pen, where the working parameters include at least one of acceleration, connection status, and duration; determining the current scenario of the electronic pen according to the working parameters of the electronic pen; when the scenario is a usage scenario, controlling the driving member of the electronic pen to drive the transmission member to drive the nib to extend out of the pen body housing; when the scenario is a drop scenario or an idle scenario, controlling the driving member of the electronic pen to drive the transmission member to drive the nib to retract into the pen body housing. In this way, in the usage scenario where the electronic pen is needed, the controller can control the driving member to start, and the driving member drives the transmission member to drive the nib to extend out of the pen body housing for the user to use. In the scenario where the electronic pen is not needed, or when the electronic pen is collided and in a drop scenario and the nib of the electronic pen needs to be protected, the controller can control the driving member to start, and the driving member drives the transmission member to drive the nib to retract into the pen body housing, realizing a more effective and reliable protection for the nib. It reduces the risk that the use sensitivity of the nib is affected or even the function is lost when the nib is under great pressure, and also reduces the probability that the electronic pen drops and the nib is subjected to a great impact, improves the protection effect on the nib, reduces the risk of its damage, enhances the reliability of the electronic pen, and extends its service life.
[0103] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0104] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the claims and their equivalents.
Claims
1. An electronic pen, characterized in that: The electronic pen comprises: Pen body shell; A pen tip at the end of the pen body shell; A driving member, a transmission member and a controller are arranged in the pen body housing, the controller is electrically connected to the driving member, the transmission member is connected to the driving member, and the pen tip is connected to the transmission member; The controller is configured to control the driving member to drive the transmission member to drive the pen tip to extend out of the pen body housing in a first mode, and to control the driving member to drive the transmission member to drive the pen tip to retract into the pen body housing in a second mode; Among them, the first mode includes: usage scenario; the second mode includes falling scenario and idle scenario.
2. The electronic pen according to claim 1, characterized in that: The electronic pen further comprises an acceleration sensor disposed in the pen body housing, the acceleration sensor being electrically connected to the controller and being used to detect the acceleration of the electronic pen; The controller is configured to, when the acceleration of the electronic pen is greater than a preset threshold, determine that the electronic pen is in a falling scene, thereby triggering the control of the controller in the second mode; Wherein, the preset threshold is greater than or equal to the acceleration of gravity.
3. The electronic pen according to claim 1, characterized in that: The electronic pen further comprises an acceleration sensor disposed in the pen body housing, the acceleration sensor being electrically connected to the controller, and the acceleration sensor detecting the acceleration of the electronic pen; The controller is also used to obtain the connection status between the electronic pen and the electronic device; The controller is configured to, when it is obtained that the electronic pen is in a connected state, the acceleration sensor is in a first state in which no acceleration is detected, and the duration of the connected state and the first state is greater than or equal to a first preset time, or when the controller determines that the electronic pen is in an unconnected state and the duration of the unconnected state is greater than or equal to a second preset time, determine that the electronic pen is in the idle scene, thereby triggering the control of the controller in the second mode.
4. The electronic pen according to claim 1, characterized in that: The electronic pen further comprises an acceleration sensor disposed in the pen body housing, the acceleration sensor being electrically connected to the controller and being used to detect the acceleration of the electronic pen; The controller is also used to obtain the connection status between the electronic pen and the electronic device; The controller is configured to, when obtaining that the electronic pen is in a connected state and the acceleration of the electronic pen is less than a preset threshold, determine that the electronic pen is in the usage scenario, thereby triggering the control of the controller in the first mode; Wherein, the preset threshold is greater than or equal to the acceleration of gravity.
5. The electronic pen according to claim 1, characterized in that: In a falling scenario of the second mode, the driving member has a first rotational speed, and in an idle scenario of the second mode, the driving member has a second rotational speed; Wherein, the first rotation speed is greater than the second rotation speed.
6. The electronic pen according to any one of claims 1 to 5, characterized in that: The pen tip comprises a tip portion and a connecting rod portion connected to each other, the transmission member is a cylindrical structure, a spiral groove is arranged around the surface of the transmission member along the axial direction of the transmission member, and the transmission member is sleeved on the connecting rod portion; The connecting rod portion is provided with a first limiting protrusion, and the first limiting protrusion is located in the spiral groove; In the process that the driving member drives the transmission member to drive the pen tip to move, the first limiting protrusion moves in the spiral groove.
7. The electronic pen according to claim 6, characterized in that: Along the axial direction of the transmission member, the spiral groove includes a first end and a second end that are oppositely arranged, and the first end is close to the tip portion; When the first limiting protrusion is at the first end of the spiral groove, the pen tip extends out of the pen body shell; When the first limiting protrusion is located at the second end of the spiral groove, the pen tip is retracted into the pen body shell.
8. The electronic pen according to any one of claims 1 to 5, characterized in that: The pen tip comprises a tip portion and a connecting rod portion connected to each other; Along the axial direction of the pen body shell, a limiting groove extending along the axial direction of the pen body shell is provided on the inner wall of the pen body shell, and the connecting rod portion is provided with a second limiting protrusion, and the second limiting protrusion is located in the limiting groove; In the process that the driving member drives the transmission member to drive the pen tip to move, the second limiting protrusion moves in the limiting groove to limit the linear movement of the connecting rod part.
9. The electronic pen according to any one of claims 1 to 5, characterized in that: The driving member is a reduction motor, the output end of the reduction motor is connected to an end of the transmission member away from the pen tip, and the reduction motor, the transmission member and the pen tip are coaxially arranged; The output end rotates around the axial direction of the transmission member, driving the transmission member to rotate in the pen body housing.
10. The electronic pen according to any one of claims 1 to 5, characterized in that: The controller is also used to determine whether the pen tip is in a retracted state or an extended state; In the falling scene or the idle scene, if the controller determines that the pen tip is in the retracted state, the controller stops controlling the driving member; if the controller determines that the pen tip is in the extended state, the controller controls the driving member to start, and the driving member drives the transmission member to drive the pen tip to retract into the pen body housing; In the usage scenario, if the controller determines that the pen tip is in the extended state, the controller stops controlling the driving member; if the controller determines that the pen tip is in the retracted state, the controller controls the driving member to start, and the driving member drives the transmission member to drive the pen tip to extend out of the pen body shell.
11. An electronic pen control method, applied to the electronic pen according to any one of claims 1 to 10, characterized in that: The method comprises: Acquiring a working parameter of the electronic pen, wherein the working parameter includes at least one of acceleration, connection status, and duration; Determining the current scene of the electronic pen according to the working parameters of the electronic pen; When the scenario is a usage scenario, controlling the driving member of the electronic pen to drive the transmission member to drive the pen tip to extend out of the pen body housing; When the scene is a falling scene or an idle scene, the electronic pen driving component is controlled to drive the transmission component to drive the pen tip to retract into the pen body housing.