CN111198633B - Five-wire resistance touch screen touch signal acquisition method - Google Patents

Five-wire resistance touch screen touch signal acquisition method Download PDF

Info

Publication number
CN111198633B
CN111198633B CN201911336927.1A CN201911336927A CN111198633B CN 111198633 B CN111198633 B CN 111198633B CN 201911336927 A CN201911336927 A CN 201911336927A CN 111198633 B CN111198633 B CN 111198633B
Authority
CN
China
Prior art keywords
coordinate data
touch screen
coordinate
triode
avg
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.)
Active
Application number
CN201911336927.1A
Other languages
Chinese (zh)
Other versions
CN111198633A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

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, touch signals of a five-wire resistive touch screen are mainly collected through 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistance touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistance touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals 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 X 5 And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X 6 And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X 7 The 10 sorted X coordinate data are arranged at the 5 th bit and the 6 th bitAnd the mean of the X coordinate data of the 7 th bit is recorded as X avg Wherein x is avg =(x 5 +x 6 +x 7 ) 2 division of 3, calculating x respectively 5 、x 6 And x 7 And x avg The 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 Y 5 And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y 6 And the Y coordinate data arranged at the 7 th bit in the sorted 10Y coordinate data is recorded as Y 7 The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Y avg . Wherein y is avg =(y 5 +y 6 +y 7 ) Div 3, calculate y separately 5 、y 6 And y 7 And y avg The absolute value of the difference between;
(9) Judgment of x 5 And x avg Absolute value of the difference between, x 6 And x avg Absolute value of difference between, x 7 And x avg Absolute value of the difference between, y 5 And y avg Absolute value of the difference between, y 6 And y avg Absolute value of the difference between and y 7 And y avg Whether the absolute values of the differences are less than 40, if so, obtaining (x) currently avg ,y avg ) 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 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, the connecting end of the power end of the driving module is connected with a power source, 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 and one end of the second resistor are connected with the other end of the second triode, the input end of the non-gate of the driving module is used for driving the input end of the CPU, the non-gate, the input end of the second triode and the input end of the CPU driving module are connected with the input end of the second triode, the non-gate, and the input end of the CPU driving module. 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 following examples of the drawings.
The embodiment is as follows: 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 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, setting an acquisition condition of an X coordinate, wherein the specific mode of 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistive touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals as X coordinate data to obtain 10X coordinate data;
(5) The specific mode of 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistance touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals 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 X 5 And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X 6 And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X 7 The mean value of the X-coordinate data arranged at the 5 th, 6 th and 7 th bits among the sorted 10X-coordinate data is denoted as X avg Wherein x is avg =(x 5 +x 6 +x 7 ) 2 division of 3, calculating x respectively 5 、x 6 And x 7 And x avg The 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 Y 5 And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y 6 And the Y coordinate data arranged at the 7 th bit in the sorted 10Y coordinate data is recorded as Y 7 The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Y avg . Wherein y is avg =(y 5 +y 6 +y 7 ) Div 3, calculate y separately 5 、y 6 And y 7 And y avg The absolute value of the difference between;
(9) Judgment of x 5 And x avg Absolute value of the difference between, x 6 And x avg Absolute value of the difference between, x 7 And x avg Absolute value of the difference between, y 5 And y avg Absolute value of the difference between, y 6 And y avg Absolute value of the difference between and y 7 And y avg Whether the absolute values of the differences are less than 40, if so, obtaining (x) currently avg ,y avg ) If at least one of the acquired touch signals of the five-wire resistance touch screen is not less than 40, returning to the step (3) for re-acquisition until the acquired touch signals are acquired againAre less than 40 or the touch signal on the five-wire resistive touch screen disappears.
As shown in fig. 6, in this embodiment, each driving module includes a diode D1, a first triode Q1, a second triode 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 triode Q1 is a PNP type triode, the second triode Q2 is an NPN type triode, the not gate U1 has an input terminal, an output terminal, a power terminal and a ground terminal, the positive terminal of the diode D1, one terminal of the second capacitor C2, the collector of the first triode Q1 and the collector of the second triode Q2 are connected, and 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 pole of diode D1 and the other end of second electric capacity C2 all ground connection, the projecting pole of first triode Q1, the power end of not gate U1 and the one end of first electric capacity C1 are connected and its link inserts the power, the base of first triode Q1 and the one end of first resistance R1 are connected, the projecting pole ground connection of second triode Q2, the base of second triode Q2 and the one end of second resistance R2 are connected, the other end of first resistance R1, the other end of second resistance R2 and the output of not gate U1 are connected, the earthing terminal ground connection of not gate U1, the input of not gate U1 is drive module's input, drive module's input is used for connecting CPU, the other end ground connection of first electric capacity C1.
In this embodiment, the not gate U1 adopted in the four driving modules may be implemented by using a chip with a model 74HC14, a power supply terminal of the chip is used as the power supply terminal of the not gate U1, a ground terminal of the chip is used as the ground terminal of the not gate U1, and a pair of an input terminal and an output terminal in the chip are used as the input terminal and the output terminal of the not gate U1.

