CN111198633A - Touch signal acquisition method for five-wire resistance touch screen - Google Patents

Touch signal acquisition method for five-wire resistance touch screen Download PDF

Info

Publication number
CN111198633A
CN111198633A CN201911336927.1A CN201911336927A CN111198633A CN 111198633 A CN111198633 A CN 111198633A CN 201911336927 A CN201911336927 A CN 201911336927A CN 111198633 A CN111198633 A CN 111198633A
Authority
CN
China
Prior art keywords
coordinate data
touch screen
coordinate
avg
triode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911336927.1A
Other languages
Chinese (zh)
Other versions
CN111198633B (en
Inventor
张海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NINGBO EST TECHNOLOGY CO LTD
Original Assignee
NINGBO EST TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NINGBO EST TECHNOLOGY CO LTD filed Critical NINGBO EST TECHNOLOGY CO LTD
Priority to CN201911336927.1A priority Critical patent/CN111198633B/en
Publication of CN111198633A publication Critical patent/CN111198633A/en
Application granted granted Critical
Publication of CN111198633B publication Critical patent/CN111198633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/045Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact

Abstract

The invention discloses a five-wire resistance touch screen signal acquisition method, which comprises the steps of setting four driving modules to set the high and low levels of 4 input signals on a five-wire resistance touch screen to realize the acquisition condition setting of an X coordinate and a Y coordinate, setting an RC series circuit between the output end of an FPC lead wire of the five-wire resistance touch screen and an AD pin of a CPU (central processing unit), respectively transmitting an output end voltage signal of the FPC lead wire on the five-wire resistance touch screen to the AD pin of the CPU through the RC series circuit after the acquisition condition setting of the X coordinate and the Y coordinate is finished, finishing AD conversion in the CPU, and confirming final acquisition data by adopting an average value and a difference absolute value after the data acquisition is realized; the five-wire resistance touch screen has the advantages that the four driving modules, the RC series circuit and the AD conversion functional module of the CPU replace a special AD chip to realize the acquisition of touch signals of the five-wire resistance touch screen, the acquisition is easy, the five-wire resistance touch screen is suitable for being used in the field of industrial control, and the cost is low.

Description

Touch signal acquisition method for five-wire resistance touch screen
Technical Field
The invention relates to a touch signal acquisition method for a touch screen, in particular to a touch signal acquisition method for a five-wire resistance touch screen.
Background
In the industrial control industry (such as injection molding), due to strong professional and high requirement on operators, the industry hopes to reduce the operation difficulty through a more humanized man-machine communication mode. The conventional man-machine interaction mode is mostly a button type operation box, and an operation panel with a display screen is developed later. In order to meet the continuously-improved requirement of customers on easy operation, a touch screen is introduced on a human-computer interaction interface.
The basic requirements of industrial control are reliability and stability, and in order to meet the basic requirements, resistive touch panels are often used. The current commonly used resistive touch screen generally has four-wire resistive touch screen and five-wire resistive touch screen, and five-wire resistive touch screen is more superior than four-wire resistive touch screen in linearity and life-span, is fit for using in industrial field more. The five-wire resistance touch screen is formed by attaching a flexible FPC flat wire to a rectangular piece of glass in appearance, and 4 input ends and an output end are arranged on FPC lead wires. The five-wire resistance touch screen mainly depends on a resistance layer (ITO GLASS) and a conduction layer (ITO FILM) which are arranged in the five-wire resistance touch screen, the resistance layer and the conduction layer are separated by a DOT point, 4 corners (upper left corner, lower left corner, upper right corner and lower right corner) of the resistance layer are correspondingly connected with 4 input ends on an FPC lead wire one by one, and the conduction layer is connected with an output end of the FPC lead wire. Currently, an input signal inputted to an input terminal connected to the upper left corner of the resist layer in the FPC lead is generally denoted as UL, an input signal inputted to an input terminal connected to the lower left corner of the resist layer in the FPC lead is denoted as LL, an input signal inputted to an input terminal connected to the upper right corner of the resist layer in the FPC lead is denoted as UR, an input signal inputted to an input terminal connected to the lower right corner of the resist layer in the FPC lead is denoted as LR, and a signal outputted from an output terminal of the FPC lead is denoted as S.
In order to acquire the position of a touch point of a user on the five-wire resistive touch screen, a touch signal of the five-wire resistive touch screen needs to be acquired. Currently, the touch signals of the five-wire resistive touch screen are mainly collected by a special AD chip, such as ADs7845E of TI. The AD chip is connected with four input ends and one output end of the five-wire resistance touch screen FPC respectively, and the CPU is connected with the AD chip through a digital interface (such as SPI). The CPU controls the AD chip to acquire touch signals of the five-wire resistance touch screen through instructions, and coordinate data of actual positions of touch points are obtained after subsequent conversion processing. However, the types of the special AD chips are not many in the market, the supply period is long, the price of a single AD chip is high, and the cost pressure is applied to mass production type products.
Disclosure of Invention
The invention aims to provide a five-wire resistance touch screen touch signal acquisition method which is suitable for being used in the field of industrial control and has low cost.
The technical scheme adopted by the invention for solving the technical problems is as follows: a touch signal acquisition method for a five-wire resistance touch screen comprises the following steps:
(1) each input end of an FPC lead of the five-wire resistive touch screen is respectively connected with a driving module, each driving module is controlled by a CPU, each driving module can output high level or low level under the control of the CPU, and the output end of the FPC lead of the five-wire resistive touch screen is connected to an AD pin of the CPU through an RC series circuit;
(2) taking the long side direction of the five-wire resistive touch screen as the X-axis direction, taking the short side direction as the Y-axis direction, taking the intersection point of the X-axis and the Y-axis as an origin to construct a two-dimensional coordinate system, wherein in the constructed two-dimensional coordinate system, all coordinate positions on the five-wire resistive touch screen are in a first quadrant;
(3) when a touch signal exists on the five-wire resistance touch screen, the acquisition condition of the X coordinate is set, and the specific mode for setting the acquisition condition of the X coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and LL to be high levels, sets UR and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from left to right;
(4) after the acquisition condition of the X coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as X coordinate data to obtain 10X coordinate data;
(5) the specific mode for setting the acquisition condition of the Y coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and UR to be high levels, sets LL and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from top to bottom;
(6) after the acquisition condition of the Y coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as Y coordinate data to obtain 10Y coordinate data;
(7) respectively arranging the 10 acquired X coordinate data and 10 acquired Y coordinate data according to a sequence from small to large, and if equal data appear in the 10X coordinate data or the 10Y coordinate data, randomly determining the sequence of the equal data;
(8) acquiring X coordinate data arranged at 5 th bit, 6 th bit and 7 th bit in the sequenced 10X coordinate data, and recording the X coordinate data arranged at 5 th bit in the sequenced 10X coordinate data as X5And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X6And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X7The mean value of the X-coordinate data arranged at the 5 th, 6 th and 7 th bits among the 10 sorted X-coordinate data is denoted as XavgWherein x isavg=(x5+x6+x7) 2 division of 3, calculating x respectively5、x6And x7And xavgThe absolute value of the difference between;
acquiring the Y coordinate data arranged at the 5 th bit, the 6 th bit and the 7 th bit in the sequenced 10Y coordinate data, and recording the Y coordinate data arranged at the 5 th bit in the sequenced 10Y coordinate data as Y5And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y6And the Y coordinate data arranged at the 7 th bit in the sorted 10Y coordinate data is recorded as Y7The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Yavg. Wherein y isavg=(y5+y6+y7) Div 3, calculate y separately5、y6And y7And yavgThe absolute value of the difference between;
(9) judgment of x5And xavgAbsolute value of the difference between, x6And xavgAbsolute value of the difference between, x7And xavgDifference between themAbsolute value of value, y5And yavgAbsolute value of the difference between, y6And yavgAbsolute value of the difference between and y7And yavgWhether the absolute values of the differences are all less than 40, if all are less than 40, then the current (x) is obtainedavg,yavg) And (3) if at least one of the acquired touch signals of the five-wire resistive touch screen is not less than 40, returning to the step (3) for re-acquisition until all the touch signals are less than 40 or the touch signals on the five-wire resistive touch screen disappear.
Each driving module comprises a diode, a first triode, a second triode, a NOT gate, a first resistor, a second resistor, a first capacitor and a second capacitor, the diode is a transient suppression diode, the first triode is a PNP type triode, the second triode is an NPN type triode, the NOT gate is provided with an input end, an output end, a power end and a grounding end, the anode of the diode, one end of the second capacitor, the collector of the first triode and the collector of the second triode are connected, the connecting end of the first triode and the collector of the second triode is the output end of the driving module, the output end of the driving module is used for being connected with the input end of an FPC lead of a five-wire resistance touch screen, the cathode of the diode and the other end of the second capacitor are grounded, the emitter of the first triode, the power end of the NOT gate and one end of the first capacitor are connected, and the connecting end of the first capacitor is connected with a power supply, the base of the first triode and one end of the first resistor are connected, the emitting electrode of the second triode is grounded, the base of the second triode and one end of the second resistor are connected, the other end of the first resistor, the other end of the second resistor and the output end of the NOT gate are connected, the grounding end of the NOT gate is grounded, the input end of the NOT gate is the input end of the driving module, the input end of the driving module is used for connecting a CPU, and the other end of the first capacitor is grounded. In the circuit, the driving module is formed by the diode, the first triode, the second triode, the NOT gate, the first resistor, the second resistor, the first capacitor and the second capacitor, the driving module is completely realized by discrete components, the life cycle of the discrete components is long, the similar products can be selected in the market, the cost is low, the discrete components are easy to obtain, the service life of the driving module is guaranteed, and the cost can be effectively controlled.
Compared with the prior art, the invention has the advantages that the high and low levels of 4 input signals on the five-wire resistive touch screen are set by setting four driving modules, the RC series circuit is arranged between the output end of the FPC lead wire of the five-wire resistive touch screen and the AD pin of the CPU, the CPU sets UL and LL to be high levels and UR and LR to be low levels through 4 driving modules, so that the current flow direction from left to right is formed on the five-wire resistive touch screen, the acquisition condition setting of X coordinates is realized, the delay is 3ms to 6ms to ensure the voltage stability of the output signal S of the five-wire resistive touch screen, the voltage signal output by the output end of the FPC lead wire of the five-wire resistive touch screen is continuously acquired for 10 times through the RC series circuit to obtain 10X coordinate data, the CPU sets UL and UR to be high levels and sets LL and LR to be low levels through the 4 driving modules, the method comprises the steps of enabling a current flow direction from top to bottom to be formed on a five-wire resistive touch screen, realizing the setting of a Y coordinate acquisition condition, delaying 3ms to 6ms to ensure the voltage stability of a signal S output by the five-wire resistive touch screen, continuously acquiring 10 times of voltage signals output by an FPC lead wire output end of the five-wire resistive touch screen through an RC series circuit to obtain 10Y coordinate data, subsequently respectively sequencing the 10X coordinate data and the 10Y coordinate data to obtain 5 th, 6 th and 7 th data, judging whether the data are in accordance according with the mean value and the absolute difference value to realize the acquisition of the touch signals of the five-wire resistive touch screen, replacing a special AD chip with four driving modules, one RC series circuit and an AD conversion function module in a CPU to realize the acquisition of the touch signals of the five-wire resistive touch screen, wherein the driving modules and the RC series circuit are easy to acquire, is suitable for being used in the field of industrial control and has low cost.
Drawings
FIG. 1 is a schematic diagram of X coordinate acquisition in a five-wire resistive touch screen touch signal acquisition method according to the present invention;
FIG. 2 is an equivalent diagram of X coordinate acquisition in the method for acquiring touch signals of a five-wire resistive touch screen according to the present invention;
FIG. 3 is a schematic diagram of Y coordinate acquisition in the method for acquiring touch signals of a five-wire resistive touch screen according to the present invention;
FIG. 4 is an equivalent diagram of Y coordinate acquisition in the method for acquiring touch signals of a five-wire resistive touch screen according to the present invention;
FIG. 5 is a schematic diagram illustrating the principle of the touch signal acquisition method of the five-wire resistive touch screen according to the present invention;
FIG. 6 is a circuit diagram of a driving module of the method for acquiring touch signals of a five-wire resistive touch screen according to the present invention;
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
Example (b): as shown in fig. 1 to 5, a signal acquisition method for a five-wire resistive touch screen includes the following steps:
(1) each input end of an FPC lead of the five-wire resistive touch screen is connected with a driving module respectively, each driving module is controlled by a CPU respectively, each driving module can output high level or low level under the control of the CPU, and the output end of the FPC lead of the five-wire resistive touch screen is connected to an AD pin of the CPU through an RC series circuit;
(2) taking the long side direction of the five-wire resistive touch screen as the X-axis direction, taking the short side direction as the Y-axis direction, taking the intersection point of the X-axis and the Y-axis as an origin to construct a two-dimensional coordinate system, wherein in the constructed two-dimensional coordinate system, all coordinate positions on the five-wire resistive touch screen are in a first quadrant;
(3) when a touch signal exists on the five-wire resistance touch screen, the acquisition condition of the X coordinate is set, and the specific mode for setting the acquisition condition of the X coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and LL to be high levels, sets UR and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from left to right;
(4) after the acquisition condition of the X coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as X coordinate data to obtain 10X coordinate data;
(5) the specific mode for setting the acquisition condition of the Y coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and UR to be high levels, sets LL and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from top to bottom;
(6) after the acquisition condition of the Y coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as Y coordinate data to obtain 10Y coordinate data;
(7) respectively arranging the 10 acquired X coordinate data and 10 acquired Y coordinate data according to a sequence from small to large, and if equal data appear in the 10X coordinate data or the 10Y coordinate data, randomly determining the sequence of the equal data;
(8) acquiring X coordinate data arranged at 5 th bit, 6 th bit and 7 th bit in the sequenced 10X coordinate data, and recording the X coordinate data arranged at 5 th bit in the sequenced 10X coordinate data as X5And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X6And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X7The mean value of the X-coordinate data arranged at the 5 th, 6 th and 7 th bits among the 10 sorted X-coordinate data is denoted as XavgWherein x isavg=(x5+x6+x7) 2 division of 3, calculating x respectively5、x6And x7And xavgThe absolute value of the difference between;
acquiring the Y coordinate data arranged at the 5 th bit, the 6 th bit and the 7 th bit in the sequenced 10Y coordinate data, and recording the Y coordinate data arranged at the 5 th bit in the sequenced 10Y coordinate data as Y5And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y6The Y seat arranged at the 7 th position in the sorted 10Y coordinate dataMarking data as y7The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Yavg. Wherein y isavg=(y5+y6+y7) Div 3, calculate y separately5、y6And y7And yavgThe absolute value of the difference between;
(9) judgment of x5And xavgAbsolute value of the difference between, x6And xavgAbsolute value of the difference between, x7And xavgAbsolute value of the difference between, y5And yavgAbsolute value of the difference between, y6And yavgAbsolute value of the difference between and y7And yavgWhether the absolute values of the differences are all less than 40, if all are less than 40, then the current (x) is obtainedavg,yavg) And (3) if at least one of the acquired touch signals of the five-wire resistive touch screen is not less than 40, returning to the step (3) for re-acquisition until all the touch signals are less than 40 or the touch signals on the five-wire resistive touch screen disappear.
As shown in fig. 6, in this embodiment, each driving module includes a diode D1, a first transistor Q1, a second transistor Q2, a not gate U1, a first resistor R1, a second resistor R2, a first capacitor C1, and a second capacitor C2, the diode D1 is a transient suppression diode D1, the first transistor Q1 is a PNP transistor, the second transistor Q2 is an NPN transistor, the not gate U1 has an input terminal, an output terminal, a power supply terminal, and a ground terminal, the anode of the diode D1, one end of the second capacitor C2, the collector of the first transistor Q1, and the collector of the second transistor Q2 are connected, and the connection terminal thereof is the output terminal of the driving module, the output terminal of the driving module is used for connecting to the input terminal of the FPC lead of the five-wire resistive touch screen, the cathode of the diode D1 and the other end of the second capacitor C2 are both grounded, the emitter of the first transistor Q1, the power supply terminal of the non-gate 1, and one end of the first capacitor C1 are connected to the connection, the base of the first triode Q1 is connected with one end of the first resistor R1, the emitter of the second triode Q2 is grounded, the base of the second triode Q2 is connected with one end of the second resistor R2, the other end of the first resistor R1 and the other end of the second resistor R2 are connected with the output end of the NOT gate U1, the ground end of the NOT gate U1 is grounded, the input end of the NOT gate U1 is the input end of the driving module, the input end of the driving module is used for being connected with a CPU, and the other end of the first capacitor C1 is grounded.
In this embodiment, the not gate U1 used in the four driving modules may be implemented by using a chip with model 74HC14, a power supply terminal of the chip is used as a power supply terminal of the not gate U1, a ground terminal of the chip is used as a ground terminal of the not gate U1, and a pair of an input terminal and an output terminal of the chip are used as an input terminal and an output terminal of the not gate U1.

