CN210348549U - Paper counting device - Google Patents
Paper counting device Download PDFInfo
- Publication number
- CN210348549U CN210348549U CN201921913136.6U CN201921913136U CN210348549U CN 210348549 U CN210348549 U CN 210348549U CN 201921913136 U CN201921913136 U CN 201921913136U CN 210348549 U CN210348549 U CN 210348549U
- Authority
- CN
- China
- Prior art keywords
- circuit
- polar plate
- pin
- paper
- main control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000005259 measurement Methods 0.000 claims abstract description 15
- 101000701286 Pseudomonas aeruginosa (strain ATCC 15692 / DSM 22644 / CIP 104116 / JCM 14847 / LMG 12228 / 1C / PRS 101 / PAO1) Alkanesulfonate monooxygenase Proteins 0.000 claims description 3
- 101000983349 Solanum commersonii Osmotin-like protein OSML13 Proteins 0.000 claims description 3
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 claims description 2
- 229910052802 copper Inorganic materials 0.000 claims description 2
- 239000010949 copper Substances 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 abstract description 3
- 239000003990 capacitor Substances 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000000034 method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 3
- 238000009776 industrial production Methods 0.000 description 2
- WABPQHHGFIMREM-UHFFFAOYSA-N lead(0) Chemical compound [Pb] WABPQHHGFIMREM-UHFFFAOYSA-N 0.000 description 2
- 239000002184 metal Substances 0.000 description 2
- 229910052751 metal Inorganic materials 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000011326 mechanical measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000053 physical method Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Images
Landscapes
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
The utility model discloses a paper counting device, belonging to the field of electronic counting, which comprises a polar plate I, a polar plate II and a measuring and displaying circuit for the number of paper; the polar plate I and the polar plate II are arranged in parallel; the measurement display circuit comprises a main control board circuit, a buzzer circuit, a key circuit, an LED display circuit and a capacitance sensor; the main control board circuit is connected with the key circuit; the main control board circuit is connected with the buzzer circuit; the main control board circuit is connected with the LED display circuit; the main control board circuit is connected with the polar plate I and the polar plate II through the capacitance sensor; the STM32F103 single chip microcomputer is used as a control core and a data processing core, a parallel plate capacitor is constructed by two parallel polar plates, the measured paper is placed between the two polar plates, an FDC2214 capacitive sensor is adopted to convert the physical quantity of the thickness of the paper into a measurable signal quantity, and a display device of the paper counter is designed and realized by combining components such as a TFT display screen, a key and the like, has a function of self calibration when being started, can read the number of the paper within 5s, has a short circuit detection function, and is small in equipment occupation area, high in efficiency and flexible to use.
Description
Technical Field
The utility model relates to an electron count field especially relates to a paper counting assembly.
Background
In the industrial production, the counting of paper is very common, and in the current industrial production, the traditional paper counting method is mostly completed by special mechanical devices or even manual work, and manual measurement methods, physical measurement methods and mechanical measurement methods have higher cost and low efficiency. Therefore, according to the requirements of modern industry on automation and intellectualization, the research on a green and efficient novel paper counting method has important significance.
In order to improve the working efficiency, the paper counting function must be fast and accurate, and the current traditional paper counting device has various outstanding problems of high cost, large volume, low efficiency, low accuracy and the like. In recent years, research on application of digital image acquisition and computer vision to paper counting is in an experimental stage, and the problems of complex equipment and high cost exist when practical application is carried out.
SUMMERY OF THE UTILITY MODEL
According to the problems existing in the prior art, the utility model discloses a paper counting device, which comprises a polar plate I, a polar plate II and a measuring and displaying circuit for the number of paper;
the polar plate I and the polar plate II are arranged in parallel;
the measurement display circuit comprises a main control board circuit, a buzzer circuit, a key circuit, an LED display circuit and a capacitance sensor;
the main control board circuit is connected with the key circuit;
the main control board circuit is connected with the buzzer circuit;
the main control board circuit is connected with the LED display circuit;
the main control board circuit is connected with the polar plate I and the polar plate II through the capacitive sensor;
the LED display circuit adopts a chip model ST 7735S;
the capacitive sensor is an FDC2214 chip;
the main control board circuit adopts a chip with the model of STM32F 109C;
the p6 and p7 pins of the STM32F109C chip are connected with the SCL pin and the SDA pin of the FDC2214 chip;
pins PA4 and PA5 of the STM32F109C chip are connected with pins SCL and CS of the ST 7735S;
the PB10 pin of the STM32F109C chip is connected with the BLK pin of the ST 7735S;
the PB0 pin and the PB1 pin of the STM32F109C chip are connected with the RES pin and the DC pin of the ST 7735;
the PA0-Wxup pin of the STM32F109C chip is connected with the ground through a key;
the PA3 pin of the STM32F109C chip is connected with a power supply VOC through a light-emitting diode D1 and a resistor D1;
the PA13 pin of the STM32F109C chip is connected with the buzzer circuit through a resistor R2.
Furthermore, the polar plate I and the polar plate II are square.
Furthermore, the pin CH18 and the pin CH08 of the ST7735 are respectively connected with the pole plate I and the pole plate II.
Furthermore, the polar plate I and the polar plate II are made of double-sided copper clad plates.
Since the technical scheme is used, the utility model provides a pair of paper counting assembly to STM32F103 singlechip is control core and data processing core, has found the parallel plate condenser through two parallel polar plates, is surveyed the paper and has put between the bipolar plate, adopts FDC2214 capacitive sensor to turn into measurable semaphore with paper thickness physical quantity, combines components and parts such as TFT display screen, button, designs and has realized paper counter display device, the utility model discloses have the self calibration function of starting, can read out the paper number in 5s, and have the short circuit and detect the function, equipment takes up an area of for a short time little, and is efficient, uses in a flexible way.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a view showing the structure of the present invention;
FIG. 2 is a basic block diagram of the present invention;
FIG. 3 is a circuit diagram of a main control board;
FIG. 4 is a buzzer circuit diagram;
FIG. 5 is a key circuit diagram;
FIG. 6 is a circuit diagram of an LED display;
FIG. 7 is a general flow diagram of the system;
FIG. 8 is a flow chart of a self-calibration procedure;
fig. 9 is a short circuit detection flowchart.
In the figure: 1. polar plate I, 2, polar plate II, 3, measurement display circuit, 30, main control board circuit, 31, buzzer circuit, 32, button circuit, 33, LED display circuit, 34, capacitance sensor.
Detailed Description
For making the technical solution and the advantages of the present invention clearer, the following combines the drawings in the embodiments of the present invention, to the technical solution in the embodiments of the present invention is clear and complete description:
FIG. 1 is a view showing the structure of the present invention; FIG. 2 is a basic block diagram of the present invention; a paper counting device comprises a polar plate I1, a polar plate II 2 and a paper quantity measuring and displaying circuit 3;
the polar plate I1 and the polar plate II 2 are arranged in parallel; the polar plate I1 and the polar plate II 2 are respectively connected to a measurement display circuit through a lead a and a lead b;
the polar plate I and the polar plate II are square;
the metal electrode parts on the polar plate I1 and the polar plate II 2 are both squares with the side length of 50mm +/-1 mm, the lengths of the lead wire a and the lead wire b are both 500mm +/-5 mm, and the measurement display circuit 3 has a self-calibration function, namely, before formal test, different numbers of paper sheets between the two polar plates are measured to obtain measurement calibration information; the self-calibration is finished in the preparation stage of work recovery before testing, and the self-calibration operation is not required to be carried out after the testing is started;
the measurement display circuit 3 can perform self-checking and report whether the electrode of the polar plate I1 is short-circuited with the electrode of the polar plate II 2, the number of 1-30 pieces of unequal given paper placed between the two polar plates is measured, the measured paper is uniformly A4 copy paper with the specification of 70g, and the specific position of the polar plate A, B in contact with the measured paper is not limited.
The same specification paper provided in the test site is used in the test. After the paper to be measured is placed between the polar plates and fixed every time, one key starts measurement, the number of the paper to be measured is displayed, and a buzzer is given out, the time from pressing the same measurement starting key to giving out the buzzer in each measurement is not more than 5 seconds, and no manual intervention is required to be made on the measuring device in the period; the structure between the polar plate I1 and the polar plate II 2 and the paper ensures that the two polar plates can tightly press or clamp the paper to be detected, and the structure does not increase the area of the polar plates; the pad A, B and the portions of conductors a, b are not mounted or connected to components, other sensors or gauges.
The same start key (can be pressed once) can be pressed at each time of starting measurement, and when the measurement is finished, buzzing sound is given out and the number of the locked measured paper sheets is displayed.
The measurement display circuit 3 comprises a main control board circuit 30, a buzzer circuit 31, a key circuit 32, an LED display circuit 33 and a capacitance sensor 34;
fig. 3 is a circuit diagram of a main control board, and fig. 4 is a circuit diagram of a buzzer; FIG. 5 is a key circuit diagram;
the main control board circuit 30 is connected with the key circuit 32;
the main control board circuit 30 is connected with the buzzer circuit 31;
the main control board circuit 30 is connected with the LED display circuit 33;
the main control board circuit 30 is connected with the polar plate I1 and the polar plate II 2 through the capacitance sensor 34;
FIG. 6 is a circuit diagram of an LED display; the LED display circuit 33 adopts a chip model ST 7735S; the TFT display screen has high integration and strong function, and the TFT-LCD is the first flat panel display in the display quality exceeding that of the CRT in human history, which is incomparable with the traditional large-scale semiconductor integrated circuit. And the cost is low; the process is flexible; the application field is wide. The cost of the TFT display screen is low, and the design requirements are met.
The capacitive sensor 34 is an FDC2214 chip;
the main control board circuit 30 adopts a chip with the model of STM32F 109C; the p6 and p7 pins of the STM32F109C chip are connected with the SCL pin and the SDA pin of the FDC2214 chip;
pins PA4 and PA5 of the STM32F109C chip are connected with pins SCL and CS of the ST 7735S;
the PB10 pin of the STM32F109C chip is connected with the BLK pin of the ST 7735S;
the PB0 pin and the PB1 pin of the STM32F109C chip are connected with the RES pin and the DC pin of the ST 7735;
the PA0-Wxup pin of the STM32F109C chip is connected with the ground through a key;
the PA3 pin of the STM32F109C chip is connected with a power supply VOC through a light-emitting diode D1 and a resistor D1;
the PA13 pin of the STM32F109C chip is connected to the buzzer circuit 31 through a resistor R2.
The STM32F109C series has high running speed, the clock frequency can reach 72MHz.11 timers and abundant IO ports, 3 AD converters with 12 bits and 2DA converters with 12 bits are built in, and the performance-to-cost ratio is high.
The key circuit 32 adopts a mechanical key, and uses a mechanical elastic function. The most significant advantages are that the hand feeling is very good, the operation is easy, and the manufacturing technology is not too high. A significant disadvantage is that long term dust ingress can cause a reduction in button response sensitivity.
When the paper is pressed down for the first time after the machine is started, the self-calibration function is started, 0, 1, 2, 3, 5 and 10 pieces of paper are respectively put in the paper for self-calibration, and the number of the paper can be accurately displayed on the display screen.
The paper detection device adopts an FDC2214 capacitive sensor, and the device adopts an innovative framework based on a narrow band, so that the noise and the interference can be highly inhibited, and meanwhile, the high resolution is provided under the high-speed condition. The existence of a high performance, noisy environment can be maintained. The device supports a wide excitation frequency range and can bring flexibility to system design. The capacitance sensor 34 capacitance formula is as follows:
C=εS/d=ε0*εrS/d=εrS/4πkd (1)
in the formula0Is a proportionality constant which is numerically equal to the capacitance of the capacitor when two parallel metal plates in unit area are separated by a unit distance, and the vacuum is between the two plates; the specific numerical value thereof is different depending on the selected unit. When the unit of relative area is m2 and the unit of capacitance is Farad,. epsilon.01/4 pi k 8.85 x 10-12 farad/m, epsilon0Also known as the absolute dielectric constant. In the formula ofrThe dielectric constant of the dielectric medium between the parallel plates, which is called relative dielectric constant, is 2.5 corresponding to the dielectric constant of paper in the design, d is the distance between the polar plates, the unit is m, d is changed along with the difference of the thickness of the paper, so that the capacitance between the two polar plates is different, CH1B and CH0B of the sensor are respectively connected to the two polar plates, when the thickness of the paper is different, the capacitance between the AB polar plates is different, so that the output frequency of FDC2214 is different, and the main control board can calculate the current number of paper according to the input of the two pins.
The capacitance of the parallel polar plates is measured through the FDC2214 capacitance sensor, and when the thickness of paper is different, the frequency of an LC oscillating circuit obtained by conversion of the sensor is also different. When the polar plates are in short circuit, the corresponding channel frequencies of the upper and lower polar plates are the same, so that whether the polar plates are in short circuit or not can be judged.
The data output (DATAx) of the FDC2214 is expressed as follows:
in the using process, the FDC2214 is a high-precision sensor, and the data fluctuation is large. Therefore, the problem is effectively solved by a method of averaging after sampling the target channel for multiple times.
The system development environment adopts keil4, the system design adopts C language to write, the system software is written by applying C language, modification and expansion are convenient, the C language compiler can automatically complete the storage unit distribution of variables, and programmers can concentrate on the design of the application software part. It designs display, detection counting and other parts.
The software part mainly realizes the functions of self calibration, short circuit detection, data processing of relevant parameters transmitted back by the capacitive sensor to the single chip microcomputer and the like, and a general flow chart of the system is shown in FIG. 7; FIG. 8 is a flow chart of a self-calibration procedure;
the self-calibration process is performed upon power-up and thereafter is not calibrated.
(1) Short circuit detection flow chart: FIG. 9 is a short circuit detection flow chart;
according to related parameters returned by the FDC2214 capacitive sensor, the single chip microcomputer obtains CH0 and CH1 data, and if the two values are equal, short circuit alarm is given.
(2) Test protocol and test results:
① testing the channel acquisition values of CH0 and CH1 of FDC2214 when the number of the paper is the same, testing for 5 times and performing record analysis;
②, when different paper quantities are tested, acquiring numerical values of CH0 and CH1 channels of FDC2214, wherein the test range is 0-35, and recording and analyzing;
③ data analysis
Firstly, according to related parameters collected by an FDC2214 capacitive sensor, the same number of paper sheets are measured for multiple times to obtain an average value and a difference value, a single chip microcomputer is used for carrying out first data measurement, a piece of paper is placed in first, a key is pressed, data and collection values of CH0 and CH1 of a display screen are read, data of the same number of paper sheets are measured for five times, the average value is obtained, and whether the data are stable or not is compared. By analogy, measuring related parameters transmitted by the capacitive sensors for multiple sheets of paper;
④ short-circuiting the two plates, and testing whether there is alarm;
⑤ placing different amounts of paper between the two polar plates for self-calibration, placing different amounts of paper between the two polar plates, and testing to determine whether the paper is correct;
from the test data it was found that the number of sheets ≈ (measured value-initial value) × a ÷ (final value-initial value) × B ÷ 5, where A, B is an undetermined parameter, A, B was derived through constant attempts and the parameter can be adjusted by way of reference to PD controller principles.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.
Claims (4)
1. A paper counting device is characterized by comprising a polar plate I (1), a polar plate II (2) and a paper quantity measuring and displaying circuit (3);
the polar plate I (1) and the polar plate II (2) are arranged in parallel;
the measurement display circuit (3) comprises a main control board circuit (30), a buzzer circuit (31), a key circuit (32), an LED display circuit (33) and a capacitance sensor (34);
the main control board circuit (30) is connected with the key circuit (32);
the main control board circuit (30) is connected with the buzzer circuit (31);
the main control board circuit (30) is connected with the LED display circuit (33);
the main control board circuit (30) is connected with the polar plate I (1) and the polar plate II (2) through the capacitance sensor (34);
the LED display circuit (33) adopts a chip model number ST 7735S;
the capacitive sensor (34) is an FDC2214 chip;
the main control board circuit (30) adopts a chip with the model of STM32F 109C;
the p6 and p7 pins of the STM32F109C chip are connected with the SCL pin and the SDA pin of the FDC2214 chip;
pins PA4 and PA5 of the STM32F109C chip are connected with pins SCL and CS of the ST 7735S;
the PB10 pin of the STM32F109C chip is connected with the BLK pin of the ST 7735S;
the PB0 pin and the PB1 pin of the STM32F109C chip are connected with the RES pin and the DC pin of the ST 7735;
the PA0-Wxup pin of the STM32F109C chip is connected with the ground through a key;
the PA3 pin of the STM32F109C chip is connected with a power supply VOC through a light-emitting diode D1 and a resistor D1;
the PA13 pin of the STM32F109C chip is connected with the buzzer circuit (31) through a resistor R2.
2. The sheet counting device according to claim 1, further characterized in that: the polar plate I (1) and the polar plate II (2) are square.
3. The sheet counting device according to claim 1, further characterized in that: and the CH18 pin and the CH08 pin of the ST7735 are respectively connected with the pole plate I (1) and the pole plate II (2).
4. The sheet counting device according to claim 1, further characterized in that: the polar plate I (1) and the polar plate II (2) are made of double-sided copper clad plates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921913136.6U CN210348549U (en) | 2019-11-07 | 2019-11-07 | Paper counting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921913136.6U CN210348549U (en) | 2019-11-07 | 2019-11-07 | Paper counting device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210348549U true CN210348549U (en) | 2020-04-17 |
Family
ID=70179226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921913136.6U Expired - Fee Related CN210348549U (en) | 2019-11-07 | 2019-11-07 | Paper counting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210348549U (en) |
-
2019
- 2019-11-07 CN CN201921913136.6U patent/CN210348549U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102187319B (en) | Apparatus and method for inspecting capacitive touch screen panel using LC resonant frequency variation | |
CN108362206B (en) | Non-contact displacement sensor based on capacitive grating | |
CN201532310U (en) | Complete automobile road-test testing device | |
CN110991599B (en) | Paper count display device | |
CN104457624A (en) | Double-laser-device based radiator aluminum tube straightness measurement system and method | |
CN102252600A (en) | Capacitive transducer-based cylindricity deviation measuring method and device | |
CN205720565U (en) | A kind of batch testing plate for testing signal condition chip | |
CN210348549U (en) | Paper counting device | |
CN205539191U (en) | Multi -functional signal parameter testing arrangement of digit based on FPGA and MSP430 | |
CN210721036U (en) | Calibrating device and measuring system of instantaneous day-difference measuring instrument | |
CN202033322U (en) | High-precision digital and intelligent cotton moisture detector | |
CN203203560U (en) | Automatic measuring device for weight and size of crystal | |
CN206772157U (en) | A kind of digital display calliper | |
CN110095514A (en) | A kind of moisture meter system convenient for data acquisition | |
CN110244033B (en) | Portable urine detection device and detection method thereof | |
CN202018254U (en) | Display device of digital display micrometer | |
CN201555557U (en) | Surface roughness measurement device | |
CN111759314A (en) | Foot length measuring instrument and human body characteristic data acquisition device | |
CN102243198A (en) | High-precision digitized cotton moisture intelligent detector | |
CN213456057U (en) | Photoelectric measuring device | |
CN202256238U (en) | Portable edible oil quality test device | |
CN220871674U (en) | Workpiece detection system based on FPGA | |
CN2916599Y (en) | Digital true effective value rectifying module | |
CN202748411U (en) | Multipath clock tester | |
CN105181080B (en) | A kind of digitlization capacitive level probe based on TDC chip technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200417 Termination date: 20201107 |
|
CF01 | Termination of patent right due to non-payment of annual fee |