METHOD FOR TRANSMITTING DATA FROM A SENSOR TO A RECEIVER

20210190028 · 2021-06-24

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for transmitting data from a sensor to a receiver by means of an analog interface, whereby, during a first period of time, the sensor transmits identifier data for identifying the type of the sensor and/or for identifying the type of a component associated with the sensor, and measurement signals of the sensor are only transmitted after the first period of time. In this context, it is also provided that the transmission of the identifier data serves to identify a specific sensor from a group of multiple sensors and/or a specific component that is associated with the sensor from a group of multiple components, whereby the multiple sensors of the appertaining group and/or the multiple components of the appertaining group have mechanically identical interfaces and consequently can fundamentally be employed alternatingly. A method according to the invention is advantageously suitable, among other things, for transmitting data from a cylinder pressure sensor—which is especially integrated into a glow plug of an internal combustion engine—to a receiver, whereby this receiver can especially be integrated into a control unit, for instance, an engine control unit of the internal combustion engine. With such a method according to the invention, before measurement signals of the cylinder pressure sensor are transmitted, the engine control unit of the internal combustion engine can advantageously identify whether a defined, selected cylinder pressure sensor, and particularly a defined selected glow plug with an integrated cylinder pressure sensor, is also actually installed in the internal combustion engine.

Claims

1. A method for transmitting data from a sensor to a receiver by means of an analog interface, comprising: during a first period of time, transmitting by the sensor identifier data for identifying the type of the sensor and/or for identifying the type of a component associated with the sensor, and transmitting measurement signals of the sensor after the first period of time, identifying a specific sensor and/or a specific component that is associated with the sensor from a group of multiple sensors and/or from a group of multiple components, whereby the multiple sensors of the appertaining group and/or the multiple components of the appertaining group have mechanically identical interfaces.

2. The method according to claim 1, wherein the identifier data comprises a start signal and/or an end signal and/or a synchronization signal and/or a disconnect signal.

3. The method according to claim 1, wherein the identifier data is transmitted in the form of a sequence of two or more voltage signals having different voltage levels, whereby the voltage levels can have identical or different lengths, and whereby different sequences of the voltage signals and/or voltage levels of different magnitudes and/or voltage levels of different lengths define different types of sensors and/or types of components associated with the sensors.

4. The method according to claim 3, wherein the voltage levels within a defined voltage level range are at the greatest possible distance from each other.

5. The method according to claim 3, wherein the voltage levels fall within an output voltage range of the measurement signals.

6. The method according to claim 3, wherein at least one block (B.sub.m, B.sub.n) containing several data bits is transmitted, whereby a data bit comprises one or more voltage signals.

7. The method according to claim 6, wherein the data bits are coded.

8. The method according to claim 6, wherein the block (B.sub.n) containing several data bits comprises several subblocks (B.sub.m) that each contain several data bits, whereby the data bits of the subblocks (B.sub.m) are identical.

9. The method according to claim 1, wherein the identifier data is transmitted during an initialization phase and the transmission of the identifier data already has ended or is ended by the end of the initialization phase.

10. The method according to claim 9, wherein the end of the initialization phase is reached as soon as the sensor has reached measuring readiness.

11. The method according to claim 1, wherein data from a cylinder pressure sensor—which is especially integrated into a glow plug of an internal combustion engine—is transmitted to the receiver.

12. The method according to claim 10, wherein the end of the initialization phase is reached as soon as the cylinder pressure sensor has detected the start of the internal combustion engine.

13. The method according to claim 12, wherein the start of the internal combustion engine is ascertained on the basis of a defined pressure rise in a combustion chamber that is associated with the cylinder pressure sensor.

Description

[0021] The present invention will be explained in greater detail below on the basis of the embodiments presented in the drawings. The drawings show the following:

[0022] FIG. 1: a schematic view of a combination of a component (glow plug) comprising a (cylinder pressure) sensor and a receiver (engine control unit);

[0023] FIG. 2: a transmission of data within the scope of a method according to the invention, in accordance with a first embodiment;

[0024] FIG. 3: possible bit coding system within the scope of a method in accordance with FIG. 2;

[0025] FIG. 4: a transmission of data within the scope of a method according to the invention, in accordance with a second embodiment; and

