Stylus and method for controlling stylus
By introducing a combination of detector and transmitting electrodes into the stylus and combining intelligent control of the control unit, the problems of energy consumption and signal interference in the prior art are solved, and the efficient and sensitive writing and erasing functions of the stylus are realized.
Patent Information
- Application Number
- CN202510571238.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-18
AI Technical Summary
The writing erasing function of existing stylus pens has shortcomings in energy consumption control and signal interference, which affects the accuracy and sensitivity of the operation.
The first and second detectors are used to detect the contact state between the pen tail and the pen tip and the touch screen, and the indication signal is sent through the first and second transmitting electrodes, and the working state of the electrode is controlled in combination with the control unit to realize the precise writing and erasing function, and the pressure signal is stably transmitted through the elastic connector.
It reduces the energy consumption of the stylus, reduces external signal interference, and improves the response sensitivity and operation flexibility of the writing erase function.
Smart Images

Figure CN120335630A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technologies, and in particular, to a stylus and a control method for the stylus. Background Art
[0002] With the continuous development of electronic technologies, touchscreens have become the mainstream interface for human-computer interaction due to their intuitive and convenient operation advantages. A stylus can help improve the accuracy and professionalism of touchscreen operations. In some application scenarios, for example, when a user draws audio-visual images, it is necessary to use the writing and erasing function of the stylus to erase the written handwriting. In related technologies, the writing and erasing function continuously emits an erasing signal through an electrode at the pen tail or emits an erasing signal through Bluetooth. The former is not conducive to controlling the power consumption of the stylus, and the latter is easily interfered by external signals, affecting the sensitivity of the erasing response. Summary of the Invention
[0003] In view of this, the present disclosure provides a stylus and a control method for the stylus.
[0004] One aspect of the present disclosure provides a stylus, including: a body including a main body portion and a pen tail portion connected to the main body portion; a first detector for detecting the contact state between the pen tail portion and the touchscreen of an electronic device; a first receiving electrode disposed on the pen tail portion for detecting a first signal sent by the touchscreen; a first transmitting electrode disposed on the pen tail portion; when the first transmitting electrode is in a first working state, the first transmitting electrode is used to send a second signal to the touchscreen, and the second signal is used to indicate the position of the pen tail portion on the touchscreen; when the first transmitting electrode is in a second working state, the first transmitting electrode is used to send a third signal to the touchscreen, and the third signal is used to instruct the touchscreen to execute a writing and erasing function.
[0005] According to an embodiment of the present disclosure, a control unit is disposed in the main body portion, and the control unit is electrically connected to the first receiving electrode and the first transmitting electrode respectively; the control unit is configured to control the first transmitting electrode to be in the second working state in response to a signal detected by the first detector that satisfies a first preset condition, and control the first transmitting electrode to be in a non-working state when the first signal is not received.
[0006] According to an embodiment of the present disclosure, the body further includes a nib portion, and the nib portion is connected to an end of the main body portion opposite to the pen tail portion; the nib portion includes: a second receiving electrode for detecting a first signal sent by a touch screen of an electronic device, and a second transmitting electrode; a second detector for detecting a contact state between the nib portion and the touch screen; a control unit is electrically connected to the second receiving electrode and the second transmitting electrode respectively; wherein, the control unit is configured to: in response to the first receiving electrode or the second receiving electrode detecting the first signal, control the first transmitting electrode and the second transmitting electrode to be in a first working state, and when the second transmitting electrode is in the first working state, the second transmitting electrode is used to send a fourth signal to the touch screen, and the fourth signal is used to indicate the position of the nib portion on the touch screen.
[0007] According to an embodiment of the present disclosure, the control unit is configured to, in response to the second detector detecting a signal that meets a second preset condition, control the second transmitting electrode to be in a third working state and control the first transmitting electrode to be in a non-working state; when the second transmitting electrode is in the third working state, the second transmitting electrode is used to send a fifth signal to the touch screen, and the fifth signal is used to indicate the touch screen to execute a writing function.
[0008] According to an embodiment of the present disclosure, the first detector is a multi-stage pressure sensor, and the control unit is used to encode the pressure data from the multi-stage pressure sensor to generate a third signal, and the third signal includes indication information related to the erasing width of the erasing function.
[0009] According to an embodiment of the present disclosure, the first detector is disposed in the main body portion, and the stylus further includes: an elastic connecting member, one end of the elastic connecting member extends into the main body portion and abuts against the first detector, and the other end of the elastic connecting member is connected to the tail portion, so as to transmit the pressure to the first detector through the elastic connecting member when the tail portion is in contact with the touch screen.
[0010] Another aspect of the present disclosure provides a method for controlling a stylus, including: in response to a first receiving electrode of the pen tail portion of the stylus detecting a first signal sent by a touch screen, controlling the first transmitting electrode of the pen tail portion to be in a first working state, and in the first state, the first transmitting electrode can send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail portion on the touch screen; in response to the first detector of the stylus detecting a signal that meets a first preset condition, controlling the first transmitting electrode to be in a second working state, and in the second working state, the first transmitting electrode sends a third signal to the touch screen, and the third signal is used to indicate the touch screen to execute a writing and erasing function.
[0011] According to an embodiment of the present disclosure, it further includes: in response to a first signal sent by a touch screen being detected by a first receiving electrode at the pen tail or a second receiving electrode at the pen tip of a stylus pen, controlling a first transmitting electrode at the pen tail and a second transmitting electrode at the pen tip to be in a first working state. In the first state, the second transmitting electrode can transmit a fourth signal to the touch screen to indicate the position of the pen tip on the touch screen.
[0012] According to an embodiment of the present disclosure, it further includes: in response to a signal satisfying a second preset condition being detected by a second detector of the stylus pen, controlling the second transmitting electrode at the pen tip to be in a third working state and controlling the first transmitting electrode to be in a non-working state. In the third working state, the second transmitting electrode is used to send a fifth signal to the touch screen, and the fifth signal is used to instruct the touch screen to execute a writing function.
[0013] Another aspect of the present disclosure provides a method for controlling a stylus pen, including: in response to a first signal sent by an electronic device touch screen being detected by a receiving electrode at either end of a first receiving electrode at the pen tail or a second receiving electrode at the pen tip of the stylus pen, at least controlling the transmitting electrode at the corresponding end to be in a first working state. In the first working state, the transmitting electrode can send a signal for indicating the position of either end on the touch screen to the touch screen; in response to a signal satisfying a first preset condition being detected by a first detector at the pen tail of the stylus pen, controlling the first transmitting electrode at the pen tail to be in a second working state. In the second working state, the first transmitting electrode sends a third signal to the touch screen, and the third signal is used to instruct the touch screen to execute a writing and erasing function. According to the present disclosure provided.
[0014] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Through the following description of the embodiments of the present disclosure with reference to the drawings, the above and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:
[0016] Figure 1 Schematically shows a structural diagram of a stylus pen according to related embodiments;
[0017] Figure 2 Schematically shows an overall structural diagram of a stylus pen according to an embodiment of the present disclosure;
[0018] Figure 3 Schematically shows a connection diagram of a control unit of a stylus pen according to an embodiment of the present disclosure;
[0019] Figure 4 Schematically shows a schematic diagram of processing pressure data according to an embodiment of the present disclosure;
[0020] Figure 5 Schematically shows a flowchart of a control method for a stylus according to an embodiment of the present disclosure;
[0021] Figure 6 Schematically shows a flowchart of a control method for a stylus according to another embodiment of the present disclosure;
[0022] Figure 7 Schematically shows a flowchart of a control method for a stylus according to another embodiment of the present disclosure. Detailed implementation manners
[0023] To make the objectives, technical solutions and advantages of the present disclosure more clear and understandable, the following further describes the present disclosure in detail with reference to specific embodiments and the accompanying drawings.
[0024] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0025] All terms used herein, including technical and scientific terms, have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0026] In the case of using expressions such as "at least one of A, B, and C, etc.", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art. For example, a "system having at least one of A, B, and C" should include, but is not limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C. In the case of using expressions such as "at least one of A, B, or C, etc.", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art. For example, a "system having at least one of A, B, or C" should include, but is not limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C.
[0027] It should also be noted that the directional terms mentioned in the embodiments, such as "up", "down", "front", "rear", "left", "right", etc., are only references to the directions in the drawings and are not used to limit the protection scope of the present disclosure. Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure.
[0028] Figure 1 Schematically shows a structural schematic diagram of a stylus according to related embodiments.
[0029] In related embodiments, as Figure 1 shown, a transmitting electrode 12 for transmitting a handwriting erasure signal is provided at the pen tail 11 of the stylus. When erasing the handwriting on the touch screen, the touch screen can recognize the handwriting erasure signal, so as to erase the written handwriting. However, in this way, when the stylus is far away from the touch screen, the transmitting electrode 12 still outputs a signal, which is not conducive to the control of the power consumption of the stylus.
[0030] In other related embodiments, an induction electrode can also be provided at the pen tail of the stylus. When the pen tail approaches the touch screen, it interacts with the touch screen through the induction electrode, so as to activate the handwriting erasure function of the pen tail, and then use a wireless module such as Bluetooth to send a handwriting erasure signal. This method is easily interfered by external signals, has a high delay, and also has a high power consumption.
[0031] Figure 2 Schematically shows an overall structural schematic diagram of a stylus according to an embodiment of the present disclosure.
[0032] According to the stylus provided by the present disclosure, as Figure 2 shown, the stylus includes a body, a first detector 24, a first receiving electrode 25, and a first transmitting electrode 23. The body includes a main body portion 21 and a pen tail portion 22 connected to the main body portion 21. The first detector 24 is used to detect the contact state between the pen tail portion 22 and the touch screen of the electronic device. The first receiving electrode 25 is provided on the pen tail portion 22 and is used to detect a first signal sent by the touch screen. The first transmitting electrode 23 is provided on the pen tail portion 22; when the first transmitting electrode 23 is in the first working state, the first transmitting electrode 23 is used to send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail portion 22 on the touch screen. When the first transmitting electrode 23 is in the second working state, the first transmitting electrode 23 is used to send a third signal to the touch screen, and the third signal is used to instruct the touch screen to execute a writing erasure function.
[0033] The first detector 24 can be a detector for detecting the pressure received by the pen tail portion 22. If the first detector 24 does not detect pressure, it can be determined that the pen tail portion 22 is not in contact with the touch screen. If the first detector 24 detects pressure, it can be determined that the pen tail portion 22 is in a contact and stressed state with the touch screen.
[0034] In a schematic embodiment, the touch screen may be a capacitive touch screen. A transmitting module is provided inside the touch screen, and the transmitting module is capable of continuously transmitting a first signal, which may be an uplink coding signal sent by the touch screen based on a coding protocol. The first receiving electrode 25 may be set as a ring-shaped conductive film electrode. By setting the first receiving electrode 25 as a ring shape, the area of the first receiving electrode 25 can be increased, and the receiving efficiency of the first signal can be improved.
[0035] When the stylus approaches the touch screen, the first receiving electrode 25 receives the first signal transmitted by the touch screen, such as an uplink coding signal recognized by the screen based on a coding protocol. The present disclosure is not limited thereto. The touch screen may also be an electromagnetic touch screen. At this time, the first receiving electrode may be set as a ring-shaped coil electrode. When the stylus approaches the touch screen, the first signal transmitted by the touch screen is captured through electromagnetic induction.
[0036] The first transmitting electrode 23 may be set as a cylindrical electrode to concentrate the electric field. When the first transmitting electrode 23 is in a working state, the first transmitting electrode 23 can actively transmit electromagnetic waves or electrical signals. The touch screen is provided with a corresponding receiving module for receiving the electromagnetic waves or electrical signals transmitted by the first transmitting electrode 23. The electrical signal is, for example, a downlink coding signal sent by the stylus to the screen based on a coding protocol.
[0037] The second signal may be, for example, a hover coding signal transmitted by the first transmitting electrode 23 to the touch screen based on a coding protocol. The hover coding signal can be received by the receiving module of the touch screen and converted into an electrical signal, and then analyzed and decoded by the signal processing circuit inside the touch screen to determine the position of the stylus on the touch screen.
[0038] The third signal may be, for example, a pen-tail pressure coding signal generated based on the pressure received by the pen-tail 22 of the stylus when the pen-tail 22 of the stylus contacts the touch screen. The touch screen can execute a writing and erasing function according to the pen-tail pressure coding signal transmitted by the first transmitting electrode 23.
[0039] When the first receiving electrode 25 receives the first signal, the first transmitting electrode 23 can be made to be in a first working state. When it is detected that the pen-tail 22 is in a contact and stressed state with the touch screen, the first transmitting electrode 23 can be made to be in a second working state.
[0040] When the user moves the pen tail 22 of the stylus into the range of the first signal emitted by the touch screen, the first receiving electrode 25 can detect the first signal. After the first receiving electrode 25 detects the first signal, the first transmitting electrode 23 is turned on and in the first working state. In the first working state, the first transmitting electrode 23 emits a second signal. After receiving the second signal, the touch screen can display the coding mark of the pen tail 22 on the touch screen, and the coding mark is used to show the position of the pen tail 22 on the touch screen. When the pen tail 22 contacts the touch screen, the first detector 24 can detect the contact pressure between the pen tail 22 and the touch screen. At this time, the first transmitting electrode 23 can switch from the first working state to the second working state and send a third signal to the touch screen. After receiving the third signal, the touch screen performs the corresponding writing and erasing functions.
[0041] In such an embodiment, since the first receiving electrode 25 capable of receiving the first signal emitted by the touch screen is configured, the working state of the first transmitting electrode 23 can be determined according to whether the first signal is received. When the stylus is away from the touch screen, the first transmitting electrode 23 can be turned off, thereby reducing power consumption. At the same time, directly using the first receiving electrode 25 to receive the first signal and using the first transmitting electrode 23 to send the second signal and the third signal can enable the second signal and the third signal to reach the touch screen directly through physical coupling, without being interfered by external signals, reducing latency, and improving the response sensitivity of the writing and erasing functions.
[0042] Figure 3 Schematically shows a connection diagram of the control unit of the stylus according to an embodiment of the present disclosure.
[0043] According to an embodiment of the present disclosure, as Figure 3 shown, a control unit 30 is provided in the main body 21 of the stylus. The control unit 30 is electrically connected to the first receiving electrode 25 and the first transmitting electrode 23 respectively. The control unit 30 is configured to control the first transmitting electrode 23 to be in the second working state in response to the signal detected by the first detector 24 that meets the first preset condition, and to control the first transmitting electrode 23 to be in the non-working state in the state of not receiving the first signal.
[0044] The control unit 30 can be a microcontroller unit (MCU) or an integrated circuit chip, etc. When the pen tail 22 of the stylus approaches the touch screen, the control unit 30 can receive the first signal from the first receiving electrode 25, and the control unit 30 controls the first transmitting electrode 23 to be in the first working state according to the first signal. When the pen tail 22 of the stylus is away from the touch screen, in the case of not receiving the first signal, the control unit 30 can turn off the first transmitting electrode 23 to make it in the non-working state, thereby saving power consumption.
[0045] The control unit 30 is also electrically connected to the first detector 24, receives the pressure signal detected by the first detector 24, and when the detected pressure signal meets the signal of the first preset condition, the control unit 30 switches the first transmitting electrode 23 from the first working state to the second working state and transmits a third signal to the first transmitting electrode 23.
[0046] The first preset condition may include a preset pressure threshold. When the pressure borne by the pen tail 22 is greater than the preset pressure threshold, it indicates that the user may intend to perform the writing erasure function.
[0047] In some embodiments, the control unit 30 may further include multiple microprocessors or multiple integrated circuit chips. For example, two microprocessors may be provided, such as Figure 3 the shown MCU1 and MCU2. MCU2 may be electrically connected to the first receiving electrode 25 and the first transmitting electrode 23, and is used to process the first signal from the first receiving electrode 25 and control the working state of the second transmitting electrode. MCU1 may be electrically connected to the first detector 24 and communicatively connected to MCU2. The pressure signal sent by the first detector 24 is converted into a third signal by MCU1 and sent to MCU2, and MCU2 sends the third signal to the first transmitting electrode 23. Thus, the two microprocessors can operate independently at the same time. MCU2 can quickly respond to touch operations, and MCU1 focuses on pressure signal processing, sharing the load of each microprocessor and improving the response speed.
[0048] According to an embodiment of the present disclosure, as Figure 3 shown, the body further includes a nib portion, and the nib portion is connected to an end of the main body portion 21 opposite to the pen tail 22. The nib portion includes a second receiving electrode 28, a second transmitting electrode 27, and a second detector 29. The second receiving electrode 28 is used to detect the first signal sent by the touch screen of the electronic device. The second detector 29 is used to detect the contact state between the nib portion and the touch screen. The control unit 30 is electrically connected to the second receiving electrode 28 and the second transmitting electrode 27 respectively. The control unit 30 is configured to control the first transmitting electrode 23 and the second transmitting electrode 27 to be in the first working state in response to the first signal detected by the first receiving electrode 25 or the second receiving electrode 28. When the second transmitting electrode 27 is in the first working state, the second transmitting electrode 27 is used to send a fourth signal to the touch screen, and the fourth signal is used to indicate the position of the nib portion on the touch screen.
[0049] In the case where the control unit 30 includes multiple microprocessors, for example, in the case where the control unit 30 includes two microprocessors, the first transmitting electrode 23, the first receiving electrode 25, the second transmitting electrode 27, the second receiving electrode 28, and the second transmitting electrode 27 may be connected to the same microprocessor, such as Figure 3The MCU2 shown; connecting the first detector 24 and the second detector 29 to the same microprocessor, such as Figure 3 the MCU1 shown. To achieve parallel processing of the pressure signal and the electrode signal.
[0050] The second receiving electrode 28 can be an electrode of the same type as the first receiving electrode 25. The present disclosure is not limited to this. The second receiving electrode 28 can also be a composite electrode with both receiving and transmitting functions. The composite electrode can switch between the receiving mode and the transmitting mode in a time-sharing or frequency-division mode. In the transmitting mode, it can supplement the signal coverage range of the second transmitting electrode 27 and enhance the electric field strength. In the receiving mode, it detects the first signal emitted by the touch screen.
[0051] The second transmitting electrode 27 can be an electrode of the same type as the first transmitting electrode 23. The second transmitting electrode and the first transmitting electrode can emit signals with the same function. For example, the fourth signal can also be the hover coding signal emitted by the second transmitting electrode 28 to the touch screen based on the coding protocol.
[0052] After any one of the first receiving electrode 25 and the second receiving electrode 28 receives the first signal, both the first transmitting electrode 23 and the second transmitting electrode 27 will be turned on and in the first working state. At this time, the type of the coding mark displayed on the touch screen can be determined according to the respective distances of the tip part and the tail part 22 of the pen from the touch screen. For example, when the tip part is close to the touch screen, the coding mark of the tip part can be displayed on the touch screen. When the tail part 22 is close to the touch screen, the coding mark of the tail part 22 can be displayed. According to the coding mark, the position of the tip part or the tail part 22 on the touch screen is determined.
[0053] In such an embodiment, the combined use of the first receiving electrode 25 and the second receiving electrode 28 increases the coverage range and sensitivity of the stylus to receive the first signal of the touch screen. And when the first receiving electrode 25 or the second receiving electrode 28 detects the first signal, controlling both the first transmitting electrode 23 and the second transmitting electrode 27 to be in the first working state can enable both the first transmitting electrode 23 and the second transmitting electrode 27 to emit hover coding signals, thus facilitating the user to switch between the writing function and the writing erasing function at any time.
[0054] According to an embodiment of the present disclosure, the control unit 30 is configured to respond to the signal detected by the second detector 29 that meets the second preset condition, control the second transmitting electrode 27 to be in the third working state, and control the first transmitting electrode 23 to be in the non-working state; when the second transmitting electrode 27 is in the third working state, the second transmitting electrode 27 is used to send a fifth signal to the touch screen, and the fifth signal is used to instruct the touch screen to execute the writing function.
[0055] The second detector 29 may be a detector for detecting the pressure applied to the nib, and determine whether the nib is in contact with the touch screen according to the detected pressure. The present disclosure is not limited thereto. The second detector 29 may also be used to detect information such as the contact area and tilt angle of the nib, so as to provide more status information for the writing function of the nib.
[0056] The second preset condition may include a preset pressure threshold for the nib. When the pressing force applied by the user is greater than the preset pressure threshold of the nib, it indicates that the user may need to perform a writing operation.
[0057] The fifth signal may be, for example, a nib pressure coding signal generated based on the pressure received by the nib of the stylus when it contacts the touch screen. The touch screen can execute the writing function according to the nib pressure coding signal transmitted by the second transmitting electrode 27.
[0058] In some embodiments, when the first detector 24 detects that the first preset condition is met and the second detector 29 detects that the second preset condition is not met, the first transmitting electrode 23 is controlled to be in the second working state, and the second transmitting electrode 27 is controlled to be in the non-working state. In other words, when controlling the pen tail 22 to execute the writing and erasing function, the writing function of the nib is controlled to be turned off. When the first detector 24 detects that the first preset condition is met and the second detector 29 detects that the second preset condition is met, the second transmitting electrode 27 is preferentially controlled to be in the third working state, and the first transmitting electrode 23 is controlled to be in the non-working state. In other words, if pressure is received by both the nib and the pen tail 22 at the same time, the nib is preferentially controlled to execute the writing function to ensure the normal operation of the writing function.
[0059] In such an embodiment, when the second detector 29 detects a signal that meets the second preset condition, the control unit 30 places the first transmitting electrode 23 in the non-working state, and only allows the second transmitting electrode 27 to work in the third state, avoiding the interference caused to the normal writing function by the user accidentally touching the pen tail 22 and activating the writing erasing function during the writing process. It ensures that the fifth signal can be accurately received and parsed by the touch screen, thereby guaranteeing the normal operation of the writing function.
[0060] According to an embodiment of the present disclosure, as Figure 3 shown, the first detector 24 is disposed in the body portion, and the stylus further includes an elastic connecting member 26. One end of the elastic connecting member 26 extends into the main body portion 21 and abuts against the first detector 24, and the other end of the elastic connecting member 26 is connected to the pen tail 22, so as to transmit the pressure to the first detector 24 through the elastic connecting member 26 when the tail is in contact with the touch screen.
[0061] The elastic connecting member 26 can be, for example, a compression spring or other elastic member. When a downward pressure is applied to the pen tail 22, the elastic connecting member 26 is compressed, undergoes elastic deformation, and transmits the pressure evenly and stably to the first detector 24.
[0062] In some embodiments, a certain spacing can also be reserved between the pen tail 22 and the main body 21. When the pen tail 22 is under pressure, the pen tail 22 contracts towards the main body 21 and transmits the pressure to the first detector 24 through the elastic connecting member 26.
[0063] In such an embodiment, since the elastic connecting member 26 has the ability of elastic deformation, when a user applies pressure to the pen tail 22, the pressure can be transmitted evenly and stably to the first detector 24, which can avoid local stress concentration or pressure mutation, reduce the pressure peak directly acting on the sensor, and prevent the sensor from being damaged due to overload.
[0064] According to an embodiment of the present disclosure, the first detector 24 is a multi-stage pressure sensor, and the control unit 30 is configured to encode and process the pressure data from the multi-stage pressure sensor to generate a third signal, and the third signal includes indication information related to the erasing width of the erasing function.
[0065] The multi-stage pressure sensor can be a piezoresistive multi-stage pressure sensor. The piezoresistive multi-stage pressure sensor is internally provided with an elastic sensitive element, such as a silicon diaphragm. Under the action of pressure, the diaphragm will deform, resulting in a change in the resistance value of the piezoresistive elements distributed thereon. Multiple regions with different strain degrees are set on the diaphragm, and each region corresponds to a pressure threshold. When pressure is applied to the sensor, the resistance change degrees of the piezoresistive elements in different regions are different. By measuring the resistance change and through signal processing, voltage signals corresponding to different pressure levels can be obtained. The present disclosure is not limited thereto, and the multi-stage pressure sensor can also be a piezoelectric multi-stage sensor, a capacitive multi-stage pressure sensor, etc.
[0066] An analog front-end (AFE) module 31 can also be provided between the first detector 24 and the control unit 30, such as Figure 3 the AFE2 shown. The analog front-end module 31 is a key circuit connecting the multi-stage pressure sensor and the control unit 30. The analog front-end module 31 can collect the weak voltage signal output by the multi-stage pressure sensor, amplify the voltage signal through a built-in programmable gain amplifier, and convert the amplified voltage signal into a digital signal and send it to the control unit 30.
[0067] Similarly, the second detector 29 can also be a multi-stage pressure sensor, and an analog front-end module 31 is provided between the second detector 29 and the control unit, such as Figure 3The shown AFE1 is used to amplify the voltage signal of the nib tip part.
[0068] After receiving the digital signal, the control unit 30 can encode the digital signal into a corresponding pressure level. Each pressure level corresponds to a specific digital code, and then the digital code is modulated and converted into a third signal.
[0069] The control unit 30 can preset the mapping relationship between pressure and erasing width inside. For example, it can be stipulated that the minimum pressure corresponds to the minimum erasing width, such as 2 pixels, and the maximum pressure corresponds to the maximum erasing width, such as 50 pixels. According to the preset mapping relationship, the control unit 30 encodes the calculated erasing width value according to the preset encoding rule, and generates indication information related to the erasing width of the erasing function.
[0070] In such an embodiment, different erasing widths allow users to perform fine or large-area erasing operations according to actual needs. For example, in scenarios such as drawing and writing, users can easily switch the erasing range by controlling the pressure magnitude. For example, when drawing a fine pattern, a lighter pressure is used for small-range fine erasing; when large-area modification is required, a heavier pressure is used for quick erasing, improving the operation flexibility and efficiency.
[0071] Figure 4 Schematically shows the schematic diagram of processing pressure data according to an embodiment of the present disclosure.
[0072] As Figure 4 Shown, when the stylus is in a contact and stressed state with the touch screen, the first detector 24 can analogize the pressure data as a voltage signal and transmit it to the analog front-end module 31. After amplifying the voltage signal, the analog front-end module 31 converts the voltage signal into a digital signal and sends it to the control unit 30. The control unit 30 converts the digital signal into a corresponding pressure level according to a preset algorithm or program and encodes it, and then converts it into a third signal and sends it to the first transmitting electrode 23. The first transmitting electrode 23 sends the third signal to the touch screen to instruct the touch screen to execute the handwriting erasing function.
[0073] Figure 5 Schematically shows the flowchart of the control method of the stylus according to an embodiment of the present disclosure.
[0074] As Figure 5 Shown, this control method includes operations S510~S520.
[0075] In operation S510, in response to the first receiving electrode 25 of the pen tail 22 of the stylus detecting a first signal sent by the touch screen, the first transmitting electrode 23 of the pen tail 22 is controlled to be in a first working state. In the first state, the first transmitting electrode 23 can send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail 22 on the touch screen.
[0076] In operation S520, in response to the first detector 24 of the stylus detecting a signal that meets a first preset condition, the first transmitting electrode 23 is controlled to be in a second working state. In the second working state, the first transmitting electrode 23 sends a third signal to the touch screen, and the third signal is used to indicate the touch screen to execute a writing and erasing function.
[0077] According to an embodiment of the present disclosure, controlling the first transmitting electrode 23 of the pen tail 22 to be in the second working state in response to the first detector 24 of the stylus detecting a signal that meets a first preset condition may further include: in response to the first detector 24 of the stylus detecting a signal that meets a first preset condition, encoding the pressure data sent by the first detector 24 by using the control unit 30 to obtain a third signal; using the control unit 30 to send the third signal to the first transmitter so that the first transmitter is in the second working state.
[0078] According to an embodiment of the present disclosure, after controlling the first transmitting electrode 23 of the pen tail 22 to be in the second working state, in response to the first detector 24 of the stylus detecting a signal that does not meet the first preset condition, the control unit 30 may be used to control the first transmitting electrode 23 to switch from the second working state to the first working state.
[0079] According to an embodiment of the present disclosure, after controlling the first transmitting electrode 23 of the pen tail 22 to be in the first working state, in the case where the first receiving electrode 25 of the pen tail 22 of the stylus does not detect the first signal emitted by the touch screen, the first transmitting electrode 23 may be controlled to be in a non-working state. Thus, when the stylus is away from the touch screen, the first transmitting electrode 23 can be turned off, thereby saving energy consumption.
[0080] According to an embodiment of the present disclosure, controlling the first transmitting electrode 23 of the pen tail 22 to be in the first working state may further include: in response to the first receiving electrode 25 of the pen tail 22 of the stylus or the second receiving electrode 28 of the pen tip detecting the first signal sent by the touch screen, controlling the first transmitting electrode 23 of the pen tail 22 and the second transmitting electrode 27 of the pen tip to be in the first working state. In the first state, the second transmitting electrode 27 can emit a fourth signal to the touch screen to indicate the position of the pen tip on the touch screen.
[0081] The fourth signal may be, for example, a hover coding signal emitted by the second transmitting electrode 28 to the touch screen based on a coding protocol.
[0082] When one end of the pen tip or the pen tail 22 moves into the range of the first signal, the first transmitting electrode 23 at the pen tail and the second transmitting electrode 27 at the pen tip will both emit hover coding signals. After receiving the hover coding signals, the touch screen determines the type of coding icon displayed on the touch screen based on the distances between the touch screen and the pen tip and the pen tail 22 respectively. If the pen tip is closer, the coding icon of the pen tip is displayed; if the pen tail 22 is closer, the coding icon of the pen tail 22 is displayed. According to the coding icon, the positions of the pen tip and the pen tail 22 on the touch screen are determined.
[0083] By detecting the first signal through the first receiving electrode 25 or the second receiving electrode 28, the first transmitting electrode 23 and the second transmitting electrode 27 are controlled to be in the first working state, so that both the first transmitting electrode 23 and the second transmitting electrode 27 can emit hover coding signals, thus facilitating the user to switch between the writing function and the writing erasing function at any time.
[0084] According to an embodiment of the present disclosure, after controlling the first transmitting electrode 23 at the pen tail 22 and the second transmitting electrode 27 at the pen tip to be in the first working state, it may further include that in response to the second detector 29 of the stylus detecting a signal that meets the second preset condition, the second transmitting electrode 27 at the pen tip is controlled to be in the third working state, and the first transmitting electrode 23 is controlled to be in a non-working state. In the third working state, the second transmitting electrode 27 is used to send a fifth signal to the touch screen, and the fifth signal is used to instruct the touch screen to execute the writing function.
[0085] According to an embodiment of the present disclosure, after controlling the first transmitting electrode 23 at the pen tail 22 and the second transmitting electrode 27 at the pen tip to be in the first working state, it may further include that in response to the first detector 24 of the stylus detecting that the first preset condition is met and the second detector 29 detecting that the second preset condition is not met, the first transmitting electrode 23 is controlled to be in the second working state, and the second transmitting electrode 27 is controlled to be in a non-working state. In other words, when controlling the pen tail 22 to execute the writing erasing function, the writing function of the pen tip is controlled to be turned off.
[0086] According to an embodiment of the present disclosure, when the first detector 24 detects that the first preset condition is met and the second detector 29 detects that the second preset condition is met, the second transmitting electrode 27 is controlled to be in the third working state, and the first transmitting electrode 23 is controlled to be in a non-working state. In other words, if the pen tip and the pen tail 22 receive pressure simultaneously, the pen tip is preferentially controlled to execute the writing function to ensure the normal operation of the writing function.
[0087] According to an embodiment of the present disclosure, after controlling the second emission electrode 27 of the pen tip to be in the third working state and controlling the first emission electrode 23 to be in the non-working state, it may further include: in response to the second detector 29 of the stylus detecting a signal that does not meet the second preset condition, controlling the second emission electrode 27 to switch from the third working state to the first working state and the first emission electrode 23 to switch from the non-working state to the first working state. In other words, when no pressure is applied to the pen tip, it indicates that the user has stopped writing on the touch screen. At this time, both the first emission electrode 23 and the second emission electrode 27 are switched to the state of emitting hover coding signals to prepare for the next writing or writing erasure.
[0088] Figure 6 Schematically shows a flowchart of a control method of a stylus according to another embodiment of the present disclosure.
[0089] As Figure 6 shown, the control method includes operations S610~S620.
[0090] In operation S610, in response to the receiving electrode at any end of the first receiving electrode 25 of the pen tail 22 and the second receiving electrode 28 of the pen tip of the stylus detecting the first signal sent by the touch screen of the electronic device, at least control the emission electrode at the corresponding end to be in the first working state. In the first working state, the emission electrode can send a signal to the touch screen for indicating the position of any end on the touch screen.
[0091] In operation S620, in response to the first detector 24 of the pen tail 22 of the stylus detecting a signal that meets the first preset condition, control the first emission electrode 23 of the pen tail 22 to be in the second working state. In the second working state, the first emission electrode 23 sends a third signal to the touch screen, and the third signal is used to instruct the touch screen to execute the writing erasure function.
[0092] According to an embodiment of the present disclosure, at least controlling the emission electrode at the corresponding end to be in the first working state includes: controlling both the first emission electrode 23 of the pen tip and the second emission electrode 27 of the pen tail 22 to be in the first working state; in the first working state, the first emission electrode 23 can send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail 22 on the touch screen; in the first working state, the second emission electrode 27 can send a fourth signal to the touch screen, and the fourth signal is used to indicate the position of the pen tip on the touch screen.
[0093] In such an embodiment, when the first signal of the touch screen is detected, the first emission electrode 23 and the second emission electrode 27 can both emit hover coding signals, so as to facilitate the user to switch between the writing function and the writing erasure function at any time.
[0094] According to an embodiment of the present disclosure, in response to a signal satisfying a first preset condition being detected by a first detector 24 at the pen tail 22 of the stylus, the first transmitting electrode 23 at the pen tail 22 is controlled to be in a second working state, and the second transmitting electrode 27 at the pen tip is controlled to be in a non-working state. Or in response to a signal satisfying a second preset condition being detected by a second detector 29 at the pen tip of the stylus, the second transmitting electrode 27 at the pen tip is controlled to be in a third working state, and the second transmitting electrode 27 at the pen tip is controlled to be in a non-working state. In the second working state, the first transmitting electrode 23 is used to send a second signal to the touch screen, and the second signal is used to instruct the touch screen to perform a writing erasure function. In the third working state, the second transmitting electrode 27 is used to send a third signal to the touch screen, and the second signal is used to instruct the touch screen to perform a writing function.
[0095] In such an embodiment, it is possible to turn off the writing erasure function when performing the writing function, or turn off the writing function when performing the writing erasure function. It accurately matches the user's operation intention, improves the interaction efficiency, and reduces the risk of accidental touch.
[0096] Figure 7 A flowchart of a control method for a stylus according to another embodiment of the present disclosure is schematically shown.
[0097] As Figure 7 shown, the method includes operations S710 to S790.
[0098] In operation S710, a first signal is received using a first receiving electrode and a second receiving electrode.
[0099] In operation S720, if the first receiving electrode or the second receiving electrode detects the first signal, the first transmitting electrode and the second transmitting electrode are controlled to be in a first working state.
[0100] In operation S730, if the first receiving electrode or the second receiving electrode does not detect the first signal, the first transmitting electrode and the second transmitting electrode are controlled to be in a non-working state.
[0101] In operation S740, if the second detector detects a signal satisfying a second preset condition, the second transmitting electrode is controlled to be in a third working state, and the first transmitting electrode is controlled to be in a non-working state.
[0102] In operation S750, in the third working state, the second transmitting electrode sends a fifth signal to instruct the touch screen to perform a writing function.
[0103] In operation S760, if the second detector does not detect a signal satisfying a second preset condition, and the first detector detects a signal satisfying a first preset condition, the first transmitting electrode is controlled to be in a second working state, and the second transmitting electrode is controlled to be in a non-working state.
[0104] In operation S770, in the second working state, the first transmitting electrode sends a third signal to instruct the touch screen to perform a writing erasure function.
[0105] In operation S780, if the second detector does not detect a signal that meets the second preset condition and the first detector does not detect a signal that meets the first preset condition, the first transmitting electrode and the second transmitting electrode are controlled to be in the first state.
[0106] In operation S790, in the first state, the first transmitting electrode emits a second signal and the second transmitting electrode emits a fourth signal. The second signal is used to indicate the position of the pen tail on the touch screen, and the fourth signal is used to indicate the position of the pen tip on the touch screen.
[0107] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should fall within the scope of the present disclosure.
Claims
1. A stylus, comprising: A body, the body including a main body portion and a pen tail portion connected to the main body portion; A first detector for detecting the contact state between the pen tail portion and the touch screen of an electronic device; A first receiving electrode disposed on the pen tail portion for detecting a first signal sent by the touch screen; A first transmitting electrode disposed on the pen tail portion; When the first transmitting electrode is in a first working state, the first transmitting electrode is used to send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail portion on the touch screen; When the first transmitting electrode is in a second working state, the first transmitting electrode is used to send a third signal to the touch screen, and the third signal is used to indicate that the touch screen executes a writing erasing function.
2. The stylus according to claim 1, wherein, A control unit is disposed in the main body portion, and the control unit is electrically connected to the first receiving electrode and the first transmitting electrode respectively; The control unit is configured to control the first transmitting electrode to be in the second working state in response to the first detector detecting a signal that meets a first preset condition, and to control the first transmitting electrode to be in a non-working state when the first signal is not received.
3. The stylus according to claim 1, wherein the body further includes a nib portion, and the nib portion is connected to an end of the main body portion opposite to the pen tail portion; The nib portion includes: A second receiving electrode for detecting a first signal sent by the touch screen of an electronic device, A second transmitting electrode; A second detector for detecting the contact state between the nib portion and the touch screen; The control unit is electrically connected to the second receiving electrode and the second transmitting electrode respectively; Wherein, the control unit is configured to: control the first transmitting electrode and the second transmitting electrode to be in a first working state in response to the first receiving electrode or the second receiving electrode detecting the first signal, and when the second transmitting electrode is in the first working state, the second transmitting electrode is used to send a fourth signal to the touch screen, and the fourth signal is used to indicate the position of the nib portion on the touch screen.
4. The stylus according to claim 3, wherein, The control unit is configured to control the second transmitting electrode to be in a third working state and control the first transmitting electrode to be in a non-working state in response to the second detector detecting a signal that meets a second preset condition; When the second transmitting electrode is in the third working state, the second transmitting electrode is used to send a fifth signal to the touch screen, and the fifth signal is used to indicate that the touch screen executes a writing function.
5. The stylus according to claim 1, wherein the first detector is a multi-stage pressure sensor, and the control unit is used to perform encoding processing on the pressure data from the multi-stage pressure sensor to generate the third signal, and the third signal includes indication information related to the erasing width of the erasing function.
6. The stylus according to claim 1, wherein, The first detector is disposed on the body portion, and the stylus further includes: An elastic connecting member, one end of the elastic connecting member extends into the main body portion and abuts against the first detector, and the other end of the elastic connecting member is connected to the tail portion, so as to transmit pressure to the first detector through the elastic connecting member when the tail portion is in contact with the touch screen.
7. A control method for a stylus, comprising: In response to a first receiving electrode at the pen tail of the stylus detecting a first signal sent by the touch screen, controlling the first transmitting electrode at the pen tail to be in a first working state, in the first state, the first transmitting electrode can send a second signal to the touch screen, and the second signal is used to indicate the position of the pen tail on the touch screen; In response to the first detector of the stylus detecting a signal that meets a first preset condition, controlling the first transmitting electrode to be in a second working state, in the second working state, the first transmitting electrode sends a third signal to the touch screen, and the third signal is used to indicate the touch screen to execute a writing erasing function.
8. The method according to claim 7, further comprising: In response to a first receiving electrode at the pen tail of the stylus or a second receiving electrode at the nib portion detecting a first signal sent by the touch screen, controlling the first transmitting electrode at the pen tail and the second transmitting electrode at the nib portion to be in a first working state, in the first state, the second transmitting electrode can emit a fourth signal to the touch screen to indicate the position of the nib portion on the touch screen.
9. The method according to claim 7, further comprising: In response to the second detector of the stylus detecting a signal that meets a second preset condition, controlling the second transmitting electrode at the nib portion to be in a third working state, and controlling the first transmitting electrode to be in a non-working state, in the third working state, the second transmitting electrode is used to send a fifth signal to the touch screen, and the fifth signal is used to indicate the touch screen to execute a writing function.
10. A control method for a stylus, comprising: In response to a receiving electrode at either the first receiving electrode at the pen tail or the second receiving electrode at the nib portion of the stylus detecting a first signal sent by the touch screen of the electronic device, at least controlling the transmitting electrode at the corresponding end to be in a first working state, in the first working state, the transmitting electrode can send a signal for indicating the position of the either end on the touch screen to the touch screen; In response to the first detector at the pen tail of the stylus detecting a signal that meets a first preset condition, controlling the first transmitting electrode at the pen tail to be in a second working state, in the second working state, the first transmitting electrode sends a third signal to the touch screen, and the third signal is used to indicate the touch screen to execute a writing erasing function.
Citation Information
Cited By
Capacitive stylus device
CN121187462A
A capacitive stylus device
CN121187462B