Summary of the invention
The technical matters that the present invention will solve is: the infrared mode of writing electronic whiteboard or the gain of infrared writing screen employing adjusting receiving circuit to prior art is come balanced received signal power; Thereby circuit structure and complex algorithm, defect of high cost provide a kind of transmission power adaptation control method that is applied in the infrared exoelectron blank.
Another technical matters that the present invention will solve is: the infrared mode of writing electronic whiteboard or the gain of infrared writing screen employing adjusting receiving circuit to prior art is come balanced received signal power; Thereby circuit structure and complex algorithm, defect of high cost provide a kind of transmission power adaptation regulating system that is applied in the infrared exoelectron blank.
The technical solution adopted for the present invention to solve the technical problems is: a kind of transmission power adaptation control method that is applied in the infrared exoelectron blank is provided; Said infrared exoelectron blank comprises that a plurality of send-receive modules are right; Each send-receive module is to comprising a transmitter module and a receiver module, and said method is included in the scan period and carries out following power adjustments step to each send-receive module of said a plurality of send-receive module centerings successively:
A, the said transmitter module of control transmit based on the emitting power grade of being stored in the storer;
B, the reception signal of receiver module is sampled;
C, the said sampled signal of analysis and current transmit power P
C
D, based on analysis result to said sampled signal and current transmit power, from a plurality of emitting power grades, select emissive power P subsequently
S
E, the selected emissive power P subsequently of storage
S, in order to the emitting power grade of storage before in the updated stored device, and the emitting power grade of the said transmitter module of control after based on this renewal transmits in the scan period subsequently.
In method of the present invention; At continuous N in the scan period; Each the send-receive module that is directed against said a plurality of send-receive module centerings respectively successively is to repeating N said steps A to step e; And when said N each scan period in the scan period begins, the scan period is counted, wherein N is the integer more than or equal to 2.
In method of the present invention,
Said a plurality of emitting power grade comprises N grade;
Said step C comprises:
Magnitude of voltage V with said sampled signal
CWith preset upper voltage limit value V
HWith lower voltage limit value V
LCompare, simultaneously with current transmit power and preset power upper limit value P
HWith power lower limit P
LCompare;
Said step D comprises:
Magnitude of voltage V when said sampled signal
CGreater than said upper voltage limit value V
H, and current transmit power P
CBe less than or equal to power lower limit P
L, then select to keep current transmit power P
CAs emissive power P subsequently
S
Magnitude of voltage V when said sampled signal
CGreater than said upper voltage limit value V
H, and current transmit power P
CGreater than power lower limit P
L, then select than current transmit power P
CThe power conduct emissive power P subsequently of low one-level
S
Magnitude of voltage V when said sampled signal
CLess than said upper voltage limit value V
H, and less than said lower voltage limit value V
L, if current transmit power P
CBe equal to or greater than power upper limit value P
H, then select to keep current transmit power P
CAs emissive power P subsequently
S
Magnitude of voltage V when said sampled signal
CLess than said upper voltage limit value V
H, and less than said lower voltage limit value V
L, if current transmit power P
CLess than power upper limit value PH, then select than current transmit power P
CHigher leveled power conduct emissive power P subsequently
SAnd
Magnitude of voltage V when said sampled signal
CLess than said upper voltage limit value V
H, and greater than said lower voltage limit value V
L, then select to keep current transmit power P
CAs emissive power P subsequently
S
In method of the present invention, also comprise:
Magnitude of voltage V in said sampled signal
CGreater than said upper voltage limit value V
H, and current transmit power PC is greater than power lower limit P
LSituation under, the multiplicity of the scan period in the power adjustment procedure is analyzed, if multiplicity equals N, then select current transmit power P
CAs emissive power P subsequently
S
In method of the present invention, when in said infrared exoelectron blank, switching on, the emitting power grade in the said storer is initialized as preset power upper limit value P
H
The present invention solves another technical scheme that its technical matters adopts: construct a kind of transmission power adaptation regulating system that is applied in the infrared exoelectron blank; Said infrared exoelectron blank comprises that a plurality of send-receive modules are right; Each send-receive module is to comprising a transmitter module and a receiver module; Said system comprises: main control module and transmission power adjustment module, wherein
Said main control module comprises:
Sampling module is used for the reception signal of receiver module is sampled;
Analysis module is used to analyze said sampled signal and current transmit power P
C
Select module, be used for, from a plurality of emitting power grades, select emissive power P subsequently based on analysis result to said sampled signal and current transmit power
S
Memory module is used to store selected emissive power P subsequently
S
The steering order generation module is used for based on the emissive power P subsequently that is stored
SGenerate steering order, with through said transmission power adjustment module with the transmission power adjustment of said transmitter module said emissive power P subsequently extremely
S
In system of the present invention,
Said main control module also comprises: counting module is used for the number of times of scan period of power adjustment procedure is counted;
Said system is at continuous N in the scan period; Successively respectively to each send-receive modules of said a plurality of send-receive module centerings to repeating foregoing power adjustments step, and when said N each scan period in the scan period begins, the scan period is counted.
In system of the present invention, said transmission power adjustment module comprises:
N power configuration, each power configuration comprise the power resistor of different resistances and coupled switching device respectively; A said N power configuration is connected in parallel in the infrared emission drive circuit of said transmitter module;
Switch control device is used to receive the steering order that said steering order generation module is exported, to control the break-make of said switching device;
Wherein, said switching device is a switch triode, and its base stage links to each other with the output terminal of said switch control device; Said switch control device comprises code translator.
The present invention solves the another technical scheme that its technical matters adopts: construct a kind of infrared exoelectron blank; Comprise that a plurality of send-receive modules are right; Each send-receive module also comprises foregoing transmission power adaptation regulating system to comprising a transmitter module and a receiver module.
The present invention solves the technical scheme again that its technical matters adopts: construct a kind of display device; Comprise the infrared touch input media; Wherein said infrared touch input media comprises that a plurality of send-receive modules are right; Each send-receive module is to comprising a transmitter module and a receiver module, and said infrared touching device also comprises foregoing transmission power adaptation regulating system.
The technical scheme of embodiment of the present invention; Has following beneficial effect: in the technical scheme of the present invention emissive power is divided into a plurality of grades; Through sampling to received signal and analyzing according to the right real work situation of each send-receive module and select the best transmit power grade, make the intensity that receives signal can be stabilized in the fixed range.Overcome the unsettled defective of reception signal intensity that the luminous power discreteness because of infrared transmitting tube causes effectively.Can reduce transmitter current, prolong the serviceable life of infrared transmitting tube; And reduced the adjusting needs of the emissive power decay that causes because of the power valve angle, helped enhancing productivity.
In addition; The technical scheme of embodiment of the present invention; Through sampling to received signal and analyzing; Present behavior according to each send-receive module is right is adjusted emitting power grade step by step up or down, can make simple algorithm and circuit system structure realize the self-adaptation adjusting of emissive power, thereby system cost is low.And the infrared exoelectron blank of different model and/or size and infrared writing screen all can adopt the transmission power adjustment module of same model, and the adaptation of product is strong, help reducing the generation handling cost.
Because scheme of the present invention can have been simplified circuit system structure with power adjustments in fixed range, simplified the adjusting program of emissive power; Make that the emissive power of infrared transmitting tube can be not too high, also be unlikely to low, so the working current of infrared transmitting tube is not too large; Delay the aging speed of infrared transmitting tube; Prolong the serviceable life of infrared transmitting tube, this extrinsic current can be too not little, guaranteed the workability of infrared tube.
Embodiment
The present invention relates to a kind of power adaptive control method and system that is used for infrared exoelectron blank or infrared writing screen.In the technical scheme of the present invention emissive power is divided into a plurality of grades; Through sampling to received signal and analyzing according to the right real work situation of each send-receive module and select the best transmit power grade, make the intensity that receives signal can be stabilized in the fixed range.
Fig. 1 is the structural representation according to the electronic whiteboard 100 of the embodiment of the invention.As shown in Figure 1; Electronic whiteboard 100 comprises blank 102 and is arranged on blank 102 a plurality of send-receive modules all around to TX1-RX1, TX2-RX2......TX7-RX7; And the main control module 110 of TX1-RX1, TX2-RX2......TX7-RX7 being communicated by letter and being connected with a plurality of send-receive modules, main control module 110 also links to each other with power conditioning module 120.In the present invention; Main control module 110 adapts to regulating system in vain with power conditioning module 120 collaborative formation power; Be used for regulating the emitting power grade of the transmitter module of each send-receive module centering according to the right real work situation of each send-receive module, with the intensity stabilization that will receive signal in a fixed range.The details of the structure of this power adaptive regulating system and the control method of employing will be elaborated below in conjunction with Fig. 2 to Fig. 8.Need to prove in addition,, the invention is not restricted to this though it is right only to show 7 send-receive modules among Fig. 1.The quantity that send-receive module in the electronic whiteboard is right can dispose according to the size of electronic whiteboard and required resolution, and for example, for big molded dimension or high-resolution electronic whiteboard, it is individual that the quantity that the send-receive module is right can reach hundreds of.
Fig. 2 is the synoptic diagram that is used for the power adaptive regulating system 200 of infrared exoelectron blank of the present invention.As shown in Figure 2, power adaptive regulating system 200 comprises main control module 110 and power conditioning module 120.Wherein, main control module 110 comprises sampling module 111, analysis module 112, selects module 113, steering order generation module 114 and memory module 115.
Between the adjustment period of power; To a plurality of send-receive modules of electronic whiteboard to the process that scans in; Right to each send-receive module; Steering order generation module 114 based on stored in the memory module 115 corresponding to the right emitting power grade of this send-receive module, generate steering order, with the control transmitter module according to this emitting power grade as current transmit power P
CThe emission infrared signal.111 pairs of received signals of receiver module of sampling module are sampled, and are sent to analysis module 112 afterwards.Analysis module 112 is with the magnitude of voltage V of sampled signal
CWith preset upper voltage limit value V
HWith lower voltage limit value V
LCompare, simultaneously with current transmit power P
CWith preset power upper limit value P
HWith power lower limit P
LCompare.Select 113 pairs of said sampled signals of module and current transmit power P
CAnalysis result, from a plurality of emitting power grades, select the suitable transmission power grade as subsequently emissive power P
S, and with this emissive power P subsequently
SBe stored in the memory module 115,, and control transmitter module in scanning process subsequently and according to the emitting power grade emission infrared signal after upgrading with the emitting power grade of storage before upgrading.
The process flow diagram of the method 300 that Fig. 3 regulates for the power adaptive that is used for the infrared exoelectron blank of the present invention.As shown in Figure 3, the method 300 that power adaptive is regulated starts from step 310.To a plurality of send-receive modules of electronic whiteboard to the process that scans in; Right to each send-receive module, main control module in step 310 (for example wherein steering order generation module 114) control send-receive module centering transmitter module transmits based on the emitting power grade of being stored in the storer.In step 320, main control module (for example wherein sampling module 111) is sampled to the reception signal of receiver module.In step 330, main control module (for example wherein analysis module 112) is analyzed this sampled signal and current transmit power P
CIn step 340, based on to sampled signal and current transmit power P
CAnalysis result, main control module (for example wherein selection module 113) is selected emissive power P subsequently from a plurality of emitting power grades
SIn step 105, main control module is with selected emissive power P subsequently
SBe stored to memory module 115, in the scan period subsequently, to control said transmitter module based on said emissive power P subsequently
STransmit.
Need to prove,, behind the starting up, carry out the power adjustment usually immediately as preferably.The emitting power grade of being stored in the memory module 115 this moment is in the infrared exoelectron blank, to power on to carry out the Initial Trans grade that sets after the initialization process.This Initial Trans grade can be the power upper limit value PH that presets or preset power lower limit P
LOr a certain intermediate value.As preferably, this Initial Trans grade is set is preset power upper limit value P
HSelect as another, the emitting power grade of being stored in the memory module 115 in the time of also can be with system closedown last time is as this Initial Trans grade.
In addition, to the selection of best transmit power grade, can directly from a plurality of emitting power grades, select a best transmit power grade conduct emissive power P subsequently according to result of calculation
S, just disposable selection is confirmed.For example can be based on the magnitude of voltage V of sampled signal
CWith preset upper voltage limit value V
HWith lower voltage limit value V
LThe size of difference, and current transmit power P
CWith preset power upper limit value P
HWith power lower limit P
LThe size of difference, from the table of comparisons of prior setting, select the best transmit power grade.This table of comparisons can be made based on test in the device fabrication process, and is stored in the memory module 115.
In addition; Selection to the best transmit power grade; Also can carry out several times, for example in N scan period, regulate carrying out N time to each send-receive module of a plurality of send-receive module centerings respectively, for example raise step by step or downward modulation (wherein N is the integer more than or equal to 2).Below in conjunction with Fig. 4 to Fig. 6 this method is described.
Fig. 4 is for be used for the synoptic diagram of the power adaptive regulating system 400 of infrared exoelectron blank according to an embodiment of the invention.As shown in Figure 4, power adaptive regulating system 400 comprises main control module 110 ' and transmission power adjustment module 120.Except that having increased a counting module 118, the structure of the main control module 110 among the structure of the main control module 110 ' among Fig. 4 and Fig. 2 is identical.Scanning times between the adjustment period that counting module 118 being used for power is counted.
Transmission power adjustment module 120 comprise switch control device 122 and coupled a plurality of power configuration 126a, 126b ... .126n, each power configuration corresponds respectively to each distinct transmit power grade.In operating process; Switch control device 122 is based on the steering order from steering order generation module 114; From a plurality of power configuration 126a, 126b ... select the power configuration of appointment in the steering order among the .126n; Make itself and transmitter module collaborative work, launch infrared signal according to the emitting power grade of being stored in the memory module 115.
The process flow diagram of the method 500 that Fig. 5 regulates for the power adaptive that is used for the infrared exoelectron blank according to an embodiment of the invention.In the present embodiment, in N scan period, regulate carrying out N time to each send-receive module of a plurality of send-receive module centerings respectively, wherein N is the integer more than or equal to 2.That is to say; In first scan period, successively each send-receive module of a plurality of send-receive module centerings is regulated carrying out the first time, second scan period; Successively each send-receive module of a plurality of send-receive module centerings is regulated carrying out the second time; ..., N scan period, successively each send-receive module of a plurality of send-receive module centerings is regulated carrying out the N time.The method 500 that power adaptive shown in Figure 5 is regulated in this step, to emitting power grade in storer is carried out initialization process after system powers on from step 501 beginning.Afterwards, main control module (for example wherein steering order generation module 114) control send-receive module centering transmitter module transmits based on the emitting power grade of being stored in the storer in step 510.In step 515, the count value in the counting module is added 1.In step 520, main control module (for example wherein sampling module 111) is sampled to the reception signal of receiver module.
Step 530 to 550 in, main control module analytical sampling signal and current transmit power PC, and based on to sampled signal and current transmit power P
CAnalysis result, from a plurality of emitting power grades, select emissive power P subsequently
S, and it is stored in the memory module 115.Concrete steps comprise:
In step 530, judge the magnitude of voltage V of sampled signal
CWhether greater than preset upper voltage limit value VH.When the judged result of step 530 for being, then get into step 532, judge current transmit power P
CWhether be less than or equal to power lower limit P
LWhen the judged result of step 530 for not, then get into step 540, judge the magnitude of voltage V of sampled signal
CWhether less than lower voltage limit value V
L
In step 532,, then get into step 534 when judged result is not.In step 534, select to reduce the one-level emitting power grade.Then, in step 536, judge whether this adjustment is last adjustment (being whether count value reaches N).If in step 536, judge it is not last adjustment, then get into step 550, store selected emitting power grade, as emissive power P subsequently
S, supply transmitter module to launch infrared signal subsequently and use; If in step 536, judge it is last adjustment, then get into step 544, select to increase one-level power, get into step 550 then, store selected emitting power grade, as emissive power P subsequently
S, supply transmitter module to launch infrared signal subsequently and use.
If in step 532, when judged result for being, then get into step 538, selection current transmit power P
CAs emissive power P subsequently
S(promptly keep emitting power grade constant).Afterwards, get into step 550, store selected emitting power grade.
In step 540, when judged result for being, then get into step 542, judge current transmit power P
CWhether more than or equal to power upper limit value P
HIf judged result then gets into step 544 for not in step 542, select to increase one-level power, get into step 550 then, store selected emitting power grade, as emissive power P subsequently
S, supply transmitter module to launch infrared signal subsequently and use; If judged result then gets into step 546 for being in step 542, select current transmit power P
CAs emissive power P subsequently
S(promptly keep emitting power grade constant).Afterwards, get into step 550, store selected emitting power grade.
In step 540, when judged result is not, then get into step 546, select current transmit power P
CAs emissive power P subsequently
S(promptly keep emitting power grade constant), and get into step 550, store selected emitting power grade.
After the step 550, get into step 560, judge whether the multiplicity of adjustment reaches N, if not, then return step 510, adjust next time.If not, then get into end step 570.
The process flow diagram of the method 600 that Fig. 6 regulates for the power adaptive that is used for the infrared exoelectron blank according to another embodiment of the present invention.Except step 534 and step 536 had been done adjustment, the flow process shown in Fig. 6 was identical with flow process shown in Figure 5.Therefore, only step 534 among Fig. 6 and step 536 are described, same section repeats no more.Compare first execution in step 536 among Fig. 6, back execution in step 534 with flow process shown in Figure 5.
When judged result in step 532 is not, then get into step 536.In step 536, judge whether this adjustment is last adjustment (being whether count value reaches N).
If in step 536, judge it is not last adjustment, then get into step 534, select to reduce the one-level emitting power grade.Get into step 550 subsequently, store selected emitting power grade, as emissive power P subsequently
S, supply transmitter module to launch infrared signal subsequently and use; If in step 536, judge it is last adjustment, then get into step 538, select current transmit power P
CAs emissive power P subsequently
S(promptly keep emitting power grade constant).Get into step 550 then, store selected emitting power grade, as emissive power P subsequently
S, supply transmitter module to launch infrared signal subsequently and use.
In an embodiment of the present invention; In a scan period; To each manner of execution 500 of a plurality of send-receive module centerings of electronic whiteboard or the step in the method 600, after the completion, get into the next scan period and simultaneously the count value in the counting module is added 1.
In one embodiment of the invention, upper voltage limit value V
HBe 4.5V, lower voltage limit value V
LBe 4.2V.In another embodiment of the present invention, the scanning times between the adjustment period of power is N, and emitting power grade is divided into the N level, and with it accordingly, the power configuration in the power conditioning module 120 also is N.In one embodiment of the invention, N is 8, and promptly emitting power grade is divided into 8 grades, and with it accordingly, the power configuration in the power conditioning module 120 also is 8.
Fig. 7 is the synoptic diagram of the annexation that is applied to power adaptive regulating system and transmitter module and receiver module in the infrared exoelectron blank 700 according to an embodiment of the invention.As shown in Figure 7, in electronic whiteboard 700, main control module 110 ' and M send-receive module are to communicating by letter, and to transmitter module, receiver module emission serial addressing signal, parallel addressing signal and synchronizing signal, and sampling receives signal.Main control module 110 ' is to transmission power adjustment module 120 emission control instruction PA PB PC.Transmission power adjustment module 120 is according to steering order, and the infrared emission drive circuit in the selection steering order in the collaborative transmitter module of the power configuration of appointment drives transmitter module.
Fig. 8 is the circuit theory diagrams according to the transmission power adjustment module 800 of the embodiment of the invention.As shown in Figure 8, transmission power adjustment module 800 comprises switch control device U1 (corresponding to the switch control device among Fig. 4 122), and 8 power configuration that link to each other with switch control device U1 comprise 8 emitting power grades.Each power configuration comprises a switching device and a power resistor.For example, first power configuration comprise the first switching device Q1 and the first power resistor R1, second power configuration comprise second switch device Q2 and the second power resistor R2 ..., the 8th power configuration comprises the second switch device Q8 and the second power resistor R8.Wherein, the resistance of each power resistor R1, R2......R8 has nothing in common with each other, and their value differences determine 8 distinct transmit power respectively.8 power configuration are connected in parallel in the infrared emission drive circuit of said transmitter module through web member CON1 and CON2.Switch control device U1 receives the steering order of said steering order generation module 114 outputs, controlling the break-make of said switching device Q1-Q8, thereby selects 8 kinds of distinct transmit power.
Particularly, switching device is a switch triode, and its base stage links to each other with the output terminal of switch control device U1, collector links to each other with power resistor, emission collection ground connection.Switch control device U1 can adopt code translator to realize.
In one embodiment of the invention, said code translator is the 74HC238 code translator, the power resistor that steering order PAPB PC selects 8 switch triodes to connect through 3-8 code translator 74HC238, thus select 8 kinds of distinct transmit power; For example, during PAPBPC=000, select Y0, connect octavo and close triode Q8, transmitter current flows through the 8th resistance R 8; When PAPBPC=001, select Y1, connect minion and close triode Q7, transmitter current flows through the 7th resistance R 7; When PAPBPC=010, select Y2, connect the 6th switch triode 6, transmitter current flows through resistance R 6, when PAPBPC=011, selects Y3, connects the 5th switch triode 5, and transmitter current flows through the 5th resistance R 5; When PAPBPC=100, select Y4, connect the 4th switch triode 4, transmitter current flows through the 4th resistance R 4; When PAPBPC=101, select Y5, connect the 3rd switch triode 3, transmitter current flows through the 3rd resistance R 3; When PAPBPC=110, select Y6, connect second switch triode 2, transmitter current flows through second resistance R 2; When PAPBPC=111, select Y7, connect first switch triode 1, transmitter current flows through first resistance R 1.Therefore based on selecting 8 different PAPB PC, can select 8 kinds of distinct transmit power, thereby reach the effect of regulating transmitting power.
In other embodiments of the invention, if the physical dimension of circuit board allows, also can select the 74HC138 that uses always to add hex inverter 74HC04 replacement 74HC238.In addition, also can increase a selection wire PD and realize 16 grades power conditioning circuitry through the 4-16 code translator, can transmission power adjustment is more accurate, signal can be controlled at littler more accurate scope, but circuit component quantity can double.8 grades of power adjustments can be satisfied the demand in the practical application.
In the present invention, main control module uses PA according to detected each road signal in the self check scanning process, PB, PC control transmission power adjustment module assignment emissive power.Confirm a setting voltage value scope in advance; If signal is lower than this scope; Then control circuit strengthens the one-level electric current, and emissive power can increase thereupon, still is lower than setting range as if signal after the adjustment and strengthens the one-level electric current again; Emissive power increases one-level again, if in signal is raised to setting range. and power has been maximal value still to be transferred less than will not increasing power again in the setting range.
If being higher than the upper limit of setting range, signal reduces one-level power; Signal can reduce thereupon; Reduce one-level power again if signal still is higher than the upper limit of setting range, signal reduces again, in signal drops to setting range; Regulate so repeatedly and can with signal controlling in setting range, still transfer less than will not reducing power again in the setting range if power has been minimum value.
Promptly remedied the difference of each road infrared tube with the difference of each road emissive power.
Main control module through native system is based on to sampled signal and current transmit power P
CAnalysis result, from a plurality of emitting power grades, select emissive power P subsequently
S, distribute best transmit power according to the real work situation of each road infrared tube, with said power adjustments in fixed range; Simplify circuit system structure, simplified the adjusting program of emissive power, in addition; Because scheme of the present invention can make that the emissive power of infrared transmitting tube can be not too high with power adjustments in fixed range, also be unlikely to low; Therefore the working current of infrared transmitting tube is not too large, delays the aging speed of infrared transmitting tube, prolongs the serviceable life of infrared transmitting tube; This extrinsic current can be too not little, guaranteed the workability of infrared tube; Can be with signal controlling littler more accurate scope, circuit component quantity is few in addition, and the structure of Circuits System is able to simplify.
In addition; The technical scheme of embodiment of the present invention; Same transmission power adaptation regulating system can be adapted to the infrared exoelectron blank of different model and/or size, infrared writing screen (the infrared touch input media that for example is used for display device), need not the transmission power adjustment module of the infrared exoelectron blank into every kind of model and/or size, the independent configure dedicated of infrared writing screen.
Use the present invention can reach following effect: the luminous power discreteness that 1, has effectively overcome infrared transmitting tube; 2, reduced transmitter current, increased the service life; 3, reduced the adjusting of the emissive power decay that causes because of the power valve angle, helped enhancing productivity.