Inductive or capacitive detector

Information

  • Patent Grant
  • 6518776
  • Patent Number
    6,518,776
  • Date Filed
    Wednesday, May 2, 2001
    23 years ago
  • Date Issued
    Tuesday, February 11, 2003
    21 years ago
Abstract
A proximity detector including a reference oscillator and a measurement oscillator, the frequency of which depends on the proximity of an object, particularly a metal object. A detection counter value A, which is controlled by the frequency F of the measurement oscillator, is compared to a set point counter value B to create the output signal. The set point counter value B0, which is determined during the calibration operation, is corrected by a quantity C that depends mainly on the difference of the measured temperature θ compared to the calibration temperature θ0. The proximity detector may find particular application to the detection of ferrous or nonferrous objects by universal or selective, inductive or capacitive detecting elements.
Description




BACKGROUND OF THE INVENTION




The present invention relates to an inductive or capacitive proximity detector that is particularly capable of detecting ferrous or non-ferrous metals, or a capacitive proximity detector comprising an oscillator capable of transmitting a measurement signal the frequency of which is a function of the proximity of an object to be detected, and a digital processing circuit that controls an output of the detector as a function of the frequency of the measurement oscillator.




This type of proximity detector is described in German patent DE 32 04 405. In this detector two oscillators are provided that oscillate at the same frequency, one of the oscillators being inducted and the other oscillator not being inducted by the object to be detected. The oscillator outputs are applied to respective counters such that the counting difference observed in the presence of a target is used by a logic circuit that commutes an output signal.




British patent GB 1 510 034 describes an inductive proximity detector comprising a variable frequency oscillator and a reference oscillator that operate with a detection counter and a reference counter, said reference counter defining a counting interval for the detection counter.




The known proximity detectors do not take into account variations or drifts affecting the components of the processing circuit, particularly depending on the temperature, which therefore results in insufficient measurement accuracy and reliability.




The aim of the invention is to detect objects, particularly ferrous or non-ferrous metal objects, using frequency processing that ensures excellent measurement accuracy.




According to the invention the set point counter value is stored in a memory associated with the digital processing circuit and it is correctable particularly according to the temperature, and a calibration counter value is introduced into the memory when the detector is calibrated in the presence of an object located at the nominal range, the set point counter value being obtained by correcting the calibration value according to the temperature.




Preferably, the set point counter value is corrected cyclically, for example at each measurement or every n measurements, n being a predetermined number, according to the ambient temperature measured at the time.











BRIEF DESCRIPTION OF THE DRAWINGS




The following description is of a non-limitative embodiment of the invention and refers to the attached figures, wherein:





FIG. 1

is a diagram of the circuit of an inductive proximity detector of the present invention;





FIG. 2

is a schematic diagram of the casing of a detector of the present invention;





FIG. 3

is a synoptic diagram of the operating mode of the detector in

FIG. 1

; and





FIG. 4

is a synoptic diagram of the calibration of the detector.











DESCRIPTION OF THE PREFERRED EMBODIMENTS




The inductive detector of

FIG. 1

comprises a measurement oscillator


10


that transmits an oscillation to a shaping circuit such that it produces a pulsed measurement signal S the frequency F of which depends on the proximity of a ferrous or non-ferrous metal object M. The detector is either universal, i.e. capable of detecting objects irrespective of whether they are ferrous or non-ferrous at the same distance, or selective, i.e. only capable of detecting ferrous or non-ferrous objects.




A reference oscillator


11


is provided in the detector that, once it has been shaped, is capable of transmitting a pulsed reference signal S


r


the frequency F


r


of which is not dependent on the object. Oscillator


10


oscillates, for example, at a measurement frequency F of approximately 1 MHz that varies when it approaches a metal object and oscillator


11


oscillates, for example, at a fixed frequency F which may be several hundred kHz or several MHz according to the applications and which in the embodiment considered is 8 MHz. Frequencies F and F


r


can also be equal. The detector comprises a processing circuit


12


equipped with a programmed logic circuit, microcontroller or similar circuit


13


on one clock input


13




a


to which measurement signal S is applied and on one counter input


13




b


to which reference signal S


r


is applied. Counter input


13




b


is connected to a counter


14


of microcontroller


13


. The microcontroller has a calibration input


13




c


and a temperature capture input


13




d.


A rewriteable memory


15


, for example of the EEPROM type, is connected to an input/output


13




e


of the microcontroller and an output


13




f


of the microcontroller carries a control signal S


out


from the output of the detector.





FIG. 3

shows the main operating program of the detector. Measurement pulses S that match measurement frequency F are counted to create a counting window of width T defined in an operation


20


; width T of this window is equal to a given constant number of clock periods of the microcontroller and is in inverse proportion to the frequency of S. Width T is equal to K/F, K being a constant. Counter


14


receives reference signal S


r


from input


13




b


and counts in stage


21


, in window T which is controlled by measurement signal S, the number of pulses, for example several thousands, of reference signal S


r


. This yields a counter value A that is read in a stage


22


. In one version the pulses from measurement signal S are also counted in a window determined according to reference frequency F


r


.




Counter value A is compared in a stage


23


with a correctable set point value B that is created as described below and that is updated cyclically, for example by being modified every measurement or, to save processing time, every n measurements, n possibly being equal to


3


. An output control signal is emitted (operation


24


) as a result of the comparison.




The temperature of the detector is captured in a stage


30


in which a numerical value θ is defined using an analog temperature detector device. This value is compared in a stage


31


with a value θ


0


that is defined in a calibration phase described below. The result is a calculated deviation E=θ−θ


0


. The value B


0


is also established during the calibration phase. In a subsequent stage


32


in which a correction value C is established, the microcontroller searches in a correction table


16


for value C that is deviation E that was calculated. In a subsequent stage


33


, the microcontroller calculates the sum B=B


0


+C, and this value B is used in stage


23


as described above.




The software that enables the two values B


0


, θ


0


to be obtained in the calibration phase will now be described with reference to FIG.


4


.




A target is positioned at the required detection distance (range) of the detector, then a calibration triggering order is formulated by the operator, preferably by earthing input


13




c


of the microcontroller.




The calibration triggering starts an operation


40


for defining the measurement window T


0


=K/F


0


, K being a constant and F


0


being the frequency of the oscillator that measures the range. The counter starts a counter operation


41


of the pulses of reference signal S


r


from the reference oscillator


11


after it has been shaped. The counter value B


0


obtained at the end of the measurement window T


0


is read in an operation


42


and stored in EEPROM


15


.




The calibration is continued by an operation


43


in which the temperature is measured and the matching analogue value is converted into a digital value θ


0


that is also stored in EEPROM


16


. Both B


0


and θ


0


are then taken into consideration in the current measurements, as seen above. The calibration described above overcomes the dispersions and variations that affect the components of the circuit. The switching hysteresis of the detector is included in the measurement software to correct the set point counter value B. Calibration is performed initially and whenever it may be required.




An example of a compact embodiment of the detector is shown schematically in FIG.


2


. Casing


50


of the detector houses two oscillators


10


,


11


that have LC oscillating currents. Inductor L


11


of oscillator


10


is an air inductor with or without a ferrite core. Inductor L


11


of oscillator


11


is located on printed circuit board


51


that includes processing circuit


12


and output circuit


17


. Capacitors C


10


, C


11


of both oscillators belong to the same capacitor network located on printed circuit board


51


in order to present drifts in temperature that are as close as possible to one another.




The detector described above is a universal type detector that detects from ferrous and non-ferrous objects alike at the same distance. It can also be a selective type detector, and frequency F


r


is then much lower, for example, approximately several tens of kHz. The invention also applies to capacitive detectors.



Claims
  • 1. A proximity detector comprising:a measurement oscillator configured to transmit a pulsed signal having a frequency that is a function of a proximity of an object to be detected; a reference oscillator configured to transmit a pulsed signal having a frequency that does not depend on the object to be detected; a digital processing circuit that transmits an output signal that is a function of the signal transmitted by the measurement oscillator and a set point counter value, said digital processing circuit including a counter, wherein: the counter calculates a detection counter value that is a function of a number of pulses received from one of the measurement oscillator and the reference oscillator measured in a counting timing window, the counting timing window being dependent on the frequency of the other oscillator, the detection counter value is compared with the set point counter value by the digital processing circuit to create the output signal, the set point counter value is stored in a memory associated with the digital processing circuit, and is correctable depending on a temperature, and a calibration counter value is introduced into the memory when the detector is calibrated using an object located within a nominal range, the set point counter value being obtained by correcting the calibration counter value as a function of the temperature.
  • 2. The proximity detector of claim 1, wherein the digital processing circuit is further configured to modify the set point counter value cyclically at an end of a number of predetermined measurements.
  • 3. The proximity detector of claim 1, wherein the counting timing window is a function of the frequency of the measurement oscillator, and the digital processing circuit has a counting input connected to the reference oscillator.
  • 4. The proximity detector of claim 1, wherein the digital processing circuit is further configured to:store the calibration counter value and a reference temperature value when the detector is calibrated; measure the current temperature value when an object is detected, a correction quantity being determined from a correction table as a function of a deviation calculated by the processing circuit between the current temperature value and the reference temperature value; and add the calibration counter value to the correction quantity to create a corrected set point counter value.
  • 5. The proximity detector of claim 1, wherein the digital processing circuit is further configured to calibrate the detector by means of a learning operation.
  • 6. The proximity detector of claim 1, wherein the digital processing circuit is further configured to create, at the beginning of the operation in which the detector is calibrated, a pulse counting window having a width that is in inverse proportion to the frequency of the measurement oscillator.
  • 7. The proximity detector of claim 1, wherein the detector is an inductive type detector and the measurement oscillator and the reference oscillator are LC oscillating currents having capacitors that belong to a same capacitor network.
  • 8. The proximity detector of claim 1, wherein the digital processing circuit and an output circuit are arranged on a printed circuit board and an inductor of the reference oscillator is provided on the printed circuit board, and an inductor of the measurement oscillator is one of an air and a ferrite inductor.
Priority Claims (1)
Number Date Country Kind
00 05675 May 2000 FR
US Referenced Citations (10)
Number Name Date Kind
4015208 Hammer et al. Mar 1977 A
4159622 Akahane Jul 1979 A
4297657 Frerking Oct 1981 A
4305041 Frerking Dec 1981 A
4325036 Kuwabara Apr 1982 A
4380745 Barlow et al. Apr 1983 A
4513259 Frerking Apr 1985 A
4879531 Tigges et al. Nov 1989 A
5214668 Satou et al. May 1993 A
5719782 Mitsuoka Feb 1998 A
Foreign Referenced Citations (5)
Number Date Country
203 923 Dec 1986 EP
478 856 Apr 1992 EP
996 228 Apr 2000 EP
1 510 034 May 1978 GB
WO 8503820 Aug 1985 WO
Non-Patent Literature Citations (1)
Entry
Patent Abstracts of Japan, vol. 006, No. 077(E-106), May 14, 1982 and JP 57 014219, Jan. 25, 1982.