Pulse type LC oscillation induction type angle sensor and angle position measuring method

文档序号:827193 发布日期:2021-03-30 浏览:20次 中文

阅读说明:本技术 脉冲型lc振荡感应式角度传感器及角度位置测量方法 (Pulse type LC oscillation induction type angle sensor and angle position measuring method ) 是由 陶之伟 王长金 李兵 于 2020-12-18 设计创作,主要内容包括:本发明为一种脉冲型LC振荡感应式角度传感器及角度位置测量方法,包括可绕中心旋转的转轴、固定于转轴上的圆盘和设于圆盘上方的若干电感线圈,所述的圆盘包含有金属化半盘,其特征在于:所述的若干电感线圈以线圈旋转中心轴为中心均布设置,线圈旋转中心轴与转轴同心且同轴向,若干个所述的电感线圈一端相连在一起后再连接至测量电路的接地端,另一端则分别连接到测量电路的不同脉冲发生器端口各自设置的开关,每当开启触发脉冲并分别去关闭不同开关,经过N个脉冲后再关闭脉冲发生器,然后去读取第二电容C2上的电压就可以推导出金属化半盘的位置和旋转方向,实现通过角度判断检测出液体流动方向和转动圈数,达到正反转计量的目的。(The invention relates to a pulse LC oscillation induction type angle sensor and an angle position measuring method, comprising a rotating shaft capable of rotating around a center, a disc fixed on the rotating shaft and a plurality of inductance coils arranged above the disc, wherein the disc comprises a metalized half disc, and the pulse LC oscillation induction type angle sensor is characterized in that: the induction coils are uniformly distributed by taking a coil rotating central shaft as a center, the coil rotating central shaft and the rotating shaft are concentric and coaxial, one ends of the induction coils are connected together and then connected to a grounding end of the measuring circuit, the other ends of the induction coils are respectively connected to switches respectively arranged at ports of different pulse generators of the measuring circuit, when a trigger pulse is started, the different switches are respectively closed, the pulse generators are closed after N pulses, then the voltage on the second capacitor C2 is read, the position and the rotating direction of the metallized half disc can be deduced, the flowing direction and the number of rotating circles of liquid can be detected through angle judgment, and the purpose of forward and reverse rotation metering is achieved.)

1. The utility model provides a pulse type LC oscillation induction type angle sensor, includes the pivot that can rotate around the center, is fixed in epaxial disc of pivot and locates a plurality of inductance coils of disc top, the disc contain metallization half dish, its characterized in that: the plurality of inductance coils are uniformly distributed by taking a coil rotating central shaft as a center, the coil rotating central shaft and a rotating shaft are concentric and coaxial, the size of the disc is matched with the size of an excircle surrounded by the plurality of uniformly distributed inductance coils, one ends of the plurality of inductance coils are connected together and then connected to a grounding end of a measuring circuit, the other ends of the plurality of inductance coils are respectively connected to different pulse generator ports of the measuring circuit, the different pulse generator ports are respectively provided with a switch, the measuring circuit comprises a single-chip microcomputer MCU, an amplifying circuit connected with a 1 st pin of the MCU and a first capacitor C1 connected with a first pin of the MCU, the switches arranged at the different pulse generator ports are connected in parallel and then connected with a first capacitor C1 circuit, and a second capacitor C2 and a first resistor R1 are sequentially connected in parallel with a connecting circuit of the 1 st pin of the MCU and the amplifying circuit, the connection circuit of the first capacitor C1 and each switch is also connected with the amplifying circuit after being connected with the second resistor R7 in series.

2. An impulse-type LC oscillating induction angle sensor according to claim 1, characterized in that: the inductance coil adopts a winding inductance coil or a PCB printed coil arranged on a printed circuit board, and the number of the inductance coil is 3-5.

3. An impulse-type LC oscillating induction angle sensor according to claim 2, characterized in that: the PCB printing coil be equipped with 3, be first PCB printing coil, second PCB printing coil and third PCB printing coil respectively, be connected to third switch K3, second switch K2, first switch K1 that different impulse generator ports of measuring circuit set up respectively.

