Signal gain adjustment method and apparatus for infrared touch frame and computer device

By adjusting the group gain of the infrared receivers in the infrared touch frame, the problem of large differences in the output signals of the infrared receivers was solved, achieving uniformity of signal strength and convenience of back-end processing.

WO2024245252A1PCT designated stage expired Publication Date: 2024-12-05GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/095872
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-29
Filing Date
2024-05-29
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In existing infrared touch frames, the use of the same receiving signal gain value for the infrared receivers leads to significant differences in the output signals, which is detrimental to backend processing.

Method used

The infrared receivers are grouped and individual gain is adjusted for each group so that the strength of the received signal in each group is within a preset range. Fine adjustment is achieved through the gain control pin of the controller.

Benefits of technology

This reduces the intensity difference of the infrared receiver output signal, making the signal more uniform and facilitating backend processing, such as secondary amplification or ADC sampling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095872_05122024_PF_FP_ABST
    Figure CN2024095872_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a signal gain adjustment method and apparatus for an infrared touch frame and a computer device. An infrared transmitter is controlled to transmit an infrared signal at a rated transmission gain level, and gain adjustment is independently performed on received signals received by each group of infrared receivers within a transmission angle of the infrared transmitter, such that signal intensity values of the plurality of groups of adjusted received signals are all within a first preset range; the intensity difference among the infrared signals outputted by each group of infrared receivers is reduced, such that the intensities of the infrared signals outputted by the infrared receivers are closer to each other, thereby facilitating performing processing such as secondary amplification or ADC sampling on the received infrared signals at a rear end. One gain control pin of a controller in the present application is connected to a group of infrared receivers, and the controller performs reception gain adjustment on the group of infrared receivers by means of the gain control pin, such that the gain adjustment of the infrared receivers is more precise.
Need to check novelty before this filing date? Find Prior Art

Description

Signal gain adjustment method and device for infrared touch frame and computer equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 29, 2023, with application number 202310623633.7 and invention name “Signal gain adjustment method, device and computer equipment for infrared touch frame”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of infrared touch control technology, and for example, to a signal gain adjustment method and apparatus for an infrared touch frame, a computer device, and a computer-readable storage medium. Background Art

[0003] The infrared touch frame includes multiple infrared transmitters and infrared receivers that are relatively distributed. The infrared transmitters are turned on and emit infrared signals in sequence under the control of the controller, and the corresponding infrared receivers are turned on and receive infrared signals in sequence under the control of the controller, and calculate whether a touch operation occurs based on the changes in the infrared signals received by each infrared receiver.

[0004] When an infrared transmitter is turned on and transmits an infrared signal, it adjusts the transmit signal gain. Similarly, when an infrared receiver is turned on and receives an infrared signal, it also adjusts the receive signal gain. Currently, infrared transmitters typically use one gain value to adjust the transmit signal, while infrared receivers use another gain value to adjust the receive signal. Since there are typically multiple receive signals, using the same gain value for both adjustments can result in significant differences between the output signals, hindering back-end processing.

[0005] Summary of the Invention

[0006] Based on this, the present application provides a signal gain adjustment method, device, computer equipment and computer-readable storage medium for an infrared touch frame, which can adjust the receiving signal gain of the infrared receiver each time it is turned on, reduce the intensity difference of the output signal of the infrared receiver, and make the intensity of the output signal of the infrared receiver each time it is turned on more uniform, which is more conducive to back-end processing.

[0007] In a first aspect, the present application provides a method for adjusting the signal gain of an infrared touch frame, comprising the following steps:

[0008] Controlling the infrared transmitter to transmit infrared signals at a rated transmission gain level to obtain reception signals from at least two groups of infrared receivers; wherein the infrared receivers within the transmission angle of the infrared transmitter are divided into at least two groups, and the output end of each group of infrared receivers is connected to a gain control pin of the controller;

[0009] The controller performs gain adjustment on the received signals of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers, so that the signal strength value of the received signals of the adjusted infrared receivers is within a first preset range.

[0010] In a second aspect, the present application provides a signal gain adjustment device for an infrared touch frame, comprising:

[0011] A received signal acquisition module, configured to control the infrared transmitter to transmit infrared signals at a rated transmission gain level, and acquire reception signals from at least two groups of infrared receivers; wherein the infrared receivers within the transmission angle of the infrared transmitter are divided into at least two groups, and the output end of each group of infrared receivers is connected to a gain control pin of the controller;

[0012] The gain adjustment module is used to adjust the gain of the received signal of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers through the controller, so that the signal strength value of the received signal of the adjusted infrared receiver is within a first preset range.

[0013] In a third aspect, the present application provides a computer device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the signal gain adjustment method for the infrared touch frame according to the first aspect are implemented.

[0014] In a fourth aspect, the present application provides a storage medium storing a computer program. When the computer program is executed by a processor, the steps of the signal gain adjustment method for the infrared touch frame according to the first aspect are implemented.

