Methods, apparatus, devices, and media for generating multiplexed receive lamp gain adjustment voltages

By determining the on/off cycle of the transmitting lamp and the hold time of the gain adjustment voltage of the receiving lamp in the touch frame, and using the signal hold circuit to output the appropriate gain adjustment voltage, the problem of uneven signal strength of multiple receiving lamps is solved, thus improving the writing experience of the touch frame.

CN117015108BActive Publication Date: 2026-07-10GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
Filing Date
2023-06-29
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing technology cannot provide each of the multiple receiving lamps with its own applicable gain adjustment voltage, resulting in uneven received signal strength and failing to reach the ideal range.

Method used

By determining the switching cycle of the transmitting lamp and the gain adjustment voltage hold time of the receiving lamp, the signal hold circuit outputs a corresponding gain adjustment voltage on the output channel to ensure that the received signal strength is within the preset range.

Benefits of technology

Each receiver LED has its own independently applicable gain adjustment voltage, which solves the problem of uneven received signal strength and improves the writing experience of the touch frame.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117015108B_ABST
    Figure CN117015108B_ABST
Patent Text Reader

Abstract

The application relates to a method, device, controller, control equipment and medium for generating multiple receiving lamp gain adjustment voltages. Each receiving lamp corresponding to a transmitting lamp is provided with an independent and individually applicable gain adjustment voltage for gain adjustment. The method comprises the following steps: determining a switching-on-off period of the transmitting lamp, determining gain adjustment voltage maintaining moments of each receiving lamp corresponding to the transmitting lamp in an off period of the switching-on-off period, and triggering a signal maintaining circuit to maintain an output gain adjustment voltage with a corresponding voltage at a corresponding output channel based on the gain adjustment voltage maintaining moment of each receiving lamp, so as to perform gain adjustment on the corresponding receiving lamp in an on period of the switching-on-off period, and make the intensity value of the receiving signal of the adjusted receiving lamp in a first preset range. The period of an input signal corresponds to the off period of the transmitting lamp, and the voltage change of the input signal in the off period satisfies a preset voltage range condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of touch frame technology, and in particular to a method, apparatus, controller, control device, and computer-readable storage medium for generating gain adjustment voltage for multiple receiver lamps. Background Technology

[0002] With the development of touch frame technology, touch frames can be used to respond to user touch operations and are widely used in scenarios involving human-computer interaction.

[0003] Within the touchscreen, the controller turns the transmitter light on and off, and during the transmitter light's on / off cycle, it controls the receiver light to receive signals. Specifically, by sequentially polling and scanning to illuminate the transmitter lights, multiple receiver lights within the corresponding range can receive signals and generate received signals. The DAC module can output a gain adjustment voltage to regulate the transmitter light's transmission power and the receiver light's signal gain.

[0004] However, in the one-to-many receive mode of the touch frame, the current solution cannot generate appropriate gain adjustment voltages for each of the multiple receiving LEDs due to the limited number of available DAC modules. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, controller, control device, and computer-readable storage medium for generating gain adjustment voltages for multiple receiving lamps, addressing the aforementioned technical problems.

[0006] In a first aspect, this application provides a method for generating a gain-adjustable voltage for multiple receiver lamps. The method includes:

[0007] Determine the switching cycle of the transmitter light;

[0008] Determine the gain adjustment voltage hold time for each of the multiple receiving lamps corresponding to the transmitting lamp during the lamp-off cycle in the lamp-on / off cycle;

[0009] According to the gain adjustment voltage holding time corresponding to each receiving lamp, the signal holding circuit is triggered to hold the output gain adjustment voltage with corresponding voltage in the corresponding output channel based on the input signal. This voltage is used to adjust the gain of the corresponding receiving lamp during the lamp switching cycle, so that the intensity value of the received signal of the adjusted receiving lamp is within the first preset range.

[0010] The period of the input signal corresponds to the off-light period of the transmitting lamp, and the voltage change of the input signal during the off-light period satisfies a preset voltage range condition.

[0011] Secondly, this application also provides an apparatus for generating a gain-adjusting voltage for multiple receiver lamps. The apparatus includes:

[0012] The cycle determination module is used to determine the switching cycle of the transmitting lamp;

[0013] The timing determination module is used to determine the gain adjustment voltage holding time of each of the multiple receiving lamps corresponding to the transmitting lamp in the lamp switching cycle during the lamp off cycle;

[0014] The signal triggering module is used to trigger the signal holding circuit to maintain the output gain adjustment voltage with a corresponding voltage on the corresponding output channel based on the gain adjustment voltage holding time corresponding to each receiving lamp, according to the gain adjustment voltage holding time corresponding to each receiving lamp. This is used to adjust the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-off cycle, so that the intensity value of the received signal of the adjusted receiving lamp is within a first preset range. The period of the input signal corresponds to the lamp-off cycle of the transmitting lamp, and the voltage change of the input signal during the lamp-off cycle satisfies the preset voltage range condition.

[0015] Thirdly, this application also provides a controller. The controller includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0016] The switching cycle of the transmitting lamp is determined; the gain adjustment voltage holding time corresponding to the off cycle of each of the multiple receiving lamps corresponding to the transmitting lamp is determined; according to the gain adjustment voltage holding time corresponding to each receiving lamp, a signal holding circuit is triggered to maintain the output of a gain adjustment voltage with a corresponding voltage on the corresponding output channel based on the input signal, which is used to adjust the gain of the corresponding receiving lamp during the on cycle of the switching cycle; wherein, the period of the input signal corresponds to the off cycle of the transmitting lamp, and the voltage change of the input signal during the off cycle meets the preset voltage range condition.

