DE102017110890A1 - Device and method for transmitting control information within a data communication via a serial interface - Google Patents

Device and method for transmitting control information within a data communication via a serial interface Download PDF

Info

Publication number
DE102017110890A1
DE102017110890A1 DE102017110890.4A DE102017110890A DE102017110890A1 DE 102017110890 A1 DE102017110890 A1 DE 102017110890A1 DE 102017110890 A DE102017110890 A DE 102017110890A DE 102017110890 A1 DE102017110890 A1 DE 102017110890A1
Authority
DE
Germany
Prior art keywords
control information
data stream
bit
character
data
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
Application number
DE102017110890.4A
Other languages
German (de)
Inventor
Christoph Czeranowski
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.)
Basler AG
Original Assignee
Basler AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Basler AG filed Critical Basler AG
Priority to DE102017110890.4A priority Critical patent/DE102017110890A1/en
Priority to JP2018092726A priority patent/JP6622848B2/en
Publication of DE102017110890A1 publication Critical patent/DE102017110890A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

Die vorliegende Erfindung betrifft eine Vorrichtung und ein Verfahren zur schnellen Übertragung einer Steuerinformation (B) in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle, wobei die Steuerinformation (B) in den Datenstrom (D) an einer vorbestimmten Bitstelle unmittelbar nach einem auf den Zeitpunkt des Empfangs der Steuerinformation folgenden Startbit eines Zeichens des Datenstroms und vor dem Stoppbit des Zeichens eingefügt wird. Empfangsseitig wird das Startbit des Zeichens erfasst und die Steuerinformation (B) aus dem Datenstrom (D) an der vorbestimmten Bitstelle des Zeichens unmittelbar nach dem erfassten Startbit extrahiert.The present invention relates to an apparatus and a method for rapidly transferring control information (B) in a serial data stream using a serial interface, wherein the control information (B) enters the data stream (D) at a predetermined bit position immediately after the time of Receiving the control information following start bit of a character of the data stream and before the stop bit of the character is inserted. At the receiving end, the start bit of the character is detected and the control information (B) is extracted from the data stream (D) at the predetermined bit position of the character immediately after the detected start bit.

Description

Die Erfindung betrifft eine Vorrichtung und ein Verfahren zur Übertragung einer Steuerinformation innerhalb einer Datenkommunikation über eine serielle Schnittstelle.The invention relates to a device and a method for transmitting control information within a data communication via a serial interface.

Verschiedenen Komponenten prozessorgesteuerter Systeme kommunizieren miteinander über Schnittstellen. Dabei müssen bestimmte Konventionen eingehalten werden, damit die Datenkommunikation fehlerfrei erfolgen kann.Various components of processor-controlled systems communicate with each other via interfaces. Certain conventions must be adhered to so that the data communication can be carried out without error.

Um eine vorgegebene Datenrate zu erreichen, wird gewöhnlich sowohl im Sender wie im Empfänger mit einem Oszillator eine feste Bezugsfrequenz erzeugt. Dabei kann es vorkommen, dass sich die Bezugsfrequenzen (und somit die effektiven Datenraten) von Sender und Empfänger geringfügig voneinander abweichen, was zu Datenübertragungsfehlern führen kann. Um dieses Problem zu vermeiden, werden Start- und Stoppbits verwendet. Dabei synchronisiert sich der Empfänger zu Beginn eines jedes neuen Zeichens neu. Ist die Leitung im Ruhezustand, so beobachtet er sie, bis er irgendwann die Anfangsflanke (bspw. vom logischen Pegel „1“ zum logischen Pegel „0“) eines Startbits erkennt. Dieser Zeitpunkt kann als Anfangstrigger verwendet werden und danach wird die Leitung in vorbestimmten Zeitintervallen für jedes erwartete Bit des laufenden Zeichens einmal abgefragt oder abgetastet. Die Zeitpunkte der Abfrage legt der Empfänger dabei so, dass sie in die Mitte der einzelnen Bits fallen. Das Datenbit 0 wird demnach also 1,5 Bitzeiten nach der Anfangsflanke des Startbits abgefragt, das Datenbit 1 2,5 Bitzeiten nach der Anfangsflanke des Startbits usw. Beim Erreichen des Stoppbits beginnt der Empfänger wieder „frei zu laufen“ und wartet auf das nächste Startbit.In order to achieve a given data rate, a fixed reference frequency is usually generated in both the transmitter and the receiver with an oscillator. It may happen that the reference frequencies (and thus the effective data rates) of sender and receiver differ slightly, which can lead to data transmission errors. To avoid this problem, start and stop bits are used. The receiver synchronizes itself again at the beginning of each new character. If the line is in the idle state, it observes it until at some point it recognizes the start edge (for example, from the logic level "1" to the logic level "0") of a start bit. This time can be used as an initial trigger and thereafter the line is polled or sampled once at predetermined time intervals for each expected bit of the current character. The time of the query is set by the receiver so that they fall in the middle of the individual bits. Accordingly, the data bit 0 is requested 1.5 bit times after the start edge of the start bit, the data bit 1 2.5 bit times after the start edge of the start bit, etc. When the stop bit is reached, the receiver starts again "free running" and waits for the next start bit ,

Das Stoppbit ist erforderlich, um einen vorbestimmten logischen Pegel auf der Übertragungsleitung zu sichern. Falls nämlich das letzte Bit eines Zeichens den logischen Pegel „0“ aufweist, wäre der Empfänger nicht in der Lage, dieses letzte Bit von einem eventuell unmittelbar folgenden Startbit des nächsten Zeichens zu unterscheiden. Daher muss jedem Startbit (z.B. logischer Pegel „1“) stets ein entgegengesetzter Pegel (z.B. logischer Pegel „0“) vorangehen. Dieser wird mittels des Stoppbits sichergestellt. Da die Leitung im Ruhezustand denselben Pegel aufweist, kann dieses Verfahren auch nach längeren Übertragungspausen ein gesetzt werden. Da der Empfänger stets nur für die Dauer eines Zeichens annähernd synchron zum Sender betrieben wird und diese Synchronität am Ende jedes Zeichens wieder aufgibt, bezeichnet man dieses Übertragungsverfahren als Asynchronbetrieb.The stop bit is required to secure a predetermined logic level on the transmission line. Namely, if the last bit of a character has the logical level "0", the receiver would not be able to distinguish this last bit from any possibly immediately following start bit of the next character. Therefore, each start bit (e.g., logic level "1") must always be preceded by an opposite level (e.g., logic level "0"). This is ensured by means of the stop bit. Since the line in idle state has the same level, this method can be set even after prolonged transmission pauses. Since the receiver is always operated almost synchronously with the transmitter only for the duration of one character and this synchronicity gives up at the end of each character, this transmission method is referred to as asynchronous operation.

Die Stoppbits können auch vorgesehen sein, um eine Verzögerungszeit für das Empfängergerät zum Verarbeiten der zuletzt empfangenen Zeichen bereitzustellen. Aus diesem Grunde werden auch Stoppbits mit einer Länge von 1,5 oder 2 Bits verwendet.The stop bits may also be provided to provide a delay time for the receiver device to process the last received characters. For this reason, stop bits with a length of 1.5 or 2 bits are also used.

