This application claims priority to German Patent Application No. 10 2012 220601.9, filed Nov. 13, 2012.
The invention concerns a method and a device for the transfer of signals, particularly for setting lighting scenarios.
In modern automobiles there are various control devices, some of which communicate with one another. In general, the process uses a data bus, such as a CAN bus or LIN bus, by means of which a number of control devices can send signals to the data bus or receive signals from the data bus in order to use them for further control processes.
However, the provision of the data-bus interface is expensive, which means that not every control device has such a data-bus interface. It is equally difficult to retrofit this data-bus interface accordingly in platform-independent control devices that are used in automobiles, since these control devices are used identically via the platforms and differentiating the control device with and without the data-bus interface increases the logistical effort. On the other hand, the implementation of a data-bus interface would lead to unnecessary costs, since a proportion of the control devices are installed in vehicles that do not require this data-bus interface, even if the control device were to be provided with the data-bus interface. Thus, a proportion of the control devices would be fitted with superfluous functionality, which would mean unnecessary costs.
Thus the object of the present invention is to create a process and a device for transferring signals that can be used particularly for setting up lighting scenarios and that transmits a plurality of different signals and that can be implemented without a data-bus interface between the control devices concerned.
An exemplary embodiment of the invention concerns a process for the transfer of signals between a first control unit and at least one second control unit, wherein the first control unit, based on the input data, selects at least one first signal that is to be transferred, and the first control device has at least one signal output, to which one first PWM signal can be output, wherein at least one first PWM signal is encoded and assigned to each selected signal, and wherein the second control device has one first signal input, which receives the first PWM signal and the second control device evaluates the first PWM signal received and detects the first signal, and creates a subsequent control instruction based on the first transferred signal. In this manner, communication can be conducted, even without a data bus, where PWM outputs and PWM inputs are available, which can be implemented at low cost.
It is also expedient if the first control device generates at least one second PWM signal and can output at least one second signal output, and the second control device has at least one second signal input for receiving the at least second PWM signal. By using two PWM signals or even more than two PWM signals, greater selection of data can be transferred since several definable codes are available.
In this respect, it is expedient if the first control device, based on the input data, also selects at least one second signal, which can be transferred by the at least first PWM signal or the first and at least second PWM signal.
It is also advantageous if the first and/or second, and, if applicable, further PWM signals can be modulated in the pulse width between a lower limit and an upper limit in steps with a predefinable step width. The number of codes that can be transferred can be determined by the choice of the upper and the lower limit and the step width.
The number of possible codes is restricted by the definition of the lower limit, such that it is advantageous if the lower limit is 2%, 5% 10% or a multiple of 2% or 5%.
The number of possible codes is also restricted by the definition of the upper limit, which means that it is advantageous if the upper limit is 90%, 95%, 98% or a multiple of 2% or 5%, wherein the upper limit is greater than the lower limit.
In this respect, it is particularly advantageous if the step width is 2%, 5% or a multiple of 2% or 5%. In this way, a useful step width can be defined that can also be resolved.
In this respect, it is particularly advantageous if there is a unique assignment to the PWM signal or to the PWM signals for the first signal to be transferred, and, if applicable, for the further signals to be transferred. In this way, for example, there can be a fixed specification for the definition of the signals. Thus, a simple transfer can be implemented with simple identification.
In this respect, it is also advantageous if a change from one signal to a subsequent signal is recognized and carried out by the second control unit if the subsequent signal is present for at least a predeterminable number of PWM cycles. In this respect, the predefinable number is 3 or more, for example. If a signal is output as specified, it is controlled accordingly. If there is then a changeover to a new subsequent signal, this signal must first be detected for the specified number of times in order to be controlled as a new signal.
In this respect, it is expedient if the predefinable number is 2, 3, 4, 5 or a higher integer. This ensures that a one-time error does not lead to a change in the control instruction.
In this respect, it can be expedient if the at least one PWM signal is continuously emitted. All PWM signals may also be continuously emitted. In certain configurations, this is easier than temporarily switching off.
It is also expedient if the at least one PWM signal is only emitted if a new subsequent signal is emitted, wherein the output continues for long enough for the new subsequent signal to be recognized by the second control device.
Moreover, it is advantageous if the signal represents a lighting scenario and/or a light intensity and/or a lighting color.
In this respect, it is particularly advantageous if, for a transfer by means of two PWM signals, a first PWM signal represents a lighting scenario and a second PWM signal represents a color. Alternatively, a plurality of lighting scenarios and colors may be encoded by means of both PWM signals.
It is also advantageous if, for a transfer by means of three PWM signals, a first PWM signal represents a lighting scenario and a second and a third PWM signal represents a color.
Similarly, it is also possible if, for a transfer by means of three PWM signals, a first PWM signal represents a lighting scenario and a second PWM signal represents a color and a third PWM signal represent a light intensity.
It is also expedient if, for a transfer by means of at least two PWM signals, at least a first PWM signal specifies which signal is transferred and at least a second PWM signal specifies which value or status the signal assumes.
Moreover, it is expedient if, for a transfer by means of at least at least oneor more PWM signals, a numerical code is transferred, wherein at least a first PWM signal specifies the position of the numerical code and/or, if required, at least one second PWM signal specifies the value of the position of the numerical code.
An exemplary embodiment of the invention relates to a device for transfer of signals between one first control unit and at least one second control unit, with a first control unit and with a second control unit, wherein the first control unit, based on the input data, selects at least one signal at a data input that is to be transferred, and the first control device has at least one signal output, at which at least one first PWM signal can be output, wherein a first PWM signal is encoded and assigned to each of the selected at least one first signals, and wherein the second control device has a first signal input, which receives the first PWM signal and the second control device evaluates the first PWM signal received and detects the first signal and, based on the first transferred signal, creates a subsequent control instruction.
In this respect, it is advantageous if the data input receives input data from an input device. In this respect, the input device may be a rotary knob, a touch-sensitive surface or an appropriate screen or similar.
It is also advantageous if one lighting device is controlled by the second control device. In this respect, an example of the first control device may be an onboard control device, which receives the appropriate signal from the input device. An example of the second control device may be a control device for the lighting control.
In this respect, it is also expedient if the scope of the lighting device includes the lighting of the interior of the vehicle, of the instrument panel, of one door and the vehicle interior roof, etc.
These aspects are merely illustrative of the innumerable aspects associated with the present invention and should not be deemed as limiting in any manner. These and other aspects, features and advantages of the present invention will become apparent from the following detailed description when taken in conjunction with the referenced drawings.
Reference is now made more particularly to the drawings, which illustrate the best presently known mode of carrying out the invention and wherein similar reference characters indicate the same parts throughout the views.
In the following detailed description numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. For example, the invention is not limited in scope to the particular type of industry application depicted in the figures. In other instances, well-known methods, procedures, and components have not been described in detail so as not to obscure the present invention.
The first control unit 2 detects from the input data a first signal that is to be transferred, wherein the first control unit 2 generates at least one first PWM signal 7 via a signal output 6 that is output through the signal output 6. The at least first PWM signal 7 is received by the second control unit 3 by means of a signal input 8 of the second control unit 3, and the second control unit 3 evaluates the at least first PWM signal 7 in order to subsequently create a control instruction for a further device 9. For this purpose, an output signal 10 is generated, which is transferred to the device 9.
Alternatively, in addition to the first PWM signal 7, a second PWM signal 11 and/or a third PWM signal 12 can also be transferred from the first control unit 2 to the second control unit 3.
Starting only from time point t3 are the PWM signals 30 and 31 emitted once again with changed pulse width, so that the PWM signals 30 and 31 are emitted over the time period t4 and, starting from the time point t5, code 2 corresponding to PWM signals 30 and 31 is controlled during the time period t4. Starting from the time period t5, there is also no further output of the PWM signals, since code 2 is valid for being controlled starting from this time point.
In the exemplary embodiments in
In the exemplary embodiments illustrated in
For the exemplary embodiment in
As another variant, the first PWM signal can determine what is transferred via another PWM signal, such as the second and/or third PWM signal. The second PWM signal then transmits its corresponding value simultaneously. An example of this is the color red encoded on PWM signal 1 by a 5% duty cycle (mark-space ratio) or pulse width. The color green is encoded by a 10% duty cycle (mark-space ratio) or pulse width. The color blue is encoded by a 15% duty cycle (mark-space ratio) or pulse width. A lighting scenario is encoded by a 20% duty cycle (mark-space ratio) or pulse width and the light intensity is encoded by a 25% duty cycle (mark-space ratio) or pulse width. Signal 2 would then control the color red with 5%, the color green with 10% and the color blue with 15%. With a 20% signal for the scenario according to signal 1, a 10% signal for signal 2 could signify scenario 2, for example. With 25% for signal 1 corresponding to the light intensity, a 5% pulse width could signify 5% light intensity.
The PWM signals for the second signal for the colors red, green and blue may also be encoded in percentage values, so that with signal 2 for the color red, for example, a 5% signal can be evaluated as 5% red. This can be done accordingly for the colors green and blue.
Alternatively, the first PWM signal can also be encoded in pulse-width steps of 5%, wherein, for example, the first PWM signal is defined as a digit of a number. Thus, for example, the units digit would be encoded at 5%, the tens digit encoded at 10%, the hundreds digit encoded at 15%, etc. The second PWM signal would then encode the number itself in steps of 5%. Thus there can be a serial transfer of 5, for example, for position 1, 3, for example, for position 2, and 4, for example, for position 3, which would signify color number 435. Accordingly, by applying the PWM signals, encoded signals can be transferred that could be decoded by the receiving second control unit in order to create an appropriate control instruction.
For example, the transfer of a specific lighting scenario as a function of another control instruction is possible. In this manner, a specific lighting scenario can be instructed as a function of the unlocking of the central locking system of the vehicle. A specific lighting scenario can also be instructed when opening a door. A specific lighting scenario can also be instructed when starting and/or when switching off the engine of the vehicle.
It is also advantageous if these situation-specific scenarios can be individually selected or set.
The preferred embodiments of the invention have been described above to explain the principles of the invention and its practical application to thereby enable others skilled in the art to utilize the invention in the best mode known to the inventors. However, as various modifications could be made in the constructions and methods herein described and illustrated without departing from the scope of the invention, it is intended that all matter contained in the foregoing description or shown in the accompanying drawings shall be interpreted as illustrative rather than limiting. Thus, the breadth and scope of the present invention should not be limited by the above-described exemplary embodiment, but should be defined only in accordance with the following claims appended hereto and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
102012220601.9 | Nov 2012 | DE | national |