4. An impulse-type LC oscillating induction angle sensor according to claim 1, characterized in that: the amplifying circuit adopts an NPN type triode, the collector of the triode Q4 is connected with the second capacitor C2 and the first resistor R1 in sequence and then connected with the emitter of the triode Q4, and the second resistor R7 is connected with the base of the triode Q4.

5. An angle position measuring method of an impulse-type LC oscillating induction angle sensor according to any one of claims 1 to 4, characterized in that: the MCU generates a high level from a 1 st pin to charge a second capacitor C2, the second capacitor C2 is fully charged after a set time and is closed at the 1 st pin high level, a plurality of PWM square wave pulses are generated from a 2 nd pin, the pulses are closed through a first capacitor C1 and any one of switches respectively arranged at different pulse generator ports and form an oscillating circuit with a corresponding inductance coil, the oscillating waveform is amplified by a current of a second resistor R7 through an amplifying circuit 13, the amplified current can cause the second capacitor C2 to discharge to the ground through R1, so that the voltage on the second capacitor C2 which is charged in advance is gradually reduced, the voltage value on the second capacitor C2 pin is collected to an ADC inside the measuring circuit 10 through the 1 st pin immediately after the 2 nd pin of the MCU stops pulse output in the measuring circuit 10, the residual voltage on the second capacitor C2 is calculated, and each time, a trigger pulse is started and the switches respectively arranged at different pulse generator ports are respectively and sequentially closed, after N pulses, the pulse generator is turned off, and the voltage across the second capacitor C2 is read to determine which inductor or inductors the metallized half disc is located below, thereby determining whether the metallized half disc is rotating clockwise or counterclockwise.

6. An angular position measuring method of an impulse-type LC oscillating induction angle sensor according to claim 5, characterized in that: when the metallized half discs on the discs rotate in the clockwise rotation direction or the anticlockwise rotation direction, the switches corresponding to the ports of the different pulse generators are respectively and sequentially closed, the inductance coil correspondingly starts the oscillating circuit and measures the voltage on the second capacitor C2, and due to the influence of metal, when the metallized half discs pass through the lower part of the inductance coil, the inductance value of the inductance coil can be changed, so that the voltage collected by the second capacitor C2 is changed.

7. An angular position measuring method of an impulse-type LC oscillating induction angle sensor according to claim 5, characterized in that: and the flow direction and the number of turns of the liquid are detected after the rotation angle is measured by the pulse LC oscillation induction type angle sensor, and the number of turns of the liquid is quantified into a flow value of the liquid flow by recording the rotation direction and the number of turns of the liquid by an MCU in a measuring circuit.

Technical Field

The invention relates to an angle sensor, in particular to an impulse type LC oscillation induction type angle sensor and an angle position measuring method.

Background

In the prior art, an LC oscillating circuit realizes an angle measuring sensor, and the angle measuring sensor is divided into two schemes:

1. the position of the induction metal rotor is judged by adopting an exciting coil and a receiving coil, wherein the exciting coil initiates oscillation, the receiving coil receives the oscillation and reads the voltage value of the receiving coil. For example, the above problems are not avoided by the patent inductive angular position sensor (ZL 200680007522.8);

2. and directly reading the voltage value of the oscillation wave by adopting the single coil to judge the position of the metal rotor. The voltage value reading of the oscillation wave is influenced by the oscillation frequency, the phase and the amplitude, the voltage change value of the metal rotor below the coil is about 10mV, and the reading difficulty and the error are large along with the fact that the distance between the metal rotor and the coil is smaller and smaller, and the position of the metal rotor is judged wrongly.

Disclosure of Invention

The invention aims to solve the defects of the prior art, designs a pulse LC oscillation induction type angle sensor and an angle position measuring method, realizes angle measurement by accumulating the change of LC oscillation amplitude every time by using the number of pulses generated by a measuring circuit for many times, is more beneficial to ADC detection change, and greatly reduces the measurement error.