Zusätzlich zu den Datenbits kann auch noch ein sogenanntes Paritätsbit übertragen werden. Dieses Bit ermöglicht eine einfache Fehlerkontrolle. Wird mit gerader Parität gearbeitet, so setzt der Sender das Paritätsbit bspw. auf den logischen Pegel „1“, falls das zu sendende Zeichen eine ungerade Anzahl von gesetzten Bits mit logischem Pegel „1“ aufweist. Bei einer geraden Anzahl wird dagegen das Paritätsbit auf den logischen Pegel „0“ gesetzt. Der Empfänger prüft nun nach der gleichen Vorschrift, ob der logische Pegel des empfangenen Paritätsbits in korrekter Weise die Parität de empfangenen Datenbits wiedergibt. Falls eines der Datenbits bei der Übertragung verfälscht worden ist, so kann dies also am Empfänger erkannt werden.In addition to the data bits, a so-called parity bit can also be transmitted. This bit allows easy error checking. If even parity is used, the transmitter sets the parity bit, for example, to logic level "1" if the character to be transmitted has an odd number of set bits of logic level "1". For an even number, on the other hand, the parity bit is set at logic level "0". The receiver now checks according to the same rule whether the logical level of the received parity bit correctly reflects the parity of the received data bits. If one of the data bits has been corrupted during transmission, this can therefore be detected at the receiver.

Ein Beispiel für eine solche asynchrone serielle Schnittstelle ist die Universal Asynchronous Receiver Transmitter (UART) Schnittstelle, bei der es sich um eine elektronische Schaltung zur Realisierung digitaler serieller Schnittstellen handelt. Dabei kann es sich sowohl um ein eigenständiges elektronisches Bauelement (z.B. ein UART-Chip bzw. -Baustein) oder um einen Funktionsblock eines höherintegrierten Bauteils (z. B. eines Mikrocontrollers) handeln. Die UART-Schnittstelle dient zum Senden und Empfangen von Daten über eine Datenleitung und bildet einen Standard für serielle Schnittstellen an Personal Computern (PCs) und Mikrocontrollern. Auch im industriellen Bereich ist die Schnittstelle mit verschiedenen Interfaces (z. B. RS-232 oder EIA-485) sehr verbreitet.An example of such an asynchronous serial interface is the Universal Asynchronous Receiver Transmitter (UART) interface, which is an electronic circuit for implementing digital serial interfaces. This can be either an independent electronic component (for example a UART chip or component) or a functional block of a component with greater integration (for example a microcontroller). The UART interface is used to send and receive data over a data line and provides a standard for serial interfaces to personal computers (PCs) and microcontrollers. Even in the industrial sector, the interface with various interfaces (eg RS-232 or EIA-485) is very widespread.

Bei der UART-Schnittstelle werden die Daten als serieller digitaler Datenstrom mit einem festen Rahmen übertragen, der aus einem Startbit, fünf bis maximal neun Datenbits, einem optionalen Paritätsbit zur Erkennung von Übertragungsfehlern und einem Stoppbit besteht. Um dem Empfänger eine Synchronisationszeit auf den Takt der empfangenen Daten einzuräumen, kann das Stoppbit auf das 1,5- oder 2-fache der normalen Übertragungszeit eines Bits verlängert werden.In the UART interface, the data is transmitted as a serial digital data stream with a fixed frame consisting of a start bit, five to a maximum of nine data bits, an optional parity bit for detecting transmission errors and a stop bit. In order to give the receiver a synchronization time to the clock of the received data, the stop bit can be extended to 1.5 or 2 times the normal transmission time of one bit.

Realisiert wird eine UART-Schnittstelle meist als Kommunikationsbaustein in Mikrocontrollern oder Computern, als eigenständige integrierte Schaltung, als Teilfunktion in Chipsätzen, in Form von Hardwarebeschreibungssprachen für die Integration in Field Programmable Gate Arrays (FPGAs) oder als sogenanntes „Software-UART“, welches lediglich als eine Programmabfolge vorliegt und bestimmte Ein-/Ausgabepins direkt ansteuert. Die zu übertragenden bzw. die empfangenen Daten werden an das UART meist in paralleler Form, beispielsweise über einen CPU-externen Bus, geliefert.A UART interface is usually implemented as a communication component in microcontrollers or computers, as a stand-alone integrated circuit, as a subfunction in chipsets, in the form of hardware description languages for integration in field programmable gate arrays (FPGAs) or as a so-called "software UART" exists as a program sequence and directly drives certain input / output pins. The data to be transmitted or received are usually sent to the UART in parallel form, for example via a CPU-external bus.

Bei gesteuerten Geräten muss die Steuerinformation (z.B. Triggerimpuls odgl.) häufig möglichst schnell übertragen werden, um eine möglichst geringe Verzögerung zwischen Abgabe der Steuerinformation und Auslösen bzw. Aktivieren des gesteuerten Gerätes zu erzielen. So kann bspw. eine Beleuchtungsvorrichtung durch den Auslöser einer Kameravorrichtung gesteuert sein. Dabei wird der erforderliche schnelle Triggerimpuls herkömmlicherweise über eine zusätzliche Leitung übertragen, wodurch Komplexität und Platzbedarf steigen.In the case of controlled devices, the control information (for example trigger pulses or the like) must frequently be transmitted as quickly as possible in order to achieve the shortest possible delay between the delivery of the control information and the activation or activation of the controlled device. For example, a lighting device may be controlled by the shutter of a camera device. The required fast trigger pulse is traditionally transmitted via an additional line, which increases complexity and space requirements.

Zur Minimierung der Komplexität und Baugröße wäre es daher wünschenswert, die Übertragung von schnellen Triggerimpulsen oder anderer Steuerinformation ohne zusätzliche Leitung realisieren zu können, wenn bspw. bereits eine Datenkommunikation über nur eine Leitung zwischen zwei Mikrocontrollern (Kamera und Beleuchtunq) unter Verwendunq eines Standart-UART-Protokolls vorgesehen ist.To minimize the complexity and size, it would therefore be desirable to be able to realize the transmission of fast trigger pulses or other control information without additional line, if, for example, already a data communication over only one line between two microcontrollers (Camera and Illumination) using a standard UART Protocol is provided.

Der Erfindung liegt daher die Aufgabe zugrunde, eine Schnittstelle bereitzustellen, mittels der eine Steuerinformation mit geringer Verzögerung über die serielle Datenleitung übermittelt werden kann.The invention is therefore based on the object to provide an interface, by means of which control information can be transmitted with low delay via the serial data line.

Diese Aufgabe wird erfindungsgemäß gelöst durch eine Vorrichtung nach Anspruch 1 und 2, eine Kameravorrichtung nach Anspruch 8, eine Beleuchtungsvorrichtung nach Anspruch 10, ein Verfahren nach Anspruch 11 und 12, und ein Computerprogramm nach Anspruch 13.This object is achieved by a device according to claim 1 and 2, a camera device according to claim 8, a lighting device according to claim 10, a method according to claim 11 and 12, and a computer program according to claim 13.