[0026] FIG. 5: a transmission of data within the scope of a method according to the invention, in accordance with a third embodiment.

[0027] FIG. 1 shows a combination of a component 12 comprising a sensor 10 and a receiver 14, whereby the sensor 10 is electrically connected to the receiver 14 via an analog interface having three lines 24. The component 12 is, for instance, a glow plug 12 while the sensor 10 is a cylinder pressure sensor 10, whereby the cylinder pressure sensor 10, along with other components, specifically with a glow pencil 16, can be integrated into the glow plug 12 having the integrated cylinder pressure sensor 10. The receiver 14 is preferably configured in such a way that it concurrently constitutes a control unit or is integrated into such a unit. In particular, the function of the receiver 14 is carried out by an engine control unit 14 of an internal combustion machine. The internal combustion machine also comprises an internal combustion engine 18, especially a diesel engine, that can be actuated by an engine control unit 14, whereby the internal combustion engine 18 can be provided in order to deliver a drive output for a motor vehicle 20.

[0028] The engine control unit 14 supplies the cylinder pressure sensor 10 with electric power via two of the three lines 24 (V.sub.CC (+power supply line) as well as GND (ground)). With respect to the GND, the third line 24 (V.sub.ou.sub.t) serves to transmit data from the cylinder pressure sensor 10 to the engine control unit 14. The engine control unit 14 regulates the supply of electric power to the cylinder pressure sensor 10 and evaluates, among other things, the analog measurement signal of the cylinder pressure sensor 10 in order to regulate the operation of the internal combustion engine 18 as a function of the measurement signals. Another (high-current) line 26 is provided for the transmission of high current from a separate power output 22 to the glow pencil 16 of the glow plug 12 in a manner regulated by the engine control unit 14.

[0029] An electronic system (not shown here) of the cylinder pressure sensor 10 integrated into the glow plug 12 is also capable of outputting two or more fixed voltage levels to the analog interface as an alternative to the measurement signal of the cylinder pressure sensor 10. This can be done in an analog output path of the cylinder pressure sensor 10 by means of a systematic switchover to fixed voltage values. Alternatively, in a cylinder pressure sensor 10 which internally functions digitally and in which the measured values are already present in digital form and are output to the analog interface via a digital-analog converter, said digital-analog converter can be actuated with fixed input values. The voltage levels that are achieved in this manner allow the transmission of information in digital form via the analog interface. Depending on the implementation selected, this information can be transmitted in the form of various voltage levels (amplitude modulation) or, in the case of an alternative or additional evaluation of switchover edges, on the basis of the position of the switchover edges (phase modulation).

[0030] The transmission of additional information is utilized within the scope of a method according to the invention for a differentiation (coding) among components 12 (glow plugs 12) which are identically designed, at least in terms of the interfaces for the connection to the engine control unit 14 and for the integration into a cylinder head of the internal combustion engine 18, but which have different application properties, in that appropriately individuated identifier data is transmitted and evaluated by the engine control unit 14. Towards this end, in the case of an initial start of an internal combustion machine comprising at least a combination of a glow plug 12 with a cylinder pressure sensor 10 and an engine control unit 14, or else of a motor vehicle 20 comprising such an internal combustion machine, first of all, an electric supply voltage is applied to the cylinder pressure sensor by means of the engine control unit 14, and subsequently the internal combustion engine 18 of the internal combustion machine is started. In this context, the principle according to the invention entailing the transmission of identifier data is based on the realization that, at least within a defined period of time t.sub.0 to t.sub.start-up (see FIGS. 2, 4 and 5) after the application of an electric supply voltage, no measurement signals of the cylinder pressure sensor 10 are needed yet since the engine control unit 14 waits until the electronic system of the cylinder pressure sensor 10 is ready to measure and/or when measurement signals of the cylinder pressure sensor 10 have to be evaluated for the first time. In this context, the principle is such that, at the beginning, a minimum period of time (t.sub.0 to t.sub.sensor_reset) without any information on the analog interface can result from the fact that the cylinder pressure sensor 10 requires a reset time after the voltage supply has been switched on before the sensor can actually even actuate the analog interface. Moreover, the engine control unit 14 itself might need time for an initialization before the internal combustion engine 18 is started. However, when the internal combustion engine 18 starts, measurement signals of the cylinder pressure sensor 10 are absolutely necessary. For this reason, from the point in time of the start of the internal combustion engine 18, the analog interface can no longer be used for transmitting identifier data.

