Moisture meter sensor and working method

文档序号:1707607 发布日期:2019-12-13 浏览:19次 中文

阅读说明:本技术 一种水分仪传感器及工作方法 (Moisture meter sensor and working method ) 是由 张明权 张月华 刘青松 于 2019-09-09 设计创作,主要内容包括:本发明提供一种水分仪传感器工作方法。所述水分仪传感器工作方法根据不同使用地点的重力加速度和空气浮力对转换的影响,采用电桥发,通过固定激励将压力线性的转换为差动电压输出,该输出电压通过精度查分ADC转换器转换为数字量,并通过微控制器控制采样和读取检测参数,针对检测参数与设计参数对比,输出检测参数值与误差值,如检测值低于设计值时,所述报警模块发出警报声音。与相关技术相比,本发明提供的水分仪传感器工作方法可有效对粮食水分的感应、检测、对比分析及报警,检测精度高,且使用方便。本发明还提供一种水分仪传感器。(The invention provides a working method of a moisture meter sensor. According to the influence of gravity acceleration and air buoyancy on conversion of different using places, the moisture meter sensor working method adopts an electric bridge to convert pressure linearly into differential voltage to be output through fixed excitation, the output voltage is converted into digital quantity through an accuracy check ADC (analog to digital converter), sampling and reading of detection parameters are controlled through a microcontroller, the detection parameters are compared with design parameters, detection parameter values and error values are output, and if the detection values are lower than the design values, an alarm module gives out alarm sound. Compared with the prior art, the working method of the moisture meter sensor provided by the invention can effectively sense, detect, contrastively analyze and alarm the moisture of the grain, and has the advantages of high detection precision and convenience in use. The invention also provides a moisture meter sensor.)

1. A working method of a moisture meter sensor is characterized in that according to the influence of gravity acceleration and air buoyancy on conversion of different using places, an electric bridge is adopted, pressure is linearly converted into differential voltage to be output through fixed excitation, the output voltage is converted into digital quantity through an accuracy check ADC (analog to digital converter), sampling and reading of detection parameters are controlled through a microcontroller, the detection parameters are compared with design parameters, detection parameter values and error values are output, and if the detection values are lower than the design values, an alarm module gives out alarm sound.

2. the method of operating a moisture meter sensor of claim 1, comprising the steps of:

the method comprises the following steps that firstly, an AD data acquisition device and a single chip microcomputer are provided, and the single chip microcomputer automatically acquires analog signal data of a sensor through the AD data acquisition device;

providing an ADC (analog to digital converter), and linearly converting the pressure into differential voltage to be output through fixed excitation;

providing a microcontroller, sampling and reading detection parameters through the trivial microcontroller, and judging and identifying the read detection parameters and design parameters through a single chip microcomputer;

Providing a digital system conversion module, converting the analog signals transmitted by the sensor into digital signals and transmitting the digital signals to the program design related to the single chip microcomputer for digital system conversion;

Step five, providing a display screen and an alarm module, wherein the display screen is electrically connected with the single chip microcomputer, the single chip microcomputer displays numerical values on the display screen, and if a detection value is lower than a design value, the alarm module gives out alarm sound;

And step six, finishing the acquisition.

3. The method of operating a moisture meter sensor according to claim 1 or 2, wherein the detection parameters include linearity error, hysteresis error, repeatability error, creep, zero temperature characteristic, and sensitivity temperature characteristic.

4. The method of claim 3, wherein in step three, when the detected temperature value has an error, temperature compensation is performed.

5. The method of operating a moisture meter sensor of claim 3, wherein step three further comprises: and 3.1, eliminating high-frequency noise, wherein the high-frequency noise in the input signal refers to noise caused by thermal noise, shot noise and external random interference in the sensor, and is filtered by a digital filter.

6. The method of claim 5, wherein the noise is identified by the characteristics of the loading signal, if any, then no low pass filtering is performed, and the jump signal is reduced to the ideal step signal by a suitable processing method, if no, then filtering is performed.

7. the method of operating a moisture meter sensor of claim 5, wherein step three further comprises: and 3.2, separating low-frequency noise, wherein a low-frequency noise separation algorithm is realized through software programming of a single chip microcomputer, a sensor output signal after high-frequency filtering is input into the single chip microcomputer through A/D conversion, the low-frequency noise is separated and then output, and the A/D conversion is realized by a timer O interrupt service subprogram.