The invention is realized by the following steps: the utility model provides a pulse type LC oscillation induction type angle sensor and angular position measuring method, includes the pivot that can rotate around the center, is fixed in the epaxial disc of pivot and locates a plurality of inductance coils of disc top, the disc include metallization half dish, its characterized in that: the inductance coil adopts a winding inductance coil or a PCB printed coil arranged on a printed circuit board, and the number of the inductance coil is 3-5. The inductive coils are uniformly distributed by taking a coil rotating central shaft as a center, the coil rotating central shaft and the rotating shaft are concentric and coaxial, the size of the disc is matched with the size of an excircle surrounded by the inductive coils uniformly distributed, one ends of the inductive coils are connected together and then connected to the grounding end of the measuring circuit, the other ends of the inductive coils are respectively connected to different pulse generator ports of the measuring circuit, and different pulse generator ports are respectively provided with respective switches. For example, when a scheme of arranging 3 PCB printed coils on a printed circuit board is adopted, the PCB printed coils are respectively a first PCB printed coil, a second PCB printed coil and a third PCB printed coil, and are respectively connected to a third switch K3, a second switch K2 and a first switch K1 arranged at different pulse generator ports of the measurement circuit.

The measuring circuit comprises a single chip microcomputer MCU, an amplifying circuit connected with the 1 st pin of the MCU and a first capacitor C1 connected with the second pin of the MCU, wherein switches arranged at ports of different pulse generators are connected in parallel and then connected with a first capacitor C1 circuit, a second capacitor C2 and a first resistor R1 are sequentially connected in parallel with a connecting circuit of the 1 st pin of the MCU and the amplifying circuit, and a connecting circuit of the first capacitor C1 and each switch is also connected with a second resistor R7 in series and then connected with the amplifying circuit.

The amplifying circuit adopts an NPN type triode, the collector of the triode Q4 is connected with the second capacitor C2 and the first resistor R1 in sequence and then connected with the emitter of the triode Q4, and the second resistor R7 is connected with the base of the triode Q4.

The angle position measuring method of the pulse LC oscillation induction type angle sensor is characterized in that: the MCU generates a high level from a 1 st pin to charge a second capacitor C2, the second capacitor C2 is fully charged after a set time and is closed at the 1 st pin high level, a plurality of PWM square wave pulses are generated from a 2 nd pin, the pulses are closed through a first capacitor C1 and any one of switches respectively arranged at different pulse generator ports and form an oscillating circuit with a corresponding inductance coil, the oscillating waveform is amplified by a current of a second resistor R7 through an amplifying circuit 13, the amplified current can cause the second capacitor C2 to discharge to the ground through R1, so that the voltage on the second capacitor C2 which is charged in advance is gradually reduced, the voltage value on the second capacitor C2 pin is collected to an ADC inside the measuring circuit 10 through the 1 st pin immediately after the 2 nd pin of the MCU stops pulse output in the measuring circuit 10, the residual voltage on the second capacitor C2 is calculated, and each time, a trigger pulse is started and the switches respectively arranged at different pulse generator ports are respectively and sequentially closed, after N pulses, the pulse generator is turned off (N is more than or equal to 1), and then the voltage on the second capacitor C2 is read, so that the position of the metallized half disc in which one of the induction coils or the positions below other induction coils can be deduced, and the metallized half disc is judged to rotate clockwise or anticlockwise.

When the metallized half discs on the discs in the pulse LC oscillation induction type angle sensor rotate in the clockwise rotation direction or the anticlockwise rotation direction, the switches corresponding to the ports of different pulse generators are respectively and sequentially closed, the inductance coils correspondingly start the oscillation circuit and measure the voltage on the second capacitor C2, and due to the influence of metal, when the metallized half discs pass through the lower portion of the inductance coils, the inductance of the inductance coils can be changed, so that the voltage collected by the second capacitor C2 is changed.

And the flow direction and the number of turns of the liquid are detected after the rotation angle is measured by the pulse LC oscillation induction type angle sensor, and the number of turns of the liquid is quantified into a flow value of the liquid flow by recording the rotation direction and the number of turns of the liquid by an MCU in a measuring circuit.

The invention has the beneficial effects that: the invention has stable and controllable pulse generation and high measurement precision, solves the difficulty which is not solved in two common schemes in the prior art, realizes LC oscillation induction type angle measurement without an exciting coil, thereby saving the occupied space of a measurement device, solving the problem of over-small inductance value caused by limited area of the layout of the induction coil, further reducing the installation difficulty that the winding directions of the induction coil are required to be consistent when a PCB (printed Circuit Board) is adopted for installing and arranging, and simultaneously solving the difficult problems that the reading difficulty and the error of the voltage value of the LC oscillation wave generated by the distance in the prior art are large.

