[go: up one dir, main page]

DE3423799A1 - Arrangement for counting pulses with variable frequency up/down into a microcomputer - Google Patents

Arrangement for counting pulses with variable frequency up/down into a microcomputer

Info

Publication number
DE3423799A1
DE3423799A1 DE19843423799 DE3423799A DE3423799A1 DE 3423799 A1 DE3423799 A1 DE 3423799A1 DE 19843423799 DE19843423799 DE 19843423799 DE 3423799 A DE3423799 A DE 3423799A DE 3423799 A1 DE3423799 A1 DE 3423799A1
Authority
DE
Germany
Prior art keywords
microcomputer
down counter
counter
counting
comparator
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.)
Withdrawn
Application number
DE19843423799
Other languages
German (de)
Inventor
Hans 8501 Eckental Graßer
Alfred 8500 Nürnberg Meisner
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Diehl Verwaltungs Stiftung
Original Assignee
Diehl GmbH and Co
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Diehl GmbH and Co filed Critical Diehl GmbH and Co
Priority to DE19843423799 priority Critical patent/DE3423799A1/en
Publication of DE3423799A1 publication Critical patent/DE3423799A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

A device for relieving simple microcomputers (19), to which variable-frequency input pulses with an associated direction-of- counting identification are applied, is proposed, only a particular counting range being permissible. The microcomputer (19) is preceded by an up/down counter (1) which counts the input pulses and the count of which can be set and read by the microcomputer (19). The permissible counting range is monitored by means of at least one comparator (6, 9) which can inhibit the up/down counter (1) at particular counts. The comparison values can be preferably also set by the microcomputer (19). A display device (13) advantageously reproduces the respective count. <IMAGE>

Description

Anordnung zum Vor-/ Rückwärtseinzählen von Impulsen mit variabler Frequenz in einen Mikrocomputer Die vorliegende Erfindung betrifft eine Anordnung zum Vor-/Rückwärtseinzählen von Impulsen mit variabler Frequenz, welchen jeweils eine Zählrichtungskennung zugeordnet ist, in einen Mikrocomputer, wobei der erlaubte Zählbereich mindestens eine, ggf. variable Begrenzung aufweist.Arrangement for counting up / down pulses with variable Frequency in a microcomputer The present invention relates to an arrangement for counting up / down pulses with variable frequency, whichever a counting direction identifier is assigned, in a microcomputer, the permitted Counting range has at least one, possibly variable limitation.

Derartige Anordnungen sind bekannt.Such arrangements are known.

So ist aus der DE-PS 28 28 285 eine Anordnung mit einem elektromechanischen Impulsgenerator entnehmbar, welcher bei Betätigung zwei phasenverschobene Impulszüge erzeugt, welche in einen Mikroprozessor eingespeist werden. Dort werden die Impulszüge nach einem digitalen Verfahren ausgewertet, indem einer bestimmten Phasenbeziehung eine Betätigungsrichtung zugeordnet wird. Die Impulse werden dann im Mikrocomputer entsprechend der Betätigungsrichtung gezählt, und der Zählerstand für eine elektronische Digitalanzeige dekodiert.So from DE-PS 28 28 285 an arrangement with an electromechanical Pulse generator can be removed, which, when actuated, has two phase-shifted pulse trains generated, which are fed into a microprocessor. There will be the pulse trains evaluated according to a digital process by adding a specific phase relationship an actuation direction is assigned. The impulses are then in the microcomputer counted according to the direction of actuation, and the count for an electronic Digital display decoded.

Weiterhin ist in der DE-PS 28 43 353 ein Verfahren zur elektronischen Unterbrechung und Wiederaufhebung der Unterbrechung von Eingabeimpulsen eines Impulsgenerators in einen elektronischen Zähler zum Zwecke des Festhaltens des Zählerstandes an einem bestimmten Grenzwert beschrieben. Dieser Grenzwert kann manuell oder automatisch vorgegeben werden.Furthermore, in DE-PS 28 43 353 a method for electronic Interruption and repeal of the interruption of input pulses of a pulse generator into an electronic counter for the purpose of holding the count on a certain limit value described. This limit value can be manual or automatic can be specified.