[0015] By adopting the above-mentioned technical solution of the present application, by controlling the infrared transmitter to transmit infrared signals at a rated transmission gain gear, the gain of the received signals received by each group of infrared receivers within the transmission angle of the infrared transmitter is individually adjusted, so that the signal strength values ​​of the adjusted groups of received signals are all within a first preset range, reducing the intensity difference of the infrared signals output by each group of infrared receivers, making the intensity of the infrared signals output by the infrared receivers closer, and facilitating the back-end to perform secondary amplification or ADC sampling and other processing on the infrared received signals; in the present application, the gain control pin of the controller is connected to a group of infrared receivers, and the controller adjusts the receiving gain of the group of infrared receivers through the gain control pin, so that the gain adjustment of the infrared receivers is more precise.

[0016] For better understanding and implementation, the technical solution of the present application is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] FIG1 is a schematic diagram of the working principle of an infrared touch frame in related art;

[0018] FIG2 is a schematic flow chart of a signal gain adjustment method for an infrared touch frame provided in an embodiment of the present application;

[0019] FIG3 is a schematic diagram of an infrared receiver grouping according to an embodiment of the present application;

[0020] FIG4 is a schematic diagram of an application circuit according to an embodiment of the present application;

[0021] FIG5 is a schematic diagram of another infrared receiver grouping according to an embodiment of the present application;

[0022] FIG6 is a schematic structural diagram of a signal gain adjustment device for an infrared touch frame provided in an embodiment of the present application;

[0023] FIG7 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are intended only to illustrate the present application and are not intended to limit the present application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present application, rather than all of the contents.

[0025] The following are specific embodiments to detail the technical solutions of this application. The infrared touch frame operates as follows: an infrared transmitter and an infrared receiver form an infrared light matrix. During operation, the infrared transmitter emits an infrared signal, which is received by the infrared receiver at the angle covered by the infrared transmitter's transmission angle. Each infrared transmitter and its corresponding infrared receiver are sequentially activated, scanning and detecting in different directions. When a touch object blocks the infrared signal, changes in the infrared signal cause changes in the electrical signal output by the photoelectric detection circuit connected to the infrared receiver. This electrical signal is then processed to locate the touch object.

[0026] Currently, most infrared touch screens use a "one-transmit, multiple-receive" scanning method. This means that for every infrared transmitter activated, multiple corresponding infrared receivers are activated simultaneously to receive the infrared signal, and all infrared receivers use the same receive signal gain value. As shown in Figure 1, infrared receivers 1-6 are activated simultaneously to receive the infrared signal from their corresponding infrared transmitters. The distances and angles between infrared receivers 1-6 and the activated infrared transmitters vary, resulting in varying received signal strengths. For example, infrared receiver 4's signal is stronger than those of infrared receivers 1 and 6. However, infrared receivers 1-6 all use the same receive signal gain value, resulting in significant differences in the output signals from infrared receivers 1-6, hindering back-end processing.

[0027] In response to the above problems, the present application creatively proposes a new technical solution. Through design changes in hardware architecture and control logic, more precise gain adjustment between various infrared receivers can be achieved without increasing costs.

[0028] In the present application, the multiple infrared receivers corresponding to each infrared transmitter are grouped. The grouping of the infrared receivers can be determined based on the user's pre-settings or during the pre-scan process. For example, when the infrared transmitter is turned on once, there are 6 infrared receivers that simultaneously receive the infrared signal emitted by the infrared transmitter. The 6 infrared receivers are grouped based on the user's grouping requirements, and then the gain of each group of infrared receivers is adjusted separately so that the signal strength values ​​of the adjusted groups of received signals are all within a first preset range, reducing the intensity difference of the infrared signals output by the infrared receivers of each group, making the intensity of the infrared signals output by the infrared receivers closer, and facilitating the back-end to perform secondary amplification or ADC sampling on the infrared received signals. With regard to grouping, for the same infrared receiver, when different infrared transmitters are transmitting, the group to which the infrared receiver belongs is different, and thus the gain adjustment adopted by the infrared receiver is not necessarily the same.

[0029] Please refer to FIG2 , which is a flow chart of a signal gain adjustment method for an infrared touch frame provided in an embodiment of the present application, comprising the following steps:

[0030] S101: Controlling an infrared transmitter of the infrared touch frame to transmit an infrared signal at a rated transmission gain level to obtain reception signals from the at least two groups of infrared receivers; wherein the infrared receivers within the transmission angle of each infrared transmitter are divided into at least two groups, and the output end of each group of infrared receivers is connected to a gain control pin of the controller;

[0031] S102: The controller performs gain adjustment on the received signals of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers, so that the signal strength value of the received signals of the infrared receivers after adjustment is within a first preset range.

[0032] The signal gain adjustment method of the infrared touch frame of the present application controls the infrared transmitter to transmit infrared signals at a rated transmission gain level, and separately adjusts the gain of the received signals received by each group of infrared receivers within the emission angle of the infrared transmitter, so that the signal strength values ​​of the adjusted groups of received signals are all within a first preset range, reducing the intensity difference of the infrared signals output by each group of infrared receivers, making the intensity of the infrared signals output by the infrared receivers closer, and facilitating the back-end to perform secondary amplification or ADC sampling and other processing on the infrared received signals.

[0033] In this embodiment, the infrared transmitter transmits the infrared signal at the rated transmission gain level means that the infrared transmitter transmits at the rated maximum power.

[0034] The controller of the present application is used to perform gain adjustment on an infrared receiver. In one embodiment, the controller may include multiple gain control pins, each gain control pin corresponding to a group of infrared receivers. The controller outputs a receiving gain signal through the gain control pin to perform receiving gain adjustment on the receiving signal output by the group of infrared receivers, thereby making the gain adjustment of the infrared receiver more precise.

[0035] Among them, for step S101, depending on the different control logic, the infrared transmitters of the infrared touch frame can be controlled to turn on in sequence, and the infrared receivers corresponding to the infrared transmitters can be controlled to receive synchronously; or during the lighting cycle of at least two groups of infrared receivers, all infrared transmitters within the receiving angle of the at least two groups of infrared receivers can emit infrared signals in a preset order.

[0036] As shown in Figure 1, in an embodiment of the present application, the infrared touch frame includes infrared transmitters AF and infrared receivers 1-6. Infrared transmitters AF are infrared transmitters within the receiving angle of infrared receivers 1-6. Infrared receivers 1-6 are turned on to receive infrared signals at the same time. The infrared signals can be emitted in sequence by first controlling infrared transmitter A to emit infrared signals, then controlling infrared transmitter B to emit infrared signals... and finally controlling infrared transmitter F to emit infrared signals; or, in another embodiment, the infrared signals can be emitted in sequence by first controlling infrared transmitter F to emit infrared signals, then controlling infrared transmitter D to emit infrared signals... and finally controlling infrared transmitter A to emit infrared signals.

[0037] In one embodiment, the step of obtaining reception signals of the at least two groups of infrared receivers includes:

[0038] When the infrared touch frame is in the target working mode and the first infrared transmitter is switched to the second infrared transmitter for transmission, the gain gears of the at least two groups of infrared receivers corresponding to the second infrared transmitter are switched to the receiving gain gears corresponding to the second infrared transmitter, and the receiving signals of the at least two groups of infrared receivers are obtained;

[0039] Wherein, in the target working mode, the plurality of infrared receivers are simultaneously turned on to receive signals, and the plurality of infrared transmitters within the receiving angles of the plurality of infrared receivers transmit infrared signals in a preset order.

[0040] When the infrared transmitters of the infrared touch frame are turned on in sequence, the infrared receivers and grouping methods corresponding to each infrared transmitter can be different. Each time an infrared transmitter is turned on, the receiving gain gears of at least two groups of infrared receivers corresponding to the transmitter are switched to the receiving gain gears corresponding to the transmitter, and the corresponding infrared receivers are grouped and gain adjusted. When the next infrared transmitter is turned on, the preset grouping gain adjustment of the infrared receivers corresponding to the infrared transmitter is re-determined.

[0041] In one embodiment, controlling the infrared transmitter to transmit the infrared signal at a rated transmission gain level and obtaining the reception signals of the at least two groups of infrared receivers includes:

[0042] The i-th infrared transmitter in the infrared touch frame is controlled to transmit an infrared signal at a rated transmission gain level, and the at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame are controlled to receive the infrared signal transmitted by the i-th infrared transmitter; wherein the at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame are different from the at least two groups of infrared receivers corresponding to the j-th infrared transmitter in the infrared touch frame.

[0043] Each infrared transmitter, and its corresponding at least two groups of infrared receivers, and the gain values ​​corresponding to the at least two groups of infrared receivers are in a one-to-one correspondence; different infrared transmitters correspond to different groups of infrared receivers, and different groups of infrared receivers correspond to different gain values, and each group of infrared receivers corresponds to a different receiving gain gear.

[0044] In one embodiment, controlling the i-th infrared transmitter in the infrared touch frame to transmit an infrared signal at a rated transmission gain level, and controlling at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame to receive the infrared signal transmitted by the i-th infrared transmitter includes:

[0045] When the infrared touch frame is in a target working mode, the i-th infrared transmitter in the infrared touch frame is controlled to transmit an infrared signal at a rated transmission gain level, and at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame are controlled to receive the infrared signal transmitted by the i-th infrared transmitter; wherein, in the target working mode, multiple infrared receivers are simultaneously turned on to receive signals, and multiple infrared transmitters within the receiving angles of the multiple infrared receivers transmit infrared signals in a preset order.

[0046] Please refer to Figure 3, which is a schematic diagram of an application circuit in one embodiment of the present application. The application circuit includes an analog signal input terminal, MOS tubes QD1A, QD1B, QD2A, QD2B, QD3A, QD3B, resistors R1-R6, and an MCU controller. The analog signal input terminal has a total of six analog signal inputs, each of which represents an infrared signal received by an infrared receiver. In the scheme of Figure 3, the six analog signals are divided into two groups, and the gains of the two groups are independently adjusted through two control pins of the MCU controller. In an optional embodiment, the circuit is as follows:

[0047] The first end of the analog signal input end is connected to the first end of the resistor R1, the second end of the resistor R1 is respectively connected to the drain of the MOS transistor QD1A and the first sampling signal input end of the MCU controller, the gate of the MOS transistor QD1A is connected to the first receiving gain output end of the MCU controller, and the source of the MOS transistor QD1A is grounded; the second end of the analog signal input end is connected to the first end of the resistor R2 and the second sampling signal input end of the MCU controller, the second end of the resistor R2 is respectively connected to the drain of the MOS transistor QD1 B, the gate of the MOS transistor QD1 B is connected to the first receiving gain output end of the MCU controller, and the MOS transistor QD1 The source of B is grounded; the third end of the analog signal input end is connected to the first end of the resistor R3, the second end of the resistor R3 is connected to the drain of the MOS transistor QD2A and the third sampling signal input end of the MCU controller respectively, the gate of the MOS transistor QD2A is connected to the first receiving gain output end of the MCU controller, and the source of the MOS transistor QD2A is grounded; the fourth end of the analog signal input end is connected to the first end of the resistor R4, the second end of the resistor R4 is connected to the drain of the MOS transistor QD2B and the fourth sampling signal input end of the MCU controller respectively, the gate of the MOS transistor QD2B is connected to the second receiving gain output end of the MCU controller, and the source of the MOS transistor QD2B is grounded. The fifth end of the analog signal input end is connected to the first end of the resistor R5, the second end of the resistor R5 is respectively connected to the drain of the MOS transistor QD3B and the fifth sampling signal input end of the MCU controller, the gate of the MOS transistor QD3B is connected to the second receiving gain output end of the MCU controller, and the source of the MOS transistor QD3B is grounded; the sixth end of the analog signal input end is connected to the first end of the resistor R6, the second end of the resistor R6 is respectively connected to the drain of the MOS transistor QD3A and the sixth sampling signal input end of the MCU controller, the gate of the MOS transistor QD3A is connected to the second receiving gain output end of the MCU controller, and the source of the MOS transistor QD3A is grounded.

[0048] The analog signal input end is used to output the receiving signals AD1-AD6 corresponding to the six infrared receivers. The receiving signals AD1-AD6 are respectively output to the MCU controller after receiving gain adjustment through the corresponding MOS tubes (QD1A, QD1B, QD2A, QD2B, QD3A, QD3B). In this application, the receiving signals AD1-AD6 are divided into two groups of receiving signals, where AD1-AD3 is one group of receiving signals and AD4-AD6 is another group of receiving signals. The MCU controller outputs a first gain adjustment signal RAGC1 to the MOS tubes QD1A, QD1B, QD2A, thereby performing receiving gain adjustment on the group of receiving signals AD1-AD3, and the MCU controller receives the sampled signals ADC1-ADC3 obtained after adjustment; the MCU controller outputs a second gain adjustment signal RAGC2 to the MOS tubes QD2B, QD3A, QD3B, thereby performing receiving gain adjustment on the group of receiving signals AD4-AD6, and receiving the sampled signals ADC4-ADC6 obtained after adjustment. It should be noted that when the analog signal input end switches from the first group of 6 infrared receivers to the second group of 6 infrared receivers, the MCU controller outputs the third gain adjustment signal and the fourth gain adjustment signal for adjustment.

[0049] In various implementations, infrared receivers can be grouped based on the number, location distribution, or signal strength of the receivers. For example, 100 infrared receivers can be grouped into 10 groups of 10, with gain adjustment then performed on the received signal of each group to improve gain adjustment efficiency. Alternatively, X adjacent infrared receivers can be selected from the infrared receivers corresponding to the infrared transmitters that are currently active to form a group. When the number of remaining infrared receivers is less than X, the remaining infrared receivers can be grouped together. In one embodiment, referring to FIG. 4 , a grouping method for infrared receivers according to an embodiment of the present application is shown. For example, if the preset number of grouped infrared receivers, X, is 3, the number of active infrared transmitters is 1, and the corresponding number of active infrared receivers is 7, then, from the seven active infrared receivers, three adjacent infrared receivers can be selected to form a group, and the remaining infrared receiver can be grouped together, for a total of three groups. Note that the grouping process is factory-set or determined during a pre-scan process; this is merely an example of a possible grouping method.

[0050] Please refer to FIG. 5 , which is a schematic diagram of another infrared receiver grouping method according to an embodiment of the present application. The number of infrared transmitters currently enabled is 1, corresponding to the number of infrared receivers enabled is 7. The infrared receivers are tube a, tube b, tube c, tube d, tube e, tube f, and tube g, with corresponding output signal intensities of 25, 60, 95, 100, 94, 57, and 23. The preset floating percentage Y is 10%. The energy intensity of the output signal of tube a, 25, is selected in sequence as the reference value A. It is determined whether the energy intensities of the output signals of the other ungrouped infrared receivers are within the range [A*(1-Y), A*(1+Y)], i.e., [25*0.9, 25*1.1]. It is determined that tube g, with an output signal energy intensity of 23, meets the condition. Therefore, tube a and tube g are grouped together. Then, the next ungrouped tube b is selected in sequence, and its output signal energy intensity of 60 is used as the reference value A. It is determined that tube f meets the condition. Therefore, tubes b and f are grouped together. Similarly, tubes c, d, and e are grouped together. Therefore, all the infrared transmitters currently enabled are divided into three groups. The first group: [a, g], the second group: [b, f], the third group: [c, d, e].

[0051] In step S101, the infrared transmitter has a plurality of preset transmission gain settings, each of which is used to amplify the energy of the infrared signal emitted by the infrared transmitter. A higher transmission gain setting increases the amplification factor for the infrared signal emitted by the infrared transmitter, while a lower transmission gain setting decreases the amplification factor for the infrared signal emitted by the infrared transmitter.

[0052] In this embodiment, when executing step S101, the maximum transmission gain gear is used as the rated transmission gain gear, and each infrared transmitter of the infrared touch frame is controlled to transmit infrared signals at the maximum transmission gain gear, that is, transmit at the maximum rated power.

[0053] During the scanning process, each infrared transmitter transmits an infrared signal at the maximum rated power, so that the energy intensity received by the infrared receivers corresponding to different infrared transmitters can be as consistent as possible. Therefore, it is only necessary to adjust the receiving gain gear to achieve a more uniform output signal of the infrared receiver. There is no need to repeatedly adjust the transmitting gain gear of the infrared transmitter and the receiving gain gear of the infrared receiver, which simplifies the adjustment process.

[0054] On the other hand, the greater the intensity of the infrared signal emitted by the infrared transmitter, the smaller the gain of the corresponding infrared receiver for the received signal can be, which is equivalent to improving the signal-to-noise ratio of the output signal and making the adjustment of the receiving gain gear more accurate.

[0055] In another embodiment, when executing step S101, the infrared emitters of the infrared touch frame are divided into several groups, and the infrared emitters in each group are controlled to emit infrared signals at the maximum emission gain level corresponding to the group.

[0056] The grouping method of the infrared emitters includes but is not limited to: grouping all infrared emitters located on the X axis into one group, and grouping all infrared emitters located on the Y axis into one group.

[0057] Since the emission directions of the infrared transmitters located on the X-axis and Y-axis are perpendicular to each other, their distances from the corresponding infrared receivers are also different. Therefore, in this embodiment, all the infrared transmitters located on the X-axis are divided into one group, and all the infrared transmitters located on the Y-axis are divided into another group. The two groups can set their own maximum emission gain gears respectively, which is more accurate.

[0058] The grouping method of the infrared emitters can be set according to actual needs and is not limited to the above method.

[0059] For step S101, when the infrared transmitter is turned on to send infrared signals, the corresponding infrared receiver is also turned on to receive infrared signals. As shown in Figure 3, when the infrared transmitter A is turned on to send infrared signals, the corresponding infrared receivers 1-6 are also turned on to receive infrared signals.

[0060] Regarding step S102, the preset transmission gain level of each infrared transmitter and the preset reception gain levels of the at least two groups of infrared receivers corresponding to the infrared transmitter can be determined during the factory self-test scanning process of the infrared touch frame or during the self-test during use. The step of determining the reception gain level includes:

[0061] For each group of received signals of the infrared receivers, at least two preset receiving gain gears are traversed according to a preset gear adjustment order, and the traversed receiving gain gear that meets the first condition is determined as the receiving gain gear corresponding to the group of infrared receivers; wherein, the first condition is that the signal strength value of the received signal of the infrared receiver is within the first preset range.

[0062] The self-test scan can be performed by the infrared touch frame in a specific application scenario that is not in normal use, such as the self-test process of the infrared touch frame before leaving the factory; it can also be performed by the infrared touch frame in a normal use scenario, such as the self-test scan calibration performed before power-on or during the initialization process during power-on, or the self-test scan calibration performed in the background during normal use when no touch object is retrieved, or the self-test scan calibration performed when a change in the external environment is detected.

[0063] The self-test scanning process generally includes several rounds of scanning. During each round of scanning, all infrared transmitters of the infrared touch frame are sequentially activated to emit infrared signals. Each time an infrared transmitter is activated, the corresponding infrared receiver is also activated to receive the infrared signals emitted by the infrared transmitter. After performing several rounds of scanning, the self-test scanning ends. During the self-test scanning process, the signal gain of the infrared transmitter and / or infrared receiver is adjusted to ensure the sensitivity of the infrared touch frame.

[0064] The infrared receiver has at least two receiving gain gears, and the number of receiving gain gears can be reasonably set according to the required adjustment accuracy. When higher adjustment accuracy is required, the receiving gain gears can be set to dozens, and each receiving gain gear corresponds to a receiving gain value.

[0065] The receive gain setting is used to adjust the infrared receiver's gain amplification of the energy of the received infrared signal. A higher receive gain setting increases the amplification factor of the infrared signal received by the infrared receiver, while a lower receive gain setting decreases the amplification factor of the infrared signal received by the infrared receiver. The received signal strength value obtained after adjustment can be the product of the received signal and the receive gain value.

[0066] For each group of received signals, a starting receiving gain gear of the group of received signals can be determined according to the maximum signal strength value, the minimum signal strength value, and the average strength value of the group of received signals, and the starting receiving gain gear is used as the preset receiving gain gear of the group. Then, the gain of the group of received signals is adjusted so that the signal strength value of the received signal is infinitely close to the first preset range, until the signal strength value of the group of received signals is finally within the first preset range;