8. a moisture meter sensor is electrically connected with a single chip microcomputer, a display module and a keyboard scanning control module and is characterized by comprising a main program module, an A/D converter, an AD data collector, a digital conversion module and an alarm module which are electrically connected with each other, wherein a chip of the main program module initializes and calls subprograms as required; the A/D converter is used for converting an analog signal transmitted by the sensor into a digital signal and transmitting the digital signal to a program design related to the single chip microcomputer when the system starts to operate; the AD data acquisition unit is used for acquiring parameter signal data; the digital system conversion module is used for converting a digital system; the alarm module is used for comparing a set value with a real-time display value, when the set value is smaller, the P1.0 is set to be 1, the diode is lightened, and the buzzer gives out alarm sound.

Technical Field

the invention relates to a moisture meter sensor and a working method.

Background

The moisture content of the grain is an important index for evaluating the quality of the grain and is a basic item for grain detection. Normal food grains contain a moderate amount of moisture and the moisture content is usually kept within a certain range, which is necessary for food grains to sustain life and maintain their inherent elite and edible quality. The moisture content of the grain is a variable value due to the influence of the harvest time, the maturity and the weather conditions. Grain moisture detection has great significance to the acquisition, transportation, storage, processing and trade of grains.

The moisture meter sensor is an important part in moisture meter detection, the performance of the moisture meter sensor is good, and the detection accuracy determines the detection accuracy of the moisture meter.

therefore, it is necessary to provide a new moisture meter sensor and a working method thereof to achieve the following technical problems.

Disclosure of Invention

The invention aims to provide a moisture meter sensor with high detection precision and a working method.

the technical scheme of the invention is as follows: a working method of a moisture meter sensor comprises the steps of adopting an electric bridge to convert pressure into differential voltage linearly through fixed excitation and output the differential voltage according to the influence of gravity acceleration and air buoyancy on conversion of different using places, converting the output voltage into digital quantity through an ADC (analog to digital converter) for precision check and division, controlling sampling and reading detection parameters through a microcontroller, comparing the detection parameters with design parameters, and outputting detection parameter values and error values, wherein if the detection values are lower than the design values, an alarm module gives out alarm sound.

Preferably, the method comprises the following steps:

The method comprises the following steps that firstly, an AD data acquisition device and a single chip microcomputer are provided, and the single chip microcomputer automatically acquires analog signal data of a sensor through the AD data acquisition device;

Providing an ADC (analog to digital converter), and linearly converting the pressure into differential voltage to be output through fixed excitation;

Providing a microcontroller, sampling and reading detection parameters through the trivial microcontroller, and judging and identifying the read detection parameters and design parameters through a single chip microcomputer;

Providing a digital system conversion module, converting the analog signals transmitted by the sensor into digital signals and transmitting the digital signals to the program design related to the single chip microcomputer for digital system conversion;

Step five, providing a display screen and an alarm module, wherein the display screen is electrically connected with the single chip microcomputer, the single chip microcomputer displays numerical values on the display screen, and if a detection value is lower than a design value, the alarm module gives out alarm sound;

And step six, finishing the acquisition.

preferably, the detection parameters include linearity error, hysteresis error, repeatability error, creep, zero temperature characteristic and sensitivity temperature characteristic.

preferably, in step three, when the detected temperature value has an error, temperature compensation is required.

Preferably, the third step further comprises:

And 3.1, eliminating high-frequency noise, wherein the high-frequency noise in the input signal refers to noise caused by thermal noise, shot noise and external random interference in the sensor, and is filtered by a digital filter.

Preferably, for noise, the characteristics of the loading signal are used to distinguish whether loading occurs or not, if so, low-pass filtering is not performed, the jump signal during loading is restored to an ideal step signal through a proper processing method, and if not, filtering is performed.

Preferably, the third step further comprises:

and 3.2, separating low-frequency noise, wherein a low-frequency noise separation algorithm is realized through software programming of a single chip microcomputer, a sensor output signal after high-frequency filtering is input into the single chip microcomputer through A/D conversion, the low-frequency noise is separated and then output, and the A/D conversion is realized by a timer O interrupt service subprogram.