Wird nun eine Eingabevorrichtung nach der DE-PS 28 43 353 mittels eines für Konsumgeräte, wie z.B. Uhren, üblichen Einfach-Mikrocomputers (z.B. Einchipmikrocomputer mit niedriger Taktfrequenz) realisiert, so ergeben sich bei einer erhöhten Frequenz der Eingabeimpulse Schwierigkeiten mit der Verarbeitungsgeschwindigkeit des Mikrocomputers. Dies ergibt sich aus der Vielzahl von Schritten, die der Prozessor bspw. bei der Eingabe einer vierstelligen Uhrzeit (0:01 bis 24:00 Uhr) abarbeiten muß (für jede Stelle einzeln, da 4 Bit nur dem Zahlenbereich von 0 bis 15 entsprechen).If now an input device according to DE-PS 28 43 353 by means of one for consumer devices such as clocks, conventional simple microcomputers (e.g. single-chip microcomputers with a low clock frequency), this results in an increased frequency of the input pulses, difficulties with the processing speed of the microcomputer. This results from the large number of steps that the processor takes, for example Enter a four-digit time (0:01 to 24:00) must process (for each Digit individually, since 4 bits only correspond to the number range from 0 to 15).

Aufgabe der Erfindung ist es daher, bei einem mit einem Mikrocomputer arbeitenden Gerät der eingangs genannten Art, den Prozessor bei Eingaben vorzugsweise mit höherer Geschwindigkeit zu entlasten.The object of the invention is therefore, in one with a microcomputer working device of the type mentioned, preferably the processor for inputs to relieve at higher speed.

Zur Lösung der Aufgabenstellung wird eine Anordnung der eingangs genannten Art gemäß dem Kennzeichen des Anspruches 1 ausgestaltet.To solve the problem, an arrangement of the type mentioned at the beginning is used Kind according to the characterizing part of claim 1 configured.

Dabei ergibt sich der besondere Vorteil, daß eine derartige Anordnung einfach zu integrieren ist, insbesondere auch zusammen mit dem Mikrocomputer.This has the particular advantage that such an arrangement is easy to integrate, especially together with the microcomputer.

Weitere Vorteile sind den Unteransprüchen entnehmbar.Further advantages can be found in the subclaims.

Der jeweilige Zählerstand des Vor-/Rückwärtszählers kann vom Mikrocomputer vorzugsweise dann abgerufen werden, wenn ausreichend Verarbeitungskapazität zur Verfügung steht.The respective count of the up / down counter can be obtained from the microcomputer are preferably called up when there is sufficient processing capacity Available.

Besonders vorteilhaft ist die Möglichkeit, daß der Mikrocomputer bestimmte Zahlenwerte in den Vor-/Rückwärtszähler einlesen kann; so kann vor jeder neuen Eingabe der Vor-/Rückwärtszähler mit dem tatsächlichen Zahlenwert geladen werden und die Eingabeimpulse können ab diesem Zahlenwert weitergezählt werden.Particularly advantageous is the possibility that the microcomputer certain Can read numerical values into the up / down counter; so can before each new input the up / down counter can be loaded with the actual numerical value and the Input pulses can continue to be counted from this numerical value.

In Verbindung mit der Möglichkeit, den aktuellen Stand des Vor-/ Rückwärtszählers in unterschiedliche Speicher des Mikrocomputers einzulesen, ist es z.B. bei einer so aufgebauten Mehrterminuhr möglich, die einzelnen Termine, bzw. die Uhrzeit über einen einzigen Vor-/Rückwärtszähler einzugeben.In connection with the possibility of the current status of the up / down counter to read into different memories of the microcomputer, it is e.g. with a Multi-appointment clock structured in this way is possible, the individual appointments or the time via enter a single up / down counter.

Dies wird ergänzt durch die Gadbarkeit der Vergleicher mit unterschiedlichen Werten, die der jeweiligen Eingabe zugeordnet sind.This is supplemented by the fact that the comparators can be compared with different ones Values that are assigned to the respective input.

Schließlich ist es möglich, den Mikrocomputer weiter zu entlasten, indem eine Steuerschaltung zwischen Mikrocomputer und Vor-/Rückwärtszähler, bzw. Vergleicher eingefügt wird, welche die seriell erzeugten (in Worten organisierten) Ausgangssignale des Mirkocomputers in geeignete Steuersignale für den Vor-/Rückwärtszähler, bzw. die Vergleicher umwandelt und umgekehrt.Finally, it is possible to further relieve the microcomputer, by a control circuit between the microcomputer and the up / down counter or Comparator is inserted, which the serially generated (organized in words) Output signals of the microcomputer in suitable control signals for the up / down counter, or the comparator converts and vice versa.

