DRIVER FOR A SHARED BUS, IN PARTICULAR A LIN BUS
20220085810 · 2022-03-17
Assignee
Inventors
- Koen Jan Decock (Wingene, BE)
- Olivier Eugene A Gesquiere (Wakken, BE)
- Henk Roel Motte (Melle, BE)
- Wouter FAELENS (Gent, BE)
Cpc classification
International classification
H03K19/00
ELECTRICITY
Abstract
A driver for a shared bus, such as a LIN bus, having a supply node (Vbat), a bus node (LIN), a transmit data input node (TX) and a receive data output node (RX), said driver comprising: a pull-up circuitry between the supply node and the bus node, driver circuitry (100) having a control input connected to the transmit data input node, feedback circuitry (200) configured to provide feedback from the shared bus to the control input of the driver circuitry; said feedback circuitry comprising copy circuitry (210) configured to obtain at least one copy signal representative for a signal on the bus node, filter circuitry (220) configured to low-pass filter the at least one copy signal, derivative circuitry (230) configured to obtain at least one derivative signal representative for the speed at which the signal on the bus node varies.
Claims
1. A driver for insertion between a shared bus, such as a Local Interconnect Network bus, and a logic device, said driver having a supply node for connection to a voltage supply, a bus node for connection to the shared bus, a transmit data input node and a receive data output node, said driver comprising: a pull-up circuitry between the supply node and the bus node, driver circuitry configured to draw a current from the shared bus in function of a signal on the transmit data input node, said driver circuitry having a control input connected to the transmit data input node, feedback circuitry configured to provide feedback from the shared bus to the control input of the driver circuitry; wherein said feedback circuitry comprises: copy circuitry configured to obtain at least one copy signal representative for a signal on the bus node, filter circuitry configured to low-pass filter the at least one copy signal to obtain at least one filtered signal, derivative circuitry configured to obtain at least one derivative signal representative for the speed at which the signal on the bus node varies based on the at least one filtered signal.
2. The driver according to claim 1, wherein the pull-up circuitry comprises a diode and a resistor connected in series.
3. The driver according to claim 1, further comprising mixing circuitry configured to mix the at least one derivative signal with an input signal representative for a signal on the transmit data input node to provide a corrected signal to the control input of the driver circuitry.
4. The driver according to claim 3, wherein the mixing circuitry is configured to generate the input signal as a positive or a negative current depending on a level of the signal on the transmit data input node.
5. The driver according to claim 1, wherein the feedback circuitry is connected to the receive data output node such that the at least one filtered signal or a signal representative for said at least one filtered signal is provided at the receive data output node.
6. The driver according to claim 1, wherein the driver circuitry comprises a series connection of a low voltage transistor, a high voltage transistor and a diode, wherein the low voltage transistor has the control input.
7. The driver according to claim 1, wherein the copy circuitry comprises at least one current mirror circuit.
8. The driver according to claim 1, wherein the copy circuitry comprises a first current mirror with a first branch between the bus node and the supply node and a second branch generating a first mirror current, and a second current mirror with a first branch between the bus node and a ground node and a second branch generating a second mirror current, and wherein the filter circuitry is configured for filtering both said first and said second mirror current.
9. The driver according to claim 1, wherein the copy circuitry is configured such that a leakage current flowing from the bus node into the copy circuitry is less than 20 microampere; and/or such that an equivalent capacitance of the copy circuitry as seen from the bus node is less than 250 pF.
10. The driver according to claim 1, wherein the copy circuitry is configured to sense a voltage on the bus node and to cause a transition thereof into at least one copy current constituting the at least one copy signal.
11. The driver according to claim 1, wherein the derivative circuitry is configured to obtain the at least one derivative signal by performing a derivation in time of the at least one filtered signal, preferably such that the output of the derivative circuit is a current or a voltage of which the value depends on the slope of the signal on the bus node.
12. A driver for insertion between a shared bus, such as a Local Interconnect Network bus, and a logic device, said driver having a supply node for connection to a voltage supply, a bus node for connection to the shared bus, a transmit data input node and a receive data output node, said driver comprising: a pull-up circuitry between the supply node and the bus node, driver circuitry configured to draw a current from the shared bus in function of a signal on the transmit data input node, said driver circuitry having a control input connected to the transmit data input node, feedback circuitry configured to provide feedback from the shared bus to the control input of the driver circuitry; wherein said feedback circuitry comprises filter circuitry configured to low-pass filter at least one signal representative for a signal on the bus node to obtain at least one filtered signal, wherein the feedback circuitry is connected to the receive data output node such that the at least one filtered signal or a signal representative for said at least one filtered signal is provided at the receive data output node.
13. The driver according to claim 12, wherein the pull-up circuitry comprises a diode and a resistor connected in series.
14. The driver according to claim 12, further comprising derivative circuitry configured to obtain at least one derivative signal representative for the speed at which the signal on the bus node varies based on the at least one filtered signal.
15. The driver according to claim 14, further comprising mixing circuitry configured to mix the at least one derivative signal with a signal on the transmit data input node to provide a corrected signal to the control input of the driver circuitry.
16. The driver according to claim 13, wherein the feedback circuitry further comprises copy circuitry configured to obtain at least one copy signal representative for a signal on the bus node, and connected to provide said at least one copy signal to an input of the filter circuitry.
17. The driver according to claim 1, wherein the filter circuitry comprises a low-pass filter and at least one of: a pre-filter shaping circuit between the copy circuitry and the low-pass filter, a post-filter shaping circuit between the low-pass filter and the derivative circuitry; wherein the receive data output node is connected to at least one of an output of the low-pass filter and an output of the post-filter shaping circuit.
18. (canceled)
19. The driver according to claim 1, wherein the copy circuitry is configured to obtain at least one copy current signal representative for a signal on the bus node, wherein the feedback circuitry comprises a current-to-voltage converter configured to convert the at least one copy current signal into at least one voltage signal, said current-to-voltage converter being arranged between the filter circuitry and the derivative circuitry or between the copy circuitry and the filter circuitry.
20. The driver according to claim 1, wherein the derivative circuitry comprises a first derivative circuitry configured to obtain a first derivative signal representative for a rising slope of the signal on the bus node based on the at least one filtered signal, and a second derivative circuitry configured to obtain a second derivative signal representative for a falling slope of the signal on the bus node based on the at least one filtered signal.
21. The driver according to claim 1, wherein the feedback circuitry is implemented in MOS technology.
22. A driver for insertion between a shared bus, such as a Local Interconnect Network bus, and a logic device, said driver having a supply node for connection to a voltage supply, a bus node for connection to the shared bus, a transmit data input node and a receive data output node, said driver comprising: a pull-up circuitry between the supply node and the bus node, driver circuitry configured to draw a current from the shared bus in function of a signal on the transmit data input node, said driver circuitry having a control input connected to the transmit data input node, feedback circuitry configured to provide feedback from the shared bus to the control input of the driver circuitry; wherein said driver circuitry comprises a series connection of a low voltage transistor, a high voltage transistor and a diode, wherein the low voltage transistor has the control input.
23. The driver according to claim 22, wherein the pull-up circuitry comprises a diode and a resistor connected in series.
24. The driver according to claim 22, wherein the low voltage transistor is a low voltage MOSFET, and the high voltage transistor is a high voltage MOSFET, wherein the gate of the high voltage MOSFET is connected directly or indirectly to a DC voltage supply.
25. (canceled)
26. The driver according to claim 24, wherein a control input of the high voltage transistor is coupled to a push-pull circuit between the supply node and the ground, wherein the push-pull circuit is set by the DC voltage supply.
27. The driver according to claim 22, wherein a control input of the high voltage transistor is connected to a capacitor configured to drain away RF signals.
28. A local interconnect network comprising a shared bus and a plurality of drivers comprising at least one driver according to claim 1, wherein said at least one driver is connected with its bus node to the shared bus.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0031] The accompanying drawings are used to illustrate presently preferred non-limiting exemplary embodiments of devices of the present invention. The above and other advantages of the features and objects of the invention will become more apparent and the invention will be better understood from the following detailed description when read in conjunction with the accompanying drawings, in which:
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
DESCRIPTION OF EMBODIMENTS
[0040]
[0041] The driver 2 is inserted between a shared bus 1, such as a Local Interconnect Network (LIN) bus, and a logic device (not shown). The driver 2 having a supply node Vbat for connection to a voltage supply, a bus node LIN for connection to the shared bus, a transmit data input node TX and a receive data output node RX. The driver 2 comprises a pull-up circuitry comprising a diode D1 and a resistor R1 connected in series between the supply node Vbat and the bus node LIN. The series resistor R1 may have a value between 10 kOhm and 100 kOhm, e.g. more or less 30 kOhm. The diode D1 and resistor R1 may be as specified in the LIN specifications/standard.
[0042] The driver 2 further comprises driver circuitry 100 and feedback circuitry 200. The driver circuitry 100 is configured to draw a current from the shared bus 1 in function of a signal on the transmit data input node TX. The driver circuitry 100 has a control input Vc (called V.sub.gate in
[0043] The driver circuitry may comprise a LV NMOS device M11 with in series a HV NMOS device M12 and a diode D2, and a HV gate bias circuit 110 connected to the gate of the HV NMOS device M12. The LV NMOS device M11 is designed to provide a current to pull the bus node LIN towards ground, i.e. to bring the driver 2 in the dominant state S.sub.D, see also
[0044] The control input Vc of the driver circuitry 100, here the gate of the LV MOS M11, is controlled by a LV gate bias circuit 500. The LV gate bias circuit 500 will, based on a signal on the transmit data input node TX, provide a positive or negative current to the gate Vc of the LV MOS M11 to charge or discharge the gate node. The current applied to gate of the LV MOS M11 is controlled, so the output signal V.sub.LIN on the bus node LIN will have a pre-defined slew rate. Preferably, the slew rate is limited to prevent disturbances on the shared bus 1.
[0045] During normal operation, the shared bus 1 may be disturbed by RF signals. These RF signals may be coupled to the gate Vc of the LV NMOS M11 through the drain-gate capacitance of the LV NMOS M11. This coupling will pull the gate Vc to a voltage higher than desired, resulting in a shorter slew rate of the signal V.sub.LIN. A possible test to simulate and measure this effect is the DPI test (direct power injection). Changes in the battery voltage Vbat, temperature, loads on the shared bus 1, will have also an impact on the shape of the output signal V.sub.LIN on the shared bus 1.
[0046] To correct the output signal V.sub.LIN during such disturbance event, a feedback circuitry 200 is provided. This feedback circuitry 200 will investigate the output signal V.sub.LIN and provide a correction to the current provided by the LV gate bias 500. To that end a mixing circuitry 300 is provided for mixing an input signal output by the LV gate bias 500 and a feedback current output by the feedback circuitry 200. This feedback circuitry 200 is configured to copy the signal V.sub.LIN on the bus node, to filter it and to perform a derivation (in time) to the filtered signal. A current proportional to the derived signal will be provided to the mixing circuitry 300 in order to adjust the gate voltage Vc. The feedback circuitry 200 may be implemented in MOS technology. More details about possible embodiments of the feedback circuitry 200 will be provided below with reference to
[0047] As illustrated in
[0048] Optionally discharge circuitry 600 and/or pre-charge circuitry 700 may be added. The pre-charge circuitry 700 may help in two ways. When the signal V.sub.LIN goes from the recessive state S.sub.R to dominant state S.sub.D, the control input Vc of the driver 2 is charged so that the control voltage Vc will be around the threshold V.sub.th (time between t1 and t2, see
[0049] As is illustrated in
[0050] A first implementation of the feedback circuitry 200 is represented in
[0051] The copy circuitry 210 is configured to obtain a copy signal representative for a signal on the bus node LIN in order to take a robust copy of the bus signal V.sub.LIN. Preferably, the copy circuitry 210 is configured to sense a voltage on the bus node LIN and to cause a transition thereof into a copy current constituting the copy signal. This may be done using a resistor between the supply node Vbat and the bus node LIN and/or using a resistor between the bus node LIN and the ground GND.
[0052] Preferably, the current flowing through the resistor is further copied using a current mirror. Thus, the copy current constituting the copy signal may be the current output by the current mirror or the current flowing through the resistor if no current mirror is present. More preferably, the copy circuitry 210 is configured such that a leakage current flowing from the bus node LIN into the copy circuitry 210 is less than 20 microampere, and/or such that an equivalent capacitance of the copy circuitry 210 as seen from the bus node LIN is less than 250 pF. The advantage of such copy circuitry 210 is that the load on the bus 1 will be limited and the load to the filter circuitry 220 is known by design. If no copy circuitry would be present, the load of the filter circuitry 220 would depend on the bus 1 which has a variable load depending on the amount and type of the different slaves on the bus 1.
[0053] The filter circuitry 220 is configured to low-pass filter the copy signal output by the copy circuitry 210. The filter circuitry 220 is configured to remove disturbances such as RF components. The filtered signal is delivered to a time derivative circuitry 230 and may also be delivered to the receiver circuitry 400. It is noted that the frequency range of the bus signals on the shared bus 1 is much smaller than that of the RF disturbance signals, such that the low-pass filter can effectively filter out the RF disturbance signals. For example, when the driver is connected to a LIN bus, the LIN frequency is typically between 10 kHz and 100 kHz, and the RF disturbance frequency tends towards 1 MHz and higher. The filter circuitry 220 may comprise a low-pass filter with a cut-off frequency between 100 kHz and 900 kHz, more preferably between 120 kHz and 300 kHz, e.g. approximately 150 kHz.
[0054] The derivative circuitry 230 is configured to obtain a derivative signal representative for the speed at which the signal on the bus node LIN varies, based on the filtered signal. The time derivative circuitry 230 will take a time-derivative of the filtered signal, which will be an indication of the slope of the signal on the bus node LIN. The output 203 of the derivative circuitry 230 is a current (or voltage) depending on the slope of the signal on the bus node LIN. Within the mixing circuitry 300 (see
[0055] A second implementation of the feedback circuitry 200 is presented in
[0056]
[0059] A further embodiment is shown in
[0060] In another embodiment illustrated in
[0061]
[0062]
[0063]
[0068]
[0071]
[0072]
[0074] When “TX” is low, the bias current Ibias generated by the gate bias circuitry 500 will be negative such that the bias current flows from the gate into the gate bias circuitry 500. The mixing circuitry 300 generates a current Icor which is opposite to the bias current Ibias, resulting in a corrected current following out of the gate with a value |Ibias|−|Icor|. Pull-up circuit 500a will disable current mirror 520a and the current mirror 520b will be enabled, resulting in current flow from the gate to ground. Pull-up circuit 300b will disable current mirror 320a (“not TX” will be high) and enable current mirror 520a, resulting in current flow towards the gate. Again, if the signal slope of the signal on the bus node LIN is too fast, more current |Icor| will be subtracted from the bias current |Ibias|. If the signal slope of the signal on the bus node LIN is too slow, less current |Icor| will be subtracted from the bias current |Ibias|.
[0075] In the embodiment of
[0076] Other exemplary embodiments relate to a local interconnect network comprising a shared bus and a plurality of drivers. One or more drivers of said plurality of drivers may be implemented as described above in connection with the figures, wherein each driver is connected with its bus node to the shared bus. One driver of said plurality of drivers may be configured to function as a master, and one or more other drivers thereof may be configured to function as one or more slaves.
[0077] The current mirrors illustrated in this application may be replaced by alternative implementations (for example a single current mirror may be replaced by a double/stacked current mirror, see for example the current mirrors used in
[0078] Further, the skilled person will understand that the bulk of the MOS transistors used in this application may be coupled to the source of the transistor or alternatively to a power supply (GND, VSS, substrate for NMOS transistor, VDD for PMOS transistor).
[0079] Whilst the principles of the invention have been set out above in connection with specific embodiments, it is to be understood that this description is merely made by way of example and not as a limitation of the scope of protection which is determined by the appended claims.