Wet-type sampling circle detects frock

文档序号:1859152 发布日期:2021-11-19 浏览:10次 中文

阅读说明:本技术 湿式采样圈检测工装 (Wet-type sampling circle detects frock ) 是由 费战波 张毅 张旭涵 于 2020-05-14 设计创作,主要内容包括:本发明属于智能水表检测技术领域,具体涉及一种湿式采样圈检测工装。该检测工装包括面板、处理模块和驱动模块;面板上设有至少一个检测插座,一个检测插座用于装配一个待测的装有两个干簧管的采样圈,且每个检测插座上设有一个磁针,磁针用于模拟水表中的指针;驱动模块驱动连接所述磁针;处理模块采样连接采样圈上的两个干簧管,以获取两个干簧管的输出信号;处理模块控制连接所述驱动模块,使驱动模块带动磁针转动。该检测工装工作原理简单,使用方便,不仅可以检测出采样圈上的单个干簧管是否故障,还可对采样圈上的两个干簧管能否配合工作进行检测,确保采样圈可安全可靠工作,保证了采用该采样圈的水表的计量精度。(The invention belongs to the technical field of intelligent water meter detection, and particularly relates to a wet sampling ring detection tool. The detection tool comprises a panel, a processing module and a driving module; the panel is provided with at least one detection socket, one detection socket is used for assembling a sampling ring to be detected, the sampling ring is provided with two reed pipes, each detection socket is provided with a magnetic needle, and the magnetic needles are used for simulating pointers in the water meter; the driving module is in driving connection with the magnetic needle; the processing module samples and connects two reed switches on the sampling ring to obtain output signals of the two reed switches; the processing module is connected with the driving module in a control mode, so that the driving module drives the magnetic needle to rotate. The detection tool is simple in working principle and convenient to use, can detect whether a single reed switch on a sampling ring is in fault or not, can detect whether two reed switches on the sampling ring can be matched with each other or not, ensures that the sampling ring can work safely and reliably, and ensures the metering precision of a water meter adopting the sampling ring.)

1. A wet sampling ring detection tool is characterized by comprising a panel, a processing module and a driving module;

the panel is provided with at least one detection socket, one detection socket is used for assembling a sampling ring to be detected, the sampling ring is provided with two reed pipes, each detection socket is provided with a magnetic needle, and the magnetic needles are used for simulating pointers in the water meter;

the driving module is in driving connection with the magnetic needle;

the processing module is connected with the two reed switches on the sampling ring in a sampling manner so as to obtain output signals of the two reed switches; the processing module is connected with the driving module in a control mode, so that the driving module drives the magnetic needle to rotate.

2. The tool for detecting the wet sampling ring according to claim 1, wherein an infrared photoelectric sensor is arranged on the surface of each detection socket, and the processing module is connected with the infrared photoelectric sensors in a sampling mode so as to determine starting/stopping of testing according to signals of the infrared photoelectric sensors.

3. The wet-type sampling ring detection tool according to claim 1, wherein an indicator lamp is further arranged on the panel, and the processing module is in control connection with the indicator lamp and used for indicating whether the detection result of the sampling ring to be detected is qualified or not.

4. The wet sampling ring detection tool according to claim 1, wherein the processing module comprises singlechips with the same number of detection sockets, the driving module comprises motors with the same number of detection sockets, one singlechip is in control connection with one motor, and one motor is in drive connection with one magnetic needle.

5. The wet sampling ring detection tool according to claim 3, wherein the indicator lamp comprises an alarm indicator lamp and a qualified indicator lamp.

Technical Field

The invention belongs to the technical field of intelligent water meter detection, and particularly relates to a wet sampling ring detection tool.

Background

Water resources are the most closely related resources to human beings, and the increasingly deficient water resources seriously affect the social and economic development. The water meter is used as a water metering device, and can provide accurate measurement indexes and quantitative basis for water conservation.