[0031] Fundamentally, during the period of time (t.sub.0 to t.sub.engine_start), which is between the initial start (characterized by the application of a supply voltage to the two lines 24 provided for this purpose) and the start of the internal combustion engine 18, the analog interface can be used to transmit data other than measurement signals of the cylinder pressure sensor 10 and especially to transmit identifier data, without this entailing a disadvantage for the operation of the internal combustion engine 18. Such a disadvantage could occur, for instance, if a collision were to occur during the transmission of other data or additional data and the transmission of measurement signals of the cylinder pressure sensor 10. For this reason, according to the invention, an appropriate time-related regulation of the transmission of data from the cylinder pressure sensor 10 ensures that the transmission of the identifier data is ended or is interrupted at the latest when measurement signals of the cylinder pressure sensor 10 are needed by the engine control unit 14, which is the case when the internal combustion engine 18 is started.

[0032] The transmission of identifier data within the scope of the method according to the invention should be as robust as possible in terms of any transmission errors and decoding errors in a receiver 14 (engine control unit). Therefore, on the one hand, a high signal-to-noise ratio should be ensured during the transmission of the identifier data. Moreover, the data transmission and the decoding in the receiver 14 should be able to withstand the time-related fluctuations (caused, for example, by poorly tolerated CPU clock generators of the cylinder pressure sensors 10). The transmission of the identifier data should also be optimized in terms of the maximum required bandwidth and the computational requirements of the decoding in such a way as to make retrofitting possible in conjunction with existing engine control units 14 and in such a way that no heightened requirements are made of the on-board system of the motor vehicle 20 (in terms of the line layout, additional shielding, etc.).

[0033] Several embodiments of the method according to the invention are described below on the basis of FIGS. 2 to 5. However, mixed forms of these embodiments are also possible.

[0034] The first embodiment (see FIGS. 2 and 3) achieves a binary transmission of the identifier data with voltage signals, each of which has a voltage level that is fixed but that differs from the others, whereby only two defined voltage levels are provided for all of the voltage signals. The two different voltage levels of the voltage signals stand for logic 0 and logic 1 (0-/1-bits; binary coding). The voltage signals here have a fixed defined length (that is to say, time duration: extension along the horizontal time axis in FIG. 2). Moreover, the voltage levels of the voltage signals have also been selected in such a way that they have the greatest possible distance (along the vertical axis) with respect to each other but which, however, still fall within an output voltage range (0 to V.sub.CC) within which (output) measurement signals of the (cylinder pressure) sensor 10 can fall during regular or error-free operation. In this manner, it is prevented that the voltage signals employed for the transmission of the identifier data fall within voltage ranges that serve, for example, for an error diagnosis. The voltage ranges here can be, for instance, those evaluated by the receiver 14 (engine control unit) as the error state (for example, signal short-circuit to the ground or short-circuit to the positive supply voltage).

[0035] After the supply voltage has been applied, the (cylinder pressure) sensor itself requires a certain time (t.sub.0 to t.sub.sensor_reset) before it can actively provide a defined voltage level to the analog interface (e.g. due to a required reset time of the internal processors, etc.). Immediately thereafter, at least one block B.sub.n consisting of n data bits is output. A later start of the data output is possible but it would shorten the time available for the transmission of the identifier data and consequently should preferably be avoided. A data bit can consist directly of one or more 0-voltage signals or 1-voltage signals or else of combinations of 0-voltage signals and 1-voltage signals. The individual data bits can be coded one more time, for example, by means of a Manchester code or Miller code (see FIG. 3).

[0036] Optionally, the n data bits consist of one or more subblocks B.sub.m having m data bits in which the identifier data to be transmitted—but at least the useful data containing differentiating information—is contained. Owing to this redundancy of at least the useful data, the receiver 14 (engine control unit) acquires greater freedom in terms of time during the decoding of the identifier data since the receiver does not have to be ready to receive already at the beginning of the transmission of the identifier data, but rather, it only has to receive at least one complete subblock B.sub.m having m data bits so that it can carry out the desired differentiation. Moreover, a check and an error correction of the identifier data are possible if several subblocks B.sub.m having m data bits are received which can be compared to each other.

