Interlocking circuit and procedure for blocking a data line
10911098 ยท 2021-02-02
Assignee
Inventors
Cpc classification
H04B3/232
ELECTRICITY
B60Q1/02
PERFORMING OPERATIONS; TRANSPORTING
International classification
H04B3/23
ELECTRICITY
B60Q1/02
PERFORMING OPERATIONS; TRANSPORTING
B60R16/03
PERFORMING OPERATIONS; TRANSPORTING
Abstract
An interlocking circuit and procedure for suppressing an echo on a receiving line are provided. The interlocking circuit blocks the receiving line when there is a signal on a transmission line. The receiving line has a transmission side at which the echo signal is located and a receiving side at which the echo signal can be blocked. The echo signal of a CAN driver is suppressed such that an actuating component for a headlamp light matrix does not receive any unwanted commands.
Claims
1. An interlocking circuit for suppressing an echo, the circuit comprising: a receiving line (Rx); a transmission line (Tx); wherein the receiving line is locked when there is a signal on the transmission line (Tx), where the receiving line has a first receiving side at which the echo signal is present as well as a second receiving side at which the echo signal is blocked; wherein a control signal derived from the signal on the transmission line is on a control line, where the control line is connected to an input of an inverter (INV), which has an output connected to an input of an OR gate for signals with negative logic or an AND gate for signals with positive logic, where a second input of the OR gate or the AND gate is connected to a transmission side of the receiving line and an output of the OR gate or the AND gate to the first receiving side or the second receiving side of the receiving line.
2. The interlocking circuit in accordance with claim 1, wherein a delay circuit (D1+R1+C1) influences the control signal (A) such that the interlocking circuit interlocks for a longer period than a period during which the signal is on the transmission line.
3. The interlocking circuit in accordance with claim 2, wherein the delay circuit connects the transmission line to the control line (A) via a diode and the control line to a supply voltage and a capacitor (C1) to the ground via a resistor (R1).
4. An interlocking circuit for suppressing an echo, the circuit comprising: a receiving line (Rx); a transmission line (Tx); wherein the receiving line is locked when there is a signal on the transmission line (Tx), where the receiving line has a first receiving side at which the echo signal is present as well as a second receiving side at which the echo signal is blocked; wherein a CAN driver generates the echo and is connected to the transmission line and the transmission side of the transmission line.
5. An interlocking circuit for suppressing an echo, the circuit comprising: a receiving line (Rx); a transmission line (Tx); wherein the receiving line is locked when there is a signal on the transmission line (Tx), where the receiving line has a first receiving side at which the echo signal is present as well as a second receiving side at which the echo signal is blocked; wherein at least one light matrix manager module is connected to the transmission line and the first receiving side or the second receiving side of the receiving line, where a minimum of one light matrix manager module transmits the signal to the transmission line.
6. The interlocking circuit in accordance with claim 5, wherein the interlocking circuit is positioned on a printed circuit board that also holds a CAN driver, a communication interface and the minimum of one light matrix manager module.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) 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.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION OF THE DRAWINGS
(15)
(16) Here, an architecture is shown that allows for full duplex communication. The transmission output (Tx) for the MCU is connected to the receiving inputs (Rx) of all LMMs. The same applies to the transmission outputs (Tx) for all LMMs connected to the receiving inputs (Rx) of the MCU.
(17) One advantage of this arrangement is that it is inexpensive to implement as a solution. It may be the most inexpensive of all solutions presented here. This setup allows distances between the MCU and the LMMs of up to 50 cm or 70 cm to be bridged without impeding the EMC durability too significantly.
(18)
(19)
(20) There must be an internal clock available on each printed circuit board and this clock must be used to sense the UART communication signal. This is because there is no clock provided that is generated outside of the printed circuit board. For the PtP variant, only one pulse generator is necessary for the entire printed circuit board. The multiple LMMs have access to this pulse generator.
(21) For the PtP variant, the EMC susceptibility to interference can be improved by adding a totem pole push-pull output stage for the transmission signal (Tx) of the LMM.
(22)
(23) The PtM variant requires several pulse generators (typically one for each printed circuit board). This can make the PtM variant more expensive than the PtP variant. The same is even more true of the increased current consumption generated by several pulse generators if they are operated with 5V instead of 3.3 V or communication is carried out using the higher of the two voltage types.
(24) The total pull-up resistor value must be observed in the PtM variant. When equipping the printed circuit boards, it may be necessary to select the pull-up resistor values based on the number of printed circuit boards to be connected. Depending on the type of circuit, the various pull-up resistors may be switched in parallel. This means that the resistor values should be selected so that they do not lie below a minimum value. For example, the total resistor value can be 1, 2 or 5 kiloohms.
(25) Certain applications, such as those in automobiles, require specific minimum data transmission rates that are subject to any applicable EMC influence. For example, data transmission rates of 500 kbps may be required at a cycle rate 16 times higher (corresponding to 8 MHz). This cycle rate may be too high for secure transmission and distribution via cable.
(26) The PtM variant can also be used in a single headlamp, but usually, each printed circuit board is responsible for a different function (such as the cornering light, high beam, low beam).
(27)
(28) In this drawing, it is important to note that the pin designated TxD is an input. This means that the Tx signal of the communication partner must be connected here.
(29) Likewise, the RxD pin identifies an output at which the CAN driver transmits data.
(30) A CAN driver or CAN-UART converter converts 5V (or 3.3 V) UART Tx and Rx signals into CAN CANH and CANL signals, which are known to consist of low voltage and differential signals. These types of signals can be transmitted more easily over longer distances. This is frequently achieved using twisted cables. The CAN driver also fulfills other automotive requirements, such as short circuit protection to the ground and on-board supply voltage (12 V).
(31) Unfortunately, these drivers generate a local echo. This forwards signals fed to the UART-side input (TxD) to the CAN side, at which point they reach the CANH and CANL. From there, they are transmitted to the receiver block, where they are made available to the UART-side RxD output.
(32) A microcontroller can suppress the echo by blocking the receive interrupt or even utilizing the echo signal by verifying that the received signal is the same as the transmitted signal.
(33) However, this process will probably interfere with the LMM and its internal state machine if the machine receives bit sequences from the echo that are not part of its architecture. In other words, this can cause the state machine of a connected LMM to malfunction if a message (data word) is sent to the LMM over the echo and if this message is not one that the LMM was expecting.
(34)
(35) Two commercially available components for the CAN driver are recommended. As described in the data sheet, the TLE6250 features a transmission delay between 150 Ns and 280 Ns for both edges. As described in the data sheet, the TJA 1051 features a transmission delay of 40 Ns to 250 Ns.
(36)
(37) The IC1000, the CAN driver located in the center, conducts conversions between the left CAN signals (CANH, CANL) and right serial UART signals (RxD, TxD).
(38) There are components between the CAN inputs/outputs and the CAN driver that are the basic wiring for interference suppression, e.g. a L1000 bifilar inductor or R1000, R1001 resistors for the bus end termination.
(39) The D1001, R1002, C 1002 components are used as a delay element unlocking in accordance with
(40) The IC1001 component is used for logical wiring for blocking the receiving line in accordance with
(41) It is worth noting again that, from the perspective of the CAN driver, the cable designated TxD that transmits the data from the connected LMM to the CAN driver is an input despite what the designation indicates.
(42) In
(43) Signal B is the transmission-side Rx receiving line (from CAN Rx), i.e. the RxD output signal from the CAN driver.
(44) In a hardware configuration, the control line containing the control signal is connected to the input of an inverter (INV), whose output is connected to one of two inputs of an OR gate. The second input is connected to the transmission side of the receiving line (from CAN Rx), e.g. the RxD pin of the CAN driver. The output of the OR gate is connected to the receiving side of the receiving line (to LMM Rx), e.g. the Rx pin of the LMM(s).
(45) It should also be mentioned that this interlocking circuit does not have a direct connection between the RxD output of the CAN driver (from CAN Rx) and the Rx input of the LMM component (to LMM Rx), but instead a connection is simply established using the gate such that it can be used for locking (if necessary). Otherwise, the Tx transmission line can directly connect the two components from from LMM Tx to to CAN Tx.
(46) The preceding circuit is suitable for signals with negative logic (0-active logic). If there is positive logic, meaning that the bit value (1) is generated by a high level, the OR gate must be replaced by an AND gate to ensure that the interlocking function is identical.
(47) This logic function can be creating using configurable multifunction gates such as the 74LVC1G57, 74LVC1G97 and 74LVC1G98 components.
(48) The 74LVC1G57GW-Q100 is ideal because it is affordable and qualified for automotive applications.
(49)
(50) Curves 71 and 81 show an A or Tx input signal in the logic circuit, while curves 72 and 82 show the resulting output signal.
(51)
(52)
(53) In signals with negative logic, the leading edge is falling (from high to low level) and the trailing edge rising (from low to high). In signals with positive logic, the reverse is true.
(54) Signal 91 is the signal present in the Tx transmission line, i.e. the TxD input signal of the CAN driver. The echo signal (92) that appears on the transmission side of the Rx receiving line is the output signal of the CAN driver. Signal 93 shows the unwanted part of the echo which would have still been let through because an exclusively available circuit in accordance with
(55)
(56) A D1, D1001 diode is switched in the reverse direction between the transmission line and control line. Its cathode side faces the transmission line and its anode side faces the control line. This means that if the Tx is a high level, the diode locks. If it is a low level, it allows energy to pass through. This ensures that a falling edge of the Tx signal that corresponds to the leading edge in negative logic is transmitted immediately to the control signal. Conversely, a rising edge locks the diode, which then makes the control signal dependent on the other components.
(57) Control line A is connected to the Vcc supply voltage via an R1, R1002 resistor and to ground with a C1, C1002 capacitor. The capacitor discharges a low level of the Tx signal via the diode which is then switched in the forward direction. Otherwise, the capacitor discharges from the low to high level at a speed that corresponds to the component values. The switchover point of the control signal is determined by the switching level (e.g. Vcc/2). The time constant is determined by the resistor and capacitor value.
(58) From this point, the downstream logic circuit would switch from the inverter (INV) and OR gate. This was presented in
(59)
(60) An alternating 0-1 bit sample is used for this measurement, as can be seen when looking at the equidistant edges of the digital Tx signal v(d). The digital control signal that shows the durations of active locking now has a delay and is activated again after the trailing edge of the Tx signal. As such, the unwanted remainder of the echo signal shown in
(61) Optionally, other components that carry out other or improved functions may lie along the signal paths between the described components. For example, signal driver stages can still be installed between the Tx cable and diode or the RC element and logic circuit.
(62) The time constant of this measurement is selected to ensure that it corresponds to half the duration of a bit (approx. 500 Ns). This permits enough tolerance for the required delay and activates the interlocking circuit again when the stop bit is generated, enabling communication without limitations to the chronological sequence. The receive channel is reactivated to receive more communication from the MCU right after locking.
(63)
(64) Signal 121 is the bit sample that is transmitted from the MCU to the LMM via the receiving line (Rx) of the CAN driver and can contain a request to the LMM to transmit this data. This signal is measured on the receiving side of the LMM, i.e. downstream from the output of the interlocking circuit gate.
(65) Conversely, signal 123 is the receiving line signal, but is measured on the output side of the CAN driver. Here, the echo in the right half of the measurement that resulted from the Tx signal is visible.
(66) Signal 122 shows the aforementioned Tx signal on the signal line, which may be, for example, the requested data that the LMM transmits to the MCU or CAN driver.
(67) As such, the inventive circuit was used to suppress the echo of the response from the LMM.
(68)
(69) Essentially, the ST1-T or CANH output pin is simply connected to the UART-side Tx via the R1010 resistor with the R1008 pull-up. Likewise, the ST1-Rx or CANL input pin is simply connected to the UART-side Rx via the R1013 resistor with R1009 pull-up. A short circuit in place of contact resistors is also conceivable.
REFERENCE NUMERAL LIST
(70) MCU Master ECU, control unit Tx Transmit pin, transmission line Rx Receive pin, receiving line TPS92661 Light matrix management module, type TI TPS92661 LMM Light matrix management module CANH Can high connection CANL Can low connection Vcc Supply voltage TxD Connection for transmission line, input in CAN driver RxD Connection for receiving line, output from CAN driver 41 Signal to transmission line 42 Signal to receiving line (here, echo) D1000, Components for CAN input circuit C1000, R1000, R1001, L1000 IC1000 CAN driver D1001, (D1), Components for delay circuit R1002, (R1), C1002, (C1) IC1001 Logic component A Control signal B, Transmission-side receive signal from CANRx toCANRx Receiving-side receive signal INV Inverter OR OR gate 71 Input signal of a logic component of a leading edge 72 Output signal of a logic component of a leading edge 81 Input signal of a logic component of a trailing edge 82 Output signal of a logic component of a trailing edge 91 Transmission signal to toCANTx 92 Receive signal to fromCANRx 93 Remaining echo signal to toLMMRx toCANTx Transmission line connection to CAN driver fromLMMTx Transmission line connection to LMM v(a) Measurement of the analog transmission signal v(b) Measurement of the analog control signal v(c) Measurement of the digital control signal v(d) Measurement of the digital transmission signal 121 Bit sample signal from MCU to LMM (request) 122 Bit sample signal from LMM to MCU (reply) 123 Signal at the RxD output of the CAN driver R1010, Contact resistors R1013 R1008, Pull-up resistors R1009