DE102018107960A1 - Apparatus and method for simultaneously scanning multiple buttons or sensors using a single analog input of a microcontroller - Google Patents

Apparatus and method for simultaneously scanning multiple buttons or sensors using a single analog input of a microcontroller Download PDF

Info

Publication number
DE102018107960A1
DE102018107960A1 DE102018107960.5A DE102018107960A DE102018107960A1 DE 102018107960 A1 DE102018107960 A1 DE 102018107960A1 DE 102018107960 A DE102018107960 A DE 102018107960A DE 102018107960 A1 DE102018107960 A1 DE 102018107960A1
Authority
DE
Germany
Prior art keywords
voltage
function switch
microcontroller
sensors
buttons
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
Application number
DE102018107960.5A
Other languages
German (de)
Other versions
DE102018107960B4 (en
Inventor
Iana Constantin
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.)
Preh GmbH
Original Assignee
Preh GmbH
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 Preh GmbH filed Critical Preh GmbH
Publication of DE102018107960A1 publication Critical patent/DE102018107960A1/en
Application granted granted Critical
Publication of DE102018107960B4 publication Critical patent/DE102018107960B4/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G01D21/00Measuring or testing not otherwise provided for
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/02Details
    • H03M11/04Coding of multifunction keys
    • H03M11/06Coding of multifunction keys by operating the multifunction key itself in different ways
    • H03M11/08Coding of multifunction keys by operating the multifunction key itself in different ways by operating selected combinations of multifunction keys
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/22Static coding
    • H03M11/24Static 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Push-Button Switches (AREA)
  • Electronic Switches (AREA)
  • Keying Circuit Devices (AREA)

Abstract

Die Erfindung betrifft eine Vorrichtung zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren (B1-B4), aufweisend einen ersten Multifunktionsschalter (10) und einen zweiten Multifunktionsschalter (11), wobei der erste Multifunktionsschalter (10) mindestens vier Taster oder Sensoren (B1-B4) aufweist, wobei jeder davon an je einen Transistor (T1-T4) angeschlossen ist, an dem die über ein Netz von Widerständen (R1-R4), das an die Transistoren (T1-T4) angeschlossen ist, am Kollektor jedes Transistors (T1-T4) vorhandene Versorgungsspannung (UBAT) von einer Batterie eines Fahrzeugs stammt, in dem die Abtastvorrichtung montiert ist, wobei die Abtastvorrichtung zusätzlich ein Netzwerk von Widerständen (R5-R12) enthält, das die an den Kollektoren der Transistoren (T1-T4) anliegenden Spannungen in eine einzige Spannung umwandelt, wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen (R13, R14) gebildet ist, die im zweiten Multifunktionsschalter (11) angeordnet sind, auf einen maximal zulässigen Wert für eine Mikrosteuerung (12) vermindert wird, die im zweiten Multifunktionsschalter (11) vorgesehen ist.Die Erfindung betrifft ferner ein Verfahren zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren (B1-B4).The invention relates to a device for simultaneously scanning a plurality of buttons or sensors (B1-B4), comprising a first multi-function switch (10) and a second multi-function switch (11), wherein the first multi-function switch (10) at least four buttons or sensors (B1-B4) each of which is connected to a respective transistor (T1-T4) to which the transistor (T1-T4) is connected to the collector of each transistor (T1- T4) via a network of resistors (R1-R4) connected to the transistors (T1-T4). T4) from a battery of a vehicle in which the scanning device is mounted, wherein the scanning device additionally includes a network of resistors (R5-R12), the voltages applied to the collectors of the transistors (T1-T4) is converted into a single voltage, this single voltage via a voltage divider, which is formed of resistors (R13, R14) arranged in the second multi-function switch (11) are reduced to a maximum allowable value for a microcontroller (12) provided in the second multi-function switch (11). The invention further relates to a method of simultaneously scanning a plurality of keys or sensors (B1-B4).

Description

Die Erfindung bezieht sich auf eine Vorrichtung und ein Verfahren zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren unter Verwendung eines einzigen analogen Eingangs einer Mikrosteuerung. In einer bevorzugten, jedoch nicht beschränkenden Weise, ist der technische Bereich, in dem diese Erfindung ihre Geltung findet, jener der multifunktionalen Schalter, die im Lenkrad von PKWs eingebaut sind.The invention relates to an apparatus and method for simultaneously scanning multiple buttons or sensors using a single analog input of a microcontroller. In a preferred but not limiting manner, the technical field in which this invention finds utility is that of the multifunctional switches incorporated in the steering wheel of passenger cars.

Wie im Stand der Technik sehr wohl bekannt ist, benutzt man üblicherweise einen Digitaleingang einer Mikrosteuerung, um den Zustand eines Tasters oder Sensors abzutasten. Falls mehrere Taster vorhanden sind, werden mehrere Eingänge verwendet, je ein Eingang für jeden Taster, oder, um Eingänge zu sparen, verwendet man eine Tastenmatrix mit x Zeilen und y Spalten, und man bestimmt mithilfe einer Software, welcher Taster gedrücktwurde.As is well known in the art, one usually uses a digital input of a microcontroller to sense the state of a probe or sensor. If multiple buttons are present, multiple inputs are used, one input for each button, or to save inputs, one uses a key matrix with x rows and y columns, and one determines which key was pressed by software.

In bestimmten Situationen können die Taster nicht digital abgetastet werden (elektromagnetische Störungen, wenige Eingänge an der Mikrosteuerung verfügbar), und dann verwendet man zum Abtasten der Taster einen analogen Eingang der Mikrosteuerung, so wie dies auch im Dokument US 2012/0023276 A1 beschrieben wird. Um dies zu erreichen, benutzt man eine spezielle Schaltung, um unterschiedliche Spannungen beim Drücken unterschiedlicher Taster zu erzeugen.In certain situations, the buttons can not be digitally sampled (electromagnetic interference, few inputs available on the microcontroller), and then one uses an analog input of the microcontroller to sense the buttons, as in the document US 2012/0023276 A1 is described. To achieve this, a special circuit is used to generate different voltages when pressing different buttons.

Die unterschiedlichen Spannungen (mit Werten zwischen Null und der Versorgungsspannung der Mikrosteuerung) werden vom analogen Eingang der Mikrosteuerung eingelesen und man bestimmt mithilfe einer Software, welcher Taster gedrückt wurde. Durch die richtige Wahl von Widerständen und der Anordnung in der Schaltung können mehrere Taster über einen einzigen analogen Eingang abgetastet werden.The different voltages (with values between zero and the supply voltage of the microcontroller) are read from the analogue input of the microcontroller and it is determined by means of a software which key has been pressed. With the right choice of resistors and arrangement in the circuit, multiple push buttons can be sampled through a single analog input.

Andere im Stand der Technik bekannte Lösungen werden zum Beispiel in den Dokumenten EP 1 615 188 A1 , US 2007/0120719 A1 , DE 28 12 551 A1 , US 6 178 388 B1 oder US 4 733 216 A angeführt.Other solutions known in the art are disclosed, for example, in the documents EP 1 615 188 A1 . US 2007/0120719 A1 . DE 28 12 551 A1 . US Pat. No. 6,178,388 B1 or US 4,733,216 cited.

Wie im Einleitungsteil erwähnt, findet diese Erfindung eine besondere Anwendung in den Multifunktionsschaltern im Lenkrad von Fahrzeugen, kann aber auch in jedem sonstigen technischen Bereich verwendet werden, in dem es Taster oder Sensoren mit zwei Zuständen gibt (AN-AUS), die über eine Mikrosteuerung abgetastet werden müssen. Wegen der verschiedenen Einschränkungen und Anforderungen beim Abtasten von Tastern in den Multifunktionsschaltern im Lenkrad von Fahrzeugen (Niederspannung der Mikrosteuerung, elektromagnetische Störungen, geringe Anzahl von Kabeln im Lenkrad, Preis der Kabel und Verbindungsstecker zwischen den Multifunktionsschaltern) können zur Zeit nur je zwei Taster über einen einzigen Eingang (Kabel) der Mikrosteuerung abgetastet werden (siehe zum Beispiel die beigelegte 2).As mentioned in the introductory part, this invention finds particular application in the multi-function switches in the steering wheel of vehicles, but can also be used in any other technical field in which there are two-state push buttons or sensors (ON-OFF), via a microcontroller must be scanned. Because of the various limitations and requirements when scanning buttons in the multifunction switches in the steering wheel of vehicles (low voltage microcontroller, electromagnetic interference, low number of cables in the steering wheel, price of cables and connectors between the multifunction switches) can currently only two buttons on a single input (cable) of the microcontroller be scanned (see for example the attached 2 ).

Falls sich die Mikrosteuerung in einem ersten Multifunktionsschalter im Lenkrad befindet und die Taster in einem zweiten Multifunktionsschalter, ergibt sich eine hohe Anzahl an Kabeln zwischen den zwei Multifunktionsschaltern, und diese Kabel sind teuer.If the microcontroller in a first multi-function switch is in the steering wheel and the buttons in a second multi-function switch, there is a high number of cables between the two multi-function switches, and these cables are expensive.

Das technische Problem, das durch diese Erfindung gelöst werden soll, besteht im Bereitstellen einer Vorrichtung und eines Verfahrens, welche das Abtasten von mindestens vier oder mehr Tastern aus einem Multifunktionsschalter über einen einzigen Eingang (Kabel) einer Mikrosteuerung ermöglichen.The technical problem to be solved by this invention is to provide a device and method which enable scanning of at least four or more buttons from a multi-function switch via a single input (cable) of a microcontroller.

In einem ersten Aspekt besteht die Lösung zum oben genannten technischen Problem in einer Vorrichtung, die einen ersten Multifunktionsschalter und einen zweiten Multifunktionsschalter aufweist, wobei der erste Multifunktionsschalter mindestens vier Taster oder Sensoren enthält, wovon jeder an einen Transistor angeschlossen ist, an welchem die Versorgungsspannung, die über ein Netz von Widerständen, das an die Transistoren angeschlossen ist, am Kollektor jedes Transistors vorhanden ist, von einer Batterie eines Fahrzeugs stammt, in welchem die Abtastvorrichtung montiert ist, wobei die Abtastvorrichtung zusätzlich ein Netzwerk von Widerständen enthält, welches die an den Transistorkollektoren anliegenden Spannungen in eine einzige Spannung umwandelt, wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen gebildet ist, die im zweiten Multifunktionsschalter angeordnet sind, auf einen maximal zulässigen Wert für eine Mikrosteuerung reduziert wird, die im zweiten Multifunktionsschalter vorgesehen ist.In a first aspect, the solution to the above technical problem resides in a device comprising a first multi-function switch and a second multi-function switch, the first multi-function switch including at least four buttons or sensors, each connected to a transistor to which the supply voltage, which is provided by a battery of a vehicle in which the scanning device is mounted via a network of resistors connected to the transistors in which the sensing device is mounted, the sensing device additionally including a network of resistors connected to the transistor collectors applied voltages in a single voltage, said single voltage is reduced via a voltage divider, which is formed of resistors, which are arranged in the second multi-function switch, to a maximum allowable value for a microcontroller, the zw is provided with multi-function switch.

In vorteilhafter Weise ist an jedem Kollektor eines jeden Transistors beim Betätigen eines oder mehrerer Taster/Sensoren eine von zwei gut definierten Spannungsstufen vorhanden: die Spannung der Fahrzeugbatterie oder eine ungefähre Nullspannung.Advantageously, one of two well-defined voltage levels is present at each collector of each transistor when one or more buttons / sensors are actuated: the voltage of the vehicle battery or an approximate zero voltage.

Vorzugsweise sind alle möglichen (einzigen) Spannungswerte bekannt und in einem Speicher der Mikrosteuerung in Form einer Tabelle gespeichert.Preferably, all possible (single) voltage values are known and stored in a memory of the microcontroller in the form of a table.

Auf eine vorteilhafte Weise wird die Spannung an einem analogen Eingang der Mikrosteuerung mithilfe einer Software eingelesen, die diese mit den Werten im Speicher der Mikrosteuerung vergleicht und somit erkennt, welcher Taster gedrückt ist.In an advantageous manner, the voltage is read in at an analog input of the microcontroller by means of software that compares it with the values in the memory of the microcontroller and thus recognizes which button is pressed.

Gemäß einem anderen Aspekt dieser Erfindung besteht die Lösung zum oben genannten technischen Problem in einem Verfahren zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren unter Verwendung einer Vorrichtung gemäß dem ersten Aspekt dieser Erfindung, wobei das Verfahren folgende Schritte aufweist:

  • - Bereitstellen eines ersten Multifunktionsschalters und eines zweiten Multifunktionsschalters, wobei der erste Multifunktionsschalter mindestens vier Taster oder Sensoren aufweist, von denen jeder an einen Transistor angeschlossen ist,
  • - Versorgen der Vorrichtung mit einer Spannung aus einer Batterie eines Fahrzeugs, in dem die Vorrichtung montiert ist, über ein Netz von Widerständen, das an die Transistoren angeschlossen ist,
  • - Umwandeln der an den Transistorkollektoren anliegenden Spannungen in eine einzige Spannung über ein zusätzliches Netzwerk von Widerständen, wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen gebildet ist, die im zweiten Multifunktionsschalter angeordnet sind, auf einen maximal zulässigen Wert für eine Mikrosteuerung vermindert wird, die im zweiten Multifunktionsschalter vorgesehen ist.
According to another aspect of this invention, the solution to the above-mentioned technical problem resides in a method of simultaneously scanning a plurality of probes or sensors using a device according to the first aspect of this invention, the method comprising the steps of:
  • Providing a first multi-function switch and a second multi-function switch, wherein the first multi-function switch has at least four buttons or sensors, each of which is connected to a transistor,
  • Supplying the device with a voltage from a battery of a vehicle in which the device is mounted, via a network of resistors connected to the transistors,
  • Converting the voltages applied to the transistor collectors into a single voltage across an additional network of resistors, said single voltage being reduced to a maximum allowable value for a microcontroller via a voltage divider formed of resistors arranged in the second multi-function switch , which is provided in the second multi-function switch.

Vorzugsweise ist beim Betätigen eines oder mehrerer Taster/Sensoren an jedem Kollektor jedes Transistors eine von zwei gut definierten Spannungsstufen vorhanden: die Spannung der Fahrzeugbatterie oder eine ungefähre Nullspannung.Preferably, upon actuation of one or more buttons / sensors at each collector of each transistor, one of two well-defined voltage levels is present: the voltage of the vehicle battery or an approximate zero voltage.

In vorteilhafter Weise sind alle (einzigen) Spannungswerte bekannt und in einem Speicher der Mikrosteuerung in Form einer Tabelle gespeichert.Advantageously, all (single) voltage values are known and stored in a memory of the microcontroller in the form of a table.

In einer bevorzugten Weise umfasst das Verfahren gemäß der Erfindung einen Schritt zum Auslesen der Spannung an einem analogen Eingang der Mikrosteuerung mithilfe einer Software, welche diese mit den Werten im Speicher der Mikrosteuerung vergleicht und somit erkennt, welcher Taster gedrückt ist.In a preferred manner, the method according to the invention comprises a step for reading out the voltage at an analog input of the microcontroller by means of software which compares this with the values in the memory of the microcontroller and thus recognizes which button is pressed.

Die mit dieser Erfindung erzielbaren Vorteile sind die folgenden. Erstens werden mit dieser Erfindung die Taster oder Sensoren mittels der Spannung der Fahrzeugbatterie ausgelesen. Somit ist das Bereitstellen einer Mikrosteuerungsversorgungsspannung im Multifunktionsschalter nicht mehr nötig, da die Fahrzeugbatteriespannung für andere Funktionen bereits im Multifunktionsschalter vorhanden ist.The advantages attainable with this invention are the following. First, with this invention, the buttons or sensors are read out by means of the voltage of the vehicle battery. Thus, providing a microcontroller supply voltage in the multi-function switch is no longer necessary since the vehicle battery voltage for other functions is already present in the multi-function switch.

Außerdem weist die Erfindung auch folgende Vorteile auf:

  • - die jedem Tasterzustand entsprechenden Spannungsstufen sind gegen Schwankungen der Batteriespannung, der Temperatur usw. unempfindlich,
  • - die Spannungsstufen sind klar und weisen stets die gleichen Abstände zueinander auf, sie gehen nicht ineinander über, so wie im Falle der Lösung in Dokument US 2012/0023276 A ,
  • - man kann erkennen, ob mehrere Taster gleichzeitig gedrückt sind,
  • - es werden weniger Kabel/Eingänge zwischen den Multifunktionsschaltern benötigt, im Unterschied zur Umsetzung in 2, wo mehrere Kabel/Eingänge nötig sind,
  • - die Mikrosteuerung und der Anschlussteil zwischen den Multifunktionsschaltern können weniger Eingänge aufweisen und somit preiswerter sein,
  • - die Lösung gemäß der Erfindung weist eine höhere Unempfindlichkeit gegen elektromagnetische Störungen auf,
  • - eine geringere Anzahl an Stunden ist nötig, um die Software zu implementieren,
  • - die Implementierung in jedes neue Projekt verläuft schnell.
In addition, the invention also has the following advantages:
  • the voltage levels corresponding to each key state are insensitive to variations in battery voltage, temperature, etc.
  • - The voltage levels are clear and always have the same distances to each other, they do not merge into each other, as in the case of the solution in document US 2012/0023276 A .
  • - you can see if several buttons are pressed at the same time,
  • - Less cables / inputs are needed between the multifunction switches, unlike the implementation in 2 where multiple cables / inputs are needed,
  • the microcontroller and the connection part between the multi-function switches can have fewer inputs and thus be cheaper
  • the solution according to the invention has a higher insensitivity to electromagnetic interference,
  • - less hours are needed to implement the software,
  • - Implementation in each new project is fast.

Andere vorteilhafte Ziele, Nutzen und Umsetzungen dieser Erfindung gehen aus der detaillierten Beschreibung eines konkreten Ausführungsbeispiels in Verbindung mit der beigelegten Zeichnung deutlicher hervor, in welcher:

  • 1 ein Ausführungsbeispiel eines elektronischen Schaltplans der Vorrichtung gemäß dieser Erfindung darstellt;
  • 2 einen elektronischen Schaltplan einer Vorrichtung gemäß dem Stand der Technik darstellt;
  • 3 eine Tabelle der möglichen, an einer Mikrosteuerung einer erfindungsgemäßen Vorrichtung festgestellten Spannungswerte darstellt;
  • 4 eine Vergleichssimulation für eine Schaltung aus dem Dokument US 2012/0023276 A (linke Bildhälfte) und eine Schaltung gemäß dieser Erfindung (rechte Bildhälfte) darstellt. Der obere Teil der jeweiligen Darstellung zeigt die Erzeugung der nötigen Signale zum Simulieren der Taster, wobei die Taster mit S gekennzeichnet sind; und
  • 5 das Ergebnis der Simulation aus 4 als Kurve darstellt, worin die Tasterzustände gemäß dieser Erfindung mit einer oberen Kurve, und die Tasterzustände laut der Lösung der US 2012/0023276 A mit einer unteren Kurve dargestellt sind. Zwei Umkreisungen zeigen deutlich, dass zwei Tasterzustände laut der Lösung in US 2012/0023276 A sehr nahe aneinander liegen und miteinander verwechselbar sind.
Other advantageous objects, benefits and implementations of this invention will become more apparent from the detailed description of a specific embodiment thereof taken in conjunction with the accompanying drawings, in which:
  • 1 an embodiment of an electronic circuit diagram of the device according to this invention represents;
  • 2 an electronic circuit diagram of a device according to the prior art;
  • 3 is a table of possible voltage values detected at a microcontroller of a device according to the invention;
  • 4 a comparison simulation for a circuit from the document US 2012/0023276 A (left half of the picture) and a circuit according to this invention (right half). The upper part of the respective diagram shows the generation of the necessary signals for simulating the buttons, wherein the buttons are marked with S; and
  • 5 the result of the simulation 4 represents a curve, wherein the key states according to this invention with an upper curve, and the button states according to the solution of US 2012/0023276 A with a lower curve are shown. Two revolutions clearly show that two probe states, according to the solution in US 2012/0023276 A very close to each other and are confused with each other.

Betreffs der beigelegten 1 wird die Vorrichtung gemäß dieser Erfindung auf rein illustrative Weise als mit einem Multifunktionsschalter 10 links und einem Multifunktionsschalter 11 rechts dargestellt, wobei der linke Multifunktionsschalter 10 mindestens vier Taster oder Sensoren B1-B4 aufweist, von denen jeder an je einen Transistor T1-T4 angeschlossen ist.As for the enclosed 1 For example, the device according to this invention will be purely illustrative of having a multi-function switch 10 left and a multi-function switch 11 shown on the right, with the left multifunction switch 10 at least four buttons or sensors B1-B4, each of which is connected to a respective transistor T1-T4.

Die Vorrichtung weist auch die Widerstände R1-R14 und die Transistoren T1, T2, T3, T4 auf. Durch Betätigen eines oder mehrerer Taster/Sensoren B1, B2, B3, B4, gelangt man an der im Multifunktionsschalter 11 rechts vorgesehenen Mikrosteuerung 12 zu einer Spannung, die dem Zustand des betätigten Tasters/der betätigten Taster oder Sensors/Sensoren B1-B4 entspricht.The device also includes the resistors R1-R14 and the transistors T1, T2, T3, T4. By pressing one or more buttons / sensors B1, B2, B3, B4, one arrives at the multi-function switch 11 right provided microcontroller 12 to a voltage corresponding to the state of the operated button / buttons or sensors / sensors B1-B4.

Eine Versorgungsspannung UBAT von einer Batterie eines Fahrzeugs (beides nicht dargestellt), in dem die Vorrichtung gemäß der Erfindung montiert ist, wird über die Widerstände R1, R2, R3, R4 an einen Kollektor des entsprechenden Transistors T1, T2, T3, T4 geliefert.A supply voltage UBAT from a battery of a vehicle (both not shown) in which the device according to the invention is mounted is supplied via the resistors R1, R2, R3, R4 to a collector of the corresponding transistor T1, T2, T3, T4.

Beim Drücken eines Tasters B1, B2, B3, B4 wird der jeweilige Transistor T1, T2, T3 bzw. T4 geöffnet und verbindet die an seinem Kollektor anliegende Spannung mit Masse, wobei die Spannung an seinem Kollektor fast Null wird. Wir können daher sagen, dass an jedem Kollektor des Transistors T1, T2, T3, T4 zwei gut definierte Spannungsstufen anliegen können: die Spannung der Batterie UBAT und Null, anders als bei der Lösung in US 2012/0023276 A . Zum Beispiel geht laut der Lösung in US 2012/0023276 A beim Drücken von D2 (die Kennzeichnungen sind jene, die in 1 in Dokument US 2012/0023276 A verwendet werden) die an dem 2k-Widerstand anliegende Spannung durch den 1k-Widerstand zu den anderen Eingängen der Taster.When pressing a button B1, B2, B3, B4, the respective transistor T1, T2, T3 and T4 is opened and connects the voltage applied to its collector voltage to ground, the voltage at its collector is almost zero. We can therefore say that at each collector of the transistor T1, T2, T3, T4 two well-defined voltage levels can be present: the voltage of the battery UBAT and zero, unlike the solution in US 2012/0023276 A , For example, according to the solution goes in US 2012/0023276 A when pressing D2 (the markings are those in 1 in document US 2012/0023276 A used) the voltage applied to the 2k resistor through the 1k resistor to the other inputs of the buttons.

Ein Netzwerk von Widerständen R5, R6, R7, R8, R9, R10, R11, R12 in 1 hingegen wandelt die an den vier Kollektoren der Transistoren T1-T4 anliegenden Spannungen in eine einzige Spannung um, die mithilfe eines Spannungsteilers, der aus Widerständen R13 und R14 gebildet ist, die im Multifunktionsschalter 11 rechts angeordnet sind, auf einen für die Mikrosteuerung 12 an einem analogen Eingang UADC maximal zulässigen Wert vermindert wird.A network of resistors R5, R6, R7, R8, R9, R10, R11, R12 in FIG 1 however, the voltages applied to the four collectors of transistors T1-T4 convert to a single voltage which is generated by means of a voltage divider formed by resistors R13 and R14 in the multi-function switch 11 on the right, on one for the microcontroller 12 at an analog input UADC maximum permissible value is reduced.

Alle Werte der UADC-Spannung sind bekannt und in einem Speicher (nicht dargestellt) der Mikrosteuerung 12 in einer Tabelle gespeichert, ähnlich der Tabelle in 3.All values of the UADC voltage are known and stored in a memory (not shown) of the microcontroller 12 stored in a table, similar to the table in 3 ,

Eine Software, welche die UADC-Spannung am Eingang der Mikrosteuerung 12 einliest und diese mit den Tabellenwerten vergleicht, erkennt, welche Taster B1, B2, B3, B4 gedrückt sind.A software which detects the UADC voltage at the input of the microcontroller 12 reads in and compares them with the table values, recognizes which buttons B1, B2, B3, B4 are pressed.

Kurzgefasst umfasst das Verfahren zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren gemäß dieser Erfindung folgende Schritte:

  • - Bereitstellen eines ersten (oder linken) Multifunktionsschalters 10 und eines zweiten (oder rechten) Multifunktionsschalters 11, wobei der erste Multifunktionsschalter 10 mindestens vier Taster oder Sensoren B1-B4 umfasst und jeder davon an einen Transistor T1-T4 angeschlossen ist,
  • - Versorgen der Vorrichtung mit einer UBAT-Spannung von einer Batterie eines Fahrzeugs (nicht dargestellt), in dem die Vorrichtung montiert ist, über ein Netz von Widerständen R1-R4, das an die Transistoren T1-T4 angeschlossen ist,
  • - Umwandeln der Spannungen an den Kollektoren der Transistoren T1-T4 in eine einzige Spannung über ein zusätzliches Netzwerk von Widerständen R5-R12, wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen R13 und R14 gebildet ist, die im zweiten Multifunktionsschalter 11 angeordnet sind, auf einen maximal zulässigen Wert eines analogen Eingangs UADC einer Mikrosteuerung 12 im zweiten Multifunktionsschalter 11 vermindert wird.
Briefly, the method of simultaneously scanning multiple probes or sensors according to this invention includes the following steps:
  • - Providing a first (or left) multifunction switch 10 and a second (or right) multifunction switch 11 , where the first multi-function switch 10 comprises at least four buttons or sensors B1-B4 and each of them is connected to a transistor T1-T4,
  • Supplying the device with a UBAT voltage from a battery of a vehicle (not shown) in which the device is mounted, via a network of resistors R1-R4 connected to the transistors T1-T4,
  • - Converting the voltages at the collectors of the transistors T1-T4 in a single voltage via an additional network of resistors R5-R12, said single voltage via a voltage divider, which is formed of resistors R13 and R14, in the second multi-function switch 11 are arranged to a maximum allowable value of an analog input UADC a microcontroller 12 in the second multi-function switch 11 is reduced.

Vorteilhaft, und auch wie weiter oben genannt, sind beim Betätigen eines oder mehrerer Taster/Sensoren B1-B4 an jedem Kollektor eines jeden Transistors T1-T4 zwei gut definierte Spannungsstufen vorhanden: die Spannung der Fahrzeugbatterie UBAT und eine ungefähre Nullspannung.Advantageously, and also as mentioned above, when one or more buttons / sensors B1-B4 are actuated, two well-defined voltage stages are present at each collector of each transistor T1-T4: the voltage of the vehicle battery UBAT and an approximate zero voltage.

Wenn zum Beispiel vier Taster/Sensoren B1-B4 vorhanden sind, gibt es 16 Fälle, die von der Mikrosteuerung 12 erkannt werden müssen und die in der Tabelle in 3 dargestellt sind.For example, if there are four pushbuttons / sensors B1-B4, there are 16 instances of the microcontroller 12 must be recognized and in the table in 3 are shown.

Wenn die Mikrosteuerung 12 zum Beispiel eine Spannung von 1,87 V liest, bedeutet dies, dass der Taster B4 gedrückt ist, und wenn sie eine Spannung von 3,28 V liest, heißt dies, dass die Taster B1 und B2 gleichzeitig gedrückt sind.If the microcontroller 12 For example, reading a voltage of 1.87 V means that button B4 is depressed, and reading a voltage of 3.28 V means that buttons B1 and B2 are depressed simultaneously.

Selbstverständlich können bauliche Details und Umsetzungen in Bezug auf das vorstehend als reines Beispiel Beschriebene und Abgebildete weit variieren, ohne vom Erfindungsprinzip und ohne vom Zweck dieser Erfindung abzuweichen, so wie er in den angehängten Ansprüchen definiert ist.Of course, structural details and implementations may vary widely with respect to what has been described and illustrated above as a pure example, without departing from the spirit and without departing from the spirit of the invention Purpose of this invention as defined in the appended claims.

ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte PatentliteraturCited patent literature

  • US 2012/0023276 A1 [0003]US 2012/0023276 A1 [0003]
  • EP 1615188 A1 [0005]EP 1615188 A1 [0005]
  • US 2007/0120719 A1 [0005]US 2007/0120719 A1 [0005]
  • DE 2812551 A1 [0005]DE 2812551 A1 [0005]
  • US 6178388 B1 [0005]US 6178388 B1 [0005]
  • US 4733216 A [0005]US 4733216 A [0005]
  • US 2012/0023276 A [0018, 0019, 0023]US 2012/0023276 A [0018, 0019, 0023]

Claims (8)

Vorrichtung zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren (B1-B4), aufweisend einen ersten Multifunktionsschalter (10) und einen zweiten Multifunktionsschalter (11), wobei der erste Multifunktionsschalter (10) mindestens vier Taster oder Sensoren (B1-B4) aufweist, wobei jeder davon an je einen Transistor (T1-T4) angeschlossen ist, an dem die über ein Netz von Widerständen (R1-R4), das an die Transistoren (T1-T4) angeschlossen ist, am Kollektor jedes Transistors (T1-T4) vorhandene Versorgungsspannung (UBAT) von einer Batterie eines Fahrzeugs stammt, in dem die Abtastvorrichtung montiert ist, wobei die Abtastvorrichtung zusätzlich ein Netzwerk von Widerständen (R5-R12) enthält, das die an den Kollektoren der Transistoren (T1-T4) anliegenden Spannungen in eine einzige Spannung umwandelt, wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen (R13, R14) gebildet ist, die im zweiten Multifunktionsschalter (11) angeordnet sind, auf einen maximal zulässigen Wert für eine Mikrosteuerung (12) vermindert wird, die im zweiten Multifunktionsschalter (11) vorgesehen ist.Apparatus for simultaneously sensing a plurality of buttons or sensors (B1-B4), comprising a first multi-function switch (10) and a second multi-function switch (11), the first multi-function switch (10) having at least four buttons or sensors (B1-B4), each one thereof connected to a respective transistor (T1-T4) to which the supply voltage present at the collector of each transistor (T1-T4) via a network of resistors (R1-R4) connected to the transistors (T1-T4) (UBAT) comes from a battery of a vehicle in which the scanning device is mounted, wherein the scanning device additionally includes a network of resistors (R5-R12) which converts the voltages applied to the collectors of the transistors (T1-T4) into a single voltage converts, this single voltage via a voltage divider, which is formed of resistors (R13, R14), which are arranged in the second multi-function switch (11), to a maximum zul lar value for a micro-controller (12) is reduced in the second multi-function switch (11) is provided. Vorrichtung nach Anspruch 1, dadurch gekennzeichnet, dass an jedem Kollektor eines jeden Transistors (T1-T4) beim Betätigen eines oder mehrerer Taster/Sensoren (B1-B4) eine von zwei gut definierten Spannungsstufen vorhanden ist: die Spannung der Fahrzeugbatterie (UBAT) oder eine ungefähre Nullspannung.Device after Claim 1 , characterized in that at each collector of each transistor (T1-T4) when pressing one or more buttons / sensors (B1-B4) one of two well-defined voltage levels is present: the voltage of the vehicle battery (UBAT) or an approximate zero voltage. Vorrichtung nach Anspruch 1, dadurch gekennzeichnet, dass alle einzigen Spannungswerte bekannt und in einem Speicher der Mikrosteuerung (12) in Form einer Tabelle abgespeichert sind.Device after Claim 1 , characterized in that all single voltage values are known and stored in a memory of the microcontroller (12) in the form of a table. Vorrichtung nach Anspruch 3, dadurch gekennzeichnet, dass die einzige Spannung an einem analogen Eingang (UADC) der Mikrosteuerung (12) mittels einer Software gelesen wird, welche sie mit den Werten im Speicher der Mikrosteuerung (12) vergleicht und somit erkennt, welche Taster (B1-B4) gedrückt sind.Device after Claim 3 , characterized in that the single voltage at an analogue input (UADC) of the microcontroller (12) is read by means of software which compares it with the values in the memory of the microcontroller (12) and thus recognizes which keys (B1-B4) are pressed. Verfahren zum gleichzeitigen Abtasten mehrerer Taster oder Sensoren (B1-B4) unter Verwendung einer Vorrichtung gemäß einem der Ansprüche 1 bis 4, wobei das Verfahren folgende Schritte aufweist: - Bereitstellen eines ersten Multifunktionsschalters (10) und eines zweiten Multifunktionsschalters (11), wobei der erste Multifunktionsschalter (10) mindestens vier Taster oder Sensoren (B1-B4) aufweist und jeder davon an einen Transistor (T1-T4) angeschlossen ist, - Versorgen der Vorrichtung mit einer Spannung (UBAT) aus einer Batterie eines Fahrzeugs, in dem die Vorrichtung montiert ist, über ein Netz von Widerständen (R1-R4), das an die Transistoren (T1-T4) angeschlossen ist, - Umwandeln der an den Kollektoren der Transistoren (T1-T4) anliegenden Spannungen in eine einzige Spannung über ein zusätzliches Netzwerk von Widerständen (R5-R12), wobei diese einzige Spannung über einen Spannungsteiler, der aus Widerständen (R13, R14) gebildet ist, die im zweiten Multifunktionsschalter (11) angeordnet sind, auf einen maximal zulässigen Wert für eine Mikrosteuerung (12) im zweiten Multifunktionsschalter (11) vermindert wird.Method for simultaneously scanning a plurality of buttons or sensors (B1-B4) using a device according to one of the Claims 1 to 4 wherein the method comprises the steps of: - providing a first multi-function switch (10) and a second multi-function switch (11), the first multi-function switch (10) having at least four buttons or sensors (B1-B4) and each of them connected to a transistor (T1 -T4), - supplying the device with a voltage (UBAT) from a battery of a vehicle in which the device is mounted, via a network of resistors (R1-R4) connected to the transistors (T1-T4) - Converting the voltages applied to the collectors of the transistors (T1-T4) into a single voltage across an additional network of resistors (R5-R12), this single voltage being formed by a voltage divider consisting of resistors (R13, R14) is, which are arranged in the second multi-function switch (11) is reduced to a maximum allowable value for a microcontroller (12) in the second multi-function switch (11). Verfahren nach Anspruch 5, dadurch gekennzeichnet, dass beim Betätigen eines oder mehrerer Taster/Sensoren (B1-B4) an jedem Kollektor eines jeden Transistors (T1-T4) zwei gut definierte Spannungsstufen vorhanden sind: die Spannung der Fahrzeugbatterie (UBAT) und eine ungefähre Nullspannung.Method according to Claim 5 , characterized in that upon actuation of one or more buttons / sensors (B1-B4) at each collector of each transistor (T1-T4) two well-defined voltage levels are present: the voltage of the vehicle battery (UBAT) and an approximate zero voltage. Verfahren nach Anspruch 6, dadurch gekennzeichnet, dass alle einzigen Spannungswerte bekannt und in einem Speicher der Mikrosteuerung (12) in Form einer Tabelle abgespeichert sind.Method according to Claim 6 , characterized in that all single voltage values are known and stored in a memory of the microcontroller (12) in the form of a table. Verfahren nach Anspruch 7, dadurch gekennzeichnet, dass ein Leseschritt der einzigen Spannung an einem analogen Eingang (UADC) der Mikrosteuerung (12) mittels einer Software vorgesehen ist, welche diese Spannung mit den Werten im Speicher der Mikrosteuerung (12) vergleicht und somit erkennt, welche Taster (B1-B4) gedrückt sind.Method according to Claim 7 , characterized in that a read step of the single voltage at an analog input (UADC) of the microcontroller (12) is provided by means of software which compares this voltage with the values in the memory of the microcontroller (12) and thus recognizes which keys (B1 -B4) are pressed.
DE102018107960.5A 2017-04-05 2018-04-04 Apparatus and method for sensing multiple probes or sensors simultaneously using a single analog input of a microcontroller Active DE102018107960B4 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
RO201700207 2017-04-05
ROA201700207A RO132882A2 (en) 2017-04-05 2017-04-05 System and method of simultaneous reading of a plurality of buttons or sensors using a single analogue pin of a microcontroller

Publications (2)

Publication Number Publication Date
DE102018107960A1 true DE102018107960A1 (en) 2018-10-11
DE102018107960B4 DE102018107960B4 (en) 2022-08-18

Family

ID=63587484

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102018107960.5A Active DE102018107960B4 (en) 2017-04-05 2018-04-04 Apparatus and method for sensing multiple probes or sensors simultaneously using a single analog input of a microcontroller

Country Status (2)

Country Link
DE (1) DE102018107960B4 (en)
RO (1) RO132882A2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2812551A1 (en) 1978-03-22 1979-09-27 Bosch Gmbh Robert D=A converter with resistor network - has output stage connected to terminal for leading bit in network
US4733216A (en) 1986-10-29 1988-03-22 Allied Corporation N+1 bit resolution from an N bit A/D converter
US6178388B1 (en) 1998-11-13 2001-01-23 Qualcomm Incorporated Method and apparatus for calibrating a resistive ladder switching matrix
EP1615188A1 (en) 2004-07-09 2006-01-11 Thomson Licensing Circuit and interface for remote control with hold key
US20070120719A1 (en) 2005-11-30 2007-05-31 Symbol Technologies, Inc. Methods and apparatus for multiplexed digital inputs using an analog-to-digital converter
US20120023276A1 (en) 2010-06-11 2012-01-26 Adc Telecommunications, Inc. Switch-state information aggregation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19512896A1 (en) 1995-04-06 1996-10-10 Opel Adam Ag Device for operating at least one device installed in a motor vehicle
US9318281B2 (en) 2012-01-27 2016-04-19 Steering Solutions Ip Holding Corporation Steering wheel assembly with user controls

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2812551A1 (en) 1978-03-22 1979-09-27 Bosch Gmbh Robert D=A converter with resistor network - has output stage connected to terminal for leading bit in network
US4733216A (en) 1986-10-29 1988-03-22 Allied Corporation N+1 bit resolution from an N bit A/D converter
US6178388B1 (en) 1998-11-13 2001-01-23 Qualcomm Incorporated Method and apparatus for calibrating a resistive ladder switching matrix
EP1615188A1 (en) 2004-07-09 2006-01-11 Thomson Licensing Circuit and interface for remote control with hold key
US20070120719A1 (en) 2005-11-30 2007-05-31 Symbol Technologies, Inc. Methods and apparatus for multiplexed digital inputs using an analog-to-digital converter
US20120023276A1 (en) 2010-06-11 2012-01-26 Adc Telecommunications, Inc. Switch-state information aggregation

Also Published As

Publication number Publication date
DE102018107960B4 (en) 2022-08-18
RO132882A2 (en) 2018-10-30

Similar Documents

Publication Publication Date Title
DE1814940C3 (en) Learner classification circuit
DE2654970B2 (en) Keyboard coding circuit
DE102014117823A1 (en) Steering wheel for a motor vehicle with a sensor system and method for detecting a presence of a human hand in a gripping region of such a steering wheel
CH622916A5 (en)
DE2064264B2 (en) Electrical arrangement for automobiles
DE102011006760A1 (en) A / D converter device and signal processing unit hereby
DE112008003793B4 (en) Electrostatic capacitive touch sensor device
DE102017127453A1 (en) Control and method for devices and systems of motor vehicles
DE3741648A1 (en) Transmission device for remote control
DE2260935B2 (en) SIGNAL SELECTION SYSTEM FOR AN ELECTRONIC MUSICAL INSTRUMENT
DE102018107960B4 (en) Apparatus and method for sensing multiple probes or sensors simultaneously using a single analog input of a microcontroller
EP1957942B1 (en) Evaluation circuit for processing digital signals, method and sensor assembly
DE60009231T2 (en) Method and device for operating an integrated "hub" for motor vehicle signals during low voltage conditions
DE60035469T2 (en) Method for ensuring the inviolability of a chip card micro module against a power consumption analysis and corresponding micromodule
WO1996002090A1 (en) Process for the analog/digital conversion of an electric signal and device for implementing it
DE102012007776B4 (en) Single-wire programming and measuring chain
WO2019072593A1 (en) Circuit arrangement comprising a microprocessor and a voltage generating circuit
DE10307007B3 (en) Evaluation method for capacitive sensor e.g. for automobile tyre pressure sensor, using comparison of sensor actual value with comparison capacitance provided by switched partial capacitances
DE4242436C2 (en) Electronic circuit with an analog / digital converter
DE19817291C2 (en) Method and device for determining the position of switching devices
DE4118702A1 (en) Address-generator for network module e.g. in vehicle - generates individual address for modules within local area network using comparators coupled to passive components
EP1907800B1 (en) Method for operating a digital sensor
DE2429753A1 (en) DEVICE FOR CONVERTING SIGNALS OF A FIRST TYPE IN SIGNALS OF A SECOND TYPE WITH CORRESPONDING VALUES
WO2022073534A1 (en) Determining the dc current in a power electronics unit
DE3320774A1 (en) On-board computer

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R016 Response to examination communication
R018 Grant decision by examination section/examining division
R020 Patent grant now final