Summary of the invention
The technical problem to be solved in the present invention is: infrared writing electronic whiteboard or infrared writing screen for prior art adopt the mode of regulating the receiving circuit gain to carry out the balanced reception signal power, the defect that thereby circuit structure and algorithm are complicated, cost is high, provide a kind of transmission power adaptation control method be applied in infrared electronic white board.
Another technical matters that the present invention will solve is: infrared writing electronic whiteboard or infrared writing screen for prior art adopt the mode of regulating the receiving circuit gain to carry out the balanced reception signal power, the defect that thereby circuit structure and algorithm are complicated, cost is high, provide a kind of transmission power adaptation regulating system be applied in infrared electronic white board.
The technical solution adopted for the present invention to solve the technical problems is: a kind of transmission power adaptation control method be applied in infrared electronic white board is provided, described infrared electronic white board comprises a plurality of send-receive modules pair, each send-receive module is to comprising a transmitter module and a receiver module, and described method is included in the scan period each send-receive module for described a plurality of send-receive module centerings successively and carries out following power adjustments step:
A, control the emitting power grade of described transmitter module based on storing in storer and transmit;
B, the reception signal of receiver module is sampled;
C, analyze described sampled signal and current transmit power P
c;
D, the analysis result based on to described sampled signal and current transmit power are selected emissive power P subsequently from a plurality of emitting power grades
s;
E, store selected emissive power P subsequently
s, in order to the emitting power grade of storage before in new memory more, and control the emitting power grade of described transmitter module after based on this renewal transmit in the scan period subsequently.
In method of the present invention, at continuous N in the scan period, successively respectively for each send-receive modules of described a plurality of send-receive module centerings to repeating N described steps A to step e, and the scan period is counted when at described N, each scan period in the scan period starts, wherein N is more than or equal to 2 integer.
In method of the present invention,
Described a plurality of emitting power grade comprises N grade;
Described step C comprises:
Magnitude of voltage V by described sampled signal
cwith default upper voltage limit value V
hwith lower voltage limit value V
lcompare, simultaneously by current transmit power and default power upper limit value P
hwith power lower limit P
lcompare;
Described step D comprises:
Magnitude of voltage V when described sampled signal
cbe greater than described upper voltage limit value V
h, and current transmit power P
cbe less than or equal to power lower limit P
l, select to keep current transmit power P
cas emissive power P subsequently
s;
Magnitude of voltage V when described sampled signal
cbe greater than described upper voltage limit value V
h, and current transmit power P
cbe greater than power lower limit P
l, select than current transmit power P
cthe power of low one-level is as emissive power P subsequently
s;
Magnitude of voltage V when described sampled signal
cbe less than described upper voltage limit value V
h, and be less than described lower voltage limit value V
lif, current transmit power P
cbe equal to or greater than power upper limit value P
h, select to keep current transmit power P
cas emissive power P subsequently
s;
Magnitude of voltage V when described sampled signal
cbe less than described upper voltage limit value V
h, and be less than described lower voltage limit value V
lif, current transmit power P
cbe less than power upper limit value PH, select than current transmit power P
chigher leveled power is as emissive power P subsequently
s; And
Magnitude of voltage V when described sampled signal
cbe less than described upper voltage limit value V
h, and be greater than described lower voltage limit value V
l, 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 described sampled signal
cbe greater than described 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 power adjustment procedure is analyzed, if multiplicity equals N, select current transmit power P
cas emissive power P subsequently
s.
In method of the present invention, while switching on, the emitting power grade in described storer is initialized as to default power upper limit value P in described infrared electronic white board
h.
The present invention solves another technical scheme that its technical matters adopts: construct a kind of transmission power adaptation regulating system be applied in infrared electronic white board, described infrared electronic white board comprises a plurality of send-receive modules pair, each send-receive module is to comprising a transmitter module and a receiver module, described system comprises: main control module and transmission power adjustment module, wherein
Described main control module comprises:
Sampling module, sampled for the reception signal to receiver module;
Analysis module, for analyzing described sampled signal and current transmit power P
c;
Select module, for the analysis result based on to described sampled signal and current transmit power, select emissive power P subsequently from a plurality of emitting power grades
s;
Memory module, for storing selected emissive power P subsequently
s;
The steering order generation module, for the emissive power P subsequently based on stored
sgenerate steering order, with by described transmission power adjustment module by the transmission power adjustment of described transmitter module described emissive power P subsequently extremely
s.
In system of the present invention,
Described main control module also comprises: counting module, for the number of times of the scan period to power adjustment procedure, counted;
Described system is at continuous N in the scan period, successively respectively for each send-receive modules of described a plurality of send-receive module centerings to repeating foregoing power adjustments step, and the scan period is counted when at described N, each scan period in the scan period starts.
In system of the present invention, described transmission power adjustment module comprises:
N power configuration, each power configuration comprises respectively the power resistor of different resistances and coupled switching device; A described N power configuration is connected in parallel in the infrared emission drive circuit of described transmitter module;
Switch control device, for receiving the steering order of described steering order generation module output, to control the break-make of described switching device;
Wherein, described switching device is switch triode, and its base stage is connected with the output terminal of described switch control device; Described switch control device comprises code translator.
The present invention solves the another technical scheme that its technical matters adopts: construct a kind of infrared electronic white board, comprise a plurality of send-receive modules pair, each send-receive module, to comprising a transmitter module and a receiver module, also comprises foregoing transmission power adaptation regulating system.
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 a plurality of send-receive modules pair, each send-receive module is to comprising a transmitter module and a receiver module, and described infrared touching device also comprises foregoing transmission power adaptation regulating system.
Implement technical scheme of the present invention, there is following beneficial effect: in technical scheme of the present invention, emissive power is divided into to a plurality of grades, select the best transmit power grade by carrying out to received signal the sampling and analyzing real work situation right according to each send-receive module, make the intensity that receives signal can be stabilized in a fixed range.Effectively overcome the unsettled defect of received signal strength that the luminous power discreteness because of infrared transmitting tube causes.Can reduce transmitter current, extend the serviceable life of infrared transmitting tube; And reduced the adjusting needs of the emissive power decay caused because of the power valve angle, be conducive to enhance productivity.
In addition, implement technical scheme of the present invention, by carrying out to received signal sampling and analyzing, the present behavior right according to each send-receive module 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 electronic white board 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, are conducive to reduce the generation handling cost.
Because the solution of the present invention can be by power adjustments in fixed range, simplified circuit system structure, simplified the adjusting program of emissive power, make the emissive power of infrared transmitting tube can be not too high, also be unlikely to too low, so the working current of infrared transmitting tube is not too large, delay the aging speed of infrared transmitting tube, extend 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 for infrared electronic white board or infrared writing screen.In technical scheme of the present invention, emissive power is divided into to a plurality of grades, select the best transmit power grade by carrying out to received signal the sampling and analyzing real work situation right according to each send-receive module, make the intensity that receives signal can be stabilized in a fixed range.
Fig. 1 is the structural representation according to the electronic whiteboard 100 of the embodiment of the present invention.As shown in Figure 1, a plurality of send-receive modules that electronic whiteboard 100 comprises blank 102 and is arranged on blank 102 surroundings are to TX1-RX1, TX2-RX2......TX7-RX7, and with a plurality of send-receive modules to TX1-RX1, TX2-RX2......TX7-RX7 the communication connection main control module 110, main control module 110 also is connected with power conditioning module 120.In the present invention, the collaborative formation power of main control module 110 and power conditioning module 120 adapts to regulating system in vain, for according to each send-receive module right real work situation regulate the emitting power grade of the transmitter module of each send-receive module centering, 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.It should be noted that in addition, although only show 7 send-receive modules pair in Fig. 1, the invention is not restricted to this.The quantity that send-receive module in electronic whiteboard is right can configure according to the size of electronic whiteboard and required resolution, and for example, for large molded dimension or high-resolution electronic whiteboard, the quantity that the send-receive module is right can reach hundreds of.
The schematic diagram that Fig. 2 is the regulating system of the power adaptive for infrared electronic white board 200 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, a plurality of send-receive modules to electronic whiteboard to the process scanned in, for each send-receive module pair, corresponding to this send-receive module right emitting power grade of steering order generation module 114 based on storing in memory module 115, generate steering order, using 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 afterwards analysis module 112.Analysis module 112 is by the magnitude of voltage V of sampled signal
cwith default upper voltage limit value V
hwith lower voltage limit value V
lcompare, simultaneously by current transmit power P
cwith default power upper limit value P
hwith power lower limit P
lcompare.Select 113 pairs of described sampled signals of module and current transmit power P
canalysis result, from a plurality of emitting power grades, select suitable emitting power grade as emissive power P subsequently
s, and by this emissive power P subsequently
sbe stored in memory module 115, with the emitting power grade of storage before upgrading, and control transmitter module according to the emitting power grade emission infrared signal after upgrading in scanning process subsequently.
The process flow diagram of the method 300 that Fig. 3 is the adjusting of the power adaptive for infrared electronic white board of the present invention.As shown in Figure 3, the method 300 that power adaptive is regulated starts from step 310.A plurality of send-receive modules to electronic whiteboard to the process scanned in, for each send-receive module pair, main control module in step 310 (for example steering order generation module 114) is wherein controlled the emitting power grade of send-receive module centering transmitter module based on storing in storer and is transmitted.In step 320, main control module (for example sampling module 111) is wherein sampled to the reception signal of receiver module.In step 330, main control module (for example analysis module 112) is wherein analyzed this sampled signal and current transmit power P
c.In step 340, based on to sampled signal and current transmit power P
canalysis result, main control module (for example selection module 113) is wherein selected emissive power P subsequently from a plurality of emitting power grades
s; In step 105, main control module is by selected emissive power P subsequently
sbe stored to memory module 115, to control described transmitter module based on described emissive power P subsequently in the scan period subsequently
stransmit.
It should be noted that, as preferably, usually after the starting up, carry out immediately the power adjustment.The emitting power grade of now storing in memory module 115 is in infrared electronic white board, to power on to carry out the Initial Trans grade set after initialization process.This Initial Trans grade can be default power upper limit value PH or default power lower limit P
lor a certain intermediate value.As preferably, it is default power upper limit value P that this Initial Trans grade is set
h.As another, select, the emitting power grade of storing in memory module 115 in the time of also can be using system closedown last time is as this Initial Trans grade.
In addition, to the selection of best transmit power grade, can be according to result of calculation, directly from a plurality of emitting power grades, select a best transmit power grade as emissive power P subsequently
s, namely disposable selection is determined.Magnitude of voltage V that for example can the sample-based signal
cwith default upper voltage limit value V
hwith lower voltage limit value V
lthe size of difference, and current transmit power P
cwith default power upper limit value P
hwith power lower limit P
lthe size of difference, select the best transmit power grade from the table of comparisons of prior setting.This table of comparisons can be made based on test in equipment Manufacture Process, and is stored in memory module 115.
In addition, selection to the best transmit power grade, also can carry out several times, for example regulate carrying out N time for each send-receive modules of a plurality of send-receive module centerings respectively within N scan period, for example raise step by step or lower (wherein N is more than or equal to 2 integer).Below in conjunction with Fig. 4 to Fig. 6, this method is described.
Fig. 4 is according to an embodiment of the invention for the schematic diagram of the power adaptive regulating system 400 of infrared electronic white board.As shown in Figure 4, power adaptive regulating system 400 comprises main control module 110 ' and transmission power adjustment module 120.Except having increased a counting module 118, the structure of the main control module 110 ' in Fig. 4 is identical with the structure of main control module 110 in Fig. 2.The scanning times of counting module 118 between for to power the adjustment period 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 different emitting power grade.In operating process, the steering order of switch control device 122 based on from steering order generation module 114, from a plurality of power configuration 126a, 126b ... select the power configuration of appointment in steering order in .126n, make itself and transmitter module collaborative work, according to the emitting power grade of storing in memory module 115, launch infrared signal.
The process flow diagram that Fig. 5 is the method 500 of regulating for the power adaptive of infrared electronic white board according to an embodiment of the invention.In the present embodiment, within N scan period, each the send-receive module for a plurality of send-receive module centerings is regulated carrying out N time respectively, and wherein N is more than or equal to 2 integer.That is to say, in first scan period, successively to each send-receive modules of a plurality of send-receive module centerings to regulating for the first time, second scan period, successively to each send-receive modules of a plurality of send-receive module centerings to regulating for 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 Fig. 5 is regulated is from step 501, and in this step, system powers on and rear emitting power grade in storer carried out to initialization process.Afterwards, in step 510, main control module (for example steering order generation module 114) is wherein controlled the emitting power grade of send-receive module centering transmitter module based on storing in storer and is transmitted.In step 515, the count value in counting module is added to 1.In step 520, main control module (for example sampling module 111) is wherein 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, select emissive power P subsequently from a plurality of emitting power grades
s, and it is stored in memory module 115.Concrete steps comprise:
In step 530, the magnitude of voltage V of judgement sampled signal
cwhether be greater than default upper voltage limit value VH.When judgment result is that of step 530 is, enter step 532, judgement current transmit power P
cwhether be less than or equal to power lower limit P
l; When step 530, the determination result is NO, enters step 540, the magnitude of voltage V of judgement sampled signal
cwhether be less than lower voltage limit value V
l.
In step 532, when the determination result is NO, enter step 534.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 judgement is not last adjustment in step 536, enter step 550, store selected emitting power grade, as emissive power P subsequently
s., for transmitter module, launch subsequently infrared signal; If judgement is last adjustment in step 536, enter step 544, select to increase one-level power, then enter step 550, store selected emitting power grade, as emissive power P subsequently
s., for transmitter module, launch subsequently infrared signal.
If in step 532, when judgment result is that, be, enter step 538, select current transmit power P
cas emissive power P subsequently
s(keep emitting power grade constant).Afterwards, enter step 550, store selected emitting power grade.
In step 540, when judgment result is that, be to enter step 542, judgement current transmit power P
cwhether be more than or equal to power upper limit value P
h.If the determination result is NO in step 542, enter step 544, select to increase one-level power, then enter step 550, store selected emitting power grade, as emissive power P subsequently
s., for transmitter module, launch subsequently infrared signal; If judgment result is that in step 542 be, enter step 546, select current transmit power P
cas emissive power P subsequently
s(keep emitting power grade constant).Afterwards, enter step 550, store selected emitting power grade.
In step 540, when the determination result is NO, enter step 546, select current transmit power P
cas emissive power P subsequently
s(keep emitting power grade constant), and enter step 550, store selected emitting power grade.
After step 550, enter step 560, whether the multiplicity that judgement is adjusted reaches N, if not, returns to step 510, adjusts next time.If not, enter ending step 570.
The process flow diagram that Fig. 6 is the method 600 of regulating for the power adaptive of infrared electronic white board according to another embodiment of the present invention.Except step 534 and step 536 make an adjustment, the flow process shown in Fig. 6 is identical with the flow process shown in Fig. 5.Therefore, only the step 534 in Fig. 6 and step 536 are described, same section repeats no more.Compare with flow process shown in Fig. 5, in Fig. 6, first perform step 536, rear execution step 534.
When the determination result is NO in step 532, enter step 536.In step 536, judge whether this adjustment is last adjustment (being whether count value reaches N).
If judgement is not last adjustment in step 536, enter step 534, select to reduce the one-level emitting power grade.Enter subsequently step 550, store selected emitting power grade, as emissive power P subsequently
s., for transmitter module, launch subsequently infrared signal; If judgement is last adjustment in step 536, enter step 538, select current transmit power P
cas emissive power P subsequently
s(keep emitting power grade constant).Then enter step 550, store selected emitting power grade, as emissive power P subsequently
s., for transmitter module, launch subsequently infrared signal.
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 method 600, after completing, enter the next scan period and the count value in counting module is added to 1 simultaneously.
In one embodiment of the invention, upper voltage limit value V
hfor 4.5V, lower voltage limit value V
lfor 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 correspondingly, the power configuration in power conditioning module 120 is also N.In one embodiment of the invention, N is 8, and emitting power grade is divided into 8 grades, and correspondingly, the power configuration in power conditioning module 120 is also 8.
The schematic diagram that Fig. 7 is the annexation that is applied to according to an embodiment of the invention power adaptive regulating system in infrared electronic white board 700 and transmitter module and receiver module.As shown in Figure 7, in electronic whiteboard 700, main control module 110 ' is with M send-receive module 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 power configuration coordinated emission module 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 present invention.As shown in Figure 8, transmission power adjustment module 800 comprises switch control device U1 (corresponding to the switch control device 122 in Fig. 4), and 8 power configuration that are connected with switch control device U1, comprise 8 emitting power grades.Each power configuration comprises a switching device and a power resistor.For example, the first power configuration comprise the first switching device Q1 and the first power resistor R1, the second power configuration comprise second switch device Q2 and the second power resistor R2 ..., the 8th power configuration comprises second switch device Q8 and the second power resistor R8.Wherein, the resistance of each power resistor R1, R2......R8 is different, and their value differences determine respectively 8 different emissive powers.8 power configuration are connected in parallel in the infrared emission drive circuit of described transmitter module by web member CON1 and CON2.Switch control device U1 receives the steering order of described steering order generation module 114 outputs, to control the break-make of described switching device Q1-Q8, thereby selects 8 kinds of different emissive powers.
Particularly, switching device is switch triode, and its base stage is connected with the output terminal of switch control device U1, collector is connected with power resistor, emission collection ground connection.Switch control device U1 can adopt code translator to realize.
In one embodiment of the invention, described code translator is the 74HC238 code translator, the power resistor that steering order PAPB PC selects 8 switch triodes to connect by 3-8 code translator 74HC238, thus select 8 kinds of different emissive powers; For example, during PAPBPC=000, select Y0, connect the 8th switch triode Q8, transmitter current flows through the 8th resistance R 8; Select Y1 when PAPBPC=001, 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 the second resistance R 2; When PAPBPC=111, select Y7, connect the first switch triode 1, transmitter current flows through the first resistance R 1.Therefore according to selecting 8 different PAPB PC, can select 8 kinds of different emissive powers, thereby reach the effect of regulating emissive power.
In other embodiments of the invention, if the physical dimension of circuit board allows, also can select 74HC138 commonly used to add hex inverter 74HC04 and replace 74HC238.In addition, also can increase by one and select line PD to realize the power conditioning circuitry of 16 grades by the 4-16 code translator, can transmission power adjustment is more accurate, signal can be controlled at less more accurate scope, but circuit component quantity can double.In practical application, 8 grades of power adjustments can be satisfied the demand.
In the present invention, main control module is used PA according to each the road signal detected in the self check scanning process, PB, and PC controls transmission power adjustment module assignment emissive power.Pre-determine a setting voltage value scope, if signal is lower than this scope, control circuit strengthens the one-level electric current, emissive power can increase thereupon, if after adjusting, signal still strengthens the one-level electric current again lower than setting range, emissive power increases again one-level, if until signal be raised in setting range. power has been maximal value still adjust less than will be not in setting range increasing power again.
If signal reduces one-level power higher than the upper limit of setting range, signal can reduce thereupon, if signal still reduces one-level power again higher than the upper limit of setting range, signal reduces again, until signal drops in setting range, so repeatedly regulate and can, by signal controlling in setting range, still adjust less than in setting range, will not reducing again power if power has been minimum value.
Made up the difference of each road infrared tube by the difference of each road emissive power.
Main control module by native system is based on to sampled signal and current transmit power P
canalysis result, select emissive power P subsequently from a plurality of emitting power grades
s, distribute best transmit power according to the real work situation of each road infrared tube, by described power adjustments in fixed range, simplified circuit system structure, simplified the adjusting program of emissive power, in addition, because the solution of the present invention can be by power adjustments in fixed range, make the emissive power of infrared transmitting tube can be not too high, also be unlikely to too low, therefore the working current of infrared transmitting tube is not too large, delay the aging speed of infrared transmitting tube, extend the serviceable life of infrared transmitting tube, this extrinsic current can be too not little, guaranteed the workability of infrared tube, can be by signal controlling less more accurate scope, circuit component quantity is few in addition, and the structure of Circuits System is simplified.
In addition, implement technical scheme of the present invention, same transmission power adaptation regulating system can be adapted to infrared electronic white board, the infrared writing screen infrared touch input media of display device (for example for) of different model and/or size, without being every kind of model and/or the infrared electronic white board of size, the transmission power adjustment module that infrared writing shields independent configure dedicated.
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 caused because of the power valve angle, be conducive to enhance productivity.