CN112083819A - Electronic handwriting pen without touch control medium and writing control method thereof - Google Patents

Electronic handwriting pen without touch control medium and writing control method thereof Download PDF

Info

Publication number
CN112083819A
CN112083819A CN202010822354.XA CN202010822354A CN112083819A CN 112083819 A CN112083819 A CN 112083819A CN 202010822354 A CN202010822354 A CN 202010822354A CN 112083819 A CN112083819 A CN 112083819A
Authority
CN
China
Prior art keywords
contact
displacement data
writing
working surface
shell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010822354.XA
Other languages
Chinese (zh)
Inventor
杨程
赵涛
辛红敏
唐久久
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Tuweigu Innovation Technology Co ltd
Original Assignee
Xi'an Tuweigu Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Tuweigu Innovation Technology Co ltd filed Critical Xi'an Tuweigu Innovation Technology Co ltd
Priority to CN202010822354.XA priority Critical patent/CN112083819A/en
Publication of CN112083819A publication Critical patent/CN112083819A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0386Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry for light pen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The electronic stylus pen without the touch medium and the writing control method thereof are applied to electronic writing on a working surface without the touch medium and comprise a photoelectric engine, an acceleration sensor, a trigger switch, a processor, a communication module, a power supply module and a shell. The invention relates to the field of electronic writing, wherein the electronic handwriting pen without a touch medium has the shape and the size similar to a common sign pen, is matched with a writing control method, can realize electronic writing on a desk or a mouse pad, only needs to slightly lift up the pen after writing one pen like the common sign pen in the writing process, then moves to the initial position of the next pen for continuous writing, can realize continuous and smooth electronic writing without frequently and repeatedly pressing and loosening a key, and simultaneously captures a trigger signal through a special trigger device to realize the judgment of the connection position and the time between handwriting movement and cursor movement in the writing process, thereby realizing faster response speed and smoother writing effect.

Description

