DE19754641C2 - Circuit arrangement with a microcontroller for querying the contact of a pulse generator - Google Patents

Circuit arrangement with a microcontroller for querying the contact of a pulse generator

Info

Publication number
DE19754641C2
DE19754641C2 DE19754641A DE19754641A DE19754641C2 DE 19754641 C2 DE19754641 C2 DE 19754641C2 DE 19754641 A DE19754641 A DE 19754641A DE 19754641 A DE19754641 A DE 19754641A DE 19754641 C2 DE19754641 C2 DE 19754641C2
Authority
DE
Germany
Prior art keywords
microcontroller
voltage
pulse generator
input
output
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.)
Expired - Fee Related
Application number
DE19754641A
Other languages
German (de)
Other versions
DE19754641A1 (en
Inventor
Joerg Leipold
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.)
Qundis GmbH
Original Assignee
Electrowatt Technology Innovation AG
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 Electrowatt Technology Innovation AG filed Critical Electrowatt Technology Innovation AG
Publication of DE19754641A1 publication Critical patent/DE19754641A1/en
Application granted granted Critical
Publication of DE19754641C2 publication Critical patent/DE19754641C2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
    • G01D3/08Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for safeguarding the apparatus, e.g. against abnormal operation, against breakdown
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
    • G01R31/2829Testing of circuits in sensor or actuator systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches

Description

Die Erfindung betrifft eine Schaltungsanordnung zur Abfrage des Kontaktes eines Impulsgebers der in den Oberbegriffen der Patentansprüche 1 und 2 genannten Gattung.The invention relates to a circuit arrangement for querying the contact of a pulse generator in the preambles of Claims 1 and 2 mentioned genus.

Es ist bereits ein Verfahren zur elektronischen Kennung und Erkennung einer fahrzeugspezifischen Kombination von mehreren elektronischen Steuergeräten bekannt (DE 42 40 447 C1), die über eine gemeinsame Signalleitung mit einem primären Steuer­ gerät verbindbar sind. Dabei werden die mit der Signalleitung verbindbaren Anschlüsse aller Steuergeräte mit Widerständen als passiven Schaltungselemente versehen. Über die Signal­ leitung wird ein Prüfstrom in die Widerstände der ange­ schlossenen Steuergeräte eingespeist, so daß aus dem resul­ tierenden Spannungsabfall an allen passiven Schaltungs­ elementen bzw. Widerständen durch Vergleichen mit Werten einer Zuordnungstabelle auf eine bestimmte Konfiguration geschlossen werden kann.It is already a procedure for electronic identification and Detection of a vehicle-specific combination of several electronic control units known (DE 42 40 447 C1), the over a common signal line with a primary control device can be connected. The ones with the signal line connectable connections of all control units with resistors provided as passive circuit elements. About the signal a test current is fed into the resistors of the line closed control units fed so that from the resul voltage drop across all passive circuits elements or resistances by comparing with values of a Assignment table based on a specific configuration can be.

Darüber hinaus ist es bekannt, inkrementale Impulsgeber in mechanischen Zählwerken zu verwenden, um die Umdrehung des die letzte Ziffer anzeigenden Zählrades elektronisch zu erfassen. In addition, it is known to use incremental pulse generators mechanical counters to use to measure the rotation of the to record the last digit of the counting wheel electronically.  

Dabei wird beispielsweise ein Reed-Kontakt geschlossen, solange die Ziffer 0 sichtbar ist. Bei einem gewöhnlichen Reed-Kontakt können aber nur die beiden Zustände "Kontakt offen" und "Kontakt geschlossen" je für sich detektiert werden. Bei einem Impulsgeber, der einen Reed-Kontakt mit Namur-Beschaltung aufweist, ist es dagegen möglich, zwei weitere Zustände, nämlich "Kurzschluß" oder "Unterbrechung" des zum Impulsgeber führenden Stromkreises zu detektieren. Bekannte Schaltungen verwenden dazu als Vergleichselemente Operationsverstärker, um festzustellen, ob der gemessene Ausgangswiderstand des Impulsgebers innerhalb eines vorgegebenen "Fensters" liegt.For example, a reed contact is closed, as long as the number 0 is visible. With an ordinary one Reed contact can only have the two states "contact open "and" contact closed "each detected for itself become. With a pulse generator that has a reed contact Namur circuitry, however, it is possible to have two further states, namely "short circuit" or "interruption" of the circuit leading to the pulse generator. Known circuits use this as comparison elements Operational amplifier to determine whether the measured Output resistance of the pulse generator within one predetermined "window" lies.

