inclination angle sensor and detection method thereof

文档序号:1693098 发布日期:2019-12-10 浏览:17次 中文

阅读说明:本技术 一种倾角传感器及其检测方法 (inclination angle sensor and detection method thereof ) 是由 罗诗风 夏明霞 于 2019-07-31 设计创作,主要内容包括:本发明提出了一种倾角传感器及其检测方法,不仅设置了模拟量信号输出、数字量信号输出,同时还设置有开关量信号输出,这样在更换传感器时,可以通过传感器本身进行标定,无需外接电脑等其他设备,其使用方便、维护性好。(The invention provides a tilt sensor and a detection method thereof, which are provided with analog quantity signal output, digital quantity signal output and switching value signal output, so that when the sensor is replaced, the sensor can be calibrated without being externally connected with other equipment such as a computer, and the tilt sensor is convenient to use and good in maintainability.)

1. the tilt sensor comprises a detection module and an output module, wherein the detection module is used for detecting a tilt signal of a detected body, and the output module is characterized in that the output module outputs a digital tilt signal, an analog tilt signal and a switching value signal according to the tilt signal detected by the detection module.

2. the tilt sensor according to claim 1, further comprising a calibration module for pre-calibrating an angle threshold set by the switching value signal.

3. The tilt sensor according to claim 2, wherein the switching value signal sets two or more angle thresholds.

4. The tilt sensor according to claim 2 or 3, wherein the calibration module is a key, a switch, a knob or a slider arranged on the tilt sensor.

5. the tilt sensor according to claim 2 or 3, wherein the calibration module comprises a tilt sensor knocked signal acquisition module and a knocking signal processing module, the tilt sensor knocked signal acquisition module is used for acquiring the tilt sensor knocked signal, and the knocking signal processing module is used for calibrating the angle threshold set by the switching value signal according to the acquired tilt sensor knocked signal.

6. A tilt sensor detection method is characterized by comprising the following steps:

Detecting, namely detecting a tilt angle signal of the detected body;

and outputting the inclination angle signal as a digital inclination angle signal, an analog inclination angle signal and a switching value signal.

7. the tilt sensor detection method of claim 6, further comprising the steps of:

And calibrating, namely calibrating the angle threshold set by the switching value signal in advance.

8. The tilt sensor detecting method according to claim 7, wherein the switching value signal sets two or more angle thresholds.

9. the tilt sensor detection method according to claim 7, wherein the calibration step specifically comprises:

When the inclination Angle signal of the measured body is H Min, the calibration sensor records the Angle value corresponding to the current calibration position as Angle Min;

Out0 outputs a valid state when Angle > -Angle min;

When the inclination Angle signal of the measuring body is H1, the calibration sensor records that the Angle value corresponding to the current calibration position is Angle 1;

when Angle > -Angle 1, Out1 outputs the active state.

when the inclination Angle signal of the measuring body is H Max, the calibration sensor records that the Angle value corresponding to the current calibration position is Angle Max;

Outn outputs the active state when Angle > -Angle max.

10. the tilt sensor detection method according to any one of claims 6 to 9, wherein the calibration step specifically comprises:

Within a preset time after the inclination angle sensor is electrified, acquiring whether the inclination angle sensor has a knocked signal;

If yes, judging whether the knocked signal of the tilt angle sensor is within the preset frequency and frequency range;

If so, calibrating the angle threshold set by the switching value signal according to the frequency and the frequency of the knocked signal;

Otherwise, the calibration is not performed.

Technical Field

The invention relates to the technical field of detection, in particular to a tilt angle sensor and a detection method thereof.

Background

Tilt sensors, also known as inclinometers, gradienters, inclinometers, are often used for the measurement of horizontal angular changes of systems, gradienters ranging from simple bubble gradienters of the past to electronic gradienters of today as a result of the development of automation and electronic measurement techniques.

With the continuous development of production and science, angle measurement is more and more widely applied to various fields such as industrial scientific research and the like, and the technical level and the measurement accuracy are also continuously improved. The demand of the market for sensors is also increasing, and for example, tilt sensors are not many, but they are not produced autonomously in China, and are used to measure the tilt variation relative to the horizontal plane by definition, in other words, they are actually acceleration sensors using the principle of inertia. The sensor can be divided into three tilt sensors of a solid pendulum type, a liquid pendulum type and a gas pendulum type on the basis of the working principle.

The classification of inclination sensor installation axle number can be divided into two kinds of unipolar and biax from inclination sensor's classification, what angle can be measured respectively to unipolar and biax, unipolar inclination sensor can only survey the angle change that produces around an axle, the biax can survey relative and two axle angle changes, inclination sensor that we said can horizontal installation and perpendicular installation, the mode according to the installation is different, unipolar and biax inclination sensor measuring angle also is different, the biax can measure upset and angle of pitch, and the unipolar can only survey flip angle or angle of pitch when selecting horizontal installation, if the unipolar can only survey flip angle when selecting perpendicular installation, the angle of pitch is not optional, unipolar inclination sensor is many in the existing market, and resolution ratio is higher.