[0037] A subblock B.sub.m having m data bits can comprise not only useful data that allows an identification but also additional control signals, for example, start, stop, disconnection and/or synchronization signals or bits in order to allow the receiver 14 (engine control unit) to unambiguously identify a complete subblock B.sub.m having m data bits in the received data stream.

[0038] By the point in time t.sub.start-up or sooner, the data transmission is ended and the analog measurement signal of the (cylinder pressure) sensor is switched to the analog interface. In the preferred use of the method according to the invention in a combination consisting of a cylinder pressure sensor 10 and an engine control unit 14, this point in time t.sub.start-up can preferably be selected in such a way that it fits all of the envisaged vehicle applications (that is to say, for all vehicle applications in which such a glow plug 12 is to be used, it holds true that, until t.sub.start-up, no measurement signals of the cylinder pressure sensor 10 are definitively evaluated or needed by the engine control unit 14).

[0039] After the point in time t.sub.start-up, the internal combustion engine 18 starts at the point in time t.sub.engine_start. Beginning with this point in time t.sub.engine_start, the measurement signals of the cylinder pressure sensor 10 necessarily have to be evaluated and consequently must not be influenced by any transmission of identifier data.

[0040] Depending on the scaling of the block lengths m, one to any desired number of useful data bits can be transmitted. In the case of coding of a data bit by several 0- and 1-voltage levels, separate bit codings having several edge changes or bits can be implemented. Due to the then defined minimum number of edge changes, the robustness vis-à-vis variances in the bit length can be increased. The bit rate then always appears in the transmission signal as a frequency component, irrespective of the data content, and the receiver 14 (engine control unit) can then synchronize itself with respect to the time grid of the individual bits during the entire data transmission.

[0041] Examples of concrete values during the execution of a method as shown in FIGS. 2 and 3: [0042] useful data (information): 16 bits (cross hatching slanted to the right in FIG. 3) [0043] bit number m (block length B.sub.m): 32 bits [0044] bit-period length: 2 ms [0045] number of repeats: 8 [0046] bit number n (block length B.sub.n): 8*32 bits=256 bits [0047] bit coding: Miller code or Manchester code (inverse) [0048] total transmission time: 2 ms*256=0.512 s

[0049] In a preferred refinement of a method as shown in FIGS. 2 and 3, it can be provided that a start of the internal combustion engine 18 is ascertained by means of the cylinder pressure sensor 10 and this information is then used as a controlled variable in order to interrupt the transmission of the identifier data. This makes it possible to prolong the period of time used for the transmission of the identifier data until the start of the internal combustion engine 18 (beginning at t.sub.engine_start) so that the longest possible period of time is given to the engine control unit 14 to receive the identifier data. For this purpose, also during the active transmission of the identifier data, the electronic system of the cylinder pressure sensor 10 measures the pressure in the cylinder associated with the cylinder pressure sensor 10 or in the combustion chamber of the internal combustion engine 18. A start of the internal combustion engine 18 can then be identified on the basis of characteristic pressure changes in the compression phase and/or combustion phase. As soon as the cylinder pressure sensor 10 has ascertained a first unambiguous occurrence of such a pressure change, it immediately switches the analog interface permanently over to the analog measurement signal. Since such a switchover is highly likely to take place during the transmission of a block B.sub.m having m bits, the engine control unit 14 should be configured in such a way that it identifies an incomplete block B.sub.m and discards it as one that cannot be evaluated.

[0050] In a (second) embodiment of a method according to the invention as shown in FIG. 4, analogously to the first embodiment as shown in FIGS. 2 and 3, it is provided that the electronic system of the cylinder pressure sensor 10 outputs to the analog interface a sequence of defined voltage signals having voltage levels of a fixed time duration. Here, however, unlike with the first embodiment as shown in FIGS. 2 and 3, more than two different voltage levels are defined. The same boundary conditions (e.g. largest possible distance, etc.) as in the first embodiment apply when it comes to the selection of the possible voltage levels.