Der Erfindung liegt die Aufgabe zugrunde, eine Schaltungs­ anordnung der eingangs genannten Gattung dahingehend zu verbessern, daß die Abfrage eines Impulsgebers auf einfache Weise mittels eines Mikrocontrollers möglich ist.The invention has for its object a circuit arrangement of the type mentioned at the beginning improve that the query of a pulse generator on simple Way is possible by means of a microcontroller.

Diese Aufgabe wird durch die in den Patentansprüchen 1 und 2 angegebenen Merkmale gelöst. In Unteransprüchen 3 und 4 sind weitere Verbesserungen der Erfindung beansprucht.This object is achieved by the features specified in claims 1 and 2. In subclaims 3 and 4 are further Improvements of the invention claimed.

Nachfolgend wird ein Ausführungsbeispiel der Erfindung anhand der Zeichnung näher erläutert.An exemplary embodiment of the invention is explained in more detail below with reference to the drawing.

Die einzige Figur zeigt eine Schaltungsanordnung, die einen Impulsgeber 1, einen Mikrocontroller 2 mit wenigstens drei schaltbaren Ausgängen 3, 4, 5 und einem Eingang 6 mit einem Schmitt-Trigger Verhalten, sowie drei Widerstände 7, 8, 9 umfasst. Der Impulsgeber 1 weist einen Kontakt 10, beispielsweise einen Reedkontakt, auf, zu dem in Reihe und parallel je ein Widerstand 11 bzw. 12 geschaltet ist. Der Impulsgeber 1 ist somit ein Reedkontakt mit sogenannter Namur-Beschaltung. Der Kontakt 10 kann auch ein open Collector oder ein open Drain, usw. sein. Der Impulsgeber 1 weist wie ein gewöhnlicher Widerstand zwei Anschlüsse 13 und 14 auf. Der Ausgangswiderstand des Impuls­ gebers 1, d. h. der Widerstand zwischen den Anschlüssen 13 und 14, beträgt beispielsweise 7.5 kΩ, wenn der Kontakt 10 offen ist, und 2.2 kΩ, wenn der Kontakt 10 geschlossen ist. Durch Messung des Wider­ standes zwischen den Anschlüssen 13 und 14 kann deshalb die Stellung des Kontaktes 10 bestimmt werden.The single figure shows a circuit arrangement which comprises a pulse generator 1 , a microcontroller 2 with at least three switchable outputs 3 , 4 , 5 and an input 6 with a Schmitt trigger behavior, and three resistors 7 , 8 , 9 . The pulse generator 1 has a contact 10 , for example a reed contact, to which a resistor 11 or 12 is connected in series and in parallel. The pulse generator 1 is thus a reed contact with a so-called Namur circuit. The contact 10 can also be an open collector or an open drain, etc. The pulse generator 1 has two connections 13 and 14 like an ordinary resistor. The output resistance of the pulse generator 1 , ie the resistance between the terminals 13 and 14 , is for example 7.5 kΩ when the contact 10 is open and 2.2 kΩ when the contact 10 is closed. By measuring the resistance between the terminals 13 and 14 , the position of the contact 10 can therefore be determined.

Die Ausgänge 3, 4 und 5 des Mikrocontrollers 2 sind über den zugeordneten Widerstand 7, 8 bzw. 9 und eine Abfrageleitung 15 mit dem einen Anschluss 13 des Impulsgebers 1 verbunden, während der zweite Anschluss 14 des Impulsgebers 1 mit Masse m verbunden ist. Der Anschluss 13 des Impulsgebers 1 ist zudem mit dem Eingang σ des Mikrocontrollers 2 verbunden. Jeder der Ausgänge 3, 4 und 5 des Mikrocontrollers 2 ist entweder hochohmig schaltbar, mit Masse m oder mit einer vorgegebenen Spannung U, beispielsweise der Betriebsspannung des Mikrocontrollers 2, verbindbar. Sobald einer der Ausgänge 3, 4 oder 5 die Spannung U führt, fliesst ein Strom über den zugeordneten Widerstand 7, 8 bzw. 9, über die Abfrageleitung 15 vom Mikrocontroller 2 zum Impulsgeber 1, durch den Impulsgeber 1 und zur Masse m, wobei sich die Spannung V am Eingang 6 entsprechend den vom Strom durchflossenen Widerständen einstellt.The outputs 3 , 4 and 5 of the microcontroller 2 are connected via the assigned resistor 7 , 8 and 9 and a query line 15 to the one connection 13 of the pulse generator 1 , while the second connection 14 of the pulse generator 1 is connected to ground m. The connection 13 of the pulse generator 1 is also connected to the input σ of the microcontroller 2 . Each of the outputs 3 , 4 and 5 of the microcontroller 2 can either be switched with high resistance, with ground m or with a predetermined voltage U, for example the operating voltage of the microcontroller 2 . As soon as one of the outputs 3 , 4 or 5 carries the voltage U, a current flows through the associated resistor 7 , 8 or 9 , via the interrogation line 15 from the microcontroller 2 to the pulse generator 1 , through the pulse generator 1 and to ground m, whereby sets the voltage V at the input 6 in accordance with the resistances through which the current flows.

