Tri-state driver arrangement

Information

  • Patent Application
  • 20030025525
  • Publication Number
    20030025525
  • Date Filed
    September 20, 2001
    23 years ago
  • Date Published
    February 06, 2003
    21 years ago
Abstract
A tri-state driver arrangement has a coupler (2) for the potential-free transmission of signals between an input and an output of the tri-state driver arrangement (1) and an output driver (8) with tri-state characteristics connected to the output. In order to reduce the outlay on the circuit and the power of the driver, in a first embodiment the coupler (2) is arranged as a magnetic coupler. In a second embodiment, it is proposed that the output voltage (UOUT) of the coupler (2) is to be monitored with respect to certain threshold values (−UTH, +UTH) in order to switch the output driver (8) into the tri-state condition depending upon this output voltage.
Description


[0001] This invention relates to a tri-state driver arrangement in accordance with the pre-characterising portion of claim 1, and in particular a tri-state driver arrangement, which can be used to send data from a subscriber via a communications bus to a further subscriber using an interface, for example in accordance with the RS-485 standard.


[0002] The RS-485 standard is used to define the transmission of information across different communications busses. Here, the communications bus consists of a two-wire cable to which the individual bus subscribers are connected in parallel and where several bus subscribers are able to receive data sent from another bus subscriber at the same time (so-called “multi-drop” configuration). On account of the high number of node points and the need for a reliable transmission of data or signals, all bus subscribers are potentially isolated from the communications bus. Furthermore, the line drivers or output drivers associated with the individual bus subscribers must have tri-state characteristics, i.e. along with the states “L” and “H”, they can take a third, high-impedance state. If a bus subscriber is active, i.e. if the output driver associated with this bus subscriber is sending data, all the other bus subscribers must be in the receive mode and disconnect their output drivers from the communications bus, i.e. switch to the above-mentioned tri-state condition.


[0003]
FIG. 5 shows an example of a potentially isolated RS-485 interface according to the state of the art. The RS-485 interface incorporates a tri-state driver 12 acting as a transmitter with an output driver 16, which is connected to a two-wire bus-cable A, B. Transmitted data TxD are fed to the tri-state driver 12 and amplified by means of an amplifier 14. A fast optocoupler 15 transfers the transmitted data with potential isolation to the output driver 16. Furthermore, an activation or enable signal is fed to the tri-state driver 12 and amplified by means of an amplifier 17. A slow-acting optocoupler transfers the enable signal to the output driver 16 in the form of an appropriate voltage UEN1 via a further amplifier 19 with potential isolation, whereby the output driver 16 is activated or deactivated depending upon the value of the voltage UEN1, i.e. switched to the tri-state condition. Furthermore, the RS-485 interface incorporates a receiver 13, which is also connected to the two-wire bus-cable A, B, whereby an amplifier 20 receives and amplifies data transmitted from another subscriber, which are output as received data RxD via a further fast optocoupler 21 and a driver 22.


[0004] As can be seen from FIG. 5, the RS-485 interface or the appropriate tri-state driver 12 needs two channels, each with an optocoupler, for sending the transmitted data TxD and for activating/deactivating the output driver 16, i.e. the number of components required and the driver power are relatively high.


[0005] This invention is therefore based on producing a tri-state driver arrangement, which enables the potentially isolated transmission of signals with minimum driver outlay.


[0006] This problem is solved according to the invention by a tri-state driver arrangement with the characteristics of claim 1 or 12. The sub-claims each define preferred and advantageous embodiments of this invention.


[0007] According to one embodiment, the tri-state driver arrangement according to the invention uses a magnetic coupler for the potentially isolated transmission of signals between the input and the output of the tri-state driver arrangement, which can be formed in particular due to a sensor, which works on the principle of the so-called GMR (Giant Magnet Resistor) effect. Likewise, however, other types of magnetic coupler can also be used, such as for example, Hall sensors, signal transformers, etc.