Claims (2)

1. A touch signal acquisition method of a five-wire resistance touch screen is characterized by comprising the following steps:
(1) each input end of an FPC lead of the five-wire resistive touch screen is respectively connected with a driving module, each driving module is controlled by a CPU, each driving module can output high level or low level under the control of the CPU, and the output end of the FPC lead of the five-wire resistive touch screen is connected to an AD pin of the CPU through an RC series circuit;
(2) taking the long side direction of the five-wire resistive touch screen as the X-axis direction, taking the short side direction as the Y-axis direction, taking the intersection point of the X-axis and the Y-axis as an origin to construct a two-dimensional coordinate system, wherein in the constructed two-dimensional coordinate system, all coordinate positions on the five-wire resistive touch screen are in a first quadrant;
(3) when a touch signal exists on the five-wire resistance touch screen, the acquisition condition of the X coordinate is set, and the specific mode for setting the acquisition condition of the X coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and LL to be high levels, sets UR and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from left to right;
(4) after the acquisition condition of the X coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as X coordinate data to obtain 10X coordinate data;
(5) the specific mode for setting the acquisition condition of the Y coordinate is as follows: the CPU sets the high and low levels of 4 input signals on the five-wire resistance touch screen through the 4-path driving module, sets UL and UR to be high levels, sets LL and LR to be low levels, and enables the five-wire resistance touch screen to form a current flow direction from top to bottom;
(6) after the acquisition condition of the Y coordinate is set, the CPU continuously acquires voltage signals output by the output end of the FPC lead of the five-wire resistance touch screen for 10 times through the RC series circuit after delaying for 3ms to 6ms, and the acquired voltage signals are used as Y coordinate data to obtain 10Y coordinate data;
(7) respectively arranging the 10 acquired X coordinate data and 10 acquired Y coordinate data according to a sequence from small to large, and if equal data appear in the 10X coordinate data or the 10Y coordinate data, randomly determining the sequence of the equal data;
(8) acquiring X coordinate data arranged at 5 th bit, 6 th bit and 7 th bit in the sequenced 10X coordinate data, and recording the X coordinate data arranged at 5 th bit in the sequenced 10X coordinate data as X5And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X6And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X7The mean value of the X-coordinate data arranged at the 5 th, 6 th and 7 th bits among the 10 sorted X-coordinate data is denoted as XavgWherein x isavg=(x5+x6+x7) 2 division of 3, calculating x respectively5、x6And x7And xavgThe absolute value of the difference between;
acquiring the Y coordinate data arranged at the 5 th bit, the 6 th bit and the 7 th bit in the sequenced 10Y coordinate data, and recording the Y coordinate data arranged at the 5 th bit in the sequenced 10Y coordinate data as Y5And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y6And the Y coordinate data arranged at the 7 th bit in the sorted 10Y coordinate data is recorded as Y7The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Yavg. Wherein y isavg=(y5+y6+y7) Div 3, calculate y separately5、y6And y7And yavgThe absolute value of the difference between;
(9) judgment of x5And xavgAbsolute value of the difference between, x6And xavgAbsolute value of the difference between, x7And xavgAbsolute value of the difference between, y5And yavgAbsolute value of the difference between, y6And yavgAbsolute value of the difference between and y7And yavgWhether the absolute values of the differences are all less than 40, if all are less than 40, then the current (x) is obtainedavg,yavg) And (3) if at least one of the acquired touch signals of the five-wire resistive touch screen is not less than 40, returning to the step (3) for re-acquisition until all the touch signals are less than 40 or the touch signals on the five-wire resistive touch screen disappear.
2. The method as claimed in claim 1, wherein each of the driving modules comprises a diode, a first triode, a second triode, a not gate, a first resistor, a second resistor, a first capacitor and a second capacitor, the diode is a transient suppression diode, the first triode is a PNP triode, the second triode is an NPN triode, the not gate has an input terminal, an output terminal, a power terminal and a ground terminal, the positive terminal of the diode, one terminal of the second capacitor, the collector of the first triode and the collector of the second triode are connected, the connection terminal is the output terminal of the driving module, the output terminal of the driving module is used for connecting the input terminal of the FPC lead of the five-wire resistive touch screen, the negative terminal of the diode and the other terminal of the second capacitor are both grounded, the emitter of the first triode, the power end of the NOT gate and one end of the first capacitor are connected, the connecting end of the first triode is connected with a power supply, the base of the first triode is connected with one end of the first resistor, the emitter of the second triode is grounded, the base of the second triode is connected with one end of the second resistor, the other end of the first resistor, the other end of the second resistor and the output end of the NOT gate are connected, the grounding end of the NOT gate is grounded, the input end of the NOT gate is the input end of the driving module, the input end of the driving module is used for being connected with a CPU, and the other end of the first capacitor is grounded.
CN201911336927.1A 2019-12-23 2019-12-23 Five-wire resistance touch screen touch signal acquisition method Active CN111198633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911336927.1A CN111198633B (en) 2019-12-23 2019-12-23 Five-wire resistance touch screen touch signal acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911336927.1A CN111198633B (en) 2019-12-23 2019-12-23 Five-wire resistance touch screen touch signal acquisition method

