SUMMERY OF THE UTILITY MODEL
The utility model provides a LC sensor solves among the prior art LC oscillating circuit that the multichannel has the same resonant frequency and influences comparatively serious problem each other in limited overall arrangement space.
The utility model provides an LC sensor, which comprises a turntable, a plurality of groups of LC oscillating circuits and switch components electrically connected with the LC oscillating circuits respectively;
each group of LC oscillating circuits comprises an inductor, a plurality of winding rods are arranged on the turntable, and the inductors of the LC oscillating circuits are wound on the winding rods respectively;
wherein a plurality of resonance frequencies are respectively obtained by respectively controlling a plurality of sets of the switching parts.
In the LC sensor of the present invention, the switch component is an electronic switch, and the electronic switch includes an input end, a normally closed end and a plurality of normally open ends.
In the LC sensor of the present invention, each group of the LC oscillating circuits further includes a capacitor and an excitation terminal;
in each group of LC oscillating circuits, one end of the inductor and one end of the capacitor are electrically connected to the excitation end, and the other ends of the inductor and the capacitor are electrically connected to a preset reference level end;
the excitation ends of the multiple groups of LC oscillation circuits are respectively and electrically connected with the normally open ends of the electronic switches, the normally closed ends of the electronic switches are electrically connected with the reference level end, and the input ends of the electronic switches are electrically connected with a preset control end to receive switch control signals.
In the LC sensor of the present invention, the switch unit includes a plurality of sub-switches.
In the LC sensor of the present invention, each group of the LC oscillating circuits further includes a capacitor and an excitation terminal;
in each group of LC oscillating circuits, one end of the inductor and one end of the capacitor are electrically connected to the excitation end, and the other ends of the inductor and the capacitor are electrically connected to a preset reference level end;
the excitation ends of the multiple groups of LC oscillation circuits are respectively and electrically connected to the first ends of the multiple subswitches, the second ends of the multiple subswitches are electrically connected to the reference level end, and the input ends of the multiple subswitches are respectively and electrically connected to the preset control ends to respectively receive switch control signals.
In the LC sensor of the present invention,
each group of LC oscillating circuits also comprises a first capacitor, a second capacitor and an excitation end;
in each group of LC oscillating circuits, one end of the inductor and one end of the first capacitor are electrically connected to the excitation end, and the other end of the inductor and the other end of the first capacitor are electrically connected to a preset reference level end;
the excitation ends of the multiple groups of LC oscillation circuits are respectively and electrically connected to the first ends of the multiple sub-switches, the second ends of the multiple sub-switches are respectively and electrically connected to one ends of the second capacitors of the multiple groups of LC oscillation circuits, the other ends of the second capacitors of the multiple groups of LC oscillation circuits are electrically connected to the reference level end, and the input ends of the multiple sub-switches are respectively and electrically connected to the preset control ends to respectively receive switch control signals.
In the LC sensor of the present invention, each group of the LC oscillating circuits further includes a capacitor and an excitation terminal;
in each group of LC oscillating circuits, one end of the inductor is electrically connected to the excitation end, and the other end of the inductor is electrically connected to a preset reference level end;
the excitation ends of the multiple groups of LC oscillation circuits are respectively and electrically connected to the first ends of the multiple sub-switches, the second ends of the multiple sub-switches are respectively and electrically connected to one ends of the capacitors of the multiple groups of LC oscillation circuits, the other ends of the capacitors of the multiple groups of LC oscillation circuits are electrically connected to the reference level end, and the input ends of the multiple sub-switches are respectively and electrically connected to the preset control ends to respectively receive switch control signals.
The utility model discloses following beneficial effect has: by controlling the state of the switch, the working frequency of the LC oscillating circuit can be switched, so that the work of each LC oscillating circuit can not interfere with each other, and the signal acquisition with high stability and high sensitivity is realized.
Detailed Description
In order to clearly understand the technical features, objects, and effects of the present invention, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic circuit diagram of an LC sensor according to a first embodiment of the present invention, where the LC sensor includes a turntable 3, a plurality of sets of LC oscillating circuits 1, and a switch component 2 electrically connected to the plurality of sets of LC oscillating circuits 1 respectively; in this embodiment, the switch component 2 is an electronic switch including an input terminal, a normally closed terminal, and a plurality of normally open terminals. Each group of the LC oscillating circuits 1 comprises an excitation end, an inductor and a capacitor, in each group of the LC oscillating circuits 1, one end of the inductor and one end of the capacitor are electrically connected to the excitation end, and the other ends of the inductor and the capacitor are electrically connected to a preset reference level end; the excitation ends of the multiple groups of LC oscillating circuits 1 are respectively and electrically connected to the normally open ends of the electronic switches, the normally closed end of the electronic switches is electrically connected to the reference level end, and the input end of the electronic switches is electrically connected to a preset control end to receive a switch control signal.
In the exemplary embodiment shown in the figure, two LC oscillating circuits 1 are provided, the electronic switch preferably being of the type TS5a4624 and having 2 normally open ends. The first group of LC oscillating circuits 1 comprises an excitation end, L1 and C1, one end of L1 and one end of C1 are both connected with the excitation end of the group, the other end of L1 and the other end of C1 are both connected with a DAC (digital-to-analog converter) of a reference level end output by the single chip microcomputer, the excitation end is connected with an LES _ CH1 of the single chip microcomputer through R1, and the type of the single chip microcomputer is preferably EFM32TG series; the second group of LC oscillating circuits 1 comprises an excitation end, L2 and C2, one end of L2 and one end of C2 are both connected with the excitation end of the group, the other end of L2 and the other end of C2 are both connected with a DAC (digital-to-analog converter) of a reference level end output by the single chip microcomputer, and the excitation end is connected with an LES _ CH3 of the single chip microcomputer through R3; and the singlechip is connected to the input end of the electronic switch through a pulse width time delay circuit M1, thereby controlling the electronic switch.
The implementation process of the embodiment is as follows: pins 1 and 2 of the analog switch SW1 are connected in parallel with the first LC oscillating circuit 1, pins 1 and 3 are connected in parallel with the second LC oscillating circuit 1, and pin 4 of the SW1 is a control signal pin. An LES _ CH1 of the single chip microcomputer controller U1 is input of an excitation signal and a sampling signal of the first LC oscillating circuit 1, an LES _ CH2 is a control signal of a switch SW1, an LES _ CH3 is input and output of an excitation signal and a sampling signal of the second LC oscillating circuit 1, and a DAC is output of a reference voltage of the LC oscillating circuit 1 and is connected with a common end of the two LC circuits. In this embodiment, the first state is an on state and the second state is an off state.
The working process of the sensor circuit comprises the following steps: the DAC outputs a reference voltage, and the LES _ CH2 controls the 1 st pin and the 2 nd pin of the switch SW1 to be in an open state, and the 1 st pin and the 3 rd pin to be in a closed state. The LES _ CH1 outputs excitation signals, after excitation is completed, LES _ CH1 is switched to an input state to collect damped oscillation data, the first group of LCs generate damped oscillation, and the resonant frequency at the moment
Meanwhile, LES _ CH3 is in high-impedance state, the 1 st pin and the 3 rd pin of the switch SW1 connected in parallel at two ends of the second group
LC oscillating circuit 1 are closed and short-circuited, and the resonant frequency f
2Far greater than the first set of resonance frequencies f
1. Therefore, when the first group of
LC oscillating circuits 1 generates ringing, the two groups of LC circuits have unequal resonant frequencies and are different from each other, and coupling interference is not generated between the two groups of LC circuits. Similarly, after the first group of
LC oscillating circuits 1 finishes collecting the ringing data, LES _ CH2 controls the switch SW1 to make the 1 st pin and the 2 nd pin closed, and make the 1 st pin and the 3 rd pin open. The LES _ CH3 outputs an excitation signal, and after excitation is completed, LES _ CH3 is switched to input state to collect damped oscillation data, and the second group LC generates damped oscillation with resonant frequency
At this time, the LES _ CH1 is in high-impedance state, the 1 st pin and the 2 nd pin of the switch SW1 connected in parallel with the two ends of the first group
LC oscillating circuit 1 are short-circuited, and the resonant frequency f is at this time
1Far greater than the second set of resonant frequencies f
2. Therefore, when the first group of
LC oscillating circuits 1 generates ringing, the two groups of LC circuits have unequal resonant frequencies and are different from each other, and coupling interference is not generated between the two groups of LC circuits. Wherein, C1-C2, L1-L2.
The single chip microcomputer periodically excites the two groups of LC oscillating circuits 1 to work according to the working process, when part of the metallized rotary disc 3 rotates, the damping oscillation data of the LC circuits collected by the single chip microcomputer also changes along with the rotation, and the rotation direction and the number of turns of the rotary disc 3 can be calculated through analysis and processing, so that the aim of accurately measuring the sensor is fulfilled.
Referring to fig. 2, fig. 2 is a schematic structural diagram of two inductance sampling positions of the LC oscillating circuit 1 and the turntable 3 according to the first embodiment of the present invention, the turntable 3 is provided with a plurality of winding rods, and a plurality of inductance (L1, L2) of the LC oscillating circuit 1 are respectively wound around the plurality of winding rods; wherein a plurality of resonance frequencies are respectively obtained by respectively controlling a plurality of sets of the switching parts 2. This embodiment corresponds to the embodiment shown in fig. 1, the number of winding rods is 2, the inductor includes L1 and L2, and L1 and L2 are wound around two winding rods, respectively.
Referring to fig. 3, fig. 3 is a schematic circuit diagram of an LC sensor according to a second embodiment of the present invention, which is different from the first embodiment in that the switch unit 2 of the present embodiment includes a plurality of sub-switches. Meanwhile, each group of LC oscillating circuits 1 further comprises a capacitor and an excitation end; in each group of the LC oscillating circuits 1, one end of the inductor and one end of the capacitor are electrically connected to the excitation end, and the other end of the inductor and the other end of the capacitor are electrically connected to a preset reference level end; the excitation terminals of the plurality of groups of LC oscillation circuits 1 are further electrically connected to first terminals of the plurality of sub-switches (SW1, SW2, SW3), second terminals of the plurality of sub-switches (SW1, SW2, SW3) are electrically connected to the reference level terminal, and input terminals of the plurality of sub-switches are electrically connected to a plurality of preset control terminals to receive switch control signals, respectively.
The three-phase inverter comprises three groups of LC oscillating circuits 1, the number of subswitches is 3, the first group of LC oscillating circuit 1 comprises an excitation end, L1 and C1, one end of L1 and one end of C1 are connected to the excitation end of the group, the other end of L1 and the other end of C1 are connected to a reference level end I/O7 output by a single chip microcomputer, the excitation end is connected to an I/O1 of the single chip microcomputer through R1, a first end of a first subswitch SW1 is connected to the excitation end of the group, a second end of the first subswitch SW1 is; the second group of LC oscillating circuits 1 comprises an excitation end, L2 and C2, one end of L2 and one end of C2 are both connected with the excitation end of the group, the other end of L2 and the other end of C2 are both connected with a reference level end I/O7 output by the single chip microcomputer, the excitation end is connected with I/O3 of the single chip microcomputer through R2, a first end of a second sub switch SW2 is connected with the excitation end of the group, a second end is connected with the reference level end, and the input end is connected with I/O4 of the single chip microcomputer; the third group of LC oscillating circuit 1 comprises an excitation end, L3 and C3, one end of L3 and one end of C3 are both connected with the excitation end of the group, the other end of L3 and the other end of C3 are both connected with a reference level end I/O7 output by the single chip microcomputer, the excitation end is connected with I/O5 of the single chip microcomputer through R3, the first end of a third sub switch SW3 is connected with the excitation end of the group, the second end is connected with the reference level end, and the input end is connected with I/O6 of the single chip microcomputer.
The working process of the embodiment is basically the same as that of the first embodiment, in the initial state, the singlechip controller U1 outputs the reference level according to the I/O7, the I/O2 controls the switch SW1 to be opened, the I/O4 controls the switch SW2 to be closed, and the I/O6 controls the switch SW3 to be closed. At this time, the I/O1 outputs an excitation signal, and the first group
LC oscillation circuit 1 generates a damped oscillation at the resonance frequency
The second and third groups of LC circuits are closed and short-circuited by switches SW2 and SW3 connected in parallel at two ends of the oscillating circuit, and the resonant frequency f is at the moment
2、f
3Is much greater than f
1. Similarly, I/O2 controlThe switch SW1 is closed, the I/O4 control switch SW2 is opened, the I/O6 control switch SW3 is closed, the I/O3 outputs an excitation signal, the second group
LC oscillating circuit 1 generates damping oscillation, and the resonant frequency at the moment
The I/O2 control switch SW1 is closed, the I/O4 control switch SW2 is closed, the I/O6 control switch SW3 is opened, the I/O5 outputs the excitation signal, the third group
LC oscillating circuit 1 generates the damped oscillation at the moment that the resonant frequency is
Therefore, when each group of
LC oscillation circuits 1 generates damped oscillation, the resonant frequency is not equal to the resonant frequency of the other two groups of LC circuits, which is greatly different from each other, and coupling interference is not generated between them.
Referring to fig. 4, fig. 4 is a schematic circuit diagram of an LC sensor according to a third embodiment of the present invention, which is different from the second embodiment in that each group of LC oscillating circuits 1 further includes a second capacitor; the second capacitor is connected between the second end of the sub-switch and the reference level end. In the figure, the first group of LC oscillator circuits 1 further includes C5, C5 is connected between SW1 and the reference level terminal, the second group of LC oscillator circuits 1 further includes C6, C6 is connected between SW2 and the reference level terminal, and the third group of LC oscillator circuits 1 further includes C7, C7 is connected between SW3 and the reference level terminal.
The operation of this embodiment is substantially the same as the first embodiment: in the initial state, the singlechip controller U1 outputs a reference level at the I/O7, the I/O2 control switch SW1 is opened, the I/O4 control switch SW2 is closed, and the I/O6 control switch SW3 is closed. At this time, the I/O1 outputs an excitation signal, and the first group
LC oscillation circuit 1 generates a damped oscillation at the resonance frequency
The second and third groups of
LC oscillating circuits 1 are closed by the switches SW2 and SW3, and the second group of resonant frequencies
Third set of resonant frequencies
f
1≠f
2,f
1≠f
3. Similarly, when the I/O2 control switch SW1 is closed, the I/O4 control switch SW2 is opened, the I/O6 control switch SW3 is closed, the I/O3 outputs the excitation signal, and the second group
LC oscillation circuit 1 generates ringing at the resonance frequency
At this time, the first group of resonant frequencies
Third set of resonant frequencies
f
2≠f
1,f
2≠f
3. Similarly, when the I/O2 control switch SW1 is closed, the I/O4 control switch SW2 is closed, the I/O6 control switch SW3 is opened, the I/O5 outputs the excitation signal, and the third group
LC oscillation circuit 1 generates ringing at the resonance frequency
At this time, the first group of resonant frequencies
Second group of resonant frequencies
f
3≠f
1,f
3≠f
1. Therefore, when each group of
LC oscillator circuits 1 generates ringing, the resonant frequency is not equal to the resonant frequency of the other two groups of LC circuits, and the frequency deviation is determined by the values of the capacitors C5, C6, and C7, so that no coupling interference occurs between the LC circuits in each group.
Referring to fig. 5, fig. 5 is a schematic circuit diagram of an LC sensor according to a fourth embodiment of the present invention, which is different from the second embodiment in that a sub-switch is connected in series with a capacitor. Specifically, each group of LC oscillating circuits 1 includes an inductor, a capacitor, and an excitation end; in each group of the LC oscillating circuits 1, one end of the inductor is electrically connected to the excitation end, and the other end of the inductor is electrically connected to a preset reference level end; the excitation ends of the multiple groups of LC oscillation circuits 1 are further electrically connected to the first ends of the multiple sub-switches, the second ends of the multiple sub-switches are electrically connected to one ends of the capacitors of the multiple groups of LC oscillation circuits 1, the other ends of the capacitors of the multiple groups of LC oscillation circuits 1 are electrically connected to the reference level end, and the input ends of the multiple sub-switches are electrically connected to the preset control ends to receive switch control signals respectively.
In fig. 5, the first group of LC oscillating circuits 1 includes an excitation end, L1 and C1, one end of L1 is connected to the excitation end of the group, the excitation end is connected to the first end of the first sub-switch SW1, the second end of SW1 is connected to one end of C1, the other end of L1 and the other end of C1 are both connected to the reference level end I/O7 output by the single chip microcomputer, the excitation end is connected to I/O1 of the single chip microcomputer through R1, and the input end of the first sub-switch SW1 is connected to I/O2 of the single chip microcomputer; the second group of LC oscillating circuits 1 comprises an excitation end, L2 and C2, one end of L2 is connected with the excitation end of the group, the excitation end is connected with the first end of a second sub switch SW2, the second end of SW2 is connected with one end of C2, the other end of L2 and the other end of C2 are both connected with a reference level end I/O7 output by the singlechip, the excitation end is connected with I/O3 of the singlechip through R2, and the input end of the second sub switch SW2 is connected with I/O4 of the singlechip; the third group of LC oscillating circuit 1 comprises an excitation end, L3 and C3, one end of L3 is connected with the excitation end of the group, the excitation end is connected with the first end of a third sub switch SW3, the second end of SW3 is connected with one end of C3, the other end of L3 and the other end of C3 are both connected with a reference level end I/O7 output by the singlechip, the excitation end is connected with I/O5 of the singlechip through R3, and the input end of the third sub switch SW3 is connected with I/O6 of the singlechip. The working process of this embodiment: in the initial state, the singlechip controller U1 outputs the reference level at the I/O7 th, and the I/O2 controls the switch SW1 to be closedIn the fourth embodiment, unlike the previous three embodiments, the switch is closed, and the LC circuit can normally generate damping, i.e. the first state is an open state, and the second state is an on state. At this time, the I/O1 outputs an excitation signal, and the first group
LC oscillation circuit 1 generates a damped oscillation at the resonance frequency
Since the switches SW2 and SW3 connected in series are turned off, the second and third groups of
LC circuits 1 do not form a ringing circuit and do not generate ringing, and therefore do not form coupling interference with the first group of
LC circuits 1. Similarly, when the I/O2 control switch SW1 is turned off, the I/O4 control switch SW2 is turned on, the I/O6 control switch SW3 is turned off, the I/O3 outputs the excitation signal, and the second group
LC oscillating circuit 1 generates ringing at the resonant frequency
Since the switches SW1 and SW3 connected in series are turned off, the first and third groups of
LC oscillating circuits 1 do not form a ringing circuit and do not generate ringing, and therefore do not form coupling interference with the first group of
LC oscillating circuits 1. Similarly, when the I/O2 control switch SW1 is turned off, the I/O4 control switch SW2 is turned off, the I/O6 control switch SW3 is turned on, the I/O5 outputs the excitation signal, and the third group
LC oscillation circuit 1 generates ringing at the resonance frequency
At this time, the first and second
LC oscillating circuits 1 do not form a ringing circuit and do not generate ringing because the switches SW1 and SW2 connected in series are turned off, and therefore, coupling interference with the third group
LC oscillating circuit 1 is not generated. Therefore, only one group of
LC oscillating circuits 1 forms a loop to generate damped oscillation in the same time period, and the other two groups of LC circuits are disconnected and do not form damped oscillation, so that the LC circuits of each group cannot generate coupling interference.
Referring to fig. 6, fig. 6 is a schematic structural diagram of inductance sampling positions of three groups of LC oscillating circuits 1 and a turntable 3 according to a second embodiment of the present invention, and the embodiment is a schematic structural diagram of inductance sampling positions of three groups of LC oscillating circuits 1 and a turntable 3 in an LC sensor shown in fig. 3 to 5.
The utility model also provides a control method of LC sensor adopts as above LC sensor to realize, including following step S1-S4:
s1, controlling the states of the switch components 2 connected to the multiple groups of LC oscillating circuits 1, so as to set the multiple groups of LC oscillating circuits 1 to a first state, specifically, each excitation I/O is set to a high impedance, the switch control I/O controls each switch to be in the first state, that is, the excitation end of each group of LC oscillating circuits 1 is set to a high impedance, and the input end of each switch receives the on-state control signal of the single chip microcomputer; the second state is an off state if the first state is an on state, and the second state is an on state if the first state is an off state, otherwise, the second state is an on state according to the embodiment. Preferably, before the step S1, the method further includes the step S0:
and S0, initializing the single chip microcomputer, and outputting a voltage reference to stabilize the level of the common end of the LC oscillating circuit 1 at a stable value.
S2, sequentially changing the states of the switch components 2 connected with the LC oscillating circuits 1 to respectively enable the LC oscillating circuits 1 to be in a second state; step S2 includes steps S21-S22:
s21, when changing the state of the switching element 2 to which one of the plurality of sets of LC oscillation circuits 1 is connected, the LC oscillation circuit 1 in the second state generates the first resonance frequency, and the LC oscillation circuit 1 in the first state maintains the first state to generate the second resonance frequency; wherein the first resonant frequency is not equal to the second resonant frequency.
Referring to the first embodiment of the LC sensor shown in fig. 1, the
LC oscillating circuit 1 in the off state generates a first resonance frequency of
The second resonant frequency is short-circuited by the closing of
pins 1 and 3 of switch SW1, at which time the second resonant frequency f
2Far greater than the first resonance frequency f
1。
Referring to the second embodiment of the LC sensor shown in fig. 3, similarly, the
LC oscillating circuit 1 in the off state generates the first resonance frequency of
The second resonant frequency is short-circuited when the switches SW2 and SW3 are connected in parallel at two ends of the oscillating circuit, and the second resonant frequency f is
2、f
3Far greater than the first resonance frequency f
1。
Referring to the third embodiment of the LC sensor shown in fig. 4, the
LC oscillating circuit 1 in the off state generates the first resonance frequency of
The second resonant frequency is closed due to the switches SW2, SW3, when the second resonant frequency is
f
1≠f
2,f
1≠f
3。
Referring to the fourth embodiment of the LC sensor shown in fig. 5, the
LC oscillating circuit 1 in the on state generates the first resonance frequency of
Since the second and third groups of
LC oscillating circuits 1 are turned off by the switches SW2 and SW3 connected in series, the second and third groups of LC circuits do not form a ringing circuit and do not generate ringing, and therefore the second resonant frequency can be written as 0.
S22, when the LC oscillating circuit 1 in the second state is switched to the first state, the state of the switching element 2 connected to one of the LC oscillating circuits 1 in the first state is sequentially changed so that the LC oscillating circuit is switched to the second state.
And S3, inputting an excitation signal to the LC oscillator circuit in the second state through the excitation end to generate damping oscillation, and switching the excitation end to the input state to acquire data of the damping oscillation.
S4, after the data of the ringing are collected, the state of the switching element 2 connected to the LC oscillating circuit 1 in the second state is changed, and the LC oscillating circuit 1 in the second state is switched to the first state.
The above steps S1-S4 are repeated to sequentially switch each switching element, and taking the second embodiment of the LC sensor shown in fig. 3 as an example, the complete flow of the second embodiment includes steps S101-110:
and S101, setting the excitation I/O of each path to be high-resistance, and controlling the switch parts of each path to keep a conducting state by controlling the I/O.
S102, I/O2 outputs a control signal switch SW1 to switch to an off state.
S103, the I/O1 outputs excitation signals, the first group of LC oscillating circuits generate damped oscillation, the I/O1 is switched to an input state, and damped oscillation data are collected.
S104, the data acquisition of the first group of LC oscillating circuits is completed, the I/O1 is switched to a high-impedance state, and the switch SW1 is controlled to be switched to a conducting state by the I/O2.
S105, the I/O4 outputs a control signal, and the switch SW2 is switched to an off state.
S106, the I/O3 outputs excitation signals, the second group of LC oscillating circuits generate damping oscillation, the I/O3 is switched to an input state, and damping data are collected.
S107, the data acquisition of the second group of LC oscillating circuits is completed, the I/O3 is switched to a high-impedance state, and the switch SW2 is controlled to be switched to a conducting state by the I/O4.
S108, I/O6 outputs a control signal switch SW3 to switch to an off state.
And S109, I/O5 outputs excitation signals, the third group of LC oscillating circuits generates damped oscillation, I/O5 is switched to an input state, and damped oscillation data are acquired.
And S110, completing data acquisition of the third group of LC oscillating circuits, switching the I/O5 to a high-impedance state, and controlling the switch SW2 to be switched to a conducting state by the I/O6.
The steps S101-110 finish sampling in one period, and the singlechip can enter the next sampling period after finishing processing, namely, the steps S101-110 are executed again.
Further, before performing steps S101-110, the following step S100 may also be performed:
s100, initializing the single chip microcomputer, outputting a voltage reference by the I/O7, and maintaining the level of the common end of the LC oscillating circuit at a stable value.
With respect to the implementation manner of the above method, the present invention also provides a computer readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the control method as described above is implemented.
To sum up, the utility model provides a technical scheme that its technical problem adopted is: a controllable switch circuit connected with the
LC oscillation circuit 1 is added in each group of
LC oscillation circuits 1, and the switch devices are controlled to be in a closed state and an open state respectively by a single chip microcomputer controller, so that the resonance frequency of the
LC oscillation circuits 1 is switched between two different values. For example, referring to the embodiment shown in FIG. 1 of the drawings of the present specification, the switch controlled by the single chip microcomputer is in an off state, and the resonance frequency of the
LC oscillating circuit 1 is set
Inductance value L
0Value of capacitance C
0(ii) a The control switch is in a closed state, the parameters of the
LC oscillating circuit 1 are changed, and the resonant frequency is changed
f
0≠f
1. And controlling each group of
LC oscillating circuits 1 to generate damping oscillation in a time sharing way through a singlechip controller: the single chip controller controls the state of a switch connected with a group of LC oscillation circuits to make the resonant frequency of the LC oscillation circuit 1 f
0Exciting it to produce damped oscillations; simultaneously controlling the switch state connected with other groups of
LC oscillating circuits 1 to make the resonant frequency of other groups of
LC oscillating circuits 1 be f
1,f
0≠f
1. The resonance frequency of one group of
LC oscillation circuit 1 generating damped oscillation is not equal to that of other groups of
LC oscillation circuits 1, the resonance frequency values are greatly different, and the multichannel
LC oscillation circuits 1 can be realized without mutual interference in a limited space.
Compared with the prior art, the utility model, following beneficial effect has:
in existing LC sensor circuit applications, one solution is: the parameters of all the components are the same, the working frequencies of the LC oscillating circuits 1 are the same, the mutual coupling interference is large, and the sensitivity of the sensor is high; in the other scheme, the inductance capacitance values of the LC oscillating circuits 1 are configured differently, so that the LC oscillating frequencies are unequal, but the signals output by the LC oscillating circuits 1 in each group have large difference, which affects consistency, a subsequent data processing algorithm is complex, and meanwhile, the difference of the resonance frequency difference is not large, which cannot completely eliminate interference, and affects the stability of data acquired by the circuits.
The utility model discloses a sensor circuit scheme, each LC oscillating circuit 1 can switch under two kinds of resonant frequency, and resonant frequency is f when needing to produce damping oscillation0The resonance frequency of the non-damped oscillation is f1The difference of the resonant frequency values in the two states is large, so that the LC oscillating circuits 1 in each group have the same inductance-capacitance parameter configuration and work at the same resonant frequency, meanwhile, the LC oscillating circuits 1 in each group do not influence each other, mutual coupling interference is completely eliminated, data output by the LC circuits in each group are accurate, consistent and stable, the sensitivity of the sensor is improved, and the induction distance can reach 10 mm.
While the embodiments of the present invention have been described with reference to the accompanying drawings, the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many modifications may be made by one skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.