[0017] Fourthly, this application also provides a control device for an infrared touch frame, including a signal holding circuit and a controller as described above.

[0018] Fifthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0019] The switching cycle of the transmitting lamp is determined; the gain adjustment voltage holding time corresponding to the off cycle of each of the multiple receiving lamps corresponding to the transmitting lamp is determined; according to the gain adjustment voltage holding time corresponding to each receiving lamp, a signal holding circuit is triggered to maintain the output of a gain adjustment voltage with a corresponding voltage on the corresponding output channel based on the input signal, which is used to adjust the gain of the corresponding receiving lamp during the on cycle of the switching cycle; wherein, the period of the input signal corresponds to the off cycle of the transmitting lamp, and the voltage change of the input signal during the off cycle meets the preset voltage range condition.

[0020] The aforementioned method, apparatus, controller, control device, and medium for generating gain adjustment voltages for multiple receiving lamps determine the switching cycle of the transmitting lamp, determine the gain adjustment voltage holding time corresponding to the off-cycle of each of the multiple receiving lamps in the switching cycle, and then, based on the gain adjustment voltage holding time corresponding to each receiving lamp, trigger a signal holding circuit to maintain the output gain adjustment voltage with a corresponding voltage in the corresponding output channel based on the input signal. This voltage is used to adjust the gain of the corresponding receiving lamp during the on-cycle of the switching cycle. The period of the input signal corresponds to the off-cycle of the transmitting lamp, and the voltage change of the input signal during the off-cycle satisfies a preset voltage range condition. This scheme inputs a signal to the signal holding circuit, where the voltage change during the off-cycle of the transmitting lamp meets a preset voltage range and the period corresponds to the off-cycle of the transmitting lamp. Based on the gain adjustment voltage holding time corresponding to each receiving lamp during the off-cycle of the transmitting lamp, the signal holding circuit is triggered to maintain the corresponding output gain adjustment voltage on the corresponding output channel for gain adjustment during the on-cycle. This ensures that each receiving lamp corresponding to the transmitting lamp has an independent and suitable gain adjustment voltage for gain adjustment, unaffected by other channels. Therefore, even with limitations in the DAC module, it can still generate suitable gain adjustment voltages for multiple receiving lamps for gain adjustment. Attached Figure Description

[0021] Figure 1 This is a block diagram illustrating the signal principle of an infrared touch frame.

[0022] Figure 2 This is a schematic diagram of an infrared touch frame;

[0023] Figure 3 This is a schematic diagram showing the relationship between the strength of the received signal and the gain adjustment voltage.

[0024] Figure 4 This is a flowchart illustrating the method for generating gain adjustment voltage for multiple receiver lamps in an embodiment of this application.

[0025] Figure 5This is a schematic diagram of the signal holding circuit in an embodiment of this application;

[0026] Figure 6 This is a schematic diagram of the light switch control signal and input signal in a specific example of this application;

[0027] Figure 7 The following is a timing diagram of each signal in a specific example of this application;

[0028] Figure 8 This is a flowchart illustrating the steps for determining the gain adjustment voltage holding time in an embodiment of this application;

[0029] Figure 9 This is a structural block diagram of a device for generating gain adjustment voltage for multiple receiver lamps in one embodiment;

[0030] Figure 10 This is an internal structural diagram of the control device in one embodiment. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0032] For the application scenario of the method for generating gain adjustment voltage for multiple receiving lamps in this application, taking an infrared touch frame as an example, such as... Figure 1 As shown, within the infrared touch frame, the controller can control the transmitting light to turn on and off. During the transmitting light's on-time cycle, the controller controls the receiving light to receive signals. During this process, the operating power of the transmitting and receiving lights is adjustable and can be controlled by the signal conditioning circuit to ensure that the acquired signals reach the target value. Finally, the controller can sample and process the signals via A / D conversion.

[0033] Specifically, in the infrared touch frame scanning scheme, the transmitting lights are illuminated by scanning in a preset sequence, allowing multiple receiving lights within the corresponding range to receive signals sequentially. When one transmitting light is transmitting, multiple receiving lights can receive signals simultaneously, such as... Figure 2 As shown in the example of a one-transmitter-three-receiver system, when the transmitter lamp T6 is turned on, the three receiver lamps (R5, R6, and R7) simultaneously receive the signal transmitted by the transmitter lamp T6, generating received signals X1, X2, and X3 respectively. The signal conditioning circuit utilizes a DAC for voltage-controlled regulation. The gain adjustment voltage T_DAC provided to the transmitter lamp controls its transmission power, and the gain adjustment voltage R_DAC provided to the receiver lamps adjusts their signal gain, thereby achieving signal strength adjustment.

[0034] In response to this, in the one-to-many mode of the touch frame scanning solution, one transmitting light corresponds to multiple receiving lights. When one transmitting light is turned on, not only must a gain adjustment voltage T_DAC be provided to the transmitting light, but also a gain adjustment voltage R_DAC must be provided to the multiple receiving lights. However, in the current technology, due to the limited number of available DAC modules, it is not possible to generate separate applicable gain adjustment voltages R_DAC for each of the multiple receiving lights. Instead, at most, the same gain adjustment voltage R_DAC can be used for gain adjustment in the multiple receiving lights.