Electronic handwriting pen without touch control medium and writing control method thereof
Technical Field
The invention relates to the field of electronic writing, in particular to an electronic stylus without a touch control medium and a writing control method thereof.
Background
With the popularization of online lessons and digital teaching, blackboard writing of teachers in traditional classes becomes direct writing on PPT, and students begin to be used to answer on Word or PDF during writing. With the large scale of teacher groups and student groups, the demand for electronic writing is becoming more and more urgent.
The existing electronic writing scheme mainly comprises that a capacitor or an electromagnetic pen is matched with a touch-control board, for example, the capacitor or the electromagnetic pen is matched with a touch-control tablet computer, or the capacitor or the electromagnetic pen is matched with a digital board. Although tablet computers and digital tablets have good scenes, for example, the requirements of painting can be met. However, if a tablet personal computer is bought and a pen is matched for teaching to go to a lesson or writing to record notes at ordinary times, the cost is high, one set of the tablet needs hundreds of yuan, and the tablet has no other purposes except writing, drawing and writing and is inconvenient to carry. There is therefore a need in the market for a low cost and portable electronic writing solution.
The photoelectric mouse on the market relies on the photoelectric engine to obtain the track change data that the mouse moved along its working surface to control the movement of cursor, and along with the development of technology, the most advanced photoelectric engine has been enough at present to discern very slight track change, if combine the photoelectric engine of high accuracy with write the function, just can write or draw accurate handwriting with the mouse.
However, the method of writing with the existing ordinary mouse is generally: pressing a left mouse button, writing down a first stroke, loosening the left mouse button after the first stroke is written, moving a mouse control cursor line to the starting point of a second stroke, then pressing the left mouse button, starting writing of the second stroke, loosening the left mouse button after the second stroke is written, moving the mouse control cursor line to the starting point of a third stroke, and repeating the steps to finish writing of subsequent strokes. The biggest problem of the mouse writing mode is that each writing stroke needs to complete two actions, namely pressing a left mouse button and releasing the left mouse button, and certainly, the left mouse button is replaced by other triggering modes, for example, the left mouse button is replaced by a contact switch, the touch is used for starting writing, and the release is used for finishing the writing of the current stroke.
In order to solve the above problems, the applicant has previously filed a chinese patent with patent number "2020100593784" and a chinese patent with patent number "202010059377X" with patent number "2020100593784" and patent number "a method of a pen-shaped mouse and its control terminal" to the national patent office, and through the above two patent technologies, it is only necessary to write with chalk or ordinary pen, slightly lift the mouse after writing one pen, then move to the initial position of the next pen to continue writing, and then realize continuous and smooth writing with the mouse, without frequently and repeatedly pressing and releasing the button, which will greatly meet the requirement of people to write on the ordinary plane, and it will not need to use a special panel capable of sensing the contact position such as a digitizer, a touch pad, a touch screen, and the like, so it will become a brand new and practical electronic writing mode, and will have certain influence on the pattern of the whole electronic writing mode.
In the subsequent development process of pen-shaped mouse products with writing functions, the applicant finds that if the development is carried out according to the writing technical scheme in the 'one-mouse continuous writing method', a more complex judgment needs to be carried out by using a software algorithm at the joint position of handwriting movement and cursor movement, the judgment process can generate a little delay and slightly influence the writing fluency, and in order to eliminate the influence and reduce the operation burden of a processor, the applicant improves the judgment mode of the joint position and the moment of the handwriting movement and the cursor movement in the writing process, and replaces the software algorithm with a method of a special trigger device for processing, so that the response speed is higher, and the writing process is smoother.
Disclosure of Invention
The invention provides a medium-free electronic handwriting pen, which has the appearance and size similar to those of a common sign pen or a pen, can realize electronic writing on a desk or a mouse pad, can realize continuous and smooth electronic writing by only slightly lifting the pen after writing one pen and then moving to the initial position of the next pen for continuous writing like writing with chalk or the common pen in the writing process, does not need to frequently and repeatedly press and release a key, and can realize the judgment of the connection position and time between handwriting movement and cursor movement in the writing process by capturing a trigger signal through a special trigger device, thereby realizing faster response speed and smoother writing effect.
The second purpose of the invention is to provide a writing control method of a touchless stylus, which provides a specific control method and steps for realizing smooth writing by using the electronic stylus without a touch medium, namely, displacement data of handwriting is acquired by a photoelectric engine, displacement data of cursor movement is acquired by an acceleration sensor, the connection position and time between the handwriting movement and the cursor movement are judged by a special trigger device, and then the writing handwriting is synchronously displayed on a screen of a terminal through communication with the terminal.
The third purpose of the invention is to provide a writing control method of a touchless stylus pen capable of controlling a writing mode, which adds a writing mode operation control on the basis of the second purpose, namely, entering and exiting the writing mode by pressing a jog switch, and when the jog switch is pressed to enter the writing mode, the writing control logic is consistent with the second purpose. The difference from the second invention lies in that when the jog switch is not pressed, the displacement data of the cursor movement is obtained by the photoelectric engine instead of the acceleration, and the high-precision characteristic of the photoelectric engine can be well utilized to realize the remote precise movement in the writing process.
The technical scheme for realizing the first invention purpose is as follows:
an electronic handwriting pen without a touch control medium is applied to electronic writing on a working surface without the touch control medium and can synchronously display written handwriting on a screen of a terminal, and comprises a photoelectric engine, an acceleration sensor, a trigger switch, a processor, a communication module, a power supply module and a shell, wherein the photoelectric engine is positioned on the bottom surface of the shell and is connected with the processor, the acceleration sensor is connected with the processor, the trigger switch comprises a trigger device and a trigger circuit, the trigger device is installed on the bottom surface of the shell and is used for sensing the contact state between the bottom surface of the shell and the working surface, the contact state can be fed back to the processor through the trigger circuit, the communication module is connected with the processor and is used for realizing the communication between the communication module and the terminal, and the power supply module is connected with the processor, the electronic handwriting pen is used for supplying power to the electronic handwriting pen without the touch control medium.
Furthermore, the trigger device comprises a reboundable trigger ejector rod and a conductive contact, the reboundable trigger ejector rod is provided with a conductor, the contact relation between the conductor and the conductive contact can be used as a switch on-off signal to be fed back to the processor by the trigger circuit, the reboundable trigger ejector rod is arranged on the bottom surface of the shell, and a small section extends from the bottom surface of the housing, when the bottom surface of the housing is in full contact with the work surface, the part of the springback trigger ejector rod extending out of the bottom surface of the shell is extruded by the working surface and then retracts into the shell, at the moment, the contact relation between the electric conductor and the conductive contact is changed, when the bottom surface of the shell leaves the working surface, the rebounding trigger ejector rod rebounds to restore to the state before being extruded by the working surface, and the contact relation between the electric conductor and the conductive contact also restores to the state before being extruded by the working surface.
The contact state between the bottom surface of the shell and the working surface and the contact relation between the electric conductor and the conductive contact point preferably correspond to the following relation: when the bottom surface of the shell is completely contacted with the working surface, the part of the reboundable trigger ejector rod extending out of the bottom surface of the shell is extruded by the working surface and then retracts into the shell, at the moment, the contact relation between the conductor and the conductive contact is changed into a contact-free state from a contact state, when the bottom surface of the shell is separated from the working surface, the reboundable trigger ejector rod rebounds, and the contact relation between the conductor and the conductive contact is changed into a contact state from a contact-free state. This preferred correspondence is referred to as a first correspondence.
The reason why the first correspondence relationship is a preferred embodiment is that if the opposite correspondence relationship is adopted, the problem of ambiguity in the control logic arises. Now, the corresponding relationship opposite to the first corresponding relationship is called as a second corresponding relationship, and the second corresponding relationship is: when the bottom surface of the shell is completely contacted with the working surface, the contact relation between the electric conductor and the conductive contact is changed from a contact state to a contact state, and when the bottom surface of the shell is separated from the working surface, the contact relation between the electric conductor and the conductive contact is changed from the contact state to the contact state. The reason why the second correspondence creates a problem of ambiguity in the control logic is as follows:
when the bottom surface of the shell is contacted with the working surface, the part of the rebounding trigger ejector rod extending out of the bottom surface of the shell retracts into the interior of the shell after being pressed by the working surface, but the specific retraction amount is uncertain. The reason why the retraction amount is uncertain is that on one hand, a fine bump or a pit may be formed on the working surface, which affects the retraction amount, if the bottom end of the reboundable trigger ejector rod just contacts with the bump, the retraction amount is larger, and if the bottom end of the reboundable trigger ejector rod just contacts with the pit, the retraction amount is smaller; on the other hand, the hardness of the material of the working surface also affects the retraction amount, and the retraction amount is smaller when the material of the working surface is softer. No matter which of the above-mentioned circumstances, as long as it is uncertain and undulant to retract the volume, adopt the second corresponding relation all can lead to the contact between electric conductor and the conductive contact goes wrong, when retracting the volume when little, the bad contact condition can appear between electric conductor and the conductive contact, when retracting the volume when big partially, can lead to the contact again, the consequence of contact is crossed or extrudees conductive contact and makes its deformation, can kick-back trigger ejector pin resilience incomplete, still leaves a small segment in the outside of casing bottom surface, makes the perk of casing bottom surface, the influence is write. In summary, many problems arise if the second correspondence is adopted, but these problems do not arise if the first correspondence is adopted.
In addition, the advantage of using the first correspondence as the preferred correspondence is that the contact state is unique, i.e. the minimum distance between the electrical conductor and the conductive contact is zero, while the possibility of the contact disengagement state is infinite, i.e. the distance between the electrical conductor and the conductive contact in the contact disengagement state can be any value between 0 and 2mm, provided that the initial distance between the electrical conductor and the conductive contact is 2mm without the resilient trigger ram being pressed back by the working surface. The transition from the unique state to any of the infinite states is reliable and instantaneous, while the transition from any of the infinite states to the unique state is at least not instantaneous, since there are a myriad of intermediate states in between. Therefore, if the first corresponding relation is adopted, the cursor can be moved and switched to handwriting writing at the moment that the bottom end of the reboundable trigger ejector rod is contacted with the working surface, so that the response accuracy and speed of writing the handwriting are greatly improved, the delay of writing the handwriting is reduced, the length of the reboundable trigger ejector rod extending out of the bottom surface of the shell can be set to be very short, the height of the pen which needs to be lifted in the writing process is greatly reduced, and the requirements of more complex and diversified writing habits can be met. In summary, the first correspondence is a preferable correspondence in the present invention.
Furthermore, the reboundable trigger ejector rod comprises an ejector rod and a spring, the thrust direction of the spring to the ejector rod faces the bottom end of the ejector rod, the electric conductor is located on the ejector rod, the conductive contact is a metal rod, the trigger circuit comprises a loop consisting of the metal rod and the electric conductor, the loop forms a passage when the metal rod is in contact with the electric conductor, the loop forms an open circuit when the metal rod is out of contact with the electric conductor, and the processor judges whether the bottom surface of the shell is in contact with the working surface or not by judging whether the loop is in the passage or the open circuit.
Furthermore, the medium-touch-free electronic stylus pen further comprises a jog switch, the jog switch is connected with the processor and located at a position, which is lower than the front side of the outer surface of the shell, of the housing, and the jog switch is located in an area covered by a fingertip of an index finger under a common pen holding posture, namely, under a working state of the medium-touch-free electronic stylus pen.
Further, the electronic stylus pen without the touch medium further comprises a DPI adjustment switch, and the DPI adjustment switch is used for changing a ratio between physical displacement of the electronic stylus pen without the touch medium actually moving along the working surface and displacement of a cursor displayed on a terminal screen and displacement of a screen display of handwriting movement.
The technical scheme for realizing the second invention purpose is as follows:
a writing control method of a touchless stylus based on the electronic stylus without the touch medium comprises the following steps:
step 1: judging the contact state between the bottom surface of the shell and the working surface, wherein the contact state comprises two states, namely contact state and non-contact state;
step 2: when the contact state between the bottom surface of the shell and the working surface is judged to be contact, acquiring first displacement data generated by the movement of the bottom surface of the shell along the working surface by the photoelectric engine;
and step 3: when the contact state between the bottom surface of the shell and the working surface is determined to be non-contact, second displacement data generated by the fact that the bottom surface of the shell moves along the working surface are obtained through the acceleration sensor;
and 4, step 4: taking the first displacement data as input data of handwriting in the writing process of the electronic handwriting pen without the touch control medium, taking the second displacement data as input data of cursor movement without handwriting in the writing process, and transmitting the first displacement data and the second displacement data to the terminal in real time in the writing process;
and 5: and taking the position end point of the nth first displacement data as the position start point of the nth second displacement data, taking the position end point of the nth second displacement data as the position start point of the (n + 1) th first displacement data, and processing and displaying the first displacement data and the second displacement data by the terminal.
Further, the method for acquiring the second displacement data by using the acceleration sensor comprises the following steps:
s1, determining the lower limit of integration: obtaining an integration time lower limit of second displacement data by taking a moment when a contact state between the bottom surface of the housing and the working surface is changed from contact to non-contact as acceleration twice integration;
s2, obtaining second displacement data by integrating the acceleration: on the basis of determining the integral lower limit, performing secondary integration on the acceleration signal detected by the acceleration sensor in a time domain to obtain second displacement data;
s3, determining an upper integration limit: and taking the moment when the contact state between the bottom surface of the shell and the working surface is changed from non-contact to contact as the time upper limit of the secondary integral of the acceleration, and obtaining the displacement result of the secondary integral of the acceleration, namely second displacement data.
The technical scheme for realizing the third invention purpose is as follows:
a writing control method of a touchless stylus capable of controlling a writing mode, which is also based on the above touchless medium electronic stylus, includes the following steps:
step 1: detecting whether the jog switch is in a pressed state, when the jog switch is in a non-pressed state, judging that the electronic handwriting pen without the touch control medium is in a non-writing mode, and when the jog switch is in a pressed state, judging that the electronic handwriting pen without the touch control medium is in a writing mode;
step 2: judging the contact state between the bottom surface of the shell and the working surface, wherein the contact state comprises two states, namely contact state and non-contact state;
and step 3: when the touchless media electronic stylus is in a non-writing mode,
if the contact state between the bottom surface of the shell and the working surface is contact, acquiring third displacement data generated by the movement of the bottom surface of the shell along the working surface by the photoelectric engine,
if the contact state between the bottom surface of the shell and the working surface is not contacted at the moment, the photoelectric engine and the acceleration sensor do not work;
and 4, step 4: when the touchless media electronic stylus is in writing mode,
if the contact state between the bottom surface of the shell and the working surface is contact, acquiring fourth displacement data generated by the movement of the bottom surface of the shell along the working surface by the photoelectric engine,
if the contact state between the bottom surface of the shell and the working surface is not contacted at the moment, acquiring fifth displacement data generated by the movement of the bottom surface of the shell along the working surface by the acceleration sensor;
and 5: and taking the fourth displacement data as input data of handwriting in the writing process of the electronic handwriting pen without the touch medium, taking the third displacement data and the fifth displacement data as input data of cursor movement without generating the handwriting, transmitting the third displacement data, the fourth displacement data and the fifth displacement data to a terminal in real time, and processing or displaying the third displacement data, the fourth displacement data and the fifth displacement data by the terminal.
Further, when the medium-free electronic stylus is in a writing mode, the method for acquiring the fifth displacement data by using the acceleration sensor comprises the steps of
S4, determining the lower limit of integration: obtaining an integration time lower limit of fifth displacement data by taking a time point at which a contact state between the bottom surface of the housing and the working surface changes from contact to non-contact as acceleration twice integration;
s5, obtaining fifth displacement data by integrating the acceleration: on the basis of determining the integration lower limit, performing secondary integration on the acceleration signal detected by the acceleration sensor in a time domain to obtain fifth displacement data;
s6, determining an upper integration limit: and taking the moment when the contact state between the bottom surface of the shell and the working surface is changed from non-contact to contact as the time upper limit of the secondary integral of the acceleration, and obtaining the displacement result of the secondary integral of the acceleration, namely fifth displacement data.
The advantages and principles of adopting a photoelectric engine to obtain handwriting displacement data and adopting an acceleration sensor to obtain cursor displacement data are as follows: one characteristic of the photovoltaic engine is to have a silent distance, i.e. the photovoltaic engine is highly limited in detecting displacement data between itself and the work surface, and when the distance of its bottom surface from the work surface exceeds a certain distance threshold, called the silent distance of the photovoltaic engine, the photovoltaic engine will not be able to obtain displacement data of the relative movement. If no other operation is performed in the writing process, the pen is lifted after writing a stroke, the height of the pen moved upwards exceeds the silent distance, the operation is taken as a signal for finishing the current stroke, the writing of the current stroke can be really finished, but the position of the starting point of the next stroke cannot be known, because the cursor only stays at the position of the cursor at the moment of lifting the pen no matter how the cursor moves after the lifted distance exceeds the silent distance, so the next stroke cannot be continuously written under the condition.
Although the method for calculating the displacement by performing quadratic integration on the acceleration has some defects in precision, if the method is only used for determining the starting point position of the next stroke, the method can meet the requirement because only one displacement needs to be calculated, a large amount of accumulated errors cannot be generated because of multiple continuous integrations like calculating a real-time track, and the starting position does not need to be very high in precision when writing. Meanwhile, only the displacement from the end point of the current stroke to the start point of the next stroke needs to be calculated, so that the calculation amount is small, and the displacement is more easily calculated by adopting a more accurate quadratic integral algorithm.
Conversely, if the trajectory of the written trace itself is also obtained by twice integrating the acceleration, the resulting trace error will be unacceptable for the following reasons: as we know, the handwriting is composed of a plurality of continuous track points, if the acceleration quadratic integral is adopted to calculate the handwriting, the track point calculated above the calculation of the next track point is taken as a position starting point, the previous track point has calculation errors, and the errors are gradually overlapped point by point, so the calculated handwriting can generate continuous drift in precision, and the calculated trajectory can generate larger and larger deviation with the real physical moving trajectory. In addition, the huge real-time computation effort in this process is also unacceptable. The reason why the invention adopts the photoelectric engine to acquire the handwriting displacement data and the acceleration sensor to acquire the cursor displacement data is also the reason.
The invention has the beneficial effects that:
1. the electronic handwriting pen without the touch control medium has the appearance and the size similar to those of a common sign pen or a pen, can realize electronic writing on a desk or a mouse pad, in addition, only like writing with chalk or a common pen, the pen is lifted slightly after writing one stroke, then moving to the initial position of the next pen to continue writing, thus realizing continuous and smooth electronic writing, the key does not need to be pressed and loosened frequently and repeatedly, and the judgment of the connection position and time between the handwriting movement and the cursor movement in the writing process is realized by preferably selecting the mechanical structure triggering of the first corresponding relation;
2. if the first corresponding relation is adopted, the cursor movement can be switched to handwriting writing at the moment when the bottom end of the reboundable trigger ejector rod contacts the working surface, so that the response accuracy and speed of the handwriting writing are greatly improved, the delay of the handwriting writing is reduced, the length of the reboundable trigger ejector rod extending out of the bottom surface of the shell can be set to be very short, the height of a pen needing to be lifted in the writing process is greatly reduced, and the requirements of more complex and various writing habits can be met;
3. if the writing control method corresponding to the third purpose of the invention is adopted, the writing mode and the non-writing mode can be conveniently switched, and in the non-writing mode, the displacement data of the cursor movement is also acquired by a high-precision photoelectric engine instead of a low-precision acceleration sensor, so that the long-distance precise movement in the writing process can be well realized.
Drawings
FIG. 1 is a side rear perspective three-dimensional schematic view of a touchless media electronic stylus.
FIG. 2 is a side front perspective three-dimensional schematic view of a touchless media electronic stylus.
Fig. 3 is a schematic diagram of the internal structure of the electronic stylus without touch control medium after the housing is hidden.
Fig. 4 is a schematic structural diagram of the electronic stylus pen without touch control medium with a half-hidden casing.
FIG. 5 is a schematic structural diagram of a housing half-way through an electronic stylus without a touch control medium.
FIG. 6 is a schematic diagram of a first embodiment of a plunger of a touchless media electronic stylus.
FIG. 7 is a schematic diagram of a second embodiment of a plunger of a touchless media electronic stylus.
Fig. 8 is a schematic diagram of the operating state of the electronic stylus pen without touch control medium, in which the direction mark at the upper left corner designates the direction mentioned in the present invention, and in addition, "bottom", and "bottom" in the present invention correspond to "down" in the direction mark.
FIG. 9 is a simplified schematic illustration of the writing control method according to the present invention, in which the hollow strokes 17 of "wooden" are used to indicate the handwriting according to the present invention; the three thin lines 18 with arrows in the figure indicate the cursor movement displacement described in the present invention, i.e. the idle stroke of the pen after being lifted along its working surface during writing.
Detailed Description
The present invention will be described and illustrated in further detail below with reference to the following examples of the invention and the accompanying drawings, wherein the examples are described as only a part of the examples of the invention, and not as all examples. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment for achieving the first object of the invention:
as shown in fig. 1, fig. 2, fig. 3 and fig. 8, the electronic handwriting pen without the touch control medium is applied to electronic writing on a working surface 16 without the touch control medium, and can synchronously display writing on a screen of a terminal. The work surface 16 may be a flat table surface, a mouse pad surface, or other flat surface with fine textures. The terminal can be a desktop computer, a notebook computer, a smart phone, a tablet computer, a smart television, a smart watch, a smart projector, smart glasses with a display function and the like.
The electronic handwriting pen without the touch medium comprises a photoelectric engine 6, an acceleration sensor 13, a trigger switch, a processor 10, a communication module, a power module and a shell 1, wherein the photoelectric engine 6 is located on the bottom surface 101 of the shell 1 and connected with the processor 10, the acceleration sensor 13 is connected with the processor 10, the trigger switch comprises a trigger device and a trigger circuit, the trigger device is installed on the bottom surface 101 of the shell 1 and used for sensing the contact state between the bottom surface 101 of the shell and the working surface 16, the contact state can be fed back to the processor 10 through the trigger circuit, the communication module is connected with the processor 10 and used for realizing communication between terminals, and the power module is connected with the processor 10 and used for supplying power to the electronic handwriting pen without the touch medium. Preferably, the housing 1 is pen-shaped.
The photovoltaic engine 6 is typically a complete set of modules including a lens, a mouse sensor, and a light source. The invention requires the photoelectric engine 6 to be smaller in volume, and through actual test and verification, the two mouse sensors, namely the PAW 3220-LU-TJDU and the PAW3204LU-DJTU, produced by the original company and matched lenses and light sources thereof can meet the requirements.
The acceleration sensor 13 may be a conventional six-axis or three-axis acceleration sensor, such as a conventional MPU6050 six-axis acceleration sensor.
If the casing 1 is pen-shaped, it is preferable that the acceleration sensor 13 and the photo engine 6 should be located on a small circuit board 14, the small circuit board 14 should be parallel to the casing bottom surface 101, and the photo engine 6 should be located on the lower surface of the small circuit board 14. As shown in fig. 5, the optical path of the photovoltaic engine 6 can propagate through the lens mounting hole 102 on the housing 1.
The processor 10 may be a conventional ARM chip, 51 chip, Arduino chip, FPGA chip, X86 chip, DSP chip, or the like. Preferably, the processor 10 is an NRF51822 chip. Preferably, the processor 10 is located on the main board 9, and the small circuit board 14 is connected with the main board 9 through a flat cable.
The communication module is used for realizing data communication between the electronic stylus pen without the touch medium and the terminal, and can be a wireless communication module or a wired communication module, wherein the wireless communication module can be a standard module of common wireless communication modes such as Bluetooth, 2.4Ghz, ZigBee, WiFi, NFC, mobile communication network and the like.
The power module can be a wired power module and also can be a battery power supply module, wherein the battery power supply module can be a rechargeable lithium battery 15, and the charging interface 2 based on the Type C or Micro USB technology is used for charging. Preferably, the rechargeable lithium battery 15 is located in a battery slot 106 at the upper part of the housing 1, and the charging interface 2 is located on the main board 9. Preferably, the main board 9 can be clamped in the main board restriction slot 105 of the housing 1.
Further, as shown in fig. 3, 4, 6, and 7, the triggering device includes a resilient triggering plunger and a conductive contact, the resilient triggering plunger is provided with a conductive body, the conductive body may be a metal corner end 805 on the resilient triggering plunger or a metal strip 19 mounted on the resilient triggering plunger, a contact relationship between the conductive body and the conductive contact may be fed back to the processor 10 as a switch on-off signal by the triggering circuit, the resilient triggering plunger is mounted on the bottom surface 101 of the housing and extends from the bottom surface 101 of the housing to a small extent, when the bottom surface 101 of the housing is completely contacted with the working surface 16, the bottom end 801 of the resilient triggering plunger extending out of the bottom surface 101 of the housing is pressed by the working surface 16 and then retracts into the housing 1, and at this time, the contact relationship between the conductive body and the conductive contact changes, when the bottom surface 101 of the housing is away from the working surface 16, the resilient trigger ram springs back to a state before being pressed by the working surface 16, and the contact relationship between the electrical conductors and the conductive contacts is also restored to a state before being pressed by the working surface 16.
Further, the reboundable trigger ejector rod comprises an ejector rod 8 and a spring 12, the thrust direction of the spring 12 to the ejector rod 8 faces the bottom end of the ejector rod 8, the electric conductor is located on the ejector rod 8, if the ejector rod 8 is made of metal, only a metal corner end 805 needs to be designed on the ejector rod 8, and the metal corner end 805 can serve as the electric conductor; if the ram 8 is made of plastic, a metal strip 19 is required to be mounted on the ram tip 806 as an electrical conductor. The conductive contacts are preferably metal bars 11 soldered to the motherboard. The trigger circuit comprises a loop consisting of a metal rod 11 and a conductor. In order to form a trigger circuit capable of providing a switching signal, two switch terminals are required on the circuit, in addition to the metal rod 11 serving as one switch terminal, another second switch terminal 901 is also required on the main board, one end of a soft conducting wire is welded on the second switch terminal 901, and the other end is connected to a conductor, so that a complete trigger circuit is formed. The loop forms a path when the metal rod 11 is in contact with the conductor and forms an open circuit when the metal rod 11 is out of contact with the conductor, and the processor 10 determines whether contact has occurred between the housing bottom surface 101 and the work surface 16 by determining whether the loop is open or closed.
As shown in fig. 3 to 7, the spring 12 is preferably mounted in a spring moving groove 103 on the housing 1. Preferably, the ejector 8 further comprises a flange 802, a straight section 803 and a transition section 804, wherein the flange 802 can only move in the spring moving groove 103 and is applied with a pushing force in an obliquely downward direction by the spring 12, and the straight section 803 is matched with the ejector hole 104 in the housing 1 and can only move along the axial direction of the ejector hole 104. When the top rod 8 and the electric conductor are of an integrated structure as shown in fig. 6, the other end of the soft wire only needs to be tied at the corner of the metal corner end 805 of the top rod 8; when the top bar 8 and the conductive body are in the assembled structure as shown in fig. 7, the other end of the soft wire needs to be welded to the metal strip 19 or bound to the wiring hole 1901 of the metal strip 19.
In addition to the mechanical trigger device, the trigger device may be an electronic trigger device, such as a distance sensor that directly senses the distance between the bottom surface 101 of the housing and the working surface 16, and when the distance between the bottom surface 101 of the housing and the working surface 16 is very close, it is considered that the two are in contact; the triggering device may also be a photosensitive element capable of determining whether there is ambient light between the bottom surface 101 of the housing and the working surface 16, and when there is ambient light between the two, it indicates that the two are not in full contact, and when there is no ambient light between the two, it indicates that the two are in contact, but the ambient light sensing method is used to determine that the device is affected by the change of the intensity of the external light, for example, there is no ambient light in the night or in a dark environment, which may result in erroneous determination. The use of these two types of electronic triggering devices as triggering devices in the present invention shall also fall within the scope of the present invention.
Further, the medium-touch-free electronic stylus further comprises a jog switch 5, the jog switch 5 is connected with the processor 10 and located at a position on the lower side of the front side of the outer surface of the shell 1, and the jog switch 5 is located in an area covered by the tip of the index finger in a normal pen holding posture, namely, in a working state of the medium-touch-free electronic stylus. Preferably, the jog switch 5 includes a jog key 501 and a key casing 502.
Further, the electronic stylus pen without the touch medium further comprises a DPI adjustment switch 3, and the DPI adjustment switch 3 is configured to change a ratio between a physical displacement of the electronic stylus pen without the touch medium actually moving along the working surface 16 and a displacement of a cursor and a screen display of handwriting movement displayed on a terminal screen. For example, if the actual movement of the electronic stylus without the touch medium along the working surface 16 is 40mm, and the movement of the cursor and the handwriting displayed on the terminal screen is 20mm, the ratio is 2: 1. The proportion can be set in various ways, such as 1:2, 1:1, 2:1, 3:1 and the like, and the proportion can be flexibly set according to needs in practical application, and can be adjusted through the DPI adjusting switch 3, the switch 3 is adjusted according to one DPI, and the proportion is switched once in sequence. The sequence can be set to be in a head-to-tail connection circulation mode, and circulation adjustment of the DPI is achieved. Preferably, the DPI adjustment switch includes a DPI jog key 301 and a DPI key case 302.
Furthermore, the electronic stylus pen without the touch medium further comprises a power switch 4, and the power switch 4 is used for controlling the complete machine of the electronic stylus pen without the touch medium to be powered on and off. Preferably, the power switch 4 comprises a toggle switch 401 and a toggle push button 402.
As shown in fig. 8, preferably, in the working state of the electronic stylus without touch medium, an included angle α between an axis of the electronic stylus without touch medium and the working surface 16 is between 60 ° and 90 °.
The embodiment for achieving the second object of the invention:
a writing control method of a touchless stylus based on the electronic stylus without the touch medium comprises the following steps:
step 1: determining a contact state between the housing bottom surface 101 and the working surface 16, the contact state being two, i.e., contact and non-contact;
step 2: when the contact state between the shell bottom surface 101 and the working surface 16 is judged to be contact, acquiring first displacement data generated by the movement of the shell bottom surface 101 along the working surface 16 by the photoelectric engine 6;
and step 3: when the contact state between the shell bottom surface 101 and the working surface 16 is determined to be non-contact, second displacement data generated by the movement of the shell bottom surface 101 along the working surface 16 is acquired by the acceleration sensor 13;
and 4, step 4: taking the first displacement data as input data of handwriting in the writing process of the electronic handwriting pen without the touch control medium, taking the second displacement data as input data of cursor movement without handwriting in the writing process, and transmitting the first displacement data and the second displacement data to the terminal in real time in the writing process; as shown in fig. 9, taking the written content as a "wood" as an example, the track corresponding to the hollow stroke 17 of the "wood" in fig. 9 is the handwriting in the present invention, and the track corresponding to the three thin lines 18 with arrows in fig. 9 is the cursor moving but without generating the displacement of the handwriting after the pen is lifted in the writing process in the present invention, that is, the idle stroke of the electronic handwriting pen without touch medium moving along the working surface 16 after the bottom 101 of the housing is separated from the working surface 16;
and 5: and taking the position end point of the nth first displacement data as the position start point of the nth second displacement data, taking the position end point of the nth second displacement data as the position start point of the (n + 1) th first displacement data, and processing and displaying the first displacement data and the second displacement data by the terminal. As shown in FIG. 9, again taking the example of "wood" writing, the end of position B of the first stroke, i.e., the AB segment, is taken as the start of position of the first thin line 18; the position end point C of the first thin line 18 is used as the position starting point of the second CD segment; the subsequent strokes are analogized and are not described in detail.
Further, the method for acquiring the second displacement data by using the acceleration sensor 13 includes the following steps:
s1, determining the lower limit of integration: obtaining an integration time lower limit of second displacement data by using a time point at which a contact state between the housing bottom surface 101 and the working surface 16 changes from contact to non-contact as acceleration twice integration;
s2, obtaining second displacement data by integrating the acceleration: on the basis of determining the integration lower limit, performing secondary integration on the acceleration signal detected by the acceleration sensor 13 in a time domain to obtain second displacement data;
s3, determining an upper integration limit: the time when the contact state between the housing bottom surface 101 and the working surface 16 changes from non-contact to contact is taken as the upper time limit of the acceleration integral of this time, and the displacement result of the acceleration integral of this time, i.e., the second displacement data, is obtained.
Embodiment to achieve the third object of the invention:
compared with the embodiment for realizing the second invention, the third invention is realized only by adding the pressing to the push switch 5, and other parts are basically unchanged, and the content of the part is written in more detail in the invention content, so that the description is not repeated.

