Analog comparator circuit for communication interfaces within a vehicle
11581891 · 2023-02-14
Assignee
Inventors
- Philipp Schmachtenberger (Regensburg, DE)
- Christian Aigner (Regensburg, DE)
- Ulrich Schmidt (Friedrichshafen, DE)
Cpc classification
H03K17/693
ELECTRICITY
International classification
H03K17/00
ELECTRICITY
H03K17/693
ELECTRICITY
Abstract
A vehicle analog comparator circuit for communication interfaces designed to detect an actuation of an actor. The circuit comprises a unit for producing a supply voltage for supplying the actor, a unit for producing a reference voltage to be compared with the supply voltage, a transistor input stage, a node point EDMx between the actor, the unit for producing a supply voltage and the transistor input stage, and a digital evaluation unit to process the output signal from the transistor input stage such that whether or not the actor is actuated is detected. The transistor input stage comprises a transistor circuit with a first transistor is connected to the node point EDMx, and a second transistor connected to the reference voltage. A collector resistance for limiting the collector current of the second transistor, as well as a base resistance for the two transistors. Alternatively, a current mirror is provided.
Claims
1. An analog comparator circuit, for communication interfaces within a vehicle which is designed to detect an actuation of an actor, comprising: a unit for producing a supply voltage for supplying the actor, a unit for producing a reference voltage to be compared with the supply voltage, a transistor input stage, a node point between the actor, the unit for producing a supply voltage and the transistor input stage, a digital evaluation unit for processing an output signal from the transistor input stage to detect whether or not the actor is actuated, wherein the transistor input stage is in the form of an analog input stage that comprises: a transistor circuit with two transistors, of which an emitter of a first transistor is functionally connected to the node point and an emitter of a second transistor is functionally connected to the reference voltage at the reference node, further comprising a collector resistance associated with the second transistor for limiting collector current of the second transistor, as well as a base resistance produced for both of the first and the second transistors; or a current mirror comprising two transistors, of which a first transistor is functionally connected to the node point and a second transistor is functionally connected to the reference voltage and is configured in a current feedback mode.
2. The analog comparator circuit according to claim 1, further comprising a KS diode arranged between the reference voltage and the emitter of the second transistor in such a manner that the KS diode acts as a short-circuit protection of the base-emitter diode of the second transistor in an event of a short-circuit at the node point.
3. The analog comparator circuit according to claim 2, further comprising a temp diode arranged between the node point and the emitter of the first transistor, in such a manner that the temp diode compensates a forward voltage drop through the KS diode relative to the reference voltage.
4. The analog comparator circuit according to claim 3, wherein the KS diode and the temp diode are chosen from a same assembly.
5. The analog comparator circuit according to claim 1, wherein a hysteresis unit is provided, which is designed to reduce the reference voltage in a case when, owing to a higher voltage than the reference voltage at the node point (Electric machine), the second transistor is active.
6. The analog comparator circuit according to claim 5, wherein a PD resistance is provided in the hysteresis unit, which is arranged between a collector of the first transistor and the input of the hysteresis unit.
7. The analog comparator circuit according to claim 1, wherein the actor is a switch or a button.
8. A use of the analog comparator circuit according to claim 1 in a transmission control unit of a vehicle, including a passenger car or a truck.
9. The use of the analog comparator circuit according to claim 1 in a transmission control unit of one of a passenger car or a truck.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Preferred embodiments of the invention are explained in greater detail below, with reference to the attached drawing.
(2)
(3)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(4) In the figure descriptions below, the same elements or functions are given the same indexes.
(5)
(6) In all the figures, the following blocks are essentially of identical form.
(7) TABLE-US-00001 FZG Vehicle block, which comprises an actor to be monitored, in this case as a switch or button in the form of a transistor Ttx or a mechanical switch S_ext, and optionally further components such as a microcontroller MC1 CC Contact current block, i.e., the provision of the current or voltage supply for the switch S_ext or button Ttx of the FZG block via Vu3, which contains a resistance Rcur and a diode Dcur for safeguarding the supply voltage Vu3 against a short-circuit to the battery EDMx Node point between FZG, CC and the transistor input stage IS described below RVG Unit for producing a reference voltage V_Ref from the reference voltage source VU1_QUC. RVG consists of a current divider with two resistances Rref1 and Rref2 HYS Hysteresis unit with a hysteresis resistance Rhys and other components, which reduces a specified positive reference voltage V_Ref to a desired level DCU Digital Capture Unit, i.e., the evaluation unit, which receives the output signal of the transistor input stage IS described below and sends it via the resistance Rcap and the condenser Ccap to the microcontroller MC2 for further processing, in order to determine whether or not the switch S_ext or button Ttx is activated. In other words, a transformation of the result of the analog voltage comparison of EDMx with the reference voltage V_Ref takes place at the digital voltage level. In this case, Rcap also limits the current passing into the microcontroller MC2 for EDMx voltages which are higher than the supply voltage of the microcontroller MC2.
(8) In the prior art as shown in
(9) In vehicles, particularly utility vehicles such as trucks, the problem exists that owing to the large line lengths in the vehicle and owing to the high electrical current flow, a ground offset takes place, i.e., the mass potential, also denoted by GND or ground, of the control unit is higher compared with the ground or GND of the vehicle. Thus, negative voltage signals can also result which, in previously known circuit arrangements as illustrated for example in
(10) A further disadvantage of the circuit shown in
(11) On the basis of that knowledge, the aim of the invention is to provide a comparator circuit in which the same function, i.e., to determine whether a switch S_ext or button Ttx is or is not active, can be achieved by simple means.
(12) This is done by producing a circuit arrangement in which an analog comparison, between positive and negative voltage signals relative to a reference voltage, takes place. A preferred embodiment is shown in detail in
(13) In this proposed circuit arrangement, the operational amplifier OA is replaced by a simpler analog transistor input stage IS. This enables an analog comparison between positive and negative voltage signals relative to a positive reference voltage and digital processing of the resulting voltage signal in the Digital Capture Unit DCU. This transistor input stage IS has the advantage that a negative voltage supply NPS is no longer needed.
(14) In this case, the analog transistor input stage can comprise two transistors Tmir1 and Tmir2. The reference voltage V_Ref, at the reference node V_Ref, is produced by the system voltage of the control system, i.e., the reference voltage source VU1quc, and voltage divider present in the unit for producing a reference voltage RVG, and acts upon the transistor Tmir 1 with a pilot voltage. In addition, a resistance Rmir1 is provided, which limits the collector current from Tmir1. The resistance Rmir1 has a high impedance so that it influences the reference voltage V_Ref as little as possible. In addition, a base-resistance Rmir_b is provided for both transistors Tmir1 and Tmir2 relative to ground GND. This should have an impedance so low that Tmir1 can control the hysteresis unit HYS, and an impedance high enough for the reference voltage V_Ref to be as little influenced as possible.
(15) The transistor Tmir2 compensates the base-emitter diode of Tmir1 and thus compares the voltage at the EDMx node (also called the EDMx-pin) with the reference voltage V_Ref. In other words, the voltage at the EDMx node is compared with the reference voltage V_Ref at the node V_Ref.
(16) Alternatively, the transistor input stage IS can also be made from a current mirror (not shown). In this case Tmir1 is configured in a current feedback mode, whereby a very small base current results for Tmir1. Here, it is advantageous that the reference voltage V_Ref is influenced very little. However, the base currents are so small that the EDMx node can easily be affected by electric interferences. For that reason, the previously mentioned design of the transistor input stage IS shown in
(17) In addition, in a simple and efficient way a short-circuit resilience of the voltage input, i.e., a short-circuit protection SCP with temperature compensation TC, can be realized. The temperature compensation TC compensates the influence of the short-circuit protection SCP on the accuracy of the signal capture over the temperature range. The short-circuit protection SCP is realized by means of a KS diode Dmir1, which is arranged between the RVG unit and the transistor Tmir1, and which serves to protect the base-emitter current of the transistor Tmir1 and the reference voltage in the event of a short-circuit between the switch S_ext or button Ttx and the supply voltage Vu3. In other words, a breakthrough of the base-emitter diode in the blocking direction is prevented and, therefore, the transistor and downstream components such as the reference voltage source VU1quc are protected.
(18) Furthermore, it is advantageous to provide a temperature compensation TC, which is realized by a temp-diode Dmir2, which is arranged between the EDMx node and the transistor Tmir2 and which compensates the forward voltage drop by means of the KS diode Dmir1 relative to the reference voltage V_Ref for the comparator input stage. Advantageously, diodes Dmir1 and Dmir2 of the same assembly are used. This means that to achieve the least possible scatter of the diode voltage, the diodes should be in the same housing, i.e., in the same component or the same assembly. In contrast to a previous short-circuit protection SCP, the short-circuit protection SCP proposed in the present circuit is neither part of the operational amplifier nor in the form of a separate negative voltage supply NPS, but in the form of diodes Dmir1 and Dmir2 in the signal line, which are just as effective. Since the diode Dmir2 compensates the diode voltage of Dmir1 and, at the same time, prevents a breakthrough of the base-emitter diode of Tmir2 at voltages at the EDMx-pin (node) considerably below the reference voltage V_Ref at the node V_Ref, the previous problem of the negative modulation range is solved.
(19) As in the known circuit, so also in the proposed new circuit arrangement with an analog transistor input stage IS, a hysteresis control can take place, which is the figures is denoted as the hysteresis unit HYS.
(20) In
(21) The resistance Rhys_pd ensures that in the case when the (potential-increasing) leakage currents flow via the transistor Tmir2, the transistor Thys also associated with the hysteresis unit HYS is not (inadvertently) active. The resistance Rhys_pd is not absolutely needed for voltages at the digital level, i.e., up to around 5 V, since in that range it is probable that very small leakage currents flow through Tmir2. By omitting the resistance Rhys_pd, higher impedances can be produced, which is advantageous particularly in the case of low voltages since the input signal at the EDMx-pin is then less severely loaded. However, collector-emitter leak currents of the transistor Tmir1 are higher when the circuit is used with battery voltages for the reference and/or input voltage, i.e., voltages for example of 12V, 24V, 36V or other battery voltages used in the vehicle which are higher than about 5 V. It is then better to provide the resistance Rhys_pd, in order to avoid a random or inadvertent activation of the hysteresis control. The higher signal voltages can more easily drive the additional current through the resistance Rhys_pd.
(22) Thanks to the analog structure of a comparator input stage IS, there is no need to produce a negative voltage supply from a separate voltage supply NVG. Thus, the problem that the Input-Common-Mode voltage cannot be maintained, is eliminated, i.e., also that no undesired bit-flips can occur. At the same time, the short-circuit resilience of the voltage input is provided with temperature compensation TC, which compensates the influence of the short-circuit protection on the accuracy of the signal capture over the temperature range concerned.
(23) Thus, thanks to the proposed simplified transistor input stage IS, components and costs are saved, and the circuit is simplified without thereby sacrificing any functionality. On the contrary, it is made even more robust since no bit-flips can occur.
INDEXES
(24) FZG Vehicle with an actor (switch S_ext/button Ttx) to be monitored CC Contact current for supplying current to the actor (S_ext/Ttx) DCU Digital Capture Unit or evaluation unit HYS Hysteresis unit RVG Unit for producing a reference voltage V_Ref EDMx Node point between FZG, CC and IS V_Ref Reference node between Rref1 and Rref2 and reference voltage NPS Negative voltage supply, Negative Power Supply IS Input stage or transistor input stage TC Temperature compensation SCP Short-circuit protection MC1, MC2 Microcontroller OA Operational amplifier