[0035] Combination Figure 2 In this situation, when the transmitting lamp T6 is turned on, the gain adjustment voltage T_DAC is used for control. The three receiving lamps (R5, R6, and R7) use the same gain adjustment voltage R_DAC for gain adjustment. However, because the distance and environmental factors (such as glass flatness) along the path of the signal transmitted from the transmitting lamp T6 to the three receiving lamps (R5, R6, and R7) are different, and the received signals X1, X2, and X3 of the three receiving lamps (R5, R6, and R7) are all generated by the same gain adjustment voltage R_DAC, there will inevitably be some differences between the received signals X1, X2, and X3, causing the intensity value to fall short of the ideal first preset range. Therefore, as follows... Figure 3 As shown, R_DAC1, R_DAC2 and R_DAC3 represent different gain adjustment voltages, and the vertical axis represents the intensity value of the received signal. Assuming the first preset range is 100, it can be seen that under the same gain adjustment voltage R_DAC, the intensity values ​​of the received signals X1, X2 and X3 cannot all reach the vicinity of the first preset range, and there is a large deviation.

[0036] To address this, this application provides a method for generating gain adjustment voltages for multiple receiving lamps, enabling each receiving lamp corresponding to the transmitting lamp to have an independent and applicable gain adjustment voltage for gain adjustment, unaffected by other channels. Even when the DAC module is limited, it can still generate appropriate gain adjustment voltages for each of the multiple receiving lamps for gain adjustment. This can greatly solve the differences between different channels due to factors such as distance / environment, so that the final output received signal reaches the first preset range as much as possible, ensuring signal strength, and thus improving the writing experience.

[0037] In one embodiment, this application provides a method for generating a gain-adjustable voltage for multiple receiver lamps, the method being as follows: Figure 1 The controller shown executes, as Figure 4 As shown, the method may include the following steps:

[0038] Step S401: Determine the switching cycle of the transmitting lamp.

[0039] Step S402: Determine the gain adjustment voltage holding time corresponding to the off cycle of each of the multiple receiving lamps corresponding to the transmitting lamp during the lamp's switching cycle.

[0040] Step S403: According to the gain adjustment voltage holding time corresponding to each receiving lamp, the signal holding circuit is triggered to maintain the output of the corresponding gain adjustment voltage in the corresponding output channel based on the input signal. This voltage is used to adjust the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-off cycle of the transmitting lamp, so that the intensity value of the received signal of the adjusted receiving lamp is within the first preset range.

[0041] In this embodiment, the controller can execute the method of generating the gain adjustment voltage of the multiple receiver lamp for any of the multiple receiver lamps that need to work.

[0042] Specifically, the switching cycle of the transmitter lamp in step S401 refers to the cycle in which the transmitter lamp is turned on and off, including the off cycle and the on cycle. The controller can obtain the switching cycle based on the cycle of the transmitter lamp's switching control signal.

[0043] In step S402, the receiving lamps corresponding to the transmitting lamps include multiple channels. It is necessary to determine the gain adjustment voltage holding time corresponding to the lamp-off cycle of the transmitting lamp for each receiving lamp. The gain adjustment voltage holding time refers to the time when the trigger signal holding circuit holds the voltage.

[0044] In step S403, the controller controls the signal holding circuit, which is triggered to hold the corresponding gain adjustment voltage in the corresponding output channel based on the input signal. The gain adjustment voltage can be adjusted by the signal conditioning circuit during the lighting cycle of the transmitting lamp, so that the strength value of the received signal output by the receiving lamp to the controller is within the first preset range, thereby realizing the gain adjustment and conversion function of each receiving lamp.

[0045] Regarding the signal holding circuit and step S403, combined with Figure 5 and Figure 6 Please provide an explanation, such as Figure 5 The diagram shows a signal holding circuit, which can be set up as follows: Figure 1Specifically, the signal holding circuit shown in the diagram includes an input signal terminal, a control signal terminal, and output channels connected to the multiple receiving lamps corresponding to the transmitting lamp. Each output channel is connected to the multiple receiving lamps corresponding to the transmitting lamp. The input signal terminal receives an input signal whose period corresponds to the lamp's off-light cycle. The control signal terminal is connected to a controller and receives a control signal output by the controller. This control signal can be used to control the signal holding time of each output channel. The voltage change of the input signal during the lamp's off-light cycle needs to meet a preset voltage range condition. That is, the input signal needs to exhibit a certain voltage change during the lamp's off-light cycle. For example, the voltage of the input signal during the off-light cycle can increase or decrease, but this voltage change must meet a preset voltage range condition. For example, the preset voltage range condition can be 0 to 3.3V, 0 to 5V, 1.2 to 3.3V, etc., meaning that the voltage change of the input signal during the off-light cycle needs to fall within the preset voltage range condition.

[0046] The input signal can be implemented using a triangular wave signal. The period of the triangular wave signal needs to correspond to the turning-off period of the transmitting lamp. Therefore, the period of the triangular wave signal can be determined based on the period of the switching-on control signal of the transmitting lamp.