Publications (2)

Publication Number Publication Date
CN111198633A true CN111198633A (en) 2020-05-26
CN111198633B CN111198633B (en) 2023-04-07

Family

ID=70744400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911336927.1A Active CN111198633B (en) 2019-12-23 2019-12-23 Five-wire resistance touch screen touch signal acquisition method

Country Status (1)

Country Link
CN (1) CN111198633B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6278444B1 (en) * 1998-08-21 2001-08-21 Geoffrey D. Wilson Low current four-wire interface for five-wire resistive touch-screen
US20090189876A1 (en) * 2008-01-29 2009-07-30 Ideacom Technology Inc. Control device for determining 4-wire or 5-wire resistive touch screen
US20110169745A1 (en) * 2010-01-13 2011-07-14 Texas Instruments Incorporated 5-Wire resistive touch screen pressure measurement circuit and method
CN201965595U (en) * 2010-12-28 2011-09-07 广州市键创电子科技有限公司 Five-wire resistive touch screen
CN102778976A (en) * 2012-02-07 2012-11-14 北京京东方光电科技有限公司 Method for determining position of touch point on touch screen and touch screen
CN103593104A (en) * 2013-11-21 2014-02-19 湖南工业大学 Method for positioning coordinates of five-line resistance touch screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6278444B1 (en) * 1998-08-21 2001-08-21 Geoffrey D. Wilson Low current four-wire interface for five-wire resistive touch-screen
US20090189876A1 (en) * 2008-01-29 2009-07-30 Ideacom Technology Inc. Control device for determining 4-wire or 5-wire resistive touch screen
US20110169745A1 (en) * 2010-01-13 2011-07-14 Texas Instruments Incorporated 5-Wire resistive touch screen pressure measurement circuit and method
CN201965595U (en) * 2010-12-28 2011-09-07 广州市键创电子科技有限公司 Five-wire resistive touch screen
CN102778976A (en) * 2012-02-07 2012-11-14 北京京东方光电科技有限公司 Method for determining position of touch point on touch screen and touch screen
CN103593104A (en) * 2013-11-21 2014-02-19 湖南工业大学 Method for positioning coordinates of five-line resistance touch screen

