CN215524643U - LC sensor circuit and electronic device - Google Patents

LC sensor circuit and electronic device Download PDF

Info

Publication number
CN215524643U
CN215524643U CN202120601338.8U CN202120601338U CN215524643U CN 215524643 U CN215524643 U CN 215524643U CN 202120601338 U CN202120601338 U CN 202120601338U CN 215524643 U CN215524643 U CN 215524643U
Authority
CN
China
Prior art keywords
unit
signal
control unit
capacitor
oscillation
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.)
Active
Application number
CN202120601338.8U
Other languages
Chinese (zh)
Inventor
周杰
周冠委
张丽
皮军
李土源
侯晓欢
罗家帅
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.)
Shenzhen Hac Telecom Technology Co Ltd
Original Assignee
Shenzhen Hac Telecom Technology Co Ltd
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 Shenzhen Hac Telecom Technology Co Ltd filed Critical Shenzhen Hac Telecom Technology Co Ltd
Priority to CN202120601338.8U priority Critical patent/CN215524643U/en
Application granted granted Critical
Publication of CN215524643U publication Critical patent/CN215524643U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model belongs to the technical field of sensors and discloses an LC sensor circuit and electronic equipment. The circuit is arranged below the movement area of the metal part to be detected and comprises: the micro control unit outputs a switch control signal to the analog switch, so that the analog switch gates an inductor in the oscillation unit according to the switch control signal, outputs a pulse signal to the excitation unit, and enables a power end to input excitation current to the oscillation unit; the oscillation unit generates an oscillation signal according to the excitation current and the metal component to be detected; the micro-control unit acquires the running direction and the number of turns of the metal part to be detected according to the period of each detection signal and the phase difference between the detection signals. The induction distance is effectively increased through current excitation; the analog switch is used for gating a working loop to eliminate mutual inductance influence; the detection unit is used for converting the unsteady state oscillation signal into a continuously variable direct current signal, and the time length required by the micro control unit for processing the signal is shortened.

Description