[0047] As a specific example, such as Figure 6 The diagram illustrates the switching control signal and input signal for the light. Specifically, a triangular wave signal with the same period as the switching control signal of the transmitting lamp can be used as the input signal. The diagram shows how this switching control signal can generate signals such as... Figure 6 The triangular wave signal shown is used as the input signal to simulate the effect of a DAC. Only a switch control signal needs to be provided to each output channel. t1 to t3 represents one cycle of the triangular wave signal. Assuming the switch control signal is high, the transmitting lamp is in the off cycle. At this time, the triangular wave signal can be either rising or falling (e.g., ...). Figure 6 (Only the rising case is shown in the diagram). At time t1, the voltage of the triangular wave signal is at its minimum, and at time t2, the voltage of the triangular wave signal is at its maximum. When the light switch control signal is at a low level, the transmitting lamp is in the light-on cycle, and the triangular wave signal is either falling or rising. Its voltage is at its maximum at time t2 and at its minimum at time t3. Based on this, the voltage range of the triangular wave signal can be adjusted to meet the aforementioned preset voltage range conditions (such as 0 to 3.3V).

[0048] Therefore, by using a signal holding circuit, the voltage changes of the triangular wave signal during the light-off cycle can be used to simulate the total voltage required for gain adjustment of each receiving lamp. Specifically, such as... Figure 5As shown, the signal holding circuit receives the input signal (DAC signal). This signal holding circuit also has multiple output channels, such as output channel 1 (DAC1), output channel 2 (DAC2), and output channel 3 (DAC3). Each output channel can be connected to different receiving lamps. In this way, each receiving lamp corresponding to the transmitting lamp has a corresponding output channel in the signal holding circuit. Each output channel can be controlled by a GPIO to control its signal holding time. Specifically, the signal holding time of each output channel is controlled by the control signal of the controller.

[0049] Based on this, after the input signal is connected to the signal holding circuit, the signal holding circuit can perform multiple outputs. The input signal exhibits a voltage change that meets the preset voltage range conditions during the light-off cycle. Each output channel of the signal holding circuit can be controlled by the controller. In this way, the controller can trigger the output channel of the signal holding circuit to maintain the output of a signal with the corresponding voltage (i.e., the gain adjustment voltage with the corresponding voltage) at a specific gain adjustment voltage holding time during the voltage change of the input signal, and send it to the receiving lamp corresponding to the output channel for gain adjustment of the receiving lamp during the light-on cycle.

[0050] Based on this principle, in step S401, the controller determines the switching cycle of the transmitting lamp. Then, in step S402, it determines the gain adjustment voltage holding time for each of the multiple receiving lamps corresponding to the transmitting lamp during the lamp's off cycle. Next, in step S403, the controller triggers the signal holding circuit to maintain the corresponding gain adjustment voltage in the corresponding output channel based on the input signal, according to the gain adjustment voltage holding time for each receiving lamp. This gain adjustment voltage is then transmitted to the receiving lamp corresponding to the output channel for gain adjustment during the transmitting lamp's on cycle. In other words, the signal holding circuit can be triggered to maintain the corresponding gain adjustment voltage in the corresponding output channel to the corresponding receiving lamp from the gain adjustment voltage holding time until the transmitting lamp's on cycle ends, thus enabling effective gain adjustment for the receiving lamp.

[0051] As a specific example, taking the triangular wave signal output by the integrator circuit as the input signal of the signal holding circuit, and the output channels of the signal holding circuit including output channel 1, output channel 2, and output channel 3 as an example, Figure 7 The timing diagram of each signal is shown. These signals include a light-on / off control signal and control signals provided by the controller for output channels 1, 2, and 3. The controller can trigger a signal holding circuit at a specific signal holding time to hold the output of a gain-adjusted voltage with a corresponding voltage on a specific output channel based on the input triangular wave signal. In other words, the voltage corresponding to the triangular wave signal at that signal holding time is the corresponding voltage. Figure 7 As shown, the controller triggers the signal holding circuit to output the gain adjustment voltage corresponding to point a in output channel 1, the gain adjustment voltage corresponding to point b in output channel 2, and the gain adjustment voltage corresponding to point c in output channel 3, thereby allowing each output channel's corresponding receiving lamp to have an independent and applicable gain adjustment voltage for gain adjustment.

[0052] The method for generating gain adjustment voltage for multiple receiving lamps in this embodiment determines the switching cycle of the transmitting lamp, determines the gain adjustment voltage holding time corresponding to the off cycle of each of the multiple receiving lamps corresponding to the transmitting lamp, and then, based on the gain adjustment voltage holding time corresponding to each receiving lamp, triggers a signal holding circuit to hold the output gain adjustment voltage with the corresponding voltage in the corresponding output channel based on the input signal. This voltage is used to adjust the gain of the corresponding receiving lamp during the on cycle of the switching cycle. The period of the input signal corresponds to the switching cycle of the transmitting lamp, specifically, it corresponds to the off cycle of the transmitting lamp. The voltage change of the input signal during the off cycle meets the preset voltage range condition.

[0053] This scheme inputs a signal to the signal holding circuit, where the voltage change during the off-cycle of the transmitting lamp meets a preset voltage range and the period corresponds to the off-cycle of the transmitting lamp. Based on the gain adjustment voltage holding time corresponding to each receiving lamp during the off-cycle of the transmitting lamp, the signal holding circuit is triggered to maintain the corresponding output gain adjustment voltage on the corresponding output channel for gain adjustment during the on-cycle. This ensures that each receiving lamp corresponding to the transmitting lamp has an independent and suitable gain adjustment voltage for gain adjustment, unaffected by other channels. Therefore, even with limitations in the DAC module, it can still generate suitable gain adjustment voltages for multiple receiving lamps for gain adjustment.