[0051] In the simplest case, at least one voltage level from a selection of k different voltage levels is output within a time interval (t.sub.2 to t.sub.3) during the execution of the method according to the invention. The coding of the useful data takes place here under amplitude modulation via the voltage (that is to say, different voltage levels correspond to the different variants, for example, of a glow plug 12, etc.). If the number k is set at 2n, then log 2(k)=n bits can be transmitted via an output signal step.

[0052] Optionally, one or more different voltage levels can also be transmitted as a start signal I.sub.S (see FIG. 4) as a disconnect signal for the disconnection between different voltage levels carrying useful data, or as an end signal I.sub.E. A start signal I.sub.S and/or a disconnect signal can improve the robustness of the information transmission since this allows the receiver 14 (engine control unit) to synchronize itself in terms of time. The time of the start of the data transmission and optionally also the length of a voltage level are made known to the receiver 14 by means of a start signal I.sub.S. One or more disconnect signals fulfill the same function, namely, they improve the robustness in the case of time fluctuations of the sampling cycle since the receiver 14 can always resynchronize itself once again. An end signal I.sub.E can especially be useful if there are several different (cylinder pressure) sensors 10 with a different number of voltage levels which carry useful data and whose data is to be transmitted to the same receiver 14 (engine control unit).

[0053] The receiver 14 (engine control unit) can carry out the unambiguous sampling of the voltage levels that carry the useful data, and this is done in a time-controlled manner after a detection of the start signal I.sub.S, that is to say, the receiver then knows the length of the individual voltage levels. Optionally, in order to improve the signal-to-noise ratio, individual voltage levels can also be sampled several times and filtered in the receiver 14.

[0054] According to the embodiment shown in FIG. 4, the (cylinder pressure) sensor 10 starts with the transmission of the identifier data at the earliest possible point in time (t.sub.sensor_reset). The period of time between t.sub.0 and t.sub.sensor_reset constitutes the period of time that the sensor 10 itself or its electronic system itself needs in order to be ready to transmit after it has been supplied with electric supply voltage. Between t.sub.sensor_reset and t.sub.1 on the one hand, and between t.sub.1 and t.sub.2 on the other hand, two defined, different voltage levels are output to the analog interface. This sequence serves as the start signal I.sub.S. The receiver 10 can use the occurring voltage edge at t.sub.1 as the reference point in time. Between t.sub.2 and t.sub.3, the sensor 10 applies a voltage level to the analog interface corresponding to the useful data that is to be transmitted (for example, variant of the glow plug, etc.). The receiver samples this voltage level between t.sub.2 and t.sub.3. Starting at t.sub.3, without a preceding transmission of an end signal, measurement signals of the sensor 10 are switched over from the electronic system of the sensor 10 to the analog interface.

[0055] With this embodiment as well, useful data I.sub.N that is defined in the selected voltage level that is transmitted between t.sub.2 and t.sub.3 can be transmitted several times, whereby then it should preferably be provided for a disconnect signal to be transmitted (not shown here) between these identical useful-data voltage levels in order to render the redundancy of the transmission of the useful data I.sub.N clearly visible to the receiver 14.

[0056] In a (third) embodiment of a method according to the invention as shown in FIG. 5, analogously to the second embodiment as shown in FIG. 4, it is provided for the useful data I.sub.N (here between t.sub.2 and t.sub.4) to be transmitted after a preceding transmission of a start signal I.sub.S (between t.sub.sensor_reset and .sub.t2). Unlike with the second embodiment as shown in FIG. 4, however, it is also provided for an end signal I.sub.E to be transmitted after the transmission of the useful data I.sub.N. In this context, all in all, only two different voltage levels for logic 1 and logic 0 (0-/1-bits; binary coding) are employed for the transmission of the start signal I.sub.S, of the useful data I.sub.N and of the end signal I.sub.E. The same boundary conditions (e.g. largest possible distance, etc.) as in the first embodiment apply when it comes to the selection of the possible voltage levels.

[0057] A time interval between t.sub.2 and t.sub.4 with at least one (variable) change of the signal level within this time interval serves to transmit the useful data I.sub.N. Here, the coding of the useful data takes place under phase modulation by means of the phase relation of the level change within this time interval (similar to a PWM [pulse-width modulation] signal).