Außerdem kann der Vor-/Rückwärtszähler mit einer Anzeigevorrichtung verbunden werden, die den aktuellen Zählerstand während Eingaben ohne durch den Mikrocomputer verursachte Verzögerungen darstellt.In addition, the up / down counter can be equipped with a display device connected, which shows the current counter reading during entries without the Delays caused by microcomputers.

Weitere Vorteile bzw. vorteilhafte Ausgestaltungen der Erfindung sind der Zeichnung und der zugehörigen Beschreibung entnehmbar.Further advantages or advantageous embodiments of the invention are can be found in the drawing and the associated description.

Die einzige Figur der Zeichnung zeigt: Eine schematische Darstellung einer vorteilhaften Ausgestaltung der erfindungsgemäßen Anordnung in Form einer elektronischen Schaltuhr.The only figure in the drawing shows: A schematic representation an advantageous embodiment of the arrangement according to the invention in the form of a electronic timer.

Dabei wird ein elektronischer Vor-/Rückwärtszähler 1 über ein Gate 2 an seinem Zähleingang 3 mit Eingabeimpulsen angesteuert. Diesen Eingabeimpulsen ist jeweils ein Signal zugeordnet, welches einen Zähirichtungseingang 4 des Uor-/Rückwärtszählers 1, sowie einen Freigabeeingang 5 eines ersten Vergleichers 6 und über einen Inverter 7 einen Freigabeeingang 8 eines zweiten Vergleichers 9 beaufschlagt.An electronic up / down counter is 1 via a gate 2 at its counting input 3 controlled with input pulses. These input pulses a signal is assigned to each, which is a counting direction input 4 of the up / down counter 1, as well as an enable input 5 of a first comparator 6 and via an inverter 7 a release input 8 of a second comparator 9 is applied.

Der eigentliche Impulsgenerator, welcher die Eingabeimpulse und das Zählrichtungssignal in Abhängigkeit von der vorgegebenen Betätigungsrichtung erzeugt, ist nicht dargestellt. Derartige Impulsgeneratoren sind aber in unterschiedlichen Ausführungen bekannt, so daß nicht näher darauf eingegangen wird.The actual pulse generator, which generates the input pulses and the Counting direction signal generated depending on the specified actuation direction, is not shown. Such pulse generators are different Explanations known, so that it will not be discussed in more detail.

Der Vor-/Rückwärtszähler 1 ist über bidirektional arbeitende Befehls-und Datenleitungen 10 mit den beiden Vergleichern 6 und 9, sowie mit einer Steuerschaltung 11 und einer Ansteueranordnung 12 für eine Anzeigevorrichtung 13 verbunden.The up / down counter 1 is via bidirectional command and Data lines 10 with the two comparators 6 and 9, as well as with a control circuit 11 and a control arrangement 12 for a display device 13.

Die Steuerschaltung 11 wird über mehrere Befehlsleitungen 14 in Abhängigkeit von der Art der mittels des Impulsgenerators eingegebenen Daten angesteuert. Weiterhin erhält die Steuerschaltung 11 von den Ergebnisausgängen 15, 16 der beiden Vergleicher 6, 9 Vergleichsergebnissignale, wobei für den Fall einer Übereinstimmung zwischen Vergleichswert und Zählerstand bei aktivierten Vergleichern 6, 9 das Gate 2 über einen Steuereingang 17 von der Steuerschaltung 11 gesperrt werden kann, d.h., die Eingabeimpulse erreichen dann den Zähleingang 3 des Vor-/Rückwärtszählers 1 nicht mehr.The control circuit 11 is dependent on several command lines 14 driven by the type of data entered by means of the pulse generator. Farther the control circuit 11 receives from the result outputs 15, 16 of the two comparators 6, 9 comparison result signals, wherein for the case of a match between Comparison value and counter reading with activated comparators 6, 9 the gate 2 over a control input 17 can be blocked by the control circuit 11, i.e., the Input pulses then do not reach counter input 3 of up / down counter 1 more.

