DEVICE FOR DETECTING THE STATE OF A SWITCH

Information

  • Patent Application
  • 20100052705
  • Publication Number
    20100052705
  • Date Filed
    April 03, 2007
    17 years ago
  • Date Published
    March 04, 2010
    14 years ago
Abstract
A device for detecting the state of a switch. The device includes a detection circuit which delivers a signal of specified value (Vpullup) when the value of an electrical quantity (RSw) characterizing the state of the switch is less than a threshold called the lower threshold (Rclosed) and/or a signal of different value when the value of the electrical quantity is greater than a threshold different from the lower threshold, called the upper threshold (Ropen). The disclosed embodiments also concern flight control systems, in which the device is implemented, and the aircraft including the systems.
Description
BACKGROUND

1. Field


The disclosed embodiments concern a device for detecting the state of a switch, allowing the closed and/or open state of a switch to be accurately detected.


2. Brief Description of Related Developments


A switch in the disclosed embodiments is an electronic device allowing the passage of a current to be interrupted or allowed. Different types of switches exist, such as mechanically driven switches, electromagnetically driven switches, and relays. The disclosed embodiments apply to any type of switch for which there exists, between the open and the closed state, a measurable difference in the value of an electrical quantity, such as, for example, the voltage at the terminals of the switch, the switch resistance, the current passing through the switch, the power consumed by the switch, etc. Said electrical quantity characterizes the state of the switch.


In the normal state, when an open switch 1 (FIG. 1) is closed (FIG. 2), the voltage U at its terminals is zero (U=0) or practically zero. Therefore when the switch is not used frequently, it happens that it no longer operates properly: as FIG. 3 shows, the switch 1 exhibits at its terminals a non-negligible resistance 2, called RSw in the closed state. The reasons for this are many: humidity, fouled contacts, etc. As FIG. 3 shows, the voltage U at the terminals of the switch is equal to the product of its resistance RSw times the current strength I that crosses it (U=RSwI), according to Ohm's Law.


Consequences follow from this in the reading of information transmitted by the switch. Thus the information relating to the closure of the contact is not transmitted at the time desired or is not even transmitted at all. By way of example, pitch-trim sensors (switches) built into the joystick of a pilot or a co-pilot in an aircraft cockpit allow the aircraft pitch to be restored. In the event of the poor functioning of these sensors, the information stemming from the manipulation of the joystick no longer, or incorrectly, reaches the flight computers and may lead in particular to safety problems.


of the aspects of the disclosed embodiments are directed to accurately detecting the open and/or closed state of the switch in order for the information transmitted by the switch to be reliable and usable by the system receiving said information.


SUMMARY

The principle of the solution proposed consists of defining the closed state as the open state by crossing a threshold in the value of an electrical quantity characterizing the state of the switch and, for example, in the value of the switch resistance: the switch is considered to be closed when the value of the switch resistance is less than Rclosed (for example, 5 kΩ) and open when the value of the switch resistance is greater than Ropen (for example, 10 kΩ).


The disclosed embodiments could equally use the value of the voltage at the terminals of the switch resistance: the switch is considered to be closed when the value of the voltage at the switch terminals is less than Vclosed and open when the value of the voltage at the switch terminals is greater than Vopen.


The disclosed embodiments rely on a device for detecting the state of a switch, comprising a switch, a feed circuit of said switch being character-ized by the fact that it includes a detection circuit which delivers a signal of a specified value (Vpullup) when the value of an electrical quantity (RSw) characterizing the state of the switch is less than a threshold called the lower threshold (Rclosed) and/or a signal of a different value when the value of said electrical quantity is greater than a threshold different from the lower threshold, called the upper threshold (Ropen).


One of the advantages of the device according to the disclosed embodiments is the accuracy of detecting the open or closed state of the switch, whatever the physical degradation of the switch. Even if the switch exhibits resistance in the closed state, the device detects said state by the passage of a current.


In a particular embodiment of the device in the disclosed embodiments, said electrical quantity is the resistance RSw of the switch and the detection circuit (4) delivers a signal when the value of the resistance is less than a lower resistance threshold (R<Rclosed), and/or a signal of a different value when the value of the resistance is greater than an upper resistance threshold (R>Ropen).


One of the signals indicates the state of closure and the other signal the open state.


Thus, the device according to the disclosed embodiments indicates clearly and accurately the open and closed state of the switch.


According to said particular embodiment, the detection circuit delivers as output two values of different amounts, a first value for which the switch is considered to be in the closed state, when the resistance RSw is less than a first resistance threshold (R<Rclosed) and a second value for which the switch is considered to be in an open state when the resistance RSw is greater than a second resistance threshold (R>Ropen).


According to a particular embodiment of the device, the device includes an adjustment circuit which delivers a voltage, a function of the input switch resistance of said detection circuit.


According to a particular embodiment of the detection circuit according to the disclosed embodiments, the detection circuit includes a hysteresis circuit which delivers a first output-voltage value (VD=Vpullup) for an input voltage less than a first voltage threshold (VHy High and a second output-voltage value (VD=0) for an input voltage greater than a second voltage threshold (VHy Low). The hysteresis circuit includes a feed and resistances with values such that it provides a current allowing the contact of the switch to be cleaned.


According to a particular embodiment of the adjustment circuit according to the disclosed embodiments, the adjustment circuit includes a resistive bridge, which delivers an output voltage as a function of the value of the switch resistance, as well as including resistances and a feed.


According to a particular application, the disclosed embodiments concern a flight-control system equipped with a device for detecting the state of a switch according to the disclosed embodiments.


According to a particular application, the disclosed embodiments concern an aircraft equipped with a device for detecting the state of a switch according to the disclosed embodiments.





BRIEF DESCRIPTION OF THE DRAWINGS

Other aspects, advantages, and characteristics of the disclosed embodiments will appear in reading the following description of the device according to the disclosed embodiments, given as a non-restrictive example, in reference to the figures attached below, in which:



FIGS. 1 and 2 are a schematic and theoretical representation of a switch in the open state and the closed states, respectively;



FIG. 3 represents schematically a switch in the closed state, which exhibits in an actual situation a non-negligible resistance;



FIG. 4 is a simplified schematic representation of different circuits which comprise the device according to the disclosed embodiments;



FIG. 5 is a representation of an electronic schematic of an embodiment of the detection circuit represented in FIG. 4;



FIG. 6 is a diagram representing the operation of the embodiment of the detection circuit represented in FIG. 5, that is, the output-voltage values as a function of the input-voltage values of said detection circuit;



FIG. 7 is a representation of an electronic schematic of an embodiment of the adjustment circuit represented in FIG. 4;



FIG. 8 is a representation of an electronic schematic of a portion of the adjustment circuit complementary to that represented in FIG. 7;



FIG. 9 is a representation of an electronic schematic of an embodiment of the shaping circuit represented in FIG. 4;



FIG. 10 is a diagram representing the operation of the embodiment of the shaping circuit represented in FIG. 9, that is, the output-voltage values as a function of the input-voltage values of said shaping circuit;



FIG. 11 is a representation of an electronic schematic of an embodiment of the device according to the disclosed embodiments.





DETAILED DESCRIPTION OF THE DISCLOSED EMBODIMENTS

The device 3 according to the disclosed embodiments aims to detect and communicate the states of a switch 1: the closed state and the open state. In order to do this, the device 3 according to the disclosed embodiments is based an electrical quantity characterizing the state of the switch 1, such as, for example, the voltage at the terminals of the switch 1 (U=0 when the switch is closed; U< >0 when the switch is open), the resistance of the switch (RSw=0 when the switch is closed; RSw< >0 when the switch is open), the current passing through the switch (I=0 when the switch is open; U [sic]< >0 when the switch is closed), etc.


As illustrated in FIG. 4, the disclosed embodiments include a detection circuit 4 which delivers a signal of specified value indicating the open (or closed) state when the value of said quantity is less than a threshold and/or a signal of different value indicating the closed (or open) state when the value of said electrical quantity is greater than a second threshold different from the first. In this way, despite the existence of a resistance or a non-zero voltage at the terminals of a closed switch, the device detects the closed state of the switch by the intermediary of the threshold (U<Uthreshold or R<Rthreshold).


The device 3 represented in FIG. 4 includes a detection circuit 4 of a switch 1 supplied by a feed circuit 5, and optionally an adjustment/filtering circuit 6, a shaping circuit 7, and a protection circuit 8.


The adjustment circuit 6 in particular allows the signal transmit-ted to the detection circuit 4 to be made to depend on the quantity character-izing the state of the switch. The shaping circuit 7 modifies the signal delivered by the detection circuit 4 in order to be read by the circuit before receiving the information relating to the state of the switch. The protection circuit 8 protects the feed circuit 5 of the switch 1.


In the particular embodiment illustrated in FIGS. 5 to 11, the disclosed embodiments consist of a detection circuit 4 allowing a first signal to be delivered corresponding to the closed state when the value of the switch resistance is less than a threshold Rclosed (RSw<Rclosed) and a second signal to be delivered corresponding to the open state when the value of the switch resistance is greater than a threshold Ropen (RSw>Ropen) different from said threshold Rclosed. There exists a range of switch-resistance values for which the state is undefined, between Rclosed and Ropen. The circuits may be designed to indicate the closed state when the value of the switch resistance is greater than a threshold Ropen (RSw>Ropen) and the open state when the value of the switch resistance is less than a threshold Rclosed (RSw<Rclosed), different from said threshold Ropen. In the embodiment examined above and as will be understood later, it is sufficient, for example, to reverse the trigger circuit represented in FIG. 9.


The switch 1 is supplied by a feed circuit 5, as represented in FIG. 4.


In order to detect the value of the switch resistance, the disclosed embodiments include an adjustment circuit 6 which with the feed circuit 5 allows the quantity (for example, a voltage VA) transmitted to the detection circuit 4 to be made to depend on the resistance of the switch RSw. The adjustment circuit adjusts the quantity characterizing the state of the switch (in the example illustrated, RSw) for the transmission to the detection circuit 4 (in the example illustrated, through a voltage VA). The adjustment circuit 6 likewise has the function of causing sufficient current to pass in the switch resistance RSw in the closed state to “clean the contact of the switch”.


The adjustment circuit 6 is optional. Actually, in some embodiments, the adjustment circuit 4 can directly detect the quantity characterizing the state of the switch (when the quantity used is a voltage, for example).


The device 3 optionally includes a shaping circuit 7 allowing the adjustment of information communicated by the detection circuit 4 (for example, a voltage VD) with the system intended to receive it, as, for example, in the preceding case mentioned of the pitch-trim sensor, adjustment to the constraints imposed by the computer. In the example illustrated, the sensor is connected to the flight computer through a field-programmable gate array (FPGA). The circuit 7 shapes the signal delivered by the adjustment circuit 6 VA in order to be read by the FPGA. Indeed, the FPGA requires rapid rising and falling slopes, depending on the type of component. The shaping circuit adjusts the slopes for reading by the FPGA.


According to a particular illustrative embodiment represented in FIG. 5, the detection circuit 4 includes a hysteresis comparator 9. FIG. 6 represents the voltage VD delivered by the hysteresis comparator as a function of the input voltage VA. The detection circuit 4 delivers an output voltage VD which depends on the input voltage VA present. In the present embodiment, as will be described in detail later, the adjustment circuit 6 and the feed circuit 5 allow an input voltage VA to be delivered from the detection circuit 4, which is a function of the resistance of the switch (RSw). Thus, the detection circuit 4 delivers as output a signal VD which is a function of the switch resistance RSw. The values of the components, and in particular of the resistances and feeds included in the two circuits, are chosen in such a way as to detect the resistances desired, in order to define the open and closed states.


The description that follows describes in more detail the operation of each of the circuits in the embodiments represented in FIGS. 5 to 11.


As shown in FIG. 7, the protection circuit 8 and the adjustment circuit 6 are not separated as illustrated in FIG. 4. According to the embodiments, the circuits that achieve the functions illustrated in FIG. 4 can be organized differently. The switch 1 is fed by a +15-V feed circuit 5. The feed voltage and/or the values of resistances 10 (R1) and 11 (R2) are adjusted in such a way as to provide sufficient current to “clean the contact of the switch”. The adjustment circuit 6 allows for reading the resistance of the switch 1, RSw, through a resistive bridge made up of the resistances 10 (R1), 2 (RSw), and 11 (R2), the feed 5, and the voltage delivered to the detection circuit 4, VA.


The voltage VA has a known value for a resistive bridge of the type illustrated in FIG. 7:





VA=+15R2





R1+R2+RSw


The voltage VA delivered to the detection circuit 4 is thus a function of the resistance 2 of the switch RSw.


The adjustment circuit 6 includes a diode 12 between the feed 5 of the switch and the input to the switch 1. In the embodiment illustrated, the diode 12 is located between the output of the resistance 10 and the input of the switch 1. The diode protects the feed 5 of the switch 1 from any voltages VA that are too high (in the present case, higher than +15 V) which may be inadvertently applied to the diode 12 when the switch 1 is not connected to the detection circuit 4. The input voltage VA delivered from the detection circuit 4 then has the value of:





VA=(+15−Vd)R2





R1+R2+RSw


and therefore always depends on the resistance 2 of the switch (RSw).


The feed 5 must likewise be protected from connection to the supply of the diode 12: in this case, it involves a short-circuit to the feed supply. The values of the resistances are chosen for that purpose to avoid the resistance 10 being drained of too much power.


The values of the resistances R1 and R2 are chosen in order to have a minimum current as said “cleaning current” (for example, on the order of 10 mA) circulating in the switch 1 in the closed position and a voltage VA which is not too large with respect to the voltage allowed by the hysteresis circuit (for example, on the order of 5 V). Therefore the current circulating in the switch is:






I=+15−Vd





R1+R2+RSw


The resistances 10 and 11 (R1 and R2) are therefore chosen in the example illustrated in order that I>10 mA and U<5 V when the resistance of the switch tends toward zero. It is actually necessary that the voltage VA not be greater than the voltage allowed by the hysteresis comparator.


The adjustment circuit 6 can also carry out the function of filtering. FIG. 8 represents a filtering subassembly to be connected to the output of the circuit represented in FIG. 7.


The resistance R2 of the circuit represented in FIG. 8 corresponds to that represented in FIG. 7. As has been previously seen, it enters into the calculation of the voltage VA. The R3C network presented in FIG. 8 is a cutoff frequency filter:





fc=1






2nR3C


According to a particular embodiment, the resistance R3 is fixed at 100 kΩ. The value of the capacitance C must therefore be equal to 22 nF, such that the output cutoff frequency of this group is between 50 Hz and 100 Hz. The cutoff frequency obtained is low, so as to filter any rebounds at the switch or stemming from errors in manipulation.


The voltage VA, which is a function of the value of the switch resistance 2, is, as has been previously seen, applied to the input of the hysteresis circuit 9. As FIG. 9 shows, representing the output-voltage values as a function of the input-voltage values of the hysteresis circuit, the output voltage VD assumes two different values, depending on the input voltage VA. When the input voltage VA is less than VHy High, the output voltage of the circuit VD is equal to Vpullup and when the input voltage VA is greater than VHy Low, the output voltage of the circuit is equal to zero. The hysteresis circuit thus allows the open and closed states of the switch to be accurately detected. As previously seen, the switch is considered to be closed when the switch resistance RSw is less than the threshold value Rclosed (linked to VHy High) (for example, 5 kΩ). When the switch resistance RSw is less than the threshold value Rclosed (linked to VHy Low):


the input voltage of the hysteresis circuit, being equal to the output voltage VA of the adjustment circuit and therefore a function of the switch resistance RSw (and, more accurately, of 1/RSw, according to the equation expressed above), is greater than a voltage threshold VHy Low;


the output voltage of the hysteresis circuit is then equal to 0.


Thus, when the output voltage of the hysteresis circuit 9 is equal to 0, the switch is considered to be closed, because it is sending an output signal from the shaping circuit 7 (trigger 18), as will be seen later in the embodiment described, which corresponds to a high state.


If the switch resistance RSw remains less than the second threshold value Ropen or if the input voltage of the hysteresis circuit is greater than the threshold voltage VHy High, the output voltage of the hysteresis circuit is equal to 0. The switch is considered to be closed.


Similarly, the switch is considered to be open when the switch resistance RSw is greater than the threshold value Ropen (for example, 10 kΩ). When the switch resistance RSw is greater than the threshold value Ropen,


the input voltage of the hysteresis circuit, being equal to the output voltage VA of the adjustment circuit and therefore a function of the switch resistance RSw (and more accurately, of 1/RSw, according to the equation expressed previously), is less than a voltage threshold VHy High;


the output voltage of the hysteresis circuit is then equal to Vpullup.


Thus, when the output voltage of the hysteresis circuit 7 [sic] is equal to Vpullup, the switch is considered to be closed, because it is sending an output signal from the shaping circuit 7 (trigger 18), as will be seen later in the embodiment described, which corresponds to a low state.


If the switch resistance RSw remains greater than the second threshold value Rclosed or if the input voltage of the hysteresis circuit is less than the voltage threshold VHy Low, the output voltage of the hysteresis circuit is equal to Vpullup. The switch is considered to be open.


Thus, when the switch resistance RSw is between the closed threshold value Rclosed and the open threshold value Ropen or is equal to these threshold values, the output voltage of the hysteresis circuit retains the value of the previous state.


If, when put into operation or during reinitialization or the equivalent, the resistance assumes a value between Ropen and Rclosed, the circuit delivers a value by default. A time delay is provided for downstream of the device involved, to allow it time to deliver a signal corresponding to the state of the switch.


The table below links the output voltage of the circuit 4, VD, with the values of the input voltage, thus bearing information on the value of the switch resistance:


Switch closed


Switch open


Switch closed


Switch open

















Switch





resistance
Voltage, VA
Voltage, VD









<Rclosed (5 kΩ)
>VHy Low
0 V



>Ropen (10 kΩ)
<VHy High
Vpullup



Rclosed ≦ R ≦ Ropen
>VHy Low
0 V



and VD(t − 1) = 0



Rclosed ≦ R ≦ Ropen
<VHy High
Vpullup



and



VD(t − 1) = Vpullup










VD(t−1) signifies the value of VD at the preceding moment in time.


The resistances Rclosed and Ropen are chosen in such a way as to deliver a signal corresponding to the exact state of the switch. Thus, if for the switch selected, the threshold value Rclosed below which the switch is considered to be closed by the designer is 4 kΩ, the value chosen could be 5 kΩ, for example, in order to ensure a margin of error. On the other hand, the threshold values will be chosen such that no overlap is possible between them: it will not be possible to have Rclosed≦Ropen. Thus, each resistance value is representative of a unique state of the switch. In this way, the device delivers accurate and reliable information on the open or the closed state of the switch.


The hysteresis thresholds VHy Low and VHy High are obtained in a known manner using the traditional equations which depend on resistances and feed of the hysteresis circuit 9 represented in FIG. 5:





VHy High=5V R5R6





R4R5+R4R6+R5R6






V
Hy Low=5V R5R6+3.3VR4R5





R4R5+R4R6+R5R6 R4R5+R4R6+R5R6


The values of the resistances 13 (R4), 14 (R5), and 15 (R6) and of the feed 16 (here, +5 V) of the hysteresis circuit are therefore chosen in such a way as to have a voltage VHy Low corresponding to a switch resistance of Rclosed=5 kΩ and a voltage VHy High corresponding to a switch resist-ance of Ropen=10 kΩ. The threshold values of 5 kΩ and 10 kΩ are chosen so as to characterize as well as possible the open and closed state of said resistance after it has been tested. These values are therefore given by way of illustration and should not be restrictive in any case. The voltage values VHy Low and VHy High are obtained with the formula given above:






V
Hy Low=(+15−Vd)R2, with RSw=Rclosed=5 kΩ





R1+R2+RSw






V
Hy High=(+15−Vd)R2, with RSw=Ropen=10 kΩ





R1+R2+RSw


The resistance 17, Rpullup (FIG. 5), must be less than the resistance 15 (R6), so as not to have the output voltage from the hysteresis comparator VD fall when it is in the high state (equal to Vpullup).


According to an illustrative embodiment, the shaping circuit 7 (FIG. 4) includes a Schmitt trigger circuit 18. A representation of the circuit 18 of a well-known type is given in FIG. 9. The circuit 18 raises the output level of voltage VD from the detection circuit 4 so as, if necessary, to render it compatible with the circuit receiving the output voltage VD as input. In the example used above in the present description, the switch is a position sensor connected to a flight computer through an FPGA. The output voltage VD from the detection circuit is raised with the aid of the trigger circuit 18 in order to optimize the pro-cessing of data and, in the example illustrated, as was seen previously, to improve the rising and falling slopes. The levels of the output-voltage threshold of the trigger depend on the feed 19, which may be +3.3 volts or another value. The threshold Vhigh of the trigger circuit 18 is chosen such that Vpullup>Vhigh.



FIG. 10 represents the output-voltage values of the trigger as a function of the input-voltage values. When the input voltage is equal to 0, the output voltage is equal to Vadjust; the switch is considered to be closed. When the input voltage is equal to Vpullup (Vpullup being greater than Vhigh), the output voltage is equal to 0; the switch is considered to be open. The voltage Vadjust is raised relative to the voltage Vpullup in order to adjust it during transmission to the circuit receiving the voltage Vm.



FIG. 11 represents an example of an embodiment of the device 3. The device 3 includes an adjustment circuit 5, a detection circuit 4, and a shaping circuit 6.

Claims
  • 1. A device for detecting the state of a switch, including a switch and a feed circuit of said switch, comprising a detection circuit 4 which delivers a signal of specified value (Vpullup) when the value of an electrical quantity (RSw) characterizing the state of the switch is less than a threshold called the lower threshold (Rclosed) and/or a signal of a different value when the value of said electrical quantity is greater than a threshold different from the lower threshold, called the upper threshold (Ropen).
  • 2. A device for detecting the state of a switch, further comprising that the value of said electrical quantity (RSw) is between the lower-threshold value and the upper-threshold value or is equal to these values, the circuit delivers a signal identical to that of the previous state.
  • 3. A device according to claim 1, further comprising that said electrical quantity is the resistance RSw of the switch and that the detection circuit delivers a signal when the value of the resistance is less than a lower resistance threshold (R<Rclosed) and/or a signal of different value when the value of the resistance is greater than an upper resistance threshold (R>Ropen).
  • 4. A detection device according to claim 1, further comprising that one of the signals indicates the closed state and the other signal the open state.
  • 5. A detection device according to claim 1, further comprising that the detection circuit delivers as output two values of different amounts, a first value for which the switch is considered to be in the closed state, when the resistance RSw is less than a first resistance threshold (R<Rclosed) and a second value for which the switch is considered to be in the open state, when the resistance RSw is greater than a second resistance threshold (R>Ropen).
  • 6. A device according to claim 3, further comprising an adjustment circuit which delivers a voltage, a function of the value of the input switch resistance of said detection circuit.
  • 7. A device according to claim 3, further comprising that the detection circuit includes a hysteresis circuit which delivers a first output-voltage value (VD=Vpullup) for an input voltage less than a first voltage threshold (VHy High) and a second output-voltage value (VD=0) for an input voltage greater than a second voltage threshold (VHy Low).
  • 8. A device according to claim 6, further comprising that the adjustment circuit includes a resistive bridge which delivers an output voltage, a function of the value of the switch resistance, as well as including resistances and a feed.
  • 9. A device according to claim 1, further comprising that the hysteresis circuit includes a feed and resistances with values such that it provides a current allowing the contact of the switch to be cleaned.
  • 10. A flight control system, comprising a device according to claim 1.
  • 11. An aircraft, comprising a device according to claim 1.
Priority Claims (1)
Number Date Country Kind
0602915 Apr 2006 FR national
CROSS REFERENCE TO RELATED APPLICATIONS

This application is the National Stage of International Application No. PCT/EP2007/053231, International Filing Date, 3 Apr. 2007, which designated the United States of America, and which International Application was published under PCT Article 21 (2) as WO Publication No. WO2007/113295 and which claims priority from French Application No. 0602915, filed on 4 Apr. 2006, the disclosures of which are incorporated herein by reference in their entireties.

PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/EP07/53231 4/3/2007 WO 00 10/20/2009