This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No. 101133636 filed in Taiwan (R.O.C.) on Sep. 14, 2012, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a method for controlling clocks, and more particularly, to method and system for testing matrices, which are capable of increasing the efficiency in testing matrices, and method for controlling voltage clocks.
2. Description of the Prior Art
Nowadays, computers and electronic facilities have been widely used at home and at work, and a keyboard is one of the important tools for inputting control commands or data thereinto. Therefore, the quality and performance of a keyboard directly affect whether computers and electronic facilities can be stably and accurately operated. For a keyboard, its keys are directly operated elements, thus the test on keys is important for computers and electronic facilities.
Conventionally, a keyboard is designed by a key matrix structure in order to reduce the number of connection lines arranged between the keyboard and the computer. During the process of testing a keyboard, when a plurality of keys are depressed simultaneously, it may be unable to identify the input signal of a single key due to the physical characteristics of the key matrix, or the physical characteristics of the key matrix per se cause the ghost key phenomenon, resulting in an invalid test.
Because of the physical characteristics of the above-mentioned key matrix 100, when any three of the keys corresponding to the switch elements SW1-SW4 are depressed, even if the remaining key is not depressed, the system will make an erroneous judgment that the remaining key has been depressed, where the remaining key is the so-called ghost key. To more specifically describe the ghost key phenomenon, please refer to
In the past, whether individual keys function properly is usually determined by manually depressing each key or by avoiding simultaneous depressing of certain key combinations which may cause the ghost key phenomenon. Alternatively, the keyboard circuit is provided with additional devices, such as diode separation loop or voltage division resistor, to prevent the ghost key phenomenon. However, these methods are time-consuming and laborious, require an excessive investment of facilities and incur high labor costs. Accordingly, the efficiency of the aforementioned methods is not satisfactory.
Therefore, a need exists in the art for method and system for testing matrices, which are capable of increasing the efficiency in testing matrices, and method for controlling voltage clocks.
In view of the aforementioned problems of the prior art, an object of the present invention is to provide method and system for testing matrices and method for controlling voltage clocks so as to solve the problem that the existing techniques for testing matrices are not satisfactory.
According to an object of the present invention, there is provided a method for testing matrices, comprising the steps of: providing a matrix circuit comprising a plurality of first end points and a plurality of second end points, wherein there is a path having a switch thereon between each one of the plurality of first end points and a corresponding one of the plurality of second end points; supplying pulse voltages to the plurality of first end points or the plurality of second end points in accordance with a time sequence, wherein each of the pulse voltages has a given time width and there is no temporal overlap between the pulse voltages; and determining whether each of the switches functions properly through simultaneous depressing of more than one of the switches and on the basis of the amounts of time for which respective pulse voltages function at the plurality of first end points or the plurality of second end points.
According to an object of the present invention, there is provided a system for testing matrices, comprising: a plurality of depressing elements; a pulse voltage generating unit; a matrix circuit comprising a plurality of first end points and a plurality of second end points, there being a path having a switch thereon between each one of the plurality of first end points and a corresponding one of the plurality of second end points; a processing module controlling the pulse voltage generating unit to sequentially supply pulse voltages to the plurality of first end points or the plurality of second end points, each of the pulse voltages having a given time width and there being no temporal overlap between the pulse voltages, the processing module controlling more than one of the plurality of depressing elements to simultaneously depress more than one of the switches and thereby to generate a depressing result; and a monitoring module determining whether each of the switches functions properly based on the depressing result and the amounts of time for which respective pulse voltages function at the plurality of first end points or the plurality of second end points.
According to an object of the present invention, there is provided a method for controlling voltage clocks for use in a matrix test system, comprising the steps of: providing a matrix circuit comprising a plurality of first end points and a plurality of second end points, wherein there is path having a switch thereon between each one of the plurality of first end points and a corresponding one of the plurality of second end points; and supplying pulse voltages to the plurality of first end points or the plurality of second end points in a sequential order, wherein each of the pulse voltages has a given time width and there is no temporal overlap between the pulse voltages.
The aforementioned aspects and other aspects of the present invention will be better understood with reference to the following exemplary embodiments and drawings.
The present invention will be fully described by way of preferred embodiments and appended drawings to facilitate the understanding of the technical features, contents and advantages of the present invention. It will be understood that the appended drawings are merely schematic representations and may not be illustrated according to actual scale and precise arrangement of the implemented invention. Therefore, the present invention shall not be construed based on the scale and arrangement illustrated on the appended drawings, and the embodiments and appended drawings are not intended to limit the scope of protection of the present invention.
Moreover, the processing module 314 can control the mobile element 313 to move the matrix circuit 32 to a location to be tested. Next, the processing module 314 can further control the pulse voltage generating unit 312 to sequentially supply pulse voltages to the plurality of first end points or the plurality of second end points of the matrix circuit 32, wherein each of the pulse voltages has a given time width and there is no temporal overlap between the pulse voltages. The processing module 314 also controls more than one of the plurality of depressing elements 311 to simultaneously depress more than one of the switches to generate a depressing result at the same time. The monitoring module 315 can determine whether each of the switches functions properly based on the depressing result and the amounts of time for which respective pulse voltages function at the plurality of first end points or the plurality of second end points of the matrix circuit 32.
That is, the multi-stage supply of pulse voltages enables the occurrence of a high voltage level and a low voltage level in an alternating manner (the use of different voltage levels and pulses). The pulse voltages are inputted from the positive voltage end points C1 and C2 of the key matrix. The time when the pulse voltage starts varies at different positive voltage end points. At any specific time, only one positive voltage end point is at the high voltage level while the other positive voltage end point is at the low voltage level. Next, the impedance value or voltage is measured at the ground points R1 and R2 of the key matrix, and whether or not a key is depressed is determined by whether the corresponding line is turned on. With known lines and data corresponding to the keys, any individual key can be identified easily to avoid an erroneous judgment. Even if a plurality of keys are depressed simultaneously and it is likely that the ghost key phenomenon may occur, the depressed key can be accurately identified because the On signals will not be measured simultaneously at the ground points R1 and R2 when pulse voltages are inputted from the positive voltage end points C1 and C2.
Those having ordinary knowledge in the art can understand that the exemplary 2×2 matrix circuit, the electric potentials of the end points C1, C2 and the ground points R1, R2 with respect to each other and the order in which the pulse voltages are supplied in multi stages are exemplary and are not intended to limit the present invention, and that any method or system without departing from the spirit and scope of the present matrix test system falls within the spirit of the present invention.
To sum up, the method and system for testing matrices and the method for controlling voltage clocks of the present invention enable simultaneous depressing of a plurality of keys of a keyboard and the identification of ghost keys by changing the test method without increasing the cost incurred by the parts of the keyboard. The present invention can increase the speed in testing a keyboard and reduce the production cost.
With the present invention, even if a plurality of keys are depressed simultaneously, individual keys can be identified and an erroneous judgment caused by the ghost key phenomenon can be prevented. Respective lines can be identified through the use of different voltage levels and the arrangement of time intervals provided the pulse voltages.
Moreover, the present invention can also be operated together with a force sensor and a key stroke logging method (optical scale, stepper motor, servomotor, etc.) to measure and record a D-F curve and to measure the amount of time required to turn on a key (location) of the key matrix by supplying pulse voltages to the positive voltage end points so as to determine unsatisfactory performance of a key concerning touch feelings, heavy depressing, sensitivity, self-conductivity, etc.
The embodiments depicted above are exemplary and are not intended to limit the scope of the present creation. Any change or alteration with equivalent efficiency made without departing from the spirit and scope of this invention fall within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
101133636 | Sep 2012 | TW | national |