Weiterhin ist die Steuerschaltung 11 über einen bidirektionalen Bus 18 mit einem Mikrocomputer 19 verbunden. Zusätzlich ist die Steuerschaltung 11 mit einem Freigabeeingang 20 der Ansteueranordnung 12 verbunden, über welchen ggf. die Weitergabe eines auf den Befehls- und Datenleitungen 10 anstehenden Zahlenwertes auf die Anzeigevorrichtung 13 verhinderbar ist.Furthermore, the control circuit 11 is via a bidirectional bus 18 connected to a microcomputer 19. In addition, the control circuit 11 is with connected to a release input 20 of the control arrangement 12, via which the Forwarding of a numerical value pending on the command and data lines 10 on the display device 13 can be prevented.

Im Folgenden soll nun die Funktion der obenbeschriebenen Anordnung näher erläutert werden. Dabei wird beispielhaft davon ausgegangen, daß die Anordnung eine digitale Schaltuhr darstellt, welche einen Anzeigeumfang von 0:01 Uhr bis 24:00 Uhr (z.B. über eine vierstellige 7-Segment-Anzeigeanordnung 13) aufweist, in welche über einen beliebigen Impulsgenerator in Verbindung mit drei über die Befehlsleitungen 14 auf die Steuerschaltung 11 einwirkenden Tastern folgende Größen eingebbar sind: a) Tageszeit b) Schalttermin ein c) Schalttermin aus.The function of the arrangement described above will now be described below are explained in more detail. It is assumed, for example, that the arrangement represents a digital time switch with a display range from 0:01 a.m. to midnight Clock (e.g. via a four-digit 7-segment display arrangement 13) into which via any pulse generator in conjunction with three via the command lines 14 buttons acting on the control circuit 11, the following values can be entered: a) Time of day b) switching date on c) switching date off.

Als Mikrocomputer 19 ist vorzugsweise ein Einchipmikrocomputer mit 4 Bit Verarbeitungsbreite eingesetzt. Die Steuerschaltung 11 dient dann im wesentlichen als Interfaces welches jeweils aus einer Folge von 4 Bit Worten aus dem Mikrocomputer geeignete Signale für den Vor-/Rückwärtszähler 1, die Vergleicher 6, 9 und für die Anzeigevorrichtung 13 erzeugt und umgekehrt.A single-chip microcomputer is preferably included as the microcomputer 19 4 bit processing width used. The control circuit 11 then serves essentially as interfaces which each consist of a sequence of 4-bit words from the microcomputer suitable signals for the up / down counter 1, the comparators 6, 9 and for the Display device 13 generated and vice versa.

Soll nun in einer derartigen Schaltuhr eine neue Uhrzeit eingestellt werden, wird über die entsprechende Befehlsleitung 14 die Steuerschaltung 11 und damit der Mikrocomputer 19 aktiviert. Der Mikrocomputer 19 lädt dann den Vor-/Rückwärtszähler 1 mit der gespeicherten Uhrzeit, den ersten Vergleicher mit 0:01 (Untergrenze des Anzeigebereiches) und den zweiten Vergleicher 9 mit 24:00 (Obergrenze des Anzeigebereiches). Danach wird das Gate 2 und die Ansteueranordnung 12 für die Anzeigevorrichtung 13 freigegeben. Es können somit Eingabeimpulse vom Vor-'Rückwärtszähler 1 entsprechend der vorgegebenen Eingaberichtung gezählt und der aktuelle Zählerstand von der Anzeigevorrichtung 13 angezeigt werden.A new time should now be set in such a time switch are, via the corresponding command line 14, the control circuit 11 and so that the microcomputer 19 is activated. The microcomputer 19 then loads the up / down counter 1 with the saved time, the first comparator with 0:01 (lower limit of Display range) and the second comparator 9 with 24:00 (upper limit of the display range). Thereafter, the gate 2 and the drive arrangement 12 for the display device 13 Approved. It can thus input pulses from the up / down counter 1 accordingly counted in the specified input direction and the current counter reading from the display device 13 are displayed.

Abhängig von dem am Zählrichtungseingang 4 des Vor-/Rückwärtszählers 1 anstehenden Signal wird nun einer der beiden Vergleicher 6, 9 über die Freigabeeingänge 5 bzw. 8 aktiviert, und zwar derart, daß beim Vorwärtszählen die obere Bereichsgrenze und beim Abwärtszählen die untere Bereichsgrenze wirksam wird.Depending on the one at counting direction input 4 of the up / down counter 1 pending signal is now one of the two comparators 6, 9 via the enable inputs 5 or 8 activated, in such a way that the upper range limit when counting up and when counting down, the lower range limit becomes effective.

