Rotation real-time metering detection system with zero real-time refreshing function

文档序号:1503484 发布日期:2020-02-07 浏览:28次 中文

阅读说明:本技术 一种零点实时刷新的转动实时计量检测系统 (Rotation real-time metering detection system with zero real-time refreshing function ) 是由 王传义 李华荣 于 2019-11-08 设计创作,主要内容包括:本发明公开的属于转动计量检测技术领域,具体为一种零点实时刷新的转动实时计量检测系统,包括模拟量传感器和可编程控制器PLC,该零点实时刷新的转动实时计量检测系统还包括存储单元和显示器;所述存储单元为三个公用存储单元,且公用存储单元包括RU1、RU2和RN;所述模拟量传感器的输出端口通过数据线与可编程控制器PLC的输入接口连接,所述可编程控制器PLC的输出端口通过数据线与显示器的输入端口连接,每次采样段的零点都是前一个时刻采集的信号并进行程序运算,就可以得到当时刻的实时转速和转动圈数,还避免了占用大量存储空间,另外采样的时间间隔也要合理设置,既尽可能合理的短;提高检测的准确性。(The invention discloses a rotation real-time metering detection system with a zero point real-time refreshing function, belonging to the technical field of rotation metering detection, and comprising an analog quantity sensor and a Programmable Logic Controller (PLC), wherein the rotation real-time metering detection system with the zero point real-time refreshing function further comprises a storage unit and a display; the storage units are three common storage units, and the common storage units comprise RUs 1, RUs 2 and RN; the output port of the analog quantity sensor is connected with the input interface of the Programmable Logic Controller (PLC) through a data line, the output port of the PLC is connected with the input port of the display through the data line, the zero point of each sampling section is a signal acquired at the previous moment and performs program operation, so that the real-time rotating speed and the rotating number of turns at the moment can be obtained, a large amount of storage space is also avoided, in addition, the sampling time interval is reasonably set, and the sampling time interval is as short as possible; the accuracy of detection is improved.)

1. The utility model provides a rotation real-time measurement detecting system that zero point real-time refreshing, includes analog quantity sensor and programmable logic controller PLC, its characterized in that: the rotation real-time metering detection system with the zero point real-time refreshing function further comprises a storage unit and a display;

the storage units are three common storage units, and the common storage units comprise RUs 1, RUs 2 and RN;

an output port of the analog quantity sensor is connected with an input interface of a Programmable Logic Controller (PLC) through a data line, an output port of the PLC is connected with an input port of a display through a data line, and a storage interface of the PLC is connected with a storage unit through a data line;

one analog quantity sensor corresponds to one detected target, and the Programmable Logic Controller (PLC) corresponds to a plurality of analog quantity sensors according to capacity and computing capacity.

The PLC program sets and defines the storage units as three common storage units, wherein the three common storage units are RU1, RU2 and RN respectively;

the program defines a loop execution module comprising the operations of:

collecting a specified sensor signal (number of pulses) a (n);

storing the collected value A (n) into RU2, and calculating RU2-RU1 as RN;

calculating real-time rotating speed RS (n) and rotating number RT (n);

assigning RU2 value to RU1 (data dump);

carrying out next collection;

the zero point of each sampling section is the signal acquired at the previous moment and program operation is carried out, so that the real-time rotating speed RS and the rotating number RT at the moment can be obtained;

the algorithm of the real-time rotating speed RS and the real-time rotating number RT is as follows:

RS(n)=(RN(n)*60)/(T(n)*AT);

RT(n)=RN(n)/AT;

t (n) is the duration of the nth sampling segment;

AT is the number of pulses/turn.

2. The zero real-time refreshing rotation real-time metering detection system according to claim 1, characterized in that: the analog quantity sensor is an encoder.

3. The zero real-time refreshing rotation real-time metering detection system according to claim 1, characterized in that: the display is an LED display.

4. The zero real-time refreshing rotation real-time metering detection system according to claim 1, characterized in that: the set time length of T (n) is 1-2S.

5. The zero real-time refreshing rotation real-time metering detection system according to claim 1, characterized in that: and a decoder matched with the analog quantity sensor is arranged in the programmable logic controller PLC.

Technical Field

The invention relates to the technical field of rotation metering detection, in particular to a rotation real-time metering detection system with a real-time zero refreshing function.

Background

The operation modes of the currently widely used rotation detection instrument or system are generally as follows: the sensor (encoder or proximity switch) sends out analog quantity signal (pulse), the detection system reads the pulse in a certain time and accumulates the pulse number, and then the rotating speed and the rotating number of turns of the detected object can be calculated.

This method is suitable for constant speed rotation, but in practice a constant rotational speed, which is more or less subject to fluctuations in rotational speed, is difficult to achieve due to factors such as the manufacturing accuracy of the components, and in practice a dynamically changing rotational speed also needs to be detected, but in these cases the current methods have large deviations.

To solve the problem of real-time detection of dynamically changing or fluctuating rotational speeds, we have developed the technique.

Disclosure of Invention

The invention aims to provide a rotation real-time metering detection system with zero point real-time refreshing, which solves the problems that the constant rotation speed proposed in the background art is difficult to realize due to factors such as manufacturing precision of parts, the constant rotation speed has more or less fluctuation of the rotation speed, and the dynamically changed rotation speed needs to be detected in actual operation, but the current method has larger deviation under the conditions.

In order to achieve the purpose, the invention provides the following technical scheme: a rotation real-time metering detection system with zero real-time refreshing comprises an analog quantity sensor and a Programmable Logic Controller (PLC), and further comprises a storage unit and a display;

the storage units are three common storage units, and the common storage units comprise RUs 1, RUs 2 and RN;

an output port of the analog quantity sensor is connected with an input interface of a Programmable Logic Controller (PLC) through a data line, an output port of the PLC is connected with an input port of a display through a data line, and a storage interface of the PLC is connected with a storage unit through a data line;

one analog quantity sensor corresponds to one detected target, and the Programmable Logic Controller (PLC) corresponds to a plurality of analog quantity sensors according to capacity and computing capacity.

The PLC program sets and defines the storage units as three common storage units, wherein the three common storage units are RU1, RU2 and RN respectively;

the program defines a loop execution module comprising the operations of:

collecting a specified sensor signal (number of pulses) a (n);

storing the collected value A (n) into RU2, and calculating RU2-RU1 as RN;

calculating real-time rotating speed RS (n) and rotating number RT (n);

assigning RU2 value to RU1 (data dump);

carrying out next collection;

the zero point of each sampling section is the signal acquired at the previous moment and program operation is carried out, so that the real-time rotating speed RS and the rotating number RT at the moment can be obtained;

the algorithm of the real-time rotating speed RS and the real-time rotating number RT is as follows:

RS(n)=(RN(n)*60)/(T(n)*AT);

RT(n)=RN(n)/AT;

t (n) is the duration of the nth sampling segment;

AT is the number of pulses/turn.

Preferably, the analog sensor is an encoder.

Preferably, the display is an LED display.

Preferably, the set time length of T (n) is 1-2S.

Preferably, a decoder matched with the analog quantity sensor is arranged in the programmable logic controller PLC.

Compared with the prior art, the invention has the beneficial effects that:

1) the zero point of each sampling section is the signal acquired at the previous moment and program operation is carried out, so that the real-time rotating speed and the number of rotating turns at the moment can be obtained, a large amount of storage space is also avoided, in addition, the sampling time interval is reasonably set, and the sampling time interval is as short as possible;

2) the accuracy of detection is improved, and the authenticity of the measuring result is guaranteed.

Drawings

FIG. 1 is a logical block diagram of the system of the present invention;

FIG. 2 is a system logic block diagram of the memory cell of the present invention;

fig. 3 is a data acquisition graph of the inventive arrangements.

Detailed Description

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.

In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种液体流速传感器

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!