[0054] In one embodiment, such as Figure 5 As shown, the input signal to the signal holding circuit can include a triangular wave signal generated by an integrating circuit. This integrating circuit can generate a corresponding triangular wave signal based on the input switching control signal of the transmitting lamp. This integrating circuit can be configured as follows: Figure 1 In the conditioning circuit shown, the switching control signal of the transmitter lamp is connected to the integrating circuit so that the integrating circuit generates a triangular wave signal according to the switching control signal and inputs it to the signal holding circuit, thereby obtaining the required input signal based on a simple hardware configuration.

[0055] In one embodiment, the method for generating gain adjustment voltage for multiple receiving lamps according to this application may further include the following steps: acquiring the switching control signal of the transmitting lamp; integrating the switching control signal of the transmitting lamp to obtain a triangular wave signal; and obtaining the input signal of the signal holding circuit based on the triangular wave signal.

[0056] In this embodiment, the controller can acquire the switching control signal of the transmitting lamp, then perform integration processing on the switching control signal to obtain a triangular wave signal, and input the triangular wave signal as the input signal to the signal holding circuit. In this way, the signal holding circuit is provided with a compliant input signal through software algorithm, and the parameters of the triangular wave signal can be adjusted.

[0057] In one embodiment, such as Figure 8 As shown, the step S402, which involves determining the gain adjustment voltage holding time for each of the multiple receiving lamps corresponding to the transmitting lamp during the lamp-off cycle, may include:

[0058] Step S801: For the receiving lamps in the multi-channel receiving lamps, determine the initial gain adjustment voltage holding time corresponding to the lamp's off cycle.

[0059] Specifically, in step S801, for each receiving lamp of the multi-channel receiving lamp corresponding to the transmitting lamp, a gain adjustment voltage holding time corresponding to the lamp's lamp-off cycle is first determined as the initial gain adjustment voltage holding time. Then, the gain adjustment voltage is output by the trigger signal holding circuit based on the initial gain adjustment voltage holding time, so that the receiving lamp will generate a receiving signal under this gain adjustment voltage.

[0060] Step S802: Obtain the intensity value of the received signal generated by the receiving lamp under the gain adjustment voltage at the time when the initial gain adjustment voltage is held, and make the intensity value of the received signal of the adjusted receiving lamp within the first preset range.

[0061] Then, in step S802, the strength value of the received signal is obtained. The strength value of the received signal can be compared with a preset first preset range, such as 100, to determine whether the strength value is within the first preset range. In specific implementation, the absolute value of the difference between the strength value and the first preset range can be obtained, and it can be determined whether the absolute value is within the preset range. If it is, the strength value can be determined to be within the first preset range; otherwise, the strength value can be determined to be outside the first preset range.

[0062] Step S803: If the intensity value is within the first preset range, then the initial gain adjustment voltage holding time is taken as the gain adjustment voltage holding time of the receiving lamp during the lamp-off cycle.

[0063] Furthermore, in step S803, if the intensity value is within the first preset range, the controller can set the initial gain adjustment voltage holding time as the gain adjustment voltage holding time corresponding to the off cycle of the transmitting lamp.

[0064] Step S804: If the intensity value is not within the first preset range, then determine the gain adjustment voltage holding time of the receiving lamp in the lamp-off cycle based on the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal in the lamp-off cycle, and the initial gain adjustment voltage holding time.

[0065] In step S804, if the intensity value is not within the first preset range, the gain adjustment voltage holding time of the receiving lamp in the lamp-off cycle can be determined based on the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal in the lamp-off cycle, and the initial gain adjustment voltage holding time.

[0066] Furthermore, in one embodiment, step S804 may specifically include the following:

[0067] For each of the receiving lamps, the intensity value of the received signal is traversed along the voltage change of the input signal during the lamp-off period according to the initial gain adjustment voltage holding time. The gain adjustment voltage holding time that meets the first condition is determined as the gain adjustment voltage holding time corresponding to that receiving lamp. Wherein, the first condition is that the intensity value of the received signal of the receiving lamp is within the first preset range.

[0068] Specifically, if the intensity value is less than the first preset range, the gain adjustment voltage holding time is determined based on the initial gain adjustment voltage holding time along the time direction of voltage increase of the input signal in the light-off cycle; if the intensity value is greater than the first preset range, the gain adjustment voltage holding time is determined based on the initial gain adjustment voltage holding time along the time direction of voltage decrease of the input signal in the light-off cycle.

[0069] In this embodiment, when the intensity value is less than the first preset range, it is necessary to intercept the gain adjustment voltage with a larger voltage to maintain the output. Therefore, the controller determines the gain adjustment voltage holding time based on the initial gain adjustment voltage holding time and the voltage change of the input signal in the light-off cycle, along the time direction of the increase of the voltage of the input signal in the light-off cycle. When the intensity value is greater than the first preset range, it is correspondingly necessary to determine the gain adjustment voltage holding time based on the voltage change of the input signal in the light-off cycle and the time direction of the decrease of the voltage of the input signal in the light-off cycle.

[0070] For example, taking a triangular wave signal as the input signal, suppose the triangular wave signal gradually increases during the light-off cycle, and suppose the initial gain adjustment voltage holding time is time x. Then, when the intensity value is less than the first preset range, a new gain adjustment voltage holding time is determined based on time x in the direction of time delay. When the intensity value is greater than the first preset range, a new gain adjustment voltage holding time is determined based on time x in the direction of time advance. Of course, if the newly determined gain adjustment voltage holding time still cannot make the intensity value within the first preset range, the scheme of this embodiment can continue to be adopted to determine the gain adjustment voltage holding time until the intensity value is within the first preset range. In this way, the gain adjustment voltage applicable to each receiving lamp can be obtained through automatic adjustment.

[0071] The scheme in this embodiment can automatically adjust the hold time of the corresponding gain adjustment voltage according to the strength value of the received signal of each receiving lamp, so that each lamp can obtain its own applicable gain adjustment voltage.

[0072] In one embodiment, determining the gain adjustment voltage hold time corresponding to the off-cycle of each of the multiple receiving lamps corresponding to the transmitting lamp in step S402 may include:

[0073] For a receiving lamp in a multi-channel receiving lamp, obtain a preset correspondence between voltage and intensity values ​​applicable to the receiving lamp; determine a first preset range that the received signal of the receiving lamp needs to reach; obtain the target voltage corresponding to the first preset range according to the preset correspondence; determine the time when the input signal is at the target voltage according to the voltage change of the input signal during the lamp-off cycle; obtain the gain adjustment voltage hold time of the receiving lamp during the lamp-off cycle according to the time when the input signal is at the target voltage.

[0074] In this embodiment, for each of the multiple receiving lights, the controller can obtain a preset correspondence between the voltage and intensity values ​​applicable to that receiving light. This preset correspondence can be a correspondence between the voltage of the gain adjustment voltage provided to the receiving light and the intensity value of the received signal generated by the receiving light under this gain adjustment voltage. This correspondence can be obtained and recorded in the controller during the testing phase of the touch frame. Therefore, the controller can determine the first preset range that the received signal of the receiving lamp needs to reach. This first preset range can be provided to the controller by the user. Then, the controller can obtain the target voltage corresponding to the first preset range according to the preset correspondence. Then, during the voltage change of the input signal in the lamp-off cycle, the controller can determine the time when the input signal reaches the target voltage. Thus, the controller can obtain the gain adjustment voltage holding time of the receiving lamp in the lamp-off cycle according to this time. The time when the input signal reaches the target voltage can be one or more. In some cases, the controller can use this time as the gain adjustment voltage holding time of the receiving lamp in the lamp-off cycle. If there are multiple times, the controller can select one as the gain adjustment voltage holding time of the receiving lamp in the lamp-off cycle. Thus, the gain adjustment voltage holding time can be obtained conveniently and accurately according to the first preset range that the received signal of the receiving lamp needs to reach.

[0075] In one embodiment, based on the above embodiment, after adjusting the gain of the corresponding receiving lamp during the lamp-on cycle in step S403 so that the intensity value of the received signal of the adjusted receiving lamp is within a first preset range, the method may further include:

[0076] Gain adjustment is performed according to the gain adjustment voltage corresponding to the receiving lamp, such that the minimum and / or maximum signal strength values ​​of the received signal of the adjusted receiving lamp meet a second condition. The second condition may include: 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.

[0077] In one embodiment, step S403, which involves triggering the signal holding circuit to maintain the output gain-adjusted voltage with the corresponding voltage on the corresponding output channel based on the gain adjustment voltage holding time corresponding to each receiving lamp, specifically includes:

[0078] For a receiver lamp in a multi-channel receiver lamp, determine the controlled switch of the output channel corresponding to the receiver lamp in the signal holding circuit; according to the gain adjustment voltage holding time corresponding to the receiver lamp, send a control signal of the corresponding level to the controlled switch to trigger the signal holding circuit to hold the output gain adjustment voltage with the corresponding voltage in the output channel based on the input signal.

[0079] refer to Figure 5 and Figure 7 In this embodiment, when the trigger signal holding circuit outputs a gain adjustment voltage in the output channel, for each of the multiple receiving lamps, the controller can first determine the controlled switch of that receiving lamp in the output channel corresponding to the signal holding circuit, such as... Figure 5 The signal holding circuit diagram shows that the analog switches S1 to S3 of each signal holding circuit will change from closed to open at any position during the lamp-off cycle. The control signal will then change from high level to low level. The moment the switch opens is the signal holding point of the signal holding circuit, thereby triggering the signal holding circuit to maintain the output of the corresponding gain adjustment voltage based on the input triangular wave signal in the output channel. This corresponding voltage is the voltage of the triangular wave signal at the signal holding point. That is, the voltage output by the DAC at the holding point is the DAC value of the output channel, so that each receiving lamp has its own independent and applicable gain adjustment voltage.

[0080] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0081] Based on the same inventive concept, this application also provides an apparatus for generating multiple receiver lamp gain adjustment voltages to implement the method for generating multiple receiver lamp gain adjustment voltages described above. The solution provided by this apparatus is similar to the solution described in the above method. Therefore, the specific limitations of one or more apparatus embodiments for generating multiple receiver lamp gain adjustment voltages provided below can be found in the limitations of the method for generating multiple receiver lamp gain adjustment voltages described above, and will not be repeated here.

[0082] In one embodiment, such as Figure 9 As shown, an apparatus 900 is provided for generating a gain-adjusting voltage for multiple receiver lamps. The apparatus 900 may include:

[0083] The cycle determination module 901 is used to determine the switching cycle of the transmitting lamp;

[0084] The timing determination module 902 is used to determine the gain adjustment voltage holding time of each of the multiple receiving lamps corresponding to the transmitting lamp in the lamp switching cycle during the lamp off cycle;