The existing intelligent water meter has two metering modes, one is mechanical, and the other is metering by a sensor. In the second mode, the most widely used sensor is a reed switch, and the reed switch has the advantages of small volume, low cost, light weight, convenience in conversion and use and the like. The main principle is that a medium to be measured pushes an impeller to rotate, a coaxial pointer is driven to rotate at the same time, a permanent magnet is embedded on the pointer, and therefore every time the medium rotates for one circle, two reed pipes are sequentially closed under the action of the permanent magnet, and therefore a metering signal is generated.

The existing intelligent water meter generally adopts a double reed switch to measure. Depending on the different closing states of the two reed switches, a pulse count can be made or a determination can be made that a disturbance is present. For example, when two reed switches are disconnected or one reed switch is disconnected and one reed switch is closed, the intelligent water meter is considered to be in a normal working state, and when the two reed switches are closed once respectively, a pulse is recorded; when the two reed switches are closed simultaneously, external magnetic field interference exists. Moreover, the phenomenon of multiple pulses caused by the vibration of the reed switch can be effectively avoided by adopting the mode.

The intelligent water meter is characterized in that shaping is needed firstly in the production process of the intelligent water meter, two reed switches are placed into a sampling ring by production personnel according to experience, and the two reed switches and the sampling ring are fixed in the intelligent water meter after being assembled. In order to ensure the metering accuracy of the intelligent water meter, the sampling ring needs to be detected, each reed switch on the sampling ring is required to work normally and reliably, two reed switches on the sampling ring need to work in a mutually matched mode, and the positions of the two reed switches, the distance between the two reed switches and other factors can influence whether the intelligent water meter can accurately and reliably meter. The detection frock among the prior art detects to a tongue tube mostly to confirm its performance and quality, including whether the contact of tongue tube is stable, whether adhesion appears, and do not detect to the sampling circle, so need to detect whether qualified the sampling circle, also whether two tongue tubes on the sampling circle can cooperate the work to detect.

Disclosure of Invention

The invention provides a wet sampling ring detection tool, which is used for simply and conveniently detecting whether a sampling ring in a water meter is qualified or not.

In order to solve the technical problem, the technical scheme of the invention comprises the following steps:

the invention provides a wet sampling ring detection tool, which comprises a panel, a processing module and a driving module, wherein the processing module is used for processing a sample to be detected;

the panel is provided with at least one detection socket, one detection socket is used for assembling a sampling ring to be detected, the sampling ring is provided with two reed pipes, each detection socket is provided with a magnetic needle, and the magnetic needles are used for simulating pointers in the water meter;

the driving module is in driving connection with the magnetic needle;

the processing module is connected with the two reed switches on the sampling ring in a sampling manner so as to obtain output signals of the two reed switches; the processing module is connected with the driving module in a control mode, so that the driving module drives the magnetic needle to rotate.

The beneficial effects of the above technical scheme are: the detection tool comprises a detection socket assembled with a sampling ring to be detected, wherein the sampling ring is provided with two reed pipes, and a magnetic needle simulating a rotating pointer in a water meter. After the sampling ring provided with the two reed switches to be tested is assembled with the detection socket, the magnetic needle is controlled to rotate by the processing module, so that the magnetic needle simulates the rotation of a pointer in a water meter, and whether the sampling ring to be tested is qualified or not can be judged according to the duration time of output signals of the two reed switches on the sampling ring. The detection tool is simple in working principle and convenient to use, can detect whether a single reed switch on a sampling ring is in fault or not, can detect whether two reed switches on the sampling ring can be matched with each other or not, ensures that the sampling ring can work safely and reliably, and ensures the metering precision of a water meter adopting the sampling ring. Moreover, when the detection tool comprises at least two detection sockets, batch detection of a plurality of sampling rings can be realized.

As a further improvement of the detection tool, an infrared photoelectric sensor is arranged on the surface of each detection socket, and the processing module is connected with the infrared photoelectric sensors in a sampling mode so as to determine starting/stopping of the test according to signals of the infrared photoelectric sensors. The infrared photoelectric sensor can automatically trigger detection, and has high automation degree.