[0067] Alternatively, when the infrared receiver is first turned on, the gain of the received signal is first adjusted according to the default receiving gain gear. The default receiving gain gear can be uniformly set to the lowest receiving gain gear. The default receiving gain gear of each group can be the same or different. In the embodiment of the present application, for ease of adjustment, the default receiving gain gear of all groups is uniformly set to the lowest receiving gain gear. In one embodiment, the default receiving gain gear can be the lowest receiving gain gear, and the gear adjustment order can be to increase the receiving gain gear in sequence. The steps of traversing at least two preset receiving gain gears according to the preset gear adjustment order include:

[0068] For each group of received signals of the infrared receiver, the receiving gain gear of the group of received signals is increased in sequence according to a preset gear adjustment sequence until the signal strength value of the group of received signals is within a first preset range;

[0069] By gradually adjusting each group of infrared receivers from the lowest receiving gain gear, the adjustment of the receiving gain gear can be made more accurate.

[0070] Alternatively, in another embodiment, the step of traversing at least two preset receiving gain gears according to a preset gear adjustment sequence for each group of received signals of the infrared receivers includes:

[0071] For each group of received signals of the infrared receiver, the receiving gain gear of the group of received signals is sequentially reduced according to a preset gear adjustment sequence until the signal strength value of the group of received signals is within a first preset range.

[0072] During each adjustment, the receiving gain level of the group of received signals may be increased by one or N receiving gain levels or decreased by one or N receiving gain levels to gradually adjust the receiving gain of the group of received signals until the signal strength values ​​of all received signals in the group are within the first preset range. At this point, the receiving gain value corresponding to the current receiving gain level is recorded and used as the receiving gain value of the group. The next time the device is turned on, the receiving gain value may be used to directly obtain a received signal with a new energy strength. Wherein, N is a natural number.

[0073] In one embodiment, the receiving gain levels corresponding to each group of infrared receivers are distributed according to the bisection principle. The bisection principle involves continuously dividing an interval into two equal parts, breaking down a complex problem into multiple sub-problems, and then solving the sub-problems to obtain the answer to the original problem. In this embodiment of the present application, the receiving gain levels of the infrared receivers are distributed according to the bisection principle, using the bisection method to divide the receiving gain levels into two equal parts until the most suitable receiving gain level is found.

[0074] In one embodiment, the step of adjusting the gain of the received signals of each group of infrared receivers according to the receiving gain level corresponding to the group of infrared receivers by the controller includes:

[0075] The controller determines the receiving gain level of each group of received signals based on a dichotomy method and performs gain adjustment according to the signal strength value of the group of received signals, so that the signal strength value of the received signal of the infrared receiver after adjustment is within a first preset range.

[0076] In one embodiment, if the receiving gain gear includes 7 receiving gain gears [1, 7], the receiving gain gear 4 located in the middle position can be determined according to the size order of the receiving gain gears, and the gain of the infrared receiver can be adjusted based on the receiving gain gear 4 in the middle position. Then, the re-adjusted receiving gain gear [1, 3] or [5, 7] is determined based on the difference between the signal strength of the group of received signals and the first preset range, and then the receiving gain gear 2 or 6 in the middle position is re-obtained to adjust the gain of the infrared receiver, so as to determine the final receiving gain gear.

[0077] Compared with the traditional gain adjustment method, the present application uses the dichotomy method to determine the receiving gain level of each group of received signals, which is faster and can effectively improve the gain adjustment efficiency.

[0078] The step of performing gain adjustment on the received signals of each group of infrared receivers according to the receiving gain level corresponding to the group of infrared receivers includes:

[0079] Gain adjustment is performed according to the receiving gain gear corresponding to the group of infrared receivers, so that the minimum signal strength value and / or the maximum signal strength value of the group of received signals after adjustment meet the second condition.

[0080] The second condition includes: the minimum signal strength value is greater than the lower limit of the first preset range and / or the maximum signal strength value is less than the upper limit of the first preset range.

[0081] In one embodiment, the step of performing gain adjustment for each group of received signals according to a preset receiving gain level may include:

[0082] Obtain the minimum signal strength value and the maximum signal strength value in each group of received signals;

[0083] The gain is adjusted according to the preset receiving gain gear so that the minimum signal strength value of the group of received signals after adjustment is greater than the lower limit value of the first preset range, and / or the maximum signal strength value of the group of received signals after adjustment is less than the upper limit value of the first preset range.

[0084] The purpose of adjusting the receiving gain gears of the infrared receivers of different groups separately is to reduce the difference in the intensity of the output signals between the groups, so that the energy intensity of the output signals after gain of the infrared receivers of different groups is closer, which is convenient for back-end processing.

[0085] When the signal strengths of received signals in the same group differ greatly, it may be impossible to simultaneously satisfy the requirements that the minimum signal strength value is greater than the lower limit of the first preset range and the maximum signal strength value is less than the upper limit of the first preset range. In this case, it is preferred to prioritize the requirement that the minimum signal strength value is greater than the lower limit of the first preset range.

[0086] In one embodiment, the step of performing gain adjustment on each group of received signals according to a preset receiving gain level includes:

[0087] Obtain the minimum signal strength value and the maximum signal strength value in each group of received signals;

[0088] The gain is adjusted according to the preset receiving gain level so that the minimum signal strength value of the group of received signals after adjustment is greater than the lower limit value of the first preset range.

[0089] When actually implementing the signal gain adjustment method of the infrared touch frame of the present application, in each round of self-test scanning, several groups of infrared transmitters of the infrared touch frame can be turned on in sequence to emit infrared signals. Each time the infrared transmitter is turned on, the corresponding infrared receiver is turned on at the same time. When turned on for the first time, each infrared receiver can be set to the same default receiving gain gear, and gain amplification processing can be performed on several groups of received signals at the default receiving gain gear. The receiving gain gear of several groups of received signals can be adjusted according to the signal gain adjustment method of the infrared touch frame of the present application until the signal strength values ​​of the received signals of all groups are within the first preset range. In the next round of self-test scanning, several groups of infrared transmitters of the infrared touch frame are turned on in sequence again to emit infrared signals. Each time the infrared transmitter is turned on, the corresponding infrared receiver is turned on at the same time, and the receiving signals of each group are gain amplified using the new receiving gain gear adjusted in the previous round of scanning. Then, according to the output signal strength, the receiving gain gear of each group is adjusted again using the signal gain adjustment method of the infrared touch frame of the present application. If the adjustment meets the end condition, such as the number of times the receiving gain gear is adjusted reaches the maximum value, the process ends.

[0090] In one embodiment, the signal gain adjustment method of the infrared touch frame may further include the following steps:

[0091] According to the preset transmission gain gear sequence, the transmission gain gear of the infrared transmitter of each group is adjusted so that the signal strength values ​​of the adjusted groups of received signals are within the first preset range.

[0092] Adjusting the transmission gain level of the infrared transmitter of each group may be performed by lowering the transmission gain level of the infrared transmitter of each group in turn, or the transmission gain level of each group signal may be determined based on a binary method, thereby performing gain adjustment on the infrared transmitter and improving the gain adjustment efficiency of the infrared transmitter.

[0093] In the present application, the infrared transmitter is first controlled to transmit infrared signals at the maximum transmission gain gear, and the gain of each group of received signals is adjusted according to the preset reception gain gear, so that the signal strength values ​​of the adjusted groups of received signals are within the first preset range. After completing the gain adjustment of the infrared receiver, the transmission gain gear of the infrared transmitter is adjusted again, so that while ensuring that the signal strength values ​​of the adjusted groups of received signals are within the first preset range, the energy loss of the infrared transmitter can be reduced, energy loss can be saved, and energy utilization efficiency can be improved.

[0094] After the signal gain adjustment method of the infrared touch frame of the present application is completed, the grouping method of each infrared receiver and the adjusted receiving gain gear can be retained, so there is no need to repeatedly adjust each time the device is turned on, which is very convenient.

[0095] Please refer to FIG6 , which shows a signal gain adjustment device 70 for an infrared touch frame provided in an embodiment of the present application, including:

[0096] The received signal acquisition module 701 is used to control the infrared transmitter to transmit infrared signals at a rated transmission gain level to obtain reception signals from at least two groups of infrared receivers. The infrared receivers within the transmission angle of the infrared transmitter are divided into at least two groups, and the output end of each group of infrared receivers is connected to a gain control pin of the controller.

[0097] The gain adjustment module 702 is used to adjust the gain of the received signal of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers through the controller, so that the signal strength value of the received signal of the adjusted infrared receiver is within a first preset range. It should be noted that when the signal gain adjustment device of an infrared touch frame provided in the above embodiment performs a signal gain adjustment method of an infrared touch frame, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the signal gain adjustment device of an infrared touch frame provided in the above embodiment and the signal gain adjustment method of an infrared touch frame belong to the same concept. The implementation process thereof is detailed in the method embodiment and will not be repeated here.

[0098] Please refer to Figure 7, which is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. As shown in Figure 7, the computer device 80 may include: a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and capable of running on the processor 801; when the processor 801 executes the computer program 803, the steps in the first embodiment or the second embodiment described above are implemented. Among them, the processor 801 may include one or more processing cores. The processor 801 uses various interfaces and lines to connect the various parts within the computer device 80, and executes various functions and processes data of the computer device 80 by running or executing instructions, programs, code sets or instruction sets stored in the memory 802, and calling data in the memory 802. Optionally, the processor 801 can be implemented in the form of at least one hardware of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 801 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content required to be displayed on the display screen; and the modem is responsible for handling wireless communications. It is understood that the modem may not be integrated into the processor 801 and may be implemented separately via a separate chip. The storage 802 may include random access memory (RAM) or read-only memory (ROM). Optionally, the storage 802 includes a non-transitory computer-readable storage medium. The storage 802 may be used to store instructions, programs, codes, code sets, or instruction sets. The storage 802 may include a program storage area and a data storage area. The program storage area may store instructions for implementing the operating system, instructions for at least one function (such as touch control instructions), and instructions for implementing the above-mentioned method embodiments; the data storage area may store data involved in the above-mentioned method embodiments. The storage 802 may optionally be at least one storage device located away from the aforementioned processor 801.

[0099] An embodiment of the present application also provides a computer storage medium that can store multiple instructions. The instructions are suitable for a processor to load and execute the method steps of the above embodiment. The execution process can be found in the description of the above embodiment and will not be repeated here.

