Summary of the invention
In view of this, the object of the present invention is to provide the method for a kind of resistive touch screen and detected touch point coordinate, realize detecting the coordinate of two touch points of touch-screen.
For achieving the above object, one embodiment of the present of invention provide the method for a kind of resistive touch screen and detected touch point coordinate, and concrete technical scheme is as follows:
A kind of method of resistive touch screen detected touch point coordinate, described touch-screen comprise, first resistive layer, second resistive layer and some voltmeters; Resistance on described first resistive layer and second resistive layer evenly distributes along a direction; First resistive layer and the superimposed placement of second resistive layer and the distribution of resistance direction quadrature of the two; Have clearance for insulation between two resistive layers, clearance for insulation is fitted and the conducting electric current at the place, touch point, and described method is specially:
A, two touch points that obtain described resistive touch screen, be respectively first touch point and second touch point, provide steady current to first resistive layer, the two ends of first resistive layer on the direction of distribution of resistance are respectively first high-pressure stage and the first low pressure utmost point, and steady current flows to the first low pressure utmost point by first high-pressure stage;
B, utilize voltmeter to measure first high-pressure stage of first resistive layer and the magnitude of voltage of the first low pressure utmost point, and calculate the difference of magnitude of voltage between first high-pressure stage and the first low pressure utmost point, obtain first voltage difference;
C, utilize voltmeter to measure the magnitude of voltage at place, each touch point, and the magnitude of voltage that utilizes described first voltage difference and each touch point to locate, calculate the voltage that distributes on the resistance between first high-pressure stage and first touch point respectively, and the voltage that distributes on the resistance between the first low pressure utmost point and second touch point;
D, with the voltage that distributes on the resistance between first high-pressure stage and first touch point and the proportionate relationship of first voltage difference, and first magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of first voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the first resistive layer distribution of resistance direction; Preestablish the coordinate figure of first high-pressure stage and the first low pressure utmost point, and according to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on first resistive layer that convert.
Preferably, described method also comprises:
F, provide steady current to second resistive layer, the two ends of second resistive layer on the direction of distribution of resistance are respectively second high-pressure stage and the second low pressure utmost point, and steady current flows to the second low pressure utmost point by second high-pressure stage;
G, utilize voltmeter to measure the magnitude of voltage of second high-pressure stage and the second low pressure utmost point, and calculate the difference of magnitude of voltage between second high-pressure stage and the second low pressure utmost point, obtain second voltage difference;
H, utilize voltmeter to measure the magnitude of voltage at place, each touch point, and the magnitude of voltage that utilizes described second voltage difference and each touch point to locate, calculate the voltage that distributes on the resistance between second high-pressure stage and first touch point respectively, and the voltage that distributes on the resistance between the second low pressure utmost point and second touch point;
I, with the voltage that distributes on the resistance between second high-pressure stage and first touch point and the proportionate relationship of second voltage difference, and second magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of second voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the second resistive layer distribution of resistance direction; Preestablish the coordinate figure of second high-pressure stage and the second low pressure utmost point, and according to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on second resistive layer that convert.
Preferably, the one section resistance in described first high-pressure stage to the first touch point is high section resistance, and the one section resistance in the first low pressure best, second touch point is low section resistance, and then described step C is specially:
C
1, the magnitude of voltage that utilizes voltmeter to record first touch point is first magnitude of voltage, the magnitude of voltage that records second touch point is second magnitude of voltage; Utilize the magnitude of voltage of first high-pressure stage to subtract first magnitude of voltage and obtain high section resistance both end voltage; The magnitude of voltage that utilizes second magnitude of voltage to subtract the first low pressure utmost point obtains low side resistance both end voltage.
Described two touch points that obtain described resistive touch screen are specially:
S
1, do not have to provide steady current to first resistive layer under the situation of touch point at touch-screen, steady current flows to the first low pressure utmost point by first high-pressure stage;
S
2, measure the magnitude of voltage do not have first high-pressure stage and the first low pressure utmost point under the situation of touch point, and calculate and do not having under the situation of touch point the difference of magnitude of voltage between first high-pressure stage and the first low pressure utmost point, it is poor to obtain primary voltage;
S
3, exist under the prerequisite of one or two touch point, measure the magnitude of voltage of first high-pressure stage and the first low pressure utmost point, and calculate under the prerequisite of the touch point that has quantity the unknown the difference of magnitude of voltage between first high-pressure stage and the first low pressure utmost point, it is poor to obtain reference voltage;
S
4, comparison reference voltage difference and primary voltage be poor, to equal primary voltage poor when reference voltage difference value, determines that then touch point quantity is one, poor less than primary voltage when reference voltage difference value, determines that then touch point quantity is two.
Preferably, determine that touch point quantity is one after, then described touch point is single touch point, described method also comprises:
T
1, utilize voltmeter to measure the magnitude of voltage at place, single touch point, described single touch point is divided into two sections resistance with first resistive layer, utilize the magnitude of voltage at described primary voltage difference and single touch point place, calculate the magnitude of voltage that distributes on every section resistance of two sections resistance on first resistive layer respectively;
T
2, with the proportionate relationship of the magnitude of voltage that distributes on two sections resistance and the primary voltage difference proportionate relationship as this resistance lineal measure and the first resistive layer distribution of resistance direction total length; Preestablish the coordinate figure of first high-pressure stage and the first low pressure utmost point, and according to aforementioned proportion relation and the predefined coordinate figure coordinate figure of single touch point on first resistive layer that convert.
A kind of resistive touch screen, described touch-screen comprises: constant current source, first resistive layer, second resistive layer, voltage check device and processor are specially:
Constant current source is used for providing steady current to first resistive layer and/or second resistive layer;
First resistive layer and second resistive layer, resistance evenly distributes along a direction, and there are clearance for insulation in described first resistive layer and the superimposed placement of second resistive layer, and distribution of resistance direction quadrature between two resistive layers, and clearance for insulation is fitted and the conducting electric current at the place, touch point; First resistive layer is respectively first high-pressure stage and the first low pressure utmost point along the two ends on the direction of distribution of resistance, second resistive layer is respectively second high-pressure stage and the second low pressure utmost point along the two ends on the direction of distribution of resistance, preestablish the coordinate figure of first high-pressure stage, the first low pressure utmost point, second high-pressure stage and the second low pressure utmost point;
Voltage check device comprises some voltmeters, is used for measuring the magnitude of voltage of each point on first resistive layer and/or second resistive layer;
Processor, for two touch points that obtain described resistive touch screen, the control constant current source provides steady current to first resistive layer, and the command voltage pick-up unit measures first high-pressure stage of first resistive layer and the voltage of the first low pressure utmost point, reaches the voltage of two touch points; Processor obtains the voltage of described first high-pressure stage and the first low pressure utmost point and the magnitude of voltage at place, two touch points, with the voltage difference between first high-pressure stage and the first low pressure utmost point as first voltage difference, calculate the voltage that distributes on the resistance between first high-pressure stage and first touch point, and the voltage that distributes on the resistance between the first low pressure utmost point and second touch point; With the voltage that distributes on the resistance between first high-pressure stage and first touch point and the proportionate relationship of first voltage difference, and first magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of first voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the first resistive layer distribution of resistance direction; According to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on first resistive layer that convert.
Preferably, described processor also is used for:
The control constant current source provides steady current to second resistive layer, and the command voltage pick-up unit measures second high-pressure stage of second resistive layer and the voltage of the second low pressure utmost point, reaches the voltage of two touch points; Processor obtains the voltage of described second high-pressure stage and the second low pressure utmost point and the magnitude of voltage at place, two touch points, with the voltage difference between second high-pressure stage and the second low pressure utmost point as second voltage difference, calculate the voltage that distributes on the resistance between second high-pressure stage and first touch point, and the voltage that distributes on the resistance between the second low pressure utmost point and second touch point; With the voltage that distributes on the resistance between second high-pressure stage and first touch point and the proportionate relationship of second voltage difference, and second magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of second voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the second resistive layer distribution of resistance direction; According to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on second resistive layer that convert.
Described processor calculates the voltage that distributes on the resistance between first high-pressure stage and first touch point, and the voltage that distributes on the resistance between the first low pressure utmost point and second touch point is specially:
Processor is got the one section resistance in first high-pressure stage to the first touch point and is high section resistance, gets the one section resistance in the first low pressure best, second touch point and is low section resistance; The magnitude of voltage that processor is got first touch point is first magnitude of voltage, and the magnitude of voltage of getting second touch point is second magnitude of voltage; Utilize the magnitude of voltage of first high-pressure stage to subtract first magnitude of voltage and obtain high section resistance both end voltage; The magnitude of voltage that utilizes second magnitude of voltage to subtract the first low pressure utmost point obtains low side resistance both end voltage.
Two touch points that described processor obtains resistive touch screen are specially:
The processor instruction voltage check device is measured the voltage difference that do not have first resistive layer, first high-pressure stage and the first low pressure utmost point under the situation of touch point respectively and the voltage difference of first resistive layer, first high-pressure stage and the first low pressure utmost point under the prerequisite that has one or two touch point;
Processor obtains does not have under the situation of touch point the voltage difference of first high-pressure stage and the first low pressure utmost point poor as primary voltage, obtain in the voltage difference that has first high-pressure stage and the first low pressure utmost point under the prerequisite of one or two touch point as the reference voltage difference, processor comparison primary voltage difference and reference voltage are poor, to equal primary voltage poor when reference voltage difference value, determine that then touch point quantity is one, poor less than primary voltage when reference voltage difference value, determine that then touch point quantity is two.
Preferably, described processor also be used for to calculate the coordinate figure that touch point quantity is touch point under one the situation, is specially:
The processor instruction voltmeter is measured the magnitude of voltage at this place, touch point, and processor obtains the magnitude of voltage at described primary voltage difference and place, this touch point, calculates two sections magnitudes of voltage that resistance distributes separately that are divided into by this touch point on first resistive layer; Processor is with the proportionate relationship of the magnitude of voltage that distributes on two sections resistance and the primary voltage difference proportionate relationship as this resistance lineal measure and resistive layer distribution of resistance direction total length; And according to the coordinate figure of aforementioned proportion relation and predefined first high-pressure stage and the first low pressure utmost point coordinate figure of this touch point on first resistive layer that convert.
As seen through the above technical solutions, the beneficial effect that the present invention exists is, realized two touch point coordinates of detection resistive touch screen, improved the situation that can only detect single touch point coordinate in the prior art, improved the performance of resistive touch screen; In addition, the present invention can also realize judging that touch point quantity on the described resistive touch screen is specially one or two function, and takes corresponding detection method to detect the coordinate of one or two touch point according to different touch point quantity.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
With reference to shown in Figure 2, the method for the invention step may be summarized to be:
1, obtains two touch points of described resistive touch screen, be respectively first touch point and second touch point, provide steady current to first resistive layer, the two ends of first resistive layer on the direction of distribution of resistance are respectively first high-pressure stage and the first low pressure utmost point, and steady current flows to the first low pressure utmost point by first high-pressure stage;
2, utilize voltmeter to measure first high-pressure stage of first resistive layer and the magnitude of voltage of the first low pressure utmost point, and calculate the difference of magnitude of voltage between first high-pressure stage and the first low pressure utmost point, obtain first voltage difference;
3, utilize voltmeter to measure the magnitude of voltage at each place, touch point, and the magnitude of voltage that utilizes described first voltage difference and each touch point to locate, calculate the voltage that distributes on the resistance between first high-pressure stage and first touch point respectively, and the voltage that distributes on the resistance between the first low pressure utmost point and second touch point;
4, with the voltage that distributes on the resistance between first high-pressure stage and first touch point and the proportionate relationship of first voltage difference, and first magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of first voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the first resistive layer distribution of resistance direction; Preestablish the coordinate figure of first high-pressure stage and the first low pressure utmost point, and according to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on first resistive layer that convert.
With reference to the circuit diagram in the specific embodiment that Figure 3 shows that the method for the invention, the concrete structure of wherein said resistive touch screen comprises: two resistive layers, current source and some voltmeters, and wherein two resistive layers are respectively transverse electric resistance layer and longitudinal electrical resistance layer;
Wherein transverse electric resistance layer resistance is used for obtaining the touch point horizontal ordinate along horizontal linear distribution; The two poles of the earth of transverse electric resistance layer are named as p
1The utmost point and n
1The utmost point; And suppose p in the present embodiment
1The polar coordinates value is 0, n
1The polar coordinates value is 100, and the total resistance value of transverse electric resistance layer is 100 Ω, also just representative, and coordinate figure differs the point-to-point transmission of a unit, and resistance value is 1 Ω.
Longitudinal electrical resistance layer resistance is linear distribution longitudinally, is used for obtaining the touch point ordinate; The two poles of the earth of longitudinal electrical resistance layer are named as p
2The utmost point and n
2The utmost point; And suppose p in the present embodiment
2The polar coordinates value is 0, n
2The polar coordinates value is 100, and the total resistance value of longitudinal electrical resistance layer is 100 Ω, also just representative, and coordinate figure differs the point-to-point transmission of a unit, and resistance value is 1 Ω.
Transverse electric resistance layer and longitudinal electrical resistance be stacked to close placement, has clearance for insulation between two resistive layers; When not touching described resistive touch screen, because the existence of clearance for insulation is considered as opening circuit between two resistive layers, electric current can't circulate between two resistive layers; When touching described resistive touch screen, two resistive layers fit at touch location; No longer insulating in the applying position, can realize the conducting of electric current, and described applying position is called as the touch point.
Current source connects transverse electric resistance layer and longitudinal electrical resistance layer, and being used for provides steady current to horizontal resistive layer and/or longitudinal electrical resistance layer.
Voltmeter connects transverse electric resistance layer and longitudinal electrical resistance layer, is used for measuring the magnitude of voltage on transverse electric resistance layer and/or the longitudinal electrical resistance layer optional position.
The two poles of the earth of transverse electric resistance layer are named as p
1The utmost point and n
1The utmost point, the two poles of the earth of longitudinal electrical resistance layer are named as p
2The utmost point and n
2The utmost point, voltmeter M
P1Connect p
1The utmost point, voltmeter M
N1Connect n
1The utmost point; Two touch points are k
1And k
2, touch point k as shown in the figure
1Than touch point k
2Near p
1The utmost point; Described transverse electric resistance layer touched point k
1And k
2Be divided into three sections resistance, establish p
1Best touch point k
1Section is resistance R
1, touch point k
2To n
1Utmost point section is resistance R
3, touch point k
1To touch point k
2Section is resistance R
2Voltmeter M
1Connect touch point k
1, voltmeter M
2Connect touch point k
2
In like manner as shown in the figure, also touched point k of longitudinal electrical resistance layer
1With touch point k
2Be divided into three sections resistance, be respectively resistance R
4, resistance R
5, resistance R
6
Current source provides steady current to horizontal resistive layer, and described steady current is by p
1The utmost point flows to n
1The utmost point; Touch point k
1And k
2Make transverse electric resistance layer and longitudinal electrical resistance layer two parts circuit communication, transverse electric resistance layer and longitudinal electrical resistance layer are fitted two touch point position, and electric current is shunted from the touch point, import the longitudinal electrical resistance layer.Can be equivalent with touch point k
1And k
2Circuit after the connection is considered as resistance R
2With resistance R
5After the parallel connection, resistance in series R again
1With resistance R
3
Voltmeter M
P1Record shunting back transverse electric resistance layer p
1Magnitude of voltage V
P1, voltmeter M
N1Record shunting back longitudinal electrical resistance layer n
1Magnitude of voltage V
N1
Calculate the p after shunting
1And n
1Between the difference of voltage, i.e. V
P1-V
N1=Δ V
1
In the practical operation of present embodiment, obtain V
P1=2 volts, V
N1=1 volt, Δ V
1=1 volt;
Voltmeter M
1Record touch point k
1Magnitude of voltage V
K1, voltmeter M
2Record touch point k
2Magnitude of voltage V
K2
In the practical operation of present embodiment, obtain V
K1=1.7 volts, V
K1=1.3 volts;
Calculated resistance R
1Both end voltage V
R1=V
P1-V
K1=0.3 volt; Resistance R
3Both end voltage V
R3=V
K2-V
N1=0.3 volt;
Proportionate relationship V
R1/ Δ V
1Be p
1Best touch point k
1The distance of section and the proportionate relationship of the horizontal total length of transverse electric resistance layer; Proportionate relationship V
R3/ Δ V
1Be touch point k
2To n
1The proportionate relationship of the distance of utmost point section and the horizontal total length of transverse electric resistance layer;
Mathematical method according to the ratiometric conversion coordinate figure is as follows, works as p
1The polar coordinates value is x
p, n
1The polar coordinates value is x
n, touch point k
1Apart from p
1The distance of the utmost point is l
1, touch point k
2Apart from n
1The distance of the utmost point is l
2, touch point k then
1Coordinate figure
Touch point k
2Coordinate figure
The concrete numerical result of substitution in the present embodiment is: touch point k
1Coordinate figure be 0+30=30, touch point k
2Coordinate figure be 100-30=70, touch point k
1And k
2Coordinate figure on the transverse electric resistance layer, i.e. horizontal ordinate.
In like manner, can make current source provide steady current to the longitudinal electrical resistance layer, calculate touch point k according to the method described above
1And k
2Coordinate figure on the longitudinal electrical resistance layer, i.e. ordinate;
Described horizontal ordinate and ordinate constitute the coordinate figure of touch point in resistive touch screen jointly.
In addition, in the embodiment shown in fig. 3, also comprised and judged that touch point quantity is one or two method, is specially:
Under the prerequisite that does not touch described resistive touch screen, voltmeter M
P1Record the transverse electric resistance layer p that does not apply the touch point
1The magnitude of voltage V of the utmost point
P0, voltmeter M
N1Record the longitudinal electrical resistance layer n that does not apply the touch point
1The magnitude of voltage V of the utmost point
N0
Calculate the p that does not apply the touch point
1The utmost point and n
1The difference of the voltage between the utmost point, i.e. V
P0-V
N0=Δ V
0
In the practical operation of present embodiment, obtain V
P0=2 volts, V
N0=0.5 volt, Δ V
0=1.5 volts;
When described resistive touch screen applies the touch point, voltmeter M
P1Record the transverse electric resistance layer p that applies behind the touch point
1The magnitude of voltage V ' of the utmost point
P0, voltmeter M
N1Record the longitudinal electrical resistance layer n that applies behind the touch point
1The magnitude of voltage V ' of the utmost point
N0
Calculating applies the p behind the touch point
1The utmost point and n
1The difference of the voltage between the utmost point, i.e. V '
P0-V '
N0=Δ V '
0
Under the prerequisite that does not touch described resistive touch screen, p
1Best n
1All-in resistance is 100 Ω between the utmost point.
When there is a touch point in touch-screen, p
1Best n
1All-in resistance is similarly 100 Ω between the utmost point, does not change, so apply a p behind the touch point
1The utmost point and n
1The difference of the voltage between the utmost point does not change yet, i.e. Δ V
0Equal Δ V '
0
When there were two touch points in touch-screen, then the equivalent circuit diagram of touch-screen and circuit embodiment illustrated in fig. 3 were in full accord, are resistance R
2With resistance R
5After the parallel connection, resistance in series R again
1With resistance R
3Concern resistance R as can be known according to connection in series-parallel
2With resistance R
5Resistance after the parallel connection is less than resistance R
2Self-resistance, so under the situation that applies two touch points, p
1Best n
1All-in resistance is less than 100 Ω between the utmost point.According to ohm theorem, because current source provides steady current, under the situation that all-in resistance reduces, p
1Best n
1The difference of the voltage between the utmost point reduces, i.e. Δ V
0Greater than Δ V '
0
So only need compare Δ V
0With Δ V '
0, as Δ V
0Equal Δ V '
0, determine that then touch point quantity is one, as Δ V
0Greater than Δ V '
0, determine that then touch point quantity is two.
To judging that touch point quantity is that one or more method embodiment expands again, according to shown in Figure 4, can also further obtain a method embodiment, be used for calculating under the situation of a touch point, the coordinate figure of this touch point is specially:
Quantity is one when definite touch point, and this touch point is k
a, described transverse electric resistance layer is by k
aBe divided into two sections resistance, establish p
1Best touch point k
aSection is resistance R
a, touch point k
aTo n
1Utmost point section is resistance R
bVoltmeter M
aConnect touch point k
a
Voltmeter M
aRecord touch point k
aMagnitude of voltage V
Ka, calculated resistance R
aBoth end voltage V
Ra=V
P0-V
KaProportionate relationship V
Ra/ Δ V
0Be p
1Best touch point k
aThe distance of section and the proportionate relationship of the horizontal total length of transverse electric resistance layer; Calculate k according to the aforementioned proportion relation
aCoordinate figure on the transverse electric resistance layer, i.e. horizontal ordinate; Wherein to be converted into the mode of coordinate consistent with disclosed mode embodiment illustrated in fig. 2 for proportionate relationship.
In like manner, can make current source provide steady current to the longitudinal electrical resistance layer, calculate k according to the method described above
aCoordinate figure on the longitudinal electrical resistance layer, i.e. ordinate;
Described horizontal ordinate and ordinate constitute the coordinate figure of touch point in resistive touch screen jointly.
The described method of corresponding above-described embodiment, correspondence of the present invention a kind of resistive touch screen disclosed, be specially:
Described touch-screen comprises: constant current source, first resistive layer, second resistive layer, voltage check device and processor;
Constant current source is used for providing steady current to first resistive layer and/or second resistive layer;
First resistive layer and second resistive layer, resistance evenly distributes along a direction, and there are clearance for insulation in described first resistive layer and the superimposed placement of second resistive layer, and distribution of resistance direction quadrature between two resistive layers, and clearance for insulation is fitted and the conducting electric current at the place, touch point; First resistive layer is respectively first high-pressure stage and the first low pressure utmost point along the two ends on the direction of distribution of resistance, second resistive layer is respectively second high-pressure stage and the second low pressure utmost point along the two ends on the direction of distribution of resistance, preestablish the coordinate figure of first high-pressure stage, the first low pressure utmost point, second high-pressure stage and the second low pressure utmost point;
Voltage check device comprises some voltmeters, is used for measuring the magnitude of voltage of each point on first resistive layer and/or second resistive layer;
Processor, for two touch points that obtain described resistive touch screen, the control constant current source provides steady current to first resistive layer, and the command voltage pick-up unit measures first high-pressure stage of first resistive layer and the voltage of the first low pressure utmost point, reaches the voltage of two touch points; Processor obtains the voltage of described first high-pressure stage and the first low pressure utmost point and the magnitude of voltage at place, two touch points, with the voltage difference between first high-pressure stage and the first low pressure utmost point as first voltage difference, calculate the voltage that distributes on the resistance between first high-pressure stage and first touch point, and the voltage that distributes on the resistance between the first low pressure utmost point and second touch point; With the voltage that distributes on the resistance between first high-pressure stage and first touch point and the proportionate relationship of first voltage difference, and first magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of first voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the first resistive layer distribution of resistance direction; According to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on first resistive layer that convert.
Processor also is used for the control constant current source provides steady current to second resistive layer, and the command voltage pick-up unit measures second high-pressure stage of second resistive layer and the voltage of the second low pressure utmost point, reaches the voltage of two touch points; Processor obtains the voltage of described second high-pressure stage and the second low pressure utmost point and the magnitude of voltage at place, two touch points, with the voltage difference between second high-pressure stage and the second low pressure utmost point as second voltage difference, calculate the voltage that distributes on the resistance between second high-pressure stage and first touch point, and the voltage that distributes on the resistance between the second low pressure utmost point and second touch point; With the voltage that distributes on the resistance between second high-pressure stage and first touch point and the proportionate relationship of second voltage difference, and second magnitude of voltage that distributes on the resistance between the low pressure utmost point and second touch point and the proportionate relationship of second voltage difference, as the proportionate relationship of total length on this resistance lineal measure and the second resistive layer distribution of resistance direction; According to aforementioned proportion relation and the predefined coordinate figure coordinate figure of each touch point on second resistive layer that convert.
Processor calculates the voltage that distributes on the resistance between first high-pressure stage and first touch point, and first the voltage that distributes on the resistance between the low pressure utmost point and second touch point be specially, processor is got the one section resistance in first high-pressure stage to the first touch point and is high section resistance, gets the one section resistance in the first low pressure best, second touch point and is low section resistance; The magnitude of voltage that processor is got first touch point is first magnitude of voltage, and the magnitude of voltage of getting second touch point is second magnitude of voltage; Utilize the magnitude of voltage of first high-pressure stage to subtract first magnitude of voltage and obtain high section resistance both end voltage; The magnitude of voltage that utilizes second magnitude of voltage to subtract the first low pressure utmost point obtains low side resistance both end voltage.
Two touch points that processor obtains resistive touch screen are specially, the processor instruction voltage check device is measured the voltage difference that do not have first resistive layer, first high-pressure stage and the first low pressure utmost point under the situation of touch point respectively and the voltage difference of first resistive layer, first high-pressure stage and the first low pressure utmost point under the prerequisite that has one or two touch point;
Processor obtains does not have under the situation of touch point the voltage difference of first high-pressure stage and the first low pressure utmost point poor as primary voltage, obtain in the voltage difference that has first high-pressure stage and the first low pressure utmost point under the prerequisite of one or two touch point as the reference voltage difference, processor comparison primary voltage difference and reference voltage are poor, to equal primary voltage poor when reference voltage difference value, determine that then touch point quantity is one, poor less than primary voltage when reference voltage difference value, determine that then touch point quantity is two.
Accordingly, described processor also be used for to calculate the coordinate figure that touch point quantity is touch point under one the situation, be specially: the processor instruction voltmeter is measured the magnitude of voltage at this place, touch point, processor obtains the magnitude of voltage at described primary voltage difference and place, this touch point, calculates two sections magnitudes of voltage that resistance distributes separately that are divided into by this touch point on first resistive layer; Processor is with the proportionate relationship of the magnitude of voltage that distributes on two sections resistance and the primary voltage difference proportionate relationship as this resistance lineal measure and resistive layer distribution of resistance direction total length; And according to the coordinate figure of aforementioned proportion relation and predefined first high-pressure stage and the first low pressure utmost point coordinate figure of this touch point on first resistive layer that convert.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.