As a further improvement of the detection tool, an indicator lamp is further arranged on the panel, and the processing module is in control connection with the indicator lamp and used for indicating whether the detection result of the sampling ring to be detected is qualified or not. Adopt the pilot lamp to show the testing result of sampling circle, make things convenient for testing personnel to know the testing result.

As a further improvement of the detection tool, the processing module comprises single-chip microcomputers the number of which is the same as that of the detection sockets, the driving module comprises motors the number of which is the same as that of the detection sockets, one single-chip microcomputer is in control connection with one motor, and one motor is in drive connection with one magnetic needle. And by using a plurality of single-chip microcomputers and a plurality of motors, the independent detection of each sampling ring on each detection socket can be realized.

As a further improvement of the detection tool, the indicator lamp comprises an alarm indicator lamp and a qualified indicator lamp. Two indicator lights are arranged, so that the inspector can know whether the detection is qualified or not at a glance.

Drawings

FIG. 1 is a schematic structural diagram of a wet sampling ring detection tool of the present invention;

FIG. 2 is a schematic diagram of the structure of the sampling circle of the present invention;

FIG. 3 is a block diagram of the sampling ring and test socket of the present invention after insertion;

FIG. 4 is a block diagram of the structure of the detection control unit of the present invention;

FIG. 5 is a circuit diagram of the single chip microcomputer of the present invention;

FIG. 6 is a power supply circuit diagram of the present invention;

FIG. 7-1 is a corresponding sample detection circuit diagram for the first reed switch of the present invention;

FIG. 7-2 shows a sampling detection circuit corresponding to the second reed switch of the present invention;

FIG. 8-1 is a motor control circuit diagram of the present invention;

FIG. 8-2 is a circuit diagram of the motor of the present invention for forward and reverse rotation;

FIG. 9 is a circuit diagram of the infrared detection of the present invention;

FIG. 10-1 is a circuit diagram of an indicator light corresponding to the alarm indicator light of the present invention;

FIG. 10-2 is a circuit diagram of an indicator light corresponding to a qualified indicator light of the present invention;

FIG. 11 is a circuit diagram of a program download port of the present invention;

FIG. 12 is a flow chart of a sample loop detection method of the present invention;

FIG. 13 is a schematic view of the magnetic needle travel of the present invention;

the device comprises a panel 1, a detection socket 2, a circuit board 3, an indicator lamp 4, a sampling ring 5, a first reed switch 51, a second reed switch 52 and a magnetic needle 6.

Detailed Description

The detection object of the wet sampling ring detection tool is a sampling ring 5, and the sampling ring 5 is a sampling ring provided with two reed pipes. In the production process of the water meter, firstly, shaping is needed, and two reed pipes (a first reed pipe 51 and a second reed pipe 51 respectively) are installed on a sampling ring by a production person according to experience to form the structure shown in fig. 2.

The present invention will be described in further detail with reference to the accompanying drawings and examples.

The detection tool embodiment comprises:

the invention discloses a wet-type sampling ring detection tool, which comprises a panel 1, wherein 12 detection sockets 2 are arranged on the panel 1, and the detection sockets 2 are used for assembling a sampling ring to be detected. After the sampling ring and the detection socket are inserted, the electrical interface of the sampling ring and the electrical interface of the socket can be connected in an adaptive manner, and the structure diagram after the insertion is shown in fig. 3.

The detection tool further comprises 12 detection control units, and each detection control unit corresponds to one detection socket. As shown in fig. 4, each detection control unit includes a single chip, a magnetic needle, a motor, an indicator light, an infrared photoelectric sensor, a sampling detection circuit, an infrared detection circuit, an indicator light circuit, and a motor driving circuit.

The magnetic needle 6 is arranged on the detection socket and can generate a magnetic field. The magnetic needle 6 can rotate to simulate the rotation of the pointer in the actual water meter.

The motor is a reduction gearbox motor, is fixed below the panel through screws and is used for driving the magnetic needle to rotate.

The indicator light comprises a qualified indicator light and an alarm indicator light which are arranged beside the corresponding detection socket. Moreover, the qualified indicator light is displayed as green when being lighted, and the alarm indicator light is displayed as red when being lighted.

The infrared photoelectric sensor is arranged on the surface of the detection socket, and after the sampling ring and the detection socket are inserted, the infrared photoelectric sensor is covered by the sampling ring, so that signals output by the infrared photoelectric sensor are different from signals output by the infrared photoelectric sensor when the infrared photoelectric sensor is not covered by the sampling ring, and the detection of the sampling ring can be triggered according to the signals.

The single chip microcomputer and a sampling detection circuit, an infrared detection circuit, an indicator light circuit and a motor drive circuit which correspond to the single chip microcomputer are arranged on a circuit board 3, and the circuit board is fixed beside a detection socket which corresponds to the circuit board through four copper columns.

The following describes the sampling detection circuit, the motor drive circuit, the infrared detection circuit, the indicator light circuit, the single chip circuit, and the power supply circuit in detail.

The single chip circuit: the singlechip adopts an ATMEGA88PA type singlechip, as shown in figure 5, and the main functions of the singlechip comprise: collecting the closing and opening states of a reed switch, controlling a motor and an indicator light, and collecting signals of an infrared photoelectric sensor. A circuit diagram of a corresponding program download port is shown in fig. 11.

A power supply circuit: the 12 circuit boards of the whole detection tool are supplied with power in an integrated power supply mode, the transformer adopts YK 4828-4250V/(16V/1A), the circuit of the transformer is shown in figure 6, and a generated 5V power supply is used for supplying power to the single chip microcomputer, the indicator light, the optical coupler and the motor driving chip.

The sampling detection circuit: the sampling detection circuit converts the on and off conditions of the first reed switch 51 and the second reed switch 52 into high and low levels, and inputs the high and low levels to an I/O port of the single chip microcomputer to obtain the state of the reed switches. As shown in fig. 7-1 and 7-2, the sampling detection circuits of the first reed switch 51 and the second reed switch 52 are respectively, and the two circuits have the same principle, wherein CON2 is an interface of the first reed switch, and CON4 is an interface of the second reed switch. When the reed switch is disconnected, the optical coupler is disconnected, the right circuit is short-circuited, and the output port is directly connected with the ground and is at a low level; when the reed switch is closed, the optical coupler is conducted, and the output of the output port is high level. Therefore, the state of the reed switch is converted into high and low levels which are detected by a singlechip. After the plug-in, the electric interface on the circuit board can be electrically connected with the output terminal of the reed switch.

A motor drive circuit: comprising a motor control circuit and a motor forward and reverse rotation circuit as shown in figures 8-1 and 8-2 respectively. The principle of the motor driving circuit is that a rectangular pulse level (H: L is 7:3) is periodically (2ms) output by an I/O port of a singlechip to control the voltage difference between an output port AOUT and a BOUT of a motor chip to be 5 × 0.7V is 3.5V.

The infrared detection circuit: as shown in fig. 9, the infrared detection port of the single chip microcomputer is at a high level when the circuit board does not detect the sampling ring, the infrared photoelectric sensor is shielded by the sampling ring 5 after the sampling ring is placed on the detection station 1, the infrared detection circuit on the circuit board starts to work, the infrared detection port of the single chip microcomputer becomes at a low level, and the motor driving port of the single chip microcomputer starts to work after the level of the infrared detection port becomes low for 5 s.

