Stylus, control method and device, readable storage medium, and electronic device assembly
The acceleration sensor and controller adjust the telescopic structure of the stylus, so that the pen tip can switch states when used and fall, solving the problems of insufficient support and large power consumption during use, and achieving stable writing and power saving.
Patent Information
- Application Number
- CN202211326862.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-10-25
AI Technical Summary
The retraction mechanism of the stylus cannot provide sufficient support during normal use. When the pen tip falls, the electromagnet needs to overcome the spring force and consume more electricity.
The acceleration sensor is used to detect the acceleration of the stylus, and the distance between the first telescopic part and the second telescopic part is adjusted by the controller, so that the pen tip is switched between the first and second states, and the pen tip is retracted into the housing when it falls, avoiding damage.
Provide sufficient support to stabilize writing, reduce power consumption, protect the pen tip, and improve battery life.
Smart Images

Figure CN115617187B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of electronic devices, and particularly relates to a stylus, a control method and device, a readable storage medium, and an electronic device assembly. Background Art
[0002] Currently, with the continuous popularization of smart terminals, the demand for accessories of smart terminals is increasing. As a commonly used accessory for smart terminals, styluses are used by more and more users. However, as an accessory that often interacts with the user's hand, a stylus has a high risk of dropping and falling. Once the tip of the stylus is damaged, the user experience of the stylus will be greatly affected, and even the function will be lost.
[0003] In the related art, a common solution is a fall-back retraction solution based on a spring and an electromagnet. In this solution, when the stylus is in normal use, the tip is supported by a spring. If the user applies a large force, the tip will inevitably retract, and the retraction mechanism cannot provide sufficient support force. At the same time, when the stylus senses a fall, the electromagnet needs to overcome the elastic force of the spring to retract the stylus, and during the falling state, a large force is required to maintain the retracted state of the stylus, consuming a lot of electric energy. Summary of the Invention
[0004] This application aims to provide a stylus, a control method and device, a readable storage medium, and an electronic device assembly, which can at least solve one of the problems that when the stylus is in normal use, the retraction mechanism cannot provide sufficient support force, and when the tip of the stylus drops, the electromagnet needs to overcome the elastic force of the spring, consuming a lot of electric energy.
[0005] To solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of this application provides a stylus, including: a housing; a tip, movably connected to the housing; a telescopic structure, the telescopic structure includes a first telescopic part and a second telescopic part arranged oppositely, the first telescopic part is arranged inside the housing, and the second telescopic part is arranged at the tip; an acceleration sensor, configured to detect the acceleration of the stylus; a controller, connected to the acceleration sensor and the telescopic structure, and configured to adjust the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the tip switches between a first state and a second state. In the first state, at least a part of the tip extends out of the housing, and in the second state, the tip retracts into the housing.
[0007] In a second aspect, an embodiment of this application provides a control method for a stylus, which is used for the stylus according to any item in the first aspect. The control method includes: obtaining the acceleration; adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the tip switches between a first state and a second state.
[0008] In a third aspect, an embodiment of the present application provides a control device for a stylus, which is used for the stylus according to any one of the first aspects. The control device includes: an acquisition unit configured to acquire the acceleration of the stylus; and a control unit configured to adjust the distance between the first telescopic part and the second telescopic part according to the acceleration, so as to switch the nib between a first state and a second state.
[0009] In a fourth aspect, an embodiment of the present application provides a stylus, including: a processor and a memory, where the memory stores a program or instructions that can run on the processor, and when the program or instructions are executed by the processor, the steps of the control method for the stylus according to any one of the first aspects are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the control method for the stylus according to any one of the second aspects is executed.
[0011] In a sixth aspect, an embodiment of the present application provides an electronic device component, including: the stylus according to any one of the first aspects.
[0012] In a seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or instructions to implement the method according to the second aspect.
[0013] In an eighth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the method according to the second aspect.
[0014] In an embodiment of the present application, the stylus includes a housing, a nib, and a telescopic structure. The nib is movably connected to the housing, so that the nib can extend out of the housing or retract into the housing. Among them, the telescopic structure includes a first telescopic part and a second telescopic part. The first telescopic part is arranged in the housing, and the second telescopic part is arranged at the nib. The acceleration sensor can detect the acceleration of the stylus, and thus can detect whether the stylus is in a falling state. In this way, the controller can control the movement of the telescopic structure according to the acceleration of the stylus, so that the nib switches between a first state and a second state. In the first state, at least a part of the nib extends out of the housing, so that the stylus is in a normal working state. In the second state, the nib retracts into the housing, thereby avoiding damage to the nib when the stylus falls, and realizing protection for the nib. By adjusting the distance between the first telescopic part and the second telescopic part, when the stylus falls, the nib retracts into the housing, and it is not necessary to overcome the elastic force of the spring as in the related art, so that the nib can be telescoped with less energy consumption.
[0015] Additional aspects and advantages of the present application 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 application. Description of the Drawings
[0016] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, where:
[0017] Figure 1 is one of the schematic diagrams of the partial structure of a stylus according to an embodiment of the present application;
[0018] Figure 2 is another schematic diagram of the partial structure of a stylus according to an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of the structure of the limiting post and the limiting groove in cooperation when the nib is in the first state according to an embodiment of the present application;
[0020] Figure 4 is a schematic diagram of the structure of the limiting post and the limiting groove in cooperation when the nib is in the second state according to an embodiment of the present application;
[0021] Figure 5 is a schematic diagram of the partial structure of the first telescopic part according to an embodiment of the present application;
[0022] Figure 6 is one of the schematic diagrams of the structure of the stylus when the nib is in the first state according to an embodiment of the present application;
[0023] Figure 7 is a schematic diagram of the structure of the stylus when it drops according to an embodiment of the present application;
[0024] Figure 8 is one of the schematic diagrams of the structure of the stylus when the nib is in the second state according to an embodiment of the present application;
[0025] Figure 9 is a schematic diagram of the structure of the stylus at the end of the dropping process according to an embodiment of the present application;
[0026] Figure 10 is a schematic diagram of the structure of the stylus when the nib switches to the first state according to an embodiment of the present application;
[0027] Figure 11 is another schematic diagram of the structure of the stylus when the nib is in the first state according to an embodiment of the present application;
[0028] Figure 12 is a third schematic diagram of the structure of the stylus when the nib is in the first state according to an embodiment of the present application;
[0029] Figure 13It is the second schematic structural diagram of the nib in the second state according to an embodiment of the present application;
[0030] Figure 14 It is the fourth schematic structural diagram of the nib in the first state according to an embodiment of the present application;
[0031] Figure 15 It is the first schematic flowchart of the control method of the stylus according to an embodiment of the present application;
[0032] Figure 16 It is the second schematic flowchart of the control method of the stylus according to an embodiment of the present application;
[0033] Figure 17 It shows the first schematic block diagram of the control device of the stylus according to an embodiment of the present application;
[0034] Figure 18 It shows the second schematic block diagram of the control device of the stylus according to an embodiment of the present application;
[0035] Figure 19 It is the schematic hardware structure diagram of a stylus according to an embodiment of the present application.
[0036] Reference numerals:
[0037] 1 housing, 2 nib, 3 telescopic structure, 30 first telescopic part, 300 limiting groove, 302 electromagnet, 304 first body, 306 groove, 32 second telescopic part, 320 limiting post, 322 magnet, 324 second body. Detailed implementation manners
[0038] Hereinafter, embodiments of the present application will be described in detail. Examples of the embodiments are shown in the drawings, wherein 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 application and should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.
[0039] The terms "first" and "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 application, unless otherwise specified, the meaning of "plurality" is two or more.
[0040] In the description of the present application, it should be understood that the orientation or positional relationship indicated by terms such as "top", "bottom", "inner", "outer", "axial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application 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. Therefore, it should not be construed as a limitation to the present application.
[0041] In the description of the present application, it should be noted that unless otherwise clearly specified and limited, the terms "installed", "connected", "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.
[0042] The following will be combined with Figures 1 to 19 Describe a stylus, a control method and device, a readable storage medium, and an electronic device assembly according to an embodiment of the present application.
[0043] As Figure 1 and Figure 2 shown, a stylus according to some embodiments of the present application includes: a housing 1; a nib 2 movably connected to the housing 1; a telescopic structure 3, the telescopic structure 3 includes a relatively arranged first telescopic part 30 and a second telescopic part 32, the first telescopic part 30 is arranged inside the housing 1, and the second telescopic part 32 is arranged on the nib 2; an acceleration sensor for detecting the acceleration of the stylus; a controller connected to the acceleration sensor and the telescopic structure 3, for adjusting the distance between the first telescopic part 30 and the second telescopic part 32 according to the acceleration, so that the nib 2 switches between a first state and a second state. In the first state, at least a part of the nib 2 extends out of the housing 1, and in the second state, the nib 2 retracts into the housing 1.
[0044] According to the stylus pen of the embodiment of the present application, it includes a housing 1, a nib 2 and a telescopic structure 3. The nib 2 is movably connected to the housing 1, so that the nib 2 can extend out of the housing 1 or retract into the housing 1. Among them, the telescopic structure 3 includes a first telescopic part 30 and a second telescopic part 32. The first telescopic part 30 is arranged in the housing 1, and the second telescopic part 32 is arranged on the nib 2. The acceleration sensor can detect the acceleration of the stylus pen, and thus can detect whether the stylus pen is in a falling state. In this way, when the stylus pen is in a falling state, the controller can control the movement of the telescopic structure 3 according to the acceleration of the stylus pen, so that the nib 2 switches between the first state and the second state. In the first state, at least a part of the nib 2 extends out of the housing 1, so that the stylus pen is in a normal working state. In the second state, the nib 2 retracts into the housing 1, thereby avoiding damage to the nib 2 when the stylus pen falls, and realizing the protection of the nib 2. By adjusting the distance between the first telescopic part 30 and the second telescopic part 32, when the stylus pen falls, the nib 2 retracts into the housing 1, and it is not necessary to overcome the elastic force of the spring as in the related art, so that the nib 2 can be telescoped with less energy consumption.
[0045] In a specific application, when the stylus pen is in a normal handwriting state, the acceleration of the stylus pen is 0 m / s 2 , supported by the first telescopic part 30 and the second telescopic part 32, the nib 2 extends out of the housing 1; when the stylus pen falls, the acceleration of the stylus pen is greater than a preset acceleration threshold, and the controller adjusts the distance between the first telescopic part 30 and the second telescopic part 32, driving the nib 2 to retract into the housing 1 to avoid damage to the nib 2. After the fall is completed, the acceleration of the stylus pen returns to 0 m / s 2 , and the controller adjusts the distance between the first telescopic part 30 or the second telescopic part 32, driving the nib 2 to return to the first state of extending out of the housing 1.
[0046] As Figure 3 and Figure 4 shown, according to some embodiments of the present application, a limiting groove 300 is provided on the first telescopic part 30, and a limiting post 320 is provided on the second telescopic part 32; in the first state, the limiting post 320 is located at the top of the limiting groove 300, and the end of the limiting post 320 intersects with the notch of the limiting groove 300; in the second state, the limiting post 320 is located in the limiting groove 300.
[0047] In this embodiment, as Figure 3 shown, in the first state, the end of the limiting post 320 intersects with the notch of the limiting groove 300, so that the notch of the limiting groove 300 forms a support for the limiting post 320, ensuring the stability of the nib 2 when it is in the working state, and the nib 2 will not retract even when the user writes forcefully; as Figure 4As shown, in the second state, the end of the limit post 320 corresponds to the notch of the limit groove 300. In this way, driven by the controller, the limit post 320 can extend into the limit groove 300, and then the nib 2 retracts into the housing 1.
[0048] According to some embodiments of the present application, at least one of the first telescopic part 30 and the second telescopic part 32 can rotate relative to the housing 1. One of the first telescopic part 30 and the second telescopic part 32 includes a plurality of magnets 322, and the other includes a plurality of electromagnets 302. The plurality of magnets 322 and the plurality of electromagnets 302 are both arranged at intervals in the circumferential direction of the rotation axis of the first telescopic part 30 or the second telescopic part 32. The magnetic poles of adjacent magnets 322 are opposite, and the magnetic poles of adjacent electromagnets 302 are opposite. Among them, as Figure 6 and Figure 9 shown, in the first state and the second state, the plurality of magnets 322 and the plurality of electromagnets 302 are arranged in one-to-one correspondence, and the controller controls the electromagnets 302 to work so that the magnets 322 and the electromagnets 302 are attracted to each other.
[0049] In this embodiment, one of the first telescopic part 30 and the second telescopic part 32 includes a plurality of magnets 322, and the other of the first telescopic part 30 and the second telescopic part 32 includes a plurality of electromagnets 302. The plurality of magnets 322 are arranged at intervals in the circumferential direction of the rotation axis of the first telescopic part 30 or the second telescopic part 32. The plurality of electromagnets 302 are arranged at intervals in the circumferential direction of the rotation axis of the first telescopic part 30 or the second telescopic part 32, and the plurality of magnets 322 and the plurality of electromagnets 302 are arranged in one-to-one correspondence. In this way, through the interaction between the plurality of electromagnets 302 and the plurality of magnets 322, the first telescopic part 30 or the second telescopic part 32 can be driven to rotate, realizing the switching of the state of the nib 2.
[0050] In the first state, the controller controls the electromagnets 302 to work, so that the magnet and the electromagnets 302 are attracted to each other. In this way, the stability of the nib 2 when it is in the working state can be ensured, and the nib 2 can be prevented from coming out. In the second state, the controller controls the electromagnets 302 to work, so that the magnet and the electromagnets 302 are attracted to each other. In this way, when the stylus drops, the stability of the nib 2 when it is in the retracted state can be ensured, and it is ensured that the nib 2 can be received in the housing 1, and the nib 2 can be prevented from being damaged.
[0051] In a specific application, the first telescopic part 30 is fixed on the housing 1, and the electromagnets 302 are arranged on the first telescopic part 30. By controlling the magnetic poles of the electromagnets 302, the second telescopic part 32 can be driven to rotate.
[0052] According to some embodiments of the present application, as Figure 3 and Figure 4As shown, the first telescopic part 30 further includes: a first body 304, a limiting groove 300 is provided in the middle of the first body 304, and a plurality of electromagnets 302 are provided on the first body 304 at intervals along the circumferential direction of the limiting groove 300.
[0053] In this embodiment, the first telescopic part 30 further includes a first body 304, the limiting groove 300 is arranged in the middle of the first body 304, and a plurality of electromagnets 302 are arranged on the first body 304 at intervals along the circumferential direction of the limiting groove 300. In this way, the controller controls the pole change of the electromagnet 302 according to the acceleration, and then interacts with the magnet 322, so that the pen tip 2 can be switched between the first state and the second state.
[0054] According to some embodiments of the present application, as Figure 1 As shown, the second telescopic part 32 further includes: a second body 324, which is arranged opposite to the first body 304, the pen tip 2 is arranged on the second body 324, a limiting post 320 is arranged on the side of the second body 324 facing the first body 304, and a plurality of magnets 322 are arranged on the second body 324 at intervals along the circumferential direction of the pen tip 2.
[0055] In this embodiment, the second telescopic part 32 further includes a second body 324, the pen tip 2 is arranged on the side of the second body 324 facing away from the first body 304, the limiting post 320 is arranged on the side of the second body 324 facing the first body 304, and correspondingly, the notch of the limiting groove 300 is arranged on the side of the first body 304 facing the second body 324. In this way, when the controller drives the pen tip 2 to rotate, the limiting post 320 can be engaged or separated from the limiting groove 300.
[0056] According to some embodiments of the present application, as Figure 1 As shown, a groove 306 is provided on the first body 304, the limiting groove 300 extends from the bottom wall of the groove 306 in a direction away from the pen tip 2. In the first state, the limiting post 320 is arranged in the groove 306, and the limiting post 320 can rotate in the groove 306.
[0057] In this embodiment, a groove 306 is provided on the first body 304, the limiting groove 300 is arranged on the bottom wall of the groove 306 and extends from the bottom wall of the groove 306 in a direction away from the pen tip 2. In this way, when the stylus drops, the limiting post 320 can rotate in the groove 306, avoiding the separation of the limiting post 320 from the first telescopic part 30 and causing structural failure. Among them, when the limiting post 320 rotates to a position where it can be inserted into the limiting groove 300, under the action of the electromagnet 302 and the magnet 322, the limiting post 320 is inserted into the limiting groove 300, thereby realizing the retraction of the pen tip 2.
[0058] According to some embodiments of the present application, the groove 306 is a circular groove. Along the circumferential direction of the rotation of the limiting post 320, the radius of the circle passed by the edge of the limiting post 320 is the same as the radius of the groove 306.
[0059] In this embodiment, the groove 306 is a circular groove. Along the circumferential direction of the rotation of the limiting post 320, the radius of the circle passed by the edge of the limiting post 320 is the same as the radius of the groove 306. In this way, the cooperation between the limiting post 320 and the groove 306 can be made more reliable, ensuring the reliability of the rotation of the limiting post 320.
[0060] In specific applications, such as Figure 1 , Figure 2 , Figure 12 , Figure 13 and Figure 14 shown, the telescopic structure 3 includes a first telescopic part 30 and a second telescopic part 32. A limiting groove 300 is provided on one side of the first telescopic part 30 facing the second telescopic part 32. The pen tip 2 is provided on the side of the second telescopic part 32 facing away from the first telescopic part 30. The limiting post 320 is provided on the side of the second telescopic part 32 close to the first telescopic part 30. The radius of the curved edge of the limiting post is the same as that of the limiting groove 300, enabling the upper and lower structures to rotate. In this design, the rotation of the pen tip 2 is controlled by the magnetic change of the electromagnet 302. When the limiting post at the rotation position coincides with the limiting groove 300, the pen tip 2 is buckled into the first telescopic part 30, thereby realizing the function of retracting the pen tip 2.
[0061] Such as Figure 2 , Figure 3 and Figure 4 shown, during normal use, the limiting post does not enter the limiting groove 300, and the pen tip 2 is in the extended state. The electromagnet 302 generates a polarity opposite to that of the magnet 322 on the pen tip 2, so that the electromagnet 302 attracts the magnet 322 to prevent the pen tip 2 from rotating.
[0062] Such as Figure 5 shown, when the stylus drops, at this time the acceleration of the stylus ≥ the acceleration threshold. The acceleration sensor (not shown in the figure) on the circuit board of the stylus recognizes that the stylus is in the falling state and works, transmitting a signal to the control system of the system, causing the magnetic property of the electromagnet 302 to change. In order to make the pen tip 2 rotate in a single direction, by controlling the different current intensities, different magnitudes of attraction are generated by one pair of electromagnets 302 with the same polarity. The pen tip 2 will rotate towards the direction of the electromagnet 302 with stronger magnetism because the pen tip 2 is generally subject to an external force towards the direction of the electromagnet 302 with stronger magnetism, avoiding the system being in a state of force balance and unable to rotate.
[0063] Such as Figure 6 , Figure 7 and Figure 8As shown, a force that causes the nib 2 to rotate is generated between the magnet 322 on the nib 2 and the electromagnet 302. After the nib 2 rotates, the limit post snaps into the limit groove 300, realizing the function of retracting the nib 2, thereby preventing the nib 2 from being damaged by falling. Among them, Figure 6 and Figure 7 In, the two corresponding arrows point in opposite directions, indicating that the electromagnet 302 and the magnet 322 attract each other. N represents the north pole of the electromagnet 302 or the magnet 322, and S represents the south pole of the electromagnet 302 or the magnet 322.
[0064] Such as Figure 9 、 Figure 10 and Figure 11 As shown, when the dropping process is completed, the acceleration of the stylus gradually decreases to 0 m / s 2 , and the acceleration sensor recognizes that the acceleration drops to 0 m / s 2 After that, the system controls the electromagnet 302 to return to its initial state, the nib 2 extends again, and returns to the normal use state. Among them, in Figure 9 and Figure 10 In, the two corresponding arrows point in opposite directions, indicating that the electromagnet 302 and the magnet 322 repel each other. Figure 11 In, the two corresponding arrows point in opposite directions, indicating that the electromagnet 302 and the magnet 322 attract each other. N represents the north pole of the electromagnet 302 or the magnet 322, and S represents the south pole of the electromagnet 302 or the magnet 322.
[0065] Such as Figure 12 、 Figure 13 and Figure 14 As shown, the main structure and force change in the working process of the present invention: When the acceleration ≥ the acceleration threshold, the electromagnet 302 and the magnet 322 on the nib 2 repel each other, and the nib 2 rotates to the position where the limit post fits with the limit groove 300. At this time, the electromagnet 302 and the nib 2 attract each other, and the nib 2 retracts, thus fully ensuring that the nib 2 is protected. When the dropping process ends and the acceleration sensor recognizes that the acceleration drops to 0 m / s 2 After that, the electromagnet 302 returns to its original magnetic state again, and the nib 2 rotates after extending and returns to the normal use state.
[0066] The beneficial effects of this embodiment are: Compared with the traditional structure, the improved solution can prevent the nib 2 of the stylus from being damaged during the dropping process. The telescopic structure 3 provides sufficient supporting force, and the nib 2 will not retract even when the user writes forcefully. The electromagnet 302 only rotates and fixes the nib 2, consuming less power and increasing the battery life of the stylus.
[0067] According to some embodiments of the present application, a control method for a stylus is proposed, which is used for the stylus proposed in any of the above embodiments.
[0068] As shown Figure 15 in the figure, one of the schematic flowcharts of a control method for a stylus is shown:
[0069] Step 402: Obtain the acceleration;
[0070] Step 404: Adjust the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the nib switches between the first state and the second state.
[0071] In this embodiment, the control method of the stylus includes obtaining the acceleration of the stylus, adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the nib can switch between the first state and the second state. When the nib is in the first state, at least a part of the nib extends out of the shell, so that the nib can write normally. When the nib is in the second state, the nib retracts into the shell to avoid damage to the nib when the stylus drops. That is, by detecting the acceleration of the stylus, the distance between the first telescopic part and the second telescopic part can be adjusted, and then the nib can be controlled to retract into the shell when the stylus drops.
[0072] Specifically, the first telescopic part or the second telescopic part can be controlled to rotate according to the acceleration, so that the nib switches between the first state and the second state.
[0073] As shown Figure 16 in the figure, another schematic flowchart of a control method for a stylus is shown:
[0074] Step 502: Obtain the acceleration;
[0075] Step 504: Based on the acceleration being greater than or equal to the acceleration threshold, adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the second state;
[0076] Step 506: Based on the acceleration dropping to 0 m / s 2 , adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the first state.
[0077] In this embodiment, one of the first telescopic part and the second telescopic part includes a plurality of magnets, and the other includes a plurality of electromagnets. Through the interaction between the plurality of magnets and the plurality of electromagnets, one of the first telescopic part or the second telescopic part can be rotated relative to the other, so as to realize the engagement or coincidence between the limiting post and the limiting groove. Among them, the step of controlling the rotation of the first telescopic part or the second telescopic part according to the acceleration to switch the pen tip between the first state and the second state specifically includes: when the acceleration is greater than or equal to the acceleration threshold, it indicates that the stylus has fallen. Adjust the current of the electromagnet so that the first telescopic part or the second telescopic part rotates, driving the pen tip to move to the second state, so that the pen tip retracts into the shell, thereby avoiding damage to the pen tip when the stylus falls. When the acceleration drops to 0m / s 2 , it indicates that the fall of the stylus is completed. At this time, control the rotation of the first telescopic part or the second telescopic part to drive the pen tip to move to the first state, so that the pen tip extends out of the shell for writing.
[0078] It can be understood that when the stylus does not fall, control the electromagnet to work so that the stylus is in the first state of extending out of the shell. When the stylus falls, the acceleration sensor detects that the acceleration of the stylus is greater than the acceleration threshold, and controls the electromagnet to work so that the pen tip retracts into the shell, that is, switches from the first state to the second state. When the acceleration sensor detects that the acceleration drops to 0m / s 2 , it indicates that the fall process is over. At this time, control the electromagnet to work again so that the pen tip extends out of the shell and the pen tip returns to the first state.
[0079] In a specific application, the acceleration threshold is 9.8m / s 2 .
[0080] According to some embodiments of the present application, a limiting groove is provided on the first telescopic part, and a limiting post is provided on the second telescopic part. The step of adjusting the current of the electromagnet to drive the rotation of the first telescopic part or the second telescopic part to move the pen tip to the second state specifically includes: controlling the current direction of the electromagnet to be the first direction, so that the corresponding electromagnet repels the magnet, and controlling the current of one of a pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, so as to drive the limiting post to rotate to a position corresponding to the notch of the limiting groove, make the electromagnet adsorb to the magnet, and the limiting post extends into the limiting groove, and the pen tip is in the second state.
[0081] In this embodiment, when the acceleration is greater than the acceleration threshold, the current direction of the electromagnet is controlled to be the first direction, so that the corresponding magnet and the electromagnet repel each other in the first state. At the same time, among a pair of electromagnets with the same magnetic poles in the electromagnet, the magnetic force of one electromagnet is greater than that of the other electromagnet, so that the limiting post rotates to a position corresponding to the notch of the limiting groove. In this position, the corresponding electromagnet and magnet are attracted to each other. Under the action of the adsorption force, the limiting post extends into the limiting groove, and then the pen tip is in the second state, so that the pen tip retracts into the shell body.
[0082] Among them, among a pair of electromagnets with the same magnetic poles in the electromagnet, the magnetic force of one electromagnet is greater than that of the other electromagnet. In this way, different magnitudes of suction forces can be generated by this pair of electromagnets, and the magnet will rotate towards the electromagnet with stronger magnetism, so that the pen tip generally receives an external force towards the electromagnet with stronger magnetism, avoiding the overall force balance state of the pen tip and being unable to rotate.
[0083] According to some embodiments of the present application, the step of adjusting the current of the electromagnet and driving the first telescopic part or the second telescopic part to rotate to make the pen tip move to the first state specifically includes: controlling the current direction of the electromagnet to be the second direction to make the electromagnet and the magnet repel each other to drive the limiting post out of the limiting groove; controlling the current of one of a pair of electromagnets with the same magnetic poles in the electromagnet to be greater than that of the other to drive the limiting post to rotate to a position intersecting with the notch of the limiting groove, making the electromagnet and the magnet attract each other, and the pen tip is in the first state.
[0084] In this embodiment, when the acceleration of the stylus pen drops to 0 m / s 2 it indicates that the dropping process of the stylus pen ends. At this time, the acceleration sensor detects that the acceleration of the stylus pen drops to 0 m / s 2 , controlling the current direction of the electromagnet to be the second direction to make the electromagnet and the magnet repel each other, thereby driving the limiting post out of the limiting groove. At the same time, controlling the current of one of a pair of electromagnets with the same magnetic poles in the electromagnet to be greater than that of the other, thereby driving the magnet on the pen tip to rotate, making the limiting post rotate to a position intersecting with the notch of the limiting groove, and then the pen tip is in the first state. In the first state, the corresponding magnet and the electromagnet are attracted to each other, thereby ensuring the stability of the pen tip.
[0085] As Figure 17 shown, according to some embodiments of the present application, a control device for a stylus pen is also proposed, which is used for the stylus pen proposed in any of the above embodiments. The control device includes: an acquisition unit for acquiring the acceleration of the stylus pen; a control unit for adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration to switch the pen tip between the first state and the second state.
[0086] In this embodiment, the control device of the stylus includes an acquisition unit and a control unit. The acquisition unit is used to acquire the acceleration of the stylus, and the control unit is used to adjust the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the nib can be switched between a first state and a second state. When the nib is in the first state, at least a part of the nib extends out of the housing, so that the nib can write normally. When the nib is in the second state, the nib retracts into the housing to prevent the nib from being damaged when the stylus drops. That is, by detecting the acceleration of the stylus, the distance between the first telescopic part and the second telescopic part can be adjusted, and then the nib can be controlled to retract into the housing when the stylus drops.
[0087] According to some embodiments of the present application, one of the first telescopic part and the second telescopic part includes a plurality of magnets, and the other includes a plurality of electromagnets. The step of the control unit controlling the rotation of the first telescopic part or the second telescopic part according to the acceleration to switch the nib between the first state and the second state specifically includes: based on the acceleration being greater than the acceleration threshold, adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the second state; based on the acceleration decreasing to 0m / s 2 , adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the first state.
[0088] In this embodiment, one of the first telescopic part and the second telescopic part includes a plurality of magnets, and the other includes a plurality of electromagnets. Through the interaction of the plurality of magnets and the plurality of electromagnets, one of the first telescopic part or the second telescopic part can be rotated relative to the other, and then the clamping or fitting between the limiting post and the limiting groove can be realized. Among them, the step of controlling the rotation of the first telescopic part or the second telescopic part according to the acceleration to switch the nib between the first state and the second state specifically includes: when the acceleration is greater than or equal to the acceleration threshold, it indicates that the stylus drops. Adjust the current of the electromagnet to make the first telescopic part or the second telescopic part rotate, drive the nib to move to the second state, so that the nib retracts into the housing, and then prevent the nib from being damaged when the stylus drops. When the acceleration decreases to 0m / s 2 When it is time, it indicates that the stylus drop is completed. At this time, control the rotation of the first telescopic part or the second telescopic part to drive the nib to move to the first state, so that the nib extends out of the housing for easy writing.
[0089] It can be understood that when the stylus does not drop, control the electromagnet to work so that the stylus is in the first state of extending out of the housing. When the stylus drops, the acceleration sensor detects that the acceleration of the stylus is greater than the acceleration threshold, and controls the electromagnet to work so that the nib contracts into the housing, that is, switches from the first state to the second state. When the acceleration sensor detects that the acceleration decreases to 0m / s 2When the pen tip is moved out of the housing, it indicates that the falling process is finished. At this time, the electromagnet is controlled to work so that the pen tip extends out of the housing, so that the pen tip returns to the first state.
[0090] In specific applications, the acceleration threshold is 9.8m / s 2 .
[0091] According to some embodiments of the present application, a limit slot is provided on the first telescopic part, and a limit column is provided on the second telescopic part. The control unit adjusts the current of the electromagnet and drives the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the second state. The steps specifically include: controlling the current direction of the electromagnet to be a first direction, so that the corresponding electromagnet and the magnet repel each other, and controlling the current of one of a pair of electromagnets with the same magnetic poles in the electromagnet to be greater than the current of the other, so as to drive the limit column to rotate to a position corresponding to the notch of the limit slot, so that the electromagnet and the magnet are attracted to each other, the limit column extends into the limit slot, and the pen tip is in the second state.
[0092] In this embodiment, when the acceleration is greater than the acceleration threshold, the current direction of the control electromagnet is in the first direction, so that the corresponding magnet and electromagnet repel each other in the first state. At the same time, in a pair of electromagnets with the same magnetic poles in the control electromagnet, the magnetism of one electromagnet is greater than that of the other electromagnet, so that the limit column rotates to a position corresponding to the notch of the limit slot. In this position, the corresponding electromagnet and magnet are adsorbed, and under the action of the adsorption force, the limit column extends into the limit slot, and then the pen tip is in the second state, so that the pen tip is retracted into the shell.
[0093] Among them, in a pair of electromagnets with the same magnetic poles in the control electromagnet, the magnetism of one electromagnet is greater than that of the other electromagnet. In this way, the pair of electromagnets can generate suction forces of different sizes, and the magnet will rotate toward the direction of the electromagnet with stronger magnetism, so that the pen tip as a whole receives an external force in the direction of the electromagnet with stronger magnetism, thereby preventing the pen tip from being in a state of force balance as a whole and being unable to rotate.
[0094] According to some embodiments of the present application, the control unit adjusts the current of the electromagnet and drives the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the first state, specifically including: controlling the current direction of the electromagnet to be the second direction, so that the electromagnet and the magnet repel each other, so as to drive the limit column to disengage from the limit slot; controlling the current of one of a pair of electromagnets with the same magnetic poles in the electromagnet to be greater than the current of the other, driving the limit column to rotate to a position intersecting with the notch of the limit slot, so that the electromagnet and the magnet are attracted to each other, and the pen tip is in the first state.
[0095] In this embodiment, when the acceleration of the stylus is reduced to 0 m / s 2 In the case of , it means that the stylus pen has finished falling. At this time, the acceleration sensor detects that the acceleration of the stylus pen has dropped to 0m / s2 The current direction of the control electromagnet is the second direction, so that the electromagnet repels the magnet, thereby driving the limiting post out of the limiting groove. At the same time, the current of one of the pair of electromagnets with the same magnetic poles in the electromagnet is controlled to be greater than that of the other, thereby driving the magnet on the pen tip to rotate, so that the limiting post rotates to a position intersecting with the notch of the limiting groove, and thus the pen tip is in the first state. In the first state, the corresponding magnet is adsorbed to the electromagnet, thereby ensuring the stability of the pen tip.
[0096] According to some embodiments of the present application, a control device for a stylus is further proposed, including: a memory on which a program or instruction is stored; when the processor executes the program or instruction stored in the memory, the steps of the control method for the stylus proposed in any of the above embodiments are implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.
[0097] As Figure 18 shown, an embodiment of the present application further provides a stylus 700, including: a processor 702 and a memory 704. A program or instruction that can run on the processor 702 is stored on the memory 704. When the program or instruction is executed by the processor 702, each step of the control method embodiment of the above stylus 700 is implemented, and the same technical effects can be achieved. To avoid repetition, it will not be elaborated here.
[0098] Figure 19 It is a schematic diagram of the hardware structure of a stylus for implementing an embodiment of the present application.
[0099] The stylus 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0100] Those skilled in the art can understand that the stylus may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 14 The stylus structure shown in
[0101] does not constitute a limitation on the stylus. The stylus may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0102] In this embodiment, the control method of the stylus includes obtaining the acceleration of the stylus, adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the nib can be switched between the first state and the second state. When the nib is in the first state, at least a part of the nib extends out of the housing, so that the nib can write normally. When the nib is in the second state, the nib retracts into the housing to avoid damage to the nib when the stylus drops. That is, by detecting the acceleration of the stylus, the distance between the first telescopic part and the second telescopic part can be adjusted, and then the nib can be controlled to retract into the housing when the stylus drops.
[0103] When the processor 810 executes the step of controlling the rotation of the first telescopic part or the second telescopic part according to the acceleration to switch the nib between the first state and the second state, where one of the first telescopic part and the second telescopic part includes a plurality of magnets and the other includes a plurality of electromagnets, it is specifically configured to: based on the acceleration being greater than the acceleration threshold, adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the second state; based on the acceleration decreasing to 0m / s 2 , adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the first state.
[0104] In this embodiment, one of the first telescopic part and the second telescopic part includes a plurality of magnets and the other includes a plurality of electromagnets. Through the interaction between the plurality of magnets and the plurality of electromagnets, one of the first telescopic part or the second telescopic part can be rotated relative to the other, and then the engagement or coincidence between the limiting post and the limiting groove can be realized. Among them, the step of controlling the rotation of the first telescopic part or the second telescopic part according to the acceleration to switch the nib between the first state and the second state specifically includes: when the acceleration is greater than or equal to the acceleration threshold, it indicates that the stylus drops, adjust the current of the electromagnet so that the first telescopic part or the second telescopic part rotates, driving the nib to move to the second state, so that the nib retracts into the housing, and then the nib is avoided from being damaged when the stylus drops. When the acceleration decreases to 0m / s 2 , it indicates that the stylus drop is completed. At this time, control the rotation of the first telescopic part or the second telescopic part to drive the nib to move to the first state, so that the nib extends out of the housing for easy writing.
[0105] It can be understood that when the stylus does not drop, control the electromagnet to work so that the stylus is in the first state of extending out of the housing. When the stylus drops, the acceleration sensor detects that the acceleration of the stylus is greater than the acceleration threshold, and controls the electromagnet to work so that the nib shrinks into the housing, that is, switches from the first state to the second state. When the acceleration sensor detects that the acceleration decreases to 0m / s 2When it indicates that the dropping process ends, then control the electromagnet to work, so that the pen tip extends out of the housing, and the pen tip is restored to the first state.
[0106] In a specific application, the acceleration threshold is 9.8 m / s 2 .
[0107] When the processor 810 executes the step of adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the second state, it is specifically used for: controlling the current direction of the electromagnet to be the first direction, so that the corresponding electromagnet repels the magnet, and controlling the current of one of a pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, so as to drive the limit post to rotate to a position corresponding to the notch of the limit groove, making the electromagnet adsorb the magnet, the limit post extends into the limit groove, and the pen tip is in the second state.
[0108] In this embodiment, when the acceleration is greater than the acceleration threshold, control the current direction of the electromagnet to be the first direction, so that the corresponding magnet and the electromagnet repel each other in the first state. At the same time, control the magnetic property of one of a pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, so that the limit post rotates to a position corresponding to the notch of the limit groove. At this position, the corresponding electromagnet and the magnet adsorb each other. Under the action of the adsorption force, the limit post extends into the limit groove, and further the pen tip is in the second state, so that the pen tip retracts into the housing.
[0109] Among them, control the magnetic property of one of a pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other. In this way, different magnitudes of suction forces can be generated by this pair of electromagnets, and the magnet will rotate towards the electromagnet with stronger magnetic property, so that the pen tip generally receives an external force towards the electromagnet with stronger magnetic property, avoiding the overall force balance state of the pen tip and making it unable to rotate.
[0110] When the processor 810 executes the step of adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the first state, it is specifically used for: controlling the current direction of the electromagnet to be the second direction, so that the electromagnet and the magnet repel each other, to drive the limit post to disengage from the limit groove; controlling the current of one of a pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, driving the limit post to rotate to a position intersecting with the notch of the limit groove, making the electromagnet adsorb the magnet, and the pen tip is in the first state.
[0111] In this embodiment, when the acceleration of the stylus drops to 0 m / s 2 in the case, it indicates that the dropping process of the stylus ends. At this time, the acceleration sensor detects that the acceleration of the stylus drops to 0 m / s 2, control the current direction of the electromagnet to be the second direction, so that the electromagnet and the magnet repel each other, thereby driving the limit post to leave the limit slot. At the same time, control the current of one of a pair of electromagnets with the same magnetic poles in the electromagnet to be greater than the current of the other, thereby driving the magnet on the pen tip to rotate, so that the limit post rotates to a position intersecting with the notch of the limit slot, and then the pen tip is in the first state. In the first state, the corresponding magnet and the electromagnet are attracted to each other, thereby ensuring the stability of the pen tip.
[0112] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0113] The memory 809 can be used to store software programs and various data. The memory 809 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 can include volatile memory or non-volatile memory, or the memory 809 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 809 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
[0114] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 810 either.
[0115] The embodiments of the present application also provide a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, it implements each process of the control method embodiment of the above electronic device and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0116] Among them, the processor is the processor in the electronic device in the above embodiments. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs.
[0117] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above embodiment of the control method of the stylus, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0118] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip.
[0119] An embodiment of the present application provides a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above embodiment of the control method of the stylus, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0120] An embodiment of the present application also proposes an electronic device component, including: the stylus proposed in any of the above embodiments, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0121] It can be understood that the electronic device component further includes an electronic device on which the stylus can write. Specifically, the electronic device may be a terminal or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, an in-vehicle electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0122] 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 application. 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 may be combined in a suitable manner in any one or more embodiments or examples.
[0123] Although the embodiments of the present application 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 application, and the scope of the present application is defined by the claims and their equivalents.
Claims
1. A stylus, characterized in that, Comprising: A housing; A nib, movably connected to the housing; A telescopic structure, the telescopic structure including a first telescopic part and a second telescopic part arranged oppositely, the first telescopic part being arranged inside the housing, and the second telescopic part being arranged on the nib; An acceleration sensor for detecting the acceleration of the stylus; A controller, connected to the acceleration sensor and the telescopic structure, for adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the nib switches between a first state and a second state; In the first state, at least a part of the nib extends out of the housing; In the second state, the nib retracts into the housing; One of the first telescopic part and the second telescopic part includes a plurality of magnets, and the other includes a plurality of electromagnets; The controller is specifically configured to: based on the acceleration being greater than or equal to an acceleration threshold, adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the nib moves to the second state; Based on the acceleration being reduced to 0 m / s 2 , adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the first state.
2. The stylus according to claim 1, wherein A limiting groove is provided on the first telescopic part, and a limiting post is provided on the second telescopic part; In the first state, the limiting post is located at the top of the limiting groove, and the end of the limiting post intersects with the notch of the limiting groove; In the second state, the limiting post is located inside the limiting groove.
3. The stylus according to claim 2, wherein At least one of the first telescopic part and the second telescopic part can rotate relative to the housing, and the plurality of magnets and the plurality of electromagnets are all arranged at intervals along the circumferential direction of the rotation axis of the first telescopic part or the second telescopic part, the adjacent magnets having opposite magnetic poles, and the adjacent electromagnets having opposite magnetic poles, Wherein, in the first state and the second state, the plurality of magnets and the plurality of electromagnets are arranged in one-to-one correspondence, and the controller controls the electromagnet to work so that the magnets and the electromagnets are adsorbed to each other.
4. The stylus according to claim 3, characterized in that, The first telescopic part further includes: A first body, the limiting groove being arranged in the middle of the first body, and the plurality of electromagnets being arranged at intervals along the circumferential direction of the limiting groove on the first body.
5. The stylus according to claim 4, wherein, The second telescopic part further includes: A second body, arranged opposite to the first body, the nib being arranged on the second body, the limiting post being arranged on the side of the second body facing the first body, and the plurality of magnets being arranged at intervals along the circumferential direction of the nib on the second body.
6. The stylus according to claim 4, wherein A groove is provided on the first body, the limiting groove extending from the bottom wall of the groove in a direction away from the nib, in the first state, the limiting post is arranged in the groove, and the limiting post can rotate in the groove.
7. The stylus according to claim 6, wherein The groove is a circular groove, and along the circumferential direction of the rotation of the limiting post, the radius of the circle passed by the edge of the limiting post is the same as the radius of the groove.
8. A control method for a stylus, which is used for the stylus according to any one of claims 1 to 7, characterized in that, The control method includes: Obtaining the acceleration; Adjust the distance between the first telescopic part and the second telescopic part according to the acceleration, so that the pen tip switches between the first state and the second state.
9. The control method of the stylus according to claim 8, wherein one of the first telescopic part and the second telescopic part includes a plurality of magnets, and the other includes a plurality of electromagnets, characterized in that The step of adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration so that the pen tip switches between the first state and the second state specifically includes: Based on the acceleration being greater than or equal to the acceleration threshold, adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the second state; Based on the acceleration being reduced to 0 m / s 2 , adjust the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the first state.
10. The control method of the stylus according to claim 9, wherein, A limiting groove is provided on the first telescopic part, and a limiting post is provided on the second telescopic part. The step of adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the second state specifically includes: Control the current direction of the electromagnet to be the first direction, so that the corresponding electromagnet repels the magnet, and control the current of one of the pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, so as to drive the limiting post to rotate to a position corresponding to the notch of the limiting groove, make the electromagnet adsorb to the magnet, the limiting post extends into the limiting groove, and the pen tip is in the second state.
11. The control method of the stylus according to claim 10, characterized in that, The step of adjusting the current of the electromagnet to drive the first telescopic part or the second telescopic part to rotate so that the pen tip moves to the first state specifically includes: Control the current direction of the electromagnet to be the second direction, so that the electromagnet repels the magnet, so as to drive the limiting post to disengage from the limiting groove; Control the current of one of the pair of electromagnets with the same magnetic pole in the electromagnet to be greater than that of the other, drive the limiting post to rotate to a position intersecting with the notch of the limiting groove, make the electromagnet adsorb to the magnet, and the pen tip is in the first state.
12. A control device for a stylus, characterized in that, For the stylus according to any one of claims 1 to 7, the control device includes: An acquisition unit for acquiring the acceleration of the stylus; A control unit for adjusting the distance between the first telescopic part and the second telescopic part according to the acceleration so that the pen tip switches between the first state and the second state.
13. A stylus pen, characterized in that, Including: A processor and a memory, the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the control method of the stylus according to any one of claims 8 to 11 are implemented.
14. A readable storage medium, on which a program or instructions are stored, characterized in that, When the program or instruction is executed by the processor, the control method of the stylus according to any one of claims 8 to 11 is executed.
15. An electronic device component, characterized in that, Including: The stylus according to any one of claims 1 to 7.
Citation Information
Patent Citations
Shooting pen
CN108769470A