CIRCUIT FOR A BUS SYSTEM AND METHOD FOR OPERATING A CIRCUIT
20210063444 ยท 2021-03-04
Inventors
Cpc classification
G01R1/203
PHYSICS
International classification
G01R1/20
PHYSICS
Abstract
A circuit for a bus system. The circuit includes: a measuring circuit, which is configured to measure a first resistance value between two bus-side terminals of the circuit; an ascertainment circuit, which is configured to ascertain a second resistance value as a function of the first resistance value; and a resistive circuit, which is configured to set a resistor connectable between the two bus-side terminals to the second resistance value.
Claims
1-10. (canceled)
11. A circuit for a bus system, comprising: a measuring circuit configured to measure a first resistance value between two bus-side terminals of the circuit; an ascertainment circuit configured to ascertain a second resistance value as a function of the first resistance value; and a resistive circuit configured to set a resistor connectable between the two bus-side terminals to the second resistance value.
12. The circuit as recited in claim 11, wherein the ascertainment circuit is configured to increase the second resistance value when the first resistance value decreases.
13. The circuit as recited in claim 11, wherein the measuring circuit is configured to ascertain at least one time window as a function of a message received via the two bus-side terminals and as a function of an a priori known position in relation to the received message, the resistive circuit being configured to set the resistor connected between the two bus-side terminals to a last ascertained second resistance value during the ascertained time window, and the measuring circuit is configured to wait out a waiting period after a beginning of the time window and subsequently to the waiting period and, still before the end of the time window, to measure the first resistance value between the two bus-side terminals during a measurement period.
14. The circuit as recited in claim 13, wherein the length of the waiting period and/or the measurement period is one bit time or shorter.
15. The circuit as recited in claim 13, wherein the resistive circuit is configured to ascertain the time window for connecting the resistor, and to connect the resistor during the time window using the last ascertained second resistance value, and the measuring circuit is configured to ascertain the first resistance value during the time window.
16. The circuit as recited in claim 11, wherein the ascertainment circuit is configured to ascertain the second resistance value as a function of a comparison of the first resistance value to a setpoint value for the first resistance value.
17. The circuit as recited in claim 11, wherein the ascertainment circuit is configured to ascertain the second resistance value using a lookup table as a function of the first resistance value.
18. The circuit as recited in claim 17, wherein the circuit further comprises: a configuration circuit configured to provide a number of user stations of the bus system; wherein the ascertainment circuit is configured to ascertain the second resistance value using the lookup table as a function of the first resistance value and as a function of the provided number of user stations.
19. A transceiver for a user station of a bus system, the transceiver comprising: a circuit, including: a measuring circuit configured to measure a first resistance value between two bus-side terminals of the circuit; an ascertainment circuit configured to ascertain a second resistance value as a function of the first resistance value; and a resistive circuit configured to set a resistor connectable between the two bus-side terminals to the second resistance value.
20. A method for operating a circuit for a bus system, the method comprising the following steps: measuring a first resistance value between two bus-side terminals of the circuit; ascertaining a second resistance value as a function of the first resistance value; and setting a resistor connectable between the two bus-side terminals to the second resistance value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0019]
[0020] Measuring circuit 101, ascertainment circuit 102, and resistive circuit 104 are designed, for example, as an ASIC, FPGA, or as a discrete circuit. Furthermore, measuring circuit 101, ascertainment circuit 102, and resistive circuit 104 include, for example, a processor, which is equipped with software to carry out the particular functions defined by software. Of course, mixed forms including a physical circuit and the processor on which the software is executed are also possible. The software is stored on a corresponding memory element. Circuit 100 is, for example, part of a transceiver for a user station of a bus system. In another specific embodiment, circuit 100 is designed in addition to an existing transceiver.
[0021] Shown in schematic form, resistive circuit 104 includes a switch 110 and a resistor 112 situated in series thereto. Of course, resistive circuit 104 may also be designed differently and may include, for example, a MOSFET. Resistor 112 is connected, for example, between the two bus-side terminals 106, 108 if a state transition takes place from a first state (for example, dominant) of an absolute value of voltage V DIFF to a second state (for example, recessive), for example, within an ascertained time window. Resistive circuit 104 is used to suppress or damp oscillations of voltage V DIFF.
[0022] Measuring circuit 101 ascertains a first resistance value R1 between the two bus-side terminals 106 and 108. The ascertainment of first resistance value R1 takes place, for example, at regular intervals. Thus, the ascertainment may be carried out, for example, in each data frame or only once per minute. This first resistance value R1 reflects the total resistance connected between the two terminals 106 and 108, which results, for example, due to the parallel connection of a bus resistance Rb and resistor 112. Ascertainment circuit 102 ascertains a second resistance value R2 for resistor 112 of resistive circuit 104 as a function of supplied first resistance value R1. Upon the start of the circuit, a predefined value is used for second resistance value R2. Second resistance value R2 is applied to resistive circuit 104 to set resistor 112 to second resistance value R2. Resistive circuit 104 connects resistor 112 between the two terminals 106 and 108 either on request from the outside or independently, resistor 112 being set to last ascertained resistance value R2.
[0023]
[0024] A configuration circuit 202 provides a number 204 of user stations of the bus system. Number 204 may either be preconfigured or the configuration circuit independently ascertains number 204 of user stations. For the independent ascertainment of number 204, configuration circuit 202 exchanges messages with other bus users. Ascertainment circuit 102 may, for example, define second resistance value R2 to be shorter for an increased number 204 than if a reduced number 204 is present.
[0025]
[0026]
[0027]
[0028]
[0029]