Das Erreichen einer Bereichsgrenze veranlaßt nun den Mikrocomputer 19, den Vor-/Rückwärtszähler 1 mit den jeweils anderen Bereichsgrenzwert zu laden, was aber nicht zu einem Ansprechen eines der Vergleicher 6, 9 führt, da der dafür zuständige Vergleicher 6, 9 bei der gegebenen Zähirichtung nicht aktiviert ist.Reaching a range limit now causes the microcomputer 19, to load the up / down counter 1 with the respective other range limit value, but this does not lead to a response of one of the comparators 6, 9, since the one for it Competent comparator 6, 9 is not activated for the given counting direction.

Nach dem Ende der Uhrzeiteingabe, d.h., nachdem die Steuerschaltung 11 über die entsprechende Befehlsleitung 14 nicht mehr aktiviert ist, wird der aktuelle Zählerstand als neue Uhrzeit in den Uhrzeitspeicher des Mikrocomputer 19 übernommen und die Zeitzählung begonnen. Gleichzeitig wird Gate 2 wieder gesperrt. Mit Beginn der jeweils nächsten vollen Minute wird die nunmehr aktuelle Uhrzeit vom Mikrocomputer 19 in den Vor-/Rückwärtszähler 1 geladen und mittels der Anzeigevorrichtung 13 fortlaufend angezeigt.After the end of the time entry, i.e. after the control circuit 11 is no longer activated via the corresponding command line 14, the current The counter reading is taken over as the new time in the time memory of the microcomputer 19 and the time counting started. Gate 2 is locked again at the same time. With the beginning the next full minute is the current time from the microcomputer 19 loaded into the up / down counter 1 and continuously by means of the display device 13 displayed.

Die Eingabe der beiden Schalttermine (ein/aus) geschieht nun in äquivalenter Weise, indem die Steuerschaltung 11 über die entsprechende Befehlsleitung 14 angesprochen und damit der Mikrocomputer 19 aktiviert wird. Dabei wird bei der Eingabe des jeweils ersten Schalttermines vorzugsweise der Vor-/Rückwärtszähler 1, sowie der Vergleicher 6 für die untere Bereichsgrenze auf die aktuelle Uhrzeit gesetzt. Für die Eingabe des ersten Schalttermines stehen dann die auf die aktuelle Uhrzeit folgenden 23 h 59 min zur Verfügung; dies geschieht durch folgende Manipulation: Der Vergleicher 9 für die obere Bereichsgrenze wird auf 24:00 gesetzt.The two switching dates (on / off) are now entered in an equivalent way Way, by the control circuit 11 being addressed via the corresponding command line 14 and so that the microcomputer 19 is activated. When entering the first switching dates preferably the up / down counter 1, as well as the comparator 6 is set to the current time for the lower range limit. For input of the first switching date are then the 23 following the current time h 59 min available; this is done by the following manipulation: The comparator 9 for the upper range limit is set to 24:00.

Bei Erreichen von 24:00 für den ersten Schalttermin wird dann der Vergleicher 6 für die untere Bereichsgrenze und der Uor-iRückwartszähler 1 auf 0:01, der Vergleicher 9 für die obere Bereichsgrenze auf die aktuelle Uhrzeit minus eine Minute gesetzt. Bei Erreichen der oberen Bereichsgrenze wird dann die Eingabe mittels des Gates 2 gesperrt. Dabei wird mittels der Anzeigevorrichtung 13 während der gesamten Terminmanipulation jeweils der Stand des Vor-/Rückwärtszählers 1 angezeigt, d.h. die aktuelle Termineingabe.When 24:00 is reached for the first switching date, the Comparator 6 for the lower range limit and the Uor-i downward counter 1 to 0:01, the comparator 9 for the upper range limit to the current time minus one Minute set. When the upper range limit is reached, the entry is then made using of gate 2 blocked. It is by means of the display device 13 during the entire Date manipulation, the status of the up / down counter 1 is displayed, i.e. the current date entry.

Erfolgt nun eine Eingabe in entgegengesetzer Richtung, also abwärts, wird das Gate 2 den Vor-/Rückwärtszähler 1 wieder freigegeben, da nunmehr der andere Vergleicher 6 (für die untere Bereichsgrenze) aktiviert ist.If an entry is made in the opposite direction, i.e. downwards, the gate 2 the up / down counter 1 is released again, since now the other Comparator 6 (for the lower range limit) is activated.

