Test paper quantity counting device and working method thereof

文档序号:1268611 发布日期:2020-08-25 浏览:12次 中文

阅读说明:本技术 一种试卷数量统计装置及其工作方法 (Test paper quantity counting device and working method thereof ) 是由 周先飞 杨会伟 夏跃武 李敏 崔涛 于 2020-04-13 设计创作,主要内容包括:本发明公开了一种试卷数量统计装置及其工作方法,通过设置支架、滑轨、上挡板和下挡板,上挡板可沿滑轨上下移动,调节上挡板和下挡板之间的距离,可以测量不同厚度的试卷,通过将电容传感器的第一极板和第二极板分别设置在上挡板底部和下挡板底部,利用电容传感器极板间介质厚度不同对电容传感器测得的电容值的改变,测量出上挡板与下挡板之间的试卷的厚度,从而计算得出试卷数量,可沿滑轨移动的上挡板可将待测试卷压实,防止由于试卷间间隙产生干扰,并且上挡板通过滑轨支撑在支架上,上挡板只能沿滑轨方向移动,保证了两块极板正对面积的恒定,本发明可以快速准确地测量出试卷数量,结构简单,成本低,且不对试卷造成损坏。(The invention discloses a device for counting the number of test paper and a working method thereof, which can measure the test paper with different thicknesses by arranging a bracket, a slide rail, an upper baffle plate and a lower baffle plate, wherein the upper baffle plate can move up and down along the slide rail, the distance between the upper baffle plate and the lower baffle plate is adjusted, the test paper with different thicknesses can be measured, the first polar plate and the second polar plate of a capacitance sensor are respectively arranged at the bottom of the upper baffle plate and the bottom of the lower baffle plate, the change of capacitance values measured by the capacitance sensor due to the different thicknesses of media between the polar plates of the capacitance sensor is utilized to measure the thickness of the test paper between the upper baffle plate and the lower baffle plate, so as to calculate the number of the test paper, the upper baffle plate which can move along the slide rail can compact the test paper to be tested, prevent the interference generated by the gap between the test paper, and is supported on the bracket by the upper baffle plate through the slide rail, the upper baffle plate can, simple structure, low cost and no damage to the test paper.)

1. A device for counting the number of test papers is characterized by comprising a bracket, an upper baffle and a lower baffle;

the upper baffle and the lower baffle are arranged on the bracket, and the upper baffle is positioned above the lower baffle;

one side of the bracket is provided with a slide rail along the axial direction of the bracket;

the upper baffle is arranged in the slide rail and can move along the direction of the slide rail;

the lower baffle is fixed at the bottom of the bracket;

the capacitance sensor comprises a first polar plate and a second polar plate, the first polar plate is arranged at the bottom of the upper baffle, the second polar plate is arranged at the top of the lower baffle, the first polar plate and the second polar plate are arranged in parallel, and the capacitance sensor is used for measuring a capacitance value between the first polar plate and the second polar plate;

and the controller is connected with the capacitance sensor and used for calculating the number of the test papers between the upper baffle and the lower baffle according to the capacitance value measured by the capacitance sensor.

2. The device for counting the number of test papers of claim 1, wherein a display screen is connected to the controller, and the display screen is used for displaying the number of test papers between the upper baffle and the lower baffle.

3. The device for counting the number of test papers as claimed in claim 1, wherein said top board comprises a board body and a slider, said slider is fixed on one end of said board body, said slider is mounted in said slide rail and can move along the direction of said slide rail, said slider is provided with a clamping mechanism capable of clamping said slider at any position in said slide rail.

4. The device for counting the number of the test papers according to claim 3, wherein the slide rail is a rectangular groove with a connecting hole at one side, the slide block is connected with the plate body through the connecting hole, and an operation hole is further formed at one side of the slide rail;

the clamping mechanism comprises a clamping block, an elastic piece and an operating rod, the clamping block is arranged, the clamping block is connected with the sliding block through the elastic piece, one side, far away from the sliding block, of the clamping block is connected with the operating rod, and the operating rod penetrates through the operating hole to enable one end of the operating rod to be located on the outer side of the sliding rail;

when the operating rod is pushed, the clamping block is pushed away from the inner wall of the sliding rail, and when the operating rod is not pushed, the clamping block is attached to the inner wall of the sliding rail under the action of the elastic piece to play a clamping role.