Also Published As

Publication number Publication date
CN111198633B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN107168596B (en) Scanning method of capacitive touch screen and capacitive touch screen
US10671196B2 (en) Touch substrate, method for forming the same, and touch display device
US20160231853A1 (en) Touch panel and touch display device comprising the same
US9703428B2 (en) Touch panel and touch detecting method therefor
CN111198633B (en) Five-wire resistance touch screen touch signal acquisition method
CN102981688A (en) Five-wire resistance screen control circuit and voltage sampling circuit
CN103116427A (en) Bridging and wire-leading sensor of monolayer multi-point touch screen and forming process thereof
CN103199847A (en) Bi-directional level switching circuit and electronic product
CN104169854A (en) An icon arranging method and a terminal
CN210442787U (en) Multifunctional touch display
CN102043530B (en) Coordinate point calibration method of touch panel
CN106896964B (en) Pressure touch display panel and pressure touch display device
CN109960677B (en) Extension circuit for USB interface
CN208780808U (en) Correction platform near infrared communication circuit and correction platform
WO2017045094A1 (en) Method and terminal for controlling number of touch panel reporting points
CN209911949U (en) Eight-wire touch screen
CN209946862U (en) Touch display with interface conversion
CN2859934Y (en) Touch induction key-press circuit for TV set
CN107967076B (en) Method and device for identifying type of resistive touch screen
CN115756217A (en) Touch identification circuit of digital resistance touch screen
CN102375593A (en) Structure and method for impedance adjustment of touch panel
CN111625146B (en) Electronic product with double touch screens
CN217985028U (en) High stability charge reset circuit and electronic product
CN209946858U (en) Wireless touch display
CN216901858U (en) Resistance-type touch screen drive circuit of POS machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220831

Address after: Room 202, No. 1, Lane 777, Qingfeng Road, Cicheng Town, Jiangbei District, Ningbo City, Zhejiang Province, 315000

Applicant after: NINGBO EST TECHNOLOGY Co.,Ltd.

Address before: No. 202, Lane 777, Qingfeng Road, Cicheng Town, Jiangbei District, Ningbo City, Zhejiang Province

Applicant before: NINGBO EST TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 66, Pufeng Road, Cicheng Town, Jiangbei District, Ningbo City, Zhejiang Province, 315000

Applicant after: NINGBO EST TECHNOLOGY Co.,Ltd.

Address before: Room 202, No. 1, Lane 777, Qingfeng Road, Cicheng Town, Jiangbei District, Ningbo City, Zhejiang Province, 315000

Applicant before: NINGBO EST TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant