CN112083833A - Gain adjustment method, device, equipment and storage medium of infrared touch screen - Google Patents
Gain adjustment method, device, equipment and storage medium of infrared touch screen Download PDFInfo
- Publication number
- CN112083833A CN112083833A CN202010952844.1A CN202010952844A CN112083833A CN 112083833 A CN112083833 A CN 112083833A CN 202010952844 A CN202010952844 A CN 202010952844A CN 112083833 A CN112083833 A CN 112083833A
- Authority
- CN
- China
- Prior art keywords
- signal
- infrared
- gain
- current
- preset
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000008569 process Effects 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000007613 environmental effect Effects 0.000 abstract description 7
- 230000003287 optical effect Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/29—Repeaters
- H04B10/291—Repeaters in which processing or amplification is carried out without conversion of the main signal from optical form
- H04B10/293—Signal power control
- H04B10/294—Signal power control in a multiwavelength system, e.g. gain equalisation
- H04B10/2942—Signal power control in a multiwavelength system, e.g. gain equalisation using automatic gain control [AGC]
Abstract
The application discloses a gain adjustment method, a gain adjustment device, equipment and a storage medium of an infrared touch screen, wherein the method comprises the following steps: when the gain adjusting device is in an adjusting state, acquiring a current infrared signal positioned on a scanning light path and a signal identifier of the current infrared signal; acquiring a preset gain value corresponding to the signal identifier based on a preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier; and adjusting the current infrared signal according to the preset gain value so that the current signal intensity of the current infrared signal is equal to the target signal intensity. The technical problems that in the prior art, gain adjustment on infrared signals is time-consuming and long-time, and requirements for rapid adjustment of the infrared touch screen after environmental changes are not met are solved.
Description
Technical Field
The present application relates to the field of optoelectronic technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting gain of an infrared touch screen.
Background
The infrared touch screen is an interactive device which realizes user touch position detection through infrared geminate transistors arranged on a touch screen frame. As shown in fig. 1, the principle of the infrared touch screen is specifically as follows: the transmitting tube of the infrared pair tube transmits infrared rays to the photosensitive tube, the photosensitive tube is identified by the MCU after receiving the infrared rays, when a touch object touches the touch screen, the MCU can identify the touch object, and the MCU calculates the coordinates of the touch object according to the missing position of the infrared rays.
Because the power of each infrared geminate transistor is different, the length of infrared rays is different, and the attenuation of the infrared rays is different, the infrared signals received by the photosensitive geminate transistors are different, and the identification precision and the range of the MCU are limited, the gain adjustment needs to be carried out on the infrared signals, so that the infrared signals are in the identification range of the MCU. In the prior art, although a certain adjustment effect can be obtained for gain adjustment of infrared signals, the adjustment consumes a long time and does not meet the requirement of rapid adjustment of an infrared touch screen after environmental changes.
Disclosure of Invention
The application provides a gain adjustment method, a gain adjustment device, equipment and a storage medium for an infrared touch screen, and solves the technical problems that in the prior art, gain adjustment for infrared signals is time-consuming and rapid adjustment requirements of the infrared touch screen after environmental changes are not met.
In view of this, a first aspect of the present application provides a method for adjusting gain of an infrared touch screen, including:
when the gain adjusting device is in an adjusting state, acquiring a current infrared signal positioned on a scanning light path and a signal identifier of the current infrared signal;
acquiring a preset gain value corresponding to the signal identifier based on a preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier;
and adjusting the current infrared signal according to the preset gain value so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
Optionally, the method includes obtaining a preset gain value corresponding to the signal identifier based on a preset corresponding relationship between the locally stored infrared identifier and the preset gain value according to the signal identifier, and the method further includes:
and judging whether the current signal intensity is equal to the target signal intensity, and if not, executing the subsequent steps.
Optionally, the configuration process of the preset corresponding relationship includes:
when the gain adjusting device is in a configuration state, acquiring the intensity of a target signal, the signal identifier of the current infrared signal and the intensity of the current signal;
performing gain adjustment on the current infrared signal based on the target signal strength;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as the preset gain value;
and constructing the preset corresponding relation according to the signal identification and the preset gain value.
Optionally, performing gain adjustment on the current infrared signal based on the target signal strength, before further comprising:
and judging whether the current infrared signal is equal to the target signal intensity or not, and if not, executing the subsequent steps.
Optionally, the method further comprises:
and reconfiguring the preset corresponding relation every other preset time period.
The second aspect of the present application provides a gain adjustment device for an infrared touch screen, including:
the first acquisition unit is used for acquiring a current infrared signal positioned on a scanning light path and a signal identifier of the current infrared signal when the gain adjustment device is in an adjustment state;
the second acquisition unit is used for acquiring a preset gain value corresponding to the signal identifier based on a preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier;
and the first adjusting unit is used for adjusting the current infrared signal according to the preset gain value so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
Optionally, the apparatus further comprises:
and the first judging unit is used for judging whether the current signal intensity is equal to the target signal intensity or not, and if not, the second acquiring unit is triggered.
Optionally, the configuration process of the preset corresponding relationship includes:
when the gain adjusting device is in a configuration state, acquiring the intensity of a target signal, the signal identifier of the current infrared signal and the intensity of the current signal;
performing gain adjustment on the current infrared signal based on the target signal strength;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as the preset gain value;
and constructing the preset corresponding relation according to the signal identification and the preset gain value.
A third aspect of the present application provides a gain adjustment device for an infrared touch screen, the device including a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the method for adjusting gain of an infrared touch screen according to the first aspect according to instructions in the program code.
A fourth aspect of the present application provides a storage medium, wherein the storage medium is configured to store a program code, and the program code is configured to execute the method for adjusting the gain of the infrared touch screen according to the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
the gain adjusting method of the infrared touch screen is applied to a gain adjusting device of the infrared touch screen, when the gain adjusting device is in an adjusting state, the gain adjusting device firstly obtains a current infrared signal located on a scanning light path and a signal identifier of the current infrared signal, then obtains a preset gain value corresponding to the signal identifier according to the signal identifier and based on a preset corresponding relation of the locally stored signal identifier and the preset gain value, and then adjusts the current infrared signal according to the preset gain value, so that the current signal intensity of the current infrared signal can be equal to the target signal intensity. Therefore, in the process of gain adjustment of the current infrared signal, the preset gain value corresponding to the current infrared signal is stored in the gain adjustment device in advance, so that the preset gain value can be directly called, the current infrared signal can be rapidly adjusted through the preset gain value, and compared with the existing mode of gradually approaching to adjust the infrared signal, the time consumption is short, so that the technical problems that in the prior art, the time consumption for gain adjustment of the infrared signal is long, and the requirement for rapid adjustment of the infrared touch screen after environmental change is not met are solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of an infrared touch screen;
fig. 2 is a schematic flowchart of a first embodiment of a method for adjusting gain of an infrared touch screen according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second embodiment of a method for adjusting gain of an infrared touch screen according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an embodiment of a gain adjustment apparatus for an infrared touch screen in an embodiment of the present application;
fig. 5 is a schematic view illustrating a usage state of a gain adjustment device of an infrared touch screen in an embodiment of the present application.
Detailed Description
In view of the problems in the background art, the inventor of the present invention has found, after studying the prior art, that in the prior art, the gain adjustment for the infrared signal is performed in a step-by-step approximation manner, that is, the MCU assigns a value of 0 to the operational amplifier, and the operational amplifier outputs the currently adjusted gainInfrared signals are converted by an ADC (analog to digital converter), whether the currently adjusted infrared signals accord with target signal strength is compared, if not, the operational amplifier is assigned with 1 to be readjusted, and so on until the target signal strength is met, so that the gain adjustment of one infrared signal usually needs 2m(m is a natural number) times, and the time is long.
In view of this, an embodiment of the present application provides a gain adjustment method, an apparatus, a device, and a storage medium for an infrared touch screen, where in a process of performing gain adjustment on a current infrared signal, since a preset gain value corresponding to the current infrared signal is pre-stored in a gain adjustment device, the preset gain value can be called, and the current infrared signal can be directly adjusted through the preset gain value, so that the current signal intensity of the current infrared signal is equal to a target signal intensity.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
Referring to fig. 2, a schematic flow chart of a first embodiment of a method for adjusting gain of an infrared touch screen in an embodiment of the present application is shown.
In this embodiment, a method for adjusting gain of an infrared touch screen is applied to a device for adjusting gain of an infrared touch screen, and the method includes:
It should be noted that, when the gain adjustment device is in the adjustment state, the gain adjustment device may perform gain adjustment on the current infrared signal in the scanning optical path, so that the current infrared signal and the signal identifier of the current infrared signal are obtained first.
It is understood that the type of the signal identifier may be various, for example, a mathematical number of 1, 2, 3, etc., or a letter number of A, B, C, etc., and those skilled in the art may set the type according to their own needs, which is not limited and described herein.
The current infrared signal in the scanning optical path is changed, for example, when the infrared signal 1 is in the scanning optical path, the infrared signal 1 is the current infrared signal, after the gain adjustment of the infrared signal 1 is completed, the infrared signal 2 is input into the scanning optical path, the current infrared signal 2 is the current infrared signal, and so on, the current infrared signal is taken as the current infrared signal for the infrared signal currently located in the scanning optical path each time, and then the gain adjustment is performed on the current infrared signal.
After the current infrared signal and the signal identifier of the current infrared signal are acquired, the preset corresponding relationship between the infrared identifier and the preset gain value is stored in the gain adjusting device, so that the preset gain value corresponding to the infrared identifier can be directly determined according to the preset corresponding relationship.
And 203, adjusting the current infrared signal according to the preset gain value to enable the current signal intensity of the current infrared signal to be equal to the target signal intensity.
After the preset gain value corresponding to the current infrared signal is obtained, the current infrared signal can be directly adjusted through the preset gain value, so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
The gain adjustment method of the infrared touch screen is applied to a gain adjustment device of the infrared touch screen, when the gain adjustment device executes the method, firstly, when the gain adjustment device is in an adjustment state, a current infrared signal located on a scanning light path and a signal identifier of the current infrared signal are obtained, then, according to the signal identifier, a preset gain value corresponding to the signal identifier is obtained based on a preset corresponding relation between the locally stored signal identifier and the preset gain value, and then, after the current infrared signal is adjusted according to the preset gain value, the current signal intensity of the current infrared signal can be equal to the target signal intensity. Therefore, in the process of gain adjustment of the current infrared signal, the preset gain value corresponding to the current infrared signal is stored in the gain adjustment device in advance, so that the preset gain value can be directly called, the current infrared signal can be rapidly adjusted through the preset gain value, and compared with the existing mode of gradually approaching to adjust the infrared signal, the time consumption is short, so that the technical problems that in the prior art, the time consumption for gain adjustment of the infrared signal is long, and the requirement for rapid adjustment of the infrared touch screen after environmental change is not met are solved.
The above is a first embodiment of a method for adjusting gain of an infrared touch screen provided in the embodiment of the present application, and the following is a second embodiment of a method for adjusting gain of an infrared touch screen provided in the embodiment of the present application.
Referring to fig. 3, a flowchart of a second embodiment of a method for adjusting gain of an infrared touch screen in an embodiment of the present application is shown.
In this embodiment, a method for adjusting gain of an infrared touch screen is applied to a device for adjusting gain of an infrared touch screen, and the method includes:
It should be noted that the description of step 301 is the same as the description of step 201 in the first embodiment, and reference may be specifically made to the description of step 201, which is not described herein again.
Further, in order to save the time of gain adjustment, after the current infrared signal is acquired and before the current infrared signal is gain adjusted, it is determined whether the current signal strength and the target signal strength are equal, and if the current signal strength and the target signal strength are not equal, the gain adjustment is performed.
And 303, acquiring a preset gain value corresponding to the signal identifier based on the preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier.
In this embodiment, the configuration process for the preset corresponding relationship may include:
when the gain adjusting device is in a configuration state, acquiring the target signal intensity, the signal identifier of the current infrared signal and the current signal intensity;
performing gain adjustment on the current infrared signal based on the target signal intensity;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as a preset gain value;
and constructing a preset corresponding relation according to the signal identification and the preset gain value.
It can be understood that, in the use process of the gain adjustment apparatus, in order to make the adjusted signal more fit to the actual situation, the preset gain value corresponding to the current infrared signal is further updated, specifically:
and reconfiguring the preset corresponding relation every other preset time period.
The obtaining of the working state of the gain adjustment device may be achieved by obtaining a control signal of the MCU to the gain adjustment device, for example, when the MCU sends a high-level control signal to the gain adjustment device, the gain adjustment state at this time is an adjustment state (i.e., a preset gain value, a read state of a preset correspondence); when the MCU sends a low level control signal to the gain adjustment device, the gain adjustment state at this time is a configuration state (i.e. a preset gain value, a write state of a preset corresponding relation)
And 304, adjusting the current infrared signal according to the preset gain value, so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
It should be noted that the description of step 304 is the same as the description of step 203 in the first embodiment, and reference may be specifically made to the description of step 203, which is not repeated herein.
And 305, reconfiguring the preset corresponding relation every preset time period.
It can be understood that, in the use process of the infrared touch screen, the preset gain value corresponding to the current infrared signal may change, and in order that the current infrared signal after the gain adjustment meets the requirement, the preset corresponding relationship is reconfigured at intervals of a preset time period.
The gain adjustment method of the infrared touch screen is applied to a gain adjustment device of the infrared touch screen, when the gain adjustment device executes the method, firstly, when the gain adjustment device is in an adjustment state, a current infrared signal located on a scanning light path and a signal identifier of the current infrared signal are obtained, then, according to the signal identifier, a preset gain value corresponding to the signal identifier is obtained based on a preset corresponding relation between the locally stored signal identifier and the preset gain value, and then, after the current infrared signal is adjusted according to the preset gain value, the current signal intensity of the current infrared signal can be equal to the target signal intensity. Therefore, in the process of gain adjustment of the current infrared signal, the preset gain value corresponding to the current infrared signal is stored in the gain adjustment device in advance, so that the preset gain value can be directly called, the current infrared signal can be rapidly adjusted through the preset gain value, and compared with the existing mode of gradually approaching to adjust the infrared signal, the time consumption is short, so that the technical problems that in the prior art, the time consumption for gain adjustment of the infrared signal is long, and the requirement for rapid adjustment of the infrared touch screen after environmental change is not met are solved.
The second embodiment of the method for adjusting the gain of the infrared touch screen provided in the embodiment of the present application is as described above, and the following is an embodiment of the method for adjusting the gain of the infrared touch screen provided in the embodiment of the present application, please refer to fig. 4.
Referring to fig. 4, a schematic structural diagram of an embodiment of a gain adjustment apparatus for an infrared touch screen in an embodiment of the present application includes:
a first obtaining unit 401, configured to obtain, when the gain adjustment apparatus is in an adjustment state, a current infrared signal located on the scanning optical path and a signal identifier of the current infrared signal;
a second obtaining unit 402, configured to obtain a preset gain value corresponding to the signal identifier according to the signal identifier and based on a preset corresponding relationship between the locally stored infrared identifier and the preset gain value;
a first adjusting unit 403, configured to adjust the current infrared signal according to a preset gain value, so that the current signal strength of the current infrared signal is equal to the target signal strength.
Further, the apparatus further comprises:
the first determining unit 404 is configured to determine whether the current signal strength is equal to the target signal strength, and if not, trigger the second obtaining unit.
Further, the configuration process of the preset correspondence includes:
when the gain adjusting device is in a configuration state, acquiring the target signal intensity, the signal identifier of the current infrared signal and the current signal intensity;
performing gain adjustment on the current infrared signal based on the target signal intensity;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as a preset gain value;
and constructing a preset corresponding relation according to the signal identification and the preset gain value.
For easy understanding, in the present embodiment, the working flow of the gain adjustment device implemented in the present embodiment is described with reference to fig. 5, assuming that the infrared touch screen has n in total1The infrared ray amplifying circuit comprises n paths of infrared rays, and the specific flow is as follows:
1. configuration state of the automatic gain device: the DAC of the MCU outputs a target value, and R/W is set high;
2. when a first group of infrared signals enter the automatic gain device, AGC (automatic gain adjustment) is realized inside the automatic gain device until the output VOUT is consistent with the target value DAC, after the adjustment is finished, the AGC value is stored inside the automatic gain device, and the MCU does not participate in the control;
3. the rising edge of the clock signal CLK moves the stored position to the next bit to be stored with a set of AGC values;
4. when a second group of infrared signals enter the automatic gain device, AGC (automatic gain adjustment) is realized inside the automatic gain device until the output VOUT is consistent with the target value DAC, and after the adjustment is finished, an AGC value is stored inside the automatic gain device;
5. repeating the steps 3 and 4 for n1/n times until all infrared rays of the touch screen are adjusted;
6. adjustment state of the automatic gain device: R/W is set low;
7. a rising edge of a clock signal CLK calls a first set of AGC values of a memory;
8. a first group of infrared signals enter the automatic gain device;
9. amplifying the amplification factor called by the memory;
10. repeating the above steps from 7 to 9 times until all the infrared ray applications are completed;
the above 1 to 5 are configuration time of the signal, the above 6 to 10 are adjustment time of the signal, the steps of 6 to 10 are repeated in the using process of the infrared touch screen, each time is a period, and the steps of 1 to 5 are carried out every other one or more periods to adjust the AGC value.
As can be seen from the above, the infrared touch screen has n1When the amplification circuit has n paths, the time of each signal period of each infrared ray is T, and the adjustment time of the whole signal is n1T/n. The infrared ray, the amplifying circuit and the signal period are the same, and the required time is 2 by adopting the existing gain adjustment methodmTn1It is obvious that the gain adjusting device in this embodiment can significantly shorten the gain adjusting time, and only 1/2 is usedmTherefore, the method can realize rapid signal adjustment (within a few milliseconds), adapt to environment change and the like, such as touch screen shaking and blackboard push-pull problem (generally in the order of seconds) in a classroom.
The gain adjustment device of the infrared touch screen in this embodiment first obtains a current infrared signal and a signal identifier of the current infrared signal located on a scanning light path when the gain adjustment device is in an adjustment state, then obtains a preset gain value corresponding to the signal identifier based on a preset corresponding relationship between the locally stored signal identifier and the preset gain value according to the signal identifier, and then adjusts the current infrared signal according to the preset gain value, so that the current signal intensity of the current infrared signal can be equal to the target signal intensity. Therefore, in the process of gain adjustment of the current infrared signal, the preset gain value corresponding to the current infrared signal is stored in the gain adjustment device in advance, so that the preset gain value can be directly called, the current infrared signal can be rapidly adjusted through the preset gain value, and compared with the existing mode of gradually approaching to adjust the infrared signal, the time consumption is short, so that the technical problems that in the prior art, the time consumption for gain adjustment of the infrared signal is long, and the requirement for rapid adjustment of the infrared touch screen after environmental change is not met are solved.
The embodiment of the application also provides gain adjustment equipment of the infrared touch screen, and the equipment comprises a processor and a memory; the memory is used for storing the program codes and transmitting the program codes to the processor; the processor is configured to execute the method for adjusting the gain of the infrared touch screen according to the first embodiment or the second embodiment according to instructions in the program code.
The embodiment of the application further provides a storage medium, wherein the storage medium is used for storing a program code, and the program code is used for executing the gain adjustment method of the infrared touch screen in the first embodiment or the second embodiment.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be implemented, for example, a plurality of units or components may be combined or integrated into another grid network to be installed, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to the needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A gain adjustment method of an infrared touch screen is applied to a gain adjustment device of the infrared touch screen, and is characterized by comprising the following steps:
when the gain adjusting device is in an adjusting state, acquiring a current infrared signal positioned on a scanning light path and a signal identifier of the current infrared signal;
acquiring a preset gain value corresponding to the signal identifier based on a preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier;
and adjusting the current infrared signal according to the preset gain value so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
2. The method for adjusting gain of an infrared touch screen according to claim 1, wherein the method for adjusting gain of an infrared touch screen according to the signal identifier obtains a preset gain value corresponding to the signal identifier based on a preset corresponding relationship between the locally stored infrared identifier and the preset gain value, and further comprises:
and judging whether the current signal intensity is equal to the target signal intensity, and if not, executing the subsequent steps.
3. The method for adjusting the gain of the infrared touch screen according to claim 1, wherein the configuration process of the preset correspondence relationship includes:
when the gain adjusting device is in a configuration state, acquiring the intensity of a target signal, the signal identifier of the current infrared signal and the intensity of the current signal;
performing gain adjustment on the current infrared signal based on the target signal strength;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as the preset gain value;
and constructing the preset corresponding relation according to the signal identification and the preset gain value.
4. The method of claim 3, wherein the gain adjustment of the current IR signal based on the target signal strength further comprises:
and judging whether the current infrared signal is equal to the target signal intensity or not, and if not, executing the subsequent steps.
5. The method for adjusting the gain of the infrared touch screen according to claim 3, further comprising:
and reconfiguring the preset corresponding relation every other preset time period.
6. A gain adjustment device of an infrared touch screen is characterized by comprising:
the first acquisition unit is used for acquiring a current infrared signal positioned on a scanning light path and a signal identifier of the current infrared signal when the gain adjustment device is in an adjustment state;
the second acquisition unit is used for acquiring a preset gain value corresponding to the signal identifier based on a preset corresponding relation between the locally stored infrared identifier and the preset gain value according to the signal identifier;
and the first adjusting unit is used for adjusting the current infrared signal according to the preset gain value so that the current signal intensity of the current infrared signal is equal to the target signal intensity.
7. The apparatus of claim 6, further comprising:
and the first judging unit is used for judging whether the current signal intensity is equal to the target signal intensity or not, and if not, the second acquiring unit is triggered.
8. The apparatus according to claim 6, wherein the configuration process of the preset correspondence relationship comprises:
when the gain adjusting device is in a configuration state, acquiring the intensity of a target signal, the signal identifier of the current infrared signal and the intensity of the current signal;
performing gain adjustment on the current infrared signal based on the target signal strength;
when the current signal intensity is adjusted to be equal to the target signal intensity, taking the corresponding adjustment gain as the preset gain value;
and constructing the preset corresponding relation according to the signal identification and the preset gain value.
9. An apparatus for gain adjustment of an infrared touch screen, the apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the gain adjustment method of the infrared touch screen according to any one of claims 1 to 4 according to instructions in the program code.
10. A storage medium for storing a program code for executing the method for adjusting gain of an infrared touch screen according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010952844.1A CN112083833A (en) | 2020-09-11 | 2020-09-11 | Gain adjustment method, device, equipment and storage medium of infrared touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010952844.1A CN112083833A (en) | 2020-09-11 | 2020-09-11 | Gain adjustment method, device, equipment and storage medium of infrared touch screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112083833A true CN112083833A (en) | 2020-12-15 |
Family
ID=73737563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010952844.1A Withdrawn CN112083833A (en) | 2020-09-11 | 2020-09-11 | Gain adjustment method, device, equipment and storage medium of infrared touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112083833A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114510163A (en) * | 2022-02-15 | 2022-05-17 | 深圳市康冠商用科技有限公司 | Gain adjustment method, device and equipment of infrared touch screen and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1335548A (en) * | 2000-07-24 | 2002-02-13 | 北京汇冠科技有限公司 | Infrared touch screen performance improving structure and method |
CN1581096A (en) * | 2003-08-06 | 2005-02-16 | 于国庆 | Adjusting and correcting device and method for infrared screen detection circuit |
JP2007088659A (en) * | 2005-09-21 | 2007-04-05 | Yokogawa Electric Corp | Infrared touch switch |
CN101226447A (en) * | 2008-01-29 | 2008-07-23 | 广东威创视讯科技股份有限公司 | Touch screen device and debugging method thereof |
TW200842674A (en) * | 2007-04-20 | 2008-11-01 | Hon Hai Prec Ind Co Ltd | Apparatus and method for controlling touch screen |
CN101901085A (en) * | 2010-07-07 | 2010-12-01 | 深圳创维-Rgb电子有限公司 | Method for enhancing stability of infrared touch system |
CN102117154A (en) * | 2010-12-16 | 2011-07-06 | 合肥天鹅电子技术有限公司 | Signal processing method of interactive infrared whiteboard |
CN102339168A (en) * | 2010-07-21 | 2012-02-01 | 北京汇冠新技术股份有限公司 | Touch screen and multi-channel sampling method thereof |
CN103529973A (en) * | 2012-07-03 | 2014-01-22 | 上海海尔集成电路有限公司 | Gain adjustment method and gain adjustment circuit of touch screen controller |
CN105592231A (en) * | 2016-02-25 | 2016-05-18 | 青岛海信电器股份有限公司 | Signal processing method, signal processing device, and signal processing equipment |
CN106775090A (en) * | 2016-12-21 | 2017-05-31 | 北京汇冠触摸技术有限公司 | A kind of infrared touch panel and its gain adjusting method |
-
2020
- 2020-09-11 CN CN202010952844.1A patent/CN112083833A/en not_active Withdrawn
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1335548A (en) * | 2000-07-24 | 2002-02-13 | 北京汇冠科技有限公司 | Infrared touch screen performance improving structure and method |
CN1581096A (en) * | 2003-08-06 | 2005-02-16 | 于国庆 | Adjusting and correcting device and method for infrared screen detection circuit |
JP2007088659A (en) * | 2005-09-21 | 2007-04-05 | Yokogawa Electric Corp | Infrared touch switch |
TW200842674A (en) * | 2007-04-20 | 2008-11-01 | Hon Hai Prec Ind Co Ltd | Apparatus and method for controlling touch screen |
CN101226447A (en) * | 2008-01-29 | 2008-07-23 | 广东威创视讯科技股份有限公司 | Touch screen device and debugging method thereof |
CN101901085A (en) * | 2010-07-07 | 2010-12-01 | 深圳创维-Rgb电子有限公司 | Method for enhancing stability of infrared touch system |
CN102339168A (en) * | 2010-07-21 | 2012-02-01 | 北京汇冠新技术股份有限公司 | Touch screen and multi-channel sampling method thereof |
CN102117154A (en) * | 2010-12-16 | 2011-07-06 | 合肥天鹅电子技术有限公司 | Signal processing method of interactive infrared whiteboard |
CN103529973A (en) * | 2012-07-03 | 2014-01-22 | 上海海尔集成电路有限公司 | Gain adjustment method and gain adjustment circuit of touch screen controller |
CN105592231A (en) * | 2016-02-25 | 2016-05-18 | 青岛海信电器股份有限公司 | Signal processing method, signal processing device, and signal processing equipment |
CN106775090A (en) * | 2016-12-21 | 2017-05-31 | 北京汇冠触摸技术有限公司 | A kind of infrared touch panel and its gain adjusting method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114510163A (en) * | 2022-02-15 | 2022-05-17 | 深圳市康冠商用科技有限公司 | Gain adjustment method, device and equipment of infrared touch screen and storage medium |
CN114510163B (en) * | 2022-02-15 | 2022-08-30 | 深圳市康冠商用科技有限公司 | Gain adjustment method, device and equipment of infrared touch screen and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7179273B2 (en) | Translation model training methods, phrase translation methods, devices, storage media and computer programs | |
CN108564966B (en) | Voice test method and device with storage function | |
CN109741755B (en) | Voice awakening word threshold management device and method for managing voice awakening word threshold | |
US20200137215A1 (en) | Method for controlling proximity sensor, device, and mobile terminal | |
CN106201417A (en) | Adjust the method for screen display brightness, device and mobile terminal | |
CN112083833A (en) | Gain adjustment method, device, equipment and storage medium of infrared touch screen | |
CN111083625A (en) | Microphone performance testing method, testing management equipment and testing system | |
US20200319664A1 (en) | Audio data transmission method and apparatus | |
US11272307B2 (en) | Method and device for controlling recording volume, and storage medium | |
CN111507924B (en) | Video frame processing method and device | |
CN111246294A (en) | Method, device, equipment and storage medium for processing audience rating index data | |
CN104320719A (en) | Television program interaction participating method and system based on audio watermarking | |
CN110392297B (en) | Video processing method and device, storage medium and terminal | |
US20140285801A1 (en) | Mixed-mode photo-amplifier for particle counter | |
US20220212108A1 (en) | Audio frequency signal processing method and apparatus, terminal and storage medium | |
CN105940449A (en) | Audio signal processing | |
CN112446574A (en) | Product evaluation method and device, electronic equipment and storage medium | |
CN111341416A (en) | Psychological stress assessment model processing method and related equipment | |
CN110941302B (en) | Voltage regulator control method and device, voltage regulator and medium | |
CN113286239A (en) | Voltage output method and device for microphone, microphone and electronic equipment | |
CN111986659A (en) | Method and device for establishing audio generation model | |
CN110988840B (en) | Method and device for acquiring flight time and electronic equipment | |
CN112562708B (en) | Nonlinear echo cancellation method, nonlinear echo cancellation device, electronic device and storage medium | |
CN110471573B (en) | Infrared signal adjusting method, device, equipment, medium and infrared touch frame | |
CN106791108A (en) | A kind of threshold value update method of proximity transducer, device and terminal |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201215 |