Claims (2)

1. A method for acquiring touch signals of a five-wire resistive touch screen is characterized by comprising the following steps:
(1) Each input end of an FPC lead wire of the five-wire resistive touch screen is respectively connected with a driving module, each driving module is controlled by a CPU (central processing unit), each driving module can output high level or low level under the control of the CPU, and the output end of the FPC lead wire of the five-wire resistive touch screen is connected to an AD (analog-to-digital) pin of the CPU through an RC (resistor-capacitor) 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistance touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals 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, continuously acquiring voltage signals output by the output end of an FPC lead of the five-wire resistance touch screen for 10 times through an RC series circuit after the CPU delays for 3ms to 6ms, and taking the acquired voltage signals 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) Obtaining 10 sorted X coordinatesX coordinate data arranged at 5 th, 6 th and 7 th bits in the data, and X coordinate data arranged at 5 th bit in the 10 sorted X coordinate data is recorded as X 5 And the X coordinate data arranged at the 6 th bit in the sorted 10X coordinate data is recorded as X 6 And the X coordinate data arranged at the 7 th bit in the sorted 10X coordinate data is recorded as X 7 The mean value of the X-coordinate data arranged at the 5 th, 6 th and 7 th bits among the sorted 10X-coordinate data is denoted as X avg Wherein x is avg =(x 5 +x 6 +x 7 ) 2 division of 3, calculating x respectively 5 、x 6 And x 7 And x avg The 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 Y 5 And the Y coordinate data arranged at the 6 th bit in the sorted 10Y coordinate data is recorded as Y 6 And the Y coordinate data arranged at the 7 th bit in the sorted 10Y coordinate data is recorded as Y 7 The mean value of the 5 th, 6 th and 7 th Y coordinate data in the sorted 10Y coordinate data is recorded as Y avg Wherein y is avg =(y 5 +y 6 +y 7 ) Div 3, calculate y separately 5 、y 6 And y 7 And y avg The absolute value of the difference between;
(9) Judgment of x 5 And x avg Absolute value of the difference between, x 6 And x avg Absolute value of the difference between, x 7 And x avg Absolute value of the difference between, y 5 And y avg Absolute value of the difference between, y 6 And y avg Absolute value of the difference between and y 7 And y avg Whether the absolute values of the differences are all less than 40, if all are less than 40, then the current (x) is obtained avg ,y avg ) 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 includes 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 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, and the connection terminal of the diode and the second triode is the output terminal of the driving module, the output terminal of the driving module is used to connect the input terminal of the FPC lead of the five-wire resistive touch screen, the cathode of the diode and the other end of the second capacitor are all grounded, the emitter of the first triode, the power terminal of the not gate and one end of the first capacitor are connected, the connection terminal of the emitter of the first triode, the base of the first triode and the first resistor are connected to the ground, the emitter of the second resistor and the second resistor are connected to the ground, the base of the second triode, the driving module is connected to the input terminal of the second triode, the second resistor and the ground terminal of the non-gate, the input terminal of the CPU, the second triode, the gate are connected to the input terminal of the transistor, the input terminal of the driving module.
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 CN111198633A (en) 2020-05-26
CN111198633B true 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 (4)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200933453A (en) * 2008-01-29 2009-08-01 Ideacom Technology Inc Control device for determining 4-wire or 5-wire resistive touch screen
US8269745B2 (en) * 2010-01-13 2012-09-18 Texas Instruments Incorporated 5-wire resistive touch screen pressure measurement circuit and method

Patent Citations (4)

* 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
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
CN111198633A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN1447279A (en) High reliable touch screen and manufacturing technique
US9256335B2 (en) Integrated receiver and ADC for capacitive touch sensing apparatus and methods
US9703428B2 (en) Touch panel and touch detecting method therefor
CN111198633B (en) Five-wire resistance touch screen touch signal acquisition method
CN106066735B (en) Array substrate and touching display screen
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
CN104169854A (en) An icon arranging method and a terminal
TW202119187A (en) Touch structure, touch method and touch display device
CN207249643U (en) Touch display system
CN104484084A (en) Driving method of touch screen, touch screen and display device
CN109960677B (en) Extension circuit for USB interface
CN208780808U (en) Correction platform near infrared communication circuit and correction platform
CN111625146B (en) Electronic product with double touch screens
CN209946862U (en) Touch display with interface conversion
WO2017045094A1 (en) Method and terminal for controlling number of touch panel reporting points
CN204442339U (en) A kind of transducer connecting circuit
CN115756217A (en) Touch identification circuit of digital resistance touch screen
CN204790706U (en) Touch all -in -one external device's control circuit
CN216901858U (en) Resistance-type touch screen drive circuit of POS machine
CN204406377U (en) A kind of resistive touch screen driving circuit
CN217985028U (en) High stability charge reset circuit and electronic product
CN204256714U (en) A kind of touch-screen and display device
TWI714198B (en) Multi-touch resistive touch panel
CN103631464A (en) Touch screen module and touch detection method

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