Bei Erreichen der Grenze 0:01/24:00 wird der obenbeschriebene Setzvorgang äquivalent @@rchgeführt, so daß als untere Bereicnsgrenze wieder die aktuelle Uhrzeit eingesetzt ist. Wird diese Bereichsuntergrenze nunmehr erreicht, setzt der Mikrocomputer 19 seinen entsprechenden Schaltterminspeicher auf 0:00 und die Schaltuhrfunktion ist gelöscht.When the limit 0: 01/24: 00 is reached, the above-described setting process takes place equivalent @@ managed, so that the current time is again the lower range limit is used. If this lower range limit is now reached, the microcomputer sets 19 its corresponding switching schedule memory to 0:00 and the timer function is deleted.

Die Eingabe des zweiten Schalttermines erfolgt analog wie beim ersten, wobei die Bereichsgrenzen aber vorzugsweise zum Teil durch den ersten eingegebenen Schalttermin gebildet werden: Handelt es sich z.B. bei dem zweiten einzugebenden Schalttermin um, den Ein-Termin, so kann dieser aus Gründen der Logik und der Beschränkung des Anzeigebereiches auf 24 h zeitlich nur vor dem Aus-Termin also zwischen der aktuellen Uhrzeit und dem Aus-Termin liegen. Als äußerste Bereichsgrenzen dienen also in diesem Fall die aktuelle Uhrzeit und der zuerst eingegebene Aus-Termin.The second switching date is entered in the same way as for the first, however, the range limits are preferably partially entered by the first one Switching date can be created: For example, is it the second to be entered Switching date, the on-date, this can be for reasons of logic and limitation of the display area to 24 hours only before the off date, i.e. between the the current time and the off date. Serve as the outermost range limits So in this case the current time and the first off date entered.

Ist der zweite einzugebende Termin dagegen der Aus-Termin, werden als äußerste Bereichsgrenzen der Ein-Termin und die aktuelle Uhrzeit minus eine Minute verwendet.If, on the other hand, the second date to be entered is the off date, then as the outermost range limits the on-date and the current time minus one Minute used.

Ist die e Termineingabe abgeschlossen, wir die Eingabe mittels Gate 2 gesperrt und die im Vor-/Rückwärtszähler 1 jeweils stehenden Termine 0er. entsprechenden Terminspeicher im Mikrocomputer 19 übernommen.Once the deadline has been entered, the entry is made via the gate 2 are blocked and the appointments in the up / down counter 1 are 0's. appropriate Appointment memory in the microcomputer 19 taken over.

00 nach wird der Vor-/Rückwärtszähler 1 vom Mikrocomputer 19 wieder mit aer aktuellen Uhrzeit geladen und dieselbe von der Anzeigevorrichtung 13 dargestellt.00 after the up / down counter 1 from the microcomputer 19 is again loaded with the current time and displayed by the display device 13.

Bezugszeichenliste 1 Vor-/Rückwärtszähler 2 Gate 3 Zähleingang von 1 4 Zählricht@ngseingang von 1 5 Freigabeeingang von 6 6 erster Vergleicher 7 Inverter 8 Freigabeeingang von 9 9 zweiter Vergleicher 10 Befehls- und Datenleitungen 11 Steuerschaltung 12 Ansteueranordnung für 13 13 Anzeigevorrichtung 14 Befenhlsleitungen 15 Ergebnisa@sgang von 6 16 Ergebnisa@sgang von 9 17 Steuereingang von 2 18 bidirektionaler Bus 19 Mikrocomp@ter 2G Freigabeeingang von 12 LIST OF REFERENCE NUMERALS 1 up / down counter 2 gate 3 counter input of 1 4 counting direction input from 1 5 release input from 6 6 first comparator 7 inverter 8 enable input of 9 9 second comparator 10 command and data lines 11 Control circuit 12 control arrangement for 13 13 display device 14 command lines 15 Result output from 6 16 Result output from 9 17 Control input from 2 18 bidirectional Bus 19 microcomp @ ter 2G release input from 12

Claims (8)

Patentansprüche 1. Anordnung zum Vor-/Rückwärtseinzählen von Impulsen mit variabler Frequenz, welchen jeweils eine Zählrichtungskennung zugeordnet ist, in einen Mikrocomputer, wobei der erlaubte Zählbereich mindestens eine, ggf. variable Begrenzung aufweist, dadurch gekennzeichnet, daß dem Mikrocomputer (19) ein Vor-/Rückwärtszähler (1) zum Zählen der Eingabeimpulse vorgeschaltet ist, wobei der Zählerstand des Vor-/Rückwärtszählers (1) in den Mikrocomputer (19) einlesbar ist, und daß der Vor-/Rückwärtszähler (1) mit mindestens einem Vergleicher (6, 9) verbunden ist, durch welchen bei Vorliegen bestimmter Zählerstände der Vor-/Rückwärtszähler (1) sperrbar ist. Claims 1. Arrangement for counting up / down pulses with variable frequency, each of which is assigned a counting direction identifier, in a microcomputer, the permitted counting range at least one, possibly variable Has limitation, characterized in that the microcomputer (19) has an up / down counter (1) is connected upstream for counting the input pulses, whereby the count of the up / down counter (1) can be read into the microcomputer (19), and that the up / down counter (1) is connected to at least one comparator (6, 9) through which, if present certain counter readings the up / down counter (1) can be blocked. 2. Anordnung nach Anspruch 1, dadurch gekennzeichnet, daß der Zählerstand des Vor-/Rückwärtszählers (1) durch den Mikrocomputer (19) abrufbar ist.2. Arrangement according to claim 1, characterized in that the counter reading the up / down counter (1) can be called up by the microcomputer (19). 3. Anordnung nach Anspruch 1 oder 2, dadurch gekennzeichnet, daß der Zählerstand des Vor-/Rückwärtszählers (1) vom Mikrocomputer (19) auf einen bestimmten Wert setzbar, bzw. löschbar ist.3. Arrangement according to claim 1 or 2, characterized in that the Count of the up / down counter (1) from the microcomputer (19) to a specific one Value can be set or deleted. 4. Anordnung nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, daß der jeweilige Zählerstand des Vor-/Rückwärtszählers (1) in unterschiedliche Speicher des Mikrocomputers (19) einlesbar ist.4. Arrangement according to one of claims 1 to 3, characterized in that that the respective count of the up / down counter (1) in different Memory of the microcomputer (19) can be read. 5. Anordnung nach einem der Ansprüche 1 bis 4, dadurch gekennzeichnet, daß der, bzw. die Vergleicher (6, 9) mit variablen Grenzwerten ladbar sind, welche Grenzwerte den jeweiligen Zählerständen entsprechen, bei welchen der Vor-/Rückwärtszähler (1) gesperrt wird.5. Arrangement according to one of claims 1 to 4, characterized in that that the comparator or comparators (6, 9) can be loaded with variable limit values, which Limit values correspond to the respective counter readings at which the up / down counter (1) is blocked. 6. Anordnung nach einem der Ansprüche 1 bis 5, dadurch gekennzeichnet, daß der, bzw. die Vergleicher (6, 9) nur bei Vorliegen einer bestimmten Zählrichtungskennung aktiviert sind.6. Arrangement according to one of claims 1 to 5, characterized in that that the comparator or comparators (6, 9) only when a specific counting direction identifier is present are activated. 7. Anordnung nach einem der Ansprüche 1 bis 6, dadurch gekennzeichnet, daß, insbesondere bei Verwendung von 4 Bit Mikrocomputern f19), zur Steuerung des Vor-/Rückwärtszählers (1) und der Vergleicher (6, 9) durch den Mikrocomputer (19) eine Steuerschaltung (11) verwendet wird, welche mehrere seriell übertragene Worte des Mikrocomputers (19) in eine parallel übertragbare Information für den Vor-jRückwärtszähler (1) und die Vergleicher (6,9) umwandelt.7. Arrangement according to one of claims 1 to 6, characterized in that that, especially when using 4 bit microcomputers f19), to control the Up / down counter (1) and the comparator (6, 9) by the microcomputer (19) a control circuit (11) is used, which several serially transmitted words of the microcomputer (19) into information that can be transmitted in parallel for the up / down counter (1) and the comparators (6,9) converts. 8. Anordnung nach einem der Ansprüche 1 bis 7, dadurch gekennzeichnet, daß der Wor-/Rückwärtszähler (1) mit einer Anzeigevorrichtung (13) verbunden ist, durch welche der jeweilige Zählerstand anzeigbar ist.8. Arrangement according to one of claims 1 to 7, characterized in that that the wor / down counter (1) is connected to a display device (13), through which the respective counter reading can be displayed.
DE19843423799 1984-06-28 1984-06-28 Arrangement for counting pulses with variable frequency up/down into a microcomputer Withdrawn DE3423799A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE19843423799 DE3423799A1 (en) 1984-06-28 1984-06-28 Arrangement for counting pulses with variable frequency up/down into a microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19843423799 DE3423799A1 (en) 1984-06-28 1984-06-28 Arrangement for counting pulses with variable frequency up/down into a microcomputer