[0085] The signal triggering module 903 is used to trigger the signal holding circuit to maintain the output gain adjustment voltage with the corresponding voltage in the corresponding output channel based on the gain adjustment voltage holding time corresponding to each receiving lamp, according to the gain adjustment voltage holding time corresponding to each receiving lamp. This is used to adjust the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-off cycle. The period of the input signal corresponds to the lamp-off cycle of the transmitting lamp, and the voltage change of the input signal during the lamp-off cycle meets the preset voltage range condition.

[0086] In one embodiment, the input signal includes a triangular wave signal generated by an integrator circuit based on an input switching control signal for the transmitting lamp.

[0087] In one embodiment, the device 900 may further include: a signal acquisition module, configured to acquire the switching control signal of the transmitting lamp; integrate the switching control signal of the transmitting lamp to obtain a triangular wave signal; and obtain the input signal of the signal holding circuit based on the triangular wave signal.

[0088] In one embodiment, the timing determination module 902 is configured to, for the receiving lamps among the multiple receiving lamps, determine the initial gain adjustment voltage holding time corresponding to the lamp's off-cycle; obtain the intensity value of the received signal generated by the receiving lamp under the gain adjustment voltage corresponding to the initial gain adjustment voltage holding time; if the intensity value is within a first preset range, then the initial gain adjustment voltage holding time is used as the gain adjustment voltage holding time of the receiving lamp corresponding to the lamp's off-cycle; if the intensity value does not conform to the first preset range, then the gain adjustment voltage holding time of the receiving lamp corresponding to the lamp's off-cycle is determined based on the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal during the lamp's off-cycle, and the initial gain adjustment voltage holding time.

[0089] In one embodiment, the timing determination module 902 is configured to determine the gain adjustment voltage holding time based on the initial gain adjustment voltage holding time along the time direction of voltage increase of the input signal in the light-off cycle if the intensity value is less than the first preset range; and to determine the gain adjustment voltage holding time based on the initial gain adjustment voltage holding time along the time direction of voltage decrease of the input signal in the light-off cycle if the intensity value is greater than the first preset range.

[0090] In one embodiment, the timing determination module 902 is configured to: acquire a preset correspondence between voltage and intensity values ​​applicable to the receiving lamps among the multiple receiving lamps; determine a first preset range that the received signal of the receiving lamp needs to reach; acquire a target voltage corresponding to the first preset range according to the preset correspondence; determine the time when the input signal is at the target voltage according to the voltage change of the input signal during the lamp-off cycle; and obtain the gain adjustment voltage hold time of the receiving lamp during the lamp-off cycle according to the time when the input signal is at the target voltage.

[0091] In one embodiment, the signal triggering module 903 is used to determine, for the receiving lamp in the multi-channel receiving lamp, the controlled switch of the receiving lamp in the output channel corresponding to the signal holding circuit; according to the gain adjustment voltage holding time corresponding to the receiving lamp, send a control signal of a corresponding level to the controlled switch to trigger the signal holding circuit to hold the output of the gain adjustment voltage with a corresponding voltage in the output channel based on the input signal.

[0092] Each module in the aforementioned device for generating gain adjustment voltages for multiple receiver lamps can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor in hardware or independent of it, or stored in memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0093] In one embodiment, a controller is provided that can be used to control an infrared touch frame, the internal structure of which can be shown in the diagram below. Figure 10 As shown. The controller may include a processor, memory, communication interface, etc., connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the controller can be used for wired or wireless communication with external devices; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for generating gain-adjustable voltages for multiplexed receiver lamps.

[0094] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the controller to which the present application is applied. A specific controller may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0095] In one embodiment, a controller is also provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps in the above method embodiments.

[0096] In one embodiment, a control device for an infrared touch frame is also provided. This control device may include a signal holding circuit and a controller as described in the above embodiment, wherein, reference... Figure 1 The signal holding circuit can be located in the signal conditioning circuit. Under the trigger of the controller, it outputs gain adjustment voltages with corresponding voltages to the multiple receiving lamps corresponding to the transmitting lamps in the infrared touch frame.

[0097] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0098] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for generating a gain-adjustable voltage for multiple receiver lamps, characterized in that, The method includes: Determine the switching cycle of the transmitter light; Determining the gain adjustment voltage hold time for each of the multiple receiving lamps corresponding to the transmitting lamp in the lamp-off cycle; including: for the receiving lamps among the multiple receiving lamps, determining the initial gain adjustment voltage hold time for the receiving lamp in the lamp-off cycle; obtaining the intensity value of the received signal generated by the receiving lamp under the gain adjustment voltage corresponding to the initial gain adjustment voltage hold time; making the intensity value of the received signal of the adjusted receiving lamp within a first preset range; if the intensity value is within the first preset range, then the initial gain adjustment voltage hold time is taken as the gain adjustment voltage hold time for the receiving lamp in the lamp-off cycle; if the intensity value is not within the first preset range, then the gain adjustment voltage hold time for the receiving lamp in the lamp-off cycle is determined according to the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal in the lamp-off cycle, and the initial gain adjustment voltage hold time; According to the gain adjustment voltage holding time corresponding to each receiving lamp, the signal holding circuit is triggered to hold the corresponding gain adjustment voltage in the corresponding output channel based on the input signal. This voltage is used to adjust the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-on cycle, so that the intensity value of the received signal of the adjusted receiving lamp is within the first preset range. The period of the input signal corresponds to the off-light period of the transmitting lamp, and the voltage change of the input signal during the off-light period satisfies a preset voltage range condition.