Dementsprechend wird eine Steuerinformation (z.B. Triggerimpuls) empfangen und an einer vorbestimmten Bitstelle unmittelbar nach einem auf den Zeitpunkt des Empfangs der Steuerinformation folgenden Startbit eines Zeichens und vor dem Stoppbit des Zeichens in den Datenstrom eingefügt oder integriert. Empfängerseitig - also am gesteuerten Gerät - wird das Startbit eines Zeichens des Datenstroms erfasst, und die Steuerinformation aus dem Datenstrom an einer vorbestimmten Bitstelle des Zeichens des Datenstroms unmittelbar nach dem erfassten Startbit extrahiert. Die Übertragung der Steuerinformation erfolgt also unter Verwendung von zumindest einer Bitstelle eines Zeichens des Datenstroms, sodass die Standard-Kommunikation der seriellen Schnittstelle mit all ihren Vorzügen auch weiterhin genutzt und ein durch die Steuerinformation bestimmter Befehl (bzw. einige dadurch bestimmte Befehle) deutlich schneller ausgeführt werden kann. Durch die Ankopplung eines zusätzlichen Eingangsanschlusses an den Datenstrom kann also die Verzögerungszeit (Latenzzeit) bis zur empfangsseitigen Bereitstellung der Steuerinformation deutlich verringert werden, da die Übertragung der Steuerinformation bereits während des als nächstes übertragenen Zeichens erfolgen kann.Accordingly, control information (e.g., trigger pulse) is received and inserted or integrated into the data stream at a predetermined bit position immediately after a start bit of a character following the timing of receipt of the control information and before the stop bit of the character. On the receiver side - ie on the controlled device - the start bit of a character of the data stream is detected, and the control information is extracted from the data stream at a predetermined bit position of the character of the data stream immediately after the detected start bit. The transmission of the control information thus takes place using at least one bit position of a character of the data stream, so that the standard communication of the serial interface continues to be used with all its advantages, and a command determined by the control information (or some commands determined thereby) is executed much faster can be. By coupling an additional input terminal to the data stream, therefore, the delay time (latency) to the receiving-side provision of the control information can be significantly reduced since the transmission of the control information can already take place during the next transmitted character.

Gemäß einer ersten vorteilhaften Weiterbildung kann die Steuerinformation bspw. mittels einer Koppeleinheit an der ersten Bitstelle nach dem Startbit des Zeichens des Datenstroms eingefügt werden. Dies ermöglicht eine einfache Realisierung für eine schnellstmögliche Übertragung der Steuerinformation. Die Steuerinformation kann nämlich empfangsseitig bereits nach 2 Bits (Startbit + 1. Datenbit des Zeichens) erkannte werden, und nicht erst nach 10 Bits (d.h., nicht erst nach vollständiger Übertragung des nächsten Zeichens des Datenstroms). Dadurch kann die Übertragungszeit für die Steuerinformation bspw. von 87µs auf ca. 18µs gesenkt werden.According to a first advantageous development, the control information can be inserted, for example, by means of a coupling unit at the first bit location after the start bit of the character of the data stream. This allows a simple realization for the fastest possible transmission of the control information. Namely, the control information can be recognized already at the receiving end after 2 bits (start bit + 1st data bit of the character), not after 10 bits (i.e., not until after the next character of the data stream is completely transmitted). As a result, the transmission time for the control information can, for example, be reduced from 87 μs to approximately 18 μs.

Gemäß einer zweiten vorteilhaften Weiterbildung kann die Steuerinformation eine Länge von einem Bit aufweist. Bei dieser einfachsten Ausführungsform kann genau ein Gerät am anderen Ende der Datenleitung unter Verwendung lediglich eines Zeichenbits des Datenstroms gesteuert werden.According to a second advantageous development, the control information may have a length of one bit. In this simplest embodiment, exactly one device at the other end of the data line can be controlled using only one bit of the data stream.

Gemäß einer dritten vorteilhaften Weiterbildung kann die Steuerinformation einen Triggerbefehl zum Aktivieren eines gesteuerten Geräts angeben. Dies ermöglicht ein Triggern mit geringer Latenz. Demnach kann bspw. eine Standard-UART-Kommunikationsschnittstelle mit einem zusätzlichen Eingangsanschluss (Eingangs-Pin) zur beschleunigten Verarbeitung eines Triggerbefehls bereitgestellt werden.According to a third advantageous development, the control information can specify a trigger command for activating a controlled device. This allows for low latency triggering. Thus, for example, a standard UART communication interface may be provided with an additional input port (input pin) for accelerated processing of a trigger command.

Gemäß einer vierten vorteilhaften Weiterbildung kann die Steuerinformation eine Länge von mindestens zwei Bits aufweist, und wobei die Steuerinformation ab dem zweiten Bit eine Adresseninformation zum Adressieren eines gesteuerten Geräts umfasst. Durch diese Maßnahme können sogar mehrere Geräte über eine serielle Schnittstelle mit nur einer Datenleitung gesteuert werden, wobei das aktuell gesteuerte Gerät über die ebenfalls im Datenstrom übertragene Adresseninformation (bspw. mittels Adressdecoder) ausgewählt werden kann.According to a fourth advantageous development, the control information may have a length of at least two bits, and wherein the control information from the second bit comprises address information for addressing a controlled device. By this measure, even more devices can be controlled via a serial interface with only one data line, wherein the currently controlled device via the address information also transmitted in the data stream (eg. By means of address decoder) can be selected.

Gemäß einer fünften vorteilhaften Weiterbildung kann die Kameravorrichtung hinsichtlich der seriellen Übertragung der Steuerinformation als Mastervorrichtung betrieben werden. Damit kann die Kameravorrichtung die serielle Schnittstelle zur schnellen Steuerung einer Beleuchtungsfunktion heranziehen.According to a fifth advantageous development, the camera device can be operated as a master device with regard to the serial transmission of the control information. This allows the camera device to use the serial interface to quickly control a lighting function.

Die Komponenten der zur Lösung der vorgenannten Aufgabe vorgeschlagene Vorrichtungen können einzeln oder gemeinsam als diskrete Schaltkreise, integrierte Schaltkreise (z. B. Application-Specific Integrated Circuits (ASICs)), programmierbare Schaltkreise (z. B. Field Programmable Gate Arrays (FPGAs)) realisiert sein. Insbesondere die Kameravorrichtung kann ein FPGA als zentrales Bauteil mit den erweiterten Schnittstellenfunktionen aufweisen. Ferner können die Schritte der Verfahrensansprüche als Software-Programm oder Software-Routine zur Steuerung des Prozessors eines Mikrocontrollers zu deren Ausführung realisiert sein.The components of the devices proposed to achieve the above object can be used individually or jointly as discrete circuits, integrated circuits (eg application-specific integrated circuits (ASICs)), programmable circuits (eg field programmable gate arrays (FPGAs)). be realized. especially the Camera device may have an FPGA as a central component with the advanced interface functions. Furthermore, the steps of the method claims can be realized as a software program or software routine for controlling the processor of a microcontroller for its execution.