Drawings

FIG. 1 is a schematic view of an induction type angle sensor according to embodiment 1 of the present invention.

Fig. 2 is a schematic diagram of a circuit principle framework of embodiment 1 of the present invention.

Fig. 3 is a schematic diagram of the voltage over time on the second capacitor C2 when the metallized half disc is located under the second coil in operation according to embodiment 1 of the present invention.

Fig. 4 is a schematic diagram of the voltage over time on the second capacitor C2 when the metallized half disc is positioned below the third coil in operation in accordance with embodiment 1 of the present invention.

Fig. 5 is a schematic diagram of the voltage over time on the second capacitor C2 when the metallized half disc is positioned under the fourth coil in operation in accordance with example 1 of the present invention.

In the figure: 1. a disc; 2. A first PCB printed coil; 3. A second PCB printed coil; 4. A third PCB printed coil; 5. A counterclockwise direction of rotation; 6. Clockwise rotation direction; 7. A printed circuit board; 8. A rotating shaft; 9. A sensor circuit; 10. A measurement circuit; 11. A metallized half disc; 12. A coil rotation center shaft; 13. An amplifying circuit;

31. the 1 st pin of the MCU; 32. the 2 nd pin of the MCU; 33. A first switch K1 and a third PCB printed coil; 34. A second switch K2 and a second PCB printed coil; 35. A third switch K3 and the first PCB printed coil;

A. the voltage on the capacitor C2 changes when the metallized half disc passes through the first switch K1 and the third PCB printed coil;

B. the voltage on the capacitor C2 changes when the metallized half disc passes through the second switch K2 and the second PCB printed coil;

C. the voltage on the capacitor C2 changes as the metallized half disc passes through the third switch K3 and the first PCB printed coil.

Detailed Description

The invention is further described with reference to the following figures and specific examples.

Example 1:

according to the attached drawings 1 and 2, the invention relates to a pulse type LC oscillation induction type angle sensor and an angle position measuring method, the pulse type LC oscillation induction type angle sensor comprises a rotating shaft 8 capable of rotating around the center, a disc 1 fixed on the rotating shaft 8 and a plurality of inductance coils arranged above the disc, the inductance coils are uniformly distributed by taking a coil rotating central shaft 12 as the center, the coil rotating central shaft 12 and the rotating shaft 8 are concentric and coaxial, the disc 1 is a partially metallized disc, namely the disc 1 comprises a metallized half disc 11. The size of the disc 1 is matched with the size of an excircle defined by a plurality of uniformly distributed inductance coils.

The inductance coil adopts a winding inductance coil or a PCB printed coil arranged on a printed circuit board 7, and the number of the inductance coil is generally 3-5. In this embodiment, 3 PCB printed coils are disposed on the PCB 7, one end of each of the 3 PCB printed coils is connected to the ground of the measuring circuit 10, and the other end is connected to different pulse generator ports of the measuring circuit 10, and the different pulse generator ports are respectively provided with respective switches. In this embodiment, the 3 PCB printed coils are respectively a first PCB printed coil 2, a second PCB printed coil 3, and a third PCB printed coil 4, and are respectively connected to a third switch K3, a second switch K2, and a first switch K1, which are disposed at different pulse generator ports of the measurement circuit 10.

The measuring circuit 10 comprises a single chip microcomputer (MCU, i.e., U1 in fig. 2), an amplifying circuit 13 connected with the 1 st pin of the MCU, and a first capacitor C1 connected with the 2 nd pin of the MCU, wherein switches arranged at different pulse generator ports are connected in parallel and then connected with a first capacitor C1 circuit, a second capacitor C2 and a first resistor R1 are sequentially connected in parallel with the connecting circuit of the 1 st pin of the MCU and the amplifying circuit 13, and the connecting circuit of the first capacitor C1 and the switches is further connected in series with a second resistor R7 and then connected with the amplifying circuit 13. The amplifying circuit 13 in this embodiment is an NPN type triode, i.e., the triode Q4 in fig. 2, a collector of the triode Q4 is sequentially connected to the second capacitor C2 and the first resistor R1, and then to an emitter of the triode Q4, and the second resistor R7 is connected to a base of the triode Q4.

The angle position measuring method and the working principle of the embodiment are as follows:

according to fig. 2, the MCU first generates a high level from the 1 st pin to charge the second capacitor C2, the second capacitor C2 is fully charged after a set time, the 1 st pin is turned off, and a plurality of PWM square wave pulses are generated from the 2 nd pin, the pulses form an oscillating circuit with the corresponding PCB printed coil after being turned on through any one of the first capacitor C1, the first switch K1, the second switch K2, and the third switch K3, while the PCB printed coil corresponding to the non-turned-on switch is not affected by the oscillating waveform, the oscillating waveform is amplified by the amplifying circuit 13 through the current of the second resistor R7, and the amplified current causes the second capacitor C2 to discharge to the ground through R1, so that the voltage on the second capacitor C2 which has been previously charged gradually decreases. Immediately after the 2 nd pin of the U1 in the measurement circuit 10 stops pulse output, the 1 st pin collects the voltage value on the pin C2 of the second capacitor to the ADC inside the second capacitor, and calculates the residual voltage on the second capacitor C2. When the metallized half disc 11 on the disc 1 rotates in the clockwise rotation direction 6 or the counterclockwise rotation direction 5 under the first PCB printed coil 2, the second PCB printed coil 3 and the third PCB printed coil 4, the third switch K3, the second switch K2 and the first switch K1 are respectively closed, and the first PCB printed coil 2, the second PCB printed coil 3 and the third PCB printed coil 4 correspondingly start the oscillating circuit and measure the voltage on the second capacitor C2. When the metallized half disc 11 is below the second PCB printed coil 3 and the third PCB printed coil 4, the inductance of the second PCB printed coil 3 and the third PCB printed coil 4 will change due to the influence of the metallized half disc 11. This variation results in the difference between the voltage picked up by the second capacitor C2 and the voltage across the first PCB printed coil 2 for each pulse sent from leg 2 of U1 through the second PCB printed coil 3 and the third PCB printed coil 4, which difference is denoted as V, and when N pulses are passed (N ≧ 1), there are N corresponding variations in V which cause the voltage across the second capacitor C2 to be lower, see C in fig. 3.

By analogy, when the metallized half disc 11 is under the first PCB printed coil 2 and the second PCB printed coil 3, N pulses also cause the second capacitance C2 on the third PCB printed coil 4 to pick up a voltage with N corresponding V changes compared to the first PCB printed coil 2 and the second PCB printed coil 3, which would make the voltage on the second capacitance C2 lower, see a in fig. 4. When the metallized half disc 11 is on the first PCB printed coil 2 and the third PCB printed coil 4, N pulses also cause the second capacitor C2 on the second PCB printed coil 3 to pick up a voltage with N corresponding V changes compared to the first PCB printed coil 2 and the third PCB printed coil 4, which changes would cause the voltage on the second capacitor C2 to be lower, see B in fig. 5.

Thus, each time the trigger pulse is turned on and the first switch K1, the second switch K2, and the third switch K3 are turned off, respectively, after N pulses, the pulse generator is turned off, and then the voltage on the second capacitor C2 is read, so that it can be deduced which one or two of the first PCB printed coil 2, the second PCB printed coil 3, and the third PCB printed coil 4 the metallized half disc 11 is located under. And can also judge whether the metallized half disc 11 rotates clockwise from the first PCB printed coil 2 to the second PCB printed coil 3 and then to the third PCB printed coil 4 or rotates anticlockwise from the first PCB printed coil 2 to the third PCB printed coil 4 and then to the second PCB printed coil 3 and then to the first PCB printed coil 2, thereby realizing the purpose of angle judgment. The rotation angle can detect the flowing direction and the rotation turns, and the rotation turns can be recorded by the MCU in the measuring circuit 10, and the rotation turns can be quantified into the flowing flow value of the liquid, so that the function of the angle sensor is realized, and the purpose of forward and reverse rotation measurement is achieved.

The above-mentioned embodiments are only used for explaining the technical solutions of the present invention, and not for limiting the protection scope of the present invention, and the protection scope of the present invention is defined by the claims of the present invention, and all changes, such as equivalents and equivalent substitutions, made according to the technical contents disclosed by the present invention should be included in the protection scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种用于航空发动机飞轮表面平整度的检测装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!