LC sensor circuit and electronic device
Technical Field
The utility model relates to the technical field of sensors, in particular to an LC sensor circuit and electronic equipment.
Background
Through the linkage of permanent magnet and magnetic induction device, carry out the digitization with mechanical operation's count signal on the dial plate to network and monitor through controller and wireless transceiver, be the most basic way in civilian meter field. Sensors for detecting permanent magnets, such as reed switches, hall sensors, tunnel magnetoresistive sensors, and the like, are easily interfered by external magnetic fields, so that the sensors cannot work.
A non-magnetic inductance scheme without a permanent magnet is adopted, and a magnetic field generated by an I-shaped inductor in an LC (inductance-capacitance) oscillating circuit is coupled with a metal rotating sheet on a dial counter to form damping oscillation in an alternating current electromagnetic induction mode so as to detect a dial reading signal.
The non-magnetic inductance schemes in the market are roughly divided into two types, one is a fully integrated scheme provided by a semiconductor manufacturer, the development difficulty of the scheme is low, but the technology is not transparent, the deep optimization aiming at the actual use scene is difficult, and the scheme is bound with a specific supplier and cannot be easily replaced; the other is a solution based entirely on discrete device implementation. This scheme components and parts quantity is too much, consequently, and overall reliability and uniformity are difficult to handle the accuse, and the fault-tolerant rate is low, is unfavorable for batch manufacturing and long-term stable operation, and manufacturing cost has also been promoted to too big Printed Circuit Board (Printed Circuit Board, PCB) area occupied and device quantity.
The prior non-magnetic inductor scheme has the following technical difficulties: 1. the sensing distance, considering dial plate glass thickness and structure clearance, the sensing distance needs to reach 6mm at least. For a wet type meter with high internal pressure, the dial glass is thicker in view of pressure resistance, and the sensing distance needs to be more than 10 mm. The induction distance of the existing scheme on the market can reach 6-8 mm generally, the lowest requirement can be met only, and the performance margin is small. 2. Mutual inductance interference is limited by the size of the dial and the diameter of the pointer. In order to detect the rotation direction of the pointer, a plurality of sensors are required to be arranged in the diameter range of the pointer, mutual inductance coupling among the sensors becomes obvious, and if a non-working module cannot be completely turned off, waveform distortion and energy loss caused by mutual inductance seriously affect the detection effect of the sensors. 3. And power consumption control, wherein in the process of digitizing the unsteady-state analog signals of the LC oscillation, the controller continuously operates to generate larger power consumption overhead. 4. Errors and drift, micro-deformation of structures, assembly tolerances and aging drift of devices all cause deviation of sensor output, and accumulation of the deviation causes unstable or even impossible operation of the sensor. If automatic calibration cannot be realized in the production process, manual calibration needs to be performed one by one, so that the production efficiency is low; if the working state of the sensor itself cannot be automatically detected during the working process, the failure and the failure cannot be predicted, and the resulting loss is difficult to avoid.
SUMMERY OF THE UTILITY MODEL
The utility model mainly aims to provide an LC sensor circuit and electronic equipment, and aims to solve the technical problem that the fault of an LC sensor cannot be detected in time in the prior art.
To achieve the above object, the present invention provides an LC sensor circuit applied to metal part detection, the circuit comprising: the device comprises a micro control unit, an analog switch, an excitation unit, an oscillation unit and a detection unit; the controlled end of the analog switch is connected with one output end of the micro control unit, the output end of the analog switch is connected with the input end of the oscillation unit, the other output end of the micro control unit is connected with the input end of the excitation unit, one end of the excitation unit is grounded, the other end of the excitation unit is connected with one end of the oscillation unit, the output end of the oscillation unit is connected with the input end of the detection unit, and the output end of the detection unit is connected with the input end of the micro control unit; the oscillating unit comprises a plurality of inductors connected in parallel; the circuit is arranged below the movement area of the metal part to be detected;
the micro control unit is used for outputting a switch control signal to the analog switch so that the analog switch gates a corresponding inductor in the oscillation unit according to the switch control signal;
the micro control unit is also used for outputting a pulse signal to the excitation unit so as to enable a power supply end to input excitation current to the oscillation unit;
the oscillation unit is used for generating an oscillation signal according to the excitation current and the metal component to be detected and outputting the oscillation signal to the detection unit;
the detection unit is used for generating a detection signal according to the oscillation signal and outputting the detection signal to the micro control unit;
and the micro control unit is also used for acquiring the running direction and the number of turns of the metal part to be detected according to the period of each detection signal and the phase difference between the detection signals.
Optionally, the micro control unit is further configured to determine whether the detection signal is distorted according to each detection signal and a preset pulse width parameter;
and the micro control unit is also used for calibrating the pulse signal according to the distorted detection signal when the detection signal is distorted.
Optionally, the circuit further comprises an alarm; the controlled end of the alarm is connected with one end of the micro control unit;
and the micro control unit is also used for sending an alarm control signal to the alarm when the detection signal alternately has peak clipping distortion and valley clipping distortion so that the alarm can output a fault early warning signal.
Optionally, the micro control unit is further configured to determine a relationship between a phase difference between the detection signals and a preset phase, and determine whether a distance between a motion area of the detected metal part and the LC sensor circuit is less than or equal to a preset distance;
and the micro control unit is also used for sending an alarm control signal to the alarm when the distance between the movement area of the metal component to be detected and the LC sensor circuit is larger than a preset distance, so that the alarm can output a fault early warning signal.
Optionally, the excitation unit comprises: the first resistor, the diode and the first triode; wherein the content of the first and second substances,
the base electrode of the first triode is connected with the output end of the micro control unit, the emitting electrode of the first triode is grounded, the collecting electrode of the first triode is connected with the cathode of the diode, the anode of the diode is connected with the second end of the first resistor, and the first end of the first resistor is connected with one end of the oscillation unit.
Optionally, the oscillation unit includes: first to third inductors and a first capacitor; wherein the content of the first and second substances,
the first end of the first resistor is connected with the second end of the first capacitor, and the first end of the first capacitor is connected with a power supply end;
one end of a first inductor is connected with a first gating pin of the analog switch, one end of a second inductor is connected with a second gating pin of the analog switch, and one end of a third inductor is connected with a third gating pin of the analog switch; the second end of the first inductor, the second end of the second inductor and the second end of the third inductor are connected, the second end of the third inductor is further connected with the second end of the first capacitor, and the second end of the first capacitor is further connected with one end of the detection unit.
Optionally, the wave detection unit includes: the second capacitor, the second resistor, the second triode, the third resistor, the fourth resistor and the third capacitor; wherein the content of the first and second substances,
the second end of the first capacitor is connected with the first end of the second capacitor, the first end of the second capacitor is connected with the first end of the second resistor, and the second end of the second resistor is connected with the second end of the second capacitor and the base electrode of the second triode;
the emitting electrode of the second triode is connected with a power supply end, the collecting electrode of the second triode is connected with the first end of the third resistor and the first end of the third capacitor, the second end of the third resistor is connected with the second end of the third capacitor and grounded, the first end of the third capacitor is further connected with the first end of the fourth resistor, and the second end of the fourth resistor is connected with the input end of the micro-control unit.
Furthermore, to achieve the above object, the present invention also proposes an electronic device including the LC sensor circuit as described above.
The present invention provides an LC sensor circuit, comprising: the device comprises a micro control unit, an analog switch, an excitation unit, an oscillation unit and a detection unit; the oscillating unit comprises a plurality of inductors connected in parallel; the circuit is arranged below the movement area of the metal part to be detected; the micro control unit is used for outputting a switch control signal to the analog switch so that the analog switch gates a corresponding inductor in the oscillation unit according to the switch control signal; the micro control unit is also used for outputting a pulse signal to the excitation unit so as to enable a power supply end to input excitation current to the oscillation unit; the oscillation unit is used for generating an oscillation signal according to the excitation current and the metal component to be detected and outputting the oscillation signal to the detection unit; the detection unit is used for generating a detection signal according to the oscillation signal and outputting the detection signal to the micro control unit; and the micro control unit is also used for acquiring the running direction and the number of turns of the metal part to be detected according to the period of each detection signal and the phase difference between the detection signals. The utility model adopts current excitation, so that the LC oscillator can obtain oscillation amplitude which is tens of times of the power supply voltage, and the induction distance is effectively increased; the working loop is gated through the analog switch, and the non-working loop is disconnected at the same time, so that mutual induction voltage cannot form a current loop, the mutual induction influence is eliminated, and the detection signal is ensured not to be interfered by the mutual induction; the non-steady oscillation signal is converted into the continuously-changing direct-current signal through the detection unit, so that the micro control unit can sample at regular time for quantification, the working time is greatly shortened, and the overall power consumption is effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of a first configuration of an embodiment of an LC sensor circuit of the present invention;
FIG. 2 is a schematic circuit diagram of an LC sensor circuit according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram of an LC sensor circuit according to an embodiment of the present invention;
fig. 4 is a schematic signal waveform diagram of an LC sensor circuit according to an embodiment of the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
100 Excitation unit R1~R4 First to fourth resistors
200 Oscillating unit C1~C3 First to third capacitors
300 Detector unit L1~L3 First to third inductors
MCU Micro control unit D Diode with a high-voltage source
U Analog switch Q1~Q2 First to second triodes
400 Alarm device
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the utility model and are not intended to limit the utility model.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions in the embodiments may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should be considered to be absent and not within the protection scope of the present invention.
It should be noted that, in the practical application of the present invention, the software program is inevitably applied to the software program, but the applicant states here that the software program applied in the embodiment of the present invention is the prior art, and in the present application, the modification and protection of the software program are not involved, but only the protection of the hardware architecture designed for the purpose of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a first configuration of an LC sensor circuit according to an embodiment of the present invention.
An embodiment of the present invention provides an LC sensor circuit, which is applied to metal component detection, and in particular, used for detecting periodic movement of a metal component, where the LC sensor circuit includes: the system comprises a micro control unit MCU, an analog switch U, an excitation unit 100, an oscillation unit 200 and a detection unit 300; the controlled end of the analog switch U is connected with one output end of the micro control unit MCU, the output end of the analog switch U is connected with the input end of the oscillation unit 200, the other output end of the micro control unit MCU is connected with the input end of the excitation unit 100, one end of the excitation unit 100 is grounded GND, the other end of the excitation unit 100 is connected with one end of the oscillation unit 200, the output end of the oscillation unit 200 is connected with the input end of the detection unit 300, and the output end of the detection unit 300 is connected with the input end of the micro control unit MCU; the oscillating unit 200 comprises a plurality of inductors connected in parallel; the circuit is arranged below the movement area of the metal part to be detected.
The present circuit is an LC oscillation circuit, and functions to couple a magnetic field generated by an inductance in the LC oscillation circuit and a metal member to be measured (in the present embodiment, a metal rotary piece on a dial counter is described as an example) that performs a periodic motion to form a damped oscillation, thereby detecting the rotation of the dial counter. Therefore, the circuit is arranged below the dial to couple with the metal part to be tested.
And the micro control unit MCU is used for outputting a switch control signal to the analog switch U so that the analog switch U gates the corresponding inductor in the oscillation unit 200 according to the switch control signal.
It should be noted that the analog switch U is a single-pole-three-throw switch in this embodiment (an analog switch with more fixed terminals may be used in specific implementation, and this embodiment does not limit this), that is, three contacts are provided, which correspond to three different paths; each path is connected with different inductors in the oscillating unit 200, the inductors are connected in parallel, the inductance value of each inductor is the same, and each inductor is arranged in the diameter range of the sheet metal pointer of the dial in physical space so as to accurately detect the rotating direction of the sheet metal pointer.
It should be understood that the analog switch U further includes two input terminals, and the input terminals respectively receive the switch control signals to gate different paths, so that the inductors are turned on one by one.
The micro control unit MCU is further configured to output a pulse signal to the excitation unit 100, so that the power end inputs an excitation current to the oscillation unit 200.
It is easy to understand that, after each inductor is gated, the MCU outputs an excitation signal to the excitation unit 100, where the excitation signal is a high-level signal, so that the excitation unit 100 is turned on and the power terminal inputs an excitation current to the oscillation unit 200.
The oscillation unit 200 is configured to generate an oscillation signal according to the excitation current and the metal component to be detected, and output the oscillation signal to the detection unit 300.
It should be noted that the MCU further includes a timer, which starts timing after outputting a high level signal; meanwhile, the oscillating unit 200 starts to oscillate, and the magnetic field generated by the inductor is coupled with the dial metal sheet to form a damped oscillation process.
The detection unit 300 is configured to generate a detection signal according to the oscillation signal, and output the detection signal to the MCU.
It should be noted that the detecting unit 300 further includes a PNP transistor, the PNP transistor forms an amplification detector, an envelope signal corresponding to the oscillation signal is generated by the PNP transistor (refer to a curve corresponding to DML IN fig. 4 as a waveform of the envelope signal, S1 corresponds to a waveform of a signal input from the IN1 pin of the analog switch U, S2 corresponds to a waveform of a signal input from the IN2 pin of the analog switch U, OSC is an output waveform of the oscillation unit 200, and TRG is a waveform of a pulse signal output by the MCU, it should be noted that each waveform IN fig. 4 is only an example, and IN a specific implementation, may be another waveform ]), the envelope signal is input to an input port corresponding to the MCU, when the envelope signal is reduced to the logic low level threshold of the input port of the MCU, the MCU controls the timer to stop timing.
And the micro control unit MCU is also used for acquiring the running direction and the number of turns of the metal part to be detected according to the period of each detection signal and the phase difference between the detection signals.
It should be noted that, by continuously cycling the processes of gating the inductor by the output switch control signal, outputting the pulse signal, and acquiring the detection signal, one inductor in the oscillation unit 200 is gated each time to obtain the corresponding timer value, so as to obtain the output of each path of inductor-capacitor oscillation. Furthermore, the rotation condition of the dial can be known through phase difference and period discrimination among all paths of signals, and the running direction and the number of turns of the measured metal part can be obtained by counting the number of turns of the rotation.
Further, referring to fig. 2, fig. 2 is a circuit schematic diagram of an LC sensor circuit according to an embodiment of the present invention.
The excitation unit 100 includes: a first resistor R1, a diode D and a first triode Q1; the base electrode of the first triode Q1 is connected with the output end (TRG) of the MCU, the emitter electrode of the first triode Q1 is grounded, the collector electrode of the first triode Q1 is connected with the cathode electrode of the diode D, the anode electrode of the diode D is connected with the second end of the first resistor R1, and the first end of the first resistor R1 is connected with one end of the oscillating unit 200.
It should be noted that, the first triode Q1 is an NPN triode, when a high level signal is input to the base, a path between the collector and the emitter of the first triode Q1 is turned on, so as to form a path from the first resistor R1, the diode D to the ground, and due to the instantaneous voltage change, the power source terminal VCC and the electric energy stored in the first capacitor C1 in the oscillation unit 200 are output.
The oscillation unit 200 includes: first to third inductors L1-L3 and a first capacitor C1, wherein,
a first terminal of the first resistor R1 is connected to a second terminal of the first capacitor C1, and a first terminal of the first capacitor C1 is connected to a power supply terminal VCC.
One end of a first inductor L1 is connected to a first gating pin NO0 of the analog switch U, one end of a second inductor L2 is connected to a second gating pin NO1 of the analog switch U, and one end of a third inductor L3 is connected to a third gating pin NO2 of the analog switch U; the second end of the first inductor L1, the second end of the second inductor L2, and the second end of the third inductor L3 are connected, the second end of the third inductor L3 is further connected to the second end of the first capacitor C1, the second end of the first capacitor C1 is further connected to the first end of the second capacitor C2, the first end of the second capacitor C2 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is connected to the second end of the second capacitor C2 and the one end of the detector unit 300.
It should be noted that in specific implementation, other types of analog switches may be set according to requirements to form more gating lines, where each line corresponds to one inductor or multiple inductors, and in this embodiment, the example is described with 3 gating lines, and each line corresponds to one inductor. For example: the analog switch U gates the second gate pin NO1 according to the current switch control signal, so that the second inductor L2 is turned on, and the second inductor L2, the second capacitor C2 and the second resistor R2 form a path, receive the excitation current to oscillate, and output an oscillation signal to the detector unit 300.
The wave detecting unit 300 includes: a second capacitor C2, a second resistor R2, a second transistor Q2, a third resistor R3, a fourth resistor R4 and a third capacitor C2; wherein the content of the first and second substances,
a second end of the first capacitor C1 is connected to a first end of the second capacitor C2, a first end of the second capacitor C2 is connected to a first end of the second resistor R2, and a second end of the second resistor R2 is connected to a second end of the second capacitor C2 and a base of the second transistor Q2;
the base of the second triode Q1 is connected to the output end of the oscillating unit 300, the emitter of the second triode Q2 is connected to the power supply terminal VCC, the collector of the second triode Q2 is connected to the first end of the third resistor R3 and the first end of the third capacitor C3, the second end of the third resistor R3 is connected to the second end of the third capacitor C3 and grounded, the first end of the third capacitor C3 is also connected to the first end of the fourth resistor R4, and the second end of the fourth resistor R4 is connected to the input terminal (DML) of the MCU.
Referring to fig. 3, fig. 3 is a schematic diagram of a second structure of an LC sensor circuit according to an embodiment of the present invention. Referring to fig. 4, fig. 4 is a schematic signal waveform diagram of an LC sensor circuit according to an embodiment of the present invention.
And the micro control unit MCU is also used for judging whether the detection signals are distorted according to the detection signals and preset pulse width parameters.
And the micro control unit MCU is also used for calibrating the pulse signal according to the distorted detection signal when the detection signal is distorted.
It should be noted that, as the dial indicator rotates, each path of signal will present a periodic cosine change along with time, and in order to avoid that (waveform peak clipping distortion and the like caused by installation error, discreteness of device parameters, temperature time drift and the like) distortion affects subsequent phase discrimination, the micro control unit MCU can correct this by adjusting the pulse width of the excitation signal.
It should be understood that in implementations, there is calibration before factory shipment and self-calibration during use.
Further, automatic calibration before factory shipment: when the sensor is first installed on the dial, the sensor will collect the signal, analyze the signal and automatically adjust the excitation pulse width. The difference in the degree of pre-factory calibration represents the original difference between the selection of each inductor-capacitor in the oscillating unit 200 for oscillation.
Further, in use the continuous correction: the correction degree is continuously and automatically adjusted in the actual use process of the device, and the drift of the performance of the sensor is reflected by the change of the correction degree along with the time.
The circuit further comprises an alarm 400; the controlled end of the alarm 400 is connected with one end of the MCU; and the micro control unit MCU is also used for sending an alarm control signal to the alarm 400 when the detection signal alternately has peak clipping distortion and valley clipping distortion, so that the alarm 400 outputs a fault early warning signal.
It is easy to understand that the circuit continuously monitors and corrects drift in the actual operation process, and triggers the output of the early warning signal when the drift degree approaches the limit of correction capability; the malfunction alerting function is triggered when the degree of drift exceeds the correction capability. The combination of the two functions can prompt a user to maintain and eliminate hidden dangers in time, and unnecessary loss is avoided. The specific correction method may be: identifying whether each path of signal has obvious distortion; increasing the excitation pulse width if a valley clipping distortion occurs, and decreasing the excitation pulse width if a peak clipping distortion occurs; circularly identifying whether each path of signal has obvious distortion; increasing the excitation pulse width if a valley clipping distortion occurs, and decreasing the excitation pulse width if a peak clipping distortion occurs, until the distortion is removed.
In the specific implementation, if the peak clipping distortion and the valley clipping distortion which alternately appear cannot be eliminated, the alarm 400 outputs an alarm signal.
The micro control unit MCU is also used for judging the relation between the phase difference and the preset phase among the detection signals and judging whether the distance between the motion area of the detected metal part and the LC sensor circuit is smaller than or equal to the preset distance or not;
and the micro control unit MCU is also used for sending an alarm control signal to the alarm 400 when the distance between the motion area of the metal part to be detected and the LC sensor circuit is larger than a preset distance, so that the alarm 400 outputs a fault early warning signal.
It should be noted that the MCU may further record pulse width parameters corresponding to the peak clipping distortion and the valley clipping distortion as critical values for continuous correction in use, and output a fault warning signal when the drift calibration of the circuit reaches or exceeds the critical values in actual use.
Further, when the sensors are separated from the dial, each sensor cannot effectively sense the existence of a metal pointer of the dial, and an alarm signal needs to be output to prompt a user that the equipment is abnormal and needs to be checked immediately. And detecting whether the phase relation of each path of signal is in a normal interval, if not, judging that the dial and the sensor are separated, and outputting an alarm signal.
According to the embodiment of the utility model, the output efficiency of the driving module is improved by current excitation, so that the LC oscillator can obtain tens of times of oscillation amplitude of power supply voltage, and the induction distance is effectively improved; the working loop is gated through the analog switch, and the non-working loop is disconnected at the same time, so that mutual induction voltage cannot form a current loop, the mutual induction influence is thoroughly eliminated, and the detection signal is ensured not to be interfered by the mutual induction; the unstable oscillation signal is converted into a continuously changing direct current signal through detection, and quantification is performed through timing sampling, so that the working time of the controller is greatly shortened, and the power consumption of the system is effectively reduced; the excitation amplitude is adjusted through the MCU, and correlation analysis among the multiple sensors is carried out, so that the self-adaptation of the sensing distance is realized, the self-calibration in the whole life cycle is realized, and the sensors are kept in the optimal working state. When the error is close to or exceeds the range which can be compensated by self-calibration, the sensor can output an alarm signal to prompt a user to maintain and replace in time, so that hidden dangers are eliminated before faults, and the benefit of the user is guaranteed to the maximum extent.
Furthermore, to achieve the above object, the present invention also proposes an electronic device including the LC sensor circuit as described above.
Since the electronic device adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, technical details that are not elaborated in this embodiment may be referred to an LC sensor circuit provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An LC sensor circuit, for use in metal component detection, the circuit comprising: the device comprises a micro control unit, an analog switch, an excitation unit, an oscillation unit and a detection unit; the controlled end of the analog switch is connected with one output end of the micro control unit, the output end of the analog switch is connected with the input end of the oscillation unit, the other output end of the micro control unit is connected with the input end of the excitation unit, one end of the excitation unit is grounded, the other end of the excitation unit is connected with one end of the oscillation unit, the output end of the oscillation unit is connected with the input end of the detection unit, and the output end of the detection unit is connected with the input end of the micro control unit; the oscillating unit comprises a plurality of inductors connected in parallel; the circuit is arranged below the motion area of the metal part to be detected;
the micro control unit is used for outputting a switch control signal to the analog switch so that the analog switch gates a corresponding inductor in the oscillation unit according to the switch control signal;
the micro control unit is also used for outputting a pulse signal to the excitation unit so as to enable a power supply end to input excitation current to the oscillation unit;
the oscillation unit is used for generating an oscillation signal according to the excitation current and the metal component to be detected and outputting the oscillation signal to the detection unit;
the detection unit is used for generating a detection signal according to the oscillation signal and outputting the detection signal to the micro control unit;
and the micro control unit is also used for acquiring the running direction and the number of turns of the metal part to be detected according to the period of each detection signal and the phase difference between the detection signals.
2. The LC sensor circuit of claim 1, wherein said micro-control unit is further configured to determine whether the detected signal is distorted based on each detected signal and a predetermined pulse width parameter;
and the micro control unit is also used for calibrating the pulse signal according to the distorted detection signal when the detection signal is distorted.
3. The LC sensor circuit of claim 1, wherein said circuit further comprises an alarm; the controlled end of the alarm is connected with one end of the micro control unit;
and the micro control unit is also used for sending an alarm control signal to the alarm when the detection signal alternately has peak clipping distortion and valley clipping distortion so that the alarm can output a fault early warning signal.
4. The LC sensor circuit of claim 3, wherein the micro-control unit is further configured to determine whether a distance between the moving area of the metal part under test and the LC sensor circuit is less than or equal to a predetermined distance, based on a relationship between a phase difference between the detection signals and the predetermined phase;
and the micro control unit is also used for sending an alarm control signal to the alarm when the distance between the movement area of the metal component to be detected and the LC sensor circuit is larger than a preset distance, so that the alarm can output a fault early warning signal.
5. The LC sensor circuit of claim 1, wherein the excitation unit comprises: the first resistor, the diode and the first triode; wherein the content of the first and second substances,
the base electrode of the first triode is connected with the output end of the micro control unit, the emitting electrode of the first triode is grounded, the collecting electrode of the first triode is connected with the cathode of the diode, the anode of the diode is connected with the second end of the first resistor, and the first end of the first resistor is connected with one end of the oscillation unit.
6. The LC sensor circuit of claim 5, wherein the oscillating unit comprises: first to third inductors and a first capacitor; wherein the content of the first and second substances,
the first end of the first resistor is connected with the second end of the first capacitor, and the first end of the first capacitor is connected with a power supply end;
one end of a first inductor is connected with a first gating pin of the analog switch, one end of a second inductor is connected with a second gating pin of the analog switch, and one end of a third inductor is connected with a third gating pin of the analog switch; the second end of the first inductor, the second end of the second inductor and the second end of the third inductor are connected, the second end of the third inductor is further connected with the second end of the first capacitor, and the second end of the first capacitor is further connected with one end of the detection unit.
7. The LC sensor circuit of claim 6, wherein the wave detection unit comprises: the second capacitor, the second resistor, the second triode, the third resistor, the fourth resistor and the third capacitor; wherein the content of the first and second substances,
the second end of the first capacitor is connected with the first end of the second capacitor, the first end of the second capacitor is connected with the first end of the second resistor, and the second end of the second resistor is connected with the second end of the second capacitor and the base electrode of the second triode;
the emitting electrode of the second triode is connected with a power supply end, the collecting electrode of the second triode is connected with the first end of the third resistor and the first end of the third capacitor, the second end of the third resistor is connected with the second end of the third capacitor and grounded, the first end of the third capacitor is further connected with the first end of the fourth resistor, and the second end of the fourth resistor is connected with the input end of the micro-control unit.
8. An electronic device, characterized in that it comprises an LC sensor circuit according to any of claims 1 to 7.
CN202120601338.8U 2021-03-24 2021-03-24 LC sensor circuit and electronic device Active CN215524643U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120601338.8U CN215524643U (en) 2021-03-24 2021-03-24 LC sensor circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120601338.8U CN215524643U (en) 2021-03-24 2021-03-24 LC sensor circuit and electronic device

Publications (1)

Publication Number Publication Date
CN215524643U true CN215524643U (en) 2022-01-14

Family

ID=79800816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120601338.8U Active CN215524643U (en) 2021-03-24 2021-03-24 LC sensor circuit and electronic device

Country Status (1)

Country Link
CN (1) CN215524643U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112945279A (en) * 2021-03-24 2021-06-11 深圳市华奥通通信技术有限公司 LC sensor circuit, control method and electronic equipment
CN117081566A (en) * 2023-08-31 2023-11-17 深圳市华怡丰科技有限公司 Capacitive proximity sensor circuit
CN117706438A (en) * 2023-08-01 2024-03-15 珅斯电子(上海)有限公司 Variable magnetic sensor, magnetic field intensity measuring method and current detecting method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112945279A (en) * 2021-03-24 2021-06-11 深圳市华奥通通信技术有限公司 LC sensor circuit, control method and electronic equipment
CN117706438A (en) * 2023-08-01 2024-03-15 珅斯电子(上海)有限公司 Variable magnetic sensor, magnetic field intensity measuring method and current detecting method
CN117081566A (en) * 2023-08-31 2023-11-17 深圳市华怡丰科技有限公司 Capacitive proximity sensor circuit
CN117081566B (en) * 2023-08-31 2024-05-10 深圳市华怡丰科技有限公司 Capacitive proximity sensor circuit

Similar Documents

Publication Publication Date Title
CN215524643U (en) LC sensor circuit and electronic device
US4843259A (en) Process for the non-contacting detection of eddy current-induced bodies, particularly metal objects, as well as to sensors based on the process
US7084644B2 (en) Circuit arrangement for capacitive humidity measurement and method for operating the same
CN1325890C (en) Circuit of testing capacitance and capacitance type pressure transmitter
US8082785B2 (en) Inductive liquid-level sensor
US20110316558A1 (en) Circuit system and method for evaluating a sensor
CN110286246A (en) Secondary speed detection method and device
CN112945279B (en) LC sensor circuit, control method and electronic equipment
CN108076547A (en) Electromagnetic heating system and its zero crossing detection device and method
JPH0663723B2 (en) Valve displacement detector
CN215186693U (en) Non-contact induction type proximity switch
CN202928519U (en) High precision intelligent displacement sensor
CN112504104B (en) Position sensing circuit based on inductance principle, sensor and position measuring method
CN106680531B (en) A kind of high reliability nuclear power field pump speed measuring device
CN110274636B (en) Non-magnetic water meter flow detection device and method
CN214096204U (en) Detection circuit, metering module and metering device
CN113701849A (en) Water level detection device and method and household appliance
CN112432721A (en) Pressure sensor fault detection circuit and method and pressure sensor
CN201340444Y (en) Module for detecting residual voltage frequency of generator
CN220137570U (en) Sensor output signal acquisition circuit, circuit board and variable-frequency water pump
CN112230047B (en) Method for measuring current by utilizing magnetic saturation oscillation
CN112697174B (en) Measuring method and measuring circuit
CN216848184U (en) Measuring device based on proximity switch without magnetic core coil
CN210665796U (en) Nonmagnetic measuring device for reading fluid direction
CN203365544U (en) Detection circuit for resonant frequency and integrated circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant