APPARATUS FOR DETECTING THE CONDITION OF SWITCHES ON ONE TRANSMISSION LINE

Abstract: The switch condition of two switches (S1, S2) connected in parallel to a single transmission line (11) is detected by the signals output from two Schmitt triggers (10a, 10b) which are arranged to operate at different switching threshold levels by virtue of the output (WA) of one of the triggers (10a) being connected to the threshold level control input (F) of the other trigger (10b). Closure of one of the switches (S1 or S2) causes a reference voltage (UR) to be applied to the inputs of the triggers (10a, 10b) which in turn causes the upper threshold trigger (10a) to operate. Closure of both switches (S1 and S2) reduces the level of the voltage applied to the inputs of the triggers which in turn causes the lower threshold trigger to operate. Preferably, the signal input to the lower threshold trigger is converted into a current prior to application to the trigger due to the relatively small difference in threshold levels.

Description: Apparatus for Detecting the Condition of Switches on One Transmission Line The present invention relates to apparatus for detecting the condition of two switches connected to a single transmission line. Many systems are electronically controlled using microprocessors which are supplied with signals from external sensors. In many systems, the sensors comprise switch devices of one sort or another and it is important to be able to recognise the condition of each switch device. Ideally, each switch device would be connected to the microprocessor by a respective transmission line or else a bus would interconnect all switch devices and each switch device would have a unique address. The first of the ideal solutions is not possible in some circumstances due to lack of space and the second is expensive and requires a special construction of control system. There thus occurs in practice a situation where more than one switch device is connected to a processor by a single transmission line. It is possible to evaluate the conditions of two switch devices on a single transmission using digital evaluation techniques in a digital channel, but often all digital channels in a microprocessor are fully utilised. The present invention provides an arrangement whereby an analog channel can be used to evaluate the condition of each of two switches on a single analog transmission line. The advantages of this arrangement are that no analog channel is required and hence no A/D conver¬ sion. Processor inputs design for other tasks can be utilised with a result in saving development time and cost. In order that the present invention be more readily understood, an embodiment thereof will now be described, by way of example, with reference to the accompanying drawings in which:- Figure 1 is a diagram of circuitry according to the present invention; and Figure 2 shows wave forms which are helpful in explaining the operation of the circuitry shown in Figure 1. The embodiment shown in Figure 1 of the drawings relates to a control circuit based on a hybrid circuit device 10 including two Schmitt trigger de¬ vices 10a, 10b, the first of which has an input WE and an output WA, and the second of which has an input GE and an output GA. The second Schmitt trigger 10b has a control input F. If the input of F is low then the input impedance of the input GE is high otherwise a high voltage on F forces GE to a low input impedance. The output from WA is fed back to the input F of the other Schmitt trigger to ensure that the second Schmitt trigger only switches when the output of the first Schmitt trigger 10a is low. An analog transmission line 11 is connected to the input WE of the first Schmitt trigger via a resistor combination R4, R5 and to the input GE of the second Schmitt trigger via a differentiating capacitor C2 and a resistor divider network R6, R7 whose values set the operating point of the second Schmitt trigger. Two switches S1 and S2 are connected in parallel via. respective series resistors R1 and R2 to the transmis¬ sion line 11. A series connected diode D1 and resistor RO connect the transmission line to a source of refer¬ ence potential UR e.g. at 5 volts, in order to establish a reference voltage level on the transmission line which is independent of battery voltage. However, the transmission line 11 is also connected to battery voltage UB via resistor R3 in order to achieve a large voltage excursion beyond the reference voltage level when both switches S1 and S2 are open. It has been found that optimum voltage excursions of the voltage on the transmission line occurs when RO, R1 and R2 are equal in value. Referring now to Figure 2, this shows four waveform diagrams 2A-2D, the uppermost of which 2A represents the voltage excursions UJN at the input WE of the first Schmitt trigger; the next waveform 2B represents the output voltage U from the output WA of the first Schmitt trigger; the next waveform 2C shows the waveform of the time differential of the waveform UJN i.e. the input to GE as the switches S1 and S2 are closed and opened sequentially; and the final waveform 2D shows the output U from the output GA of the second Schmitt trigger. In the initial condition of the circuitry shown in Figure 1 , the two switches S1 and S2 are assumed to be both open in which case and, as shown in 2A, the voltage on the transmission line 11 approxi¬ mates to battery voltage UB. As soon as one of the switches is closed, the voltage at the input WE of the first Schmitt trigger drops to a reference level deter¬ mined by the value of the reference voltage and the values of the resistors R1 or R2 and RO. As indicated in 2B, the output voltage from the output WA of the first Schmitt trigger drops but the output voltage from the output GA of the second Schmitt trigger is unaf¬ fected as shown in 2D. When both switches S1 and S2 are closed, the voltage waveform 2A drops still further by an amount delta U due to the parallel combination of resistors R1 and R2. This has no effect on the output voltage at the output WA of the first Schmitt trigger but now causes the voltage at the output GA of the second Schmitt trigger to drop as shown in 2D. The voltage excursion delta U when both switches are closed is only relatively small, delta U approximately equals 0.8 volts. The capacitor C2 converts the small voltage excursion into a switching current as indicated in diagram 2C in order to avoid problems due to narrowing of the useful switching excursion caused by earth potential offset and switch¬ ing tolerances had a direct voltage coupling been used as in the input to the first Schmitt trigger. As soon as one of the switches S1 or S2 is opened, the output from the second Schmitt trigger GA goes high as shown on the right-hand side of 2D due to the removal of the offset voltage delta U from the transmission line 11. When the second switch is opened, the circuit returns to its initial conditions as indicated on the right hand side of all the dia¬ grams. As will be seen from Figure 1 , the output WA from the first Schmitt trigger indicates when either S1 or S2 is closed and the output GA from the second Schmitt trigger indicates when both the switches S1 and S2 are closed. Thus, a binary evaluation of the two switch inputs is obtained and can be evaluated by a microprocessor without the need of a A/D converter. There are many instances where there is an unambiguous switching sequence which can be interpreted by the microprocessor i.e. first S1 is closed, then S2 is closed then S2 is opened, and finally S1 is opened.

Claims: CLAIMS : 1. Apparatus for detecting the condition of switches on one transmission line comprising two switch devices (S1 , S2) connected in parallel via respective resistances (R1 , R2) to a transmission line (11), two trigger switching devices (10a, 10b) whose inputs (WE, GE) are connected to the transmission line, means for applying a reference voltage (UR) to the inputs of the two trigger switching devices (10a, 10b), means for setting the threshold of one of the two trigger switch¬ ing devices (10, 10b) to cause the said one device (10a) to be responsive to application of the reference voltage (UR) , and means for setting the threshold of the other of the two trigger switching devices (10b) to a level less than the threshold of the said one trigger switching device (10a), whereby closure of one switch devices (S1),causes said one trigger switching device (10a) to operate and closure of both switching devices (S1 , S2) causes the other trigger switching device (10b) to operate. 2. Apparatus according to claim 1, wherein the trigger switching devices (10a, 10b) are Schmitt trig¬ gers and the output (WA) of the first trigger (10a) is fed to the threshold control input (F) of the second trigger (10b). 3. Apparatus according to claim 1 or 2, wherein the transmission line is connected to the input (GE) of the second trigger switching device (10b) via a device (C2) for converting the voltage or the transmission lien (11) to a current. 4. Apparatus according to claim 3, wherein the converting device is a differentiating capacitor. 5. Apparatus according to any one of the preced¬ ing claims, wherein the means for applying the refer¬ ence voltage (UR) to the transmission line (11) com¬ prises a series connected resistance (RO) and diode (D1). 6. Apparatus according to claim 5, wherein the resistance values of the series connected resistance (RO) and the respective resistances (R1 , R2) of the two switch devices (S1 , S2) are all the same.

Inventors: HUESER KLAUS, HUESER, KLAUS
Applicants: BOSCH GMBH ROBERT, ROBERT BOSCH GMBH
Application year: 1988
Main classification: H03K17
IPC codes: H03K17