TOUCH OPERATED KEYBOARD

Abstract: The keyboard is designed for attachment to one side of a sheet of glass for operation by touching the other side of the sheet of glass. The keyboard and associated circuitry include means for compensating for various thicknesses of glass and for changes in environmental conditions, thereby enabling the keyboard to be reliably operable through varying thicknesses of glass.

Description: TOUCH OPERATED KEYBOARD The present invention relates to touch operated key¬ boards and more particularly to touch operated keyboards which may be operated through an unknown thickness of glass. In this specification the term glass is used since the keyboard will normally be operated through clear glass. The term glass is however to be interpreted to include any insulating material whether clear or opaque. With an opaque insulating material it is normally necess- ary to have an external faceplate to identify the touch area for each key. In other respects the problems of coping with various thicknesses of glass are the same whether it is clear or opaque. GB Patent Application No. 2011089 (equivalent to U.S. 4145748 and DE. 2854539) shows a touch pad sensor circuit which is self optimising. In this system the pads are addressed by respective drive pulses to give output values, the previous "no touch" value of each pad being stored in a memory for comparison with each new value. Thus only when the new value exceeds the old by a predetermined amount will the circuitry decide that a key has been operated. This system suffers from the disad¬ vantage that if a large capacitive object suddenly comes close to all the keys then the decision logic circuitry will conclude that all keys have been operated. Addition¬ ally the system is not sensitive enough to operate through very thick glass as found in shop windows because the thick glass produces only a small capacitive change when touched. Thus whilst this known system is accept- able in a home environment on for example kitchen ranges (see page 1 lines 8 - 14) it is not practical for shop windows where the glass is thicker and where large capac¬ itive disturbances are possible. It is an object of the present invention to provide a touch operated keyboard which is suitable for operation through window glass of the type and thickness found in shop windows and which is relatively insentitive to large capacitive disturbances affecting the whole or a substan— tial part of the keyboard. According to the present invention, there is provided a touch operated key system including a keyboard comprising a plurality of keypads, means for attaching the keyboard to a sheet of glass for operation through the glass and including apparatus for the display of data and for control of processes selectable by the keyboard, the apparatus including processing circuitry for processing signals from the keyboard to automatically compensate for variations in the environment in which the keyboard is placed, to compensate for various thicknesses of glass and to continually adjust to maintain a high level of sensitivity with minimal error when subjected to a wide range of slowly and rapidly changing environmental facxors. According to the present invention, there is further provided a touch operated key system, in which the system includes interrogation means for interrogating the output signals from one or more of the keypads, sensing means associated with the keyboard for detecting and processing the outputs of the one or more keypads, in which the- sensing means includes comparison means for comparing the output of the keypad being interrogated with the output of at least one other keypad, to determine as a result of the comparison the condition of the keypad being interrogated. According to the present invention there is also provided a touch operated keyboard for attachment to the one side of a sheet of glass for actuation through the sheet of glass, comprising a plurality of keypads dispos- ed adjacent each other in a desired pattern, interro¬ gation means for interrogating each keypad to assess the present condition of each keypad and including signal processing means connected to receive the output of each keypad, the signal processing means including common pro¬ cessing means for two or more of the keypads. In a preferred embodiment the common processing means is connected to the outputs of all keypads on the touch operated keyboard. In a further embodiment one or more of the keypads may be used for comparison purposes only and is not an operative keypad. In such a case there is no need for the keypad used for comparison to be visible to the user. Preferably the output signal from each keypad is in the form of a value of capacitance, which value changes in accordance with a number of extraneous factors and due to a factor which it is desired to detect which is prod¬ uced by a finger or similar object being placed in prox¬ imity to a keypad on the opposite side of the glass to the keypad. The signal processing means preferably in¬ cludes means for detecting changes at one or more of the keypads due to the extraneous factors and means for com¬ paring the changes with the signal received from an in¬ terrogated keypad to determine the presence of a finger or similar object. The object which touches the opposite side of the glass to the keypad will be referred to hereinafter as a finger. It could be any object that would cause an in¬ crease in the capacitance of the keypad. Additionally the finger would not necessarily have to touch the glass but could be held extremely close to the glass to achieve the same effect. Thus also for the purpose of the present invention touch is meant to indicate holding in close proximity. It is for this reason that the other extraneous factors are relevant because when one finger of a hand is touching the glass the other fingers will be close to other keys and will have an effect on those keys. O 85 -4- The capacitance generated by the touching finger through relatively thick window glass is extremely small and its detection in the presence of other extraneous effects is difficult. The most important extraneous effects are caused by large capacitive effects over several keys as with the close presence of a hand, the "peeling off" of part of the keyboard from the inside of the glass thus decreasing the contact between certain keypads and the glass rendering those keys relatively less sensitive; sunlight or other temperature deviations causing changes in the glass characteristics and in the characteristics of the electronic circuitry, rain on the outside of the window causing greater coupling between keypads and other more minor effects caused for example by wind, dust, grease, humidity, etc. The present invention therefore incorporates a number of design features to compensate . for the results of the aoove superimposed extraneous effects. In particular in a preferred emoodiment the process- ing circuitry includes drift compensation means for com¬ pensating for relatively long term drifting of the output of one or more keys relative to an average value for all eys, the drift compensation means providing an adjust¬ ment for each key drifting from the average value to ad- just the output of the key when in a non-operated con¬ dition towards the average value. Embodiments of the present invention will now be described, by way of example with reference to the accom¬ panying drawings, in which:- Figure 1 shows a touch operated keyboard system according to the present invention; Figure 2 illustrates in basic detail a known keypad suitable for operation through relatively thin glass; Figure 3 shows in basic detail a more sensitive key¬ pad according to the present invention for operation through various thicknesses of glass both thin and thick;- Figure 4 shows a partially sectional rear view ' of the keypad of Figure 3; Figure 5 shows a cross-section through the keypad of Figure 4; Figure 6 shows in block diamgrammatiσ form the key¬ pad of Figure 4 and associated circuitry according to the present invention; Figure 7 shows in block diagrammatic form, a computer interface according to the present invention for co-operation with the circuitry of Figure 6; Figure 8 shows timing diagrams for the circuitry of Figures 6 and 7; Figure 9 shows in block diagrammatic form one poss- iole decision making circuit for the keypad system according to the present invention; Figure 10 shows in greater detail in clock diagram- atic form the signal threshold and drift processing cir¬ cuitry of Figure 9; Figure 11 shows a first set of typical keypad sig¬ nals from a keyboard such as shown in Figures 4 or 5; Figure 12 shows the effect of the drift compensation circuit of Figure 10 on the processing of the signals of Figure 11; Figure 13 shows a main program for a microprocessor for processing the signals by digital means; Figure 14 shows in greater detail an initialise routine for the program of Figure 13; Figure 15 shows in greater detail a scan key routine for the program of Figure 13; Figure 16 shows in greater detail a routine for pro¬ cessing the result of the scan key routine of Figure 15; and Figure 17 shows a drift compensation routine for processing the results of the processing routine of Fig¬ ure 16. With reference now to Figure 1 the touch operated keyboard system includes a keyboard assembly 10 comprising a sensor pad 12 and interface circuitry 14 mounted on a glass (insulator) surface 16. Output signals from circuitry 14 are transmitted on a link 18 to a computer 20 via an interface 22. The computer may control and/or receive instructions from a variety of apparatus such as a visual display unit (VDU) 24; an industrial control 25; a modem 26 for communication with a general computer network, for example via a telephone link; a video tape or disc recorder 28; a mass storage (e.g. fixed disc) apparatus 30; and a remote computer 32 which could for example control a further visual display (not snown) at the remote location. The industrial control could be an electro-mechanical device for control of an industrial process or could be a roDot or projector for operation in a shop window. With reference now to Figure 2 a known keyboard sen¬ sing system is shown. Each pad 42, 44, 46 etc is conn¬ ected to a decision circuit 48 which receives the outputs from the pads via respective capacitance transducers 50, 52, 54 and on the basis of a change in capacitance pro¬ vides an output on line 56 indicative of the key touched by a finger 58. A first disadvantage of this design is that the decision circuit needs to be built into the Keyboard. If not then a large number of connections will be required between the decision circuit and each capacitive transducer. Thus for a 4 x 3 keyboard at least twelve leads would be required. Another disadvantage is reduced sensitivity owing to differences Detweeπ the capacitive transducers caused by component tolerance and different responses caused by changing environmental conditions. A further disadvantage is the large number of components required on the keyboard. In the arrangement according to the present inven¬ tion the keyboard includes keypads 60, 62, 64 etc conn- ected via an analogue multiplexer 66 to a single capaci¬ tance transducer 68 from which a single wire 70 is conn¬ ected to a decision circuit 72. The decision circuit 72 controls the position of the analogue multiplexer 66. Thus the capacitance transducer is common to all keypads and therefore no errors are introduced through mismatch¬ ing of the capactive transducers 50, 52, 54 as in Figure 2. Additionally since only a single wire is connected to decision circuit 72 the decision circuit can, with a suitable choice of output signals from capacitive trans- ducer 68, be a considerable distance from the transducer 68. Thus the circuitry in the keyboard interface 14 can σe relatively simple since it does not require that the decision making process is carried • out in close proximity. Thus the keyboard assemDly 10 which' is affixed to the glass 16 can oe made relatively slim such that it can fit Detween the glass of a shop window and a metal mesh security screen pulled down behind the glass. With reference to Figures 4 and 5 a suitable design of keyboard according to the present invention is shown. A plurality of pads 80, 82, 84, 86, 88 and 90 of electrically conductive thin material are shown for explanation. The number of pads may be increased or decreased to suit the individual requirement. For example a 4 x 3 array may be provided or a full keyboard of 64 or more characters. The pads 80 etc are attached to a base plate 92 and on the opposite side of the base plate 92 is an artwork film 94. The artwork can identify the keypads by number or by other function as desired for each purpose. It is therefore interchangeable and can be used for -reducing the -number of keys seen by the user by blanking the surplus keys on a standard keyboard. The keypads not seen by the user may be used for drift compensation as described hereinafter or may be disconnected. The artwork is fixed, preferably by glueing to the glass 16. Connection pads 96 are provided for output connection to analogue multiplexer 66. A guard track 98 is provided on the keyboard 12 to reduce coupling between pads. This guard track 98 may be connected to earth as shown in Figure 5. Alternatively the keyboard could be made by lightly metalising transparent plastic or glass so that each keypad or the whole keyboard will be transparent. This enables the keyboard to be back lit or enables the user to see through the keyboard to a display mounted for example on the back of the keyooard. This display could be an LCD or other type of display enabling the keyboard to present information, or to ask questions of the user or to display areas to be touched, which areas may be readily changed. This technique can be used in a self-contained access unit/keyboard for a computer which would operate on touch with no mechanical movement required. For this embodiment the keyboard shown in figures 4 and 5 would be modified, since the artwork 94 would not be necessary. The increased sensitivity and freedom from error of the present system enables the common electronic circuitry 14 to be sited remotely from the sensing pads (i.e. not directly on the back of the pads). In a practical embodiment the circuitry 66, etc. may be eight inches or more from the individual keypads. This enables the above described transparent display to be achieved. In an alternative embodiment, the keyboard may also be used as an X-Y position indicator. If the guard rail 98 is omitted, then greater coupling will occur between pads. If a finger is placed on a keypad an output will occur and be detected as above, but if the finger is moved to a position between pads, then two or more pads will give detectable outputs. This may be used to "track" the position of a finger anywhere on the keyboard. By use of suitable known processing circuitry the position of the finger may be displayed on a screen as a cursor. An intermediate finger position between keypads can be used to indicate a separate function if desired. Thus, more functions may be provided than there are keypads on the keyboard. It should be noted that it may be valid for more than one key to be touched at one time. For example for a specific function one key may be continuously touched whilst touching a variety of other Keys in a similar manner to a shift key on a typewriter. In an alternative arrangement, one set of lines (for example 0 to 3) may oe connected to rows of keypads and the remainder (4 to 7) to columns giving a matrix arrangement. By multiplexing the inputs the number of keypads may be greatly increased - a sixty four keypad array would require only sixteen (8 + 8) lines, thus allowing large numbers of keys without a substantial increase in the common circuitry. Detection could be obtained for example by looking for a maximum row reading and then for a maximum column reading, thereby identifying the intersection giving the identity of the touched key. With reference now to Figure 6, each keypad 80 etc is connected to a respective contact of analogue multi¬ plexer 66. The multiplexer 66 is preferably an integ¬ rated circuit with semiconductor switch connections op¬ erative to connect in sequential order each of the input contacts to the common switch contact 100 under the con- trol of an indexing counter 102. The indexing counter is clocked by a remote clock, on wire 104, obtained by counting down a fast clock in a counter 105 (see Figure 9> from interface 22 (Figure 1). The total number of • wires in lead 18 from interface 22 is five comprising clock wire 104 reset wire 106, power wires 108, 110 and output data wire 112. The positive lead 108 can be eliminated by using the wires 104, 106 to provide power for charging a capacitor (not shown) in the keyboard interface 14 for powering the interface. if more wires are allowable in lead 18 then counter 102 could be eliminated, three wires being used for direct access to eight keypad inputs, four wires for sixteen keypad inputs, etc. The reset pulse is used to reset the analogue multiplexer at set intervals to ensure correct synchronism between the multiplexer 66 and the computer interface 22 and hence computer 20. The output of multiplexer 66 is fed to the control input of a capacitance controlled oscillator 114, the output of which is connected to a divide oy N circuit 116 which provides the data output on wire 112. The re¬ set pulse on line 106 resets divider 116 and inhibits operation of oscillator 114 as described hereinafter with reference to Figure 8. With reference now to Figure 7 the computer inter- face circuitry 22 comprises an R-S flip flop 120 the set input of which is connected to data line 112 and the re¬ set input of which is connected to reset line 106 so that the R-S flip flop is reset at the same time as the div¬ ider 116. The Q output of flip flop 120 is fed to one in ¬ put of an OR gate 122 and to an interrupt input 124 of the computer 20. The other input of OR gate 122 is conn¬ ected to the reset line 106. The output of OR gate 122 is used as an inhibit input to a fixed frequency oscillator 126 the output of which is fed to the clock input of a counter 128 which is also reset by the reset pulses on line 106. The count output of counter 128 is fed to the computer input/output port. The operation of the circuitry of Figures 6 and 7 may be seen from the timing diagrams of Figure 8. The computer continuously scans all keys and repeats the op¬ eration as shown in Figure 8a. Scan operation M is shown in greater detail in Figures 8b to 8f. In each scan cycle a synchronising operation commences the cycle, followed sequentially by the reading of all desired keys in the order in which they are connected to analogue multiplexer 66. In this case keys 0 to N are read in order. In the first portion of each read sequence (see Figures 8c - f) the clock and reset pulses are present • simultaneously thus resetting counter 102 and hence analogue multiplexer 66 to its zero position and inhibiting oscillator 114 for the period of time that the reset pulse is present. At the end of the reset pulse oscillator 114 commences to run at a frequency determined by the capacitance seen on the common contact 100 of multiplexer 66. This capacitance will be that of the key pad "0" and also stray capacitances of leads and . multiplexer 66. The latter stray and multiplexer capacitances will be substantially common - assuming that the leads between multiplexer 66 and each pad 80 etc are substantially of the same length and that the guard track 98 reduces spurious effects on individual tracks. Thus the oscillator frequency will depend on the capacitance of each keypad. The output of oscillator 114 is connected to a div- ide by N circuit 116 which is turned on by the falling edge of the reset pulse and counts down from a predetermined setting the oscillations from oscillator 114. The output of divider circuit 116 is at zero volts until the count reaches zero (or a predetermined number) when the output switches to a positive voltage. At this time (T Q for pad 0) a positive step is sent down line 112." " Thus the interval T Q indicates the frequency of operation of oscillator 114 averaged ' over the period T Q . After an interval long enough to ensure that the signal has been sent for all reasonably expected values of capacitance a further clock pulse is sent to clock counter 102 by one step thus causing analogue multiplexer 66 to step on one position thus connecting the next keypad to common contact 100. The next reset pulse does not overlap with this clock pulse and therefore counter 102 is not reset ■to zero because AND gate 101 does not give any output pulse. At the end of the reset pulse divider/counter 116 commences to count the output cycles from oscillator 114 and when it has reached zero (or a predetermined count) after time T, a positive voltage step is sent down data line 112. This process is repeated (see Figure 8f) for all N keys and then the cycle is recommenced σy sending a reset and clock pulse simultaneously. The timing of the pulse sequences can be by a specially designed clock pulse generator (not shown) in the computer interface 22 or by a simple timed control program in computer 20. Thus after each reset pulse a time interval T 0 , T, etc is determined before a positive pulse is sent to flip flop 120 (Figure 7) respective time intervals being prop¬ ortional to the capacitance of each respective keypad. As the pulse sent is a positive step rather than a series of very rapid pulses it is not susceptible to interference on line 18 as would be the case if the output of oscillator 114 were transmitted over the cable link 18. The flip flop 120 is reset by each reset pulse and set by the positive going edge of the data pulse on line 112. Thus OR gate 122 will inhibit the fixed frequency oscillator at the time of the positive edge of the data pulse, the oscillator having commenced at the falling edge of the reset pulse. The output of oscillator 126 is counted by counter 128 which therefore gives a very accurate digital read out proportional to the times T Q , T, etc. This read out is transferable as a parallel operation into the computer or other decision circuitry. With reference now to Figure 9, the decision cir¬ cuitry is shown for an analogue decision logic circuit.. In this circuit the counter 128 output of Figure 7 is fed to a D to A converter 139, the output of which is connected to an analogue multiplexer 140 which is synchronised to the analogue multiplexer 66. The output of the D to A converter may be stored in respective sample and hold circuits 142, 144, 146, 150. Thus each sample and hold circuit 142 etc will hold at the end of each scan sequence an analogue value proportional to the capacitance of its respective keypad. The output of each sample and hold circuit is connected to a respective signal processing circuit 150, 152, 154, 156 the outputs of which are connected to a maximum signal detector circuit 160. The signal processing circuits 150 ... 156 are modified in operation by a threshold and drift circuit 162 the operation of which will be described with reference to Figure 10. The maximum signal detection circuit 160 operates in known manner to select the highest input signal and to indicate on its output the keypads which give the largest response. If no keypad response is higher than a certain threshold set by the threshold and drift compensation circuit 162 then no output is given by detector 160 in¬ dicating that no keypads have been touched. The output of detector 160 may be fed to a computer code look up table 165 which may operate the computer 20 to display on a screen 24 a display for viewing by the operator of the keypad. The display could be of the static type giving information for example on railway timetables obtained from storage 30 or it could be a vid¬ eo film for example for a travel agents, the film being selected by tape counter selection means set by the com¬ puter in the V.C.R. 28. The threshold and drift compensation circuit is shown in Figure 10 in which a single key is considered. The circuitry of the signal processor is duplicated for each key. The sample and hold circuitry is standard and is therefore not shown but forms the input signal on lines 143, 145 etc to each signal processor 150 etc. Each signal from a sample and hold circuit 142, 144, 146, 148 etc on lines 143, 145, 147, 149 etc is fed to the positive input of a summation circuit 172 and also to one input of an accumulator circuit 174 in the thresh- old and drift compensation circuit 162. The output of the accumulator 174 is fed to an attenuation by N circuit 176, the number N being chosen to De the number of keypads being sensed. As stated hereinbefore this could oe a greater number than would oe visiole to the user, those not being visiole being used as reference pads. The output on line 173 will therefore be a voltage proportional to the average of the capacitance on all keypads measured. A further value is calculated in a second summation circuit 180 and associated second attenuation by N circuit 182. The voltage output of divider 182 is proportional to the average change and is obtained by adding together the outputs of summation circuit 172 and its counterparts (not shown). Since the output of comparator circuit 172 is proportional to the difference between the latest scan reading and the previous scan readings then this value represents the change in capacitance. This is averaged to provide on line 183 the average change value which is used in all the signal processing circuits 150, 152, 154, 156 etc as represented by arrow 184. The average change value is also combined in adder 186 with the background threshold which is a function of the average key capacitance obtained in circuit 188, to obtain the threshold value on line 163 (see Figure 9 ) . This value is used to determine in signal detector circuit 160 which if any of the keys is being touched by comparing each output value on lines 175 etc with the threshold value on line 163. As can be seen the threshold value on line 163 will vary dependent on the condition of other keys. It is not necessary for all the keys to be used to obtain the threshold, a selection could be used particularly if a large (e.g. full QWERTY) keyboard were provided. The output of average change detector circuits 180, 182 is fed as an input to each signal processing circuit 150, 152, 154, 156. In circuit 150 it is connected to a negative input of a summation circuit 190. The positive input is connected .to the output 175 of summation circuit 172 and therefore the output of the circuits 190 in each signal processor is the difference between the present change -in capacitance for that key and the average .change for all keys. The output of currant 190 is fed via a circuit 192 which modifies the output by a factor K and an integrator 194, the output 195 of which is fed to the other input of circuit 172. The output on line 175 is the change in capacitance for that key and not the absolute value. It is obtained by subtracting the output of inegrator 194 which is a voltage representative of the historical value for that key from its present value. At initialisation the integrator is given the value that is obtained during the first scan, but this value is from then on slowly modified by the capacitance difference readings on line 175 and by the drift compensation circuit. The speed of compensation is determined by factor K preset into circuit 192. Factor K is a time constant which is set long in relation to key pressing but short in relation to long term drift. Summation circuit 172 therefore compares the old value on line 195 with the new value on line 143 to pro¬ duce an output value on line 175. If the key is not touched then no output will occur assuming all other con¬ ditions remain the same. With reference now to Figure 11a typical key output signals are shown for eight keys (0 — 7). In a steady quiescent state with no disturbances the outputs indicated by crosses are on or about a "zero" level. This level will be due primarily to the capacitance of the glass. The average change at any scan will be very small and is indicated by dotted line 200. The threshold level is set by f(x) in circuit 188 and is shown by dotted line 202. The function f(x) permits the circuit to be used with different glass thicKnesses. The glass thicKness influences the capacitance of all keypads. The averaged absolute capacitance is the input to function f(x) and the output defines the background threshold (i.e. how much a key capacitance must increase from the average in order to be treated as a true pressing), f(x) was chosen empirically such that with thin glass the change in capacitance has to be large, but for thick glass the change is small. In this way the keypads maintain a uniform sensitivity when used on glass of different thicknesses and di-electric strengths. There is a readily identifiable gap between all of the outputs and this threshold level. Thus if key 3 is touched its output will rise above the threshold level 202 as shown by the dotted arrow 204 and the output will be detectable by detector 160. Figure lib shows the effect of a common mode distur- bance. The average change will be very large because all keys will change together. The threshold will also change because the background is added to the average change in circuit 186. Thus the situation is unaltered except that the average change and threshold lines 200, 202 are now considerably removed from the "zero" level. Touching key 3 as indicated by arrow 204 is still readily detectable. With reference to Figure lie the effect of a differ¬ ential mode disturbance is shown. In this disturbance only certain keys are affected and in this example keys 3 and 4 are assumed to be subject to a disturbance. It may be seen that the average change line 200 has hardly moved because the two large changes in keys 3 and 4 do not sub¬ stantially affect the overall average of eight keys. If not corrected the circuit assumes always that keys 3 and 4 are being touched. The feedback from line 175 of the change in capacitance will however correct tnis after an interval determined oy the factor K. Thus if the differ¬ ential mode signal is not oecause of a genuine touching of keys 3 and 4 then this will oe compensated for. *If a genuine touching has occured then it is assumed that the finger or fingers will be quickly removed. With reference now to Figure lid the effects of both common mode and differential disturbance are shown. The common mode results in shifting of line 200 and 202 as in Figure lib and the differential mode is assumed to affect only key number six. Thus key six is assumed by the logic to have been touched. This may in fact be the case or it may be as a result of a fault condition. If the latter then the integrator 194 will provide compensation. With reference now to Figure 12a, the effects of the drifting of signals from the capacitive keys is shown. Such drift may occur with age or through the keypad grad¬ ually peeling off the glass in for example one or more areas. As may be seen from the crosses for each key the spread of values is very large so that although the aver¬ age line 200 has not substantially moved the noise margin 205 between threshold line 202 and the highest reading keys (numbers three and six in this example) is very low. Additionally and perhaps more of a problem is that for a touch on the lowest reading key (number four in this ex¬ ample) to be detected the capacitance change would have to be approximately double the background threshold value between lines 200 and 202. This may not be possible to achieve and therefore key number four may become effect¬ ively inoperative. Also if key four is touched the "proximity" effect on key four (assuming they are adjac¬ ent) may cause key three to operate and not four. This obviously would render the keyboard absolutely useless without the compensation circuitry provided by the present invention. Figure 12o shows the effect of the drift compens¬ ation circuitry. The average' (line 200) and the thres- ftolα level (line 202) will not suDstantially vary from Figure 12a but the effective error that each key has from the average value will oe made smaller by the drift com¬ pensation provided by summation circuit 190 and inte¬ grator 194. In this circuit the average change value signified by line 200 is compared with the actual which for example for key .three in Figure 12a is a large posi¬ tive value. This value produces a positive input to in¬ tegrator 194, after modification by the factor K. This in turn increases the output of integrator 194 which is subtracted from the new capacity reading on line 143 and thereby reduces the output of summation circuit 172 thus increasing the noise margin 204 as shown in Figure 12b. The effect on the probability of detection of a pressed key can be seen in Figure 12c. Without drift compensation the probability curve 206 is flat with a good chance of a mistake being made. With the inclusion -19- of the drift compensation circuit there is found to be little chance that a key touch will be wrongly detected as shown by curve 208. With reference now to Figures 13 to 17 the signal processing may be carried out on a time division multi¬ plex basis by using the same circuitry rather than separ¬ ate signal processors for each key. To accomplish this the output capacitance signals from the keypad are con¬ verted into a digital format by counter 128 (Figure 7) and are treated digitally in sequences determined by pro¬ grams shown in Figures 13 to 17. With reference to Figure 13 the main program follow¬ ing start up goes through an initialise step and then enters a constantly repeating loop comprising three steps. Each step is described in more detail in Figures 14 to 17. In Figure 14 the initialise step comprises the steps of reading the capacitance values of all keys and replac¬ ing all tne old stored key values (if any) with the new values. The values ' are stored in the sample and nold circuits 142, etc. or in a suitable memory for subsequent use. This completes the initialising routine and gives the sample and hold circuits a value for comparison with the next new key values. The key scanning routine shown in Figure 15 then commences with a start scan instruction commencing with key number zero (I = 0). Each key is read and its capac¬ itance value stored in digital form ready for comparison with the existing key value. The key number is updated by one, and if the last key has not been read then the cycle is repeated until the last key has been read. The scan key program is then complete and the next sequence shown in Figure 16 commences using the "old" and new key capacitance values now stored. The processing commences with a calculation of the output value for line 175 (NEW - OLD) for each key, foll¬ owed by a calculation of the average change to give the required output on line 183 or its equivalent. Then the average absolute key value is calculated as in circuit 174 and divider 176. The best background threshold level determined by f(x) which is readily alterable to suit different environmental and glass thickness conditions is known and the true threshold value is then calculated as in circuit 186. The new key values are compared with the old and the key or keys with the largest changes are found and compared with the threshold. If a key is detected as exceeding the threshold then a YES output is given to for example an ASCII code converter to output ASCII code for control of any remote function. When this has oeen completed, or if no keys have been detected then the drift compensation sequence is commenced as shown in Figure 17. The first Key (I = 0) " is selected and its error from the average change is calculated and then the old stored value is updated - normally fractionally to compensate for drift. The next key (1 = 1) is selected and the process continued until all keys have been updat¬ ed. The program then recommences as shown in Figure 13. Thus the circuitry can be analogue or can be digital with a simple program to ' allow time division multiplex use of the same circuits to sequentially calculate the desired values. It is possible in such a program to use an average value of several reading during the initial- isation stage thus making the system more accurate from switch on.

Claims: CLAIMS 1. A touch operated key system including a keyboard comprising a plurality of keypads, means for attaching the keyboard to a sheet of glass for operation through the glass and including apparatus for the display of data and for control of processes selectable by the Keyboard, the apparatus including processing circuitry for processing signals from the keyboard to automatically compensate for variations in the environment in which the keyboard is placed, to compensate for various thicknesses of glass and to continually adjust to maintain a high level of sensitivity with minimal error when subjected to a wide range of slowly and rapidly changing environmental factors. 2. A touch operated key system as claimed • in claim 1, in which the system includes interrogation means for interrogating tne output signals from one or more of the Keypads, sensing means associated with the keyboard for αetecting and processing the outputs of the one or more keypad, in which the sensing means includes comparison means for comparing the output of the keypad being interrogated with the output of at least one other keypad to determine as a result of the comparison the condition of the keypad being interrogated. 3. A touch operated key system as claimed in claim 2, comprising a plurality of keypads disposed adjacent each other in a desired pattern, in which the sensing means includes interrogation means for interrogating each keypad to assess the present condition of each keypad and includes signal-processing means connected to receive the output of each keypad, the signal processing means including common processing means for two or more of the keypads. 4. A touch operated key system as claimed in Claim 3, in which the processing means is connected to process the outputs of all keypads on the touch operated keyboard. 5. A touch operated key system as claimed in Claim 3 or Claim 4, in which one or more of the keypads is used for comparison purposes only and is not an operational keypad. 6. A touch operated key system as claimed in Claims 3, 4 and 5, in which the output signal from each keypad is in the form of a value of capacitance which value changes in accordance with a number of extraneous factors and in accordance with an operation factor in which it is desir- ed to detect the signal processing means including means for detecting changes of output signal at one or more of the keypads due to the extraneous factors and means for comparing these detected changes with a signal received from an interrogated keypad to detect an operation fact- or. 7. A touch operated key system as claimed in any one of 'Claims 3, 4, 5 and 6, in which the processing circuitry includes drift -compensation means for compensating, for relatively long term drifting .of the output of one or more Keys relative to an average value calculated for all keys, the drift compensation means providing an adjust¬ ment for each key drifting -from the average value to ad¬ just the output of the key, when in a non-operated con¬ dition, towards the average value. 8. A touch operated key system as claimed in any one of the preceding claims including a visual display unit operable under the control of the output of the sensing means to display required information. 9. A touch operated key system as claimed in claim 8, in which the sheet of glass is a shop window and in which the displayed information is selectable from recorded data. 10. A touch operated key system as claimed in any one of the preceding claims in which a guard rail is present between each keypad to reduce coupling between the pads. 11. A touch operated key system as claimed in any one of the preceding claims in which a guard rail is not present between keypads so that the keyboard may be used as an X-Y sensor area. 12. A display system for shop windows including a touch operated key system as claimed in claim 1, in which the apparatus for display of data includes a visual display unit, a video recorder and a computer, information stored in the recorder being selectable by the computer for display on the visual display unit in accordance with instructions from the keyboard.

Inventors: BINSTEAD RONALD PETER, BINSTEAD, RONALD, PETER
Applicants: BINSTEAD RONALD PETER, BINSTEAD, RONALD, PETER
Application year: 1985
Main classification: H03K17
IPC codes: G06F3, H03K17