Die Schaltungsanordnung arbeitet wie folgt: Bei beispielsweise 16 durchzuführenden Abfragen des Impulsgebers 1 pro Sekunde, führt der Mikrocontroller 2 in zeitlichen Abständen von etwa 60 Milli­ sekunden jeweils eine Abfrage durch. Eine solche Abfrage dauert etwa 30 Mikrosekunden. Zwischen den Abfragen sind alle Ausgänge 3, 4 und 5 mit Masse m verbunden: Es fliesst kein Strom durch den Impulsgeber 1 und der Eingang 6 des Mikrocontrollers 2 ist geerdet und somit vor elektromagnetischen Störeinflüssen geschützt. Zur Durchführung einer Abfrage führt der Mikrocontroller 2 folgende Verfahrensschritte durch:
The circuit arrangement works as follows: With, for example, 16 queries of the pulse generator 1 to be carried out per second, the microcontroller 2 carries out one query at intervals of approximately 60 milliseconds. Such a query takes about 30 microseconds. Between the queries, all outputs 3 , 4 and 5 are connected to ground m: No current flows through the pulse generator 1 and the input 6 of the microcontroller 2 is grounded and thus protected from electromagnetic interference. To carry out a query, the microcontroller 2 carries out the following method steps:

  • 1. Alle Ausgänge 3, 4 und 5 hochohmig legen.1. Set all outputs 3 , 4 and 5 with high resistance.
  • 2. Den Ausgang 3 an die Spannung U legen, die Spannung V am Eingang 6 als binäres Signal S1 "0" oder "1" entsprechend einer unterhalb oder oberhalb der Triggerschwelle liegenden Spannung erfassen und den Ausgang 3 wieder hochohmig legen. Das Resultat S1 = "0" bedeutet, dass ein Kurzschluss in der Abfrageleitung 15 vorliegt.2. Connect output 3 to voltage U, detect voltage V at input 6 as binary signal S 1 "0" or "1" corresponding to a voltage below or above the trigger threshold and connect output 3 again with high impedance. The result S 1 = "0" means that there is a short circuit in the query line 15 .
  • 3. Den Ausgang 4 an die Spannung U legen, die Spannung V am Eingang 6 als binäres Signal S2 "0" oder "1" entsprechend einer unterhalb oder oberhalb der Triggerschwelle liegenden Spannung erfassen und den Ausgang 4 wieder hochohmig legen. Das Resultat S2 = "1" bedeutet, dass eine Unterbrechung in der Abfrageleitung 15 vorliegt.3. Connect output 4 to voltage U, detect voltage V at input 6 as binary signal S 2 "0" or "1" corresponding to a voltage below or above the trigger threshold, and connect output 4 again with high impedance. The result S 2 = "1" means that there is an interruption in the query line 15 .
  • 4. Den Ausgang 5 an die Spannung U legen, die Spannung V am Eingang 6 als binäres Signal S3 "0" oder "1" entsprechend einer unterhalb oder oberhalb der Triggerschwelle liegenden Spannung erfassen und den Ausgang 5 wieder hochohmig legen. Das Resultat S3 = "0" bedeutet, dass der Kontakt 10 geschlossen ist, das Resultat S3 = "1" bedeutet dass der Kontakt 10 offen ist.4. Connect output 5 to voltage U, detect voltage V at input 6 as binary signal S 3 "0" or "1" corresponding to a voltage below or above the trigger threshold and apply output 5 again with high impedance. The result S 3 = "0" means that the contact 10 is closed, the result S 3 = "1" means that the contact 10 is open.
  • 5. Alle Ausgänge 3, 4 und 5 wieder an Masse m legen.5. Connect all outputs 3 , 4 and 5 to ground m again.

Falls nach dem Verfahrensschritt 2 oder 3 erkannt ist, dass ein Kurzschluss bzw. eine Unterbrechung vorliegt, bricht der Mikrocontroller 2 das Verfahren vorteilhafterweise ab, da dann die Stellung des Kontaktes 10 nicht mehr messbar ist.If it is recognized after method step 2 or 3 that there is a short circuit or an interruption, the microcontroller 2 advantageously terminates the method since the position of the contact 10 can then no longer be measured.

Die Triggerschwelle des Einganges 6 liegt typisch bei der halben Betriebsspannung, mit der der Mikrocontroller 2 gespeist ist. Damit die binären Signale S1, S2 und S3 gemäss der oben angegebenen Interpretation erzeugt werden, müssen die Werte der drei Widerstände 7, 8 und 9 entsprechend an die Werte der Widerstände 11 und 12 im Impulsgeber 1 angepasst sein. Der erste Widerstand 7 ist so bemessen, dass bei intakter Abfrageleitung 15 zum Impulsgeber 1 unabhängig von der Stellung des Kontakts 10 am Eingang 6 des Mikrocontrollers 2 eine über der Triggerschwelle liegende Spannung V und somit ein binäres Signal "1" resultiert. Bei einem Kurzschluss liegt der Eingang 6 nämlich auf Masse m, was ein binäres Signal "0" erzeugt.The trigger threshold of the input 6 is typically half the operating voltage with which the microcontroller 2 is supplied. So that the binary signals S 1 , S 2 and S 3 are generated according to the interpretation given above, the values of the three resistors 7 , 8 and 9 must be adapted accordingly to the values of the resistors 11 and 12 in the pulse generator 1 . The first resistor 7 is dimensioned such that when the interrogation line 15 to the pulse generator 1 is intact, regardless of the position of the contact 10 at the input 6 of the microcontroller 2, a voltage V above the trigger threshold and thus a binary signal "1" result. In the event of a short circuit, input 6 is at ground m, which generates a binary signal "0".

Der zweite Widerstand 8 ist so bemessen, dass bei intakter Abfrageleitung 15 unabhängig von der Stellung des Kontakts 10 am Eingang 6 des Mikrocontrollers 2 eine unter der Triggerschwelle liegende Spannung V und somit ein binäres Signal "0" resultiert. Bei einer Unterbrechung kann kein Strom fliessen, so dass am Eingang 6 die Spannung V = U anliegt, was ein binäres Signal "1" erzeugt.The second resistor 8 is dimensioned such that if the interrogation line 15 is intact, regardless of the position of the contact 10 at the input 6 of the microcontroller 2, a voltage V below the trigger threshold and thus a binary signal "0" result. In the event of an interruption, no current can flow, so that the voltage V = U is present at input 6 , which generates a binary signal "1".

Der dritte Widerstand 9 ist so bemessen, dass bei intakter Abfrageleitung 15 am Eingang 6 des Mikrocontrollers 2 eine unter der Triggerschwelle liegende Spannung V und somit ein binäres Signal "0" resultiert, wenn der Kontakt 10 geschlossen ist, und dass eine über der Triggerschwelle liegende Spannung und somit ein binäres Signal "1" resultiert, wenn der Kontakt 10 offen ist.The third resistor 9 is dimensioned such that when the interrogation line 15 is intact at the input 6 of the microcontroller 2, a voltage V below the trigger threshold and thus a binary signal “0” results when the contact 10 is closed, and that one above the trigger threshold Voltage and thus a binary signal "1" results when the contact 10 is open.

Es ist auch möglich, nur zwei Widerstände 7 und 8 vorzusehen, und den Widerstand 9 durch die Parallelschaltung der Widerstände 7 und 8 zu ersetzen.It is also possible to provide only two resistors 7 and 8 and to replace the resistor 9 by connecting the resistors 7 and 8 in parallel.

Die Triggerschwelle des Eingangs 6 des Mikrocontrollers 2 unterliegt von Exemplar zu Exemplar relativ grossen Schwankungen. Bei der Produktion der Schaltungsanordnung ist es erwünscht, Widerstände 7, 8 und 9 mit fest vorgegebenen Werten verwenden zu können. Um Schwankungen der Triggerschwelle dennoch ausgleichen zu können, ist gemäss einer Weiterentwicklung der Erfindung vorgesehen, dass der Verfahrensschritt 4 derart modifiziert ist, dass entsprechend der aktuellen Triggerschwelle zusätzlich der Ausgang 3 und/oder 4 an Masse m oder an Spannung U gelegt wird, so dass sich das Potential auf der Abfrageleitung 15 so verschiebt, dass bei intakter Abfrageleitung 15 am Eingang 6 des Mikrocontrollers 2 eine unter der Triggerschwelle liegende Spannung V resultiert, wenn der Kontakt 10 geschlossen ist, und dass eine über der Triggerschwelle liegende Spannung resultiert, wenn der Kontakt 10 offen ist.The trigger threshold of the input 6 of the microcontroller 2 is subject to relatively large fluctuations from copy to copy. In the production of the circuit arrangement, it is desirable to be able to use resistors 7 , 8 and 9 with fixed values. In order to be able to compensate for fluctuations in the trigger threshold, a further development of the invention provides that method step 4 is modified such that output 3 and / or 4 is additionally connected to ground m or to voltage U in accordance with the current trigger threshold, so that the potential on the interrogation line 15 shifts such that if the interrogation line 15 is intact at the input 6 of the microcontroller 2, a voltage V below the trigger threshold results when the contact 10 is closed, and that a voltage above the trigger threshold results when the contact 10 is open.

Bei der Produktion der Schaltungsanordnung wird deshalb ein softwaregesteuerter Test durchgeführt, um zu ermitteln, ob beim Verfahrensschritt 4 zusätzlich der Ausgang 3 und/oder 4 an Masse m oder an Spannung U gelegt werden muss. Das Resultat dieses Tests wird im Mikrocontroller 2 gespeichert.During the production of the circuit arrangement, a software-controlled test is therefore carried out in order to determine whether output 3 and / or 4 must additionally be connected to ground m or to voltage U in method step 4 . The result of this test is stored in the microcontroller 2 .

Der Vollständigkeit halber sei hier noch festgehalten, dass es grundsätzlich möglich ist, bei jedem der Verfahrensschritte 2-4 jeden der Ausgänge 3-5 hochohmig, an Masse m oder an Spannung U zu legen. Mit anderen Worten gesagt, es kann bei jedem der Verfahrensschritte 2-4 eine andere Kombination der Widerstände 7-9 zugeschaltet werden, wobei jeder zugeschaltete Widerstand entweder an Masse m oder an Spannung U gelegt wird.For the sake of completeness, it should be stated here that it is fundamentally possible to connect each of the outputs 3-5 with high resistance, to ground m or to voltage U in each of the process steps 2-4. In other words, a different combination of resistors 7-9 can be connected in each of method steps 2-4, each connected resistor being connected either to ground m or to voltage U.

Claims (4)

1. Schaltungsanordnung zur Abfrage des Kontaktes (10) eines Impulsgebers (1) mit einem Mikrocontroller (2), wobei aus dem Ausgangswiderstand des Impulsgebers (1) ableitbar ist, ob der Kontakt (10) offen oder geschlossen ist und wobei der Mikrocontroller (2) und der Impulsgeber (1) über eine Abfrageleitung (15) verbunden sind, dadurch gekennzeichnet, daß der Mikrocontroller (2) wenigstens drei schaltbare Ausgänge (3, 4, 5) aufweist, die über je einen Widerstand (7 bzw. 8 bzw. 9) mit einem Anschluß (13) des Impulsgebers (1) verbunden sind, daß ein anderer Anschluß (14) des Impulsgebers (1) mit Masse (m) verbunden ist, daß jeder der Ausgänge (3, 4, 5) des Mikrocontrollers (2) entweder hochohmig schaltbar, mit Masse (m) oder mit einer vorgegebenen Spannung (U) verbindbar ist, daß der eine Anschluß (13) des Impulsgebers (1) mit einem Eingang (6) des Mikrocontrollers (2) mit einer Triggerschwelle verbunden ist und daß der Mikrocontroller (2) zur Abfrage des Impulsgebers (1) folgendes Verfahren durchführt:
  • 1. Alle Ausgänge (3, 4, 5) hochohmig legen;
  • 2. einen ersten Ausgang (3) des Mikrocontrollers (2) an Spannung (U) legen, die Spannung (V) am Eingang (6) desselben als binäres Signal S1 entsprechend einer unterhalb oder oberhalb der Triggerschwelle liegenden Eingangsspannung erfassen und den ersten Ausgang (3) wieder hochohmig legen;
  • 3. einen zweiten Ausgang (4) des Mikrocontrollers (2) an Spannung (U) legen, die Spannung (V) am Eingang (6) desselben als binäres Signal S2 erfassen und den zweiten Ausgang (4) wieder hochohmig legen;
  • 4. den dritten Ausgang (5) des Mikrocontrollers (2) an Spannung (U) legen und die Spannung (V) am Eingang (6) desselben als binäres Signal S3 erfassen und
  • 5. aus den drei Signalen S1, S2 und S3 bestimmen, ob ein Kurzschluß oder eine Unterbrechung in der Abfrageleitung (15) vorliegt oder ob der Kontakt (10) offen oder geschlossen ist.
1. Circuit arrangement for querying the contact ( 10 ) of a pulse generator ( 1 ) with a microcontroller ( 2 ), it being possible to derive from the output resistance of the pulse generator ( 1 ) whether the contact ( 10 ) is open or closed and the microcontroller ( 2 ) and the pulse generator ( 1 ) are connected via an interrogation line ( 15 ), characterized in that the microcontroller ( 2 ) has at least three switchable outputs ( 3 , 4 , 5 ), each of which has a resistor ( 7 or 8 or 9 ) are connected to a connection ( 13 ) of the pulse generator ( 1 ), that another connection ( 14 ) of the pulse generator ( 1 ) is connected to ground (m), that each of the outputs ( 3 , 4 , 5 ) of the microcontroller ( 2 ) switchable either with high impedance, with ground (m) or with a predetermined voltage (U) that one connection ( 13 ) of the pulse generator ( 1 ) is connected to an input ( 6 ) of the microcontroller ( 2 ) with a trigger threshold and that the micro contro ller ( 2 ) performs the following procedure to query the pulse generator ( 1 ):
  • 1. Lay all outputs ( 3 , 4 , 5 ) high impedance;
  • 2. Apply a first output ( 3 ) of the microcontroller ( 2 ) to voltage (U), detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 1 corresponding to an input voltage below or above the trigger threshold and the first output ( 3 ) put high impedance again;
  • 3. apply a second output ( 4 ) of the microcontroller ( 2 ) to voltage (U), detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 2 and put the second output ( 4 ) back to high impedance;
  • 4. connect the third output ( 5 ) of the microcontroller ( 2 ) to voltage (U) and detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 3 and
  • 5. from the three signals S 1 , S 2 and S 3 determine whether there is a short or an interruption in the query line ( 15 ) or whether the contact ( 10 ) is open or closed.
2. Schaltungsanordnung zur Abfrage des Kontaktes (10) eines Impulsgebers (1) mit einem Mikrocontroller (2), wobei aus dem Ausgangswiderstand des Impulsgebers (1) ableitbar ist, ob der Kontakt (10) offen oder geschlossen ist und wobei der Mikrocontroller (2) und der Impulsgeber (1) über eine Abfrageleitung (15) verbunden sind, dadurch gekennzeichnet, daß der Mikrocontroller (2) wenigstens zwei schaltbare Ausgänge (3, 4) aufweist, die über je einen Widerstand (7 bzw. 8) mit einem Anschluß (13) des Impulsgebers (1) verbunden sind, daß ein anderer Anschluß (14) des Impulsgebers (1) mit Masse (m) verbunden ist, daß jeder der Ausgänge (3, 4) des Mikrocontrollers (2) entweder hochohmig schaltbar, mit Masse (m) oder mit einer vorgegebenen Spannung (U) verbindbar ist, daß der eine Anschluß (13) des Impulsgebers (1) mit einem Eingang (6) des Mikrocontrollers (2) mit einer Triggerschwelle verbunden ist und daß der Mikrocontroller (2) zur Abfrage des Impulsgebers (1) folgendes Verfahren durchführt:
  • 1. Alle Ausgänge (3, 4) des Mikrocontrollers (2) hochohmig legen;
  • 2. einen ersten Ausgang (3) des Mikrocontrollers (2) an Spannung (U) legen, die Spannung (V) am Eingang (6) desselben als binäres Signal S1 entsprechend einer unterhalb oder oberhalb der Triggerschwelle liegenden Eingangsspannung erfassen und den ersten Ausgang (3) wieder hochohmig legen;
  • 3. den zweiten Ausgang (4) des Mikrocontrollers (2) an Spannung (U) legen, die Spannung (V) am Eingang (6) desselben als binäres Signal S2 erfassen und den zweiten Ausgang (4) wieder hochohmig legen;
  • 4. beide Ausgänge (3, 4) des Mikrocontrollers (2) an Spannung (U) legen und die Spannung (V) am Eingang (6) desselben als binäres Signal S3 erfassen und
  • 5. aus den Signalen S1, S2 und S3 bestimmen, ob ein Kurzschluß oder eine Unterbrechung in der Abfrageleitung (15) vorliegt oder ob der Kontakt (10) offen oder geschlossen ist.
2. Circuit arrangement for querying the contact ( 10 ) of a pulse generator ( 1 ) with a microcontroller ( 2 ), it being possible to derive from the output resistance of the pulse generator ( 1 ) whether the contact ( 10 ) is open or closed and the microcontroller ( 2 ) and the pulse generator ( 1 ) are connected via an interrogation line ( 15 ), characterized in that the microcontroller ( 2 ) has at least two switchable outputs ( 3 , 4 ), each of which has a resistor ( 7 or 8 ) with a connection ( 13 ) of the pulse generator ( 1 ) are connected, that another connection ( 14 ) of the pulse generator ( 1 ) is connected to ground (m), that each of the outputs ( 3 , 4 ) of the microcontroller ( 2 ) can either be switched with high resistance, with Ground (m) or can be connected to a predetermined voltage (U), that one connection ( 13 ) of the pulse generator ( 1 ) is connected to an input ( 6 ) of the microcontroller ( 2 ) with a trigger threshold and that the microcontroller ( 2 ) to A the pulse generator ( 1 ) carries out the following procedure:
  • 1. Put all outputs ( 3 , 4 ) of the microcontroller ( 2 ) high impedance;
  • 2. Apply a first output ( 3 ) of the microcontroller ( 2 ) to voltage (U), detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 1 corresponding to an input voltage below or above the trigger threshold and the first output ( 3 ) put high impedance again;
  • 3. apply the second output ( 4 ) of the microcontroller ( 2 ) to voltage (U), detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 2 and put the second output ( 4 ) back to high impedance;
  • 4. Apply both outputs ( 3 , 4 ) of the microcontroller ( 2 ) to voltage (U) and detect the voltage (V) at the input ( 6 ) thereof as a binary signal S 3 and
  • 5. from the signals S 1 , S 2 and S 3 determine whether there is a short or an interruption in the query line ( 15 ) or whether the contact ( 10 ) is open or closed.
3. Schaltungsanordnung nach Anspruch 1 oder 2, gekennzeichnet durch Abbruch des Verfahrens nach dem zweiten oder dritten Schritt, falls aus dem Signal S1 ein Kurzschluß bzw. aus dem Signal S2 eine Unterbrechung in der Abfrageleitung (15) ableitbar ist.3. Circuit arrangement according to claim 1 or 2, characterized by aborting the method after the second or third step if a short circuit or an interruption in the interrogation line ( 15 ) can be derived from the signal S 1 or from the signal S 2 . 4. Schaltungsanordnung nach Anspruch 1 oder 3, dadurch gekennzeichnet, daß in einem oder mehreren der Verfahrenschritte 2, 3 oder 4 mindestens ein weiterer der Ausgänge (3, 4, 5) des Mikrocontrollers (2) an Masse (m) oder an Spannung (U) legbar ist.4. Circuit arrangement according to claim 1 or 3, characterized in that in one or more of the process steps 2, 3 or 4 at least one further of the outputs ( 3 , 4 , 5 ) of the microcontroller ( 2 ) to ground (m) or to voltage ( U) can be laid.
DE19754641A 1997-03-11 1997-12-09 Circuit arrangement with a microcontroller for querying the contact of a pulse generator Expired - Fee Related DE19754641C2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CH57797A CH691248A5 (en) 1997-03-11 1997-03-11 Circuit arrangement with a microcontroller to interrogate the contact of a pulse generator.

Publications (2)

Publication Number Publication Date
DE19754641A1 DE19754641A1 (en) 1998-09-17
DE19754641C2 true DE19754641C2 (en) 2001-02-08

Family

ID=4190228

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19754641A Expired - Fee Related DE19754641C2 (en) 1997-03-11 1997-12-09 Circuit arrangement with a microcontroller for querying the contact of a pulse generator

Country Status (2)