the house also provides a moisture meter sensor which is electrically connected with the singlechip, the display module and the keyboard scanning control module and comprises a main program module, an A/D converter, an AD data collector, a digital system conversion module and an alarm module which are electrically connected with each other, wherein a chip of the main program module initializes and calls subprograms as required; the A/D converter is used for converting an analog signal transmitted by the sensor into a digital signal and transmitting the digital signal to a program design related to the single chip microcomputer when the system starts to operate; the AD data acquisition unit is used for acquiring parameter signal data; the digital system conversion module is used for converting a digital system; the alarm module is used for comparing a set value with a real-time display value, when the set value is smaller, the P1.0 is set to be 1, the diode is lightened, and the buzzer gives out alarm sound.

Compared with the related technology, the invention has the beneficial effects that: the grain moisture detection device can effectively sense, detect, contrastively analyze and alarm the moisture of grains, and is high in detection precision and convenient to use.

drawings

FIG. 1 is a flow chart of a method of operating a moisture meter sensor according to the present invention.

Detailed Description

the present invention will be described in detail below with reference to the embodiments with reference to the attached drawings. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. For convenience of description, the words "upper", "lower", "left" and "right" in the following description are used only to indicate the correspondence between the upper, lower, left and right directions of the drawings themselves, and do not limit the structure.

The moisture meter sensor provided by the invention is electrically connected with a single chip microcomputer, a display module and a keyboard scanning control module, and comprises a main program module, an A/D converter, an AD data acquisition device, a digital conversion module and an alarm module which are electrically connected with each other, wherein a chip of the main program module initializes and calls subprograms as required; the A/D converter is used for converting an analog signal transmitted by the sensor into a digital signal and transmitting the digital signal to a program design related to the single chip microcomputer when the system starts to operate; the AD data acquisition unit is used for acquiring parameter signal data; the digital system conversion module is used for converting a digital system; the alarm module is used for comparing a set value with a real-time display value, when the set value is smaller, the P1.0 is set to be 1, the diode is lightened, and the buzzer gives out alarm sound. The keyboard scanning control module mainly judges key codes, then sends numerical values represented by the keyboard to corresponding storage units according to the codes, and then performs function selection or data processing. The display module mainly judges whether display is needed or not and how to display.

As shown in fig. 1, the method for operating a moisture meter sensor according to the present invention includes the following steps:

The method comprises the following steps that firstly, an AD data acquisition device and a single chip microcomputer are provided, and the single chip microcomputer automatically acquires analog signal data of a sensor through the AD data acquisition device;

Providing an ADC (analog to digital converter), and linearly converting the pressure into differential voltage to be output through fixed excitation;

Providing a microcontroller, sampling and reading detection parameters through the trivial microcontroller, and judging and identifying the read detection parameters and design parameters through a single chip microcomputer; the detection parameters include linearity error, hysteresis error, repeatability error, creep, zero temperature characteristic and sensitivity temperature characteristic. When the detected temperature value has errors, temperature compensation is needed.

And 3.1, eliminating high-frequency noise, wherein the high-frequency noise in the input signal refers to noise caused by thermal noise, shot noise and external random interference in the sensor, and is filtered by a digital filter. For noise, whether loading is generated or not is distinguished by using the characteristics of a loading signal, if so, low-pass filtering is not carried out, the jump signal during loading is restored to an ideal step signal through a proper processing method, and if not, filtering is adopted.

and 3.2, separating low-frequency noise, wherein a low-frequency noise separation algorithm is realized through software programming of a single chip microcomputer, a sensor output signal after high-frequency filtering is input into the single chip microcomputer through A/D conversion, the low-frequency noise is separated and then output, and the A/D conversion is realized by a timer O interrupt service subprogram.

Providing a digital system conversion module, converting the analog signals transmitted by the sensor into digital signals and transmitting the digital signals to the program design related to the single chip microcomputer for digital system conversion;

Step five, providing a display screen and an alarm module, wherein the display screen is electrically connected with the single chip microcomputer, the single chip microcomputer displays numerical values on the display screen, and if a detection value is lower than a design value, the alarm module gives out alarm sound;

And step six, finishing the acquisition.

the above description is only an 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.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种粮食水分多点在线检测仪

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!