Claims (10)

1. An electronic handwriting pen without a touch control medium is applied to electronic writing on a working surface (16) without the touch control medium and can synchronously display the written handwriting on a screen of a terminal, and is characterized by comprising a photoelectric engine (6), an acceleration sensor (13), a trigger switch, a processor (10), a communication module, a power supply module and a shell (1),
the photoelectric engine (6) is positioned on the bottom surface of the shell (1) and is connected with the processor (10),
the acceleration sensor (13) is connected with the processor (10),
the trigger switch comprises a trigger device and a trigger circuit, the trigger device is arranged on the bottom surface of the shell (1) and is used for sensing the contact state between the bottom surface (101) of the shell and the working surface (16), and the contact state can be fed back to the processor (10) through the trigger circuit,
the communication module is connected with the processor (10) and is used for realizing communication with the terminal,
the power supply module is connected with the processor (10) and used for supplying power to the electronic handwriting pen without the touch control medium.
2. The medium-free electronic stylus pen according to claim 1, wherein the trigger device comprises a reboundable trigger plunger and a conductive contact, the reboundable trigger plunger is provided with a conductive body, the contact relationship between the conductive body and the conductive contact can be fed back to the processor (10) as a switch on-off signal by the trigger circuit,
the reboundable trigger ejector rod is arranged on the bottom surface of the shell (1) and extends out of a small section of the bottom surface (101) of the shell, when the bottom surface (101) of the shell is completely contacted with the working surface (16), the part, extending out of the bottom surface (101), of the reboundable trigger ejector rod retracts into the shell (1) after being extruded by the working surface (16), at the moment, the contact relation between the electric conductor and the conductive contact is changed, when the bottom surface (101) of the shell is separated from the working surface (16), the reboundable trigger ejector rod rebounds to restore to the state before being extruded by the working surface (16), and the contact relation between the electric conductor and the conductive contact is also restored to the state before being extruded by the working surface (16).
3. The medium-free electronic stylus pen according to claim 2, wherein when the bottom surface (101) of the housing is completely contacted with the working surface (16), the part of the resilient trigger mandril extending out of the bottom surface of the housing is pressed by the working surface (16) and then retracts into the housing (1), the contact relation between the electric conductor and the conductive contact is changed from a contact state to a contact-free state, and when the bottom surface (101) of the housing is separated from the working surface (16), the resilient trigger mandril rebounds, and the contact relation between the electric conductor and the conductive contact is changed from the contact-free state to the contact state.
4. The medium-free electronic stylus according to claim 2, wherein the reboundable trigger plunger comprises a plunger (8) and a spring (12), the spring (12) pushes the plunger (8) towards the bottom end of the plunger (8), the conductive body is located on the plunger (8), the conductive contact is a metal rod (11), the trigger circuit comprises a loop consisting of the metal rod (11) and the conductive body, the loop forms a path when the metal rod (11) contacts the conductive body, the loop forms an open circuit when the metal rod (11) is separated from the conductive body, and the processor (10) determines whether the contact between the housing bottom surface (101) and the working surface (16) occurs by determining whether the loop is the path or the open circuit.
5. The medium-touch-free electronic stylus according to claim 1, further comprising a jog switch (5), wherein the jog switch (5) is connected to the processor (10) and located at a position lower than the front side of the outer surface of the housing (1), and in a normal pen holding posture, i.e. an operating state of the medium-touch-free electronic stylus, the jog switch (5) is located in an area covered by a fingertip of an index finger.
6. The touchless media electronic stylus according to claim 1, further comprising a DPI adjustment switch (3), the DPI adjustment switch (3) being configured to change a ratio between a physical displacement of the touchless media electronic stylus actually moving along the working surface (16) and an on-screen displacement of cursor and handwriting movements displayed on a terminal screen.
7. A writing control method of a touchless stylus based on the medium-less electronic stylus of any one of claims 1-6, the method comprising
Step 1: determining a contact state between the housing bottom surface (101) and the working surface (16), the contact state being two, i.e. contact and non-contact;
step 2: when the contact state between the shell bottom surface (101) and the working surface (16) is judged to be contact, acquiring first displacement data generated by the movement of the shell bottom surface (101) along the working surface (16) by the photoelectric engine (6);
and step 3: when the contact state between the shell bottom surface (101) and the working surface (16) is determined to be non-contact, second displacement data generated by the movement of the shell bottom surface (101) along the working surface (16) are acquired by the acceleration sensor (13);
and 4, step 4: taking the first displacement data as input data of handwriting in the writing process of the electronic handwriting pen without the touch control medium, taking the second displacement data as input data of cursor movement without handwriting in the writing process, and transmitting the first displacement data and the second displacement data to the terminal in real time in the writing process;
and 5: and taking the position end point of the nth first displacement data as the position start point of the nth second displacement data, taking the position end point of the nth second displacement data as the position start point of the (n + 1) th first displacement data, and processing and displaying the first displacement data and the second displacement data by the terminal.
8. The writing control method of a touchless stylus according to claim 7, wherein the method of acquiring second displacement data using the acceleration sensor (13) comprises
S1, determining the lower limit of integration: obtaining an integration time lower limit of second displacement data by using a time point at which a contact state between the housing bottom surface (101) and the working surface (16) changes from contact to non-contact as acceleration twice integration;
s2, obtaining second displacement data by integrating the acceleration: on the basis of determining the integration lower limit, performing secondary integration on the acceleration signal detected by the acceleration sensor (13) in a time domain to obtain second displacement data;
s3, determining an upper integration limit: and taking the moment when the contact state between the bottom surface (101) of the shell and the working surface (16) is changed from non-contact to contact as the time upper limit of the acceleration twice integration, and obtaining the displacement result of the acceleration twice integration, namely second displacement data.
9. A writing control method of a touchless stylus capable of controlling writing mode, the electronic stylus being based on the touchless medium of any one of claims 1-6, wherein the method comprises
Step 1: detecting whether the jog switch (5) is in a pressed state, when the jog switch (5) is in a non-pressed state, judging that the electronic stylus without the touch control medium is in a non-writing mode, and when the jog switch (5) is in a pressed state, judging that the electronic stylus without the touch control medium is in a writing mode;
step 2: determining a contact state between the housing bottom surface (101) and the working surface (16), the contact state being two, i.e. contact and non-contact;
and step 3: when the touchless media electronic stylus is in a non-writing mode,
if the contact state between the shell bottom surface (101) and the working surface (16) is contact, acquiring third displacement data generated by the movement of the shell bottom surface (101) along the working surface (16) by the photoelectric engine (6),
if the contact state between the bottom surface (101) of the shell and the working surface (16) is not contacted at the moment, neither the photoelectric engine (6) nor the acceleration sensor (13) works;
and 4, step 4: when the touchless media electronic stylus is in writing mode,
if the contact state between the shell bottom surface (101) and the working surface (16) is contact, the photoelectric engine (6) acquires fourth displacement data generated by the movement of the shell bottom surface (101) along the working surface (16),
acquiring fifth displacement data generated by the movement of the bottom surface (101) of the shell along the working surface (16) by the acceleration sensor (13) if the contact state between the bottom surface (101) of the shell and the working surface (16) is not contact;
and 5: and taking the fourth displacement data as input data of handwriting in the writing process of the electronic handwriting pen without the touch medium, taking the third displacement data and the fifth displacement data as input data of cursor movement without generating the handwriting, transmitting the third displacement data, the fourth displacement data and the fifth displacement data to a terminal in real time, and processing or displaying the third displacement data, the fourth displacement data and the fifth displacement data by the terminal.
10. The writing control method of the touchless stylus for manipulable writing mode according to claim 9, wherein the method of acquiring the fifth displacement data using the acceleration sensor (13) when the touchless medium electronic stylus is in writing mode comprises
S4, determining the lower limit of integration: obtaining an integration time lower limit of fifth displacement data with a time point at which a contact state between the housing bottom surface (101) and the working surface (16) changes from contact to non-contact as acceleration double integration;
s5, obtaining fifth displacement data by integrating the acceleration: on the basis of determining the integration lower limit, performing secondary integration on the acceleration signal detected by the acceleration sensor (13) in a time domain to obtain fifth displacement data;
s6, determining an upper integration limit: and taking the moment when the contact state between the bottom surface (101) of the shell and the working surface (16) is changed from non-contact to contact as the time upper limit of the acceleration twice integration, and obtaining the displacement result of the acceleration twice integration, namely fifth displacement data.
CN202010822354.XA 2020-08-17 2020-08-17 Electronic handwriting pen without touch control medium and writing control method thereof Pending CN112083819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010822354.XA CN112083819A (en) 2020-08-17 2020-08-17 Electronic handwriting pen without touch control medium and writing control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010822354.XA CN112083819A (en) 2020-08-17 2020-08-17 Electronic handwriting pen without touch control medium and writing control method thereof