[0008] Due to the use of the magnetic coupler, only one channel is required for transmitting information or data and for the activation/deactivation of the output driver of the tri-state driver arrangement. Compared with the state of the art described above, this means a saving on components and driver power. Furthermore, the use of the magnetic coupler allows a saving to be made on the area of silicon required as well as the bonding effort when the tri-state driver arrangement according to the invention is used in a potentially isolated RS-485 interface and this potentially isolated RS-485 interface is integrated into a housing.


[0009] Furthermore, a suitable logic or control is proposed within the framework of this invention, which evaluates the output signal from the coupler, in particular the output voltage from the coupler, with respect to a pre-defined limiting range and, depending on this, produces an activation or enable signal for the output driver in order to activate or deactivate this for transmitting data, i.e. to switch it to the high-impedance tri-state condition. In doing so, it is particularly advantageous if the enable signal mentioned is fed to the output driver via a smoothing filter with an appropriate time constant so that the output driver is not unnecessarily switched off for short intervals of time. The procedure suggested within the framework of this invention for evaluating the output signal of the coupler in order to activate the output driver for transmitting data or to switch it to the tri-state condition and thus deactivate it dependent upon this, can be achieved particularly easily and without great expense and, in principle, is independent of the type of coupler used in each case, as long as this has a sufficiently linear output characteristic, which makes it possible to evaluate the output signal of the coupler in accordance with the invention.


[0010] This invention is particularly suitable for use in potentially isolated RS-485 interfaces. Of course however, this invention can also be used wherever it is required to transmit potentially isolated signals or data between an input and an output using a tri-state characteristic.






[0011] This invention is described in more detail below in the light of preferred embodiments with reference to the attached drawing.


[0012]
FIG. 1 shows the principle of construction of a tri-state driver arrangement in accordance with a preferred embodiment of this invention,


[0013]
FIG. 2 shows a current/voltage characteristic of a quasi-linear magnetic coupler used in FIG. 1,


[0014]
FIG. 3 shows signal responses to clarify the principle of operation of the tri-state driver arrangement shown in FIG. 1,


[0015]
FIG. 4A and FIG. 4B show embodiments for the integration of the tri-state driver arrangement according to the invention into a housing in the form of a two-chip solution and a one-chip solution respectively, and


[0016]
FIG. 5 shows an example of the construction of an RS-485 interface with a tri-state driver arrangement according to the state of the art.






[0017] The tri-state driver arrangement 1 shown in FIG. 1 has an input to which an input current IIN is fed. Furthermore, the tri-state driver arrangement has an output, which is to be connected to a two-wire bus cable A, B, for example. The signal transfer between the input and the output of the tri-state driver arrangement is potentially isolated. A magnetic coupler 2 is provided for this purpose, the output voltage of which is amplified by an amplifier 3 and evaluated by a first comparator 4 in order to control a line driver or an output driver 8 accordingly. Furthermore, a second comparator 5 is provided, which also evaluates the output voltage UOUT from the amplifier 3 and, dependent on this, produces an appropriate output signal UF, which is converted with the help of a smoothing filter 6 and a flip-flop 7 into an activating or enable signal UEN1 for the output driver 8.


[0018] The magnetic coupler 2 can particularly be a sensor, which works on the principle of the so-called GMR (“Giant Magnet Resistor”) effect, which detects the change in direction of the magnetic field resulting from the input current IIN and produces an appropriate output voltage UOUT depending on this. At the same time, the magnetic coupler 2 can particularly have a quasi-linear transfer characteristic of the kind shown in FIG. 2. However, the stability and the width of the hysteresis of the characteristic do not play a great part in this invention. It is important however that an output voltage UOUT in the range −UTH . . . +UTH is produced for an input current IIN=0.


[0019] The principle of operation of the tri-state driver arrangement shown in FIG. 1 is as follows.


[0020] As already mentioned, the output voltage UOUT of the magnetic coupler 2 or the amplifier 3 is evaluated or monitored by the comparator S shown in FIG. 1. This comparator can particularly be a window comparator, which monitors the output voltage UOUT with respect to the lower threshold value −UTH and the upper threshold value +UTH, i.e. monitors the input current IIN with respect to the lower threshold value −ITH and the upper threshold value +ITH. If the comparator 5 determines that the output voltage UOUT lies in the range −UTH . . . +UTH, i.e. the input current IIN lies in the range −ITH . . . +ITH, the comparator 5 detects the current-free state at the input to the tri-state driver arrangement and, as a result, produces an output voltage UF, which sets the enable signal UEN1 on the tri-state input of the output driver 8 to a low level “L” via the reset input R of the flip-flop 7 and thus deactivates the output driver 8, i.e. switches it to the tri-state condition. If the output driver 8 is in the tri-state condition, the tri-state driver arrangement 1 is disconnected from the two-wire bus cable A, B on account of the blocked output of the output driver 8 and is thus no longer able to transmit data. On the other hand, if the comparator 5 detects that the output voltage UOUT of the magnetic coupler 2 is less than −UTH or greater than +UTH, i.e. the input current IIN is less than −ITH or greater than +ITH, the enable signal UEN1, is set to a high level “H” via the set input S of the flip-flop 7 and thus activates the output driver 8, so that data can be transmitted over the two-wire bus cable A, B via the output driver 8.


[0021] As has also been previously mentioned, the comparator 4 also monitors the output voltage UOUT of the magnetic coupler 2. This comparator 4 can also be a window comparator, whereby, however, the comparator 4 monitors the output voltage UOUT of the magnetic coupler 2 with respect to the limits −UH and +UH shown in FIG. 2, i.e. monitors the input current IIN with respect to −IMIN and the upper threshold value +IMIN. If the output voltage UOUT of the magnetic coupler 2 falls below the lower threshold value −UH, i.e. the input current IIN falls below the lower threshold value −IMIN, the comparator 4 detects the “low” state −UH and sets the input voltage ULT on the signal input of the output driver 8 to the low level ULT =“L”, i.e. to the logical value ULT=“0”. On the other hand, if the output voltage UOUT exceeds the threshold value +UH, i.e. the input current IIN exceeds the threshold value +IMIN, the comparator 4 detects the “high” state+UH and sets the input voltage ULT of the output driver 8 to the high level “H”, i.e. to the logical value ULT=“1”. As a result, the output driver 8 produces an output voltage UAB corresponding to the input voltage ULT in order to transmit the data or information corresponding to the input current IIN or the output voltage UOUT via the two-wire bus cable A, B.


[0022] The comparator 4 is thus arranged in the transmit path of the tri-state driver arrangement while the comparator 5 is arranged in the tri-state path for activating or deactivating the tri-state condition of the output driver 8.


[0023] As a rule, the input current IIN passes through the range −ITH . . . +ITH many times while data is being transmitted. In order that the output driver 8 is not switched off unnecessarily for short intervals of time, a smoothing filter 6 is connected before the reset input R of the flip-flop 7, the magnitude of whose time constant is chosen so that short pulses of output voltage UF of the comparator 5, which for example have a duration of only 5 to 10 ns, do not lead to a deactivation of the output driver 8. For this purpose, the time constant of the smoothing filter 6 can lie between 50 ns and 100 ns for example.


[0024] The principle of operation of the tri-state driver arrangement of FIG. 1 described above is also clear from the signal waveforms shown as an example in FIG. 3. If a subscriber associated with the tri-state driver arrangement 1 starts to send data (at time tSTART), the comparator 5 detects the start of the transmission (at time tA) and activates the output driver 8 with UEN1=“H”. The output driver 8 is now active and starts to transmit. At times t1 . . . tN−1 short signal pulses UF occur, which are filtered out due to the time constant of the smoothing filter 6 so that the enable signal UEN1 remains constant at the high level “H”. As has already been mentioned, the time duration THL or TLH of these short pulses can lie between 5 ns and 10 ns so that the time constant TF of the smoothing filter 6 should be set to a value between 50 ns and 100 ns in order to guarantee that these short pulses are reliably filtered out. In the example shown in FIG. 3, it is assumed that the transmission of the data is terminated at time tN so that after the time constant TF of the smoothing filter 6 has expired, i.e. at time tSTOP=tN+tF, the output driver 8 is deactivated by setting the enable signal UEN1=“L”.


[0025] The tri-state driver arrangement shown in FIG. 1 can be used for example in a potentially isolated RS-485 interface, whereby, on account of the fact that only one channel is required for transmitting information and for the activation/deactivation of the output driver, the area of silicon required as well as the corresponding bonding effort when integrating into a housing can be reduced. At the same time, the tri-state driver arrangement 1 or the RS-485 interface can be provided in the form of a new type of component in a standard housing (for example in an SO-8 or a DIP-8 package).


[0026] An example of a two-chip solution is shown in FIG. 4A in which two chips 9, 10 (IC1, IC2) are mounted in a common housing and the first chip 9 is used for preparing the signals while the second chip 10 contains the tri-state driver arrangement 1 according to the invention. The arrangement shown in FIG. 4A with two separate chips 9, 10, requires two separate power supply connections VCC1, VCC2 and two separate ground connections GND1, GND2. Furthermore, an input TxD is provided for chip 9 for feeding in the transmission data or for feeding in a transmission signal and an enable input EN. On the other hand, the outputs A, B, which are also shown in FIG. 1, are associated with chip 10.


[0027] An example of a one-chip solution is shown in FIG. 4B, where in this arrangement only one power supply connection VCC2 and one ground connection GND2 are required. The connections required for feeding in the input current to the tri-state driver arrangement 1 are identified by +I and −I respectively. Furthermore, the signal outputs A, B are again provided. The remaining connection pins are not used and are designated with NC.

Claims
  • 1. Tri-state driver arrangement, with a coupler (2) for the potentially isolated transmission of signals between the input and the output of the tri-state driver arrangement (1), with an output driver (8) coupled to the output, and with control means (4-7) for controlling the output driver (8) in order to switch this to a first or second state for transmitting data and to a third state for deactivating the tri-state driver arrangement, characterised in that, the coupler (2) is a magnetic coupler.
  • 2. Tri-state driver arrangement according to claim 1, characterised in that, the magnetic coupler (2) is formed by a sensor, which works on the principle of the GMR (Giant Magnet Resistor) effect.
  • 3. Tri-state driver arrangement according to claim 1, characterised in that, the control means (4-7) are arranged in such a way that they evaluate the output voltage (UOUT) from the magnetic coupler (2), in order to switch the output driver (8) to the third state depending on this.
  • 4. Tri-state driver arrangement according to claim 1, characterised in that, the magnetic coupler (2) is arranged in such a way that it converts an input current (IIN) fed to the input of the tri-state driver arrangement (1) into a corresponding output voltage (UOUT).
  • 5. Tri-state driver arrangement according to claim 1, characterised in that, the control means (4-7) are arranged in such a way that they switch the output driver (8) to the third state when the output voltage (UOUT) from the magnetic coupler (2) lies within a range defined by a first threshold value (−UTH) and a second threshold value (+UTH).
  • 6. Tri-state driver arrangement according to claim 5, characterised in that, the control means incorporate a comparator (5), which produces a control signal (UF) dependent upon the output voltage (UOUT) of the magnetic coupler (2) for controlling the output driver (8), whereby the control signal (UF) assumes a first value, which activates the output driver (8) if the output voltage (UOUT) of the magnetic coupler (2) lies outside the range defined by the first and second threshold values (−UTH, +UTH), whereas the control signal (UF) assumes a second value, which deactivates the output driver (8) and switches it to the third state if the output voltage (UOUT) of the magnetic coupler (2) lies within the range defined by the first and second threshold values (−UTH, +UTH).
  • 7. Tri-state driver arrangement according to claim 6, characterised in that, the control signal (UF) produced by the comparator (5) is fed to the output driver (8) via a smoothing filter (6).
  • 8. Tri-state driver arrangement according to claim 5, characterised in that, the control means incorporate a comparator (4), which sets the input voltage (ULT) of the output driver (8) to a first or second value for transmitting data depending upon the output voltage (UOUT) of the magnetic coupler (2).
  • 9. Tri-state driver arrangement according to claim 8, characterised in that, the comparator (4) sets the input voltage (ULT) of the output driver (8) to the first or second value if the output voltage (UOUT) of the magnetic coupler (2) is larger than a third threshold value (+UH) or less than a fourth threshold value (−UH).
  • 10. Tri-state driver arrangement according to claim 9, characterised in that, the first threshold value (−UTH) is less than the fourth threshold value (−UH) and the third threshold value (+UH) is less than the second threshold value (+UTH).
  • 11. Tri-state driver arrangement according to claim 1, characterised in that, the magnetic coupler (2) has a linear input current/output voltage characteristic.
  • 12. Tri-state driver arrangement with a coupler (2) for the potentially isolated transmission of signals between the input and the output of the tri-state driver arrangement (1), with an output driver (8) coupled to the output, and with control means (4-7) for controlling the output driver (8) in order to switch this to a first or second state for transmitting data and to a third state for deactivating the tri-state driver arrangement, characterised in that, the control means (4-7) are arranged in such a way that they switch the output driver (8) to the third state when an output signal (UOUT) from the coupler (2) lies within a range defined by a first threshold value (−UTH) and a second threshold value (+UTH).
  • 13. Tri-state driver arrangement according to claim 12, characterised in that, the control means (4-7) are arranged in such a way that they switch the output driver (8) to the first or second state for transmitting data when the output signal (UOUT) from the coupler (2) is larger than a third threshold value (+UH) or less than a fourth threshold value (−UH).
  • 14. Tri-state driver arrangement according to claim 12, characterised in that, the first threshold value (−UTH) is less than the fourth threshold value (−UH) and the third threshold value (+UH) is less than the second threshold value (+UTH).
  • 15. Tri-state driver arrangement according to claim 12, characterised in that, the coupler (2) is a magnetic coupler.
  • 16. Tri-state driver arrangement according to claim 15, characterised in that, the magnetic coupler (2) is formed by a sensor, which works on the principle of the GMR (Giant Magnet Resistor) effect.
  • 17. Tri-state driver arrangement according to claim 12, characterised in that, the control means (4-7) are arranged in such a way that they evaluate the output voltage (UOUT) from the coupler (2), in order to switch the output driver (8) to the third state depending on this.
  • 18. Tri-state driver arrangement according to claim 12, characterised in that, the coupler (2) is arranged in such a way that it converts an input current (IIN) fed to the input of the tri-state driver arrangement (1) into a corresponding output voltage (UOUT ).
  • 19. Tri-state driver arrangement according to claim 12, characterised in that, the control means incorporate a comparator (5), which produces a control signal (UF) dependent upon the output voltage (UOUT) of the coupler (2) for controlling the output driver (8), whereby the control signal (UF) assumes a first value, which activates the output driver (8) if the output voltage (UOUT) of the coupler (2) lies outside the range defined by the first and second threshold values (−UTH, +UTH), whereas the control signal (UF) assumes a second value, which deactivates the output driver (8) and switches it to the third state if the output voltage (UOUT) of the coupler (2) lies within the range defined by the first and second threshold values (−UTH, +UTH).
  • 20. Tri-state driver arrangement according to claim 19, characterised in that, the control signal (UF) produced by the comparator (5) is fed to the output driver (8) via a smoothing filter (6).
  • 21. Tri-state driver arrangement according to claim 12, characterised in that, the coupler (2) has a linear input current/output voltage characteristic.
  • 22. Tri-state driver arrangement for connecting a subscriber to a bus cable, with a tri-state driver arrangement (1) according to claim 1 or claim 12, whereby the input side of the tri-state driver arrangement is to be connected to the subscriber via the coupler (2) and the output side to the bus cable (A, B) via the output driver (8).
  • 23. Tri-state driver arrangement according to claim 22, characterised in that, the tri-state interface is arranged as an RS-485 interface.
Priority Claims (1)
Number Date Country Kind
DE 100 46 806.3 Sep 2000 DE