Publications (1)

Publication Number Publication Date
DE3423799A1 true DE3423799A1 (en) 1986-01-09

Family

ID=6239345

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19843423799 Withdrawn DE3423799A1 (en) 1984-06-28 1984-06-28 Arrangement for counting pulses with variable frequency up/down into a microcomputer

Country Status (1)

Country Link
DE (1) DE3423799A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2516374A1 (en) * 1975-04-15 1976-10-21 Kraftwerk Union Ag Industrial process plant monitoring - uses computer controlled digital data accessing system
DE2843353C2 (en) * 1978-10-05 1982-04-29 Diehl GmbH & Co, 8500 Nürnberg Method for the electronic control of input pulses from a manually rotatable pulse generator in an electronic counter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2516374A1 (en) * 1975-04-15 1976-10-21 Kraftwerk Union Ag Industrial process plant monitoring - uses computer controlled digital data accessing system
DE2843353C2 (en) * 1978-10-05 1982-04-29 Diehl GmbH & Co, 8500 Nürnberg Method for the electronic control of input pulses from a manually rotatable pulse generator in an electronic counter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
US-B.: The TTL Data Book for Design Engineers, Texas Instruments, 3.Aufl., 1979, S. 7-206 bis 7-207, 7-306 bis 7-307 *

Similar Documents

Publication Publication Date Title
DE2164007B2 (en) Circuit for digital frequency setting of a frequency-controlled oscillator
DE4034680C2 (en)
DE3744398A1 (en) METHOD AND DEVICE FOR REGISTERING SIGNAL CURVES
DE2462451A1 (en) DEVICE FOR MEASURING AND COMPARING SPEEDS
DE2916158A1 (en) DEVICE FOR DISPLAYING FREQUENCY DISTRIBUTIONS OF MEASURED VALUES OR THE LIKE. ABOUT AN ADJUSTABLE MEASURING RANGE
DE2808991A1 (en) SELF-SELLER
DE3423799A1 (en) Arrangement for counting pulses with variable frequency up/down into a microcomputer
EP0198204B1 (en) Method and device for dc-ac converting
DE2658966C3 (en) Electronic clock
DE2406485A1 (en) CIRCUIT ARRANGEMENT FOR COMPARING THE FREQUENCIES OF TWO PULSE TRAINING
EP0485022A2 (en) Circuit for removing stuff bits
DE3321223C2 (en)
DE2900111C2 (en) Control device for internal combustion engines, in particular for controlling the ignition and / or fuel injection processes
DE2722981A1 (en) Binary signal digital filter - has up=down delay counter responding to different binary input stages and blocking when given count is reached
DE2700359C3 (en) Electronic clock
DE2733875C2 (en) Method for digital information transmission and arrangement for carrying out the method
EP0489228B1 (en) Automation system with a programming device and an automation device
DE3148049C1 (en) Electronic text generator for simultaneous or delayed delivery of text-identical or text-different announcements
EP0583490B1 (en) Procedure to process an electrical signal, especially a signal derived from the heart
DE2609640C2 (en) Digital control system
EP0354487B1 (en) Electronic digital switching and/or control apparatus, especially a time switch
CH646741A5 (en) CONTROL DEVICE FOR KNITTING MACHINES.
DE9112177U1 (en) Circuit arrangement for synchronizing a voltage-controlled oscillator
DE1944058A1 (en) Circuit for counting pulses
DE3516987A1 (en) CIRCUIT ARRANGEMENT FOR AN INPUT AND OUTPUT MULTIPLEX OPERATION OF AN ELECTRONIC CONTROL DEVICE HAVING A MICRO COMPUTER

Legal Events

Date Code Title Description
8110 Request for examination paragraph 44
8139 Disposal/non-payment of the annual fee