Indicator light circuit: as shown in fig. 10-1 and 10-2, respectively, the alarm indicator light and the qualification indicator light are controlled to be lighted or not. When the test result is qualified, the single chip microcomputer outputs a signal, the Q2 is conducted, and the qualified indicator light LED2 is lightened and displayed to be green; when the test result is unqualified, the single chip microcomputer outputs a signal, the Q1 is conducted, and the alarm indicator lamp LED1 is lightened and displayed in red. According to the reason of failure, the red light can be controlled to be in the lighted state all the time or to be in the flickering and lighting state.

Based on above-mentioned detection frock, can detect the sampling circle, its principle is: during the test, with sampling circle and detection socket cartridge, infrared photoelectric sensor is shielded by the sampling circle, infrared detection circuit on the circuit board begins work, the infrared detection port of singlechip becomes low level, the motor drive port of singlechip begins work after the infrared detection port level of singlechip becomes low level 5s, control magnetic needle rotates, in the magnetic needle rotation process, when the tongue tube is in the magnetic field of magnetic needle, the tongue tube is closed, when not being in the magnetic field of magnetic needle, the tongue tube disconnection, the singlechip detects these signals through sampling detection circuit, and judge whether qualified according to the duration of these signals sampling circle, and show the testing result through the pilot lamp. After the test is finished, the sampling ring is taken away, the infrared detection port of the single chip microcomputer is changed from low to high, the motor stops rotating, the single chip microcomputer automatically resets, and a new round of detection is waited. And if in the detection process, the level of the infrared detection port of the single chip microcomputer is detected to be changed from low to high, the motor also stops rotating, and the single chip microcomputer automatically resets to wait for a new detection. The contents of the specific detection means will be described later.

The invention can detect the sampling ring, can detect whether a single reed switch on the sampling ring is in failure or not, can detect whether the positions of two reed switches on the sampling ring are proper or not, and ensures that the two reed switches on the sampling ring can work in a matching way, thereby ensuring the metering precision of a water meter adopting the sampling ring. Moreover, the detection tool comprises a plurality of detection sockets, and batch detection of a plurality of sampling rings can be realized.

In this embodiment, the detection result is displayed by using an indicator light. As another embodiment, the detection result can be displayed through the display screen, and at this time, not only the result of quality qualification is displayed, but also a specific reason of the problem can be displayed when the detection result is unqualified, for example, which specific reed pipe has the problem, the problem is that the distance between two reed pipes has the problem, and the like, so that a detection person can replace the reed pipes or adjust the distance between two reed pipes more purposefully.

In this embodiment, an infrared photosensor is used for automatic triggering detection. As other implementation modes, a test button can be arranged, the single chip microcomputer detects the state of the test button to determine whether to detect, and when the button is pressed, the sampling ring detection is triggered.

In this embodiment, one detection socket corresponds to one single chip microcomputer, and one detection socket corresponds to one motor. As other implementation modes, one single chip microcomputer can control the starting and stopping of a plurality of motors, and reed pipe signals of a plurality of sampling rings are detected simultaneously, so that the number of the single chip microcomputers can be reduced, and the number of hardware equipment can be reduced. For example, four singlechips and four motors can be arranged, one singlechip controls one motor, and one motor controls three magnetic needles in a row to rotate, but the trigger detection mode needs to be changed at the moment, an infrared photoelectric sensor is not used for automatic trigger detection, and the button trigger detection mode introduced in the previous paragraph can be adopted.

Based on the wet-type sampling ring detection tool, a sampling ring detection method can be realized, which is characterized in that a sampling ring provided with two reed pipes is inserted into a detection socket to control the rotation of a magnetic needle so as to simulate the rotation of a pointer in a water meter; and determining whether the sampling ring to be tested is qualified or not according to the duration time of the output signals of the two reed switches in the rotation process of the magnetic needle.

When the magnetic needle rotates, in one rotation, the closing time of the first reed switch is defined as T1, the closing time of the second reed switch is defined as T3, the opening time of the two reed switches is defined as T2, the T4 is defined as one rotation, and the magnetic needle stroke corresponding to each time is shown in FIG. 13. However, it should be noted that T4 is divided into four parts, which are the first reed switch closing time T1, the second reed switch closing time T3, the time T2 when both reed switches are open, and the time T2' when both reed switches are open. T2 is small, T2' is relatively large, and in the sampling circle detection method of the embodiment, the time for which both reed switches are disconnected is T2.