[0100] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0102] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the scope of the present application, and all such modifications and improvements fall within the scope of protection of the present application.

Claims

1. A signal gain adjustment method for an infrared touch frame, wherein: The following steps are involved: Controlling the infrared transmitter of the infrared touch frame to transmit infrared signals at a rated transmission gain level to obtain reception signals from at least two groups of infrared receivers; wherein the infrared receivers within the transmission angle of the infrared transmitter are divided into at least two groups, and the output end of each group of infrared receivers is connected to a gain control pin of the controller; The controller performs gain adjustment on the received signals of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers, so that the signal strength values ​​of the received signals of at least two groups of infrared receivers after adjustment are within a first preset range.

2. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The receiving gain gear is determined by self-checking and scanning the infrared touch frame, and the steps of determining the receiving gain gear include: For each group of received signals of the infrared receivers, at least two preset receiving gain gears are traversed according to a preset gear adjustment order, and the traversed receiving gain gear that meets the first condition is determined as the receiving gain gear corresponding to the group of infrared receivers; wherein the first condition is that the signal strength value of the received signal of the infrared receiver is within the first preset range.

3. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The receiving gain gears corresponding to each group of infrared receivers are distributed in accordance with the dichotomy principle.

4. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The step of performing gain adjustment on the received signals of each group of infrared receivers according to the receiving gain level corresponding to the group of infrared receivers comprises: Gain adjustment is performed according to the receiving gain gear corresponding to the group of infrared receivers, so that the minimum signal strength value and / or the maximum signal strength value of the group of received signals after adjustment meet the second condition.

5. The signal gain adjustment method of the infrared touch frame according to claim 4, wherein: The second condition includes: the minimum signal strength value is greater than a lower limit value of the first preset range and / or the maximum signal strength value is less than an upper limit value of the first preset range.

6. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The rated transmission gain level includes a rated maximum transmission power.

7. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The step of acquiring reception signals of the at least two groups of infrared receivers comprises: When the infrared touch frame is in the target working mode and switches from the first infrared transmitter to the second infrared transmitter for transmission, the gain gears of at least two groups of the infrared receivers corresponding to the second infrared transmitter are switched to the same gain gears as the first infrared transmitter. The receiving gain gears corresponding to the two infrared transmitters are used to obtain the receiving signals of the at least two groups of infrared receivers; wherein, in the target working mode, the multiple infrared receivers are simultaneously turned on to receive signals, and the multiple infrared transmitters within the receiving angles of the multiple infrared receivers transmit infrared signals in a preset order.

8. The signal gain adjustment method of the infrared touch frame according to claim 1, wherein: The step of controlling the infrared transmitter to transmit the infrared signal at a rated transmission gain level and obtaining the reception signals of the at least two groups of infrared receivers comprises: Control the i-th infrared transmitter in the infrared touch frame to transmit an infrared signal at a rated transmission gain level, and control at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame to receive the infrared signal transmitted by the i-th infrared transmitter; wherein the at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame are different from the at least two groups of infrared receivers corresponding to the j-th infrared transmitter in the infrared touch frame.

9. The signal gain adjustment method of the infrared touch frame according to claim 8, wherein: The controlling the ith infrared transmitter in the infrared touch frame to transmit an infrared signal at a rated transmission gain level, and controlling at least two groups of infrared receivers in the infrared touch frame corresponding to the ith infrared transmitter to receive the infrared signal transmitted by the ith infrared transmitter, comprises: When the infrared touch frame is in the target working mode, the i-th infrared transmitter in the infrared touch frame is controlled to transmit an infrared signal at a rated transmission gain level, and at least two groups of infrared receivers corresponding to the i-th infrared transmitter in the infrared touch frame are controlled to receive the infrared signal transmitted by the i-th infrared transmitter; wherein, in the target working mode, a plurality of the infrared receivers are simultaneously turned on to receive signals, and a plurality of the infrared transmitters within the receiving angles of the plurality of the infrared receivers transmit infrared signals in a preset order.

10. A signal gain adjustment device for an infrared touch frame, wherein: include: A receiving signal acquisition module, used to control the infrared transmitter to transmit infrared signals at a rated transmission gain level, divide the infrared receivers within the transmission angle of the infrared transmitter into at least two groups, and obtain receiving signals of the at least two groups of infrared receivers; wherein the output end of each group of infrared receivers is connected to a gain control pin of the controller; The gain adjustment module is used to adjust the gain of the received signal of each group of infrared receivers according to the receiving gain gear corresponding to the group of infrared receivers through the controller, so that the signal strength value of the received signal of the adjusted infrared receiver is within the first preset range.

11. A computer device comprising: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 9 when executing the computer program.

12. A computer-readable storage medium storing a computer program, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Self-adaptive ultrared touching device

    CN101630212A

  • Gain adjustment method and device for infrared touch screen, equipment and storage medium

    CN112083833A

  • Automatic gain level selection method and device, computer equipment and storage medium

    CN112233410A

  • Signal gain adjusting method and device of infrared touch frame and computer equipment

    CN116665428A

  • Infrared protective net detection alarm device

    CN211180981U