DE102015118383A1 - Device for controlling and programming an actuator - Google Patents
Device for controlling and programming an actuator Download PDFInfo
- Publication number
- DE102015118383A1 DE102015118383A1 DE102015118383.8A DE102015118383A DE102015118383A1 DE 102015118383 A1 DE102015118383 A1 DE 102015118383A1 DE 102015118383 A DE102015118383 A DE 102015118383A DE 102015118383 A1 DE102015118383 A1 DE 102015118383A1
- Authority
- DE
- Germany
- Prior art keywords
- voltage
- input
- actuator
- vout
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25124—Configure attributes of parameters
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25166—USB, firewire, ieee-1394
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Systems (AREA)
Abstract
Die Erfindung stellt eine Vorrichtung (1) mit mindestens einer USB-Schnittstelle (5, 5‘) und mindestens einer Bus-Schnittstelle (6, 6‘) für ein weiteres Bus-System bereit, wobei die Vorrichtung (1) über die Bus-Schnittstelle (6, 6‘) mit einer Steuerschaltung mindestens eines Aktuators verbindbar ist und wobei die Vorrichtung (1) dazu eingerichtet ist, Steuerbefehle zum Steuern des Aktuators über die USB-Schnittstelle (5, 5‘) zu empfangen und über die Bus-Schnittstelle (6, 6‘) an die Steuerschaltung des Aktuators zu senden. Erfindungsgemäß ist die Vorrichtung ferner dazu eingerichtet, Programmierbefehle zum Programmieren der Steuerschaltung des Aktuators über die USB-Schnittstelle (5, 5‘) zu empfangen und über die Bus-Schnittstelle (6, 6‘) an die Steuerschaltung des Aktuators zu senden. Vorzugsweise weist die Vorrichtung mindestens einen Spannungsausgang (VLIN) auf und ist dazu eingerichtet, den mindestens einen Aktuator über den Spannungsausgang (VLIN) mit elektrischer Spannung zu versorgen.The invention provides a device (1) with at least one USB interface (5, 5 ') and at least one bus interface (6, 6') for a further bus system, the device (1) being provided via the bus interface. Interface (6, 6 ') with a control circuit of at least one actuator is connectable and wherein the device (1) is adapted to receive control commands for controlling the actuator via the USB interface (5, 5') and via the bus interface (6, 6 ') to the control circuit of the actuator to send. According to the invention, the device is further configured to receive programming commands for programming the control circuit of the actuator via the USB interface (5, 5 ') and to send via the bus interface (6, 6') to the control circuit of the actuator. Preferably, the device has at least one voltage output (VLIN) and is adapted to supply the at least one actuator via the voltage output (VLIN) with electrical voltage.
Description
Gebiet der Erfindung Field of the invention
Die Erfindung bezieht sich auf eine Vorrichtung zum Steuern und Programmieren eines Aktuators über eine Bus-Schnittstelle eines Bus-Systems. Die Vorrichtung weist neben der Bus-Schnittstelle eine USB-Schnittstelle auf, über die Programmierbefehle zum Programmieren einer Steuerschaltung des Aktuators empfangen und daraufhin über die Bus-Schnittstelle an den Aktuator übermittelt werden können. The invention relates to a device for controlling and programming an actuator via a bus interface of a bus system. The device has, in addition to the bus interface, a USB interface via which programming commands for programming a control circuit of the actuator can be received and then transmitted to the actuator via the bus interface.
Hintergrund und Stand der Technik Background and state of the art
Bei elektrischen angetriebenen Aktuatoren, beispielsweise mittels bürstenlosen Gleichstrommotoren, ist es oft vorteilhaft oder notwendig, den Aktuator vor der ersten Inbetriebnahme zu programmieren und gegebenenfalls Referenzfahrten oder Testfahrten entlang des Verstellwegs durchzuführen. In electric powered actuators, such as brushless DC motors, it is often advantageous or necessary to program the actuator prior to initial start-up and, if necessary, perform homing or testing along the displacement path.
Zu diesem Zweck muss üblicherweise eine Programmierplatine an den Aktuator angeschlossen und der Aktuator mit Strom versorgt werden. Üblicherweise verfügt der Aktuator dazu über einen Programmiereingang, der mit einer Programmierplatine verbunden werden kann. Oft sind solche Programmiereingänge jedoch schwer zugänglich, wodurch die Konfiguration aufwendig und zeitintensiv werden kann. For this purpose, usually a programming board must be connected to the actuator and the actuator to be powered. Usually, the actuator has a programming input, which can be connected to a programming board. Often, however, such programming inputs are difficult to access, which can make the configuration expensive and time-consuming.
Des Weiteren ist es notwendig, eine Stromversorgung sowohl für den Aktuator als auch für die Programmierplatine bereitzustellen. Üblicherweise weist die Programmierplatine deshalb einen Netzanschluss zur Stromversorgung auf. Beispielsweise für Anwendungen im Anlagen- oder Automobilbereich kann es bei einer Vielzahl von Aktuatoren sehr aufwendig sein, eine geeignete Stromversorgung bereitzustellen, da die Aktuatoren auf viele Kraftfahrzeuge oder Gebäude verteilt sein können und gegebenenfalls ein Netzanschluss nicht oder nur schwer verfügbar ist. Furthermore, it is necessary to provide a power supply for both the actuator and the programming board. Usually, the programming board therefore has a mains connection for the power supply. For example, for applications in the plant or automotive sector, it may be very expensive in a variety of actuators to provide a suitable power supply, since the actuators may be distributed to many vehicles or buildings and possibly a network connection is not or only with difficulty.
Des Weiteren ist es meist notwendig, dem Einsatzzweck angepasste Programmabläufe oder Parameter an den Aktuator zu übermittelt, weshalb die Programmierplatine meist durch ein Computerprogramm angesprochen werden muss. Ebenso sind oft physikalische Eingabemöglichkeiten, beispielsweise in Form einer Computertastatur, zur Konfiguration des Aktuators nötig. Deshalb werden entsprechende Programmierplatinen oft über eine serielle Schnittstelle mit einem Computer verbunden, auf dem ein entsprechendes Computerprogramm abläuft und der über die nötigen Eingabemöglichkeiten verfügt. Bei Aktuatoren, die elektronisch über ein Bus-System angesprochen werden, muss die Programmierplatine also einerseits an das Bus-System gekoppelt und andererseits mit einem Computer verbunden sein, auf dem ein entsprechendes Computerprogramm abläuft. Furthermore, it is usually necessary to transmit program sequences or parameters adapted to the intended use to the actuator, which is why the programming board usually has to be addressed by a computer program. Likewise, physical input options, for example in the form of a computer keyboard, are often necessary for configuring the actuator. Therefore, corresponding programming boards are often connected via a serial interface with a computer running on a corresponding computer program and has the necessary input options. For actuators that are addressed electronically via a bus system, the programming board must therefore be coupled on the one hand to the bus system and on the other hand connected to a computer on which runs a corresponding computer program.
Es ist daher wünschenswert, eine flexible und kostengünstige Vorrichtung bereitzustellen, welche die Konfiguration von Aktuatoren über ein Bus-System vereinfacht und mit deren Hilfe ein oder mehrere Aktuatoren über das Bus-System gesteuert und programmiert werden können. It is therefore desirable to provide a flexible and inexpensive device which simplifies the configuration of actuators via a bus system and by means of which one or more actuators can be controlled and programmed via the bus system.
Die Erfindung stellt sich somit die Aufgabe, eine Vorrichtung mit mindestens einer USB-Schnittstelle und mindestens einer Bus-Schnittstelle zur Verbindung mit einem Bus-System bereitzustellen, mit deren Hilfe ein oder mehrere Aktuatoren über das Bus-System nicht nur gesteuert, sondern auch programmiert werden können. Es ist dabei wünschenswert, wenn die Vorrichtung ohne eigenen Netzanschluss zur Stromversorgung betrieben werden kann. The invention thus has the object to provide a device with at least one USB interface and at least one bus interface for connection to a bus system, with the aid of which one or more actuators not only controlled via the bus system, but also programmed can be. It is desirable if the device can be operated without its own power supply to the power supply.
Übersicht über die Erfindung Overview of the invention
Diese Aufgabe wird mit einer Vorrichtung gemäß dem unabhängigen Anspruch 1 gelöst. Die abhängigen Ansprüche beziehen sich auf vorteilhafte Weiterbildungen der Vorrichtung und auf ein Computerprogramm zur Verwendung mit der Vorrichtung. This object is achieved with a device according to
Eine erfindungsgemäße Vorrichtung zum Steuern und Programmieren mindestens eines Aktuators umfasst mindestens eine USB-Schnittstelle und mindestens eine Bus-Schnittstelle für ein weiteres Bus-System. Die Vorrichtung ist ferner über die Bus-Schnittstelle mit einer Steuerschaltung des mindestens einen Aktuators verbindbar und dazu eingerichtet, Steuerbefehle zum Steuern des Aktuators über die USB-Schnittstelle zu empfangen und über die Bus-Schnittstelle an die Steuerschaltung des Aktuators zu senden, sowie Programmierbefehle zum Programmieren der Steuerschaltung des Aktuators über die USB-Schnittstelle zu empfangen und über die Bus-Schnittstelle an die Steuerschaltung des Aktuators zu senden. Über die USB-Schnittstelle wird auch ein erster Spannungseingang bereitgestellt, über den die Vorrichtung mit Energie versorgt werden kann. Somit kann die Vorrichtung dazu verwendet werden, einen Aktuator, der eine Schnittstelle für ein Bus-System aufweist oder der an ein Bus-System gekoppelt ist, zu steuern und zu programmieren. An inventive device for controlling and programming at least one actuator comprises at least one USB interface and at least one bus interface for another bus system. The device is further connectable via the bus interface with a control circuit of the at least one actuator and adapted to receive control commands for controlling the actuator via the USB interface and to send via the bus interface to the control circuit of the actuator, and programming commands for Programming the actuator control circuit via the USB interface to receive and send via the bus interface to the control circuit of the actuator. The USB interface also provides a first voltage input to power the device. Thus, the apparatus may be used to control and program an actuator having an interface for a bus system or coupled to a bus system.
Es kann dabei vorgesehen sein, dass die Bus-Schnittstelle der erfindungsgemäßen Vorrichtung jeweils direkt mit der Bus-Schnittstelle eines oder mehrerer Aktuatoren gekoppelt ist. Es kann aber ebenso vorgesehen sein, dass die Vorrichtung mit einem Bus-System verbunden wird, an dem auch die Aktuatoren gekoppelt sind. Dabei ist es unerheblich, ob noch weitere Teilnehmer, beispielsweise zusätzliche Sensoren, an das Bus-System angeschlossen sind. It may be provided that the bus interface of the device according to the invention is in each case directly coupled to the bus interface of one or more actuators. However, it can also be provided that the device is connected to a bus system to which the actuators are also coupled. It is irrelevant whether other participants, for example additional sensors connected to the bus system.
Da die Programmierung üblicherweise mit Hilfe eines Computerprogramms erfolgt, kann die Vorrichtung direkt an den USB-Eingang eines Computers angeschlossen werden. Insbesondere kann die Vorrichtung auch an einen tragbaren Computer, wie ein Notebook, ein Tablet-Computer oder ein Smartphone angeschlossen werden. Somit benötigt die Vorrichtung keinen Netzeingang zur Stromversorgung, sondern kann mittels der USB-Schnittstelle über den ersten Spannungseingang betrieben werden. Dadurch ist es erreichbar, dass alle zum Programmieren des Aktuators nötigen Mittel kein separates Kabel zur Verbindung mit einer Netzspannung benötigen, wodurch die Vorrichtung sehr flexibel einsetzbar ist. Da die Vorrichtung nicht direkt an die Netzsspannung angeschlossen wird, kann auch auf teure Schutzschaltungen verzichtet und somit eine kostengünstige Vorrichtung bereitgestellt werden. Since programming is usually done with the aid of a computer program, the device can be connected directly to the USB input of a computer. In particular, the device can also be connected to a portable computer, such as a notebook, a tablet computer or a smartphone. Thus, the device does not require a mains input for power supply, but can be operated via the USB interface via the first voltage input. This makes it possible to achieve that all means necessary for programming the actuator do not require a separate cable for connection to a mains voltage, as a result of which the device can be used very flexibly. Since the device is not connected directly to the mains voltage, can be dispensed with expensive protective circuits, and thus a cost-effective device can be provided.
Vorzugsweise ist die Vorrichtung dazu eingerichtet, den mindestens einen Aktuator über einen Spannungsausgang mit elektrischer Spannung zu versorgen. Insbesondere kann es vorgesehen sein, dass die am Spannungsausgang anliegende Spannung durch die USB-Schnittstelle aus der ersten Eingangsspannung gespeist wird. Preferably, the device is adapted to supply the at least one actuator via a voltage output with electrical voltage. In particular, it can be provided that the voltage applied to the voltage output is fed by the USB interface from the first input voltage.
Ferner ist es bevorzugt, dass die Vorrichtung einen Gleichspannungswandler umfasst, der eine über die USB-Schnittstelle bereitgestellte erste Eingangsspannung mit einem ersten Spannungsniveau in eine am Spannungsausgang anliegende Ausgangsspannung mit einem zweiten Spannungsniveau zur Versorgung des Aktuators wandelt, wobei das zweite Spannungsniveau vorzugsweise betragsmäßig größer ist als das erste Spannungsniveau. Insbesondere kann es vorgesehen sein, dass der Gleichspannungswandler ein Aufwärtswandler ist. Further, it is preferred that the device comprises a DC-DC converter, which converts a provided via the USB interface first input voltage with a first voltage level in an output voltage applied to the voltage output with a second voltage level for supplying the actuator, wherein the second voltage level is preferably greater in magnitude as the first stress level. In particular, it may be provided that the DC-DC converter is an up-converter.
Besonders bevorzugt weist die Vorrichtung ferner einen zweiten Spannungseingang zum Bereitstellen einer zweiten Eingangsspannung auf, wobei die Vorrichtung dazu eingerichtet ist, die zweite Eingangsspannung zur Speisung der Ausgangsspannung am Spannungsausgang zu verwenden. Particularly preferably, the device further comprises a second voltage input for providing a second input voltage, wherein the device is adapted to use the second input voltage for feeding the output voltage at the voltage output.
In manchen bevorzugten Ausgestaltungen der Erfindung ist es vorgesehen, dass die Ausgangsspannung innerhalb eines vorbestimmten Spannungsbereichs einstellbar ist. Der Spannungsbereich kann beispielsweise derart einstellbar sein, dass der Betrag der Ausgangsspannung größer als 3 V aber kleiner als 50 V ist. Insbesondere kann es zweckmäßig sein, dass der Betrag der Ausgangsspannung im Bereich von 6 V bis 24 V frei wählbar ist. Dazu kann die erfindungsgemäße Vorrichtung einen Gleichspannungswandler mit einem einstellbaren elektrischen Widerstand aufweisen, beispielsweise mit einem Potentiometer. In manchen Ausgestaltungen der Erfindung ist es vorgesehen, dass der elektrische Widerstand des Potentiometers über ein Computerprogramm, das auf einem mit der Vorrichtung verbundenem Computer ausgeführt wird, einstellbar ist. Insbesondere kann es vorgesehen sein, dass das Computerprogramm über die USB-Schnittstelle einen Sollwert für den elektrischen Widerstand des Potentiometers oder eine entsprechenden Sollwert für die Ausgangsspannung an die Vorrichtung sendet. Beispielsweise kann der Sollwert an einen Mikrocontroller der Vorrichtung gesendet werden, wobei der Mikrocontroller mit dem Potentiometer gekoppelt ist und dazu ausgebildet ist entsprechende Befehle an das Potentiometer zu senden und/oder Statusinformationen von dem Potentiometer zu empfangen. In some preferred embodiments of the invention it is provided that the output voltage is adjustable within a predetermined voltage range. The voltage range may be adjustable, for example, such that the magnitude of the output voltage is greater than 3 V but less than 50 V. In particular, it may be appropriate that the amount of the output voltage in the range of 6 V to 24 V is freely selectable. For this purpose, the device according to the invention may comprise a DC-DC converter with an adjustable electrical resistance, for example with a potentiometer. In some embodiments of the invention, it is provided that the electrical resistance of the potentiometer is adjustable via a computer program that is executed on a computer connected to the device. In particular, it can be provided that the computer program transmits via the USB interface a desired value for the electrical resistance of the potentiometer or a corresponding desired value for the output voltage to the device. For example, the setpoint may be sent to a microcontroller of the device, wherein the microcontroller is coupled to the potentiometer and configured to send corresponding commands to the potentiometer and / or to receive status information from the potentiometer.
In einer weiteren vorteilhaften Weiterbildung der Erfindung weist die Vorrichtung eine Messschaltung zum Messen eines von der Vorrichtung bereitgestellten Ausgangsstromes auf. Insbesondere kann es dazu vorgesehen sein, dass der Spannungsausgang über einen Messwiderstand mit einer Verstärkerschaltung verbunden ist. Die Verstärkerschaltung kann ihrerseits über eine optionale Strombegrenzer-Schaltung mit einer Steuerschaltung der Vorrichtung, beispielsweise mit einem Mikrocontroller, verbunden sein, Die Strombegrenzer-Schaltung kann durch einen einfachen Widerstand realisiert sein. In a further advantageous development of the invention, the device has a measuring circuit for measuring an output current provided by the device. In particular, it may be provided that the voltage output is connected via a measuring resistor to an amplifier circuit. The amplifier circuit can in turn be connected via an optional current limiter circuit to a control circuit of the device, for example with a microcontroller. The current limiter circuit can be realized by a simple resistor.
Es ist auch besonders bevorzugt, dass bei der erfindungsgemäßen Vorrichtung zur Speisung der Ausgangsspannung die am ersten Spannungseingang anliegende Spannung verwendet wird, falls am zweiten Spannungseingang eine Spannung zwischen 0 V und einer vorgegebenen Schwellenspannung anliegt, und dass zur Speisung der Ausgangsspannung die am zweiten Spannungseingang anliegende Spannung verwendet wird, falls am zweiten Spannungseingang eine Spannung anliegt, deren Betrag größer oder gleich dem Betrag der Schwellenspannung ist. It is also particularly preferred that in the inventive device for supplying the output voltage, the voltage applied to the first voltage input is used if at the second voltage input a voltage between 0 V and a predetermined threshold voltage is applied, and that for supplying the output voltage applied to the second voltage input Voltage is used if at the second voltage input is applied a voltage whose amount is greater than or equal to the amount of the threshold voltage.
Vorzugsweise liegt der Betrag der Schwellenspannung im Bereich von 2 V bis 24 V, besonders bevorzugt im Bereich von 2,3 V bis 15 V. Preferably, the magnitude of the threshold voltage is in the range of 2V to 24V, more preferably in the range of 2.3V to 15V.
Der in der Vorrichtung verwendete Gleichspannungswandler ist vorzugsweise als Aufwärtswandler ausgeführt. Alternativ können jedoch auch andere Gleichspannungswandler verwendet werden, die eine effiziente Erhöhung der Eingangsspannung ermöglichen. Besonders bevorzugt ist der zweite Spannungseingang über einen Spannungsteiler und einen Halbleiterschalter mit dem Aufwärtswandler verbunden, so dass der Aufwärtswandler durch Schalten des Halbleiterschalters ausgeschaltet wird, wenn die zweite Eingangsspannung am zweiten Spannungseingang größer oder gleich dem Schwellenwert ist. Der Halbleiterschalter kann ein Transistor, beispielsweise ein Bipolartransistor, insbesondere ein npn-Bipolartransistor oder etwa ein n-Kanal-MOSFET sein. Beispielsweise kann die am zweiten Spannungseingang anliegende zweite Eingangsspannung mit der Basis eines Bipolartransistors verbunden sein, dessen Emitter auf Masse liegt und dessen Kollektor mit dem Aufwärtswandler verbunden ist. Erreicht oder Überschreitet die zweite Eingangsspannung die Schwellenspannung, schaltet der Bipolartransistor seine Kollektor-Emitter Strecke leitend, wodurch der Aufwärtswandler abgeschaltet wird. The DC-DC converter used in the device is preferably designed as a step-up converter. Alternatively, however, other DC-DC converters can be used, which allow an efficient increase of the input voltage. Particularly preferably, the second voltage input is connected via a voltage divider and a semiconductor switch to the boost converter, so that the boost converter is turned off by switching the semiconductor switch when the second input voltage at the second Voltage input is greater than or equal to the threshold. The semiconductor switch may be a transistor, for example a bipolar transistor, in particular an npn bipolar transistor or an n-channel MOSFET. For example, the second input voltage applied to the second voltage input may be connected to the base of a bipolar transistor whose emitter is grounded and whose collector is connected to the up-converter. When the second input voltage reaches or exceeds the threshold voltage, the bipolar transistor conducts its collector-emitter path, thereby turning off the boost converter.
In manchen bevorzugten Ausgestaltungen der Erfindung liegt der Betrag der von der Vorrichtung bereitgestellten Ausgangsspannung im Bereich von 4 V bis 48 V. In some preferred embodiments of the invention, the amount of output voltage provided by the device is in the range of 4V to 48V.
In weiteren bevorzugten Ausgestaltungen der Erfindung liegt der Betrag der zweiten Eingangsspannung ebenfalls im Bereich von 4 V bis 48 V. In further preferred embodiments of the invention, the amount of the second input voltage is also in the range of 4 V to 48 V.
Vorzugsweise ist das Bus-System ein LIN-Bus (Local Interconnect Network-Bus). Ein derartiges Bus-System ist beispielsweise im Automobilbereich weit verbreitet. Ein LIN-Bus kommt insbesondere bei Sensoren und Aktuatoren zum Einsatz, deren Kommunikation mit einer Steuereinheit des Automobils relativ einfach gehalten ist und die nur eine relativ kleine Bandbreite zum Datenaustausch benötigen. Ein LIN-Bus System setzt sich aus einer Master-Einheit (Master) und einer oder mehreren Slave-Einheiten (Slave) zusammen. Der Master, beispielsweise ein Mikrocontroller, hat dabei Kenntnis über die zeitliche Abfolge der zu übermittelnden Daten und sendet eine Übertragungsaufforderung an die entsprechenden Slaves. Üblicherweise agieren Sensoren und Aktuatoren in Automobilanwendungen als Slave und Steuergeräte als Master. Zur Konfiguration und Programmierung ist es daher vorteilhaft, wenn die erfindungsgemäße Vorrichtung als Master an einem LIN-Bus betreibbar ist. Die Vorrichtung kann jedoch auch umschaltbar, also entweder als Slave oder als Master betreibbar sein, um eine größtmögliche Flexibilität zu gewährleisten. Um zwischen den beiden Betriebsmodi, in denen die Vorrichtung entweder als Master oder als Slave an einem LIN-Bus betrieben wird, umschalten zu können, kann die Vorrichtung einen schaltbaren Widerstand, beispielsweise einen Pullup-Widerstand, aufweisen. Dadurch kann es erreicht werden, dass durch Schalten des Pullup-Widerstands der Spannungspegel eines LIN-Anschlusses der Vorrichtung derart einstellbar ist, dass die Vorrichtung entweder als LIN-Master oder als LIN-Slave in einem LIN-Bus erkannt wird. Preferably, the bus system is a LIN (Local Interconnect Network Bus) bus. Such a bus system is widely used in the automotive field, for example. A LIN bus is used in particular in sensors and actuators whose communication with a control unit of the automobile is kept relatively simple and which only require a relatively small bandwidth for data exchange. A LIN bus system consists of a master unit (master) and one or more slave units (slave). The master, for example a microcontroller, has knowledge of the chronological sequence of the data to be transmitted and sends a transmission request to the corresponding slaves. Typically, sensors and actuators in automotive applications act as slaves and controllers as masters. For configuration and programming, it is therefore advantageous if the device according to the invention can be operated as a master on a LIN bus. However, the device can also be switched over, ie be operated either as a slave or as a master to ensure the greatest possible flexibility. In order to be able to switch between the two operating modes in which the device is operated either as a master or as a slave on a LIN bus, the device can have a switchable resistor, for example a pull-up resistor. It can thereby be achieved that, by switching the pull-up resistor, the voltage level of a LIN terminal of the device can be set such that the device is recognized either as a LIN master or as a LIN slave in a LIN bus.
Des Weiteren kann es vorgesehen sein, dass die erfindungsgemäße Vorrichtung zur Überwachung der Kommunikation eines Bus-Systems, beispielsweise eines LIN-Busses, verwendet wird. Dazu ist die Vorrichtung in der Lage, jegliche Kommunikation im Bus-System zu empfangen und an einen über die USB-Schnittstelle mit der Vorrichtung verbundenen Computer zu senden. Furthermore, it can be provided that the device according to the invention is used for monitoring the communication of a bus system, for example a LIN bus. For this, the device is able to receive any communication in the bus system and send it to a computer connected via the USB interface to the device.
Alternativ zu einem LIN-Bus kann die Erfindung aber prinzipiell auch mit anderen BUS-Systemen verwendet werden, beispielsweise mit einem CAN-BUS (Controller Area Network-Bus). As an alternative to a LIN bus, however, the invention can in principle also be used with other BUS systems, for example with a CAN-BUS (Controller Area Network Bus).
In bevorzugten Ausführungen der Erfindung wird die Vorrichtung zum Steuern und Programmieren eines bürstenlosen Gleichstrommotors des Aktuators verwendet. Dabei weist der Aktuator neben dem bürstenlosen Gleichstrommotor etwa eine Getriebeeinheit auf. Im Vergleich zu einem Bürstenmotor benötigen bürstenlose Gleichstrommotoren eine aufwendigere elektronische Steuerung, die häufig erst dann programmiert wird, wenn der Aktuator montiert ist. Dadurch kann ein Aktuator mit solch einem Motor der jeweiligen Anwendung oder Einbauposition angepasst werden. Ebenso kann es wünschenswert sein, die Steuerschaltung neu zu programmieren, um den Wirkungsgrad des bürstenlosen Gleichstrommotors zu erhöhen oder um eventuell vorhandene Fehler der bestehenden Programmierung zu korrigieren. Es ist daher vorteilhaft, wenn die Steuerschaltung des Motors durch eine flexible und leicht anzuschließende Vorrichtung steuerbar und programmierbar ist. In preferred embodiments of the invention, the apparatus is used to control and program a brushless DC motor of the actuator. In this case, the actuator in addition to the brushless DC motor about a gear unit. Compared to a brush motor, brushless DC motors require a more sophisticated electronic control, which is often programmed only when the actuator is mounted. As a result, an actuator with such a motor can be adapted to the respective application or installation position. Also, it may be desirable to reprogram the control circuitry to increase the efficiency of the brushless DC motor or to correct for any existing programming errors. It is therefore advantageous if the control circuit of the motor is controllable and programmable by a flexible and easy-to-connect device.
In einem weiteren Aspekt der Erfindung wird ein Computerprogramm zur Ausführung auf einer Recheneinheit bereitgestellt, das zur Verwendung mit einer erfindungsgemäßen Vorrichtung geeignet ist. Vorzugsweise kann das Computerprogramm über die USB-Schnittstelle Daten von der Vorrichtung empfangen und Daten an die Vorrichtung senden. In a further aspect of the invention there is provided a computer program for execution on a computing unit suitable for use with a device according to the invention. Preferably, the computer program may receive data from the device via the USB interface and send data to the device.
Vorzugsweise ist das Computerprogramm dazu ausgestaltet, Steuerbefehle zum Steuern des Aktuators und/oder Programmierbefehle zum Programmieren der Steuerschaltung des Aktuators über die USB-Schnittstelle an die Vorrichtung zu senden. Preferably, the computer program is configured to send control commands for controlling the actuator and / or programming commands for programming the control circuit of the actuator via the USB interface to the device.
Besonders bevorzugt kann das Computerprogramm über die Vorrichtung Nachrichten des Bus-Systems empfangen. Die Erfindung kann dadurch insbesondere auch Zustands- und Statusinformationen des an das Bus-System gekoppelten Aktuators empfangen. Dies kann insbesondere bei einer Fehleranalyse von Vorteil sein, da auf diesem Weg nicht nur der Aktuator sondern das gesamte Bus-System überwacht und mittels eines Computerprogramms analysiert werden kann. Particularly preferably, the computer program can receive messages from the bus system via the device. In particular, the invention can also receive status and status information of the actuator coupled to the bus system. This can be particularly advantageous in a fault analysis, since not only the actuator but the entire bus system can be monitored in this way and analyzed by means of a computer program.
Die erfindungsgemäße Vorrichtung ist über das Bus-System mit der Steuerschaltung mindestens eines Aktuators verbindbar. Es können somit auch mehrere Aktuatoren gleichzeitig durch die Vorrichtung geregelt und programmiert werden, indem jeweils Ihre Steuerschaltung über das Bus-System mit der Vorrichtung verbunden wird. Werden besonders viele Aktuatoren an die Vorrichtung angeschlossen, kann es aufgrund des erhöhten Stromverbrauchs nötig oder vorteilhaft sein, die Ausgangsspannung der Vorrichtung über die zweite Eingangsspannung zu speisen. The device according to the invention can be connected via the bus system to the control circuit of at least one actuator. It can therefore also several actuators are simultaneously controlled by the device and programmed by each of your control circuit is connected via the bus system with the device. If particularly many actuators are connected to the device, it may be necessary or advantageous to feed the output voltage of the device via the second input voltage due to the increased power consumption.
Beschreibung bevorzugter Ausführungsformen Description of preferred embodiments
Die Merkmale und zahlreichen Vorteile der erfindungsgemäßen Lösung lassen sich am Besten anhand einer detaillierten Beschreibung bevorzugter Ausführungsbeispiele unter Bezugnahme auf die anliegenden Figuren erläutern, in denen: The features and numerous advantages of the solution according to the invention can best be explained by means of a detailed description of preferred embodiments with reference to the appended figures, in which:
Auf einer Platine
Die
Der Dateneingang DI_USB und der Datenausgang DO_USB sind an entsprechende Anschlüsse DI_U3 und DO_U3 eines Mikrocontrollers U3 angeschlossen. Der Mikrocontroller U3 stellt einen anwendungsspezifischen Kommunikationskanal zum Durchleiten der Daten durch die USB-Schnittstelle
Der durch den USB-Stecker
Die weiteren Anschlüsse der Mikrocontrollers U3 umfassen einen Reseteingang nRST, der durch einen Widerstand R23 auf einem hohen Spannungspegel gehalten wird. Darüber hinaus umfassen die Anschlüsse einen Eingang VPP, der einen Kondensator C4 zur internen Spannungsversorgung während eines Programmiervorgangs des Mikrocontrollers U3 über den USB-Anschluss bereitstellt. The further terminals of the microcontroller U3 comprise a reset input nRST, which is held by a resistor R23 at a high voltage level. In addition, the terminals include an input VPP, which provides a capacitor C4 for internal power supply during a programming operation of the microcontroller U3 via the USB port.
In der gezeigte Ausführungsform der erfindungsgemäßen Vorrichtung
Zur Kopplung mit der Bus-Schnittstelle
Weiterhin umfasst die beispielhafte Überwachungsschaltung
Wird die USB-Schnittstelle nach Norm betrieben, dann liegt am ersten Spanungseingang VUSB eine Eingangsspannung von circa 5 V an. Um eine Ausgangsspannung Vout der Vorrichtung
Die Wandlerstufe umfasst einen integrierten Aufwärtswandler U2 mit einem über einen Anschluss SHDN schaltbaren Schalter, beispielsweise einem Feldeffekttransistor. Damit kann der integrierte Aufwärtswandler U2 über die am Anschluss SHDN anliegende Spannung angeschaltet, beziehungsweise ausgeschaltet werden. Der erste Spannungseingang VUSB der Vorrichtung
Ein Ausgang SW des integrierten Aufwärtswandlers U2 und die Spule L1 sind über eine Diode D5 der Wandlerstufe mit dem Spannungsausgang Vout_int des Aufwärtswandlers
Die am zweiten Spannungseingang VDD_ext anliegende zweite Eingangsspannung Vin_ext ist über einen internen Kontakt EXT_VDD der Vorrichtung
Die als Schottky-Dioden ausgebildeten Dioden D6 und D7 trennen die Spannungssignale der Wandlerschaltung und des zweiten Spannungseingangs VDD_ext, so dass am gemeinsamen, internen Spannungsausgang Vout_int des Aufwärtswandlers
Der interne Spannungsausgang Vout_int ist zum Schutz gegen Überstrom mit einer Schutzschaltung
Zum Datenaustausch mit der USB-Schnittstelle
Zur Kommunikation mit einem LIN-Bus weist der LIN-Transceiver U1 einen Anschluss LIN_U1 auf, während an einem Eingang VS des LIN-Transceivers U1 die Ausgangsspannung Vout anliegt. Dabei ist der Betriebsspannungseingang VS über einen Kondensator C1 mit Masse GND gekoppelt. Zur Verbindung mit Masse GND hat der LIN-Transceiver U1 zusätzlich einen Masseanschluss GND_U1. Der Anschluss LIN_U1 ist nun über einen internen Anschluss LIN direkt mit Anschluss LIN_IO des Steckers
Des Weiteren weist der LIN-Transceiver U1 einen Eingang EN zum Ein- und Ausschalten des LIN-Transceivers U1 auf. Der Eingang EN ist dazu über einen optionalen Widerstand R5 und über einen internen Kontakt ENA_LIN der Vorrichtung
Schließlich wird zur Verbindung mit dem Aktuator entsprechend der
Der Stecker
Die in den
In den
Des Weiteren sind in dieser Ausführungsform die Leuchtdioden D4 und D9 zur Statusanzeige direkt mit dem Mikrocontroller U3‘ verbunden und jeweils über einen der Widerstände R8 und R17 mit Masse GND verbunden. Damit ist im Unterschied zum Ausführungsbeispiel der
Der in der
Die in
Die Beschreibung der bevorzugten Ausführungsformen und die Figuren dienen allein der Veranschaulichung der Erfindung und sollen die Erfindung nicht beschränken. Der Schutzumfang ergibt sich aus den nachfolgenden Ansprüchen. The description of the preferred embodiments and the figures are merely illustrative of the invention and are not intended to limit the invention. The scope of protection is apparent from the following claims.
BezugszeichenlisteLIST OF REFERENCE NUMBERS
- 1 1
- Vorrichtung contraption
- 2 2
- USB-Stecker USB plug
- 3, 3‘ 3, 3 '
- Stecker plug
- 3a 3a
- erster Stecker (zweiter Spannungseingang) first connector (second voltage input)
- 3b 3b
- zweiter Stecker (LIN-Bus) second connector (LIN bus)
- 3V3_USB 3V3_USB
- Interne Spannung Internal tension
- 4 4
- Platine circuit board
- 5, 5‘ 5, 5 '
- USB-Schnittstelle USB interface
- 5V_USB 5V_USB
- Erste Eingangsspannung First input voltage
- 6, 6‘ 6, 6 '
- Bus-Schnittstelle Bus Interface
- 7, 7‘ 7, 7 '
- Gleichspannungswandler DC converter
- 8, 8‘ 8, 8 '
- Schutzschaltung protection circuit
- 9, 9‘ 9, 9 '
- Überwachungsschaltung monitoring circuit
- 10 10
- Messschaltung measuring circuit
- 11 11
- Messverstärker measuring amplifiers
- 12 12
- Potentiometer potentiometer
- C1 bis C12, C34 C1 to C12, C34
- Kondensatoren capacitors
- D1, D2, D3, D4, D5, D6, D7, D8a, D8b, D9, D10 D1, D2, D3, D4, D5, D6, D7, D8a, D8b, D9, D10
- Dioden diodes
- DI_USB DI_USB
- Dateneingang (USB) Data input (USB)
- DO_USB DO_USB
- Datenausgang (USB) Data output (USB)
- DVDT DVDT
- Anschluss der integrierten elektronischen Sicherung F1Connection of the integrated electronic fuse F1
- EN EN
- Anschluss des LIN-Transceivers U1 Connection of the LIN transceiver U1
- EN_F1 EN_F1
- Anschluss der Sicherung F1 Connection of fuse F1
- EXT_VDD EXT_VDD
-
Interner Kontakt der Vorrichtung
1 Internal contact of thedevice 1 - F1 F1
- Integrierte elektronische Sicherung Integrated electronic fuse
- GND GND
- Masse Dimensions
- GND_F1 GND_F1
- Masseanschluss der Sicherung F1 Ground connection of fuse F1
- GND1, GND2 GND1, GND2
- Masseanschlüsse des Mikrocontrollers U3 Ground connections of the microcontroller U3
- GND_LIN GND_LIN
-
Masseanschluss des Steckers
3a für das Bus-SystemGround connection of theplug 3a for the bus system - GND_U1 GND_U1
- Masseanschluss des LIN-Transceivers U1 Ground connection of the LIN transceiver U1
- GND_USB GND_USB
-
Masseanschluss des USB-Steckers
2 Ground connection of theUSB connector 2 - GND_VDD GND_VDD
-
Masseanschluss des Steckers
3b für das Bus-SystemGround connection of theplug 3b for the bus system - ILIMIT ILIMIT
- Anschluss der Sicherung F1 Connection of fuse F1
- IO0 bis IO10 IO0 to IO10
- Anschlüsse des Mikrocontrollers U3, U3‘Connections of the microcontroller U3, U3 '
- IO0_RTS IO0_RTS
- Interner Anschluss Internal connection
- IO_SDA IO_SDA
- Anschluss des Mikrocontrollers U3‘Connection of the microcontroller U3 '
- IO_SCL IO_SCL
- Anschluss des Mikrocontrollers U3‘Connection of the microcontroller U3 '
- L1 L1
- Spule Kitchen sink
- LIN_IO LIN_IO
-
LIN-Anschluss des Steckers
3b LIN connector of theconnector 3b - nC nC
- Anschluss des Mikrocontrollers U3 Connection of the microcontroller U3
- nRST NRST
- Reseteingang des Mikrocontrollers U3, U3‘Reset input of microcontroller U3, U3 '
- Q1, Q2, Q3 Q1, Q2, Q3
- Schalter switch
- R1 bis R23 R1 to R23
- Widerstände resistors
- RS+, RS– RS +, RS-
-
Anschlüsse des Messverstärkers
11 Connections of the measuringamplifier 11 - Rvar, B, W Rvar, B, W
- Abgriffe des Potentiometers U5 Taps of the potentiometer U5
- RX RX
- Anschluss des Mikrocontrollers U3, U3‘Connection of the microcontroller U3, U3 '
- RXD RXD
- Anschluss des LIN-Transceivers Connection of the LIN transceiver
- S1 S1
- Schalterschaltung switch circuit
- SH1, SH2 SH1, SH2
- Schutzanschlüsse des USB-Steckers Protective connections of the USB connector
- SRC1, SRC2, SRC3 SRC1, SRC2, SRC3
- Spannungsausgänge der Sicherung F1 Voltage outputs of fuse F1
- ST1 ST1
- Spannungsteiler voltage divider
- SUSPEND1, SUSPEND2 SUSPEND1, SUSPEND2
- Anschlüsse des Mikrocontrollers U3 Connections of the microcontroller U3
- TP1 bis TP12 TP1 to TP12
- Testpunkte test points
- TX TX
- Anschluss des Mikrocontrollers U3, U3‘Connection of the microcontroller U3, U3 '
- TXD TXD
- Anschluss des LIN-Transceivers Connection of the LIN transceiver
- USB_TXD USB_TXD
- Interner Anschluss Internal connection
- USB_RXD USB_RXD
- Interner Anschluss Internal connection
- U1 U1
- LIN-Transceiver LIN Transceivers
- U2 U2
- Integrierter Aufwärtswandler Integrated boost converter
- U3, U3‘ U3, U3 '
- Mikrocontroller microcontroller
- U5 U5
- Potentiometer potentiometer
- VBUS_U3 VBUS_U3
- Spannungseingang des Mikrocontrollers U3 Voltage input of the microcontroller U3
- Vout Vout
- Ausgangsspannung output voltage
- VCC VCC
- Spannungseingang der Sicherung F1 Voltage input of fuse F1
- VDD VDD
- Spannungseingang der Wandlerstufe Voltage input of the converter stage
- VDD_ext VDD_ext
- Zweiter Spannungseingang Second voltage input
- VDD_USB VDD_USB
- Spannungsausgang des Mikrocontrollers Voltage output of the microcontroller
- Vin_ext Vin_ext
- Zweite Eingangsspannung Second input voltage
- VIO VIO
- Spannungsausgang des Mikrocontrollers U3 Voltage output of the microcontroller U3
- Vthresh V thresh
- Schwellenspannung threshold voltage
- VUSB VUSB
- Erster Spannungseingang (USB) First voltage input (USB)
- VLIN V LIN
- Spannungsausgang voltage output
- Vout_int Vout_int
- Interner Spannungsausgang Internal voltage output
- Vout_ND Vout_ND
- Interner Spannungsausgang Internal voltage output
- Vintern vintern
- Interner Spannungsausgang Internal voltage output
- WAKE WAKE
- Eingang des LIN-Transceivers Input of the LIN transceiver
Claims (17)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102014115737.0 | 2014-10-29 | ||
DE102014115737 | 2014-10-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102015118383A1 true DE102015118383A1 (en) | 2016-05-04 |
Family
ID=55753880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102015118383.8A Pending DE102015118383A1 (en) | 2014-10-29 | 2015-10-28 | Device for controlling and programming an actuator |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102015118383A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108375943A (en) * | 2018-05-16 | 2018-08-07 | 苏州麦垛信息科技有限公司 | A kind of SCM Based editable vending machine wiring board |
-
2015
- 2015-10-28 DE DE102015118383.8A patent/DE102015118383A1/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108375943A (en) * | 2018-05-16 | 2018-08-07 | 苏州麦垛信息科技有限公司 | A kind of SCM Based editable vending machine wiring board |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011038973A2 (en) | Assembly for installing building systems engineering units | |
EP2412208A1 (en) | Overvoltage protection for a bus device | |
EP2829929A1 (en) | Field device with a detachable display and/or input panel | |
EP3177898B1 (en) | Connecting device | |
DE102017115735B4 (en) | Control switching module for a building control device and such a building control device | |
EP3123608B1 (en) | Input stage for motor control and the motor control, especially for an electric motor | |
DE102014019725B3 (en) | Electronic switching device and electronic switching method | |
DE102015118383A1 (en) | Device for controlling and programming an actuator | |
DE102018009221A1 (en) | DC-DC power converters and methods and systems for detecting fault modes thereof | |
DE102013214953A1 (en) | Arrangement for connecting a component to a master control unit of a motor vehicle | |
EP3182607B1 (en) | Ventilator with status signal generation and status signal transfer through a supply line | |
EP2650993A2 (en) | Assembly for installing building systems engineering devices | |
DE102009039579B4 (en) | Motor vehicle with a DC voltage converter arrangement | |
DE102011084147B4 (en) | Device for location-dependent configuration | |
EP2351176B1 (en) | Electrical installation apparatus | |
DE102015222752B4 (en) | Self-powered driver for power supplies | |
DE102013203855B3 (en) | Control device for driving a window or the like | |
EP2799946B1 (en) | Method for establishing compatibility between a field device and a diagnostic device and interface device | |
WO2010046307A1 (en) | Circuit arrangement | |
DE102019119603B4 (en) | Short-circuit proof driver circuit for a DSI3 data bus with double current limitation | |
DE102007027415B4 (en) | Switchgear, communication system and procedure | |
DE102018105160B3 (en) | Power supply system for supplying equipment in operating theaters | |
EP4228145A1 (en) | Arrangement for operating an electric motor in a vehicle | |
DE102015103296B4 (en) | Measuring device for providing a standardized electrical output signal and electronic measuring transducer | |
EP2701462A2 (en) | Control device for electric load |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R163 | Identified publications notified | ||
R081 | Change of applicant/patentee |
Owner name: MINEBEA MITSUMI INC., JP Free format text: FORMER OWNER: MINEBEA CO., LTD., NAGANO-KEN, JP |
|
R082 | Change of representative |
Representative=s name: MAUCHER JENKINS, DE Representative=s name: MAUCHER JENKINS PATENTANWAELTE & RECHTSANWAELT, DE |
|
R012 | Request for examination validly filed | ||
R016 | Response to examination communication |