Disclosure of Invention
In view of the above, the present invention is directed to an anti-jamming electromagnetic handwriting device and an electromagnetic pen position identification method, so as to prevent an electromagnetic pen from generating a malfunction due to a noise signal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the anti-interference electromagnetic handwriting device provided by the invention comprises: the display panel, set up and be in antenna panel, the setting of display panel below are in the control panel of the below of antenna panel and inside have electromagnetic resonance circuit's electromagnetic pen, the control panel for according to the electromagnetic signal control display panel's that the antenna panel sent operating condition, and according to display panel's operating condition information, judge whether to discern the electromagnetic pen position.
In the above scheme, the control panel judges whether to identify the position of the electromagnetic pen according to the working state information of the display panel as follows: when the display panel is in a refreshing state, the control panel stops processing the received electromagnetic signals, so that the position of the electromagnetic pen is stopped being identified; and after the display panel finishes the refreshing state, the control panel processes the received electromagnetic signal, so that the position of the electromagnetic pen is identified.
In the above scheme, the control panel includes: a transmission unit, a reception unit, a processing unit, and a control unit; wherein,
a transmitting part for transmitting an electromagnetic signal to the antenna board;
the receiving part is used for generating an input signal from the electromagnetic signal received by the antenna board and sending the input signal to the processing part;
the processing part is used for processing the input signal, generating identification information and sending the identification information to the control part;
a control section for identifying a position of the electromagnetic pen based on the identification information and causing the processing section to stop processing of the input signal when the display panel is in a refresh state; and after the display panel finishes the refreshing state, enabling the processing part to continue processing the input signal.
In the above aspect, the transmitting unit includes: a signal generator and a first multiplexer switch; wherein,
a signal generator for generating an electromagnetic signal of a prescribed waveform;
and the first multi-way selection switch is used for selectively switching on the transmitting coil in the antenna board and transmitting the generated electromagnetic signal through the transmitting coil.
In the above aspect, the receiving unit includes: a second multiplexing switch and an amplifying section; wherein,
the second multi-way selection switch is used for selectively switching on the receiving coil in the antenna plate and outputting the received electromagnetic signal to the amplifying part through the receiving coil;
and the amplifying part is used for amplifying the received electromagnetic signal, generating the input signal and sending the input signal to the processing part.
In the above aspect, the processing unit includes: a shaping circuit, an integrating circuit and an A/D sampling circuit; wherein,
a shaping circuit for performing filter shaping processing on the input signal from the receiving section;
the integrating circuit is used for integrating the input signal after the filtering and shaping processing to generate an integral waveform;
and the A/D sampling circuit is used for sampling the integrated waveform, converting the corresponding coordinates at the sampled peak value into identification information and sending the identification information to the control part.
The invention also provides an anti-interference electromagnetic pen position identification method, which comprises the following steps:
the antenna board receives an electromagnetic signal from the electromagnetic pen and sends the electromagnetic signal to the control board; the control panel controls the working state of the display panel according to the received electromagnetic signals, and judges whether the position of the electromagnetic pen is identified or not according to the working state information of the display panel.
In the above scheme, the control panel judges whether to identify the position of the electromagnetic pen according to the working state information of the display panel as follows: when the display panel is in a refreshing state, the control panel stops processing the received electromagnetic signals, so that the position of the electromagnetic pen is stopped being identified; and after the display panel finishes the refreshing state, the control panel processes the received electromagnetic signal, so that the position of the electromagnetic pen is identified.
In the above scheme, the stop of the control board from processing the received electromagnetic signal includes: stopping the filtering and shaping processing of the electromagnetic signal, and/or stopping the integration of the signal after the filtering and shaping processing, and/or stopping the sampling of the integrated waveform.
In the above scheme, the method further comprises: the control panel judges whether the display panel is in a refreshing state or not according to the corresponding zone bit; and the control board judges whether the refreshing state of the display panel is finished or not according to the clock consumed by refreshing the display panel.
In the anti-interference electromagnetic handwriting device and the electromagnetic pen position identification method, the antenna board receives an electromagnetic signal from the electromagnetic pen and sends the electromagnetic signal to the control board; the control panel controls the working state of the display panel according to the received electromagnetic signals, and when the display panel is in a refreshing state, the control panel stops processing the received electromagnetic signals, so that the position of the electromagnetic pen is stopped being identified; and after the display panel finishes the refreshing state, the control panel processes the received electromagnetic signal, so that the position of the electromagnetic pen is identified. By adopting the scheme of the invention, the influence of noise interference signals on the electromagnetic pen when the display panel is refreshed can be effectively avoided, and the misoperation of the electromagnetic pen is prevented.
Detailed Description
The basic idea of the invention is: the antenna board receives an electromagnetic signal from the electromagnetic pen and sends the electromagnetic signal to the control board; the control panel controls the working state of the display panel according to the received electromagnetic signals, and judges whether the position of the electromagnetic pen is identified or not according to the working state information of the display panel.
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The structure of the electromagnetic handwriting device provided by the invention is shown in figure 1, and the device comprises: a display panel 10, an antenna board 20 stacked below the display panel 10, a control board 30 stacked below the antenna board 20, and an electromagnetic pen 40; here, each part circuit constituting the electromagnetic handwriting device is mounted on the control board 30. The electromagnetic pen 40 has a resonance circuit (not shown) therein, and when the electromagnetic pen 40 performs an input operation near the antenna board 20, the resonance circuit resonates a received electromagnetic wave to generate a strong electromagnetic pen signal.
As shown in fig. 1, the antenna board 20 has a plurality of transmission coils 201 and a plurality of reception coils 202 arranged perpendicular to each other. When the electromagnetic pen 40 performs an input operation by approaching the antenna board 20, the electromagnetic wave transmitted by the transmission coil 201 is received by a resonance circuit (not shown) in the electromagnetic pen 40, the resonance circuit resonates and generates a strong electromagnetic pen signal that can be received by the plurality of reception coils 202, and therefore, by scanning the plurality of reception coils 202, the coordinates of the reception coil 202 at which the intensity of the received electromagnetic wave is the maximum, that is, the input position of the electromagnetic pen 40, are acquired.
Fig. 2 is a block diagram showing the configuration of the control board 30 in the electromagnetic handwriting apparatus. The control board 30 of the electromagnetic handwriting apparatus shown in fig. 2 includes: a transmission unit 301, a reception unit 302, a processing unit 303, and a control unit 304 that controls the above-described units and the display on the display panel 10.
The transmission unit 301 includes a signal generator 3011 and a multiplexer 3013. The signal generator 3011 generates an electromagnetic signal having a predetermined waveform under the control of the control unit 304, and the generated electromagnetic signal is amplified to a predetermined intensity by the amplifier 3012 and supplied to the multiplexer 3013; the multiplexer 3013 is controlled by the control unit 304 to switch and selectively turn on any one of the transmission coils 201, so that the transmission coil 201 that is turned on can be scanned, and the generated electromagnetic signal can be transmitted by the transmission coil that is selectively turned on.
The receiving section 302 has a multiplexer 3021 and an amplifying section, and in the present embodiment, the amplifying section includes: an amplifier 3022 and a gain controller 3023. The multiplexer 3021 is controlled by the control unit 304 to switch and select any one of the plurality of receiving coils 202 on, so that the on receiving coil 202 can be scanned, and an electromagnetic signal from the electromagnetic pen is received by the on receiving coil 202; the electromagnetic signal is amplified by an amplifier 3022, gain-controlled by a gain control circuit 3023, and then output to the processing unit 303.
The processing portion 303 includes a shaping circuit 3031, an integrating circuit 3032, and an a/D sampling circuit 3033. The shaping circuit 3031, among others, performs filter shaping processing on the input signal from the receiving unit 302; an integrating circuit 3032 that integrates the signal processed by the shaping circuit 3031 to generate an integrated waveform; the a/D sampling circuit 3033 samples the integrated waveform obtained by the integrating circuit 3032, converts the coordinates corresponding to the sampled peak value into identification information, and inputs the identification information to the control unit 304. Since the coordinate information corresponding to the peak value sampled by the a/D sampling circuit 3033 corresponds to the position of the receiving coil 202 closest to the electromagnetic pen, the control unit 304 can accurately recognize the position of the electromagnetic pen 40 from the recognition information generated after sampling.
Further, the control section 304 also controls the display of the display panel 10, such as displaying menus, texts, pictures, and the like, and thus the operating state of the display panel 10 is divided into two states, wherein one state is: the state in which the page content is normally displayed, and the other state is: a refresh state to switch from display menu, text or picture to text or picture and page. In the refresh state, the display panel 10 also generates electromagnetic waves, and since the display panel 10 is very close to the antenna plate 20, the receiving coil 202 in the antenna plate 20 also receives electromagnetic waves generated by the refresh of the display panel 10, which are referred to as noise electromagnetic waves.
The noise electromagnetic waves generated by the display panel 10 exist on the entire surface and are not uniformly stepped, and the receiving coil 202 receives not only the electromagnetic pen signal but also the noise electromagnetic waves. When the noise electromagnetic wave is processed in the processing unit 303, the noise electromagnetic wave is sampled by the a/D sampling circuit 3033, and it is erroneously recognized as an electromagnetic signal generated by the electromagnetic pen 40, which causes a malfunction of the electromagnetic handwriting apparatus.
In the present invention, when the display panel 10 is in the refresh state, the control unit 304 causes the processing unit 303 to stop processing the input signal, so that it is possible to avoid interference of noise electromagnetic waves generated when the display panel 10 is refreshed with the position recognition of the electromagnetic pen 40, and to eliminate malfunction due to the noise electromagnetic waves.
Based on the electromagnetic handwriting device, the invention also provides an anti-interference electromagnetic pen position identification method, the processing flow is shown in fig. 3, and the method comprises the following steps:
step 401: the control panel judges whether the display panel is in a refreshing state or not; if the display panel is in a refresh state, go to step 402; otherwise, go to step 404;
in this step, the control board may acquire an electromagnetic signal input by the user through the electromagnetic pen 40 from the antenna board 202, recognize the position of the electromagnetic pen 40, and receive a command from an external device (not shown) through the antenna board 202 via an interface (not shown) provided in the control unit 304.
When a user sends a page turning or similar operation instruction through the electromagnetic pen 40, the control portion 304 controls the display panel 10 to execute a refresh operation according to the received operation instruction, so that a displayed picture is refreshed into a new menu, a next page text, a next picture or the like, at this time, when the display panel is in a refresh state, the control portion 304 generates a corresponding flag bit, and therefore, the control portion 304 can judge whether the display panel 10 is in the refresh state according to the flag bit; when the display panel is in a refresh state, step 402 is executed; otherwise, step 403 is performed.
Step 402: the control panel stops recognizing the position of the electromagnetic pen;
in this step, when the control unit 304 determines that the display panel 10 is in the refresh state, it sends a command to the processing unit 303 to stop the processing unit 303 from processing the input signal. In this embodiment, the control unit 304 controls the a/D sampling circuit 3033 in the processing unit 303 to stop sampling the input signal and causes the control unit 304 to stop recognizing the position of the electromagnetic pen, and in this case, even if the noise electromagnetic wave generated when the display panel 10 is refreshed is received by the receiving coil 202, the noise electromagnetic wave is not considered as the input signal of the electromagnetic pen 40, and thus malfunction of the electromagnetic handwriting apparatus 1 can be avoided.
Step 403: judging whether the refreshing state of the display panel is finished or not, and if the refreshing is finished, executing a step 404; otherwise, returning to step 402;
in this step, the control section 304 determines whether the refresh state of the display panel 10 is finished, and if the refresh state of the display panel is finished, executes step 404; if the refresh state of the display panel is not finished, the process returns to step 402. In this embodiment, the control unit 304 may determine whether the refresh state is finished according to a clock consumed by the refresh of the display panel, where the clock consumed by the refresh of the display panel 10 depends on the update mode adopted by the display panel.
Step 404: the control board recognizes the position of the electromagnetic pen according to the received electromagnetic signal and returns to step 401.
In this step, the processing unit 303 processes the input signal to generate identification information, and the control unit 304 continues to identify the position of the electromagnetic pen 40 based on the generated identification information, and returns to step 401; in this embodiment, the processing unit processes the input signal by: the a/D sampling circuit 3033 in the processing unit samples an input signal.
In this embodiment, when the display panel 10 is in the refresh state, the control unit 304 turns off the a/D sampling circuit 3033 in the processing unit 303 to stop the processing unit 303 from sampling, so that the control unit 304 stops recognizing the position of the electromagnetic pen, and thus it is possible to avoid interference of noise electromagnetic waves generated when the display panel 10 is refreshed with the position recognition of the electromagnetic pen 40, and eliminate malfunction due to the noise electromagnetic waves.
Further, the control section 304 can also achieve the same effects as those of the above-described embodiment by turning off any one or more of the rectifier circuit, the integrator circuit, and the a/D sampling circuit in the processing section 303. When a plurality of or all of the circuits of the processing unit 303 are turned off, the power consumption of the electromagnetic handwriting device can be further reduced, which is advantageous for mobile applications of the device.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.