Summary of the invention
In view of this, it is an object of the invention to provide a kind of resistive touch screen and detected touch point sits calibration method, it is achieved the coordinate of detection two touch points of touch screen.
For achieving the above object, one embodiment of the present of invention provides a kind of resistive touch screen and detected touch point to sit calibration method, and concrete technical scheme is as follows:
A kind of resistive touch screen detected touch point sits calibration method, and described touch screen includes, the first resistive layer, the second resistive layer and some voltameters;Resistance on described first resistive layer and the second resistive layer is uniformly distributed in one direction;First resistive layer and the second resistive layer overlapping are placed and the distribution of resistance direction of the two is orthogonal;There is clearance for insulation in two resistance interlayers, clearance for insulation is fitted at touch point and turns on electric current, described method particularly as follows:
A, obtain two touch points of described resistive touch screen, it is respectively the first touch point and the second touch point, constant current is provided to the first resistive layer, first resistive layer two ends on the direction of distribution of resistance are respectively the first high-pressure stage and the first low pressure pole, and constant current is flowed to the first low pressure pole by the first high-pressure stage;
B, utilize voltameter to measure the first high-pressure stage and the magnitude of voltage of the first low pressure pole of the first resistive layer, and calculate the difference of magnitude of voltage between the first high-pressure stage and the first low pressure pole, obtain the first voltage difference;
C, voltameter is utilized to measure the magnitude of voltage at each touch point, and utilize the magnitude of voltage at described first voltage difference and each touch point, calculate the voltage distributed on resistance between the first high-pressure stage and the first touch point, and the voltage distributed on resistance between the first low pressure pole and the second touch point respectively;
D, by resistance between the first high-pressure stage and the first touch point distribution voltage and the proportionate relationship of the first voltage difference, and first distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the first voltage difference, as the proportionate relationship of total length in this resistive linearity length and the first resistive layer distribution of resistance direction;Preset the first high-pressure stage and the coordinate figure of the first low pressure pole, and according to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the first resistive layer.
Preferably, described method also includes:
F, to second resistive layer provide constant current, second resistive layer two ends on the direction of distribution of resistance are respectively the second high-pressure stage and the second low pressure pole, and constant current is flowed to the second low pressure pole by the second high-pressure stage;
G, utilize voltameter to measure the second high-pressure stage and the magnitude of voltage of the second low pressure pole, and calculate the difference of magnitude of voltage between the second high-pressure stage and the second low pressure pole, obtain the second voltage difference;
H, voltameter is utilized to measure the magnitude of voltage at each touch point, and utilize the magnitude of voltage at described second voltage difference and each touch point, calculate the voltage distributed on resistance between the second high-pressure stage and the first touch point, and the voltage distributed on resistance between the second low pressure pole and the second touch point respectively;
I, by resistance between the second high-pressure stage and the first touch point distribution voltage and the proportionate relationship of the second voltage difference, and second distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the second voltage difference, as the proportionate relationship of total length in this resistive linearity length and the second resistive layer distribution of resistance direction;Preset the second high-pressure stage and the coordinate figure of the second low pressure pole, and according to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the second resistive layer.
Preferably, described first one section, high pressure best the first touch point resistance is high section resistance, and first one section, low pressure best the second touch point resistance is low section of resistance, the most described step C particularly as follows:
C1, the magnitude of voltage that utilizes voltameter to record the first touch point be the first magnitude of voltage, the magnitude of voltage recording the second touch point is the second magnitude of voltage;The magnitude of voltage utilizing the first high-pressure stage subtracts the first, and magnitude of voltage obtains high section resistance both end voltage;The magnitude of voltage utilizing the second magnitude of voltage low pressure pole that subtracts the first obtains low-side resistor both end voltage.
Two touch points of the described resistive touch screen of described acquisition particularly as follows:
S1, there is no touch point on the touchscreen in the case of, to first resistive layer provide constant current, constant current is flowed to the first low pressure pole by the first high-pressure stage;
S2, measure and there is no the first high-pressure stage and a magnitude of voltage of the first low pressure pole in the case of touch point, and calculate in the case of there is no touch point the difference of magnitude of voltage between the first high-pressure stage and the first low pressure pole, obtain primary voltage poor;
S3, exist on the premise of one or two touch point, measure the first high-pressure stage and the magnitude of voltage of the first low pressure pole, and calculate and there is on the premise of the touch point that quantity is unknown the difference of magnitude of voltage between first high-pressure stage and the first low pressure pole, obtain reference voltage poor;
S4, comparison reference voltage difference with primary voltage poor, when with reference to voltage difference numerical value equal to primary voltage poor, it is determined that touch point quantity is one, when reference voltage difference numerical value be less than primary voltage poor, it is determined that touch point quantity is two.
Preferably, after determining that touch point quantity is one, the most described touch point is one-touch point, and described method also includes:
T1, utilize voltameter to measure the magnitude of voltage at one-touch point, first resistive layer is divided into two sections of resistance by described one-touch o'clock, utilize the magnitude of voltage at described primary voltage difference and one-touch point, calculate the magnitude of voltage distributed on two sections of resistance every section resistance on the first resistive layer respectively;
T2, using the proportionate relationship of magnitude of voltage and the primary voltage difference of distribution on two sections of resistance as the proportionate relationship of this resistive linearity length Yu the first resistive layer distribution of resistance direction total length;Preset the first high-pressure stage and the coordinate figure of the first low pressure pole, and according to aforementioned proportion relation and the coordinate figure set in advance conversion one-touch o'clock coordinate figure on the first resistive layer.
A kind of resistive touch screen, described touch screen includes: constant current source, the first resistive layer, the second resistive layer, voltage check device and processor, particularly as follows:
Constant current source, for providing constant current to the first resistive layer and/or the second resistive layer;
First resistive layer and the second resistive layer, resistance is uniformly distributed in one direction, and described first resistive layer and the second resistive layer overlapping are placed, and distribution of resistance direction is orthogonal, and two resistance interlayers exist clearance for insulation, and clearance for insulation is fitted at touch point and turns on electric current;First resistive layer two ends along the direction of distribution of resistance are respectively the first high-pressure stage and the first low pressure pole, second resistive layer two ends along the direction of distribution of resistance are respectively the second high-pressure stage and the second low pressure pole, preset the first high-pressure stage, the first low pressure pole, the second high-pressure stage and the coordinate figure of the second low pressure pole;
Voltage check device, including some voltameters, for measuring the magnitude of voltage of each point on the first resistive layer and/or the second resistive layer;
Processor, for obtaining two touch points of described resistive touch screen, control constant current source and provide constant current to the first resistive layer, and command voltage detects the first high-pressure stage and the voltage of the first low pressure pole of measurement device the first resistive layer, and the voltage of two touch points;Processor obtains the magnitude of voltage at described first high-pressure stage and the voltage of the first low pressure pole and two touch points, using the voltage difference between the first high-pressure stage and the first low pressure pole as the first voltage difference, calculate the voltage distributed on resistance between the first high-pressure stage and the first touch point, and the voltage distributed on resistance between the first low pressure pole and the second touch point;By the voltage distributed on resistance between the first high-pressure stage and the first touch point and the proportionate relationship of the first voltage difference, and first distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the first voltage difference, as the proportionate relationship of total length in this resistive linearity length and the first resistive layer distribution of resistance direction;According to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the first resistive layer.
Preferably, described processor is additionally operable to:
Control constant current source and provide constant current to the second resistive layer, and command voltage detects the second high-pressure stage and the voltage of the second low pressure pole of measurement device the second resistive layer, and the voltage of two touch points;Processor obtains the magnitude of voltage at described second high-pressure stage and the voltage of the second low pressure pole and two touch points, using the voltage difference between the second high-pressure stage and the second low pressure pole as the second voltage difference, calculate the voltage distributed on resistance between the second high-pressure stage and the first touch point, and the voltage distributed on resistance between the second low pressure pole and the second touch point;By the voltage distributed on resistance between the second high-pressure stage and the first touch point and the proportionate relationship of the second voltage difference, and second distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the second voltage difference, as the proportionate relationship of total length in this resistive linearity length and the second resistive layer distribution of resistance direction;According to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the second resistive layer.
Described processor calculates between the first high-pressure stage and the first touch point the voltage of distribution on resistance, and between the first low pressure pole and the second touch point on resistance distribution voltage particularly as follows:
It is high section resistance that processor takes first one section, high pressure best the first touch point resistance, and taking first one section, low pressure best the second touch point resistance is low section of resistance;It is the first magnitude of voltage that processor takes the magnitude of voltage of the first touch point, and the magnitude of voltage taking the second touch point is the second magnitude of voltage;The magnitude of voltage utilizing the first high-pressure stage subtracts the first, and magnitude of voltage obtains high section resistance both end voltage;The magnitude of voltage utilizing the second magnitude of voltage low pressure pole that subtracts the first obtains low-side resistor both end voltage.
Described processor obtain resistive touch screen two touch points particularly as follows:
Processor instruction voltage check device is measured respectively does not has first resistive layer the first high-pressure stage and the voltage difference of the first low pressure pole in the case of touch point, and first resistive layer the first high-pressure stage and the voltage difference of the first low pressure pole on the premise of there is one or two touch point;
Processor obtains does not has the voltage difference of the first high-pressure stage and the first low pressure pole in the case of touch point poor as primary voltage, obtain the voltage difference of the first high-pressure stage and the first low pressure pole on the premise of there is one or two touch point the poorest, it is poor with reference voltage that processor compares primary voltage difference, when poor equal to primary voltage with reference to voltage difference numerical value, then determine that touch point quantity is one, when poor less than primary voltage with reference to voltage difference numerical value, it is determined that touch point quantity is two.
Preferably, described processor is additionally operable to calculate the coordinate figure of touch point in the case of touch point quantity is, particularly as follows:
The magnitude of voltage at this touch point measured by processor instruction voltameter, and processor obtains the magnitude of voltage at described primary voltage difference and this touch point, calculates the magnitude of voltage that the two sections of resistance being divided into by this touch point on the first resistive layer each distributes;Processor using the proportionate relationship of magnitude of voltage and the primary voltage difference of distribution on two sections of resistance as the proportionate relationship of this resistive linearity length Yu resistive layer distribution of resistance direction total length;And convert this touch point coordinate figure on the first resistive layer according to the coordinate figure of aforementioned proportion relation and the first high-pressure stage set in advance and the first low pressure pole.
As seen through the above technical solutions, present invention existence provides the benefit that, it is achieved that detection two touch point coordinates of resistive touch screen, improves the situation that can only detect single touch point coordinate in prior art, improves the performance of resistive touch screen;It addition, the present invention can also realize judging on described resistive touch screen that touch point quantity is specially one or two function, and take, according to different touch point quantity, the coordinate that corresponding detection method detects one or two touch point.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
With reference to shown in Fig. 2, the method for the invention step may be summarized to be:
1, two touch points of described resistive touch screen are obtained, it is respectively the first touch point and the second touch point, constant current is provided to the first resistive layer, first resistive layer two ends on the direction of distribution of resistance are respectively the first high-pressure stage and the first low pressure pole, and constant current is flowed to the first low pressure pole by the first high-pressure stage;
2, utilize voltameter to measure the first high-pressure stage and the magnitude of voltage of the first low pressure pole of the first resistive layer, and calculate the difference of magnitude of voltage between the first high-pressure stage and the first low pressure pole, obtain the first voltage difference;
3, voltameter is utilized to measure the magnitude of voltage at each touch point, and utilize the magnitude of voltage at described first voltage difference and each touch point, calculate the voltage distributed on resistance between the first high-pressure stage and the first touch point, and the voltage distributed on resistance between the first low pressure pole and the second touch point respectively;
4, by the voltage distributed on resistance between the first high-pressure stage and the first touch point and the proportionate relationship of the first voltage difference, and first distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the first voltage difference, as the proportionate relationship of total length in this resistive linearity length and the first resistive layer distribution of resistance direction;Preset the first high-pressure stage and the coordinate figure of the first low pressure pole, and according to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the first resistive layer.
The circuit diagram showing in the specific embodiment of the method for the invention with reference to Fig. 3, the concrete structure of wherein said resistive touch screen includes: two resistive layers, current source and some voltameters, two of which resistive layer is lateral resistor layer and longitudinal electrical resistance layer respectively;
Wherein lateral resistor layer resistance transversely linear distribution, is used for obtaining touch point abscissa;The two poles of the earth of lateral resistor layer are named as p1Pole and n1Pole;And the present embodiment is assumed p1Polar value is 0, n1Polar value is 100, and the total resistance value of lateral resistor layer is 100 Ω, also just represents, and the point-to-point transmission of coordinate figure one unit of difference, resistance value is 1 Ω.
Longitudinal electrical resistance layer resistance is distributed along vertical linear, is used for obtaining touch point vertical coordinate;The two poles of the earth of longitudinal electrical resistance layer are named as p2Pole and n2Pole;And the present embodiment is assumed p2Polar value is 0, n2Polar value is 100, and the total resistance value of longitudinal electrical resistance layer is 100 Ω, also just represents, and the point-to-point transmission of coordinate figure one unit of difference, resistance value is 1 Ω.
Lateral resistor layer closes with longitudinal electrical resistance stacking and places, and two resistance interlayers exist clearance for insulation;Not touching described resistive touch screen when, due to the existence of clearance for insulation, being considered as open circuit between two resistive layers, electric current cannot circulate at two resistance interlayers;When touching described resistive touch screen, two resistive layers fit on touch location;Bonding position no longer insulate, it is possible to realize the conducting of electric current, and described bonding position is referred to as touch point.
Current source connects lateral resistor layer and longitudinal electrical resistance layer, for providing constant current to lateral resistor layer and/or longitudinal electrical resistance layer.
Voltameter connects lateral resistor layer and longitudinal electrical resistance layer, for measuring the magnitude of voltage on lateral resistor layer and/or longitudinal electrical resistance layer optional position.
The two poles of the earth of lateral resistor layer are named as p1Pole and n1Pole, the two poles of the earth of longitudinal electrical resistance layer are named as p2Pole and n2Pole, voltameter Mp1Connect p1Pole, voltameter Mn1Connect n1Pole;Two touch points are k1And k2, touch point k as shown in the figure1Ratio touch point k2Near p1Pole;Described lateral resistor layer touched point k1And k2It is divided into three sections of resistance, if p1Best touch point k1Section is resistance R1, touch point k2To n1Pole section is resistance R3, touch point k1To touch point k2Section is resistance R2;Voltameter M1Connect touch point k1, voltameter M2Connect touch point k2。
In like manner as it can be seen, longitudinal electrical resistance layer also touched point k1With touch point k2It is divided into three sections of resistance, respectively resistance R4, resistance R5, resistance R6。
Current source provides constant current to lateral resistor layer, and described constant current is by p1Pole flows to n1Pole;Touch point k1And k2Lateral resistor layer and longitudinal electrical resistance layer two parts circuit communication, lateral resistor layer and longitudinal electrical resistance layer are fitted on the position of two touch points, and electric current shunts from touch point, imports longitudinal electrical resistance layer.Can be equivalent by touch point k1And k2Circuit after connection is considered as resistance R2With resistance R5After parallel connection, then series resistance R1With resistance R3。
Voltameter Mp1Record lateral resistor layer p after shunting1Magnitude of voltage Vp1, voltameter Mn1Record longitudinal electrical resistance layer n after shunting1Magnitude of voltage Vn1;
Calculate the p after shunting1And n1Between the difference of voltage, i.e. Vp1-Vn1=Δ V1;
In the practical operation of the present embodiment, obtain, Vp1=2 volts, Vn1=1 volt, Δ V1=1 volt;
Voltameter M1Record touch point k1Magnitude of voltage Vk1, voltameter M2Record touch point k2Magnitude of voltage Vk2;
In the practical operation of the present embodiment, obtain, Vk1=1.7 volts, Vk1=1.3 volts;
Calculate resistance R1Both end voltage VR1=Vp1-Vk1=0.3 volt;Resistance R3Both end voltage VR3=Vk2-Vn1=0.3 volt;
Proportionate relationship VR1/ΔV1I.e. p1Best touch point k1The distance of section and the proportionate relationship of the horizontal total length of lateral resistor layer;Proportionate relationship VR3/ΔV1I.e. touch point k2To n1The distance of pole section and the proportionate relationship of the horizontal total length of lateral resistor layer;
Mathematical method according to ratiometric conversion coordinate figure is as follows, works as p1Polar value is xp, n1Polar value is xn, touch point k1Distance p1The distance of pole is l1, touch point k2Distance n1The distance of pole is l2, then touch point k1Coordinate figure Touch point k2Coordinate figure
Substituting into concrete numerical result in the present embodiment is: touch point k1Coordinate figure be 0+30=30, touch point k2Coordinate figure be 100-30=70, touch point k1And k2Coordinate figure on lateral resistor layer, i.e. abscissa.
In like manner, current source can be made to provide constant current to longitudinal electrical resistance layer, calculate touch point k according to the method described above1And k2Coordinate figure on longitudinal electrical resistance layer, i.e. vertical coordinate;
Described abscissa and vertical coordinate collectively form touch point coordinate figure in resistive touch screen.
It addition, in the embodiment shown in fig. 3, further comprises the method judging that touch point quantity is one or two, particularly as follows:
On the premise of not touching described resistive touch screen, voltameter Mp1Record the lateral resistor layer p not applying touch point1The magnitude of voltage V of polep0, voltameter Mn1Record the longitudinal electrical resistance layer n not applying touch point1The magnitude of voltage V of polen0;
Calculate the p not applying touch point1Pole and n1The difference of the voltage between pole, i.e. Vp0-Vn0=Δ V0;
In the practical operation of the present embodiment, obtain, Vp0=2 volts, Vn0=0.5 volt, Δ V0=1.5 volts;
When applying touch point at described resistive touch screen, voltameter Mp1Record the lateral resistor layer p after applying touch point1The magnitude of voltage V ' of polep0, voltameter Mn1Record the longitudinal electrical resistance layer n after applying touch point1The magnitude of voltage V ' of polen0;
Calculate the p after applying touch point1Pole and n1The difference of the voltage between pole, i.e. V 'p0-V′n0=Δ V '0
On the premise of not touching described resistive touch screen, p1Best n1Between pole, all-in resistance is 100 Ω.
When there is a touch point in touch screen, p1Best n1Between pole, all-in resistance is similarly 100 Ω, does not change, so applying the p behind a touch point1Pole and n1The difference of the voltage between pole does not changes, i.e. Δ V0Equal to Δ V '0。
When touch screen exists two touch points, then the equivalent circuit diagram of touch screen and the circuit of embodiment illustrated in fig. 3 are completely the same, are resistance R2With resistance R5After parallel connection, then series resistance R1With resistance R3.Resistance R is understood according to connection in series-parallel relation2With resistance R5Resistance after parallel connection is less than resistance R2Self-resistance, so in the case of applying two touch points, p1Best n1Between pole, all-in resistance is less than 100 Ω.According to ohm law, owing to current source provides constant current, in the case of all-in resistance reduces, p1Best n1The difference of the voltage between pole reduces, i.e. Δ V0More than Δ V '0。
So Δ V only need to be compared0With Δ V '0, as Δ V0Equal to Δ V '0, it is determined that touch point quantity is one, as Δ V0More than Δ V '0, it is determined that touch point quantity is two.
To judging that the embodiment of the method that touch point quantity is one or more expands again, according to Fig. 4, it is also possible to obtain an embodiment of the method further, in the case of calculating a touch point, the coordinate figure of this touch point, particularly as follows:
When determining that touch point quantity is one, this touch point is ka, described lateral resistor layer is by kaIt is divided into two sections of resistance, if p1Best touch point kaSection is resistance Ra, touch point kaTo n1Pole section is resistance Rb;Voltameter MaConnect touch point ka;
Voltameter MaRecord touch point kaMagnitude of voltage Vka, calculate resistance RaBoth end voltage VRa=Vp0-Vka;Proportionate relationship VRa/ΔV0I.e. p1Best touch point kaThe distance of section and the proportionate relationship of the horizontal total length of lateral resistor layer;K is calculated according to aforementioned proportion relationaCoordinate figure on lateral resistor layer, i.e. abscissa;Wherein to be converted into mode disclosed in the mode of coordinate and embodiment illustrated in fig. 2 consistent for proportionate relationship.
In like manner, current source can be made to provide constant current to longitudinal electrical resistance layer, calculate k according to the method described aboveaCoordinate figure on longitudinal electrical resistance layer, i.e. vertical coordinate;
Described abscissa and vertical coordinate collectively form touch point coordinate figure in resistive touch screen.
Method described in corresponding above-described embodiment, what the present invention was corresponding discloses a kind of resistive touch screen, particularly as follows:
Described touch screen includes: constant current source, the first resistive layer, the second resistive layer, voltage check device and processor;
Constant current source, for providing constant current to the first resistive layer and/or the second resistive layer;
First resistive layer and the second resistive layer, resistance is uniformly distributed in one direction, and described first resistive layer and the second resistive layer overlapping are placed, and distribution of resistance direction is orthogonal, and two resistance interlayers exist clearance for insulation, and clearance for insulation is fitted at touch point and turns on electric current;First resistive layer two ends along the direction of distribution of resistance are respectively the first high-pressure stage and the first low pressure pole, second resistive layer two ends along the direction of distribution of resistance are respectively the second high-pressure stage and the second low pressure pole, preset the first high-pressure stage, the first low pressure pole, the second high-pressure stage and the coordinate figure of the second low pressure pole;
Voltage check device, including some voltameters, for measuring the magnitude of voltage of each point on the first resistive layer and/or the second resistive layer;
Processor, for obtaining two touch points of described resistive touch screen, control constant current source and provide constant current to the first resistive layer, and command voltage detects the first high-pressure stage and the voltage of the first low pressure pole of measurement device the first resistive layer, and the voltage of two touch points;Processor obtains the magnitude of voltage at described first high-pressure stage and the voltage of the first low pressure pole and two touch points, using the voltage difference between the first high-pressure stage and the first low pressure pole as the first voltage difference, calculate the voltage distributed on resistance between the first high-pressure stage and the first touch point, and the voltage distributed on resistance between the first low pressure pole and the second touch point;By the voltage distributed on resistance between the first high-pressure stage and the first touch point and the proportionate relationship of the first voltage difference, and first distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the first voltage difference, as the proportionate relationship of total length in this resistive linearity length and the first resistive layer distribution of resistance direction;According to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the first resistive layer.
Processor is additionally operable to control constant current source and provides constant current to the second resistive layer, and command voltage detects the second high-pressure stage and the voltage of the second low pressure pole of measurement device the second resistive layer, and the voltage of two touch points;Processor obtains the magnitude of voltage at described second high-pressure stage and the voltage of the second low pressure pole and two touch points, using the voltage difference between the second high-pressure stage and the second low pressure pole as the second voltage difference, calculate the voltage distributed on resistance between the second high-pressure stage and the first touch point, and the voltage distributed on resistance between the second low pressure pole and the second touch point;By the voltage distributed on resistance between the second high-pressure stage and the first touch point and the proportionate relationship of the second voltage difference, and second distribution on resistance between low pressure pole and the second touch point magnitude of voltage and the proportionate relationship of the second voltage difference, as the proportionate relationship of total length in this resistive linearity length and the second resistive layer distribution of resistance direction;According to aforementioned proportion relation and the coordinate figure set in advance each touch point of conversion coordinate figure on the second resistive layer.
Processor calculates the voltage distributed on resistance between the first high-pressure stage and the first touch point, and first the voltage of distribution on resistance between low pressure pole and the second touch point be specially, it is high section resistance that processor takes first one section, high pressure best the first touch point resistance, and taking first one section, low pressure best the second touch point resistance is low section of resistance;It is the first magnitude of voltage that processor takes the magnitude of voltage of the first touch point, and the magnitude of voltage taking the second touch point is the second magnitude of voltage;The magnitude of voltage utilizing the first high-pressure stage subtracts the first, and magnitude of voltage obtains high section resistance both end voltage;The magnitude of voltage utilizing the second magnitude of voltage low pressure pole that subtracts the first obtains low-side resistor both end voltage.
Processor obtains two touch points of resistive touch screen and is specially, processor instruction voltage check device is measured respectively does not has first resistive layer the first high-pressure stage and the voltage difference of the first low pressure pole in the case of touch point, and first resistive layer the first high-pressure stage and the voltage difference of the first low pressure pole on the premise of there is one or two touch point;
Processor obtains does not has the voltage difference of the first high-pressure stage and the first low pressure pole in the case of touch point poor as primary voltage, obtain the voltage difference of the first high-pressure stage and the first low pressure pole on the premise of there is one or two touch point the poorest, it is poor with reference voltage that processor compares primary voltage difference, when poor equal to primary voltage with reference to voltage difference numerical value, then determine that touch point quantity is one, when poor less than primary voltage with reference to voltage difference numerical value, it is determined that touch point quantity is two.
Accordingly, described processor is additionally operable to calculate the coordinate figure of touch point in the case of touch point quantity is, particularly as follows: the magnitude of voltage at this touch point measured by processor instruction voltameter, processor obtains the magnitude of voltage at described primary voltage difference and this touch point, calculates the magnitude of voltage that the two sections of resistance being divided into by this touch point on the first resistive layer each distributes;Processor using the proportionate relationship of magnitude of voltage and the primary voltage difference of distribution on two sections of resistance as the proportionate relationship of this resistive linearity length Yu resistive layer distribution of resistance direction total length;And convert this touch point coordinate figure on the first resistive layer according to the coordinate figure of aforementioned proportion relation and the first high-pressure stage set in advance and the first low pressure pole.
The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.