Nachfolgend wird die vorliegende Erfindung anhand bevorzugter Ausführungsbeispiele unter Bezugnahme auf die Zeichnungsfiguren näher erläutert. Es zeigen:

  • 1 ein schematisches Blockschaltbild eines seriellen Datenübertragungssystems zur Kommunikation zwischen einer Kameravorrichtung und einer Beleuchtungsvorrichtung gemäß einem ersten Ausführungsbeispiel;
  • 2 schematische Zeitdiagramme mit Signalverläufen einer seriellen digitalen Datenübertragung;
  • 3 ein schematisches Blockschaltbild einer sendeseitigen Übertragungseinheit gemäß einem zweiten Ausführungsbeispiel; und
  • 4 ein schematisches Blockschaltbild einer empfangsseitigen Übertragungseinheit gemäß dem zweiten Ausführungsbeispiel.
Hereinafter, the present invention will be described with reference to preferred embodiments with reference to the drawing figures. Show it:
  • 1 a schematic block diagram of a serial data transmission system for communication between a camera device and a lighting device according to a first embodiment;
  • 2 schematic timing diagrams with waveforms of a serial digital data transmission;
  • 3 a schematic block diagram of a transmitting side transmission unit according to a second embodiment; and
  • 4 a schematic block diagram of a receiving side transmission unit according to the second embodiment.

In den nachfolgenden Ausführungsbeispielen wird eine schnelle und vereinfachte Steuerung einer Beleuchtungsvorrichtung oder -anlage durch eine Kameravorrichtung über eine durch jeweilige Mikrocontroller implementierte UART-Schnittstelle beschrieben. Insbesondere wird dabei vorgeschlagen, eine serielle Standard-Kommunikationsschnittstelle (z.B. UART) um kurze und damit schnelle Befehle zu ergänzen, die von einem zusätzlichen Eingangsanschluss (Eingangs-Pin) erkannt werden. Da nur eine Kommunikationsleitung zur Verfügung steht, wird die Kamera vorzugsweise als Master betrieben. Die Kommunikation erfolgt in den Ausführungsbeispielen über eine UART-Schnittstelle, da es sich hierbei um eine weit verbreitete Standard-Schnittstelle handelt und dieses Protokoll in vielen Mikrocontrollern bereits integriert ist und daher nicht extra programmiert werden muss.In the following exemplary embodiments, a fast and simplified control of a lighting device or installation by a camera device via a UART interface implemented by respective microcontroller is described. In particular, it is proposed to supplement a standard serial communication interface (e.g., UART) with short and thus fast instructions recognized by an additional input port (input pin). Since only one communication line is available, the camera is preferably operated as a master. The communication takes place in the embodiments via a UART interface, since this is a widespread standard interface and this protocol is already integrated in many microcontrollers and therefore does not need to be specially programmed.

