Infrared touch scanning method and apparatus, storage medium, and interactive tablet
By adjusting the layout and scanning order of the infrared transmitter and receiver within the infrared touch frame, a denser infrared detection network is formed, solving the problems of low accuracy and false judgment in infrared touch detection and achieving higher precision touch recognition.
Patent Information
- Application Number
- PCT/CN2024/112660
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2026-02-19
AI Technical Summary
In existing infrared touch devices, the infrared transmitter and infrared receiver are respectively located on opposite sides of the infrared touch frame, resulting in low infrared touch detection accuracy and a tendency for touch misjudgment.
By changing the layout of the infrared transmitters and receivers within the infrared touch frame, and increasing the cross-linking of infrared signals from multiple directions to form a denser infrared detection network, the detection accuracy can be improved by controlling the scanning sequence of the infrared receiver group and the emission sequence of the transmitter.
It improves the accuracy of infrared touch detection, reduces touch misjudgment, and ensures accurate identification of touch points.
Smart Images

Figure CN2024112660_19022026_PF_FP_ABST
Abstract
Description
Infrared touch scanning method and device, storage medium and interactive panel TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of touch screens, for example to an infrared touch scanning method and device, a storage medium and an interactive panel. BACKGROUND
[0002] With the development of electronic technology, infrared touch devices are widely used in various electronic display devices due to their fast response speed and cost-effectiveness. In an infrared touch device, a plurality of infrared emitters and a plurality of infrared receivers are arranged on four side frames of an infrared touch frame, the infrared emitters are controlled to emit infrared signals, the infrared receivers receive the infrared signals, and an infrared detection network is formed on the surface of the infrared touch device, so as to detect and locate the touch action of a user.
[0003] In related technologies, the infrared emitters and the infrared receivers are arranged on opposite side frames of the infrared touch frame, which results in low infrared touch detection accuracy and even touch misjudgment.
[0004] SUMMARY
[0005] To overcome the problems in related technologies, the present application provides an infrared touch scanning method and device, a storage medium and an interactive panel, which can improve the infrared touch detection accuracy and avoid touch misjudgment.
[0006] According to a first aspect of embodiments of the present application, an infrared touch scanning method is provided, applied to an infrared touch frame, the infrared touch frame comprising a plurality of side frames, each side frame being provided with an infrared receiver and an infrared emitter; the infrared receivers in each side frame are divided into a plurality of infrared receiving groups; the method comprises the following steps:
[0007] selecting the infrared receiving groups one by one in a predetermined order, and controlling each infrared receiver of the selected infrared receiving group to start scanning; according to the selected infrared receiving group, controlling the corresponding infrared emitters to emit infrared signals in turn;
[0008] determining the touch position according to the infrared signals scanned by each infrared receiver.
[0009] According to a second aspect of embodiments of the present application, an infrared touch scanning device is provided, applied to an infrared touch frame, the infrared touch frame comprising a plurality of side frames, each side frame being provided with an infrared receiver and an infrared emitter; the infrared receivers in each side frame are divided into a plurality of infrared receiving groups; the device comprises:
[0010] The scanning control module is configured to sequentially select each infrared receiving group in a preset order, control each infrared receiver of the selected infrared receiving group to start scanning, and control the corresponding infrared transmitter to emit infrared signals in sequence according to the selected infrared receiving group.
[0011] The touch determination module is configured to determine a touch position according to the infrared signals scanned by each infrared receiver.
[0012] According to a third aspect of the embodiments of the present application, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the infrared touch scanning method described above.
[0013] According to a fourth aspect of the embodiments of the present application, an interactive panel is provided, which comprises an infrared touch frame, a processor and a memory. The infrared touch frame comprises a plurality of frames, each of which is provided with an infrared receiver and an infrared transmitter. The infrared receiver in each frame is divided into a plurality of infrared receiving groups. The memory stores a computer program, which is adapted to be loaded and executed by the processor to implement the infrared touch scanning method described above.
[0014] The embodiments of the present application change the setting layout of the infrared transmitter and the infrared receiver in the infrared touch frame, and simultaneously control the infrared receiving groups to be sequentially selected one by one in a preset order, control each infrared receiver of the selected infrared receiving group to start scanning, control the corresponding infrared transmitter to emit infrared signals in sequence according to the selected infrared receiving group, and determine a touch position according to the infrared signals scanned by each infrared receiver. Thus, the infrared signals in multiple directions are increased in the preset order, the infrared detection network formed by multiple infrared signals in the preset direction is more dense, and the infrared touch detection accuracy is improved, thereby reducing the touch misjudgment problem that the existing touch point is misjudged as no touch point or multiple touch points are misjudged as one touch point.
[0015] It should be understood that the general description above and the detailed description below are only exemplary and explanatory, and cannot limit the present application.
[0016] In order to better understand and implement, the present application will be described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or the related art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0018] FIG. 1 is a structural schematic diagram of an infrared touch frame provided in the related art;
[0019] FIG. 2 is a principle diagram of an infrared touch scanning method provided in an embodiment of the present application;
[0020] FIG. 3 is a flow chart of an infrared touch scanning method provided in an embodiment of the present application;
[0021] FIG. 4 is a principle diagram of a method for selecting an infrared receiving group provided in an embodiment of the present application;
[0022] FIG. 5 is a principle diagram of a method for selecting an infrared receiving group provided in another embodiment of the present application;
[0023] FIG. 6 is a principle diagram of an infrared touch scanning method provided in another embodiment of the present application;
[0024] FIG. 7 is a partial schematic diagram of an infrared detection net provided in an embodiment of the present application;
[0025] FIG. 8 is a partial schematic diagram of an infrared detection net provided in another embodiment of the present application;
[0026] FIG. 9 is a schematic block diagram of an infrared touch scanning device provided in an embodiment of the present application;
[0027] FIG. 10 is a structural schematic diagram of an interactive panel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application with reference to the accompanying drawings. In the following description, identical numbers in different drawings represent the same or similar elements unless otherwise indicated.
[0029] It should be understood that the embodiments described below are merely illustrative of the present application. They are not representative of all embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present application.
[0030] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in this application, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", or "includes" and / or "including" when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. In addition, it should also be understood that the term "and / or", as used herein, refers to and encompasses any one of the items in the list and any combination of one or more items in the list.
[0031] It should be understood that, although the terms first, second, third, etc. can be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one particular instance from another instance of a similar object and are not necessarily used to describe a particular sequence or order, or a necessary precedence. For those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances. Depending on the context, the word "if" / "if" used in this application can be interpreted as "when" or "when" or "in response to determining".
[0032] With the development of society and the progress of science and technology, various display devices have entered thousands of households, such as mobile phones, televisions, and interactive tablets and other devices, which have facilitated people's lives.
[0033] The display device in the embodiments of the present application is an interactive tablet. The interactive tablet can be an integrated device that controls and realizes human-computer interaction operation on the content displayed on the display tablet through touch technology, which integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television and a video conference terminal.
[0034] The hardware part of the interactive tablet is composed of a touch display module, an intelligent processing system (including a controller) and the like, which are combined together by an overall structure and supported by a special software system. The touch display module includes a display screen, a touch component and a backlight lamp component. The backlight lamp component is used to provide a backlight source for the display screen. The display screen generally adopts a liquid crystal display device for picture display. The touch component is arranged on the display screen or at the front end of the display screen, used to collect user touch operation data and send the collected touch operation data to the intelligent processing system for processing.
[0035] In actual use, the display screen of the interactive tablet displays picture data, when a user clicks the content displayed on the display screen by a touch object such as a finger or a stylus, for example, clicks a graphical button displayed on the display screen, the touch component of the interactive tablet will collect touch data, and then the touch component converts the touch data into coordinate data of a touch point and sends the coordinate data to the intelligent processing system or converts the coordinate data into coordinate data of a touch point at the intelligent processing system, and the intelligent processing system obtains the coordinate data of the touch point, and according to a pre-set program, performs a corresponding control operation, drives the display screen to display content change, and realizes diversified display and operation effects.
[0036] The following describes the scheme of the application with the touch component being an infrared touch component, which includes an infrared touch frame. An infrared PCB board is arranged inside the four frames of the infrared touch frame, a plurality of infrared emitters and / or a plurality of infrared receivers are arranged on the infrared PCB board, the infrared emitters are used to emit infrared signals, and the infrared receivers are used to receive infrared signals, so as to form an infrared detection network crossing horizontally and vertically on the screen, when a user's finger or other objects touch the screen, the passing infrared signals will be blocked or reflected, resulting in a change in the infrared signals received by the infrared receivers, and then a controller locates the touch point according to the changed infrared signals.
[0037] Please refer to FIG. 1, which is a structural schematic diagram of an infrared touch frame provided in the related art. The infrared touch frame includes a first frame, a second frame, a third frame and a fourth frame; a first infrared PCB board is arranged inside the first frame, a second infrared PCB board is arranged inside the second frame, a third infrared PCB board is arranged inside the third frame, and a fourth infrared PCB board is arranged inside the fourth frame; the first infrared PCB board and the fourth infrared PCB board are respectively and uniformly arranged with infrared emitters at equal intervals, and the second infrared PCB board and the fourth infrared PCB board are respectively and uniformly arranged with infrared receivers at equal intervals. The infrared emitters on the first infrared PCB board can emit infrared signals to the infrared receivers on the second infrared PCB board, and the infrared emitters on the third infrared PCB board can emit infrared signals to the infrared receivers on the fourth infrared PCB board, so as to form an infrared detection network. In FIG. 1, the white circles represent infrared emitters, and the black circles represent infrared receivers.
[0038] When performing touch scanning, the infrared receivers on the second infrared PCB board and the fourth infrared PCB board are divided into a plurality of infrared receiving groups, each infrared receiving group is sequentially turned on according to a pre-set order (such as the arrow direction shown in FIG. 1), and the infrared emitters corresponding to the turned-on infrared receiving groups are controlled to emit infrared signals, and then the touch position is determined according to the infrared signals received by each infrared receiver.
[0039] However, the setting layout of the infrared touch frame in the related art actually only has infrared signals in two directions cross horizontally and vertically to form an infrared detection network, and the density of the infrared detection network is relatively sparse, which leads to low infrared touch detection precision, and the problem of touch misjudgment that a touch point is mistaken as no touch point or multiple touch points are mistaken as one touch point is prone to occur.
[0040] The embodiment of the present application changes the setting layout of the infrared emitter and the infrared receiver on the infrared touch frame, sets the infrared receiver and the infrared emitter on each frame on the infrared touch frame, and increases the infrared signals in multiple directions by combining with the control of the infrared scanning direction, so that the multiple infrared detection networks formed by the infrared signals in the preset directions are more dense, thereby improving the infrared touch detection precision and reducing the problem of touch misjudgment that a touch point is mistaken as no touch point or multiple touch points are mistaken as one touch point.
[0041] The infrared touch scanning method provided by the embodiment of the present application will be described in detail below with reference to FIGS. 2 to 8.
[0042] The infrared touch scanning method provided by the embodiment of the present application is applied to an infrared touch frame. The infrared touch frame includes a plurality of frames, and the infrared receiver and the infrared emitter are arranged in each frame. The infrared receiver in each frame is divided into a plurality of infrared receiving groups.
[0043] In one embodiment, the infrared touch frame includes a plurality of frames, and at least one infrared PCB plate is arranged on each frame. Each infrared PCB plate is provided with a plurality of infrared emitters and a plurality of infrared receivers. The infrared receivers on each infrared PCB plate are divided into a plurality of infrared receiving groups. Optionally, when a plurality of infrared PCB plates are included on each frame, the infrared receivers on each infrared PCB plate can be divided into a group, and the infrared receivers on the frame are divided into a plurality of infrared receiving groups.
[0044] Among them, according to the different functions and positions, the plurality of infrared PCB plates are divided into a master board and a plurality of slave boards. The master board and the slave boards are connected with an analog signal bus, a digital signal bus, a synchronization signal bus and a power signal bus.
[0045] The master board and the slave boards share the power signal bus to provide power signals for the infrared emitters and the infrared receivers, that is, to provide power supply.
[0046] Before the scanning starts, the host board sends scanning data to each slave board through a digital signal bus, the scanning data including scanning control logic of the infrared transmitter and the infrared receiver; each slave board acquires its own scanning data through the digital signal bus, and controls the infrared transmitter and the infrared receiver to perform scanning work according to the scanning data. The scanning data includes position information of the infrared receiver and the infrared transmitter on the slave board and corresponding scanning logic, grouping information of the infrared receivers on the infrared PCB board divided into a plurality of infrared receiver groups, and preset sequence information for scanning control.
[0047] After the scanning starts, the host board transmits a synchronization signal to each slave board through a synchronization signal bus to control the corresponding slave board to perform scanning. In an embodiment, after receiving the synchronization signal sent by the host board, the slave board triggers to start performing scanning according to the synchronization signal, reads the scanning data saved by itself, and controls the working state of the connected infrared receiver and infrared transmitter according to the synchronization signal. In an embodiment, the slave board reads the position information of the infrared receiver and the infrared transmitter in the scanning data and corresponding scanning logic, grouping information of the infrared receivers on the infrared PCB board divided into a plurality of infrared receiver groups, and preset sequence information for scanning control, and controls the emission of the infrared transmitter and the reception of the infrared receiver at a proper timing according to the synchronization signal. The host board transmits the synchronization signal to each slave board to set at least one infrared receiver on one of the slave boards to a receiving state, and set at least one infrared transmitter on other slave boards not on the same side as the slave board in the receiving state to an emitting state. The type of the synchronization signal bus can be an analog signal bus or a digital signal bus.
[0048] Meanwhile, the host board transmits an infrared emission gain control signal to each slave board through an analog signal bus to control the emission power of the infrared transmitter on the corresponding slave board.
[0049] Each slave board shares the analog signal bus, loads the analog signal corresponding to the infrared signal received by the infrared receiver (hereinafter referred to as “infrared receiving signal”) on the analog signal bus, and transmits it to the host board; the host board detects the infrared receiving signal from the analog signal bus, and converts the infrared receiving signal into a digital signal; the digital signal is used to calculate the coordinate position of the touch object.
[0050] In one embodiment, the host board is provided with a signal conditioning circuit, an A / D sampling circuit and a main MCU connected in sequence; wherein the signal conditioning circuit is connected to the analog signal bus, and the main MCU is further connected to the digital signal bus; in one embodiment, the main MCU is connected to the analog signal bus through a signal attenuation circuit, and if a separate synchronization signal bus is used to transmit the synchronization signal, the main MCU is connected to the synchronization signal bus through a signal attenuation circuit; for the analog signal bus, it can include a plurality of parallel signal channels, when the infrared receiver uses a grouping scanning mode, since a plurality of infrared receivers output analog electrical signals at the same time, at this time, each signal channel can transmit each analog electrical signal to the host board at the same time.
[0051] The slave board includes a slave MCU; the slave MCU controls the infrared transmitter and the infrared receiver; wherein the infrared transmitter and the infrared receiver are arranged at intervals, the infrared transmitter is connected to the slave MCU, the infrared receiver is connected to the analog signal bus, and the slave MCU is further connected to the digital signal bus; in one embodiment, the main MCU and each slave MCU perform data transmission based on an address identification mode, and each slave board is configured with a hardware address.
[0052] Please refer to FIG. 2, taking the infrared touch frame as a rectangular frame as an example for description, a plurality of frames include a first frame, a second frame, a third frame and a fourth frame, the first frame and the second frame are oppositely arranged, and the first frame and the second frame are both parallel to the X axis; the third frame and the fourth frame are oppositely arranged, and the third frame and the fourth frame are both parallel to the Y axis; wherein the X axis and the Y axis are perpendicular to each other; at least one infrared PCB board is arranged in the first frame, the second frame, the third frame and the fourth frame, and the infrared PCB board is provided with an infrared receiver and an infrared transmitter. In one embodiment, the first frame is internally provided with a first infrared PCB board, the second frame is internally provided with a second infrared PCB board, the third frame is internally provided with a third infrared PCB board, and the fourth frame is internally provided with a fourth infrared PCB board. The first infrared PCB board and the second infrared PCB board are oppositely arranged, and the first infrared PCB board and the second infrared PCB board are both parallel to the X axis; the third infrared PCB board and the fourth infrared PCB board are oppositely arranged, and the third infrared PCB board and the fourth infrared PCB board are both parallel to the Y axis; wherein the X axis and the Y axis are perpendicular to each other.
[0053] It should be understood that the embodiments of the present application take the first infrared PCB board and the second infrared PCB board as an example for description, which are arranged along the X axis direction and face the infrared touch frame, and the third infrared PCB board and the fourth infrared PCB board are arranged along the Y axis direction and face the infrared touch frame. The direction and position of the X axis and the Y axis and which infrared PCB board is parallel to the X axis and the Y axis in the embodiments of the present application can be selected according to actual needs.
[0054] The first infrared PCB board, the second infrared PCB board, the third infrared PCB board and the fourth infrared PCB board are each provided with a plurality of infrared emitters and a plurality of infrared receivers. In an embodiment, the infrared emitters on the first infrared PCB board correspond one-to-one to the infrared receivers on the second infrared PCB board. In the figure, white circles represent infrared emitters and black circles represent infrared receivers.
[0055] The first infrared PCB board, the second infrared PCB board, the third infrared PCB board and the fourth infrared PCB board can each be provided with a plurality of infrared emitters and a plurality of infrared receivers at equal intervals, or can be provided with a plurality of infrared emitters and a plurality of infrared receivers at unequal intervals. The arrangement of the infrared emitters and the infrared receivers on the first infrared PCB board, the second infrared PCB board, the third infrared PCB board and the fourth infrared PCB board can be varied according to actual conditions.
[0056] The infrared emitters on each of the four sides can emit infrared signals to the infrared receivers on the opposite side, and can also emit infrared signals to the infrared receivers on the adjacent side at the same time. For example, the infrared emitters on the first infrared PCB board can emit infrared signals to the infrared receivers on the second infrared PCB board, and can also emit infrared signals to the infrared receivers on the third infrared PCB board and the fourth infrared PCB board at the same time; the infrared emitters on the second infrared PCB board can emit infrared signals to the infrared receivers on the first infrared PCB board, and can also emit infrared signals to the infrared receivers on the third infrared PCB board and the fourth infrared PCB board at the same time.
[0057] The infrared receivers on each of the four sides can be divided into a plurality of infrared receiver groups according to the size of the infrared touch frame, the number of infrared receivers or the position of the infrared receivers. It should be understood that the number of infrared receivers in each infrared receiver group can be the same or different.
[0058] Referring to FIG. 3, the infrared touch scanning method according to the embodiment of the present application comprises the following steps:
[0059] S101: Select the infrared receiver groups one by one in a predetermined order, and control each infrared receiver in the selected infrared receiver group to start scanning; control the corresponding infrared emitters to emit infrared signals one by one according to the selected infrared receiver group.
[0060] It should be understood that the infrared touch scanning method according to the embodiment of the present application can be executed by the infrared touch frame.
[0061] In an alternative embodiment, the selected border frames are sequentially determined in a first order; for the selected border frames, the infrared receiving groups are sequentially selected one by one in a second order, so as to control each infrared receiver of the selected infrared receiving group to start scanning; and according to the selected infrared receiving group, the corresponding infrared emitter is controlled to emit infrared signals in sequence.
[0062] The first order and the second order can be determined according to actual needs, and the present application does not impose any limitation.
[0063] Optionally, when facing the infrared touch frame, the border frames and the infrared receiving groups can be sequentially selected in a clockwise direction. Alternatively, when facing the infrared touch frame, the border frames and the infrared receiving groups can be sequentially selected in an anticlockwise direction, as shown in FIG. 2, the infrared receiving groups of the first border frame are sequentially selected in the first group, the second group, the third group, and the fourth group, the infrared receiving groups of the fourth border frame are sequentially selected in the eleventh group and the twelfth group, the infrared receiving groups of the second border frame are sequentially selected in the eighth group, the seventh group, the sixth group, and the fifth group, and the infrared receiving groups of the third border frame are sequentially selected in the tenth group and the ninth group.
[0064] Optionally, the infrared receiving groups on two opposite border frames are sequentially selected first, and then the infrared receiving groups on the other opposite border frames are sequentially selected, and so on, for example, in FIG. 2, a group of infrared receiving groups on the first border frame and the second border frame are sequentially selected, after each group of infrared receiving groups on the first border frame and the second border frame are selected, a group of infrared receiving groups on the third border frame and the fourth border frame are selected, and so on until each group of infrared receiving groups on the third border frame and the fourth border frame are selected.
[0065] In another alternative embodiment, the infrared receiving groups on each border frame are numbered, and the infrared receiving groups are sequentially selected one by one according to the numbering order, so as to control each infrared receiver of the selected infrared receiving group to start scanning; and according to the selected infrared receiving group, the corresponding infrared emitter is controlled to emit infrared signals in sequence. The scanning refers to the process that the infrared receiver receives the infrared signals emitted from the infrared emitter and converts them into electrical signals.
[0066] The infrared touch frame stores scanning data before the scanning starts, and the scanning data includes the position information of the infrared receiver, the position information of the infrared emitter, the corresponding scanning logic, the grouping information of the infrared receiving groups divided from the infrared receiver in the slave board, and the preset order information for scanning control of the infrared receiver; the preset order information includes the scanning order information for scanning control of the infrared receiver to receive infrared signals and the emission order information for control of the corresponding infrared emitter to emit infrared signals.
[0067] It can be understood that, in the design of the infrared touch frame, the emission-reception relationship between the infrared receiver and the corresponding infrared emitter is determined by sequentially controlling each infrared emitter to emit infrared signals, and controlling each infrared receiver to scan the obtained infrared signals, and determining the infrared receiver and the corresponding infrared emitter whose scanned infrared signals exceed the preset signal threshold. Based on the above emission-reception relationship and the scanning sequence information, the emission sequence information of the infrared emitter corresponding to each infrared receiver can be determined in the scanning data.
[0068] After the scanning starts, the infrared touch frame receives the synchronization signal, and according to the scanning data, the infrared receiving groups are sequentially selected one by one according to the scanning sequence information, and each infrared receiver of the selected infrared receiving group is controlled to start scanning, and according to the scanning data, the corresponding infrared emitter is controlled to emit infrared signals in sequence according to the emission sequence information.
[0069] In one embodiment, the selected infrared receiving group can correspond to one infrared emitter, or can correspond to multiple infrared emitters. When there are multiple infrared emitters, the infrared emitters are sequentially controlled to emit infrared signals during the scanning of each infrared receiver of the infrared receiving group, that is, only one infrared emitter emits infrared signals at the same time, and the infrared receivers sequentially scan the infrared signals of each infrared emitter.
[0070] It can be understood that when each infrared receiver of the selected infrared receiving group scans the infrared signals, the selected infrared receiving group is closed, and when an infrared receiving group is turned on, each infrared receiver of the selected infrared receiving group is turned on at the same time, so that only the infrared receivers of one infrared receiving group are turned on at the same time, thereby facilitating the control of the infrared receiving group.
[0071] S102: Determine the touch position according to the infrared signals scanned by each infrared receiver.
[0072] It can be understood that when there is no touch point on the infrared touch frame, the infrared emitter emits infrared signals to the infrared receiver, and the infrared receiver receives the infrared signals transmitted through space. When there is a touch point on the infrared touch frame, the touch point will block the infrared signals passing through the touch point position, and the infrared receiver may also receive the infrared signals. However, the signal strength of the obtained infrared signals is reduced at this time, and the signal strength of the infrared signals that do not pass through the touch point position will be higher than that of the infrared signals that pass through the touch point position. The processor locates the touch point according to the change of the signal strength of the infrared signals at the touch point.
[0073] It should be understood that the infrared touch scanning method of the present application is a continuous scanning process after the infrared touch frame is powered on. The infrared receiving groups are sequentially selected one by one in a preset order until all the infrared receiving groups are selected. Then, the infrared receiving groups are sequentially selected one by one in a preset order in a cycle, so as to control each infrared receiver of the selected infrared receiving group to start scanning in a cycle. According to the selected infrared receiving group, the corresponding infrared transmitter is controlled to emit infrared signals in sequence, so as to determine the touch position according to the infrared signals scanned by each infrared receiver.
[0074] The embodiment of the present application changes the setting layout of the infrared transmitter and the infrared receiver on the infrared touch frame, controls the infrared receiving groups to be sequentially selected one by one in a preset order, controls each infrared receiver of the selected infrared receiving group to start scanning, controls the corresponding infrared transmitter to emit infrared signals in sequence according to the selected infrared receiving group, and determines the touch position according to the infrared signals scanned by each infrared receiver. Therefore, the infrared signals in multiple directions are increased in a preset order, the infrared detection net formed by multiple infrared signals in a preset direction is more dense, and the infrared touch detection accuracy is improved, thereby reducing the touch misjudgment problem that an existing touch point is mistakenly measured as no touch point or multiple touch points are mistakenly measured as one touch point.
[0075] The infrared touch scanning method of the present application will be described below in combination with the internal structure of the infrared touch frame.
[0076] In an optional embodiment, the infrared touch frame includes a plurality of frames, at least one infrared PCB board is arranged in each frame, a plurality of infrared transmitters and a plurality of infrared receivers are arranged in each infrared PCB board, and the infrared receivers on each infrared PCB board are divided into a plurality of infrared receiving groups. The plurality of infrared PCB boards include a master board and a plurality of slave boards. The master board includes a master MCU, and the slave boards include slave MCUs.
[0077] Before the step S101 of sequentially selecting the infrared receiving groups one by one in a preset order, controlling each infrared receiver of the selected infrared receiving group to start scanning, and controlling the corresponding infrared transmitter to emit infrared signals in sequence according to the selected infrared receiving group, the following steps are included:
[0078] The master MCU of the master board sends scanning data for controlling the infrared transmitter to the slave MCUs of the slave boards through a digital signal bus; and the slave MCUs of the slave boards acquire their own scanning data through the digital signal bus.
[0079] The scanning data includes position information of infrared receivers in the slave board, position information of infrared emitters, corresponding scanning logic, grouping information of the infrared receivers in the slave board divided into a plurality of infrared receiving groups, and preset sequence information for scanning control. The preset sequence information includes scanning sequence information for scanning control of the infrared receivers to receive infrared signals and emission sequence information for control of the corresponding infrared emitters to emit infrared signals.
[0080] Before scanning, the scanning data for controlling the infrared emitters is issued to the slave MCUs of the slave boards through the digital signal bus, so that after the scanning starts, the master board does not need to send different scanning data for different scanning conditions of the slave boards, which reduces the workload requirement of the master board and avoids too large amount of scanning control signal data transmitted between the master board and the slave boards during scanning, thereby meeting the requirement of high-speed scanning.
[0081] In an optional embodiment, the step S101 sequentially selects the infrared receiving groups one by one according to the preset sequence, and controls each infrared receiver of the selected infrared receiving group to start scanning; and the step of controlling the corresponding infrared emitters to sequentially emit infrared signals according to the selected infrared receiving group includes:
[0082] The step S111: the master MCU of the master board transmits a synchronization signal to the slave MCUs of the slave boards through a synchronization signal bus, so as to set one of the slave boards to a receiving state and sequentially set other slave boards not on the same side as the slave board in the receiving state to an emission state.
[0083] The step S112: the slave MCU of the slave board in the receiving state sequentially selects the infrared receiving groups one by one according to the scanning sequence information according to the scanning data, and controls each infrared receiver of the selected infrared receiving group to start scanning.
[0084] The step S113: the slave MCU of the slave board in the emission state controls the corresponding infrared emitters of the selected infrared receiving group to sequentially emit infrared signals according to the emission sequence information according to the scanning data.
[0085] Before scanning, the master board issues the scanning data, and the slave board stores the scanning data. The scanning data includes position information of infrared receivers in the slave board, position information of infrared emitters, corresponding scanning logic, grouping information of the infrared receivers in the slave board divided into a plurality of infrared receiving groups, and preset sequence information for scanning control. The preset sequence information includes scanning sequence information for scanning control of the infrared receivers to receive infrared signals and emission sequence information for control of the corresponding infrared emitters to emit infrared signals.
[0086] It can be understood that, in the design of the infrared touch frame, the infrared signal is emitted by the infrared emitter in turn, the infrared signal scanned is controlled by the infrared receiver, and then the infrared receiver and the corresponding infrared emitter whose scanned infrared signal exceeds the preset signal threshold are determined, so that the emission-reception relationship between the infrared receiver and the corresponding infrared emitter is obtained. Based on the above emission-reception relationship and the scanning sequence information, the emission sequence information of the infrared emitter corresponding to each infrared receiver can be determined in the scanning data.
[0087] After the scanning starts, the main MCU of the host board transmits a synchronization signal to the slave MCU of each slave board through the synchronization signal bus, so as to set one of the slave boards to a receiving state and set other slave boards which are not on the same side as the slave board in the receiving state to an emission state in turn; the slave MCU of the slave board in the receiving state selects the infrared receiving group in turn according to the scanning sequence information based on the scanning data, and controls each infrared receiver of the selected infrared receiving group to start scanning; and the slave MCU of the slave board in the emission state controls the corresponding infrared emitter to emit the infrared signal in turn according to the emission sequence information based on the scanning data.
[0088] Step S114: The slave MCU of the slave board in the receiving state sends the infrared signal scanned by each infrared receiver to the main MCU of the host board through the analog signal bus.
[0089] As described above, the control scheme of the host board to the slave board, after the scanning starts, the host board only needs to send one synchronization signal to each slave board to complete the scanning control, the data amount of the synchronization signal is small, so that the scanning speed is ensured, and meanwhile, the accurate scanning control of each slave board can be ensured.
[0090] In an optional embodiment, the step of determining the touch position according to the infrared signal scanned by each infrared receiver in step S102 comprises:
[0091] The main MCU of the host board obtains the infrared signal scanned by each infrared receiver from the analog signal bus, and determines the touch position according to the infrared signal scanned by each infrared receiver.
[0092] In the embodiment, the infrared signal output by each slave board is processed on the host board, the processing link of converting the infrared signal into a digital signal on the slave board is reduced, the circuit processing flow is simplified, the response speed is fast, and the frame rate of the infrared scanning is improved.
[0093] Referring to FIG. 4, in an optional embodiment, the step of selecting the infrared receiving group in turn according to the preset sequence and controlling each infrared receiver of the selected infrared receiving group to start scanning in step S101 comprises:
[0094] Step S111: based on the direction parallel to the X axis, sequentially select the infrared receiving groups on the first frame in a first preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the first frame have been started, and then sequentially select the infrared receiving groups on the second frame in a second preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the second frame have been started.
[0095] In one of the embodiments, the first frame is internally provided with a first infrared PCB board, and the second frame is internally provided with a second infrared PCB board. Based on the direction parallel to the X axis, sequentially select the infrared receiving groups on the first infrared PCB board in a first preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the first infrared PCB board have been started; and then sequentially select the infrared receiving groups on the second infrared PCB board in a second preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the second infrared PCB board have been started.
[0096] Step S112: based on the direction parallel to the Y axis, sequentially select the infrared receiving groups on the third frame in a third preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the third frame have been started, and then sequentially select the infrared receiving groups on the fourth frame in a fourth preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the fourth frame have been started.
[0097] In one of the embodiments, the third frame is internally provided with a third infrared PCB board, and the fourth frame is internally provided with a fourth infrared PCB board. Based on the direction parallel to the Y axis, sequentially select the infrared receiving groups on the third infrared PCB board in a third preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the third infrared PCB board have been started; and then sequentially select the infrared receiving groups on the fourth infrared PCB board in a fourth preset order one by one, control each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the fourth infrared PCB board have been started.
[0098] It can be understood that the steps of step S111 and step S112 can also be interchanged, that is, first, based on the direction parallel to the Y axis, the infrared receiving groups on the third infrared PCB board are sequentially selected one by one according to the third preset order, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the third infrared PCB board have been started; then, based on the direction parallel to the X axis, the infrared receiving groups on the fourth infrared PCB board are sequentially selected one by one according to the fourth preset order, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the fourth infrared PCB board have been started; then, based on the direction parallel to the X axis, the infrared receiving groups on the first infrared PCB board are sequentially selected one by one according to the first preset order, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the first infrared PCB board have been started; and then, based on the direction parallel to the X axis, the infrared receiving groups on the second infrared PCB board are sequentially selected one by one according to the second preset order, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the second infrared PCB board have been started.
[0099] The first preset order, the second preset order, the third preset order and the fourth preset order can be selected according to actual needs. In the embodiment of the present application, as shown in FIG. 2, the first preset order and the second preset order are the order from right to left facing the infrared touch frame, and the third preset order and the fourth preset order are the order from bottom to top facing the infrared touch frame.
[0100] The embodiment of the present application scans by sequentially selecting the first infrared PCB board, the second infrared PCB board, the third infrared PCB board and the fourth infrared PCB board, and the first infrared PCB board, the third infrared PCB board, the second infrared PCB board and the fourth infrared PCB board are sequentially scanned based on the respective groups of infrared receiving groups, which facilitates scanning control and debugging.
[0101] Please refer to FIG. 5, in another optional embodiment, the step of sequentially selecting the infrared receiving groups one by one according to the preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning in step S101 comprises:
[0102] Step S121: sequentially selecting the infrared receiving groups on the first frame and the second frame parallel to the X axis one by one in an interlaced manner, and controlling each infrared receiver of the selected infrared receiving group to start scanning until all the infrared receivers on the first frame and the second frame have been started.
[0103] In one of the embodiments, the first infrared PCB board is arranged inside the first bezel, and the second infrared PCB board is arranged inside the second bezel. The infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis are selected one by one in an interlaced manner. Each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the first infrared PCB board and the second infrared PCB board have been turned on.
[0104] In the step of selecting the infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis one by one in an interlaced manner, a group of infrared receiving groups on the first infrared PCB board can be selected first, then a group of infrared receiving groups on the second infrared PCB board is selected, and then another group of infrared receiving groups on the first infrared PCB board is selected, and then another group of infrared receiving groups on the second infrared PCB board is selected, and so on, until all the infrared receivers on the first infrared PCB board and the second infrared PCB board have been turned on.
[0105] Optionally, the step of selecting the infrared receiving groups on the first bezel and the second bezel parallel to the X axis one by one in an interlaced manner, that is, the step of selecting the infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis one by one in an interlaced manner, comprises: selecting the infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis one by one in an interlaced manner.
[0106] As shown in FIG. 6, for the convenience of description, each infrared receiving group on each bezel is numbered and identified. In the embodiments of the present application, the infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis are selected one by one in an interlaced manner. That is, a group of infrared receiving groups numbered as the first group on the first infrared PCB board is selected first, then a group of infrared receiving groups numbered as the second group on the second infrared PCB board is selected, then a group of infrared receiving groups numbered as the third group on the first infrared PCB board is selected, then a group of infrared receiving groups numbered as the fourth group on the second infrared PCB board is selected, and so on, until all the infrared receivers on the first infrared PCB board and the second infrared PCB board have been turned on.
[0107] As shown in FIG. 7 and FIG. 8, compared with the method of selecting all the infrared receiving groups on the first infrared PCB board and then selecting the infrared receiving groups on the second infrared PCB board to scan the light rays, the embodiments of the present application can improve the density of the scanning light rays and the accuracy of the touch positioning of the touch point, for example, the touch point in the fast moving process, by selecting the infrared receiving groups on the first infrared PCB board and the second infrared PCB board parallel to the X axis one by one in an interlaced manner.
[0108] Step S122: Interleavingly selecting the infrared receiving groups on the third frame and the fourth frame parallel to the Y axis one by one, and controlling each infrared receiver of the selected infrared receiving group to start scanning until all the infrared receivers on the third frame and the fourth frame have been started.
[0109] In one embodiment, the third frame is internally provided with a third infrared PCB board, and the fourth frame is internally provided with a fourth infrared PCB board. The infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board parallel to the Y axis are interleavedly selected one by one, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the third infrared PCB board and the fourth infrared PCB board have been started.
[0110] In one embodiment, the third frame is internally provided with a third infrared PCB board, and the fourth frame is internally provided with a fourth infrared PCB board. The infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board parallel to the Y axis are interleavedly selected one by one, and each infrared receiver of the selected infrared receiving group is controlled to start scanning until all the infrared receivers on the third infrared PCB board and the fourth infrared PCB board have been started.
[0111] Optionally, the step of interleavingly selecting the infrared receiving groups on the third frame and the fourth frame parallel to the Y axis one by one, that is, the step of interleavingly selecting the infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board parallel to the Y axis one by one, comprises: interleavingly selecting the infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board parallel to the Y axis one by one.
[0112] As shown in FIG. 6, for the convenience of description, each infrared receiving group on each frame is numbered and identified. In the embodiment of the present application, the infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board parallel to the Y axis are interleavedly selected one by one. For example, the infrared receiving group numbered and identified as the 9th group on the third infrared PCB board is selected first, then the infrared receiving group numbered and identified as the 10th group on the fourth infrared PCB board is selected, then the infrared receiving group numbered and identified as the 11th group on the third infrared PCB board is selected, then the infrared receiving group numbered and identified as the 12th group on the fourth infrared PCB board is selected, and so on, until all the infrared receivers on the third infrared PCB board and the fourth infrared PCB board have been started.
[0113] Compared with the method of selecting and opening all the infrared receiving groups on the third infrared PCB board, and then selecting and opening the infrared receiving groups on the fourth infrared PCB board, the method of the embodiment of the application can improve the scanning light density and improve the touch point positioning accuracy, for example, the touch point positioning accuracy in the fast movement process, by selecting the infrared receiving groups on the third infrared PCB board and the fourth infrared PCB board in an interlaced manner.
[0114] The method of the embodiment of the application can avoid the problem of low accuracy caused by the fact that after scanning the same frame, other frames are scanned, resulting in less light intersection.
[0115] Please refer to FIG. 9, which is a structural schematic diagram of an infrared touch scanning device provided by the second embodiment of the application. The infrared touch scanning device 200 of the embodiment of the application is applied to an infrared touch frame, the infrared touch frame includes a plurality of frames, and an infrared receiver and an infrared emitter are arranged in each frame; the infrared receiver in each frame is divided into a plurality of infrared receiving groups; the device 200 includes:
[0116] The scanning control module 201 is configured to sequentially select the infrared receiving groups one by one in a preset order, control each infrared receiver of the selected infrared receiving group to start scanning, and control the corresponding infrared emitter to emit infrared signals in sequence according to the selected infrared receiving group.
[0117] The touch determination module 202 is configured to determine the touch position according to the infrared signals scanned by each infrared receiver.
[0118] It should be noted that the infrared touch scanning device provided by the second embodiment of the application is used to execute the infrared touch scanning method, and only the above-mentioned division of the functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be completed by different functional modules according to the needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the infrared touch scanning device provided by the second embodiment of the application and the infrared touch scanning method of the first embodiment of the application belong to the same concept, and the implementation process is described in detail in the method embodiment. Therefore, it is not repeated here.
[0119] The infrared touch scanning device of the second embodiment of the present application can be applied to a computer device, for example, an interactive tablet. The device can be implemented by software, hardware or a combination of software and hardware. In the case of software implementation, as a logical device, the device is formed by reading the corresponding computer program instructions in the memory by the processor of the file processing. From the hardware perspective, the computer device can include a processor and a memory, and the processor and the memory are connected through a data bus or other known means.
[0120] Referring to FIG. 10, a structural schematic diagram of an electronic device according to the third embodiment of the present application is shown. As shown in FIG. 8, the electronic device can be a computer, a mobile phone, a tablet computer, an interactive tablet, etc. In the exemplary embodiments of the present application, the electronic device is an interactive tablet 300, which can include at least one processor 310, at least one memory 320, at least one display 330, at least one network interface 340, a user interface 350 and at least one communication bus 360.
[0121] The communication bus 360 is used to realize the connection and communication among the components.
[0122] The user interface 350 can include a display screen and a camera. The user interface 350 can also include a standard wired interface and a wireless interface.
[0123] The network interface 340 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0124] The processor 310 can include one or more processing cores. The processor 310 connects various parts within the entire electronic device 300 by various interfaces and lines, and performs various functions of the electronic device 300 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 320, and calling data stored in the memory 320. Alternatively, the processor 310 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 310 can be integrated with one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes an operating system, a user interface, and an application program; the GPU is responsible for rendering and drawing the content to be displayed by the display layer; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 310, but can be implemented by a separate chip.
[0125] The memory 320 can include a random access memory (RAM) and can also include a read-only memory (ROM). Alternatively, the memory 320 includes a non-transitory computer-readable storage medium. The memory 320 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 320 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 320 can alternatively be at least one storage device located away from the aforementioned processor 310. As shown in FIG. 10, the memory 320 as a computer storage medium can include an operating system, a network communication module, a user.
[0126] In the interactive tablet 300 shown in Fig. 10, the user interface 350 is mainly used to provide an interface for the user to input, and obtain data input by the user; the display 330 can comprise an infrared touch frame; the infrared touch frame comprises a plurality of frames, and infrared receivers and infrared emitters are arranged on each frame at equal intervals; the infrared receivers on each frame are divided into a plurality of infrared receiving groups; and the processor 310 can be used to call an operation application program of the interactive tablet stored in the memory 320, such as a program of an infrared touch scanning method, and perform the related operations of any infrared touch scanning method in the above embodiments, and has the corresponding functions and beneficial effects.
[0127] The fourth embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the instructions are suitable for being loaded by a processor and performing the above-mentioned infrared touch scanning method steps. The execution process can refer to the description of the embodiments, which will not be repeated here. The device in which the storage medium is located can be a personal computer, a notebook computer, a smart phone, a tablet computer, or the like.
[0128] For the device embodiment, since it basically corresponds to the method embodiment, the related parts can refer to the part of the method embodiment. The above-described device embodiment is only schematic, and the components described as separate components can or can not be physically separate, and the components displayed as a unit can or can not be a physical unit, that is, they can be located in one place, or distributed on multiple network units. According to actual needs, part or all of the modules can be selected to achieve the purpose of the present application. Those skilled in the art can understand and implement it without creative labor.
[0129] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer usable storage media containing computer usable program code (including but not limited to disk storage, CD-ROM, optical storage, etc.).
[0130] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks.
[0131] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks.
[0132] In one configuration, the computing device includes one or more processors (CPU), input / output interface, network interface, and memory.
[0133] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or cache memory, for storing, in general, data and / or program instructions. The memory can also include non-volatile memory, such as read only memory (ROM) and / or flash memory, for storing, in general, static data and / or instructions that are not very likely to ever change. The memory can store software
[0134] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0135] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0136] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.
Claims
1. An infrared touch scanning method applied to an infrared touch frame, wherein, The infrared touch frame comprises a plurality of frames, and an infrared receiver and an infrared emitter are arranged in each frame; the infrared receiver in each frame is divided into a plurality of infrared receiving groups; the method comprises the following steps: selecting the infrared receiving groups one by one in a preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning; controlling the corresponding infrared emitter to emit infrared signals in turn according to the selected infrared receiving group; determining the touch position according to the infrared signals scanned by each infrared receiver.
2. The infrared touch scanning method according to claim 1, wherein: the plurality of frames comprise a first frame, a second frame, a third frame and a fourth frame; the first frame and the second frame are arranged opposite to each other and are parallel to the X axis; the third frame and the fourth frame are arranged opposite to each other and are parallel to the Y axis; wherein the X axis and the Y axis are perpendicular to each other; at least one infrared PCB board is arranged in each of the first frame, the second frame, the third frame and the fourth frame, and the infrared PCB board is provided with an infrared receiver and an infrared emitter.
3. The infrared touch scanning method according to claim 2, wherein: the step of selecting the infrared receiving groups one by one in a preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning comprises: selecting the infrared receiving groups on the first frame one by one in a first preset order based on the direction parallel to the X axis and controlling each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the first frame have been started; then selecting the infrared receiving groups on the second frame one by one in a second preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the second frame have been started; selecting the infrared receiving groups on the third frame one by one in a third preset order based on the direction parallel to the Y axis and controlling each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the third frame have been started; then selecting the infrared receiving groups on the fourth frame one by one in a fourth preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the fourth frame have been started.
4. The infrared touch scanning method according to claim 2, wherein: the step of selecting the infrared receiving groups one by one in a preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning comprises: selecting the infrared receiving groups on the first frame and the second frame parallel to the X axis one by one in an interlaced manner and controlling each infrared receiver of the selected infrared receiving group to start scanning, until all the infrared receivers on the first frame and the second frame have been started; Interleaving and selecting the infrared receiving groups on the third and fourth edges parallel to the Y axis one by one, and controlling each infrared receiver of the selected infrared receiving group to start scanning until all the infrared receivers on the third and fourth edges have been started.
5. The infrared touch scanning method of claim 4, wherein: The step of interleaving and selecting the infrared receiving groups on the first and second edges parallel to the X axis one by one comprises: Interleaving and selecting the infrared receiving groups on the first and second edges parallel to the X axis one by one; The step of interleaving and selecting the infrared receiving groups on the third and fourth edges parallel to the Y axis one by one comprises: Interleaving and selecting the infrared receiving groups on the third and fourth edges parallel to the Y axis one by one; 6. The infrared touch scanning method of claim 1, wherein: Each infrared receiver of the selected infrared receiving group starts scanning at the same time.
7. The out-touch scanning method according to any one of claims 1 to 6, wherein: The method further comprises the following steps: Selecting the infrared receiving groups one by one in a preset order until all the infrared receiving groups are selected, and then repeatedly selecting the infrared receiving groups one by one in the preset order, controlling each infrared receiver of the selected infrared receiving group to start scanning, controlling the corresponding infrared emitter to emit infrared signals one by one according to the selected infrared receiving group, and determining the touch position according to the infrared signals scanned by each infrared receiver.
8. The infrared touch scanning method of any one of claims 1 to 6, wherein: Each of the edges comprises at least one infrared PCB board, each infrared PCB board is provided with a plurality of infrared emitters and a plurality of infrared receivers, the infrared receivers on each infrared PCB board are divided into a plurality of infrared receiving groups, the plurality of infrared PCB boards comprise a master board and a plurality of slave boards, the master board comprises a master MCU, and the slave boards comprise slave MCUs; The step of selecting the infrared receiving groups one by one in a preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning; Before the step of controlling the corresponding infrared emitter to emit infrared signals one by one according to the selected infrared receiving group, the master MCU of the master board sends scanning data for controlling the infrared emitters to the slave MCUs of the slave boards through a digital signal bus; The slave MCUs of the slave boards share the digital signal bus to obtain their own scanning data respectively. The scanning data comprises grouping information of the infrared receivers on the infrared PCB board divided into a plurality of infrared receiving groups and preset order information for scanning control; the preset order information comprises scanning order information for controlling the infrared receivers to receive infrared signals and emission order information for controlling the corresponding infrared emitters to emit infrared signals.
9. The infrared touch scanning method of claim 8, wherein: Further comprising, 10.The infrared touch scanning method of claim 8, wherein: The step of selecting the infrared receiving groups one by one in a preset order and controlling each infrared receiver of the selected infrared receiving group to start scanning; The step of controlling the corresponding infrared emitter to emit infrared signals one by one according to the selected infrared receiving group comprises: The main MCU of the main board transmits a synchronization signal to the slave MCUs of each of the slave boards through a synchronization signal bus, so as to set one of the slave boards to a receiving state and set other slave boards not on the same side as the slave board in the receiving state to a transmitting state in turn; The slave MCU of the slave board in the receiving state selects the infrared receiving groups in turn according to the scanning sequence information according to the scanning data, and controls each infrared receiver of the selected infrared receiving group to start scanning; The slave MCU of the slave board in the transmitting state controls the infrared transmitters corresponding to the selected infrared receiving group to emit infrared signals in turn according to the transmitting sequence information. The slave MCU of the slave board in the receiving state sends the infrared signals scanned by each infrared receiver to the main MCU of the main board through an analog signal bus.
11. The infrared touch scanning method of claim 10, wherein: The step of determining the touch position according to the infrared signals scanned by each infrared receiver comprises: The main MCU of the main board acquires the infrared signals scanned by each infrared receiver from the analog signal bus, and determines the touch position according to the infrared signals scanned by each infrared receiver.
12. An infrared touch scanning device applied to an infrared touch frame, wherein, The infrared touch frame comprises a plurality of frames, and each frame is provided with an infrared receiver and an infrared transmitter; the infrared receiver in each frame is divided into a plurality of infrared receiving groups; the device comprises: A scanning control module for selecting the infrared receiving groups in turn according to a preset sequence, controlling each infrared receiver of the selected infrared receiving group to start scanning, and controlling the corresponding infrared transmitters to emit infrared signals in turn according to the selected infrared receiving groups; A touch determination module for determining the touch position according to the infrared signals scanned by each infrared receiver.
13. A computer readable storage medium having stored thereon a computer program, wherein, The computer program is executed by the processor to realize the infrared touch scanning method of any one of claims 1 to 11.
14. An interactive whiteboard comprising an infrared touch frame, a processor and a memory; wherein, The infrared touch frame comprises a plurality of frames, and each frame is provided with an infrared receiver and an infrared transmitter; the infrared receiver in each frame is divided into a plurality of infrared receiving groups; the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to realize the infrared touch scanning method of any one of claims 1 to 11.
Citation Information
Patent Citations
Infrared touch screen scanning method, device and apparatus and medium
CN109358774A
Infrared touch frame high-density scanning method and circuit, touch frame and electronic equipment
CN111324240A
Infrared touch device, infrared touch scanning method and display equipment
CN115617205A
Infrared touch frame circuit board, infrared touch frame and infrared touch screen
CN117931005A
Infrared touch frame circuit board, infrared touch frame and infrared touch screen
CN118151793A