[0058] In this embodiment, consequently, the receiver 14 measures the edge change within a time interval (between t.sub.2 and t.sub.4) employed for the transmission of the useful data I.sub.N and relates it to the total length of this time interval. A start signal I.sub.S is used analogously to that of the second embodiment as shown in FIG. 4 so that the receiver 14 can unambiguously ascertain the point in time of the start of the time interval (between t.sub.2 and t.sub.4) employed for the transmission of the useful data I.sub.N. In particular, a start signal I.sub.S shown in FIG. 5 should always be transmitted when the time interval(s) provided for the transmission of the useful data I.sub.N is/are not precisely defined and known to the receiver in order to unambiguously identify the end of the (last) time interval that carries the useful data I.sub.N. The start signal I.sub.S and optionally the end signal I.sub.E should clearly differ from the voltage signals provided for the transmission of the useful data I.sub.N in order to ensure that a differentiation can be made.

[0059] In the embodiment shown in FIG. 5, the start signal I.sub.S is transmitted analogously to that of the second embodiment as shown in FIG. 4 in the time interval between t.sub.sensor_reset and t.sub.2. A time interval (t.sub.2 to t.sub.4) during which useful data I.sub.N is transmitted begins starting at the next rising edge at the point in time t.sub.2. In this time interval, the subsequent falling edge of the signal curve and the next rising edge are evaluated in order to decode the useful data I.sub.N. The time interval (t.sub.2 to t.sub.4) for the transmission of useful data I.sub.N is followed by a time interval (t.sub.4 to t.sub.6) within which the end signal I.sub.E is transmitted. This time interval likewise consists of two different voltage levels, whereby these, however, display a length relationship that is not provided for the coding of the useful data I.sub.N (and preferably not for the start signal I.sub.S either). In this manner, the end signal I.sub.E in the case of several pieces of useful data I.sub.N that have been transmitted redundantly (in each case according to a procedure during the time interval t.sub.2 to t.sub.4) can be unambiguously identified.

[0060] The embodiments as shown in FIGS. 4 and 5 are relatively simple to implement. When it comes to the data transmission, however, they only offer a limited information content since the number of modulation states for an amplitude modulation (primarily in the second embodiment as shown in FIG. 4) or for a phase modulation (primarily in the third embodiment as shown in FIG. 5) is limited by the requisite signal-to-noise ratio. In the case of the phase modulation according to the third embodiment, there are likewise additional limitations due to the relatively small bandwidth of the transmission channel since this reduces the time-related accuracy of the edge evaluation.

[0061] Regarding the robustness vis-à-vis the amplitude modulation, a binary transmission of only two voltage levels corresponding to the first and third embodiments is optimal since, as a result, the largest possible distance can be set for the employed voltage level. The transmission of a defined number of bits having a constant length according to the first embodiment also makes fewer requirements of the phase relation of the sampling times at which the information needs to be sampled (ideally in the middle of the bit). If the edges are evaluated (see FIG. 3) employing a Manchester code or Miller code, only a few different pulse-pause relationships have to be differentiated. Therefore, the requirement in terms of the time-related accuracy of the edge identification in the first embodiment as shown in FIGS. 2 and 3 is considerably less than in the case of the third embodiment as shown in FIG. 5. For these reasons, preference is given to the use of the first embodiment as shown in FIGS. 2 and 3, at least in the case of the use of the method according to the invention for transmitting data from cylinder pressure sensors 10 associated with glow plugs 12 to a receiver 14. The definition of a data container for the useful data I.sub.N here also allows a simpler standardization of the variant identification over many different cylinder pressure sensors 10. In addition, bits for error identification and error correction can be reserved in the data containers (CRC coding of the information).

LIST OF REFERENCE NUMERALS

[0062] 10 (cylinder pressure) sensor [0063] 12 component/glow plug [0064] 14 receiver/engine control unit [0065] 16 glow pencil [0066] 18 internal combustion engine [0067] 20 motor vehicle [0068] 22 power output [0069] 24 line of the analog interface [0070] 26 (high-current) line [0071] B.sub.n block with n bits [0072] B.sub.m subblock with m bits [0073] I.sub.S start signal [0074] I.sub.N useful data [0075] I.sub.E end signal