DE102012000052A1 - Control unit for device control - Google Patents
Control unit for device control Download PDFInfo
- Publication number
- DE102012000052A1 DE102012000052A1 DE201210000052 DE102012000052A DE102012000052A1 DE 102012000052 A1 DE102012000052 A1 DE 102012000052A1 DE 201210000052 DE201210000052 DE 201210000052 DE 102012000052 A DE102012000052 A DE 102012000052A DE 102012000052 A1 DE102012000052 A1 DE 102012000052A1
- Authority
- DE
- Germany
- Prior art keywords
- control unit
- card controller
- microcontroller
- control
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
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
- G05B19/0421—Multiprocessor system
Abstract
Eine Steuereinheit (10) zur Steuerung eines Gerätes von einem vorbestimmten Gerätetyp umfasst einen Mikrocontroller (20) mit zumindest einer Geräte-Schnittstelle (22, 24) zu dem zu steuernden Gerät. Eine für den Gerätetyp spezifische Steuerungs-Software (56) ist eingerichtet, Steuersignale zu bestimmen, welche zur Steuerung des Gerätes über die Geräte-Schnittstelle (22) vorgesehen sind. Ein Chipkartencontroller (30), der mit dem Mikrocontroller (20) verbunden ist, speichert und führt die Steuerungs-Software (56) aus. Die Steuereinheit (10) wird erst durch die Steuerungs-Software (56) befähigt, Steuersignale für das Gerät von dem vorbestimmten Gerätetyp zu bestimmen.A control unit (10) for controlling a device of a predetermined type of device comprises a microcontroller (20) with at least one device interface (22, 24) to the device to be controlled. A specific for the device type control software (56) is set up to determine control signals, which are provided for controlling the device via the device interface (22). A smart card controller (30) connected to the microcontroller (20) stores and executes the control software (56). The control unit (10) is first enabled by the control software (56) to determine control signals for the device from the predetermined device type.
Description
Die vorliegende Erfindung betrifft eine Steuereinheit zur Steuerung von technischen Geräten sowie die Programmierung einer solchen Steuereinheit.The present invention relates to a control unit for controlling technical devices and the programming of such a control unit.
Mikrocontroller zur Steuerung von Geräten, wie z. B. autarken Sensoren oder Aktoren, Bauteilen in Sensornetzwerken, Geräten im M2M-Computing sowie kleine industrielle Steuerungen, beispielsweise von Heizungs- oder Alarmanlagen und dergleichen, sowie Steuerungen von Haushaltsgeräten, haben bereits weite Verbreitung gefunden.Microcontroller for controlling devices, such. As self-sufficient sensors or actuators, components in sensor networks, devices in M2M computing and small industrial controls, such as heating or alarm systems and the like, and controls of household appliances, have already found widespread use.
Die Programmierung von Mikrocontrollern erfordert in der Regel viel Erfahrung und ist zeit- und kostenaufwändig. Zumeist ist eine hardwarenahe Programmierung, z. B. in einer Programmiersprache wie Assembler oder C, erforderlich. Ein Entwickler hat sich in die Anforderungen, die ein zu programmierender Mikrocontroller stellt, zumeist erst einzuarbeiten. Hinzu kommt, dass zur Programmierung solcher Mikrocontroller nur sehr einfache und lediglich mit Basisfunktionalitäten ausgestattete Entwicklungsumgebungen bereitstehen. In der Regel sind diese Entwicklungsumgebungen dem jeweiligen Mikrocontroller zugeordnet und unterscheiden sich demnach für verschiedene Mikrocontroller. Folglich sind die sich ergebenden Entwicklungszeiten zur Programmentwicklung sowie die resultierenden Entwicklungskosten vergleichsweise hoch.The programming of microcontrollers usually requires a lot of experience and is time consuming and costly. In most cases, a near-hardware programming, z. In a programming language such as assembler or C. For the most part, a developer has to familiarize himself with the requirements of a microcontroller that has to be programmed. In addition, programming of such microcontrollers requires only very simple development environments equipped with basic functionalities. As a rule, these development environments are assigned to the respective microcontroller and therefore differ for different microcontrollers. Consequently, the resulting development times for program development and the resulting development costs are comparatively high.
Aufgabe der vorliegenden Erfindung ist es, eine kostengünstige Steuereinheit vorzusehen.The object of the present invention is to provide a cost-effective control unit.
Diese Aufgabe wird durch die Merkmale der unabhängigen Ansprüche gelöst. Vorteilhafte Ausgestaltungen und Weiterbildungen der Erfindung sind in den abhängigen Ansprüchen angegeben.This object is solved by the features of the independent claims. Advantageous embodiments and further developments of the invention are specified in the dependent claims.
Eine erfindungsgemäße Steuereinheit zur Steuerung von Geräten umfasst demnach einen Mikrocontroller mit zumindest einer Schnittstelle zur Kommunikation mit einem zu steuernden Gerät. Das zu steuernde Gerät ist von einem vorbestimmten Gerätetyp. Die Steuereinheit umfasst ferner eine für den Gerätetyp spezifische Steuerungs-Software. Die Steuerungssoftware bestimmt Steuersignale, welche zur Steuerung des Gerätes von dem vorbestimmten Gerätetyp über die Geräte-Schnittstelle vorgesehen sind. Herkömmlich wurde eine solche Software auf dem Mikrocontroller ausgeführt. Vorliegend wird ein Chipkartencontroller mit dem Mikrocontroller verbunden, der die Steuerungs-Software speichert und ausführt. Die Steuereinheit wird erst durch die Steuerungs-Software befähigt, Steuersignale für das Gerät von dem vorbestimmten Gerätetyp bestimmen kann. Der Mikrocontroller selbst kann das Gerät also nicht steuern.A control unit according to the invention for controlling devices accordingly comprises a microcontroller with at least one interface for communication with a device to be controlled. The device to be controlled is of a predetermined type of device. The control unit further comprises a control software specific to the device type. The control software determines control signals which are provided to control the device from the predetermined device type via the device interface. Conventionally, such software has been executed on the microcontroller. In the present case, a smart card controller is connected to the microcontroller, which stores and executes the control software. The control unit is enabled by the control software to determine control signals for the device from the predetermined device type. The microcontroller itself can not control the device.
Vorzugsweise ist der Mikrocontroller für unterschiedliche Gerätetypen einer Geräteklasse einsetzbar. Die Schnittstellen) des Mikrocontrollers ist (sind) eingerichtet, um Steuersignale an das Gerät zu senden und Gerätesignale von dem Gerät zu empfangen. Steuer- und Gerätesignale können dabei analoge und/oder digitale Signale sein. Der Mikrocontroller weist eine für den Controller (Prozessor) spezifische Betriebssoftware auf. Für eine Geräteklasse, die eine Vielzahl von unterschiedlichen Gerätetypen umfasst, spezifisch ist die Geräteschnittstellenfunktion des Mikroprozessors. Eine Chipkartencontrollerschnittstellenfunktion, über welche die Steuerungs-Software die Geräteschnittstellenfunktion aufrufen kann, ist dagegen generisch, d. h. unabhängig von Gerätetyp und Geräteklasse.Preferably, the microcontroller can be used for different device types of a device class. The interface (s) of the microcontroller is configured to send control signals to the device and receive device signals from the device. Control and device signals can be analog and / or digital signals. The microcontroller has an operating software specific to the controller (processor). For a device class that includes a variety of different device types, the device interface function of the microprocessor is specific. By contrast, a smart card controller interface function over which the control software can invoke the device interface function is generic; H. regardless of device type and device class.
Wichtig ist die mögliche Verwendung einer von dem Chipkartencontroller konfigurierbaren Weiterleitungsfunktion. Diese Funktion leitet über die Geräte-Schnittstelle eingehende Gerätesignale an den Chipkartencontroller weiter. Wenn beispielsweise ein analoges Gerätesignal kontinuierlich vorliegt, kann der Chipkartenkontroller einstellen, wie oft bzw. in welchem Zyklus der aktuelle Wert des Gerätesignals ihm zu übertragen ist.Important is the possible use of a configurable by the smart card controller forwarding function. This function forwards incoming device signals to the chip card controller via the device interface. If, for example, an analog device signal is present continuously, the smart card controller can set how often or in which cycle the current value of the device signal is to be transmitted to it.
In einer bevorzugten Ausgestaltung überträgt der Chipkartencontroller dem Mikrocontroller eine Ereignisliste, wobei ein Ereignis vorzugsweise eine Kriterium für ein Gerätesignal ist (A > 3 oder B = 0). Der Mikrocontroller informiert den Chipkartencontroller, sobald ein Ereignis aus der Ereignisliste auftritt.In a preferred embodiment, the chip card controller transmits an event list to the microcontroller, wherein an event is preferably a criterion for a device signal (A> 3 or B = 0). The microcontroller informs the smart card controller as soon as an event from the event list occurs.
Es ist besonders effizient, wenn Software, die spezifisch für einen Gerätetyp und/oder eine Geräteklasse ist von dem Chipkartencontroller bereitgestellt wird. Diese Bereitstellung erfolgt in einer Phase der Initialisierung zwischen Mikrocontroller und Chipkartencontroller. In dieser Betriebsphase der Steuereinheit kann der Chipkartencontroller dem Mikrocontroller beispielsweise die Geräteschnittstellenfunktion, die Weiterleitungsfunktion und oder deren Konfiguration bereitstellen. In einer danach folgenden Betriebsphase der Steuerung des Gerätes bestimmt die Steuerungssoftware die nötigen Steuersignale.It is particularly efficient when software specific to a device type and / or device class is provided by the smart card controller. This provision takes place in a phase of initialization between microcontroller and chip card controller. In this operating phase of the control unit, the chip card controller can provide the microcontroller with, for example, the device interface function, the forwarding function and / or its configuration. In a subsequent operating phase of the control of the device, the control software determines the necessary control signals.
Bevorzugt wird die Initialisierungsphase zwischen Chipkartencontroller und Mikrocontroller nur einmalig, beispielsweise bei der ersten Inbetriebnahme der Steuereinheit, durchgeführt. Die Initialisierungsphase wird durch eine Initialisierungssoftware in dem Chipkartencontroller unterstützt. Eine Betriebssoftware des Mikroprozessors sowie eine Software zur Kommunikation mit dem Chipkartencontroller müssen im Mikrocontroller vorab vorgesehen werden.The initialization phase between chip card controller and microcontroller is preferably carried out only once, for example during the first startup of the control unit. The initialization phase is supported by an initialization software in the chip card controller. An operating software of the microprocessor and software for communication with the chip card controller must be provided in advance in the microcontroller.
Nach der Initialisierung schaltet der Chipkartencontroller automatisch um in einen Steuerungsmodus. Diese Umschaltung kann beispielsweise durch automatische Selektion der Steuerungssoftware anstelle der Initialisierungssoftware erfolgen.After initialization, the chip card controller automatically switches to a Control mode. This switching can be done for example by automatic selection of the control software instead of the initialization software.
Ein effizientes Verfahren zur Bereitstellung von Steuereinheiten für unterschiedliche Gerätetypen geht von Mikrocontrollern aus, die für Geräte von unterschiedlichen Gerätetypen einsetzbar sind. Ein Mikrocontroller wird dauerhaft mit einem Chipkartencontroller verbunden. Abhängig vom Gerätetyp des Gerätes, für welches die Steuereinheit bereitgestellt werden soll, wird eine entsprechende gerätespezifische Steuer-Software auf den Chipkartencontroller geladen. Die Steuerungssoftware wird auf dem Chipkartencontroller gespeichert und ist zur Ausführung auf dem Chipkartencontroller vorgesehen.An efficient method of providing controllers for different types of devices is based on microcontrollers that can be used for devices of different types of devices. A microcontroller is permanently connected to a smart card controller. Depending on the device type of the device for which the control unit is to be provided, a corresponding device-specific control software is loaded on the smart card controller. The control software is stored on the smart card controller and is provided for execution on the smart card controller.
Zur Programmierung einer solchen Steuereinheit kann eine Entwicklungsumgebung verwendet werden, um die auf dem Chipkartencontroller gespeicherten und von dieser ausführbaren gerätespezifische Steuerungssoftware zu programmieren.For programming such a control unit, a development environment can be used to program the device-specific control software stored on and executed by the smart card controller.
Dadurch, dass die Steuerung auf dem Chipkartencontroller ausgeführt werden, können diese in einer beliebigen Hochsprache, z. B. Java, und unter Verwendung herkömmlicher bekannter und mit vielfältigen Funktionalitäten ausgestatteter Entwicklungsumgebungen komfortabler und effizienter programmiert werden als dies bei der herkömmlichen Controllerprogrammierung möglich ist. Eine Einarbeitung des Entwicklers in die Programmierung des zugrunde liegenden Mikrocontrollers kann somit bei der Programmierung der für die Gerätesteuerung wesentlichen Spezialfunktionen entfallen. Dadurch werden kürzere Entwicklungszeiten erreicht und die Entwicklungskosten entsprechend gesenkt.The fact that the control is executed on the smart card controller, these can be in any high-level language, eg. Java, and can be programmed more conveniently and efficiently using conventional well-known and multi-functional development environments than is possible with traditional controller programming. An introduction of the developer in the programming of the underlying microcontroller can thus be omitted in the programming of the essential for the device control special functions. As a result, shorter development times are achieved and the development costs are reduced accordingly.
Die Erfindung lässt sich mit herkömmlichen Chipkartencontrollern verwirklichen, welche gemäß bekannter Kommunikationsprotokolle in einfacher Weise mit dem Mikrocontroller verbunden werden können und welche der Steuereinheit auf kostengünstige Weise zusätzliche Rechen- und Speicherkapazitäten zur Verfügung stellen können, welche in herkömmlichen Mikrocontrollern nur zu wesentlich höheren Kosten oder bei gleichen Kosten in wesentlich geringem Umfang zur Verfügung stehen.The invention can be realized with conventional chip card controllers, which can be easily connected to the microcontroller according to known communication protocols and which can provide the control unit in a cost effective manner additional computing and storage capacities available in conventional microcontrollers only at significantly higher cost or same costs are available to a substantially small extent.
Die erfindungsgemäße Steuereinheit eignet sich insbesondere zum Steuern von Sensoren und Aktoren, die auch autonom agieren können. Mittels der Betriebs- und Steuersoftware der Steuereinheit steuerbar sind weiterhin untereinander selbstständig kommunizierende Geräte in M2M-Computing-Anwendungen sowie kleine industrielle Anlagen, beispielsweise Heizungs- oder Alarmanlagen, aber auch Modellbauanlagen oder Haushaltsgeräte, wie z. B. Waschmaschinen, Spülmaschinen, Toaster und dergleichen.The control unit according to the invention is particularly suitable for controlling sensors and actuators, which can also act autonomously. By means of the operating and control software of the control unit are still mutually independently communicating devices in M2M computing applications and small industrial equipment, such as heating or alarm systems, but also model or household appliances such. As washing machines, dishwashers, toasters and the like.
Vorliegend wird als Steuereinheit für ein Gerät eine Steuereinheit verstanden, die fest in das Gerät eingebaut ist.In the present case is understood as a control unit for a device, a control unit, which is permanently installed in the device.
Im Folgenden wird die vorliegende Erfindung mit Bezug auf die beiliegenden Zeichnungen beispielhaft beschrieben. Darin zeigen:Hereinafter, the present invention will be described by way of example with reference to the accompanying drawings. Show:
Mit Bezug auf
Die Steuereinheit
Eine Datenkommunikation zwischen dem Mikrocontroller
Der Mikrocontroller
Die Steuereinheit
Die Betriebsfunktionen
Weiterhin umfasst der Mikrocontroller eine Weiterleitungsfunktion
Die auf dem Chipkartencontroller
Die Initialisierungssoftware
Nur die auf dem Chipkartencontroller
Mit Bezug auf
Bei Inbetriebnahme der Steuereinheit
Auf dem Chipkartencontroller
Die Schritte S5 und S6 dienen dazu, die Softwarefunktionen
In Schritt S7 fragt der Mikrocontroller
In einem ebenfalls optionalen Schritt S9 fordert der Mikrocontroller
Die Initialisierungssoftware
Allgemein verläuft die Betriebsphase, durch eine sich stets wiederholende Folge von Schritten B1 und B2. Der Mikrocontroller
Im Chipkartencontroller werden die entsprechenden Ereignisdaten mittels einer der Steuerungssoftware
Gemäß einer ersten Variante sendet der Mikrocontroller
Alternativ oder zusätzlich ist gemäß einer zweiten Variante vorgesehen, dass die Gerätesignale von dem Mikrocontroller
Eine Steuereinheit
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 Nicht-PatentliteraturCited non-patent literature
- Norm ISO/IEC 7816 [0022] Standard ISO / IEC 7816 [0022]
- ISO 7816 [0022] ISO 7816 [0022]
- ISO/IEC 7816 [0043] ISO / IEC 7816 [0043]
Claims (14)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE201210000052 DE102012000052A1 (en) | 2012-01-03 | 2012-01-03 | Control unit for device control |
EP12816001.7A EP2801004A1 (en) | 2012-01-03 | 2012-12-21 | Control unit for controlling a device |
PCT/EP2012/005357 WO2013102482A1 (en) | 2012-01-03 | 2012-12-21 | Control unit for controlling a device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE201210000052 DE102012000052A1 (en) | 2012-01-03 | 2012-01-03 | Control unit for device control |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102012000052A1 true DE102012000052A1 (en) | 2013-07-04 |
Family
ID=47561513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE201210000052 Withdrawn DE102012000052A1 (en) | 2012-01-03 | 2012-01-03 | Control unit for device control |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP2801004A1 (en) |
DE (1) | DE102012000052A1 (en) |
WO (1) | WO2013102482A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5204663A (en) * | 1990-05-21 | 1993-04-20 | Applied Systems Institute, Inc. | Smart card access control system |
US5896507A (en) * | 1993-04-28 | 1999-04-20 | Gemplus Card International | Device having automatic process for upgrading the performance of mobile systems |
US20040164170A1 (en) * | 2003-02-25 | 2004-08-26 | Marcelo Krygier | Multi-protocol memory card |
US20060131400A1 (en) * | 2003-08-22 | 2006-06-22 | Fujitsu Limited | Entering/leaving management system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6098891A (en) * | 1998-06-29 | 2000-08-08 | Schlumberger Malco, Inc. | Controlling industrial processes |
-
2012
- 2012-01-03 DE DE201210000052 patent/DE102012000052A1/en not_active Withdrawn
- 2012-12-21 WO PCT/EP2012/005357 patent/WO2013102482A1/en active Application Filing
- 2012-12-21 EP EP12816001.7A patent/EP2801004A1/en not_active Ceased
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5204663A (en) * | 1990-05-21 | 1993-04-20 | Applied Systems Institute, Inc. | Smart card access control system |
US5896507A (en) * | 1993-04-28 | 1999-04-20 | Gemplus Card International | Device having automatic process for upgrading the performance of mobile systems |
US20040164170A1 (en) * | 2003-02-25 | 2004-08-26 | Marcelo Krygier | Multi-protocol memory card |
US20060131400A1 (en) * | 2003-08-22 | 2006-06-22 | Fujitsu Limited | Entering/leaving management system |
Non-Patent Citations (3)
Title |
---|
ISO 7816 |
ISO/IEC 7816 |
Norm ISO/IEC 7816 |
Also Published As
Publication number | Publication date |
---|---|
WO2013102482A1 (en) | 2013-07-11 |
EP2801004A1 (en) | 2014-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2098926B1 (en) | Method and device for programming and/or configuring a safety controller | |
EP2573634B1 (en) | Method for operating a household appliance and system with such an appliance | |
EP3128383B1 (en) | Field device | |
EP2804165A1 (en) | System comprising a household appliance and a communication device as well as a method for operating such a system | |
DE102014102531A1 (en) | Method for operating a household appliance and system with such a household appliance | |
WO2015007297A1 (en) | Data-capture unit and automation system | |
DE102014001462A1 (en) | Fieldbus module, machine control and method for parameterizing a, in particular safety-related, fieldbus module | |
EP3121930A1 (en) | Device for detecting an electrical apparatus connected to an intelligent socket insert | |
EP2098928A1 (en) | Method and device for programming and/or configuring a safety controller | |
EP3021179B1 (en) | Method for connecting an embedded device to a control unit | |
DE102013112875A1 (en) | adapter system | |
DE102013227141A1 (en) | Transfer of a user interface | |
DE102012000052A1 (en) | Control unit for device control | |
AT502794B1 (en) | METHOD AND SOFTWARE CONTROL DEVICE FOR CONFIGURING THE OPERATION OF A BATTERY CHARGER FOR ACCUMULATORS AND CORRESPONDING LOADING DEVICE | |
DE102014210000A1 (en) | Local operation of devices of an installation bus | |
WO2018108580A1 (en) | Control of a household applicance | |
EP4196365A1 (en) | Charging plug, charging device and method for charging an electric vehicle | |
EP2511777A1 (en) | Method for operating a drive control device and device control device with means for use in such a method | |
DE102013210525A1 (en) | Building automation system | |
DE102013002085A1 (en) | PLC function blocks for power management functionalities | |
EP3005643B1 (en) | Base module for an electronic device | |
EP3048498B1 (en) | Method for reading diagnostic data from a safety control device | |
EP4086754A1 (en) | Method for computer-assisted configuration of a terminal, terminal and method of operating the terminal | |
DE102016207919A1 (en) | Mobile communication device with a user interface representation depending on a parameter detected at an interface | |
EP2256875B1 (en) | Power supply connection device for an electric device with adjustable parameters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R163 | Identified publications notified | ||
R081 | Change of applicant/patentee |
Owner name: GIESECKE+DEVRIENT MOBILE SECURITY GMBH, DE Free format text: FORMER OWNER: GIESECKE & DEVRIENT GMBH, 81677 MUENCHEN, DE |
|
R120 | Application withdrawn or ip right abandoned |