the output modes of the tilt sensor are classified into: analog quantity output and digital quantity output. The analog quantity signal output type is to output different analog quantity signals according to the change of the inclination angle. The digital quantity output type is to convert the value of the inclination angle into digital quantity and output a digital quantity signal through a communication port, and the common communication port types include CAN Open, a serial port RS232, RS485 and the like. In a specific application, the angle value must correspond to a specific detection quantity regardless of the analog quantity output type or the digital quantity output type. Such as: the flatness of the surface is detected, firstly, the sensor needs to be installed on a specific plane, and certain errors exist between the physical zero position of an object and the zero position of the sensor, so that the calibration needs to be carried out again in the practical application process. Therefore, certain difficulty is caused to practical application, and particularly when the sensor is in failure and needs to be replaced by a new sensor, the calibration needs to be carried out again, so that great inconvenience is brought to use.

Therefore, it is an urgent technical problem to be solved by those skilled in the art to provide a tilt sensor that is convenient and fast to calibrate.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the inclination angle sensor and the detection method thereof are convenient to use and good in maintainability.

the solution of the invention is realized by the following steps: the inclination angle sensor comprises a detection module and an output module, wherein the detection module is used for detecting an inclination angle signal of a detected body, and the output module outputs a digital quantity inclination angle signal, an analog quantity inclination angle signal and a switching value signal according to the inclination angle signal detected by the detection module.

On the basis, the other technical scheme of the invention also comprises a calibration module which is used for calibrating the angle threshold set by the switching value signal in advance.

in addition to the above, another technical solution of the present invention is that the switching value signal has two or more angle thresholds.

on the basis, the calibration module is a key, a switch, a knob or a sliding block arranged on the tilt angle sensor.

On the basis, the calibration module comprises a knocked signal acquisition module of the tilt sensor and a knocking signal processing module, wherein the knocked signal acquisition module of the tilt sensor is used for acquiring a knocked signal of the tilt sensor, and the knocking signal processing module is used for calibrating an angle threshold set by the switching value signal according to the obtained knocked signal of the tilt sensor.

another technical solution of the present invention is to provide a tilt sensor detecting method based on the above, including the following steps:

Detecting, namely detecting a tilt angle signal of the detected body;

And outputting the inclination angle signal as a digital inclination angle signal, an analog inclination angle signal and a switching value signal.

Another technical solution of the present invention is to further include, on the basis of the above, the steps of:

And calibrating, namely calibrating the angle threshold set by the switching value signal in advance.

In addition to the above, another technical solution of the present invention is that the switching value signal has two or more angle thresholds.

On the basis, the other technical scheme of the invention is that the calibration steps are as follows:

When the inclination Angle signal of the measured body is H Min, the calibration sensor records the Angle value corresponding to the current calibration position as Angle Min;

Out0 outputs a valid state when Angle > -Angle min;

when the inclination Angle signal of the measuring body is H1, the calibration sensor records that the Angle value corresponding to the current calibration position is Angle 1;

When Angle > -Angle 1, Out1 outputs the active state.

When the inclination Angle signal of the measuring body is H Max, the calibration sensor records that the Angle value corresponding to the current calibration position is Angle Max;

Outn outputs the active state when Angle > -Angle max.

On the basis, the other technical scheme of the invention is that the calibration step specifically comprises the following steps:

Within a preset time after the inclination angle sensor is electrified, acquiring whether the inclination angle sensor has a knocked signal;

if yes, judging whether the knocked signal of the tilt angle sensor is within the preset frequency and frequency range;

if so, calibrating the angle threshold set by the switching value signal according to the frequency and the frequency of the knocked signal;

otherwise, the calibration is not performed.

According to the technical scheme, the technical scheme provided by the invention has the following advantages:

The invention provides a tilt sensor which is provided with analog quantity signal output, digital quantity signal output and switching value signal output, so that when the sensor is replaced, the sensor can be calibrated without being externally connected with other equipment such as a computer, and the tilt sensor is convenient to use and good in maintainability.

drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention.

FIG. 1 is a schematic diagram illustrating the calibration of a tilt sensor according to an embodiment of the present invention;

fig. 2 is a flowchart of a calibration method of a tilt sensor according to an embodiment of the present invention.

Detailed Description

The present invention will now be described in detail with reference to the drawings, which are given by way of illustration and explanation only and should not be construed to limit the scope of the present invention in any way. Furthermore, features from embodiments in this document and from different embodiments may be combined accordingly by a person skilled in the art from the description in this document.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种便携式坡度测量仪

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!