Active touch pen and wireless signal generating method thereof
By sending composite signals in the active stylus, including keys sending signals at different frequencies, it solves the problem of slow transmission speed of existing wireless communication technology when sending large amounts of data, and achieves fast wireless signal transmission.
Patent Information
- Application Number
- CN201910693314.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-30
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2039-07-30
AI Technical Summary
When existing wireless communication technology sends a large amount of data, the transmission speed is slow, resulting in the data transmission time being too long.
Using the wireless signal generation method of the active stylus, after generating and sending the first beacon signal, wait for a period of time to determine whether the first key signal or the second key signal is generated. If they are generated at the same time, a composite signal is sent. The composite signal consists of keystroke signals generated at different frequencies.
By simultaneously sending the first button sending signal and the second button sending signal, the signals are separated by using different frequencies, thus avoiding time-sharing sending, shortening the overall sending time, and realizing fast wireless signal transmission.
Smart Images

Figure CN112306263B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a touch pen and a wireless signal generating method, in particular to an active touch pen and a wireless signal generating method thereof. Background Art
[0002] Generally, an active stylus sends wireless signals to a tablet computer or a smart phone via wireless communication to communicate with the tablet computer or the smart phone so that the tablet computer or the smart phone can determine the user's operation on the active stylus. For example, the user can press a button set on the active stylus to perform a specific operation, such as executing the previous or next page function.
[0003] The wireless signal transmission method of the existing wireless communication technology is generally to transmit various information in batches in chronological order through time division multiplexing. For example, a sending end will first send a wireless signal with start information, indicating that the wireless signal to be sent next contains various information, and then send a wireless signal with the first information. When the wireless signal with the first information is sent, after a time interval, the wireless signal with the second information is sent, and so on, until all the information is sent, and finally a wireless signal with end information is sent, indicating that all the information has been sent, thereby forming a sending cycle.
[0004] A receiving end continuously receives wireless signals, and when it is determined that the received wireless signal contains the start information, it means that the following wireless signals contain various information, and the various information contained in the wireless signal can be inferred based on the time interval with the start information. For example, the first information is immediately followed by the start information, followed by the second information, and so on. In this way, the sending end and the receiving end can communicate through these wireless signals.
[0005] However, when sending a large amount of data, each piece of data must take a considerable amount of time to transmit, resulting in a slow data transmission speed. Therefore, it is necessary to further improve the wireless signal transmission method of the existing wireless communication technology. Summary of the invention
[0006] In view of the disadvantage that the wireless signal transmission method of the existing wireless communication technology takes too long to transmit a large amount of data, resulting in a slow transmission speed, the present invention provides a wireless signal generation method of an active stylus pen to quickly transmit wireless signals. The wireless signal generation method of the active stylus pen is executed by an active stylus pen and includes the following steps:
[0007] Generate and send a first beacon signal;
[0008] Waiting for a first time interval;
[0009] Determining whether a first key signal or a second key signal is generated;
[0010] When it is determined that both the first key signal and the second key signal are generated, a first key sending signal is generated according to a first frequency, a second key sending signal is generated according to a second frequency, and the first key sending signal and the second key sending signal are sent.
[0011] The active touch pen includes a first key unit, a second key unit, a wireless signal sending unit, and a processing unit. The first key unit is used to generate a first key signal. The second key unit is used to generate a second key signal.
[0012] The processing unit is electrically connected to the first button unit, the second button unit and the wireless signal sending unit, and the processing unit generates a first beacon signal and sends the first beacon signal through the wireless signal sending unit.
[0013] After the processing unit sends the first beacon signal, the processing unit waits for a first time interval and determines whether a first key signal generated by the first key unit or a second key signal generated by the second key unit is received.
[0014] When the processing unit receives the first key signal and the second key signal, the processing unit sends a composite signal, the composite signal including a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency.
[0015] The active stylus pen and the wireless signal generating method thereof of the present invention utilize the composite signal including the first key transmission signal generated by the first frequency and the second key transmission signal generated by the second frequency, and transmit the composite signal. When a receiving end, such as a tablet computer, receives the composite signal, since the frequencies of the first key transmission signal and the second key transmission signal are different, the first key transmission signal and the second key transmission signal transmitted simultaneously can be separated by filtering or Fourier transformation, and then the corresponding function can be executed according to the first key transmission signal and the second key transmission signal.
[0016] In this way, even if the first key sending signal and the second key sending signal are sent at the same time, the receiving end can separate the first key sending signal and the second key sending signal, and since the first key sending signal and the second key sending signal are sent at the same time, there is no need to send them in time sharing, which can further shorten the overall sending time of sending the first key sending signal and the second key sending signal, thereby quickly sending wireless signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a method flow chart of a first preferred embodiment of a method for generating wireless signals of an active stylus pen according to the present invention.
[0018] Figure 2 and Figure 3 It is a waveform diagram of a wireless signal generated by the wireless signal generating method of the active touch pen of the present invention.
[0019] Figure 4 and Figure 5 It is a method flow chart of a second preferred embodiment of the method for generating wireless signals of an active stylus pen according to the present invention.
[0020] Figure 6 It is a waveform diagram of a wireless signal generated by the wireless signal generating method of the active touch pen of the present invention.
[0021] Figure 7 1 is a schematic diagram of a method flow of a third preferred embodiment of a method for generating a wireless signal of an active stylus pen according to the present invention.
[0022] Figure 8 It is a waveform diagram of a wireless signal generated by the wireless signal generating method of the active touch pen of the present invention.
[0023] Fig. 9 1 is a schematic diagram of a method flow of a fourth preferred embodiment of a method for generating wireless signals of an active stylus pen according to the present invention.
[0024] Fig.10 2 is a block diagram of a preferred embodiment of the active stylus pen of the present invention. DETAILED DESCRIPTION
[0025] The following is a detailed description of the technical means used by the present invention to achieve the intended purpose with reference to the drawings and preferred embodiments of the present invention.
[0026] See also Figure 1 As shown, the present invention is an active stylus pen and a wireless signal generating method thereof. The wireless signal generating method of the active stylus pen is executed by an active stylus pen, and a first preferred embodiment of the wireless signal generating method of the active stylus pen is executed by the active stylus pen to perform the following steps:
[0027] Generate and send a first beacon signal (S101);
[0028] Waiting for a first time interval (S102);
[0029] Determining whether a first key signal or a second key signal is generated (S103);
[0030] When it is determined that both the first key signal and the second key signal are generated, a composite signal is sent, wherein the composite signal includes a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency (S104).
[0031] like Figure 2 The figure is only used to illustrate two beacon signals 11 sent at different time points. The beacon signal 11 represents a signal at the start time of a sending cycle. In the preferred embodiment, the sending time t of the beacon signal 11 is 11 It can be 1 millisecond (ms), and the sending period t2 can be 7.2 milliseconds (ms).
[0032] like Figure 3 , which is only used to further illustrate a composite signal 12 after each beacon signal 11. After the active stylus sends the beacon signal 11, it waits for the first time interval t 31 , and when both the first key signal and the second key signal are generated, the composite signal 12 is sent, and the composite signal 12 includes the first key sending signal and the second key sending signal. In this preferred embodiment, the first time interval t 31 is 0.032 milliseconds (ms), the first frequency is 18 kHz, the second frequency is 31 kHz, and the transmission time t of the composite signal 12 is 12 The transmission time t of the beacon signal 11 11 The same is 1 millisecond (ms).
[0033] The wireless signal generating method of the active stylus of the present invention generates the first key sending signal by using the first frequency, generates the second key sending signal by using the second frequency, and simultaneously sends a composite signal 12 including the first key sending signal and the second key sending signal. When a receiving end, such as a tablet computer, receives the composite signal 12, since the frequencies of the first key sending signal and the second key sending signal are different, the first key sending signal and the second key sending signal in the composite signal 12 can be separated by filtering or Fourier transform.
[0034] In this way, there is no need to separate the first key sending signal and the second key sending signal and send them through two sending times. The composite signal 12 only needs to be sent through one sending time t1, which can further save the overall time of sending the first key sending signal and the second key sending signal, thereby quickly sending wireless signals.
[0035] For example, the active stylus pen is provided with a first button unit and a second button unit for respectively executing different functions, and when the first button unit is pressed, the active stylus pen generates the first button signal, and similarly, when the second button unit is pressed, the active stylus pen generates the second button signal. Generally speaking, the user can directly use the active stylus pen to perform touch operations on the touch display panel of the receiving end, such as moving the screen, clicking on the link, etc. When the user presses the first button unit, the receiving end will switch modes, and the user's touch operation on the touch display panel of the receiving end using the active stylus pen will record and display the user's handwriting. In short, the user can draw or take notes on the touch display panel of the receiving end. In addition, when the user presses the second button unit, the receiving end will switch modes again. At this time, the touch operation of the user using the active stylus on the touch display panel of the receiving end will become to remove the user's handwriting. In short, the user can use a function similar to an eraser to remove notes, thereby providing a convenient use environment for the user, allowing the user to quickly switch between recording notes and moving pictures, and can quickly remove mistaken notes to record again.
[0036] In other words, the active stylus detects the pressing status of the first button unit and the second button unit of the active stylus once within a sending cycle, and generates the first button signal or the second button signal according to the detection result. For example, when the user presses the first button unit for more than one sending cycle, the active stylus can detect that the first button unit is pressed within the sending cycle, and generate the first button signal accordingly. However, since the sending cycle is quite short, such as 7.2 milliseconds, as long as the user presses the first button unit, the time from pressing to releasing the first button unit will basically exceed the sending cycle, so for the user's use, there is no need to continue pressing the first button unit. Similarly, when the user presses the second button unit, it is also determined in the same way whether the second button signal is generated.
[0037] That is, when the user presses the first switch unit and the second switch unit at the same time and the pressing lasts longer than the sending period, the active stylus generates and sends the composite signal. When the receiving end receives the composite signal, it means that the user presses the first switch unit and the second switch unit at the same time, and the receiving end can execute a specific state according to the first key sending signal and the second key sending signal, such as starting or shutting down the touch display panel of the receiving end.
[0038] See also Figure 4 and Figure 5As shown, in the second preferred embodiment of the wireless signal generating method of the active stylus, after the active stylus sends the first key sending signal and the second key sending signal (S104), the active stylus further performs the following steps:
[0039] Waiting for a second time interval (S105);
[0040] Reading a pressure value signal (S106);
[0041] Determine whether the pressure value signal is greater than a threshold value (S107);
[0042] When the pressure value signal is greater than the threshold value, a first data segment sending signal and a second data segment sending signal are generated according to the pressure value signal, and the first data segment sending signal is sent (S108);
[0043] Waiting for a third time interval (S109);
[0044] Generate and send a second beacon signal (S110);
[0045] Waiting for a fourth time interval (S111);
[0046] Sending the second data segment sending signal (S112);
[0047] After waiting for a fifth time interval (S113), step S101 is executed again.
[0048] like Figure 6 As shown, after the active stylus sends the first beacon signal 111, it waits for the first time interval, and when the first key signal and the second key signal are both generated, it sends the composite signal 12, and after sending the composite signal 12, the active stylus further waits for the second time interval t 32 , and then send the first data segment sending signal 131. In this preferred embodiment, the second time interval t 32 is 1.568 milliseconds (ms). Then, the active stylus waits for the third time interval t 33 , then send the second beacon signal 112, and wait for the fourth time interval t 34 After that, the second data fragment sending signal 132 is sent. In this preferred embodiment, the first beacon signal 111 and the second beacon signal 112 have the same content, which is only used to illustrate two consecutive beacon signals 11. The third time interval t 33 is 2.6 milliseconds. 34 Finally, the active stylus further waits for the fifth time interval t 35After that, the first beacon signal 111 is resent (not shown). In this preferred embodiment, the fifth time interval t 35 is 2.6 milliseconds (ms), and the transmission time t of the first data segment transmission signal 131 and the second data segment transmission signal 132 is 13 The transmission time t of the beacon signal 11 is 11 The first and second data segment sending signals 131 and 132 are generated in a manner that will be described later.
[0049] In addition, if Figure 6 As shown, after sending the second beacon signal 112, the active stylus may repeat sending the composite signal 12 before sending the second data segment sending signal 132. That is, after the active stylus sends the second beacon signal 112, it waits for the first time interval t 31 After that, the composite signal 12 is sent repeatedly, and the second time interval t is further waited. 32 After that, the second data fragment sending signal 132 is sent. The wireless signal transmission process is easily affected by the external environment, so sometimes the receiving end may not receive the wireless signal, and by repeatedly sending the composite signal 12, the probability of the receiving end missing the composite signal 12 can be reduced.
[0050] The wireless signal generating method of the active stylus further reads the pressure value signal after transmitting the composite signal 12 sent by the active stylus, and determines whether the pressure value signal is greater than the threshold value. When the pressure value signal is greater than the threshold value, it means that the pressure value signal is valid. In other words, the user should be operating the active stylus to perform touch operation, and the active stylus can sense the touch pressure of the user operating the active stylus, in short, the writing force of the user operating the active stylus.
[0051] When the pressure value signal is greater than the threshold value, the active stylus generates the first data segment sending signal 131 and the second data segment sending signal 132 according to the pressure value signal. The active stylus sends the first data segment sending signal 131 and the second data segment sending signal 132 in two consecutive sending cycles, respectively. The first data segment sending signal 131 is sent in the first sending cycle, that is, after the first beacon signal 111 is sent, and the second data segment sending signal 132 is sent in the next sending cycle, that is, after the second beacon signal 112 is sent, at the fourth time interval t. 34 , and then send the second data segment sending signal 132 to transmit a pressure value signal with a higher resolution.
[0052] Since the pressure value signal is generated according to the user's operating conditions, and the range of the writing force when the user operates the active stylus pen varies greatly, if only a low-resolution pressure value signal can be transmitted, the receiving end will not be able to accurately obtain the accurate writing force when the user operates the active stylus pen, thereby reducing many application levels, such as imitating the handwriting of soft brushes.
[0053] The wireless signal generation method of the active stylus pen divides the pressure value signal into two data segment transmission signals, and transmits them in two consecutive transmission cycles respectively. In this way, the pressure value signal can be divided into two parts for transmission, and after the receiving end receives the first data segment transmission signal and the second data segment transmission signal, the first data segment transmission signal and the second data segment transmission signal can be combined into the pressure value signal, thereby obtaining a high-resolution pressure value signal and providing more diverse applications.
[0054] For example, the pressure value signal is a 12-bit data, and the wireless signal generating method of the active stylus generates a first data segment according to the value of the first 8 bits in the pressure value signal, and generates a second data segment according to the value of the last 4 bits in the pressure value signal.
[0055] The active stylus generates the first data segment sending signal at a specific frequency according to the value of the first data segment, and generates the second data segment sending signal at another specific frequency according to the value of the second data segment. In other words, the value of each first data segment will correspond to a specific frequency, and the value of each second data segment will also correspond to a specific frequency. When the receiving end receives the first data segment sending signal or the second data segment sending signal, the receiving end can calculate the value of the first data segment or the second data segment by looking up the table according to the frequency of the received signal.
[0056] For example, when the value of the first data segment is 00000001, the active stylus generates the first data segment sending signal at a frequency of 15652 Hz, and when the value of the first data segment is 00000010, the active stylus generates the first data segment sending signal at a frequency of 15679 Hz. In addition, when the value of the second data segment is 0001, the active stylus generates the second data segment sending signal at a frequency of 28301 Hz, and when the value of the second data segment is 0010, the active stylus generates the second data segment sending signal at a frequency of 28571 Hz.
[0057] In the preferred embodiment, the first data segment sending signal and the second data segment sending signal are distributed in different frequency bands.
[0058] Since the first data segment sending signal and the second data segment sending signal are distributed in different frequency bands, when the receiving end receives a wireless signal, it can directly determine which frequency band the wireless signal falls into based on the frequency value of the wireless signal, and thus confirm whether the wireless signal is the first data segment sending signal or the second data segment sending signal.
[0059] Therefore, even if the first data segment sending signal and the second data segment sending signal are sent in different sending cycles, there is no need to specifically determine the number of the sending cycle. It is possible to directly determine whether it is the first data segment sending signal or the second data segment sending signal based on the frequency value. For the receiving end, it only needs to receive signals from two consecutive sending cycles to generate a complete pressure value signal. In this way, the processing efficiency of the judgment can be further improved.
[0060] When the receiving end receives the first data segment sending signal and the second data segment sending signal, the frequency values of the first data segment sending signal and the second data segment sending signal can be determined through Fourier transform, and the value of the first data segment and the value of the second data segment can be converted according to the frequency values of the first data segment sending signal and the second data segment sending signal. The receiving end can further integrate the value of the first data segment and the value of the second data segment to obtain the pressure value signal.
[0061] For example, when the frequency of the first data segment signal received by the receiving end is 15679 Hz, the value of the first data segment can be calculated as 00000010, and when the frequency of the second data segment signal received by the receiving end is 28571 Hz, the value of the first data segment can be calculated as 0010. The receiving end can integrate the value of the first data segment and the value of the second data segment to form the value of the pressure value signal as 000000100010.
[0062] That is to say, the pressure value signal has 4096 different values, so the writing force of the user when operating the active stylus can be distinguished into 4096 different values and can be accurately sent to the receiving end, which analyzes and determines the writing force of the user when operating the active stylus.
[0063] Furthermore, when the active stylus determines whether the pressure value signal is greater than a threshold value ( S107 ), and the active stylus determines that the pressure value signal is not greater than the threshold value, the active stylus waits for a sixth time interval ( S1071 ) and re-executes step S101 .
[0064] When the pressure value signal is not greater than the threshold value, it means that the user has not operated the stylus to perform a touch operation. The pressure value signal generated at this time should be a misjudgment. Therefore, the active stylus does not perform any action, but only waits for the sixth time interval and then re-executes the wireless signal generating method of the active stylus.
[0065] See also Figure 7 As shown, when the active stylus determines that the first key signal is not generated but the second key signal is generated, the active stylus generates the second key sending signal according to the second frequency, and after sending the second key sending signal (S1031), step S105 is executed.
[0066] In addition, when the active stylus determines that neither the first key signal nor the second key signal is generated, the active stylus waits for a seventh time interval ( S1032 ) and then executes step S106 .
[0067] like Figure 8 As shown, after the active stylus sends the first beacon signal 111, and it is determined that neither the first key signal nor the second key signal is generated, the seventh time interval t is waited. 37 , sending the first data segment sending signal 131. In this preferred embodiment, the seventh time interval t 37 Then, the active stylus waits for the third time interval t 33 , then send the second beacon signal 112, and wait for the fourth time interval t 34 After that, the second data segment sending signal 132 is sent. Finally, the active stylus further waits for the fifth time interval t 35 Afterwards, the first beacon signal 111 is resent (not shown).
[0068] For further information, see Fig. 9 As shown, when the active stylus determines that the first key signal is generated but the second key signal is not generated, the active stylus generates the first key sending signal according to the first frequency, and after sending the first key sending signal (S1033), step S105 is executed.
[0069] See also Fig.10 As shown, the active stylus 20 includes a first button unit 21, a second button unit 22, a wireless signal sending unit 23, and a processing unit 24. The first button unit 21 is used to generate a first button signal. The second button unit 22 is used to generate a second button signal. For example, the first button unit 21 and the second button unit 22 can be physical buttons on the active stylus 20.
[0070] The processing unit 24 is electrically connected to the first button unit 21 , the second button unit 22 and the wireless signal sending unit 23 , and the processing unit 24 generates a first beacon signal and sends the first beacon signal through the wireless signal sending unit 23 .
[0071] After the processing unit 24 sends the first beacon signal, the processing unit 24 waits for a first time interval and determines whether a first key signal generated by the first key unit 21 or a second key signal generated by the second key unit 22 is received.
[0072] When the processing unit 24 receives the first key signal and the second key signal, the processing unit 24 sends a composite signal including a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency.
[0073] The active stylus of the present invention generates the first key sending signal using the first frequency, generates the second key sending signal using the second frequency, and sends the first key sending signal and the second key sending signal at the same time. When a receiving end, such as a tablet computer, receives the first key sending signal and the second key sending signal, since the frequencies of the first key sending signal and the second key sending signal are different, the first key sending signal and the second key sending signal that are sent simultaneously can be separated by filtering or Fourier transform.
[0074] In this way, even if the first key sending signal and the second key sending signal are sent at the same time, the receiving end can separate the first key sending signal and the second key sending signal, and since the first key sending signal and the second key sending signal are sent at the same time, there is no need to send them in time sharing, which can further save the overall sending time of sending the first key sending signal and the second key sending signal, thereby quickly sending wireless signals.
[0075] The active stylus further includes a pressure sensing unit 25, which is used to generate a pressure value signal and is electrically connected to the processing unit 24. After the processing unit 24 sends the composite signal, the processing unit 24 waits for a second time interval and reads the pressure value signal, and the processing unit 24 determines whether the pressure value signal is greater than a threshold value.
[0076] When the processing unit 24 determines that the pressure value signal is greater than the threshold value, the processing unit 24 generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal, and sends the first data segment sending signal through the wireless signal sending unit 23 .
[0077] After the processing unit 24 sends the first data segment sending signal, the processing unit 24 waits for a third time interval and generates a second beacon signal, and the processing unit 24 sends the second beacon signal through the wireless signal sending unit 23 .
[0078] After the processing unit 24 sends the second beacon signal, the processing unit 24 waits for a fourth time interval and sends the second data segment sending signal, and the processing unit 24 waits for a fifth time interval and regenerates the first beacon signal. In this preferred embodiment, the first data segment sending signal and the second data segment sending signal are distributed in different frequency bands.
[0079] The effect and principle of the pressure value signal have been described in the wireless signal generating method of the active stylus pen, and will not be described again here.
[0080] When the processing unit 24 determines that the pressure value signal is not greater than the threshold value, the processing unit 24 waits for a sixth time interval and regenerates the first beacon signal.
[0081] When the processing unit 24 does not receive the first key signal but receives the second key signal, the processing unit 24 generates the second key sending signal according to the second frequency, and sends the second key sending signal through the wireless signal sending unit 23. After the processing unit 24 waits for the second time interval, it reads the pressure value signal and determines whether the pressure value signal is greater than the threshold value.
[0082] When the processing unit 24 does not receive the first key signal and the second key signal, the processing unit 24 waits for a seventh time interval and then reads a pressure value signal. The processing unit 24 determines whether the pressure value signal is greater than the threshold value.
[0083] When the processing unit 24 receives the first key signal but does not receive the second key signal, the processing unit 24 generates the first key sending signal according to the first frequency, and sends the first key sending signal through the wireless signal sending unit 23. After the processing unit 24 waits for the second time interval, it reads the pressure value signal and determines whether the pressure value signal is greater than the threshold value.
[0084] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments of equivalent changes without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A method for generating a wireless signal of an active stylus pen, characterized in that: The following steps are performed by an active stylus: a. Generate and send a first beacon signal; b. Wait for a first time interval; c. Determine whether a first key signal or a second key signal is generated; d. When it is determined that neither the first key signal nor the second key signal is generated, waiting for a seventh time interval; e. Read a pressure value signal; f. Determine whether the pressure value signal is greater than a threshold value; g. When the pressure value signal is greater than the threshold value, a first data segment sending signal and a second data segment sending signal are generated according to the pressure value signal, and the first data segment sending signal is sent; wherein the first data segment sending signal and the second data segment sending signal are generated by decomposing the pressure value signal; h. Wait for a third time interval; i. Generate and send a second beacon signal; j. Wait for a fourth time interval; k. Sending the second data fragment sending signal; l. After waiting for a fifth time interval, re-execute step a.
2. The method for generating a wireless signal of an active stylus pen as claimed in claim 1, wherein: The first data segment sending signal and the second data segment sending signal are distributed in different frequency bands.
3. The method for generating a wireless signal of an active stylus pen as claimed in claim 1, wherein: Further comprising the following steps: When the pressure value signal is not greater than the threshold value, wait for a sixth time interval and execute step a again.
4. The method for generating a wireless signal of an active stylus pen as claimed in claim 1, wherein: Further comprising the following steps: When it is determined that both the first key signal and the second key signal are generated, a composite signal is sent, the composite signal includes a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency, and after waiting for a second time interval, step e is executed.
5. The method for generating a wireless signal of an active stylus pen as claimed in claim 4, wherein: Further comprising the following steps: When it is determined that the first key signal is not generated but the second key signal is generated, the second key sending signal is generated according to the second frequency, the second key sending signal is sent, and after waiting for a second time interval, step e is executed.
6. The method for generating a wireless signal of an active stylus pen as claimed in claim 4, wherein: Further comprising the following steps: When it is determined that the first key signal is generated but the second key signal is not generated, the first key sending signal is generated according to the first frequency, the first key sending signal is sent, and after waiting for a second time interval, step e is executed.
7. An active stylus pen, characterized in that: Contains: A first key unit for generating a first key signal; A second key unit for generating a second key signal; a wireless signal sending unit; a processing unit electrically connected to the first button unit, the second button unit and the wireless signal sending unit, and the processing unit generates a first beacon signal and sends the first beacon signal through the wireless signal sending unit; A pressure sensing unit, the pressure sensing unit is used to generate a pressure value signal and is electrically connected to the processing unit; wherein: After the processing unit sends the first beacon signal, the processing unit waits for a first time interval and determines whether a first key signal generated by the first key unit or a second key signal generated by the second key unit is received; When the processing unit does not receive the first key signal and the second key signal, the processing unit waits for a seventh time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than a threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal, and sends the first data segment sending signal through the wireless signal sending unit; wherein the first data segment sending signal and the second data segment sending signal are generated by decomposing the pressure value signal; After the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit; After the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and the processing unit waits for a fifth time interval and regenerates the first beacon signal.
8. The active stylus pen according to claim 7, wherein: The first data segment sending signal and the second data segment sending signal are distributed in different frequency bands.
9. The active stylus pen according to claim 7, wherein: When the processing unit determines that the pressure value signal is not greater than the threshold value, the processing unit waits for a sixth time interval and regenerates the first beacon signal.
10. The active stylus pen according to claim 7, wherein: When the processing unit receives the first key signal and the second key signal, the processing unit sends a composite signal, the composite signal including a first key sending signal generated according to a first frequency and a second key sending signal generated according to a second frequency; After the processing unit sends the composite signal, the processing unit waits for a second time interval and reads the pressure value signal, and the processing unit determines whether the pressure value signal is greater than the threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates the first data segment sending signal and the second data segment sending signal according to the pressure value signal, and sends the first data segment sending signal through the wireless signal sending unit; After the processing unit sends the first data segment sending signal, the processing unit waits for the third time interval and generates the second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit; After the processing unit sends the second beacon signal, the processing unit waits for the fourth time interval and sends the second data segment sending signal, and the processing unit waits for the fifth time interval and regenerates the first beacon signal.
11. The active stylus pen according to claim 10, wherein: When the processing unit does not receive the first key signal but receives the second key signal, the processing unit generates the second key sending signal according to the second frequency, and sends the second key sending signal through the wireless signal sending unit, and after the processing unit waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than a threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal, and sends the first data segment sending signal through the wireless signal sending unit; After the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit; After the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and the processing unit waits for a fifth time interval and regenerates the first beacon signal.
12. The active stylus pen according to claim 10, wherein: When the processing unit receives the first key signal but does not receive the second key signal, the processing unit generates the first key sending signal according to the first frequency, and sends the first key sending signal through the wireless signal sending unit, and the processing unit waits for the second time interval, reads the pressure value signal, and determines whether the pressure value signal is greater than a threshold value; When the processing unit determines that the pressure value signal is greater than the threshold value, the processing unit generates a first data segment sending signal and a second data segment sending signal according to the pressure value signal, and sends the first data segment sending signal through the wireless signal sending unit; After the processing unit sends the first data segment sending signal, the processing unit waits for a third time interval and generates a second beacon signal, and the processing unit sends the second beacon signal through the wireless signal sending unit; After the processing unit sends the second beacon signal, the processing unit waits for a fourth time interval and sends the second data segment sending signal, and the processing unit waits for a fifth time interval and regenerates the first beacon signal.
Citation Information
Patent Citations
Active pen with bidirectional communication
CN106055127A
Stylus Pen, Touch Sensing System and Driving Method Thereof
CN106484178A