1 zeigt ein schematisches Blockschaltbild eines seriellen Datenübertragungssystems zur Datenkommunikation mit integriertem Steuermechanismus zwischen einer Kameravorrichtung 10 (wie bspw. einer Industriekamera für Überwachungszwecke) und einer Beleuchtungsvorrichtung 20 (wie bspw. eine steuerbare Lichtquelle mit LED (Light Emitting Diode) 27 gemäß einem ersten Ausführungsbeispiel. Es wird angemerkt, dass in 1 lediglich die Komponenten gezeigt sind, die zur Erläuterung der Funktionsweise des ersten Ausführungsbeispiels geeignet erscheinen. Weitere Komponenten für andere oder ergänzende Funktionen sind aus Einfachheitsgründen nicht dargestellt. 1 shows a schematic block diagram of a serial data transmission system for data communication with integrated control mechanism between a camera device 10 (Such as an industrial camera for surveillance purposes) and a lighting device 20 (Such as, for example, a controllable light source with LED (Light Emitting Diode) 27 according to a first embodiment.) It is noted that in 1 only the components are shown which appear to be suitable for explaining the operation of the first embodiment. Other components for other or additional functions are not shown for simplicity.

Die Kameravorrichtung 10 weist einen programmierbaren Schaltkreis (FPGA) 14 auf, der entsprechend den gewünschten Funktionalitäten des ersten Ausführungsbeispiels programmiert ist. So umfasst der Schaltkreis 14 eine Triggererzeugungseinrichtung 13, die im Ansprechen auf eine manuelle und/oder programmgesteuerte und/oder sensorgesteuerte Auslösefunktion ein Triggerwort mit binären Steuerbefehl B als Triggersignal an eine ebenfalls in dem Schaltkreis 14 implementierte UART-Schnittstellenfunktion 15 abgibt. Ferner wird die integrierte UART-Schnittstellenfunktion 15 aus einem ebenfalls in dem Schaltkreis 14 integrierten Mikrocontroller (µC) 11 mit binären Daten D zur Ausgabe über die UART-Schnittstelle versorgt, bzw. liefert von außen empfangene Daten D an den Mikrocontroller 11 weiter.The camera device 10 has a programmable circuit (FPGA) 14 which is programmed according to the desired functionalities of the first embodiment. So the circuit includes 14 a trigger generating device 13 in response to a manual and / or program-controlled and / or sensor-controlled triggering function, a trigger word with binary control command B as a trigger signal to a likewise in the circuit 14 implemented UART interface function 15 emits. Furthermore, the integrated UART interface function 15 from one also in the circuit 14 integrated microcontroller (μC) 11 with binary data D supplied for output via the UART interface, or supplies data received from the outside D to the microcontroller 11 further.

Gemäß dem ersten Ausführungsbeispiel wird die UART-Schnittstellenfunktion 15 so betrieben, dass der Mikrocontroller 11 und die Triggererzeugungseinrichtung 13 die UART-Schnittstellenfunktion 15 unabhängig voneinander wahlweise nutzen können. Hierzu kann der Mikrocontroller 11 bspw. mittels eines ihm (bspw. von der Triggererzeugungseinrichtung 13) zugeführten Freigabesignals F dazu veranlasst werden, die UART-Schnittstellenfunktion 15 freizugeben, so dass sie von der Triggererzeugungseinrichtung 13 genutzt werden kann.According to the first embodiment, the UART interface function becomes 15 so operated that the microcontroller 11 and the trigger generator 13 the UART interface function 15 can use independently of each other optionally. For this purpose, the microcontroller 11 For example, by means of a him (eg. From the trigger generating device 13 ) to the UART interface function 15 release them from the trigger generator 13 can be used.

Der Steuerbefehl B für den Trigger odgl. wird also nicht in vorhandene Daten des Mikrocontrollers 11 eingefügt, sondern die Triggererzeugungseinrichtung 13 veranlasst die UART-Schnittstellenfunktion 15 durch Zuführen des Triggerworts selbsttätig, das Triggerwort mit dem Steuerbefehl B zu senden. Das Triggerwort enthält die entsprechenden Bits zum Auslösen des Triggers (z.B. Startbit und erstes Bit des Steuerbefehls B). Die übrigen Bits können ungenutzt sein oder bspw. zu einem früheren Zeitpunkt festgelegte Zusatzinformationen (z.B. „Licht, bitte Fehler-Status senden“) enthalten.The control command B for the trigger or the like So it will not be in existing data of the microcontroller 11 inserted, but the trigger generating device 13 initiates the UART interface function 15 by supplying the trigger word automatically, the trigger word with the control command B to send. The trigger word contains the corresponding bits for triggering the trigger (eg start bit and first bit of the control command B ). The remaining bits may be unused or may contain, for example, additional information specified at an earlier point in time (eg "light, please send error status").

Der Mikrocontroller 11 wird durch Zuführen des Freigabesignals F so gesteuert, dass er zeitrichtig die UART-Schnittstellenfunktion 15 für die Übertragung der Steuerinformation (z.B. Trigger) freigibt. Das Übertragungssystem befindet sich dann in einem Steuermodus, d.h., es findet keine Datenkommunikation statt, sodass jederzeit unmittelbar eine Steuerinformation übertragen werden kann. Wäre dies nicht der Fall, so könnte die Steuerinformation immer erst in das nächste Datenbyte eingefügt werden, und es würden Wartezeiten entstehen.The microcontroller 11 is done by supplying the enable signal F so controlled that it timely the UART interface function 15 for the transmission of control information (eg trigger) releases. The transmission system is then in a control mode, ie, there is no data communication, so that at any time a control information can be transmitted. If this were not the case, then the control information could always be inserted into the next byte of data, and there would be waiting times.

Das von der Triggereinrichtung 13 erzeugte Triggerwort mit Steuerbefehl B wird also nach Freigabe der UART-Schnittstellenfunktion 15 im Anschluss an den seriellen Datenstrom der binären Daten D eingefügt, so dass der resultierende serielle Ausgangsbitstrom der UART-Schnittstelle ein Datenwort mit integriertem Steuerbefehl B umfasst.That of the triggering device 13 generated trigger word with control command B So after Release of the UART interface function 15 following the serial data stream of the binary data D inserted so that the resulting serial output bitstream of the UART interface is a data word with an integrated control command B includes.

Der Schaltkreis 14 ist über die UART-Schnittstellenfunktion mit einer Mehrzweck-Schnittstelle, wie bspw. eine General Purpose Input/Output Schnittstelle (GPIO), als Kontaktanschluss der Kameravorrichtung 10 verbunden, deren Verhalten als Eingabe- bzw. Ausgabeschnittstelle über den Schaltkreis 14 beliebig programmierbar ist.The circuit 14 is via the UART interface function with a multi-purpose interface, such as a General Purpose Input / Output (GPIO) interface, as the contact terminal of the camera device 10 Their behavior as an input or output interface via the circuit 14 is arbitrarily programmable.

Die über die Mehrzweckschnittstelle ausgegebenen Daten D mit integriertem Steuerbefehl B können als serieller Datenstrom über eine Datenleitung 100 zu der Beleuchtungsvorrichtung 20 übertragen werden. Dort werden die Daten D einer in einem Mikrocontroller 21 integrierten UART-Schnittstellenfunktion 25 zugeführt und einer geeigneten Verarbeitung (bspw. zur Helligkeits- oder Farbsteuerung der LED 27 odgl.) zugeführt. Vorab wird der integrierte Steuerbefehl B durch eine geeignete Extraktions- bzw. Verzweigungsfunktion von dem Datenstrom getrennt und einer Eingabe-/Ausgabe-Schnittstelle 22 des Mikrocontrollers 21 zugeführt. Diese Extraktions- bzw. Verzweigungsfunktion kann ebenfalls durch das Freigabesignal F oder ein davon abgeleitetes Signal so gesteuert werden, dass der Steuerbefehl der Eingabe-/Ausgabeschnittstelle 22 zugeführt wird. Gemäß einem Steuerprogramm des Mikrocontrollers 21 aktiviert der empfangene Steuerbefehl B dann die gewünschte Funktion (z.B. Ein- und/oder Ausschalten der LED 27) der Beleuchtungsvorrichtung 20.The data output through the multipurpose interface D with integrated control command B can be used as a serial data stream over a data line 100 to the lighting device 20 be transmitted. There are the data D one in a microcontroller 21 integrated UART interface function 25 supplied and a suitable processing (eg. For brightness or color control of the LED 27 or the like). Advance is the integrated control command B separated from the data stream by an appropriate extraction function and an input / output interface 22 of the microcontroller 21 fed. This extraction or branching function can also be achieved by the enable signal F or a signal derived therefrom is controlled so that the control command of the input / output interface 22 is supplied. According to a control program of the microcontroller 21 activates the received control command B then the desired function (eg switching the LED on and / or off 27 ) of the lighting device 20 ,

Es folgt eine nähere Erläuterung beispielhafter, durch die serielle Schnittstelle erzeugter Signalverläufe und der Art und Weise der Integration des Steuerbefehls B unter Bezugnahme auf 2.The following is a more detailed explanation of exemplary waveforms generated by the serial interface and how to integrate the control command B with reference to 2 ,

2 zeigt schematische Zeitdiagramme mit Signalverläufen einer seriellen digitalen Datenübertragung. Der asynchrone serielle Datenstrom, wie ihn bspw. die UART-Schnittstellenfunktion 15 in 1 erzeugt, weist binäre Pegel auf (z.B. logische Pegel „0“ und „1“). Das obere Diagramm in 2 zeigt einen binären Datenstrom und das untere Diagramm in 2 zeigt die dazu invertierten Spannungspegel (+/-15V) auf einer Schnittstelle nach dem RS-232-Standard. 2 shows schematic timing diagrams with waveforms of a serial digital data transmission. The asynchronous serial data stream, such as the UART interface function 15 in 1 generates binary levels (eg logic levels "0" and "1"). The upper diagram in 2 shows a binary data stream and the lower diagram in 2 shows the inverted voltage level (+/- 15V) on an interface according to the RS-232 standard.

Eine Besonderheit serieller Schnittstellen besteht darin, dass bei der eingangs erwähnten asynchronen Betriebsweise kein eigenes Taktsignal auf einer Übertragungsleitung erforderlich ist. Stattdessen synchronisiert sich der Empfänger über die Schaltflanken der Start- und Stoppbits der Zeichen des Datenstroms sowie die eingestellte Baudrate (welche in diesem Fall der Bitrate entspricht). Da der Beginn einer Übertragung mit dem Startbit zu beliebigen Zeitpunkten erfolgen kann, wird diese serielle Schnittstelle als asynchron bezeichnet. Um eine Synchronisation gewährleisten zu können, ist die Anzahl der übertragbaren Bits eingeschränkt. Bei einem längeren Datenstrom könnte die Synchronisation verloren gehen, was zu Fehlinterpretationen des Datenstromes und somit zu einer fehlerhaften Übertragung führen kann.A special feature of serial interfaces is that in the asynchronous mode of operation mentioned above, no separate clock signal is required on a transmission line. Instead, the receiver synchronizes itself via the switching edges of the start and stop bits of the characters of the data stream and the set baud rate (which in this case corresponds to the bit rate). Since the beginning of a transmission with the start bit can take place at arbitrary times, this serial interface is referred to as asynchronous. To ensure synchronization, the number of transferable bits is limited. With a longer data stream, the synchronization could be lost, which can lead to misinterpretations of the data stream and thus to a faulty transmission.

Da beim UART-Protokoll die kürzeste Nachricht (Datenwort oder Zeichen aus Startbit, Stoppbit und 8 Datenbits, darunter das höchstwertige Bit (MSB7) und das niedrigstwertige Bit (LSB0)) 10 Bit lang ist, dauert die Übertragung bei der max. möglichen Datenrate von 115 kBaud somit ca. 87µs, ohne Berücksichtigung des in 2 gezeigten Paritätsbits. Diese Verzögerung (Latenz) bis zur Übertragung des nächsten Zeichens ist für einige Anwendungen zu lang.Since in the UART protocol the shortest message (data word or characters from start bit, stop bit and 8 data bits, including the most significant bit (MSB7) and the least significant bit (LSB0)) is 10 bits long, the transmission at the max. possible data rate of 115 kBaud thus approx. 87μs, without taking into account the in 2 shown parity bits. This delay (latency) to the transmission of the next character is too long for some applications.

Durch die Ankopplung eines zusätzlichen Eingangsanschlusses (Eingangs-Pins) an den Datenstrom in der UART-Schnittstellenfunktion 15 in 1, kann der Steuerbefehl B (z.B. das Triggersignal) bereits nach 2 Bits (Startbit + 1. Datenbit) am Empfänger (Beleuchtungsvorrichtung 20 in 1) erkannte werden. Dadurch sinkt die Übertragungszeit für den Steuerbefehl B auf ca. 18µs.By coupling an additional input connector (input pins) to the data stream in the UART interface function 15 in 1 , can the control command B (eg the trigger signal) already after 2 bits (start bit + 1st data bit) at the receiver (lighting device 20 in 1 ) are recognized. This reduces the transmission time for the control command B to about 18μs.

Optional können durch Verwendung und Auswertung weiterer Bits (z.B. darauffolgendes 2. Datenbit, 3. Datenbit usw.) weitere Befehle übertragen werden, die Latenz erhöht sich dann jedoch um jeweils ca. 9µs.Optionally, by using and evaluating further bits (e.g., subsequent 2nd data bit, 3rd data bit, etc.) further commands may be transmitted, but the latency will increase by about 9μs each.

Auch könnte das 1. Datenbit den Steuerbefehl B anzeigen und die beiden folgenden Bits als Adresse das zu steuernde Gerät bezeichnen. Dadurch wäre dann eine Steuerung (z.B. Triggerung) von vier Geräten (Adressen „00“, „01“, „10“ und „11“) mit einer Latenz von 4 Bit (36µs) möglich.Also, the 1st data bit could be the control command B indicate the two following bits as address the device to be controlled. This would then allow control (eg triggering) of four devices (addresses "00", "01", "10" and "11") with a latency of 4 bits (36 μs).

3 zeigt ein schematisches Blockschaltbild einer sendeseitigen Befehlsübertragungseinheit gemäß einem zweiten Ausführungsbeispiel, bei der der Steuerbefehl B direkt an einer hierfür reservierten Bitposition in ein Datenwort eingefügt wird. Dies kann durch entsprechende Anpassung der Bitbreite der Datenworte erreicht werden. Eine Freigabe der UART-Schnittstellenfunktion 15 ist somit nicht mehr erforderlich, da sie zeitgleich von der Triggererzeugungseinrichtung 13 und dem Mikrocontroller 11 genutzt werden kann. 3 shows a schematic block diagram of a transmitting-side command transmission unit according to a second embodiment, in which the control command B is inserted directly at a reserved bit position in a data word. This can be achieved by appropriate adaptation of the bit width of the data words. A release of the UART interface function 15 is therefore no longer necessary because they are simultaneously from the trigger generating device 13 and the microcontroller 11 can be used.

Der von dem Mikrocontroller 11 gelieferter Datenstrom mit aufeinanderfolgenden Zeichen aus Startbit ST, Stoppbit SP und acht Datenbitpositionen wird einem Codierer (COD) 122 zugeführt, der bspw. in der UART-Schnittstellenfunktion 15 in 1 integriert sein kann. Der Codierer 122 weist einen zusätzlichen Eingangsanschluss für einen Steuerbefehl B auf, dessen aktiver binärer Wert (z.B. logischer Pegel „1“) bei seiner Erfassung an einer vorbestimmten Datenbitposition (hier: Bitposition 2 oder 1. Datenbit) nach dem Startbit des unmittelbar nächsten Zeichens in den Datenstrom eingefügt wird. Die vorbestimmte Bitposition kann bspw. durch eine optionale Programmierinformation P eingestellt werden. Am Ausgang des Codieres 122 ergibt sich somit unmittelbar nach der Erfassung eines aktiven Steuerbefehls B das in 3 dargestellte Zeichenmuster 200, welches der Datenleitung 100 zur Steuerung der Beleuchtungsvorrichtung zugeführt wird.The one from the microcontroller 11 supplied data stream with consecutive characters from start bit ST , Stop bit SP and eight data bit positions is assigned to a coder (COD) 122 supplied, for example, in the UART interface function 15 in 1 can be integrated. The encoder 122 has an additional input port for a control command B on whose active binary value (eg logic level "1") when it is detected at a predetermined data bit position (here: bit position 2 or 1 , Data bit) after the start bit of the immediately next character is inserted into the data stream. The predetermined bit position can be set, for example, by an optional programming information item P. At the output of the encoder 122 thus results immediately after the detection of an active control command B this in 3 illustrated character pattern 200 , which is the data line 100 is supplied to control the lighting device.

4 ein schematisches Blockschaltbild einer empfangsseitigen Befehlsübertragungseinheit gemäß dem zweiten Ausführungsbeispiel. 4 a schematic block diagram of a receiving-side command transmission unit according to the second embodiment.

Das bspw. von dem Codierer 122 in 3 erzeugte und über die Datenleitung 100 übertragene Zeichenmuster 200 mit integriertem Steuerbefehl wird empfangsseitig einem Detektor (DET) 222 und einem als gesteuerter Umschalter ausgestalteten Demultiplexer oder Extrahierer 221 parallel zugeführt. Der Extrahierer 221 weist einen Datenausgang für die Daten D und einen Steuerausgang für den Steuerbefehl B auf, die mittels des Umschalters wahlweise mit dem Eingangsdatenstrom in Abhängigkeit eines von dem Detektor 222 zugeführten Steuersignals verbunden werden können. Sobald der Detektor 222 ein Startbit ST eines Zeichens im empfangenen Datenstrom erfasst, steuert er den Extrahierer 221 zeitrichtig so an, dass er an der - hier optional ebenfalls durch die Programmierinformation P einstellbaren - vorbestimmten Bitposition des Steuerbefehls B (hier: Bitposition 2 oder 1. Datenbit mit 1 Bit Länge) den Datenstrom für die Dauer eines oder mehrerer Datenbits (je nach Ausgestaltung des Steuerbefehls B) mit dem Steuerausgang verbindet, so dass der Steuerbefehl B -falls vorhanden - extrahiert und dem Steuerausgang zur weiteren Verarbeitung (z.B. Triggerung der Beleuchtungsvorrichtung) zugeführt wird.The example of the encoder 122 in 3 generated and via the data line 100 transmitted character patterns 200 with integrated control command, the receiving end of a detector (DET) 222 and a demultiplexer or extractor configured as a controlled switcher 221 fed in parallel. The extractor 221 indicates a data output for the data D and a control output for the control command B on, by means of the switch optionally with the input data stream in dependence on one of the detector 222 supplied control signal can be connected. As soon as the detector 222 a start bit ST detects a character in the received data stream, it controls the extractor 221 timely correct so that it on the - optionally also adjustable by the programming information P - predetermined bit position of the control command B (here: bit position 2 or 1 , Data bit with 1 Bit length) the data stream for the duration of one or more data bits (depending on the configuration of the control command B ) connects to the control output, leaving the control command B if present - extracted and the control output for further processing (eg triggering of the lighting device) is supplied.

Es wird angemerkt, dass die vorliegende Erfindung nicht auf die vorstehend beschriebenen Ausführungsbeispiele beschränkt ist. Vielmehr sind vielfältige Abwandlungen im Rahmen des Umfangs der nachfolgenden Patentansprüche möglich. Insbesondere ist die vorliegende Erfindung nicht auf eine Datenkommunikation mit integrierter Steuerung zwischen Kameravorrichtung und einer Beleuchtungsvorrichtung und nicht auf eine UART-Schnittstelle beschränkt. Andere serielle Schnittstellen können selbstverständlich in gleicher Weise eingesetzt werden. Die vorliegende Erfindung kann im Zusammenhang mit jeder seriellen Datenübertragung zwischen einem zur Steuerung geeigneten und einem steuerbaren Gerät eingesetzt werden. Auch ist die Anzahl und Position der Steuerbits innerhalb eines Zeichens des seriellen Datenstroms in keiner Weise eingeschränkt.It is noted that the present invention is not limited to the above-described embodiments. Rather, various modifications are possible within the scope of the following claims. In particular, the present invention is not limited to data communication with integrated control between camera apparatus and a lighting device and not to a UART interface. Of course, other serial interfaces can be used in the same way. The present invention may be used in the context of any serial data transmission between a controller suitable and a controllable device. Also, the number and position of the control bits within a character of the serial data stream is in no way limited.

Zusammenfassend wurden eine Vorrichtung und ein Verfahren zur schnellen Übertragung einer Steuerinformation in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle beschrieben, wobei die Steuerinformation in den Datenstrom an einer vorbestimmten Bitstelle unmittelbar nach einem auf den Zeitpunkt des Empfangs der Steuerinformation folgenden Startbit eines Zeichens des Datenstroms und vor dem Stoppbit des Zeichens eingefügt wird. Empfangsseitig wird das Startbit des Zeichens erfasst und die Steuerinformation aus dem Datenstrom an der vorbestimmten Bitstelle des Zeichens unmittelbar nach dem erfassten Startbit extrahiert.In summary, an apparatus and method have been described for rapidly transferring control information in a serial data stream using a serial interface, the control information entering the data stream at a predetermined bit location immediately after a start bit of a character of the data stream following the time the control information is received is inserted before the stop bit of the character. At the receiving end, the start bit of the character is detected and the control information is extracted from the data stream at the predetermined bit position of the character immediately after the detected start bit.

Claims (15)

Vorrichtung zum Übertragen einer Steuerinformation (B) in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle, wobei die Vorrichtung umfasst: - einen Empfangsanschluss zum Empfangen der Steuerinformation (B), und - eine Koppeleinheit (122) zum Einfügen der Steuerinformation (B) in den Datenstrom (D) an einer vorbestimmten Bitstelle unmittelbar nach einem auf den Zeitpunkt des Empfangs der Steuerinformation folgenden Startbit eines Zeichens des Datenstroms und vor dem Stoppbit des Zeichens.Apparatus for transmitting control information (B) in a serial data stream using a serial interface, the apparatus comprising: a reception terminal for receiving the control information (B), and - A coupling unit (122) for inserting the control information (B) in the data stream (D) at a predetermined position immediately after a bit following the date of receipt of the control information start bit of a character of the data stream and before the stop bit of the character. Vorrichtung zum Empfangen einer Steuerinformation (B) in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle, wobei die Vorrichtung umfasst: - eine Detektoreinheit (222) zum Erfassen eines Startbits eines Zeichens des Datenstroms, und - eine Extraktionseinheit (221) zum Extrahieren der Steuerinformation (B) aus dem Datenstrom (D) an einer vorbestimmten Bitstelle des Zeichens des Datenstroms unmittelbar nach dem erfassten Startbit.Apparatus for receiving control information (B) in a serial data stream using a serial interface, the apparatus comprising: a detector unit (222) for detecting a start bit of a character of the data stream, and - An extraction unit (221) for extracting the control information (B) from the data stream (D) at a predetermined bit position of the character of the data stream immediately after the detected start bit. Vorrichtung nach Anspruch 1, wobei die Koppeleinheit (15) ausgestaltet ist zum Einfügen eines gesamten Zeichens mitsamt der Steuerinformation (B) in den Datenstrom nach Freigabe eines weiteren Empfangsanschlusses zum Empfangen von Daten des Datenstroms von einer Datenquelle (11).Device after Claim 1 wherein the coupling unit (15) is adapted to insert an entire character together with the control information (B) in the data stream after release of another receiving terminal for receiving data of the data stream from a data source (11). Vorrichtung nach Anspruch 1, wobei die Koppeleinheit (15; 122) ausgestaltet ist zum Einfügen der Steuerinformation (B) an der ersten Bitstelle nach dem Startbit des Zeichens des Datenstroms.Device after Claim 1 wherein the coupling unit (15; 122) is adapted to insert the control information (B) at the first bit position after the start bit of the character of the data stream. Vorrichtung nach Anspruch 1 oder 2, wobei die Steuerinformation (B) eine Länge von einem Bit aufweist.Device after Claim 1 or 2 wherein the control information (B) has a length of one bit. Vorrichtung nach Anspruch 5, wobei die Steuerinformation (B) einen Triggerbefehl zum Aktivieren eines gesteuerten Geräts angibt. Device after Claim 5 wherein the control information (B) indicates a trigger command for activating a controlled device. Vorrichtung nach Anspruch 1 oder 2, wobei die Steuerinformation (B) eine Länge von mindestens zwei Bits aufweist, und wobei die Steuerinformation (B) ab dem zweiten Bit eine Adresseninformation zum Adressieren eines gesteuerten Geräts umfasst.Device after Claim 1 or 2 wherein the control information (B) has a length of at least two bits, and wherein the control information (B) from the second bit comprises address information for addressing a controlled device. Vorrichtung nach einem der vorhergehenden Ansprüche, wobei die serielle Schnittstelle eine Universal Asynchronous Receiver Transmitter (UART) Schnittstelle ist.Device according to one of the preceding claims, wherein the serial interface is a Universal Asynchronous Receiver Transmitter (UART) interface. Kameravorrichtung mit einer Vorrichtung nach Anspruch 1, wobei die Steuerinformation zur Steuerung einer Beleuchtung dient.Camera device with a device after Claim 1 , wherein the control information is used to control a lighting. Kameravorrichtung nach Anspruch 9, wobei die Kameravorrichtung hinsichtlich der seriellen Übertragung der Steuerinformation als Mastervorrichtung betrieben wird.Camera device after Claim 9 wherein the camera device is operated as a master device with respect to the serial transmission of the control information. Beleuchtungsvorrichtung mit einer Vorrichtung nach Anspruch 2, wobei die Steuerinformation zur Steuerung einer Beleuchtung der Beleuchtungsvorrichtung dient.Lighting device with a device according to Claim 2 , wherein the control information is used to control a lighting of the lighting device. Verfahren des Übertragens einer Steuerinformation (B) in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle, mit den Schritten: - Empfangen der Steuerinformation (B), und - Einfügen der Steuerinformation (B) in den Datenstrom (D) an einer vorbestimmten Bitstelle unmittelbar nach einem auf den Zeitpunkt des Empfangs der Steuerinformation folgenden Startbit eines Zeichens des Datenstroms und vor dem Stoppbit des Zeichens.A method of transmitting control information (B) in a serial data stream using a serial interface, comprising the steps of: Receiving the control information (B), and Inserting the control information (B) into the data stream (D) at a predetermined bit position immediately after a start bit of a character of the data stream following the time of receipt of the control information and before the stop bit of the character. Verfahren des Empfangens einer Steuerinformation (B) in einem seriellen Datenstrom unter Verwendung einer seriellen Schnittstelle, mit den Schritten: - Erfassen eines Startbits eines Zeichens des Datenstroms, und - Extrahieren der Steuerinformation (B) aus dem Datenstrom (D) an einer vorbestimmten Bitstelle des Zeichens des Datenstroms unmittelbar nach dem erfassten Startbit.A method of receiving control information (B) in a serial data stream using a serial interface, comprising the steps of: Detecting a start bit of a character of the data stream, and - Extracting the control information (B) from the data stream (D) at a predetermined bit position of the character of the data stream immediately after the detected start bit. Verfahren nach Anspruch 12, wobei ein gesamtes Zeichen mitsamt der Steuerinformation (B) in den Datenstrom eingefügt wird, nachdem ein weiterer Empfangsanschluss zum Empfangen von Daten des Datenstroms von einer Datenquelle (11) freigegeben wurde.Method according to Claim 12 in that an entire character, together with the control information (B), is inserted in the data stream after a further receiving port for receiving data of the data stream has been released from a data source (11). Computerprogramm zum Speichern auf einem Datenträger und zum Veranlassen einer Computervorrichtung zum Ausführen des Verfahrens nach Anspruch 12 oder 13, wenn das Computerprogramm auf der Computervorrichtung ausgeführt wird.A computer program for storing on a data carrier and for causing a computer device to perform the method according to Claim 12 or 13 when the computer program is running on the computing device.
DE102017110890.4A 2017-05-18 2017-05-18 Device and method for transmitting control information within a data communication via a serial interface Pending DE102017110890A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE102017110890.4A DE102017110890A1 (en) 2017-05-18 2017-05-18 Device and method for transmitting control information within a data communication via a serial interface
JP2018092726A JP6622848B2 (en) 2017-05-18 2018-05-14 Apparatus and method for transmitting control information in data communication via serial interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102017110890.4A DE102017110890A1 (en) 2017-05-18 2017-05-18 Device and method for transmitting control information within a data communication via a serial interface

Publications (1)

Publication Number Publication Date
DE102017110890A1 true DE102017110890A1 (en) 2018-11-22

Family

ID=64278087

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102017110890.4A Pending DE102017110890A1 (en) 2017-05-18 2017-05-18 Device and method for transmitting control information within a data communication via a serial interface

Country Status (2)

Country Link
JP (1) JP6622848B2 (en)
DE (1) DE102017110890A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242351B (en) * 2022-07-13 2024-02-13 厦门九华通信设备厂 Self-adaptive method for serial data communication rate

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170075852A1 (en) * 2015-09-10 2017-03-16 Qualcomm Incorporated Input/output signal bridging and virtualization in a multi-node network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170075852A1 (en) * 2015-09-10 2017-03-16 Qualcomm Incorporated Input/output signal bridging and virtualization in a multi-node network

Also Published As

Publication number Publication date
JP6622848B2 (en) 2019-12-18
JP2018195306A (en) 2018-12-06

Similar Documents

Publication Publication Date Title
DE3204905C2 (en)
EP2287689B1 (en) Apparatus and method for addressing a slave unit
DE102012218454B4 (en) SELF-SYNCHRONIZING DATA COMMUNICATION PROCESS AND SELF-SYNCHRONIZING DATA COMMUNICATION DEVICE
DE2811851C2 (en) Method for frame synchronization of a time division multiplex system
DE4429953A1 (en) Serial bus system
EP3886372B1 (en) Method and device for controlling electric and / or electronic components of a motor vehicle module
DE102008046136A1 (en) Interface and integrated circuit chip having an interface and method for transmitting or receiving a signal
EP3053050B1 (en) Communication system for inter-chip communication
EP3378212B1 (en) Method for operating a communication network, controller, and data processing device
EP1509005B1 (en) Method and apparatus for transmitting data over a bus-network using broadcast
EP0421471A1 (en) Communication method for a control device, consisting of a central unit and a plurality of peripheral units
DE102017110890A1 (en) Device and method for transmitting control information within a data communication via a serial interface
CH650886A5 (en) Circuit for synchronizing a digital subscriber station by a digital switching post of pcm telecommunications network.
DE102018104873A1 (en) Device for controlling electrical and / or electronic components of a motor vehicle module and such a motor vehicle module with automatic module addressing via powerline
EP2487660B1 (en) Hazard warning assembly
EP2534582B1 (en) Novel circuit and method for communicating via a single line
DE102013218305A1 (en) Method and device for synchronizing a control unit and at least one associated peripheral unit
EP0458781B1 (en) Process for monitoring a computer network
DE4005087C1 (en) Connector unit for domestic power installation - has adaptor for specific function allowing data transmission via bus and data lines
DE3218146C2 (en)
DE102018106085B3 (en) interface circuit
DE102018104864B3 (en) Device for controlling electrical and / or electronic components of a motor vehicle module and such a motor vehicle module with automatic module addressing with clock synchronization and addressing mode signaling
DE102016121958B3 (en) Method for address assignment in a ring-shaped data bus system
DE102018104862A1 (en) Device for controlling electrical and / or electronic components of a motor vehicle module and such a motor vehicle module with automatic module addressing and bus shunt bypass switches
DE102018104850A1 (en) Device for controlling electrical and / or electronic components of a motor vehicle module and such a motor vehicle module with automatic module addressing with verification

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R082 Change of representative

Representative=s name: PAGE, WHITE & FARRER GERMANY LLP, DE

R016 Response to examination communication
R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: H04L0029100000

Ipc: H04L0069320000