5. The device for counting the number of test papers as claimed in claim 4, wherein a rubber layer is externally wrapped on one side of the clamping block away from the sliding block.

6. The device for counting the number of test papers as claimed in claim 1, wherein the support is a hollow structure, and a connecting wire between the capacitive sensor and the controller is arranged to penetrate through the support.

7. A method for operating a device for counting the number of test papers according to any one of claims 1 to 6, the method comprising:

the upper baffle plate descends along the direction of the slide rail, and a roll to be tested is compacted between the upper baffle plate and the lower baffle plate;

the controller acquires a capacitance value measured by the capacitance sensor;

and the controller brings the measured capacitance value into a capacitance value-test paper quantity function, and calculates to obtain an approximate value of the test paper quantity between the upper baffle and the lower baffle.

8. The method of claim 7, wherein the capacitance-test quantity function is obtained by training an adaptive convolutional neural network, and the training method comprises:

performing normalization processing on historical data, wherein the historical data comprises capacitance values and test paper quantity;

dividing the normalized historical data into a training set, a verification set and a test set;

inputting the training set into the established self-adaptive convolutional neural network model, repeatedly training the BP neural network model until convergence, and fitting to obtain a capacitance-test paper quantity function;

and (4) utilizing the verification set and the test set to carry out fine tuning on the trained BP neural network model to obtain a function of capacitance value-test paper quantity after fine tuning.

Technical Field

The invention relates to the field of paper counting, in particular to a test paper quantity counting device and a working method thereof.

Background

In the examination process in schools, a plurality of test papers are copied and split according to classes, so that the test papers need to be counted.

The traditional paper counting method mainly comprises a manual counting method and a mechanical equipment counting method, wherein the manual counting method has very low efficiency, the precision of the manual counting method is also influenced by human factors, and the paper is likely to be damaged; the typical application of mechanical counting methods is in banknote counting machines, which have strict requirements on paper specifications and are not suitable for counting test papers. The newer technology method is based on machine vision technology to count the sheets, but this method is highly demanding and technically complex and is not suitable for use in small scale applications. Therefore, a device capable of counting the number of test papers at a low cost is required.

Disclosure of Invention

In view of the above, the present invention is directed to a device for counting the number of test papers and a working method thereof, which are low in cost and capable of counting the number of test papers.

The invention provides a device for counting the number of test papers based on the aim, which comprises a bracket, an upper baffle plate and a lower baffle plate;

the upper baffle and the lower baffle are arranged on the bracket, and the upper baffle is positioned above the lower baffle;

one side of the bracket is provided with a slide rail along the axial direction of the bracket;

the upper baffle is arranged in the slide rail and can move along the direction of the slide rail;

the lower baffle is fixed at the bottom of the bracket;

the capacitance sensor comprises a first polar plate and a second polar plate, the first polar plate is arranged at the bottom of the upper baffle, the second polar plate is arranged at the top of the lower baffle, the first polar plate and the second polar plate are arranged in parallel, and the capacitance sensor is used for measuring a capacitance value between the first polar plate and the second polar plate;

and the controller is connected with the capacitance sensor and used for calculating the number of the test papers between the upper baffle and the lower baffle according to the capacitance value measured by the capacitance sensor.

Preferably, the controller is connected with a display screen, and the display screen is used for displaying the number of the test papers between the upper baffle and the lower baffle.

Preferably, the upper baffle comprises a plate body and a sliding block, the sliding block is fixed at one end of the plate body, the sliding block is installed in the sliding rail and can move along the direction of the sliding rail, and a clamping mechanism capable of clamping the sliding block at any position in the sliding rail is arranged on the sliding block.

Preferably, the slide rail is a rectangular groove with a connecting hole formed in one side, the slide block is connected with the plate body through the connecting hole, and an operation hole is further formed in one side of the slide rail;

the clamping mechanism comprises a clamping block, an elastic piece and an operating rod, the clamping block is arranged and connected with the sliding block through the elastic piece, one side, far away from the sliding block, of the clamping block is connected with the operating rod, and the operating rod penetrates through the operating hole to enable one end of the operating rod to be located on the outer side of the sliding rail;

when the operating rod is pushed and pressed, the clamping block is pushed away from the inner wall of the sliding rail, and when the operating rod is not pushed and pressed, the clamping block is attached to the inner wall of the sliding rail under the action of the elastic piece, so that the clamping effect is achieved.

Preferably, the side of the clamping block far away from the sliding block is externally wrapped with a rubber layer.

Preferably, the bracket is a hollow structure, and a connecting wire between the capacitance sensor and the controller penetrates through the bracket.

A working method of a test paper quantity counting device is based on the test paper quantity counting device, and the method comprises the following steps:

the upper baffle plate descends along the direction of the slide rail, and a coil to be tested is compacted between the upper baffle plate and the lower baffle plate;

the controller acquires a capacitance value measured by the capacitance sensor;

and the controller brings the measured capacitance value into a capacitance value-test paper quantity function, and calculates to obtain an approximate value of the test paper quantity between the upper baffle and the lower baffle.

Preferably, the capacitance value-test paper quantity function is obtained by training an adaptive convolutional neural network, and the training method comprises the following steps:

normalization processing is carried out on historical data, and the historical data comprises capacitance values and test paper quantity;

dividing the normalized historical data into a training set, a verification set and a test set;

inputting the training set into the established self-adaptive convolutional neural network model, repeatedly training the BP neural network model until convergence, and fitting to obtain a capacitance-test paper quantity function;

and (4) utilizing the verification set and the test set to carry out fine tuning on the trained BP neural network model to obtain a function of capacitance value-test paper quantity after fine tuning.

From the above, the device for counting the number of test papers and the working method thereof provided by the invention can measure the test papers with different thicknesses by arranging the bracket, the slide rail, the upper baffle and the lower baffle, the upper baffle can move up and down along the slide rail, the distance between the upper baffle and the lower baffle is adjusted, the number of the test papers is calculated by respectively arranging the first polar plate and the second polar plate of the capacitance sensor at the bottom of the upper baffle and the bottom of the lower baffle, the change of the capacitance value measured by the capacitance sensor is measured by utilizing the difference of the medium thickness between the polar plates of the capacitance sensor, the thickness of the test paper between the upper baffle and the lower baffle is measured, the upper baffle which can move along the slide rail can compact the test papers to be tested, the interference generated by the gap between the test papers is prevented, the upper baffle is supported on the bracket by the slide rail, the upper baffle can only move along the slide rail direction, the constancy of the dead, the invention can quickly and accurately measure the number of test papers, has simple structure and low cost, and does not damage the test papers.

Drawings

FIG. 1 is a schematic front view of an embodiment of the present invention;

FIG. 2 is a schematic top view of the interior of the slide rail according to the embodiment of the present invention;

fig. 3 is a schematic flow chart of a statistical device according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.

It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.

The utility model provides a test paper quantity statistics device, which comprises a bracket 1, go up baffle 2 and lower baffle 3, go up baffle 2 and lower baffle 3 and install on support 1, go up baffle 2 and be located the top of baffle 3 down, 1 one side of support is provided with along 1 axial slide rail 11 of support, it installs in slide rail 11 to go up baffle 2, and can follow the 11 direction removal of slide rail, baffle 3 fixes in support 1 bottom down, this device still includes capacitive sensor, including first polar plate 4 and second polar plate 5, wherein first polar plate 4 installs in 2 bottoms of last baffle, second polar plate 5 installs at 3 tops of baffle down, first polar plate 4 and second polar plate 5 parallel arrangement, capacitive sensor is used for measuring the capacitance value between first polar plate 4 and the second polar plate 5, calculate out the test paper quantity between upper shield 2 and the lower baffle 3.

The invention can measure test paper with different thicknesses by arranging the bracket 1, the slide rail 11, the upper baffle 2 and the lower baffle 3, the upper baffle 2 can move up and down along the slide rail 11, the distance between the upper baffle 2 and the lower baffle 3 is adjusted, the number of the test paper is calculated by respectively arranging the first polar plate 4 and the second polar plate 5 of the capacitance sensor at the bottom of the upper baffle 2 and the bottom of the lower baffle 3, the change of capacitance value measured by the capacitance sensor is measured by utilizing the difference of medium thickness between the polar plates of the capacitance sensor, the thickness of the test paper between the upper baffle 2 and the lower baffle 3 is measured, the upper baffle 2 which can move along the slide rail 11 can compact the test paper to be tested, the interference generated by the gap between the test paper is prevented, the upper baffle 2 is supported on the bracket 1 through the slide rail 11, the upper baffle 2 can only move along the slide rail 11, the constancy of the dead area of the polar plates is ensured, the change of the dead area caused by the looseness of two mechanical structures is greatly, the invention can quickly and accurately measure the number of the test paper, has simple structure and low cost, and does not damage the test paper.

For example, the controller 6 may be a single chip microcomputer, such as an STM32 single chip microcomputer, which is easy to obtain and low in cost, and may be powered by a battery, and the capacitive sensor may be an FDC2214 type sensor chip.

As an implementation mode, the controller 6 is connected with a display screen, the display screen is used for displaying the number of the test papers between the upper baffle 2 and the lower baffle 3, the operation is more visual and convenient, and the controller 6 can also be externally connected to other terminals to obtain the number of the test papers.

As an implementation mode, the upper baffle 2 comprises a plate body and a sliding block 23, the sliding block 23 is fixed at one end of the plate body, the sliding block 23 is installed in the sliding rail 11 and can move along the direction of the sliding rail 11, a clamping mechanism capable of clamping the sliding block 23 at any position in the sliding rail 11 is arranged on the sliding block 23, and by arranging the sliding block 23 and the clamping mechanism, the upper baffle 2 can be clamped and fixed after the test paper is compacted by the upper baffle 2, so that the measured value fluctuation caused by the displacement of the upper baffle 2 in the measuring process is prevented.

In one embodiment, the slide rail 11 is a rectangular groove with a connecting hole 111 on one side, the slider 23 is connected with the plate body through the connecting hole 111, an operation hole 112 is further formed on one side of the slide rail 11, a clamping block 21 is arranged on one side of the slider 23, the clamping block 21 is connected with the slider 23 through an elastic member 22 such as a spring, an operation rod 24 is connected to one side of the clamping block 21 away from the slider 23, the operation rod 24 penetrates through the operation hole 112 to enable one end of the operation rod to be located on the outer side of the slide rail 11, when the operation rod 24 is pushed, the clamping block 21 is pushed away from the inner wall of the slide rail 11, and when the operation rod 24 is not pushed, the clamping block 21 is attached to the inner wall of the slide rail. The mechanism of the clamping mechanism

As an embodiment, the rubber layer 25 is wrapped outside one side of the clamping block 21 away from the sliding block 23, so that the friction force between the clamping block 21 and the inner wall of the sliding rail 11 can be improved, and the stability is improved.

As an implementation mode, the support 1 is of a hollow structure, the connecting line between the capacitance sensor and the controller 6 penetrates through the support 1, the support 1 is arranged to be of the hollow structure, the connecting line penetrates through the support, the connecting line can be protected, and the attractiveness is improved.

The invention also provides a working method of the test paper quantity counting device, and based on the test paper quantity counting device, the method comprises the following steps:

s301, the upper baffle 2 descends along the direction of the slide rail 11, and a roll to be tested is compacted between the upper baffle 2 and the lower baffle 3;

s302, the controller 6 acquires the capacitance value measured by the capacitance sensor;

s303, the controller 6 brings the measured capacitance value into a capacitance value-test paper quantity function, and calculates to obtain an approximate value of the test paper quantity between the upper baffle 2 and the lower baffle 3.

In one embodiment, the capacitance value-test paper quantity function is obtained by training an adaptive convolutional neural network, and the training method comprises the following steps:

performing normalization processing on historical data, wherein the historical data comprises capacitance values and test paper quantity;

dividing the normalized historical data into a training set, a verification set and a test set;

inputting the training set into the established self-adaptive convolutional neural network model, repeatedly training the BP neural network model until convergence, and fitting to obtain a capacitance-test paper quantity function;

and (4) utilizing the verification set and the test set to carry out fine tuning on the trained BP neural network model to obtain a function of capacitance value-test paper quantity after fine tuning.

Because the capacitance value and the number of test paper are not in a linear relationship in practice, and the size of the capacitance value can be influenced by the ambient temperature, for example, the capacitance values of the same number of test paper measured in summer and winter are slightly different, the method introduces a BP neural network, inputs a training set divided from historical data into the neural network for repeated training until convergence, obtains a capacitance value-test paper number function through fitting, and finely adjusts the function through a verification set and a test set, so that the capacitance value-test paper number function which is more consistent with the actual condition and the temperature can be obtained, and the accuracy of measuring the number of test paper is improved.

Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.

In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.

While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.

The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于短相干光源干涉仪的大行程光程匹配装置及实验方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!