The single chip microcomputer collects the closed state and the open state of the reed switch, and a single reed switch has five states of less sampling, no sampling, constant sampling, shaking and normal, and the first reed switch is taken as an example for explanation:

less sampling: the ratio of the first reed switch closing time T1 to the time T4 of one rotation is less than 0.15 and is more than or equal to 0.02, and T1/T4 is more than or equal to 0.02 and less than or equal to 0.15.

And (3) non-sampling: at the end of the detection, no I/O port change is detected, and the level of the I/O port is always low, i.e., the first reed switch closing time T1 is 0.

Sampling at all times: at the end of the detection, no I/O port change condition is detected, and the level of the I/O port is always high, i.e. the first reed switch closing time T1 is T4.

Dithering: the I/O detects that the closing time of the first reed switch is much less than the normal closing time, i.e., T1/T4< 0.02.

And (3) normal: the ratio of the first reed switch closing time T1 to the time T4 of one rotation is more than or equal to 0.15, and T1/T4 is more than or equal to 0.15.

This method will be described in detail below with reference to fig. 12.

Firstly, a sampling ring provided with two reed pipes is inserted into a detection socket and assembled with a magnetic needle, and the relative positions of the sampling ring and the detection socket are shown in fig. 3 after assembly. After the assembly, the infrared photoelectric sensor is shielded by the sampling ring, the infrared detection circuit on the circuit board starts to work, the detection port of the single chip microcomputer becomes low level, and the motor driving port of the single chip microcomputer starts to work after the level of the infrared detection port of the single chip microcomputer becomes high level for 5s, so that the magnetic needle is controlled to rotate for two circles.

Then, control magnetic needle and rotate two rings, at the magnetic needle rotation in-process, the singlechip records the time, includes: during one rotation, the first reed switch is closed for T1, the second reed switch is closed for T3, the time T2 that both reed switches are opened and the magnetic needle rotates for T4.

Then, the sampling circle is detected according to the first reed switch closing time T1, the second reed switch closing time T3, the time T2 when the magnetic needle rotates to between the two reed switches and the time T4 when the magnetic needle rotates for one circle:

if the recorded time of each week meets the following conditions: T1/T4 is more than or equal to 0.15, T2/T4 is more than or equal to 0.07, and T3/T4 is more than or equal to 0.15, which indicates that in the process of one turn of the magnetic needle, the time for alternately closing the two reed switches exists, and the time for opening the two reed switches exists, so that the sampling ring is determined to be qualified;

if one of the reed switches is under the condition of low sampling or the time for disconnecting the two reed switches is shorter, namely 0.02-T1/T4 <0.15, T2/T4<0.07 or 0.02-T3/T4 <0.15, the set sampling ring is determined to be unqualified, and the set positions of the two reed switches on the sampling ring have problems and the positions of the reed switches need to be adjusted;

for two reed switches, as long as one of the reed switches is not sampling, sampling or jittering all the time, the reed switch is bad, namely if T1/T4< k3, T1 ═ 0 or T1 ═ T4, the sampling coil is determined to be unqualified, and the first reed switch is bad; T3/T4< k3, T3 equals 0, or T3 equals T4, the sampling coil is determined to be failed and the second reed pipe is broken. The damaged reed switch is required to be replaced.

And finally, controlling an indicator light to display according to the detection result so as to inform a detection person of the detection result of the wheel. If the detection result is qualified, controlling the green light to be normally on; if the detection result shows that the positions of the two reed switches are in a problem, uniformly flashing red lights every 0.5s to show the problem; and if the detection result shows that one or two reed pipes are damaged, controlling the red light to be normally on.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种带有故障检测机构的水箱液位计

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!