Disclosure of Invention
In view of the above, it is desirable to provide a capacitive screen mutual capacitance short circuit testing method, a capacitive screen mutual capacitance short circuit testing device, and a computer readable storage medium for improving the accuracy of the short circuit test.
In order to solve the technical problems, the invention adopts the technical scheme that: a mutual capacitance short circuit test method for a capacitive screen comprises the following steps:
sending a test command to a control board of the capacitive screen;
a control board of the capacitive screen receives a test command and sends a series of voltage signals to the channel;
the detection device receives the voltage signals, and whether the capacitive screen is short-circuited or not is judged according to the number of the received voltage signals.
Furthermore, the control panel of the capacitive screen sends a string of voltage signals to each channel, the detection device is connected with one of the channels, and if the number of the voltage signals received by the detection device is one, the channel is judged to pass, and a passing signal is sent.
Furthermore, if the number of the voltage signals received by the detection device is two or more, the channel is determined to be a short-circuit channel, and a short-circuit signal is sent out.
Further, a control board of the capacitive screen sends a voltage signal to the short-circuit channel, the detection device is connected with other channels to judge whether the voltage signal is received, and if the voltage signal is received, the channel and the short-circuit channel are judged to be short-circuited.
Furthermore, a control board of the capacitive screen sends a string of voltage signals to one of the channels, the detection device is connected with the other channels, and if the detection device receives the voltage signals, the channel which is sent with the voltage signals and the channel which receives the voltage signals are judged to be short-circuited.
Further, the detection device measures the voltage value of the received voltage signal and calculates the impedance of the short-circuit channel according to the voltage value, thereby calculating the number of channels in short-circuit connection with the short-circuit channel.
The present invention also provides a detection apparatus comprising:
the command sending module is used for sending a test command to a control board of the capacitive screen;
the receiving module is used for receiving a voltage signal transmitted by a control board of the capacitive screen from a channel;
and the processing module is used for calculating the number of the voltage signals.
Further, the device also comprises a voltage measuring module used for measuring the voltage value of the voltage signal.
Further, the test device also comprises an indication module used for displaying the test result.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of a capacitive screen mutual capacitance short circuit test method as described above.
The invention has the beneficial effects that: the signal channel short circuit is different from the common circuit short circuit, the voltage signal transmitted by the channel is tested, and the test is not influenced by the divider resistance. Normally, each channel is independent, the voltage signals of other channels cannot be received by the channel under the condition of no short circuit, and whether the short circuit exists or not can be judged by judging whether the detected channel has redundant voltage signals or not. The test stability is strong, the accuracy is high, the test is not influenced by a divider resistor and is irrelevant to the length, the resistance and the like of each channel.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the following describes a method, a device and a computer readable storage medium for testing mutual capacitance short circuit of a capacitive screen in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1 and 2, a method for testing mutual capacitance short circuit of a capacitive screen includes:
sending a test command to a control board of the capacitive screen;
a control board of the capacitive screen receives a test command and sends a series of voltage signals to the channel;
the detection device receives the voltage signals, and whether the capacitive screen is short-circuited or not is judged according to the number of the received voltage signals.
The signal channel short circuit is different from the common circuit short circuit, the voltage signal transmitted by the channel is tested, and the test is not influenced by the divider resistance. Normally, each channel is independent, the voltage signals of other channels cannot be received by the channel under the condition of no short circuit, and whether the short circuit exists or not can be judged by judging whether the detected channel has redundant voltage signals or not. The test stability is strong, the accuracy is high, the test is not influenced by voltage-dividing resistance, and the test is irrelevant to the length, the resistance and the like of each channel.
Referring to fig. 2, a control board of the capacitive screen sends a series of voltage signals to each channel, the detection device is connected to one of the channels, and if the number of the voltage signals received by the detection device is one, the channel is determined to pass, and a pass signal is sent.
Referring to fig. 2, if the number of the voltage signals received by the detection device is two or more, it is determined that the channel is a short-circuit channel, and a short-circuit signal is sent. The short-circuit signal and the passing signal can be subjected to man-machine interaction in the modes of indicator lights, display screens, sounds and the like.
Referring to fig. 2, a control board of the capacitive screen sends a voltage signal to the short-circuit channel, and the detection device is connected to other channels to determine whether the voltage signal is received, and if the voltage signal is received, it is determined that the channel and the short-circuit channel are short-circuited. Therefore, which channels are short-circuited is determined, and maintenance is convenient.
Referring to fig. 2, when the channel is detected to be short-circuited, the detection device measures a voltage value of the received voltage signal, and calculates an impedance of the short-circuited channel according to the voltage value, thereby calculating the number of channels short-circuited to the short-circuited channel. That is, the calculated impedance is divided by the impedance of a single channel to perform rounding, and the rounding is performed according to a remainder further method outside the error range. If the measured and calculated impedance is 100 Ω, the average impedance of a single channel is 21 Ω, the error range is ten percent, and the 16 Ω of the remainder is less than ten (+/-2.1 Ω) and is about 4.7 except for ten percent, the number of the short-circuit channels is 5, namely 4 channels in short-circuit connection with the short-circuit channels; if the measured and calculated impedance is 42 Ω, the average impedance of a single channel is 20 Ω, the error range is plus or minus ten percent, and the remainder 2 Ω is within the range of ten percent (+/-2 Ω), then the number of short-circuited channels is 2, that is, the number of channels in short-circuited connection with the short-circuited channels is 1.
This embodiment can the short circuit of mutual capacitance of short circuit, then confirms the passageway of short circuit again by short-circuit detection in the electric capacity screen fast, and convenient operation is swift, and is efficient.
Example two
Referring to fig. 3, a difference from the first embodiment is:
furthermore, a control board of the capacitive screen sends a string of voltage signals to one of the channels, the detection device is connected with the other channels, and if the detection device receives the voltage signals, the channel which is sent with the voltage signals and the channel which receives the voltage signals are judged to be short-circuited. And if the detection device does not receive the voltage signal, judging that the channel of the control board which sends the signal is not short-circuited.
By the method, when the channel is short-circuited, the channel short-circuited with the channel can be directly determined, and maintenance treatment is convenient. Thus, all the channels can be tested by sending out a string of voltage signals to each channel in a time division manner.
Further, when the short circuit of the channel is detected, the detection device measures the voltage value of the received voltage signal, and calculates the impedance of the short-circuit channel according to the voltage value, thereby calculating the number of the channels in short-circuit connection with the short-circuit channel.
This embodiment has carried out one by one passageway and has detected, and the accuracy is high, can confirm the passageway of short circuit fast when the short circuit appears, conveniently maintains.
In one embodiment, the present invention also provides a detection apparatus comprising:
the command sending module is used for sending a test command to a control board of the capacitive screen;
the receiving module is used for receiving a voltage signal transmitted by a control board of the capacitive screen from a channel;
and the processing module is used for calculating the number of the voltage signals.
Further, the device also comprises a voltage measuring module used for measuring the voltage value of the voltage signal.
Further, the test device also comprises an indication module used for displaying the test result.
In one embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of a capacitive screen mutual capacitance short circuit test method described above.
In summary, the capacitive screen mutual capacitance short circuit testing method, the capacitive screen mutual capacitance short circuit testing device and the computer readable storage medium provided by the invention have the advantages that the signal channel short circuit is different from the common circuit short circuit, the voltage signal transmitted through the channel is tested, and the test is not influenced by the divider resistance. Normally, each channel is independent, the voltage signals of other channels cannot be received by the channel under the condition of no short circuit, and whether the short circuit exists or not can be judged by judging whether the detected channel has redundant voltage signals or not. The test stability is strong, the accuracy is high, the test is not influenced by a divider resistor and is irrelevant to the length, the resistance and the like of each channel.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.