FR2528194A1 - SCANNING KEYBOARD CIRCUIT WITH MICROPROCESSOR - Google Patents
SCANNING KEYBOARD CIRCUIT WITH MICROPROCESSOR Download PDFInfo
- Publication number
- FR2528194A1 FR2528194A1 FR8309615A FR8309615A FR2528194A1 FR 2528194 A1 FR2528194 A1 FR 2528194A1 FR 8309615 A FR8309615 A FR 8309615A FR 8309615 A FR8309615 A FR 8309615A FR 2528194 A1 FR2528194 A1 FR 2528194A1
- Authority
- FR
- France
- Prior art keywords
- coincidence
- data
- comparator
- key
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M11/00—Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
- H03M11/22—Static coding
- H03M11/24—Static coding using analogue means, e.g. by coding the states of multiple switches into a single multi-level analogue signal or by indicating the type of a device using the voltage level at a specific tap of a resistive divider
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
CIRCUIT DE CLAVIER A BALAYAGE COMPRENANT UN DIVISEUR DE TENSION AYANT UNE PLURALITE DE RESISTANCES R3, R9 CONNECTEES EN SERIE, AVEC DES PRISES ENTRE ELLES, POUR DONNER NAISSANCE A UNE PLURALITE DE TENSIONS GRADUEES AU NIVEAU DES PRISES. UN COMPARATEUR 1 AYANT UNE PREMIERE ET UNE SECONDE ENTREES SERT A ENGENDRER UN SIGNAL LORSQU'UNE COINCIDENCE INTERVIENT ENTRE LES TENSIONS APPLIQUEES AUX BORNES D'ENTREE. UNE PLURALITE DE TOUCHES MANUELLES S1, S7 SONT CONNECTEES AUX PRISES POUR APPLIQUER SELECTIVEMENT LES TENSIONS GRADUEES A LA PREMIERE BORNE D'ENTREE DU COMPARATEUR. UN CIRCUIT DE COMMANDE 4 ENGENDRE ET APPLIQUE UNE SERIE DE FORME D'ONDES CYCLIQUES D'UNE TENSION DE REFERENCE VARIABLE DANS LE TEMPS A LA SECONDE ENTREE DU COMPARATEUR. EN REPONSE AU SIGNAL DE COINCIDENCE, UNE DONNEE REPRESENTATIVE DE LA VALEUR INSTANTANEE DE LA TENSION DE REFERENCE EST STOCKEE DANS UNE MEMOIRE ET COMPAREE A UNE DONNEE ENGENDREE ULTERIEUREMENT, POUR VERIFIER QUE L'UNE DES TOUCHES A ETE ACTIONNEE LORSQU'UNE COINCIDENCE S'EST PRODUITE. EN CAS DE NON-COIDENCE, LE CIRCUIT DE COMMANDE PROCEDE A LA DETECTION DU MOMENT OU LA DONNEE LA PLUS RECENTE EST SUPERIEURE A LA DONNEE PRECEDENTE, POUR VERIFIER QUE LA TOUCHE ACTIONNEE A ETE COUPEE.SCAN KEYBOARD CIRCUIT INCLUDING A VOLTAGE DIVIDER HAVING A PLURALITY OF RESISTORS R3, R9 CONNECTED IN SERIES, WITH TAPES BETWEEN THEM, TO GIVE BIRTH TO A PLURALITY OF GRADUATED TENSIONS AT THE TAP LEVEL. A COMPARATOR 1 HAVING A FIRST AND A SECOND INPUT IS USED TO GENERATE A SIGNAL WHEN A COINCIDENCE OCCURS BETWEEN THE VOLTAGES APPLIED TO THE INPUT TERMINALS. A PLURALITY OF MANUAL KEYS S1, S7 ARE CONNECTED TO THE SOCKETS TO SELECTIVELY APPLY THE GRADUATED VOLTAGES TO THE FIRST INPUT TERMINAL OF THE COMPARATOR. A CONTROL CIRCUIT 4 GENERATES AND APPLIES A SERIES OF CYCLIC WAVE SHAPES WITH A VARIABLE REFERENCE VOLTAGE IN TIME TO THE SECOND INPUT OF THE COMPARATOR. IN RESPONSE TO THE COINCIDENCE SIGNAL, A DATA REPRESENTATIVE OF THE INSTANT VALUE OF THE REFERENCE VOLTAGE IS STORED IN A MEMORY AND COMPARED TO A DATA GENERATED LATER, TO CHECK THAT ONE OF THE KEYS HAS BEEN ACTED WHEN A COINCIDENCE HAS BEEN ACTED. PRODUCED. IN THE EVENT OF NON-COIDENCE, THE CONTROL CIRCUIT DETECTS THE MOMENT WHEN THE MOST RECENT DATA IS GREATER THAN THE PREVIOUS DATA, TO CHECK THAT THE OPERATED BUTTON HAS BEEN CUT.
Description
1 -1 -
CIRCUIT DE CLAVIER A BALAYAGE AVEC MICROPROCESSEUR SCANNING KEYBOARD CIRCUIT WITH MICROPROCESSOR
L'invention se rapporte à un circuit servant à identifier une par une des touches manuelles et à détecter leur état de fonctionnement Elle concerne un circuit de clavier qui The invention relates to a circuit used to identify one by one of the manual keys and to detect their operating state. It relates to a keyboard circuit which
explore une rangée de commutateurs de touches, pour identi- explore a row of key switches, to identify
fier la touche actionnée en comparant une tension d'identi- fication de touche à une référence variable, représentée par the key pressed by comparing a key identification voltage with a variable reference, represented by
une donnée emmaganisée en mémoire En particulier, le cir- data stored in memory In particular, the circuit
cuit élimine les inconvénients provenant de tensions d'iden- cooked eliminates the inconvenience caused by iden-
tification de touches ayant des amplitudes indéfinies qui sont engendrées par la résistance de contact progressivement croissante à l'instant o le commutateur de touche est tification of keys having indefinite amplitudes which are generated by the progressively increasing contact resistance at the instant when the key switch is
libéré au cours d'une coupure.released during a cut.
Un circuit de clavier connu avec micro-processeur comprend A known keyboard circuit with microprocessor includes
un diviseur de tension comportant une pluralité de résis- a voltage divider comprising a plurality of resistors
tances connectées en série, avec des prises entre les résis- tances connected in series, with sockets between resistors
tances successives Un réseau de commutateurs de touches non verrouillés actionnés manuellement sont connectés aux prises respectives pour produire une pluralité de tensions successive tations A network of manually operated unlocked key switches are connected to the respective sockets to produce a plurality of voltages
graduées identifiant respectivement les fonctions particu- graduated respectively identifying the particular functions
lières des commutateurs de touchfs Quand l'un quelconque des commutateurs est actionné, une tension d'identification touch switch switches When any of the switches are pressed, an identification voltage
de touche correspondante est appliquée à l'entrée non inver- corresponding key is applied to the non-inverting input
seuse d'un comparateur, dont l'entrée inverseuse reçoit une 2 - tension de référence ayant une forme d'onde en escalier, qui threshold of a comparator, whose inverting input receives a 2 - reference voltage having a stepped waveform, which
est régénérée cycliquement sous la commande d'un microcal- is regenerated cyclically under the control of a microcal-
culateur Lorsque les deux tensions d'entrée sont compara- When the two input voltages are compared
bles, le comparateur engendre un signal de coïncidence et autorise le microcalculateur à stocker en mémoire une donnée représentant la valeur instantanée de la tension en escalier the comparator generates a coincidence signal and authorizes the microcomputer to store in memory a datum representing the instantaneous value of the staircase voltage
de référence qui s'est produite à l'instant de la coinci- of reference that occurred at the time of the coinci-
dence Le même processus est répété pour compter le nombre des coïncidences entre les deux tensions d'entrée Lorsque la valeur ainsi comptée atteint un chiffre prédéterminé, le microcalculateur la vérifie comme indication valable qu'une touche à été actionnée à l'état de fonctionnement et fournit dence The same process is repeated to count the number of coincidences between the two input voltages When the value thus counted reaches a predetermined number, the microcomputer checks it as a valid indication that a key has been pressed in the operating state and provides
un signal de sélection de mode correspondant à un enregis- a mode selection signal corresponding to a recording
treur vidéo ou analogue, pour le faire fonctionner suivant video or similar sorter, to make it work next
un mode spécifié par la touche en question. a mode specified by the key in question.
Le circuit de clavier de ce type est connu sous le nom de The keyboard circuit of this type is known as
discriminateur à balayage, du fait que la tension de réfé- scanning discriminator, because the reference voltage
rence variable dans le temps sert à explorer séquentiel- Variable in time is used to explore sequentially-
lement le niveau de tension du signal donné par la touche actionnée L'opération de balayage de touche se poursuit au cours de périodes d'enclenchement, de manière qu'à l'instant o la touche est libérée, le microcalculateur détecte une The voltage level of the signal given by the key pressed The key scanning operation continues during switch-on periods, so that the instant the key is released, the microcomputer detects a
modification de la tension fournie par le réseau de touches. modification of the voltage supplied by the key network.
Ce type de circuit de clavier est intéressant pour des applications o le réseau de touches est monté sous forme d'une unité séparée en un emplacement éloigné du circuit qui identifie les fonctions de touches, du fait qu'il exige un This type of keyboard circuit is useful for applications where the network of keys is mounted as a separate unit at a location remote from the circuit which identifies the key functions, since it requires a
petit nombre de fils interconnectant les unités séparées. small number of wires interconnecting separate units.
Toutefois, un inconvénient se présente du fait qu'une tension d'amplitude indéfinie peut prendre naissance aux bornes de la résistance de contact de la touche que l'on coupe si elle reste dans une position ambig e entre l'état enclenché et l'état de coupure Il est, par conséquent, hautement probable que le microcalculateur identifiera de manière erronée la tension indéfinie comme une indication du fonctionnement d'une touche différente et engendrera un faux However, a disadvantage arises from the fact that a voltage of undefined amplitude can arise at the terminals of the contact resistance of the key which is cut if it remains in an ambiguous position between the engaged state and the cut-off state It is therefore highly probable that the microcomputer will mistakenly identify the undefined voltage as an indication of the operation of a different key and will generate a false
signal de sélection de mode.mode selection signal.
3 - L'invention se propose d'indentifier un niveau de tension indéfini comme une indication d'un état de coupure, en détectant le moment o la valeur instantanée la plus récente de la tension de référence variable dans le temps devient supérieure à la valeur instantanée précédente. 3 - The invention proposes to identify an undefined voltage level as an indication of a cut-off state, by detecting the moment when the most recent instantaneous value of the reference voltage variable over time becomes greater than the value previous instant.
Suivant l'invention, le circuit de clavier comprend un divi- According to the invention, the keyboard circuit comprises a divi-
seur de tension ayant une pluralité de résistances connec- voltage tester having a plurality of connected resistors
tées en série avec des prises entre elles, pour donner nais- tees in series with plugs between them, to give birth to
sance à une pluralité de tensions graduées au niveau des prises, et un comparateur ayant une première et une seconde bornes d'entrée engendrant un signal lorsqu'une coïncidence sance at a plurality of graduated voltages at the taps, and a comparator having first and second input terminals generating a signal when a coincidence
intervient entre les deux tensions appliquées respective- intervenes between the two respective applied voltages-
ment à ses deux bornes d'entrée Une pluralité de commuta- at its two input terminals A plurality of switches
teurs de touches manuels sont connectés aux prises, pour appliquer sélectivement les tensions graduées à la première borne d'entrée du comparateur, en réponse au fonctionnement manual key readers are connected to the sockets, to selectively apply the graduated voltages to the first comparator input terminal, in response to operation
de l'un desdits commutateurs de touches Un circuit de com- of one of said key switches A circuit of com-
mande engendre une série de forme d'ondes cycliques de tension de référence variables dans le temps, qu'il applique à la seconde borne d'entrée du comparateur et, en réponse à l'intervention du signal de coïncidence, stocke dans la mémoire une donnée représentant la valeur instantanée de la tension de référence variable dans le temps Le circuit de mande generates a series of cyclic waveforms of reference variable in time, which it applies to the second input terminal of the comparator and, in response to the intervention of the coincidence signal, stores in the memory a data representing the instantaneous value of the time-varying reference voltage The circuit
commande détecte une coïncidence entre la donnée qui repré- command detects a coincidence between the data which represents
sente la valeur instantanée d'une tension de référence variable dans le temps engendrée ultérieurement et la donnée qui est stockée dans la mémoire et vérifie que l'un des feel the instantaneous value of a reference voltage variable in time generated subsequently and the data which is stored in the memory and checks that one of the
commutateurs de touches à été actionné Le processus ci- key switches have been pressed The process below
dessus se poursuit pour surveiller un changement de tension à la première borne d'entrée du comparateur, pour détecter l'instant o la touche est coupée Le circuit de commande vérifie cet état de coupure en détectant le moment o la above continues to monitor a voltage change at the first comparator input terminal, to detect the instant when the key is cut The control circuit checks this cut-off state by detecting the moment when the
donnée la plus récente devient supérieure à la donnée précé- most recent data becomes greater than the previous data
demment stockée.duly stored.
L'invention sera mieux comprise à l'aide de description ci- The invention will be better understood using the description below.
après. 4- Au dessin annexé: La figure 1 représente schématiquement un circuit de clavier conforme à l'invention; after. 4- In the accompanying drawing: FIG. 1 schematically represents a keyboard circuit according to the invention;
La figure 2 représente les formes d'ondes d'une plu- Figure 2 shows the waveforms of a greater
ralité de trains d'impulsions et d'une tension de of pulse trains and a voltage of
référence en escalier issue de ces trains d'impul- staircase reference from these pulse trains
sions;sions;
La figure 3 est un ordinogramme illustrant les ins- Figure 3 is a flowchart illustrating the ins-
tructions programmées exécutées par le microcal- programmed tructions executed by the microcal-
culateur de la figure 1, conformément à un mode d'exé- culateur of Figure 1, according to an embodiment
cution de l'invention; La figure 4 représente les formes d'ondes destinées à illustrer le fonctionnement de l'invention; et cution of the invention; FIG. 4 represents the waveforms intended to illustrate the operation of the invention; and
La figure 5 est un ordinogramme présentant les ins- Figure 5 is a flowchart showing the ins-
tructions programmées du microcalculateur, confor- programmed calculations of the microcomputer,
mément à une variante.even to a variant.
En se référant à la figure 1, on a représenté un circuit de clavier à balayage avec microprocesseur, dans lequel un réseau de touches manuelles Sl à 57 du type non verrouillé sont respectivement connectées, à leurs premières bornes, à des prises d'un diviseur de tension comportant une série de résistances R 3 à R 9 connectées à la masse par l'une de leurs Referring to Figure 1, there is shown a scanning keyboard circuit with microprocessor, in which a network of manual keys Sl to 57 of the unlocked type are respectively connected, at their first terminals, to sockets of a divider voltage comprising a series of resistors R 3 to R 9 connected to ground by one of their
extrémités Plus précisément, le réseau de touches est des- ends More precisely, the network of keys is
tiné à être utilisé dans un enregistreur à bande vidéo dans lequel les touches Sl et 52 ont leurs secondes bornes reliées entre elles et à la première borne de la touche 53, tandis que les secondes bornes des touches 53 à 57 sont couplées entre elles à un point de jonction 5 entre les résistances Rl et R 2 Les touches Sl et 52 ont des fonctions spéciales qui servent seulement lorsque la touche 53 est enclenchée. - intended to be used in a video tape recorder in which the keys Sl and 52 have their second terminals connected to each other and to the first terminal of the key 53, while the second terminals of the keys 53 to 57 are coupled together to a junction point 5 between resistors R1 and R 2 The keys Sl and 52 have special functions which are used only when the key 53 is pressed. -
Un comparateur de tension 1 comporte une entrée non inver- A voltage comparator 1 has a non-inverting input.
seuse couplée, à travers la résistance R 2, au point de jonction 5 Quand toutes les touches restent à l'état coupé, la tension qui prend naissance au point de jonction 5 est déterminée par une tension transmise à travers la résistance Rl à partir d'une alimentation Vcc A l'entrée inverseuse du comparateur 1 est appliquée une tension de référence threshold coupled, through resistance R 2, to junction point 5 When all the keys remain in the off state, the voltage which arises at junction point 5 is determined by a voltage transmitted through resistance Rl from d a Vcc supply To the inverting input of comparator 1 is applied a reference voltage
composée d'une série de formes d'ondes en escalier, prove- composed of a series of stepped waveforms, from
nant d'un convertisseur numérique analogique 4 du type à échelle Lorsque les deux entrées du comparateur 1 sont en from a digital to analog converter 4 of the scale type When the two inputs of comparator 1 are in
coïncidence, un signal est appliqué à un microcalculateur 2. Coincidentally, a signal is applied to a microcomputer 2.
Celui-ci est d'un type traditionnel quelconque et comporte un microprocesseur, une mémoire morte, une mémoire vive et un certain nombre de compteurs et de registres qui ont tous été omis, pour simplifier, du fait que l'invention ne This is of any traditional type and comprises a microprocessor, a read-only memory, a random access memory and a certain number of counters and registers which have all been omitted, for simplicity, because the invention does not
concerne pas la structure matérielle du microcalculateur. does not concern the material structure of the microcomputer.
Comme on le décrira dans la suite avec plus de détails, le microcalculateur 2 exécute des instructions programmées pour engendrer une série de données de référence qui sont As will be described in more detail below, the microcomputer 2 executes programmed instructions to generate a series of reference data which are
traduites en une pluralité de trains d'impulsions de fré- translated into a plurality of pulse trains of
quences différentes, comme l'indiquent les formes d'ondes a, b, c et d, à la figure 2 Elles sont appliquées aux bornes 3 a different frequencies, as indicated by the waveforms a, b, c and d, in Figure 2 They are applied to terminals 3 a
à 3 d et, de là, aux prises respectives du réseau de résis- at 3 d and, from there, to the respective sockets of the network of resis-
tances en échelle 4, o les impulsions sont combinées pour engendrer une tension en escalier représentée en e à la figure 2 La valeur la plus élevée de cette tension emax est légèrement inférieure à la tension d'alimentation Vcc, mais légèrement supérieure à la tension qui serait engendrée en tances in scale 4, where the pulses are combined to generate a staircase voltage represented at e in FIG. 2 The highest value of this voltage emax is slightly lower than the supply voltage Vcc, but slightly higher than the voltage which would be generated in
réponse au fonctionnement du commutateur de touche 57. response to the operation of the key switch 57.
Quand l'une quelconque des touches 51, 57 est actionnée, une tension d'identification de cette touche est appliquée à When any of the keys 51, 57 is pressed, an identification voltage of this key is applied to
l'entrée non inverseuse du comparateur 1 et comparée succes- the non-inverting input of comparator 1 and compared succeeds
sivement à chacune des tensions variables par échelons. each of the variable voltages in steps.
Lorsque les tensions comparées coïncident, le comparateur 1 envoie une impulsion au microcalculateur 2, pour l'autoriser à emmagasiner la donnée de référence qui s'est produite à When the compared voltages coincide, comparator 1 sends a pulse to microcomputer 2, to authorize it to store the reference data which has occurred at
l'instant de la comparaison.the instant of comparison.
6 -6 -
Une description plus précise du fonctionnement du microcal- A more precise description of how the microcal-
culateur 2 est donnée en se référant à l'ordinogramme de la culateur 2 is given with reference to the flowchart of the
figure 3.figure 3.
A la figure 3, on voit que l'exécution du programme commence par une opération illustrée par le bloc 10 et dans laquelle le microcalculateur applique des impulsions aux bornes 3 a à 3 d qui correspondent avec la valeur la plus élevée e max de la tension en escalier, pour vérifier si toutes les touches sont bien à l'état coupé S'il en est ainsi, le comparateur 1 engendre une tension de bas niveau et le microprocesseur détecte celle-ci comme indiquant un état "toutes touches coupées' et progresse jusqu'à l'opération 11; s'il n'en est pas ainsi, il va à l'opération 12 Dans l'opération 11, un emplacement de mémoire est adressé pour emmagasiner une donnée représentant une tension donnée, qui est supérieure à In FIG. 3, it can be seen that the execution of the program begins with an operation illustrated by block 10 and in which the microcomputer applies pulses to the terminals 3 a to 3 d which correspond with the highest value e max of the voltage in steps, to check if all the keys are in the cut state If this is the case, comparator 1 generates a low level voltage and the microprocessor detects this as indicating a state "all keys cut" and progresses up to operation 11; if this is not so, it goes to operation 12 In operation 11, a memory location is addressed to store data representing a given voltage, which is greater than
l'une quelconque des tensions d'identification de touches. any of the key identification voltages.
Dans l'opération 12, le microprocesseur engendre une donnée R correspondant à un échelon de tension e de la référence en escalier, qui est appliqué, sous la forme des impulsions In operation 12, the microprocessor generates a data R corresponding to a voltage step e of the staircase reference, which is applied, in the form of the pulses
mentionnées ci-dessus, au convertisseur numérique-analo- mentioned above, to the digital-to-analog converter
gique 4, et va jusqu'à une opération 13 pour vérifier si un signal de coincidence est engendré par le comparateur 1 Si gic 4, and goes to an operation 13 to check if a coincidence signal is generated by the comparator 1 If
aucune coïncidence n'intervient, une opération 14 sera exé- there is no coincidence, an operation 14 will be executed
cutée de manière à incrémenter un compteur d'échelons de référence a d'une unité, pour revenir à l'opération 12 et incrémenter la tension de référence en échelons d'une unité Si la coincidence est détectée, le microprocesseur stocke la valeur a de l'échelon de référence en un nouvel cut so as to increment a reference step counter a by one, to return to operation 12 and increment the reference voltage in steps by one If coincidence is detected, the microprocessor stores the value a of the reference step into a new
emplacement de mémoire Mnew pendant l'opération 15. Mnew memory location during operation 15.
Dans une opération 16 est effectuée une comparaison entre la valeur A et la valeur A précédente maintenant stockée dans l'ancien emplacement de mémoire Mold Si la touche reste actionnée, on effectue une vérification, au cours d'une opération 17, pour voir si la coïncidence s'est produite dix fois de suite et, s'il n'en est pas ainsi, un compteur de coïncidences C est incrémenté d'une unité dans une opération 18 et l'exécution du programme revient à l'opération 12 pour reproduire le processus ci-dessus Si la coïncidence se 7 - produit dix fois, le microprocesseur le reconnaît comme une indication valable qu'une touche a été actionnée à l'état enclenché et délivre un signal de sélection de mode à un circuit spécifié par la valeur A qui représente la fonction particulière de la touche actionnée (opération 19). Si aucune coïncidence n'intervient au cours de l'opération 16, le microprocesseur sort jusqu'à une opération 20 pour In an operation 16 a comparison is made between the value A and the previous value A now stored in the old memory location Mold If the key remains pressed, a check is made, during an operation 17, to see if the coincidence has occurred ten times in a row and, if not, a coincidence counter C is incremented by one in operation 18 and program execution returns to operation 12 to reproduce the above process If the coincidence occurs 7 - ten times, the microprocessor recognizes it as a valid indication that a key has been pressed in the engaged state and issues a mode selection signal to a circuit specified by the value A which represents the particular function of the key pressed (operation 19). If no coincidence occurs during operation 16, the microprocessor exits until operation 20 to
vérifier si la valeur A est plus petite que la valeur A pré- check if the value A is smaller than the value A pre-
cédente et, s'il en est ainsi, la mémoire Mnew est mise à jour avec la valeur A dans l'opération 21 et le compteur de coïncidences C est rappelé à l'étape 22 avant le retour à yield and, if so, the memory Mnew is updated with the value A in operation 21 and the coincidence counter C is recalled in step 22 before returning to
l'étape 12 Si la valeur A est supérieure à la valeur précé- step 12 If the value A is greater than the previous value
dente, une opération 23 est exécutée pour délivrer un signal dente, an operation 23 is executed to deliver a signal
de coupure ou supprimer le signal de sélection de mode. or cancel the mode selection signal.
On a visualisé, à la figure 4, le fonctionnement du dispo- Figure 4 shows the operation of the device.
sitif sous la forme d'un diagramme des temps. sitive in the form of a time diagram.
En supposant que la touche 53 soit actionnée à l'instant t 1, ce qui provoque la chute rapide de la tension à l'entrée non inverseuse du comparateur 1, à partir de la tension de source Vcc jusqu'à une fraction de Vcc déterminée par le Assuming that key 53 is pressed at time t 1, which causes the voltage at the non-inverting input of comparator 1 to drop rapidly, from the source voltage Vcc to a determined fraction of Vcc speak
rapport (R 3 + R 4 + R 5)/(Rl + R 4 + R 5) Par suite de la résis- ratio (R 3 + R 4 + R 5) / (Rl + R 4 + R 5) As a result of the resistance
tance de contact propre de la touche 53, la tension ne décrolt pas rapidement jusqu'au niveau calculé indiqué par une ligne en pointillés 25 et suit une forme d'onde 26 représentée par une ligne en trait plein, si bien qu'elle séjourne brièvement à un niveau correspondant à la valeur qui serait donnée par la touche 54 Par conséquent, une première impulsion de coïncidence 27 se produit à l'instant tance of clean contact of key 53, the voltage does not decrease rapidly to the calculated level indicated by a dotted line 25 and follows a waveform 26 represented by a solid line, so that it remains briefly at a level corresponding to the value which would be given by the key 54 Consequently, a first coincidence pulse 27 occurs at the instant
o une tension de référence 28 atteint un niveau discret 6. o a reference voltage 28 reaches a discrete level 6.
La tension décroît progressivement et atteint la valeur calculée Une seconde impulsion de coincidence 29 se produit quand une tension de référence ultérieure 30 atteint un niveau 5 Si la tension reste à la valeur calculée, la valeur maximum des tensions de référence qui interviennent au cours de l'intervalle suivant stationne au niveau 5 et le compteur de coïncidences C peut être incrémenté jusqu'à une valeur 10 qui autorise le microprocesseur à engendrer un The voltage decreases progressively and reaches the calculated value A second coincidence pulse 29 occurs when a subsequent reference voltage 30 reaches a level 5 If the voltage remains at the calculated value, the maximum value of the reference voltages which occur during the next interval is stationed at level 5 and the coincidence counter C can be incremented up to a value 10 which authorizes the microprocessor to generate a
signal d'enclenchement à l'étape 19. switch-on signal in step 19.
8 - Si le commutateur de touche 53 est libéré à l'instant t 2, la tension à l'entrée non inverseuse du comparateur 1 devrait normalement croître rapidement jusqu'au niveau élevé de coupure, comme on l'a indiqué en 31 a Toutefois, si le doigt reste brièvement sur la touche 53, si bien que celle-ci prend une position intermédiaire entre l'enclenchement et la coupure, la résistance de contact de 53 croit et, par suite, une tension d'amplitude indéfinie, comme indiqué en 31, est engendrée à l'entrée non inverseuse du comparateur 1 Cette tension 31 correspondrait à un niveau qui serait-atteint si une touche 54 était actionnée Une tension de référence 32 ayant un niveau d'échelon 6 est ainsi engendrée en réponse à une impulsion de coïncidence 33 et le microprocesseur sort 8 - If the key switch 53 is released at time t 2, the voltage at the non-inverting input of comparator 1 should normally increase rapidly to the high cut-off level, as indicated in 31 a However , if the finger remains briefly on the button 53, so that the latter takes an intermediate position between switching on and off, the contact resistance of 53 increases and, consequently, a voltage of undefined amplitude, as indicated at 31, is generated at the non-inverting input of comparator 1 This voltage 31 would correspond to a level which would be reached if a key 54 was pressed A reference voltage 32 having a step level 6 is thus generated in response to a coincidence pulse 33 and the microprocessor comes out
de l'étape 16 pour aller à l'étape 20. from step 16 to go to step 20.
Suivant le circuit de clavier de l'art antérieur, le micro- According to the keyboard circuit of the prior art, the micro-
processeur sortirait de l'étape 16 pour aller directement à l'étape 21 et mettrait à jour la mémoire au moyen d'une donnée correspondant à la valeur de la tension indéfinie, pour exécuter une boucle passant par les étapes 12 à 18 et reconnaître le nouvel état comme une indication que la touche 54 a été actionnée et délivrer ainsi un faux signal processor would exit step 16 to go directly to step 21 and update the memory by means of data corresponding to the value of the undefined voltage, to execute a loop passing through steps 12 to 18 and recognize the new status as an indication that the key 54 has been pressed and thus deliver a false signal
de commande.control.
Toutefois, par suite de l'existence des étapes 20 et 23, le However, due to the existence of steps 20 and 23, the
changement de tension du niveau minimum 25 au niveau indé- voltage change from minimum level 25 to inde- pendent level
fini 31 autorise le microprocesseur à s'écarter de la boucle d'exploration de touche pour autoriser la production d'un finite 31 allows the microprocessor to deviate from the key exploration loop to authorize the production of a
signal de coupure valable.valid cutoff signal.
La figure 5 est une variante de l'ordinogramme de la figure Figure 5 is a variant of the flow diagram of Figure
3, comprenant en plus les opérations 40 et 42, pour repro- 3, further comprising operations 40 and 42, for repro-
duire l'opération 20 de façon à s'assurer que la tension duction operation 20 so as to ensure that the voltage
indéfinie est présente pendant une certaine durée Plus pré- indefinite is present for a certain period More pre-
cisément, après avoir pris une décision 'NON" à l'opération , le microcalculateur franchit les étapes 40 et 41 en vérifiant la valeur du compte dans un second compteur à coïncidences D et en l'incrémentant d'une unité pour revenir à l'étape 12 Si la tension indéfinie se poursuit, l'exécution du programme arrive de nouveau à l'étape 20 et 9 - reproduit les opérations 40 et 41 Quand D = O est détecté dans l'opération 40, le compteur de coïncidences D est rappelé à zéro dans l'opération 42 avant l'exécution de briefly, after having made a decision "NO" to the operation, the microcomputer goes through steps 40 and 41 by checking the value of the account in a second coincidence counter D and by incrementing it by one unit to return to the step 12 If the indefinite tension continues, the execution of the program comes again to step 20 and 9 - reproduces operations 40 and 41 When D = O is detected in operation 40, the coincidence counter D is recalled to zero in operation 42 before the execution of
l'opération 23.operation 23.
--
Claims (2)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57097324A JPS58213330A (en) | 1982-06-07 | 1982-06-07 | Key input discriminating device |
Publications (2)
Publication Number | Publication Date |
---|---|
FR2528194A1 true FR2528194A1 (en) | 1983-12-09 |
FR2528194B1 FR2528194B1 (en) | 1986-12-26 |
Family
ID=14189298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
FR8309615A Expired FR2528194B1 (en) | 1982-06-07 | 1983-06-06 | SCANNING KEYBOARD CIRCUIT WITH MICROPROCESSOR |
Country Status (5)
Country | Link |
---|---|
US (1) | US4583189A (en) |
JP (1) | JPS58213330A (en) |
DE (1) | DE3320524A1 (en) |
FR (1) | FR2528194B1 (en) |
GB (1) | GB2121577B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2558278A1 (en) * | 1984-01-18 | 1985-07-19 | Floch Joseph | Detection of the position of movable members in a loop, constituted by a single cable which links several sensors |
FR2605163A1 (en) * | 1986-10-01 | 1988-04-15 | Mcb | KEYBOARD WITH READING DEVICE |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2191322B (en) * | 1986-04-23 | 1989-12-06 | Yushin Seiki Kogyo Kk | Remote control device for vehicle locks |
JPS631254U (en) * | 1986-06-19 | 1988-01-07 | ||
EP0264884B2 (en) * | 1986-10-20 | 1996-12-18 | Matsushita Electric Industrial Co., Ltd. | Key input device |
US4918634A (en) * | 1987-02-23 | 1990-04-17 | Minolta Camera Kabushiki Kaisha | Key input apparatus |
US4817010A (en) * | 1987-03-02 | 1989-03-28 | Mars Incorporated | Vending machine control with improved vendor selector switch detection and decoding apparatus |
DE3714998A1 (en) * | 1987-05-06 | 1988-11-17 | Bosch Gmbh Robert | INPUT / OUTPUT CIRCUIT FOR MICROPROCESSORS |
GB8825907D0 (en) * | 1988-11-04 | 1988-12-07 | Process Computing Ltd | Signalling system |
US4939511A (en) * | 1988-12-27 | 1990-07-03 | Grumman Aerospace Corporation | DC bus for discrete signals |
US5266950A (en) * | 1990-08-08 | 1993-11-30 | Advanced Micro Devices, Inc. | Programmable keypad monitor |
DE4104230A1 (en) * | 1991-02-12 | 1992-08-13 | Siemens Ag | BUS SYSTEM |
KR930008505Y1 (en) * | 1991-05-04 | 1993-12-22 | 주식회사 금성사 | Key input circuit of micro computer |
US5552781A (en) * | 1994-10-31 | 1996-09-03 | Ford Motor Company | Fault tolerant method of decoding an electronic key system |
KR100203745B1 (en) * | 1996-05-27 | 1999-06-15 | 윤종용 | A-Cd keypad device and control method thereof |
US6005499A (en) * | 1997-07-21 | 1999-12-21 | Toshiba America Information Systems, Inc. | Systems and methods for generating key press status messages within telecommunications systems or other networks |
JP2002517119A (en) * | 1998-05-22 | 2002-06-11 | クゥアルコム・インコーポレイテッド | Differentiating between input ranges in passive keypads |
US6424274B1 (en) * | 1999-04-13 | 2002-07-23 | Legerity, Inc. | Keypad scanning with few pins |
US6970752B1 (en) * | 2000-05-17 | 2005-11-29 | Hewlett-Packard Development Company, L.P. | Method and apparatus for detecting switch closures |
DE10044087A1 (en) * | 2000-09-07 | 2002-04-04 | Bosch Gmbh Robert | Device for activating a control device |
US6639523B2 (en) * | 2001-01-17 | 2003-10-28 | Nokia Corporation | Resistive keyboard with status keys |
US6980135B2 (en) * | 2002-01-11 | 2005-12-27 | Alcor Micro, Corp. | Logic circuit using hardware to process keyboard scanning |
CN100334528C (en) * | 2003-04-11 | 2007-08-29 | 乐金电子(天津)电器有限公司 | Key input circuit |
JP2006187056A (en) * | 2004-12-24 | 2006-07-13 | Sharp Corp | Charge pump type dc/dc converter |
US7688230B2 (en) * | 2006-07-13 | 2010-03-30 | Emerson Electric Co. | Switching device with critical switch detection |
TWI307520B (en) * | 2006-09-15 | 2009-03-11 | Novatek Microelectronics Corp | Key system utilizing two operation nodes to detect the status of a plurality of keys |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3668659A (en) * | 1969-12-12 | 1972-06-06 | Plessey Handel Investment Ag | Touch-wire detection systems |
US3806912A (en) * | 1972-06-13 | 1974-04-23 | Burroughs Corp | Graphical input board |
US4015254A (en) * | 1975-12-04 | 1977-03-29 | General Motors Corporation | Keyboard encoding circuit utilizing an A/D converter |
JPS5852729A (en) * | 1981-09-25 | 1983-03-29 | Seiko Epson Corp | Liquid-crystal character display device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3803592A (en) * | 1972-09-11 | 1974-04-09 | Donnelly Mirrors Inc | Keyboard and digital circuit therefor |
US3908100A (en) * | 1974-03-25 | 1975-09-23 | Gen Signal Corp | Touch blend smooth surface switch assembly |
ES449123A1 (en) * | 1976-06-22 | 1977-07-01 | Idta S A | Multiple parameter processing and programming system |
NL187594C (en) * | 1979-04-02 | 1991-11-18 | Nippon Telegraph & Telephone | DEVICE FOR DETECTING X AND Y COORDINATES. |
CH625932B (en) * | 1979-05-31 | Ebauches Electroniques Sa | INTEGRATED CIRCUIT SUITABLE TO REACT TO THE PRESENCE AND NATURE OF AN EXTERNAL RECEIVER CIRCUIT. | |
US4420669A (en) * | 1981-06-15 | 1983-12-13 | Texas Instruments Incorporated | Data input apparatus for microwave oven controllers |
US4429301A (en) * | 1981-10-26 | 1984-01-31 | Amp Incorporated | Means for decoding a switch array |
-
1982
- 1982-06-07 JP JP57097324A patent/JPS58213330A/en active Granted
-
1983
- 1983-06-02 GB GB08315115A patent/GB2121577B/en not_active Expired
- 1983-06-03 US US06/500,869 patent/US4583189A/en not_active Expired - Lifetime
- 1983-06-06 FR FR8309615A patent/FR2528194B1/en not_active Expired
- 1983-06-07 DE DE19833320524 patent/DE3320524A1/en not_active Ceased
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3668659A (en) * | 1969-12-12 | 1972-06-06 | Plessey Handel Investment Ag | Touch-wire detection systems |
US3806912A (en) * | 1972-06-13 | 1974-04-23 | Burroughs Corp | Graphical input board |
US4015254A (en) * | 1975-12-04 | 1977-03-29 | General Motors Corporation | Keyboard encoding circuit utilizing an A/D converter |
JPS5852729A (en) * | 1981-09-25 | 1983-03-29 | Seiko Epson Corp | Liquid-crystal character display device |
Non-Patent Citations (2)
Title |
---|
INFORMATION PROCESSING 71, Proceedings of the International Federation for Information Processing, Ljubljana, 1971, pages 737-741, North Holland Publishing Company, 1972, Amsterdam, NL; P.J.POBGEE et al.: "Applications of a low cost graphical input tablet" * |
PATENTS ABSTRACTS OF JAPAN, vol. 7, no. 138(P-204)(1283), 16 juin 1983; & JP - A - 58 52729 (EPUSON K.K.) 29-03-1983 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2558278A1 (en) * | 1984-01-18 | 1985-07-19 | Floch Joseph | Detection of the position of movable members in a loop, constituted by a single cable which links several sensors |
FR2605163A1 (en) * | 1986-10-01 | 1988-04-15 | Mcb | KEYBOARD WITH READING DEVICE |
EP0266229A1 (en) * | 1986-10-01 | 1988-05-04 | M C B | Keyboard with reading device |
Also Published As
Publication number | Publication date |
---|---|
US4583189A (en) | 1986-04-15 |
GB2121577B (en) | 1985-11-20 |
GB2121577A (en) | 1983-12-21 |
JPS58213330A (en) | 1983-12-12 |
JPS6150329B2 (en) | 1986-11-04 |
DE3320524A1 (en) | 1983-12-29 |
GB8315115D0 (en) | 1983-07-06 |
FR2528194B1 (en) | 1986-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
FR2528194A1 (en) | SCANNING KEYBOARD CIRCUIT WITH MICROPROCESSOR | |
EP0567364B1 (en) | Process for operating a capacitive tactile keyboard | |
US4249648A (en) | Token identifying system | |
US7053392B2 (en) | Optical measuring apparatus for measuring objects on machines | |
FR2591333A1 (en) | DEVICE FOR CORRECTING DYNAMIC WEIGHT SIGNALS IN A CONVEYOR WEIGHING SYSTEM | |
FR2511796A1 (en) | CONTACT DETECTION DISPLAY DEVICE AND METHOD FOR LOCATING CAPACITIVE CONTACT | |
FR2560408A1 (en) | SCHEME ENTRY APPARATUS WITH ACCURATE DETECTION OF THE POSITION OF A PENCIL | |
CN109491487A (en) | Multifunctional power sequencer and monitor chip | |
FR2520878A1 (en) | MEASURING TRANSLATOR | |
EP0268667B1 (en) | A telephone line monitoring system | |
KR950007267B1 (en) | Circuit for measuring a pulse width of remote control signal | |
FR2458949A1 (en) | CIRCUIT ARRANGEMENT FOR TESTING AN ANALOGUE-DIGITAL CONVERTER IN A TELECOMMUNICATIONS SYSTEM | |
CN1985182A (en) | Evaluation of output signal of device under test | |
FR2488420A1 (en) | DEVICE FOR OBTAINING THE HISTOGRAM OF DISTANCES IN TIME BETWEEN SUCCESSIVE EVENTS | |
FR2596869A1 (en) | METHOD FOR STOPPING A VALUE MEASURED AT A CONSIDERABLE INSTANT, AND MEASURING DEVICE FOR IMPLEMENTING SAID METHOD | |
CN101174233A (en) | Method and system for testing embedded system | |
JP2005535029A5 (en) | ||
KR0123115Y1 (en) | Wafer Transfer Automatic Test Device | |
FR2499239A1 (en) | CIRCUIT FOR DETECTING MEASURED VALUES OF A POSITION MEASURING DEVICE WORKING BY INCREMENTS | |
FR2826136A1 (en) | PROGRAMMING METHOD FOR KEY PROGRAMMABLE CLOCKS AND PROGRAMMING KEY FOR CARRYING OUT SAID METHOD | |
JPS6153728B2 (en) | ||
EP1548947B1 (en) | A method and a device for reading out keyboard keys. | |
EP1009007B1 (en) | Control device for an electromagnet with a local control input | |
KR0116128Y1 (en) | Wafer Transfer Automatic Test Device | |
FR2619632A1 (en) | Device for measuring the peak value of a voltage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ST | Notification of lapse |