2. The method according to claim 1, characterized in that, The input signal includes a triangular wave signal generated by the integrator circuit based on the input switching control signal of the transmitting lamp.

3. The method according to claim 1, characterized in that, The method further includes: Obtain the on / off control signal of the transmitting lamp; The switching control signal of the transmitting lamp is integrated to obtain a triangular wave signal; The input signal of the signal holding circuit is obtained based on the triangular wave signal.

4. The method according to claim 1, characterized in that, The step of determining the gain adjustment voltage hold time of the receiving lamp corresponding to the light-off cycle based on the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal during the light-off cycle, and the initial gain adjustment voltage hold time includes: For each of the receiving lamps, the intensity value of the received signal is traversed along the voltage change of the input signal during the lamp-off period according to the initial gain adjustment voltage holding time. The gain adjustment voltage holding time that meets the first condition is determined as the gain adjustment voltage holding time corresponding to that receiving lamp. Wherein, the first condition is that the intensity value of the received signal of the receiving lamp is within the first preset range.

5. The method according to claim 1, characterized in that, The step of triggering a signal holding circuit to maintain the corresponding gain adjustment voltage in the corresponding output channel based on the input signal according to the gain adjustment voltage holding time corresponding to each receiving lamp, for adjusting the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-on cycle, so that the intensity value of the received signal of the adjusted receiving lamp is within a first preset range, further includes: Gain adjustment is performed according to the gain adjustment voltage corresponding to the receiving lamp, so that the minimum and / or maximum signal strength values ​​of the received signal of the adjusted receiving lamp meet the second condition.

6. The method according to claim 5, characterized in that, 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.

7. The method according to claim 1, characterized in that, Determining the gain adjustment voltage hold time for each of the multiple receiving lamps corresponding to the transmitting lamp during the lamp-off cycle in the lamp-on / off cycle includes: For the receiving lamp in the multi-channel receiving lamp, obtain a preset correspondence between the gain adjustment voltage and intensity value applicable to the receiving lamp; The intensity value of the received signal of the receiving lamp needs to be determined to reach the first preset range; According to the preset correspondence, the target voltage range corresponding to the first preset range is obtained; Based on the voltage change of the input signal during the light-off cycle, determine the time range of the input signal corresponding to the target voltage range; Based on the time range corresponding to the target voltage range of the input signal, the gain adjustment voltage holding time of the receiving lamp corresponding to the lamp-off cycle is obtained.

8. The method according to any one of claims 1 to 7, characterized in that, The step of triggering a signal holding circuit to maintain a gain-adjusted voltage with a corresponding voltage in the corresponding output channel based on the gain adjustment voltage holding time corresponding to each receiving lamp includes: For the receiving lamp in the multi-channel receiving lamp, determine the controlled switch of the receiving lamp in the output channel corresponding to the signal holding circuit; Based on the gain adjustment voltage holding time corresponding to the receiving lamp, a control signal of a corresponding level is sent to the controlled switch to trigger the signal holding circuit to maintain the output of the gain adjustment voltage with a corresponding voltage on the output channel based on the input signal.

9. A device for generating a gain-adjustable voltage for multiple receiver lamps, characterized in that, The device includes: The cycle determination module is used to determine the switching cycle of the transmitting lamp; A timing determination module is used to determine the gain adjustment voltage holding time for each of the multiple receiving lamps corresponding to the transmitting lamp in the lamp-off cycle. This includes: for each receiving lamp among the multiple receiving lamps, determining the initial gain adjustment voltage holding time for that receiving lamp in the lamp-off cycle; acquiring the intensity value of the received signal generated by the receiving lamp under the gain adjustment voltage corresponding to the initial gain adjustment voltage holding time; ensuring that the intensity value of the received signal of the adjusted receiving lamp is within a first preset range; if the intensity value is within the first preset range, then using the initial gain adjustment voltage holding time as the gain adjustment voltage holding time for the receiving lamp in the lamp-off cycle; if the intensity value is not within the first preset range, then determining the gain adjustment voltage holding time for the receiving lamp in the lamp-off cycle based on the relative magnitude of the intensity value and the first preset range, the voltage change of the input signal in the lamp-off cycle, and the initial gain adjustment voltage holding time. The signal triggering module is used to trigger the signal holding circuit to maintain the output gain adjustment voltage with a corresponding voltage on the corresponding output channel based on the gain adjustment voltage holding time corresponding to each receiving lamp, according to the gain adjustment voltage holding time corresponding to each receiving lamp. This is used to adjust the gain of the corresponding receiving lamp during the lamp-on cycle in the lamp-off cycle, so that the intensity value of the received signal of the adjusted receiving lamp is within a first preset range. The period of the input signal corresponds to the lamp-off cycle of the transmitting lamp, and the voltage change of the input signal during the lamp-off cycle satisfies the preset voltage range condition.

10. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

11. A control device for an infrared touch frame, characterized in that, It includes a signal holding circuit and the controller as described in claim 10.

12. The control device for the infrared touch frame according to claim 11, characterized in that, The signal holding circuit includes: an input signal terminal, a control signal terminal, and an output channel connected to multiple receiving lamps corresponding to the transmitting lamp; wherein... The input signal terminal is connected to an input signal, the period of which corresponds to the off cycle of the transmitting lamp; The control signal terminal is connected to the controller and receives the control signal output by the controller, which is used to control the signal hold time of each output channel. Each of the output channels is connected to the multi-channel receiving lamp corresponding to the transmitting lamp.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.