Country Link
CH (1) CH691248A5 (en)
DE (1) DE19754641C2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4523183A (en) * 1982-05-03 1985-06-11 At&T Bell Laboratories Alarm-fault detecting system
DE3412734C2 (en) * 1984-04-05 1986-11-27 Ifm Electronic Gmbh, 4300 Essen Circuit arrangement for evaluating the impedance value, which is normally between a minimum value and a maximum value, of an indicator impedance connected on the input side
DE4012109A1 (en) * 1990-04-14 1991-10-17 Bosch Gmbh Robert DEVICE FOR FUNCTIONAL MONITORING OF AN ELECTRICAL CONSUMER, ITS CONTROL AND THE RELATED CONNECTIONS
DE4240447C1 (en) * 1992-12-02 1993-09-30 Daimler Benz Ag Electronic identification and recognition of a vehicle-specific combination of optional electronic control units
DE19534833A1 (en) * 1994-10-01 1996-04-04 Bayerische Motoren Werke Ag Electronic control device for automobile
DE19545156A1 (en) * 1995-11-22 1997-06-05 Holtek Microelectronics Inc Testing method for efficient testing of micro-controllers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4523183A (en) * 1982-05-03 1985-06-11 At&T Bell Laboratories Alarm-fault detecting system
DE3412734C2 (en) * 1984-04-05 1986-11-27 Ifm Electronic Gmbh, 4300 Essen Circuit arrangement for evaluating the impedance value, which is normally between a minimum value and a maximum value, of an indicator impedance connected on the input side
DE4012109A1 (en) * 1990-04-14 1991-10-17 Bosch Gmbh Robert DEVICE FOR FUNCTIONAL MONITORING OF AN ELECTRICAL CONSUMER, ITS CONTROL AND THE RELATED CONNECTIONS
DE4240447C1 (en) * 1992-12-02 1993-09-30 Daimler Benz Ag Electronic identification and recognition of a vehicle-specific combination of optional electronic control units
DE19534833A1 (en) * 1994-10-01 1996-04-04 Bayerische Motoren Werke Ag Electronic control device for automobile
DE19545156A1 (en) * 1995-11-22 1997-06-05 Holtek Microelectronics Inc Testing method for efficient testing of micro-controllers

Also Published As

Publication number Publication date
DE19754641A1 (en) 1998-09-17
CH691248A5 (en) 2001-05-31

Similar Documents

Publication Publication Date Title
DE4441070C2 (en) Safety switch arrangement
DE3928651A1 (en) ELECTRONIC CIRCUIT FOR MONITORING A POWER AMPLIFIER AND ITS LOAD
DD135817B1 (en) Capacitive control and evaluation device
DE3522775A1 (en) Device for determining the contact resistance on the slider of a potentiometer
DE19754641C2 (en) Circuit arrangement with a microcontroller for querying the contact of a pulse generator
EP1379849B1 (en) Circuit arrangement with several sensor elements in matrix circuit design
EP0354214B1 (en) Process for determining the electrical duration of signal paths
DE102007021812A1 (en) Motor vehicle door handle with proximity sensor
DE19536006C2 (en) Device for monitoring the speed of a wheel of a motor vehicle and at least one further state variable of the motor vehicle
DE10313264A1 (en) Method for testing components of a circuit board
EP0927356B2 (en) Method of checking electrical components and device for carrying out this method
EP0579912A2 (en) Monitoring device for several electrical switches
DE3025379A1 (en) DEVICE FOR MONITORING THE OUTPUT SIGNAL OF AN ENCODER
DE3204607C2 (en)
EP4106200B1 (en) Proximity switch with functional safety
DE19531386A1 (en) Evaluation circuit for thick film pressure sensor for ohmic measuring bridge
DE10306698A1 (en) Method and device for monitoring an internal combustion engine
EP3807660B1 (en) Method and device for electrical testing of an electrical assembly
DE2905828C2 (en)
DE2525438A1 (en) Monitoring and back up circuit for central equipment - consists of three central units operated in parallel by input signal
DE69722099T2 (en) Device and method for measuring the speed of a memory unit in an integrated circuit
EP0706054B1 (en) Phase comparator
DE102006006491B4 (en) Interface circuit
DE3241492A1 (en) Circuit arrangement for controlling and monitoring the switching states of electronic switches of a plurality of switch groups
EP0682264A2 (en) Procedure for determining the emi-qualities of integrated circuits and appliance for executing the procedure

Legal Events

Date Code Title Description
OM8 Search report available as to paragraph 43 lit. 1 sentence 1 patent law
8105 Search report available
8110 Request for examination paragraph 44
D2 Grant after examination
8364 No opposition during term of opposition
8327 Change in the person/name/address of the patent owner

Owner name: QUNDIS GMBH, 99974 MUEHLHAUSEN, DE

R081 Change of applicant/patentee

Owner name: QUNDIS GMBH, DE

Free format text: FORMER OWNER: QUNDIS GMBH, 99974 MUEHLHAUSEN, DE

Effective date: 20130912

R082 Change of representative

Representative=s name: PATENTANWAELTE LIEDTKE & PARTNER, DE

Effective date: 20130912

R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee