EP0619925A4 - Integrator having switched hysteresis for proximity switches. - Google Patents

Integrator having switched hysteresis for proximity switches.

Info

Publication number
EP0619925A4
EP0619925A4 EP93902771A EP93902771A EP0619925A4 EP 0619925 A4 EP0619925 A4 EP 0619925A4 EP 93902771 A EP93902771 A EP 93902771A EP 93902771 A EP93902771 A EP 93902771A EP 0619925 A4 EP0619925 A4 EP 0619925A4
Authority
EP
European Patent Office
Prior art keywords
integrator
current
hysteresis
comparator
current source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP93902771A
Other languages
German (de)
French (fr)
Other versions
EP0619925A1 (en
Inventor
Douglas William Hudson Calder
Arthur James Saffron Cl Bizley
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric USA Inc
Original Assignee
Square D Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Square D Co filed Critical Square D Co
Publication of EP0619925A1 publication Critical patent/EP0619925A1/en
Publication of EP0619925A4 publication Critical patent/EP0619925A4/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/945Proximity switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/02Generators characterised by the type of circuit or by the means used for producing pulses
    • H03K3/023Generators characterised by the type of circuit or by the means used for producing pulses by the use of differential amplifiers or comparators, with internal or external positive feedback
    • H03K3/0233Bistable circuits
    • H03K3/02337Bistables with hysteresis, e.g. Schmitt trigger

Definitions

  • This invention relates to a combined integrator and level detector circuit with switched hysteresis and temperature compensation, which is suitable for implementation in an integrated circuit.
  • This configuration is usable in sensors and in particular, inductive proximity switches.
  • proximity switch including an integrator arranged to provide a supplementary current source which is responsive to an output from a sensing circuit of the proximity switch to provide switched hysteresis.
  • an integrator with switched hysteresis for inductive proximity switches comprising a reference current source connected between a reference voltage supply rail and a first side of a current mirror, a second side of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor and also to one input of a two input comparator, the other input of the comparator being held at a threshold level, wherein a fixed hysteresis current source is provided in parallel with the reference current source, the fixed hysteresis current source producing a switchable current which is a fixed proportion of th current of the reference current source, the fixed hysteresis current source being switched on (off) when a target is detected and off (on) when no target is detected.
  • the reference current source may be provided by a current mirror comprising two transistors having a predetermined area ratio.
  • the hysteresis current source may be provided by a second output of the reference current mirror comprising a third t ransistor having an n:l area ratio wi h a first of the two t ansistors, wl.arein n is any number.
  • Emitter resistors may be provided on an input side and/or a output side of the current mirrors, which permits large current ratios to be achieved without the cost of larger transistor area ratios. This also allows the temperature coefficient to be preset in magnitude and direction to offset the intrinsic temperature coefficient of the sensor disclosed in co-pending GB 9127570.1.
  • the comparator may have a first output used to drive an output from the sensor.
  • the comparator may further have a second output which controls a switch which is used to switch the detection hysteresis current on or off.
  • the comparator may have a third output which modifies the comparator threshold to improve electrical noise immunity and be less affected by ripple on the signal current.
  • the second and third outputs are connected to first and second saturating transistors.
  • a diode is provided, the cathode of which is connected to the hysteresis current source, and the anode of which is connected to the capacitor.
  • the voltage across the integrating capacitor is limited close to the comparator threshold. This may be done by providing PNP and NPN transistors, their bases being connected to the comparator threshold, while their emitters are connected to the capacitor, their collectors being connected to respective reference supply rails. This increases the operating speed of the proximity switch.
  • an integrated circuit for use in an integrator as hereinbefore described.
  • Figure 1 A schematic circuit diagram of a typical basic integrator,* Figure 2.
  • Figure 2. A schematic circuit diagram of an integrator according to the present invention;
  • Figure 3. A curve showing hysteresis achieved by switching the oscillator operating point;
  • Figure 4. A curve showing hysteresis as employed in the present invention;
  • Figure 5. A first embodiment of reference and hysteresis current sources for use in an integrator according to the present invention;
  • FIG. 6 A second embodiment of reference and hysteresis current sources for use in an integrator according to the present invention.
  • Figure 7 A schematic circuit diagram of a control and source for the integrator reference current
  • Figure 8 A schematic circuit diagram of the circuitry required to set the threshold level of the comparator
  • Figure 9 A schematic circuit diagram of the circuitry necessary to limit the extent of the inte g rating capacitor voltage.
  • an integrator comprising a reference current source IREF connected between a reference voltage srpply rail VREF and a first side of a current mirror, a sec o nd side, of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor CINT and also to one input of a two input comparator, the other input of the comparator being held at a threshold level.
  • a reference current source IREF connected between a reference voltage srpply rail VREF and a first side of a current mirror, a sec o nd side, of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor CINT and also to one input of a two input comparator, the other input of the comparator being held at a threshold level.
  • the integrator 5 operates by charging (or discharging) the capacitor CINT with the difference between a unidirectional current (the full wave rectified oscillator signal current) and a stable reference current IREF.
  • the capacitor voltage will ramp up (or down) continuously when there is a difference current and remain stable when the mean difference current is zero.
  • the actual capacitor voltage at any specific time is immaterial, target detection will occur when the sense of the ramp is reversed.
  • any reasonable voltage reference point between the integrator supply rails may be used to detect a change in the sense of the ramp. This system is a true integrator.
  • the integrator 5 comprises a reference current source IREF connected between a reference voltage supply rail VREF and a first side of a current mirror, a second side of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor CINT and also to one input of a two input comparator, the other input of the comparator being held at a threshold level, wherein a fixed hysteresis current source IHYST is provided in parallel with the reference current source IREF, the fixed hysteresis current source IHYST producing a switchable current which is a fixed proportion of the current of the reference current source IREF, the fixed hysteresis current source IHYST being switched on (off) when a target is detected and off (on) when no target is detected.
  • a fixed hysteresis current source IHYST is provided in parallel with the reference current source IREF
  • the fixed hysteresis current source IHYST producing a switchable current which is
  • the additional reference current IHYST is switched off when target removal is detected.
  • the curve of Fig 3 shows one method of hysteresis where the reference is fixed and the oscillator response is modified by changing its operating point.
  • the curve of Fig 4 shows the methods employed in the presen invention.
  • the reference current source IRE is provided by a first output of a current mirror comprising first and second transistors having a predetermined area ratio - normally 1:1. Further, the hysteresis current source is provide by a second output of the reference current mirror comprising a third transistor having a n:l area ratio with the first transistor, where n is a whole number.
  • n 20. This very large area in tw transistors is impractical.
  • a modified scheme is to reduce the area ratios (and overall transistor areas) and redress the balance using emitter resistors, as shown in Fig 6.
  • the area ratio of Q3 to Q4 (IREF:IHYST) is 4:1 and the current ratio is further reduced by the ratio of R2 to RHYST.
  • RHYST is made an external resistor which is chosen by the application requirement of the various sensors to set the hysteresis.
  • the values of the fundamental current, and the integrated emitter resistors Rl and R2 are chosen to produce the required IREF of 31.8 ⁇ A and to correct for the temperature co-efficient of the ratio and the residual temperature coefficient of the fundamental current versus the oscillator/rectifier temperature coefficient of co- pending application GB 91 27 570.1.
  • Q2 is included to reduce base current errors in the mirrors.
  • the reference and hysteresis currents IREF, IHYST are created by a current mirror with two outputs. The ratio between these two outputs determines the amount of target hysteresis and is set by the two transistor areas and the values of emitter resistors Rl, R2, RHYST used.
  • the emitter resistor RHYST of the hysteresis transistor may be varied to adjust the target hysteresis, and is independent of the oscillator sense distance setting.
  • the temperature coefficient of the reference current IREF is determined by the values of the emitter resistors of the mirror input and reference output transistors, and by the temperature coefficient of the fundamental input current. During circuit design the circuit can be adjusted to compensate for any intrinsic oscillator temperature coefficient effect.
  • the reference current output IREF is connected directly to the integrating capacitor CINT, but the hysteresis current IHYST is connected via a forward biased diode Dl.
  • a saturating transistor shown as switch SI switched off and on at target detection and removal by the comparator, is used to reverse bias the diode Dl and sink the hysteresis current away from the integrating capacitor CINT.
  • Fig 7 there is shown a practical control and source for the integrator reference current, IREF.
  • the sense of the fundamental integrator reference has to be reversed in practice. This imposes the use of a simple current mirror to retain the fundamental reference to the correct sense. This is an advantage as any temperature effects in this mirror are cancelled by a similar mirror in the oscillator/rectifier circuit of co-pending application GB 91 27 570.1. Q5 plus Q6 form this sense reversing mirror.
  • a reference voltage DREF is created by a potential divider R4, R5 from a local stable supply rail VREF.
  • the voltage DREF appears across R3 via the emitter followers Q7 (NPN) and Q8 (PNP) and creates a current DREF/R3 in the collector of Q8 and thence in the collector of Q6.
  • the value of R3 is chosen to be the same as the rectifier resistors (eg.lOK) in co-pending application GB 91 27 570.1 so that the combination of one NPN Vbe, one PNP Vbe and lOKohms resistor gives a temperature co-efficient match of the integrator reference current and the rectifier signal current.
  • the potential divider R4/R5 will be chosen to provide the required integrator reference current IREF.
  • the bias current for Q7 is derived via Q9, R6 from a common chip bias volt-ge.
  • Q7 base current errors in the potential divider R4/R5 are compensated by providing Q7 base current from Q13 collector.
  • a dummy emitter follower, Qll is biased by the collector current of Q10 which sits on the common bias line.
  • Th ratio mirror combination of Q10/R7 and Q9/R6 sets up a bias current in the emitter of Qll equal to 1/3 of the bias current o Q7.
  • the base current for Qll is supplied by the diode connected input transistor of the current mirror Q12/Q13.
  • Qll base curren is therefore 1/3 of the Q7 base current.
  • the Q12/Q13 mirror is area ratioed 3:1, and so the collector current of Q13 provides exactly the base current required by Q7 and no base currents flo in the potential divider.
  • the integrator capacitor voltage is applied as the input to a comparator.
  • the comparator consist of two simple long tailed pair amplifiers sharing two inputs and providing three outputs.
  • the second input is set to the switching threshold of the comparator.
  • One of the outputs provides the drive which subsequently operates the output of the sensor.
  • the second output (a saturating transistor) is used to pull down and sink away the detection hysteresis current IHYST.
  • the phase of this output is arranged such that on a positive going transition of the integrator capacitor voltage (target detected) the output transistor is switched off allowing the extra IHYST to flow into the capacitor.
  • the third output is the same as the second but in the opposite phase and is used to reduce the comparator threshold voltage on a positive going transition of the integrator. This creates a snap action hysteresis for the comparator.
  • the nominal threshold voltage of the comparator is set by a constant current flowing through a diode connected NPN transistor Q18 in series with a resistor R9.
  • Threshold hysteresis is implemented by using an output 3 of the comparator to switch an extra current into the resistor R9/diode Q18. This hysteresis provides protection against noise (mainly the integrator ripple from the full wave rectification) .
  • a diode and resistor are used to set the threshold so that the temperature co-efficient of the diode roughly offsets the temperature co-efficient of the resistor and to lift the threshold to a usable value.
  • Q14/R8 are chosen to produce a bias current from the chip common bias line. This current is mirrored in Q15/Q16/Q17 in a ratio of 0.5:2.5:0.5 producing two output currents from Q16 and Q17.
  • the current from Q16 collector flows through the diode connected transistor Q18 and resistor R9 to create the nominal threshold voltage.
  • the current from Q17 collector is routed via the diode connected transistor Q19 to add to the current from Q16 thus increasing the threshold voltage. Diode Q19 is switched on and off by the output 3 of the comparator.
  • the comparator threshold hysteresis is achieved in the following way.
  • the basic threshold voltage is set by a constant current source flowing in a resistor R9.
  • a diode Q18 is connected in series with the resistor R9 to limit the value of resistor required and to largely offset the temperature drift of the resistor R9.
  • a small additional current is applied to the resistor R9 and diode Q18 via a second forward biased diode thus increasing the threshold voltage.
  • a saturating transistor switched on by the comparator output, is used to reverse bias the second diode and sink away the additional current. This reduces the threshold and creates the comparator hysteresis.
  • an NPN Q20 and a PNP transistor Q21 are used to limit the excursion of the integrating capacitor voltage to the comparator threshold +/- one Vbe. Without this mechanism, on slow moving or static targets, the integrating capacitor will ramp up or down, unconstrained until either the reference current output or the signal current output becomes saturated. Recovery from the states by a sudden change in the target position will be slow, restricting the speed of operation of the sensor. In the condition of a target closer than detection, the signal current (see Fig 9) , will be smaller than IREF giving a net charging current for CINT. The voltage on CINT will rise above the comparator threshold causing Q21 base emitter junction to conduct.
  • the CINT voltage will continue to rise until the base emitter current is equal to the net charging current. During this time Q20 will be cut off. Since the CINT voltage would have exceeded the threshold voltage the comparator output would have switched. In the extreme with a very close target th voltage on CINT can only reach Q21 Vbe above threshold. On switching the comparator, CINT voltage is just above threshold and Q21 is barely conducting. However the comparator hysteresis will suddenly reduce the threshold voltage, further turning on Q21 and allowing it to conduct much more of the excess current.
  • FIG 10 there is provided a schematic circuit diagram of an actual embodiment of the present invention, omitting the comparator.
  • Fig 10 is self-evident to a skilled person, and is not discussed any further herein.
  • an integrating capacitor In normal inductive proximity switch electronics an integrating capacitor is charged (or discharged) by the high signal current when the sensor target is removed but requires a separate discharge (charge) path when the target is closer than detection (no signal current) . This has a detrimental effect on the speed of operation of the sensor.
  • the integrator described hereinbefore includes a novel circuit which limits the charging (discharging) voltage excursion of the capacitor thus further improving its speed of operation.
  • this circuit automatically sets the detection point of the integrator equal to the threshold of a subsequent comparator thus eliminating the errors due to voltage and temperature drift of the comparator threshold.
  • detection hysteresis is normally provided at the oscillator by connecting or disconnecting additional loss components at the LC network or the distance setting network. This makes it difficult to design and set the sensing distance circuits and to implement temperature compensation of both the sensing distance and hysteresis.
  • the circuit described hereinbefore provides the sensor hysteresis function within the integrator remote from the oscillator allowing independent setting of the detection hysteresis.

Landscapes

  • Electronic Switches (AREA)

Description

INTEGRATOR HAVING SWITCHED HYSTERESIS FOR PROXIMITY SWITCHES
This invention relates to a combined integrator and level detector circuit with switched hysteresis and temperature compensation, which is suitable for implementation in an integrated circuit. This configuration is usable in sensors and in particular, inductive proximity switches.
According to one aspect of the invention there is provided proximity switch including an integrator arranged to provide a supplementary current source which is responsive to an output from a sensing circuit of the proximity switch to provide switched hysteresis.
According to a second aspect of the present invention there is provided an integrator with switched hysteresis for inductive proximity switches comprising a reference current source connected between a reference voltage supply rail and a first side of a current mirror, a second side of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor and also to one input of a two input comparator, the other input of the comparator being held at a threshold level, wherein a fixed hysteresis current source is provided in parallel with the reference current source, the fixed hysteresis current source producing a switchable current which is a fixed proportion of th current of the reference current source, the fixed hysteresis current source being switched on (off) when a target is detected and off (on) when no target is detected.
The reference current source may be provided by a current mirror comprising two transistors having a predetermined area ratio.
The hysteresis current source may be provided by a second output of the reference current mirror comprising a third transistor having an n:l area ratio wi h a first of the two t ansistors, wl.arein n is any number.
Emitter resistors may be provided on an input side and/or a output side of the current mirrors, which permits large current ratios to be achieved without the cost of larger transistor area ratios. This also allows the temperature coefficient to be preset in magnitude and direction to offset the intrinsic temperature coefficient of the sensor disclosed in co-pending GB 9127570.1.
The comparator may have a first output used to drive an output from the sensor.
The comparator may further have a second output which controls a switch which is used to switch the detection hysteresis current on or off.
The comparator may have a third output which modifies the comparator threshold to improve electrical noise immunity and be less affected by ripple on the signal current.
Preferably, the second and third outputs are connected to first and second saturating transistors.
Preferably, a diode is provided, the cathode of which is connected to the hysteresis current source, and the anode of which is connected to the capacitor.
Preferably, the voltage across the integrating capacitor is limited close to the comparator threshold. This may be done by providing PNP and NPN transistors, their bases being connected to the comparator threshold, while their emitters are connected to the capacitor, their collectors being connected to respective reference supply rails. This increases the operating speed of the proximity switch.
According to another aspect of the present invention there is provided an integrated circuit for use in an integrator as hereinbefore described.
Various embodiments of the invention will now be described by way of example only with reference to the accompanying drawings which are:
Figure 1. A schematic circuit diagram of a typical basic integrator,* Figure 2. A schematic circuit diagram of an integrator according to the present invention; Figure 3. A curve showing hysteresis achieved by switching the oscillator operating point; Figure 4. A curve showing hysteresis as employed in the present invention; Figure 5. A first embodiment of reference and hysteresis current sources for use in an integrator according to the present invention;
Figure 6. A second embodiment of reference and hysteresis current sources for use in an integrator according to the present invention;
Figure 7. A schematic circuit diagram of a control and source for the integrator reference current;
Figure 8. A schematic circuit diagram of the circuitry required to set the threshold level of the comparator;
Figure 9. A schematic circuit diagram of the circuitry necessary to limit the extent of the integrating capacitor voltage; and
Figure 10. A circuit diagram of an actual embodiment
(without comparator) of the present invention, which is incorporated on the same integrated circuit as the oscillator/rectifier of co-pending application GB 91 27 570.1.
Basic Integrator
Referring to Fig 1, there is illustrated an integrator, generally designated 5, comprising a reference current source IREF connected between a reference voltage srpply rail VREF and a first side of a current mirror, a second side, of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor CINT and also to one input of a two input comparator, the other input of the comparator being held at a threshold level.
Referring to Fig 1, the integrator 5 operates by charging (or discharging) the capacitor CINT with the difference between a unidirectional current (the full wave rectified oscillator signal current) and a stable reference current IREF. The capacitor voltage will ramp up (or down) continuously when there is a difference current and remain stable when the mean difference current is zero. The actual capacitor voltage at any specific time is immaterial, target detection will occur when the sense of the ramp is reversed. Thus any reasonable voltage reference point between the integrator supply rails may be used to detect a change in the sense of the ramp. This system is a true integrator.
At target detection Vosc=500mV peak in a 10 Koh s rectifier resistor, ie 50μA peak or 31.8μA mean. Therefore, with IREF=31.8μA the net integrator current is zero.
Sensor Hysteresis
Referring to Fig 2 there is provided an integrator, generally designated 5, with switched hysteresis for inductive proximity switches according to the present invention. The integrator 5 comprises a reference current source IREF connected between a reference voltage supply rail VREF and a first side of a current mirror, a second side of the current mirror being connected to a proximity switch rectifier, the first side of the current mirror further being connected with a capacitor CINT and also to one input of a two input comparator, the other input of the comparator being held at a threshold level, wherein a fixed hysteresis current source IHYST is provided in parallel with the reference current source IREF, the fixed hysteresis current source IHYST producing a switchable current which is a fixed proportion of the current of the reference current source IREF, the fixed hysteresis current source IHYST being switched on (off) when a target is detected and off (on) when no target is detected.
Detection hysteresis of the detection point is achieved by switching on the (small) additional reference current IHYST=IREF/n when the target is detected. This increases the integrating capacitor voltage ramp rate and requires a larger signal current than detection to reverse the voltage ramp on removal of the' arget. The additional reference current IHYST is switched off when target removal is detected.
The curve of Fig 3 shows one method of hysteresis where the reference is fixed and the oscillator response is modified by changing its operating point. The curve of Fig 4 shows the methods employed in the presen invention.
Integrator Reference and Hysteresis Current Sources
If the reference current and hysteresis current are created in a current mirror network then the ratio between detection and hysteresis will remain sensibly constant. From previous inductive proximity sensor work a nominal target distance hysteresis of 10% of sensing distance requires approximately 5% of signal hysteresis. This is roughly true for most sizes of sensors. In a ratio mirror this will be as shown in Fig 5.
As can be seen from Fig 5, the reference current source IRE is provided by a first output of a current mirror comprising first and second transistors having a predetermined area ratio - normally 1:1. Further, the hysteresis current source is provide by a second output of the reference current mirror comprising a third transistor having a n:l area ratio with the first transistor, where n is a whole number.
For 5% signal hysteresis, n=20. This very large area in tw transistors is impractical. A modified scheme is to reduce the area ratios (and overall transistor areas) and redress the balance using emitter resistors, as shown in Fig 6.
In this modified scheme the transistor areas are considerably reduced (and the supply current requirement of the fundamental reference is also reduced) .
In Fig 6, the area ratio of Q3 to Q4 (IREF:IHYST) is 4:1 and the current ratio is further reduced by the ratio of R2 to RHYST. In an integrated circuit embodiment RHYST is made an external resistor which is chosen by the application requirement of the various sensors to set the hysteresis. The values of the fundamental current, and the integrated emitter resistors Rl and R2 are chosen to produce the required IREF of 31.8μA and to correct for the temperature co-efficient of the ratio and the residual temperature coefficient of the fundamental current versus the oscillator/rectifier temperature coefficient of co- pending application GB 91 27 570.1. In the embodiment shown in Fig 6, Q2 is included to reduce base current errors in the mirrors.
In summary, the reference and hysteresis currents IREF, IHYST are created by a current mirror with two outputs. The ratio between these two outputs determines the amount of target hysteresis and is set by the two transistor areas and the values of emitter resistors Rl, R2, RHYST used. The emitter resistor RHYST of the hysteresis transistor may be varied to adjust the target hysteresis, and is independent of the oscillator sense distance setting.
The temperature coefficient of the reference current IREF is determined by the values of the emitter resistors of the mirror input and reference output transistors, and by the temperature coefficient of the fundamental input current. During circuit design the circuit can be adjusted to compensate for any intrinsic oscillator temperature coefficient effect.
As can be seen from Fig 2 the reference current output IREF is connected directly to the integrating capacitor CINT, but the hysteresis current IHYST is connected via a forward biased diode Dl. A saturating transistor shown as switch SI, switched off and on at target detection and removal by the comparator, is used to reverse bias the diode Dl and sink the hysteresis current away from the integrating capacitor CINT.
Referring now to Fig 7 there is shown a practical control and source for the integrator reference current, IREF. As is apparent from Fig 7 the sense of the fundamental integrator reference has to be reversed in practice. This imposes the use of a simple current mirror to retain the fundamental reference to the correct sense. This is an advantage as any temperature effects in this mirror are cancelled by a similar mirror in the oscillator/rectifier circuit of co-pending application GB 91 27 570.1. Q5 plus Q6 form this sense reversing mirror.
As can be seen from Fig 7, a reference voltage DREF is created by a potential divider R4, R5 from a local stable supply rail VREF. The voltage DREF appears across R3 via the emitter followers Q7 (NPN) and Q8 (PNP) and creates a current DREF/R3 in the collector of Q8 and thence in the collector of Q6. The value of R3 is chosen to be the same as the rectifier resistors (eg.lOK) in co-pending application GB 91 27 570.1 so that the combination of one NPN Vbe, one PNP Vbe and lOKohms resistor gives a temperature co-efficient match of the integrator reference current and the rectifier signal current. The potential divider R4/R5 will be chosen to provide the required integrator reference current IREF.
The bias current for Q7 is derived via Q9, R6 from a common chip bias volt-ge. Q7 base current errors in the potential divider R4/R5 are compensated by providing Q7 base current from Q13 collector. A dummy emitter follower, Qll, is biased by the collector current of Q10 which sits on the common bias line. Th ratio mirror combination of Q10/R7 and Q9/R6 sets up a bias current in the emitter of Qll equal to 1/3 of the bias current o Q7. The base current for Qll is supplied by the diode connected input transistor of the current mirror Q12/Q13. Qll base curren is therefore 1/3 of the Q7 base current. The Q12/Q13 mirror is area ratioed 3:1, and so the collector current of Q13 provides exactly the base current required by Q7 and no base currents flo in the potential divider.
Referring again to Fig 2, the integrator capacitor voltage is applied as the input to a comparator. The comparator consist of two simple long tailed pair amplifiers sharing two inputs and providing three outputs. The second input is set to the switching threshold of the comparator. One of the outputs provides the drive which subsequently operates the output of the sensor. The second output (a saturating transistor) is used to pull down and sink away the detection hysteresis current IHYST. The phase of this output is arranged such that on a positive going transition of the integrator capacitor voltage (target detected) the output transistor is switched off allowing the extra IHYST to flow into the capacitor. The third output is the same as the second but in the opposite phase and is used to reduce the comparator threshold voltage on a positive going transition of the integrator. This creates a snap action hysteresis for the comparator.
Referring to Fig 8, the nominal threshold voltage of the comparator is set by a constant current flowing through a diode connected NPN transistor Q18 in series with a resistor R9. Threshold hysteresis is implemented by using an output 3 of the comparator to switch an extra current into the resistor R9/diode Q18. This hysteresis provides protection against noise (mainly the integrator ripple from the full wave rectification) . A diode and resistor are used to set the threshold so that the temperature co-efficient of the diode roughly offsets the temperature co-efficient of the resistor and to lift the threshold to a usable value.
Q14/R8 are chosen to produce a bias current from the chip common bias line. This current is mirrored in Q15/Q16/Q17 in a ratio of 0.5:2.5:0.5 producing two output currents from Q16 and Q17. The current from Q16 collector flows through the diode connected transistor Q18 and resistor R9 to create the nominal threshold voltage. The current from Q17 collector is routed via the diode connected transistor Q19 to add to the current from Q16 thus increasing the threshold voltage. Diode Q19 is switched on and off by the output 3 of the comparator.
In summary, the comparator threshold hysteresis is achieved in the following way. The basic threshold voltage is set by a constant current source flowing in a resistor R9. A diode Q18 is connected in series with the resistor R9 to limit the value of resistor required and to largely offset the temperature drift of the resistor R9. A small additional current is applied to the resistor R9 and diode Q18 via a second forward biased diode thus increasing the threshold voltage. When the threshold is exceeded by a positive going integrator voltage a saturating transistor, switched on by the comparator output, is used to reverse bias the second diode and sink away the additional current. This reduces the threshold and creates the comparator hysteresis.
Referring to Fig 9 an NPN Q20 and a PNP transistor Q21 are used to limit the excursion of the integrating capacitor voltage to the comparator threshold +/- one Vbe. Without this mechanism, on slow moving or static targets, the integrating capacitor will ramp up or down, unconstrained until either the reference current output or the signal current output becomes saturated. Recovery from the states by a sudden change in the target position will be slow, restricting the speed of operation of the sensor. In the condition of a target closer than detection, the signal current (see Fig 9) , will be smaller than IREF giving a net charging current for CINT. The voltage on CINT will rise above the comparator threshold causing Q21 base emitter junction to conduct. The CINT voltage will continue to rise until the base emitter current is equal to the net charging current. During this time Q20 will be cut off. Since the CINT voltage would have exceeded the threshold voltage the comparator output would have switched. In the extreme with a very close target th voltage on CINT can only reach Q21 Vbe above threshold. On switching the comparator, CINT voltage is just above threshold and Q21 is barely conducting. However the comparator hysteresis will suddenly reduce the threshold voltage, further turning on Q21 and allowing it to conduct much more of the excess current.
For distant targets (signal current-*IREF) the operating mechanism is the same except that Q20 conducts the excess curren and Q21 is cut off. The lower limit on the excursion of the voltage on CINT is then the comparator reference voltage minus Q20 Vbe drop. The limited excursion of CINT voltage allows for much faster recovery from near or far targets thus improving the speed of the integrator system.
In the condition of just on detection where signal current=IREF, there is no excess current to turn on either Q20 o Q21. Both base emitter voltages will be zero and CINT voltage will equal the threshold voltage regardless of the value of the threshold voltage. The mechanism is therefore immune from temperature or voltage drift of the threshold.
Referring to Fig 10, there is provided a schematic circuit diagram of an actual embodiment of the present invention, omitting the comparator.
Fig 10 is self-evident to a skilled person, and is not discussed any further herein.
In normal inductive proximity switch electronics an integrating capacitor is charged (or discharged) by the high signal current when the sensor target is removed but requires a separate discharge (charge) path when the target is closer than detection (no signal current) . This has a detrimental effect on the speed of operation of the sensor. The integrator described hereinbefore includes a novel circuit which limits the charging (discharging) voltage excursion of the capacitor thus further improving its speed of operation.
In addition this circuit automatically sets the detection point of the integrator equal to the threshold of a subsequent comparator thus eliminating the errors due to voltage and temperature drift of the comparator threshold.
Further, detection hysteresis is normally provided at the oscillator by connecting or disconnecting additional loss components at the LC network or the distance setting network. This makes it difficult to design and set the sensing distance circuits and to implement temperature compensation of both the sensing distance and hysteresis. The circuit described hereinbefore provides the sensor hysteresis function within the integrator remote from the oscillator allowing independent setting of the detection hysteresis.
Finally, it should be appreciated that the embodiments of the invention hereinbefore described are given by way of example only and are not meant to limit the scope of the invention in any way.

Claims

Claims
1. A proximity switch including an integrator arranged to provide a supplementary current source which is responsive to an output from a sensing circuit of the proximity switch to provide switched hysteresis.
2. An integrator with switched hysteresis for inductive proximity switches comprising a reference current source connected between a reference voltage supply rail and one side of a current mirror, the other side of the current mirror being connected to a proximity switch rectifier, the one side of the current mirror further being connected in parallel with a capacitor and also to one input of a two input comparator, the other input to the comparator being held at a threshold level, wherein a fixed current source is provided in parallel with the reference current source, the fixed hysteresis current source producing a switchable current which is a fixed proportion of the current of the reference current source, the fixed hysteresis current source being switched on (off) when a target is detected and off (on) when no target is detected.
3. An integrator as claimed in claim 2, wherein the reference current source is provided by a current mirror comprising two transistors having a predetermined area ratio.
4. An integrator as claimed in claim 3, wherein the hysteresis current source is provided by a current mirror comprising two transistors having an n:l area ratio, wherein n is any whole number other than one.
5. An integrator as claimed in claim 4, wherein emitter resistors are provided on an input side and/or an output side of the current mirrors. 6. An integrator as claimed in any of claims 2 to 5, wherein the comparator has a first output used to drive an output from the sensor.
7. An integrator as claimed in claim 6 wherein the comparator has another output which controls a switch which is used to switch the detection hysteresis current on or off.
8. An integrator as claimed in claim 7, wherein the other output comprises second and third outputs connected to first and second saturating transistors.
9. An integrator as claimed in claim 8, wherein a diode is provided, the cathode of which is connected to the hysteresis current source, and the anode of which is connected to the capacitor.
10. An integrator as claimed in any of claims 2 to 5, wherein the voltage across the integrating capacitor is limited to the comparator threshold by providing a PNP and an NPN transistor, their bases being connected to the comparator threshold, while their emitters are connected to the capacitor, their collectors being connected to respective reference supply rails.
11. An integrator as claimed in any of claims 6 to 9, wherein the voltage across the integrating capacitor is limited to the comparator threshold by connecting a PNP and an NPN transistor, the bases being connected to the comparator threshold, while the emitters are connected to the capacitor, the collectors being connected to respective reference supply rails.
EP93902771A 1991-12-31 1992-12-28 Integrator having switched hysteresis for proximity switches. Withdrawn EP0619925A4 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
GB9127572A GB2263549B (en) 1991-12-31 1991-12-31 Improvements in and relating to proximity switches
GB9127572 1991-12-31
PCT/US1992/011231 WO1993013599A1 (en) 1991-12-31 1992-12-28 Integrator having switched hysteresis for proximity switches

Publications (2)

Publication Number Publication Date
EP0619925A1 EP0619925A1 (en) 1994-10-19
EP0619925A4 true EP0619925A4 (en) 1995-07-19

Family

ID=10706945

Family Applications (1)

Application Number Title Priority Date Filing Date
EP93902771A Withdrawn EP0619925A4 (en) 1991-12-31 1992-12-28 Integrator having switched hysteresis for proximity switches.

Country Status (3)

Country Link
EP (1) EP0619925A4 (en)
GB (1) GB2263549B (en)
WO (1) WO1993013599A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07140258A (en) * 1993-11-19 1995-06-02 Aisin Seiki Co Ltd Device for detecting seated person on toilet seat
DE19803187C3 (en) * 1998-01-28 2003-06-18 Siemens Ag Device for recognizing the position of an element movable between two end positions, in particular a lock bolt of a motor vehicle lock, and method for actuating such a device
CN204013469U (en) 2014-07-21 2014-12-10 深圳市中兴微电子技术有限公司 A kind of control circuit and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0458044A2 (en) * 1990-05-21 1991-11-27 Robert Bosch Gmbh Evaluation circuit for signals coming from a signal source
JPH0646120A (en) * 1992-04-21 1994-02-18 Nec Corp Multiple telephone set

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3440448A (en) * 1965-11-01 1969-04-22 Hewlett Packard Co Generator for producing symmetrical triangular waves of variable repetition rate
US4384219A (en) * 1980-12-29 1983-05-17 Motorola, Inc. Voltage comparator hysteresis control circuit
JPS5944123A (en) * 1982-09-07 1984-03-12 Nec Corp Comparator circuit
JPS6046120A (en) * 1983-08-23 1985-03-12 Yamatake Honeywell Co Ltd Proximity switch
JPS61295719A (en) * 1985-06-20 1986-12-26 シ−メンス、アクチエンゲゼルシヤフト Circuit apparatus for induction type proximity switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0458044A2 (en) * 1990-05-21 1991-11-27 Robert Bosch Gmbh Evaluation circuit for signals coming from a signal source
JPH0646120A (en) * 1992-04-21 1994-02-18 Nec Corp Multiple telephone set

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PATENT ABSTRACTS OF JAPAN vol. 9, no. 173 (E - 329)<1896> 18 July 1985 (1985-07-18) *
See also references of WO9313599A1 *

Also Published As

Publication number Publication date
GB2263549B (en) 1996-04-03
EP0619925A1 (en) 1994-10-19
WO1993013599A1 (en) 1993-07-08
GB9127572D0 (en) 1992-02-19
GB2263549A (en) 1993-07-28

Similar Documents

Publication Publication Date Title
EP0580923B1 (en) Device comprising an error amplifier, a control portion and a circuit for detecting voltage variations in relation to a set value
US5463333A (en) Proximity switches
US4992731A (en) Rotary speed sensor with base line compensation of Hall cell output signal
US3794861A (en) Reference voltage generator circuit
US4227127A (en) Motor speed control circuit having improved starting characteristics
WO1985003818A1 (en) Current limit technique for multiple-emitter vertical power transistor
US5798663A (en) Precision hysteresis generator
US5420530A (en) Voltage comparator with hysteresis
EP0142177A1 (en) Transistor protection circuit
US3612912A (en) Schmitt trigger circuit with self-regulated arm voltage
USRE37778E1 (en) Current limiting circuit
JPS62268388A (en) Source circuit
US7245171B2 (en) Voltage clamping circuit for a bicycle dynamo
US4737671A (en) Circuit for detecting the current flow of a triac
EP0619925A4 (en) Integrator having switched hysteresis for proximity switches.
US3536986A (en) Low level costant current source
GB1601595A (en) Window discriminator or voltage range sensor
US3512013A (en) Frequency sensing circuit
KR900008002B1 (en) Phase detector with low offsets
US2991372A (en) Voltage signal comparison means with storage means
US5463354A (en) Proximity switches including long tail pair with emitter follower feedback
US6054845A (en) Current limiting circuit
GB2272300A (en) Current measurement by means of shunt resistor
EP0370559B1 (en) Level detector of the integratable bipolar type for high-frequency sinusoidal signals
JPS63239368A (en) Ignition device for internal combustion engine

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 19940718

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR

A4 Supplementary search report drawn up and despatched

Effective date: 19950602

AK Designated contracting states

Kind code of ref document: A4

Designated state(s): DE FR

17Q First examination report despatched

Effective date: 19960823

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 19970104