Publications (1)

Publication Number Publication Date
CN112083819A true CN112083819A (en) 2020-12-15

Family

ID=73728806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010822354.XA Pending CN112083819A (en) 2020-08-17 2020-08-17 Electronic handwriting pen without touch control medium and writing control method thereof

Country Status (1)

Country Link
CN (1) CN112083819A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114238967A (en) * 2021-11-25 2022-03-25 贵州电网有限责任公司 Security enhancement processing method for embedded security module
CN114882514A (en) * 2022-05-12 2022-08-09 昆明理工大学 Writing recognition equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114238967A (en) * 2021-11-25 2022-03-25 贵州电网有限责任公司 Security enhancement processing method for embedded security module
CN114882514A (en) * 2022-05-12 2022-08-09 昆明理工大学 Writing recognition equipment

Similar Documents

Publication Publication Date Title
US20060028457A1 (en) Stylus-Based Computer Input System
CN100547528C (en) A kind of MousePen and its implementation
CN201331744Y (en) Electronic pen capable of recognizing handwriting
CN100508532C (en) Inductive keyboard for portable terminal and its control method
US20100271332A1 (en) Optical input device, electronic device, and optical input system
TW200414057A (en) Method and apparatus for avoiding pressing inaccuracies on a touch panel
CN112083819A (en) Electronic handwriting pen without touch control medium and writing control method thereof
WO2018018624A1 (en) Gesture input method for wearable device, and wearable device
CN110058782A (en) Touch operation method and system based on interactive electronic whiteboard
WO2011142151A1 (en) Portable information terminal and method for controlling same
CN101145087A (en) Hand-writing pen, hand-writing input system, hand-writing remote controller and hand-writing input method
CN101833386A (en) Multifunctional electronic writing pen
CN112000245B (en) Calibration system based on touch screen pressure
CN110851061A (en) Method for controlling terminal by ring type mouse
CN103605433A (en) Multifunctional somatological input device
TWI510966B (en) Input system and related method for an electronic device
CN100374998C (en) Touch control type information input device and method
CN212541294U (en) Electronic stylus pen without touch control medium
CN101719027A (en) Optical pen and operation method thereof
CN201616083U (en) Multifunctional electronic writing pen
CN111078032A (en) Ring type mouse capable of prejudging merging trend of two fingers and prejudging method
CN105204669A (en) Capacitive sensing type wireless multifunctional mouse pen
CN210573714U (en) Erasing device of electronic whiteboard
CN111258439A (en) Continuous writing method for mouse
CN205353955U (en) Multi -functional mouse pen that electric capacity induction type is wireless

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination