A kind of time writer for electronic whiteboard and control method thereof
Technical field
The present invention relates to computer external input equipment field, particularly a kind of time writer for electronic whiteboard and control method thereof.
Background technology
Electronic whiteboard is that late 1990s is along with a kind of of development rise of multimedia technology, computer technology and display technique can be for the multimedia tool of the occasions such as teaching, training, meeting, demonstration.It is combined the most closely with traditional teaching, demonstration mode, with special electronic whiteboard (or claiming projection screen), replace traditional blackboard, by electronic pen, can on electronic whiteboard, write or analog mouse function, its result can directly be shown on electronic whiteboard.
An interactive electric whiteboard system is generally to consist of several parts such as interaction area (also claiming electronic whiteboard), electronic pen, display device and computing machine.The object of its realization is: the display device being connected with computing machine is incident upon the content on graphoscope on electronic whiteboard, reaches the object of sharing information with many people; As the mouse on computing machine, electronic pen can be on electronic whiteboard the application program of direct control computer; Electronic pen can also switch to a function from mouse function, as chalk is on blackboard, and directly Writing-painting on electronic whiteboard.Electronic whiteboard generally comprises reception and the treatment circuit of mutual plane and the position signalling of induction electronic pen in mutual plane.
Electronic whiteboard point has resistor pressure formula, infrared type, optical induction type, ultrasound wave location, the several types such as induction from principle of work, wherein induction electronic whiteboard is because positioning precision is high, not fragile, can detect the pressure of time writer (being electronic pen) and be used widely.
The wireless active time writer using in prior art, that oscillatory circuit has been put in time writer, in pen, be placed with battery simultaneously and provide power supply for oscillatory circuit, between coil by electronic whiteboard and oscillatory circuit, carry out the transmission of electromagnetic signal, according to the amplitude size of the AC signal receiving, can calculate the relative position of time writer on electronic whiteboard in each coil.But this time writer inside is provided with battery, therefore the volume and weight of time writer is all larger, and needs irregular replacing battery or battery is charged, and can meet the voltage of the normal work of time writer, is unfavorable for using and carrying of user.
Application number is that 200610035492.3 Chinese patent application discloses " a kind of electronic pen for interactive electronic white board ", break-make by electromagnetic wave switch on its electronic pen can produce the oscillation frequency of different resonant circuits, thereby realizes the different operating state of time writer.But, by key change emission signal frequency, realize the switching of time writer function, when producing in enormous quantities, need to debug the frequency that each button is corresponding, to production in enormous quantities, bring inconvenience.
At present, on market, also there is a kind of Q value of key change circuit of passing through, reach the object of time writer function conversion.The Q is here quality factor, Q=(L/C)
1/2/ R, wherein L, C and R are respectively inductance, electric capacity and the resistance of resonant circuit.After the inductance of resonant circuit and electric capacity are determined, its Q value is relevant with the resistance value of circuit.As shown in Figure 1, when keyswitch S2 presses, tip switch S1 is invalid for its button simple circuit, visible, keypress function and nib function can not be simultaneously effectively, and due to the easy false triggering when the detection of multiple Q values of resonant circuit, therefore this mode is not easy to arrange multiple function keys.
Eventually the above, all there is certain defect in the time writer of prior art, therefore need further research and perfect.
Summary of the invention
(1) technical matters that will solve
The object of the invention is, be provided for time writer and the control method thereof of electronic whiteboard, to alleviate volume and the weight of time writer, and make the keypress function of time writer and nib function separate, be independent of each other.
(2) technical scheme
For solving the problems of the technologies described above, the invention provides a kind of time writer for electronic whiteboard, comprise: the button on nib, the housing of housing, housing front end, also comprise: the state processing module that is arranged on described enclosure interior, for detection of the status information of nib, button, the status information detecting is carried out to numerical coding, and obtain electromagnetic signal after gained digital code information is processed, and the electromagnetic signal obtaining is sent to electronic whiteboard.
In such scheme, described state processing module, the electromagnetic signal also sending for responding to electronic whiteboard, and described electromagnetic signal is carried out after rectifying and wave-filtering processing, obtain electric weight and enter duty.
In such scheme, described state processing module comprises: nib resonant circuit, current rectifying and wave filtering circuit, keyswitch circuit, tip switch circuit, processor and resonant switch circuit; Wherein,
Nib resonant circuit, is connected with current rectifying and wave filtering circuit, for when nib is during near electronic whiteboard, receives the electromagnetic signal that electronic whiteboard sends, and sends to current rectifying and wave filtering circuit;
Current rectifying and wave filtering circuit, for received electromagnetic signal is carried out to rectifying and wave-filtering processing, and is converted to DC voltage and sends to processor, for processor provides working power;
Keyswitch circuit, is connected with button, for the status information of keyswitch is sent to processor;
Tip switch circuit, is connected with nib, for the status information of tip switch is sent to processor;
Processor, for detection of the status information of tip switch, keyswitch, and carries out numerical coding to the status information detecting, gained digital code information is sent to resonant switch circuit;
Resonant switch circuit, is connected with nib resonant circuit, for numerical coding is processed, and the electromagnetic signal obtaining is sent to nib resonant circuit; Be specially: when numerical coding is 1, resonant switch closing of circuit, output low level signal, and the electromagnetic signal of nib resonant circuit induction is drawn as low level; When numerical coding is 0, resonant switch circuit turn-offs, and there is no signal output, and the electromagnetic signal of nib resonant circuit induction is constant.
In such scheme, described nib resonant circuit, also, for when the resonant switch closing of circuit, sends to electronic whiteboard by described low level electromagnetic signal; When resonant switch circuit turn-offs, the electromagnetic signal sensing is sent to electronic whiteboard.
The present invention also provides a kind of control method of time writer, and the method comprises:
Detect the tip switch of time writer, the status information of keyswitch, described status information is carried out to numerical coding, and obtain electromagnetic signal after gained digital code information is processed, and the electromagnetic signal obtaining is sent to electronic whiteboard.
In such scheme, before the tip switch of described detection time writer, the status information of keyswitch, the method also comprises:
The electromagnetic signal that time writer induction electronic whiteboard sends, and described electromagnetic signal is carried out after rectifying and wave-filtering processing, obtain electric weight and enter duty.
In such scheme, described time writer sends to electronic whiteboard by the electromagnetic signal obtaining after digital code information is processed, and specifically comprises: when numerical coding is 1, the electromagnetic signal of time writer induction is pulled to low level, and described low level electromagnetic signal is returned to electronic whiteboard; When numerical coding is 0, the electromagnetic signal of time writer induction is constant, and the electromagnetic signal of described induction is returned to electronic whiteboard.
In such scheme, described electromagnetic signal sends to after electronic whiteboard, the method also comprises: electronic whiteboard is processed the electromagnetic signal receiving, obtain the status information of time writer, and the corresponding feature operation of the status information of carrying out time writer, by projector equipment, the result of execution is presented on electronic whiteboard.
(3) beneficial effect
The present invention proposes a kind of time writer for electronic whiteboard and control method thereof, the oscillator signal that the pumping signal of the resonant circuit induction electronic whiteboard transmitting of described passive electrical magnetic pen utilizing produces is powered for processor, avoid existing time writer to need the trouble of irregularly changing battery or charging the battery, and volume and weight is lighter, easy to use and carry; In addition, after the nib that processor obtains scanning and key information numerical coding, passing electronic whiteboard back processes, make each function button and the work of nib functional independence on time writer, be independent of each other, carry out the switching of keypress function compares with change emission signal frequency or change resonant circuit Q value, by numerical coding, can identify more accurately each button, also make time writer be more conducive to batch production.
Accompanying drawing explanation
Fig. 1 is key circuit schematic diagram in prior art time writer;
In Fig. 2 embodiment of the present invention for the surface structure schematic diagram of the time writer of electronic whiteboard;
Fig. 3 is the structural representation for the state processing module of the time writer inside of electronic whiteboard in the embodiment of the present invention;
Fig. 4 is the control method process flow diagram for the time writer of electronic whiteboard in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for illustrating the present invention, but are not used for limiting the scope of the invention.
Fig. 2 is the structural representation of the time writer for electronic whiteboard of the embodiment of the present invention.As shown in Figure 2, described time writer comprises: housing 11, be arranged on described housing 11 front ends nib 12, be arranged on the function button 13 on housing 11; Described time writer inside, also further comprise the state processing module that is arranged on described housing 11 inside, for detection of the status information of nib and button, and the status information detecting is carried out to numerical coding, after gained digital code information is processed, obtain electromagnetic signal, the electromagnetic signal obtaining is sent to electronic whiteboard.
Described state processing module, also carries out rectifying and wave-filtering processing for the electromagnetic signal that electronic whiteboard is sent, thereby obtains electric weight and enter duty.
Described function button 13, for realizing the function of passive electrical magnetic pen; In the present embodiment, function button 13 has three functions, is specially: button represents a red function in left end, the button expression mouse function that mediates, button represents blue pen function in right-hand member, and the realization of concrete various keypress functions does not belong to emphasis of the present invention, at this, does not repeat.
Fig. 3 is the structural representation of state processing module in time writer of the present invention; As shown in Figure 3, state processing module comprises: nib resonant circuit 21, current rectifying and wave filtering circuit 22, keyswitch circuit 23, tip switch circuit 24, processor 25, resonant switch circuit 26; Wherein,
Nib resonant circuit 21, consists of capacitor C and inductance L parallel connection, for when nib is during near electronic whiteboard, receives electronic whiteboard and sends electromagnetic signal, and send to current rectifying and wave filtering circuit 22;
Current rectifying and wave filtering circuit 22, for received electromagnetic signal is carried out to rectifying and wave-filtering processing, and is converted to DC voltage and sends to processor 21, for processor 21 provides working power;
Keyswitch circuit 23, is connected with the button on housing, for the status information of keyswitch is sent to processor 25;
Tip switch circuit 24, is connected with nib, for the status information of tip switch is sent to processor 25;
Processor 25, for thering is the data processing unit of programmable functions, as: single-chip microcomputer, processor 25 in working order under, can detect the status information of tip switch and keyswitch, and the status information detecting is carried out to numerical coding, gained digital code information is sent to resonant switch circuit 26;
Resonant switch circuit 26, is connected with nib resonant circuit, for digital code information is processed, and the electromagnetic signal obtaining is sent to nib resonant circuit; Here, resonant switch circuit is comprised of transistor circuit, according to the PN junction characteristic of transistor self, by closure and the shutoff of its internal transistor of digital code information control of receiving; Particularly, when receiving digital code information and be 1, resonant switch closing of circuit, output low level signal, because resonant switch circuit is connected with nib resonant circuit, thereby draws the electromagnetic signal of nib resonant circuit induction into low level; When receiving digital code information and be 0, resonant switch circuit turn-offs, and there is no signal output, thereby the electromagnetic signal that can not sense nib resonant circuit impacts.
Described nib resonant circuit, also, for when the resonant switch closing of circuit, sends to electronic whiteboard by described low level electromagnetic signal; When resonant switch circuit turn-offs, the electromagnetic signal sensing is sent to electronic whiteboard.
Described tip switch circuit 24 comprises tip switch, and by default, described tip switch is in off-state; Only have when nib 12 contacts with electronic whiteboard, tip switch is just in closure state; Described keyswitch circuit 23 comprises keyswitch, for example: single pole multiple throw, by the different conditions of keyswitch, realize the difference in functionality that passive electrical magnetic pen is corresponding.
Based on said apparatus, the present invention also provides a kind of control method of time writer, and as shown in Figure 4, the method comprises the following steps:
Step 401: the electromagnetic signal that time writer induction electronic whiteboard sends;
In this step, when the nib of time writer is during near electronic whiteboard, for example, if the distance between nib and electronic whiteboard is within the threshold value of setting,, distance is in 1 centimetre time, the electromagnetic signal of electronic whiteboard transmitting and the nib resonant circuit same frequency of time writer inside; In time writer inside, when the digital code information that processor is not exported numerical coding or output does not contain high level, resonant switch circuit disconnects, and time writer is by the electromagnetic signal of its inner nib resonant circuit induction electronic whiteboard transmitting.
Step 402: time writer carries out the electromagnetic signal of induction after rectifying and wave-filtering, obtains electric weight and enters duty;
In this step, in time writer inside, nib resonant circuit carries out rectifying and wave-filtering processing by the electromagnetic signal sensing through current rectifying and wave filtering circuit, is converted into DC voltage, for the processor of time writer inside provides the DC voltage of normal work, processor is powered on and enter duty.
Step 403: detect the tip switch of time writer and the status information of keyswitch, described status information is carried out to numerical coding, and after gained digital code information is processed, the electromagnetic signal obtaining is sent to electronic whiteboard;
In this step, in the present embodiment, for tip switch and keyswitch, set when switch is closed, corresponding status information is 1; When switch disconnects, corresponding status information is 0, and the numerical coding of gained status information is as shown in table 1:
Numerical coding |
The status information of tip switch |
The status information of keyswitch |
10010 |
1 |
010 |
10001 |
1 |
001 |
10100 |
1 |
100 |
01010 |
0 |
010 |
01001 |
0 |
001 |
01100 |
0 |
100 |
The numerical coding of table 1 status information
As shown in Table 1, when nib contact electronic whiteboard, point three kinds of situations: when described numerical coding is 10010, represent that time writer is used mouse function; When described numerical coding is 10001, represent that time writer is used blue pen function; When described numerical coding is 10100, represent that time writer is used a red function.
After the processor of described time writer inside powers on, by the pin senses that scans himself, arrive tip switch and the real-time status information of keyswitch, and described status information is carried out to numerical coding, then by closure and the shutoff of described numerical coding control resonant switch circuit; When the corresponding position of numerical coding is 1, resonant switch closing of circuit, output low level signal, and the electromagnetic signal that nib resonant circuit is sensed draws as low level, nib resonant circuit returns to electronic whiteboard by low level electromagnetic signal; The corresponding position of numerical coding is 0 o'clock, and resonant switch circuit turn-offs, not outputs level signals, and nib resonant circuit returns to electronic whiteboard by the electromagnetic signal sensing by electronic whiteboard.
Step 404: electronic whiteboard is processed the electromagnetic signal receiving, obtains the status information of time writer, and carries out the corresponding feature operation of status information of time writer, by projector equipment, the result of execution is presented on electronic whiteboard.
In this step, electronic whiteboard receives after the electromagnetic signal of time writer transmission, described electromagnetic signal is reverted back to the numerical coding of time writer and sends computing machine to, computing machine parses the status information of time writer according to described digital code information, and the corresponding feature operation of the status information of carrying out time writer, by projector equipment, the result of execution is presented on electronic whiteboard, realizes the input function of described time writer, thereby completed the interactive operation between time writer and electronic whiteboard.
Passive electrical magnetic pen of the present invention and interaction control method thereof, have following advantage:
1, described time writer receives by inner resonant circuit the electromagnetic signal that electronic whiteboard sends, and for self providing work required voltage, thereby does not need external power supply, has reduced the volume and weight of time writer.
2, described time writer inside has the processor of encoding function, by this processor, detect the status information of tip switch and keyswitch, and described status information is carried out to numerical coding, after again numerical coding being processed, the electromagnetic signal obtaining is returned to electronic whiteboard, can make nib and button work simultaneously, be independent of each other, be conducive to the realization of function separately.
Above embodiment is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.