Counting system based on correlation type infrared sensor

By using a counting system based on a through-beam infrared sensor, combined with the Unionpi Tiger development board and the OpenHarmony operating system, the problem of weak processing power of embedded systems in industrial environments is solved. This results in a high-performance, low-latency, and multi-scenario adaptable counting solution, improving the accuracy and real-time performance of pipeline counting.

CN223911267UActive Publication Date: 2026-02-13GUANG DONG JIU LIAN KAI HONG KE JI FA ZHAN YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423313420.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2026-02-13
Estimated Expiration
2034-12-30

AI Technical Summary

Technical Problem

The microcontrollers in existing embedded system solutions have weak processing capabilities when facing electromagnetic interference and mechanical vibration in industrial environments, and cannot meet the high performance and low latency requirements of pipeline counting. Furthermore, hardware upgrades or replacements require extensive software modifications, resulting in high maintenance costs.

Method used

The counting system employs a through-beam infrared sensor, combined with the Unionpi Tiger development board and the OpenHarmony operating system. It uses the through-beam infrared sensor to send changing electrical signals, counts them using the development kit, and activates the alarm module when a preset value is reached. The system features a modular design and powerful CPU, GPU, and NPU processing capabilities, supporting multiple working modes.

Benefits of technology

It improves the accuracy and real-time performance of the counting system, enhances the system's reliability and maintainability, adapts to high-speed and complex industrial environments, provides a high-performance and low-latency operating experience, and supports multi-scenario adaptability and flexible functional expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223911267U_ABST
    Figure CN223911267U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of counting systems, in particular to a counting system based on a correlation type infrared sensor, which comprises a development kit. The correlation type infrared sensor is electrically connected with the development suite and is used for sending a change electric signal to the development suite; the reminding module is used for receiving a conduction signal of the development suite; and the development suite is used for receiving the change electric signal and conducting the reminding module. According to the utility model, the problems that the single-chip microcomputer in the existing embedded system scheme is poor in performance as a higher-grade operating system scheme and relatively weak in processing capacity when facing electromagnetic interference and mechanical vibration in an industrial environment are solved; and a common embedded system does not have the characteristics of high performance and low delay and cannot meet the counting requirement of the assembly line. And an existing embedded system is bound with specific hardware, so that a large amount of software needs to be modified when the hardware is upgraded or replaced, and the maintenance cost is high.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to counting system technical field, especially a kind of counting system based on opposite infrared sensor. BACKGROUND

[0002] The existing pipeline element counting is usually completed efficiently by automatic control system, and is developing in the direction of intelligentization, automation and real-time, and the following several common existing technologies and schemes appear with development: 1) counting scheme based on sensor: physical sensors such as photoelectric sensor, proximity sensor, etc. are used to detect elements on the pipeline, and counting is realized by signal processing; 2) radio frequency tag method (RFID): radio frequency tags are attached to the surface of workpieces, and the number of workpieces is obtained by reading tag information; 3) embedded system scheme: embedded systems, such as microcontroller-based solutions, are used for data acquisition and processing to realize element counting; 4) counting scheme based on machine vision: machine vision technology is used to identify and count elements on the pipeline through image recognition and analysis.

[0003] Among them, the single-chip microcomputer in the existing embedded system scheme performs worse than the higher-level operating system scheme when facing electromagnetic interference and mechanical vibration in industrial environment, and has relatively weak processing capability; and the ordinary embedded system does not have high performance and low delay characteristics, and cannot meet the counting requirements of the pipeline; and the existing embedded system is bound to specific hardware, which requires a lot of software modification when upgrading or replacing hardware, resulting in high maintenance cost.

[0004] Therefore, the utility model provides a kind of counting system based on opposite infrared sensor. UTILITY MODEL CONTENT

[0005] The utility model content of the utility model provides a kind of counting system based on opposite infrared sensor, mainly solves the single-chip microcomputer in the existing embedded system scheme performs worse than the higher-level operating system scheme when facing electromagnetic interference and mechanical vibration in industrial environment, and has relatively weak processing capability; and the ordinary embedded system does not have high performance and low delay characteristics, and cannot meet the counting requirements of the pipeline; and the existing embedded system is bound to specific hardware, which requires a lot of software modification when upgrading or replacing hardware, resulting in high maintenance cost.

[0006] The utility model provides a kind of counting system based on opposite infrared sensor, comprising:

[0007] Development kit;

[0008] And the development kit is electrically connected with,

[0009] The change electric signal is sent to the development kit by the pair of infrared sensors;

[0010] The reminding module is used for receiving the guide signal of the development kit;

[0011] The development kit counts after receiving the change electric signal, and turns on the reminding module when the count value reaches the preset value.

[0012] Preferably, the development kit is a Unionpi Tiger development board;

[0013] The development kit is provided with an input port connected with the pair of infrared sensors, an output port connected with the reminding module, and a memory for counting the change electric signal.

[0014] Preferably, the ground wire of the pair of infrared sensors is connected with the ground wire of the development kit.

[0015] Preferably, the pair of infrared sensors sends the change electric signal with falling edge when the infrared light is blocked.

[0016] Preferably, the development kit acquires the change electric signal with falling edge through asynchronous query mode.

[0017] Preferably, the reminding module includes at least one of a buzzer and an indicator light.

[0018] Preferably, the indicator light includes a plurality of LED lights with different colors.

[0019] As can be seen from the above, the technical scheme provided by the utility model can obtain the following beneficial effects:

[0020] Firstly, the counting system includes the development kit, the tasks completed by the board card in the development kit are integrated in the chip, so that the embedded system tends to be miniaturized in design, and has high efficiency and reliability, and is more suitable for the counting field of high-speed moving pipeline products;

[0021] Secondly, the counting system adopts the Unionpi Tiger development board, the OpenHarmony operating system and the customized sensor function module built in the development board, can improve the accuracy of high-speed production line counting, and is especially suitable for production under high speed and complex environment;

[0022] Third, the counting system has the built-in OpenHarmony operating system, the kernel and system services are optimized, high performance and low delay operation experience are provided, real-time performance and response speed are significantly improved, the counting system is more suitable for industrial assembly lines requiring fast response, and the real-time performance and accuracy of the counting system are ensured.

[0023] Fourth, the counting system has the built-in OpenHarmony operating system, the modular design of OpenHarmony supports flexible customization and extension of function modules according to requirements, so that the system can add or delete function modules according to actual requirements, thereby realizing high customizability of the system.

[0024] Fifth, the counting system adopts the Unionpi Tiger development board, which continues the design features of powerful hardware, high integration, rich interfaces, and easy expansion, the main chip adopts the A311D chip scheme, has powerful CPU, GPU and NPU processing capability, is suitable for industrial control field, provides high-performance hardware support for high-speed production line counting, and ensures efficient operation of the system. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical schemes in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiment or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of these drawings.

[0026] Figure 1 The setting block diagram of the counting system in the embodiment of the present application is shown in the figure.

[0027] Figure 2 The flowchart in the development kit of the counting system in the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0028] The technical schemes in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0029] The single-chip microcomputer in the existing embedded system solution performs worse than the higher-level operating system solution when facing electromagnetic interference and mechanical vibration in the industrial environment, and has relatively weak processing capability; the ordinary embedded system does not have high performance and low delay characteristics, and cannot meet the counting requirements of the pipeline; and the existing embedded system is bound to specific hardware, which requires a large amount of software modification when the hardware is upgraded or replaced, resulting in high maintenance costs.

[0030] As Figure 1 With Figure 2 To solve the above problems, the embodiment proposes a counting system based on a pair of infrared sensors, which comprises a development kit 10, a pair of infrared sensors 20 and a reminder module electrically connected to the development kit 10; the pair of infrared sensors 20 sends a changeable electrical signal to the development kit 10; the reminder module is used to receive the conduction signal of the development kit 10; the development kit 10 receives the changeable electrical signal and turns on the reminder module.

[0031] Preferably, the pair of infrared sensors 20 in the embodiment is a double-greater-than-fool P+FOBE1000-R3-SE0-P-L, and its working principle is based on the photoelectric effect. This sensor is composed of a transmitter and a receiver. When the light beam emitted by the transmitter is blocked by an object, the receiver cannot detect the light beam, thereby starting a change in the electrical signal. The effective detection distance of the pair of infrared sensors 20 is about 1m, which is suitable for factory pipeline environment, and the output is NPN type. When the light beam is blocked, the output signal will change from high level to low level.

[0032] Preferably, the reminder module in the embodiment comprises at least one of a buzzer 30 and an indicator light 40. Preferably but not limitedly, the buzzer 30 in the embodiment is KXG1203C, whose working voltage is 2V DC to 5V DC power supply, internal drive, maximum 2.7kHz, and the indicator light 40 is OMRON M2KA-90A1-24E.

[0033] Preferably, the indicator light 40 in the embodiment comprises a plurality of LED lights with different colors. Preferably but not limitedly, the indicator light 40 in the embodiment comprises five-color LED lights, which are red, yellow, green, white and blue respectively. Different colors of the indicator light 40 can represent the switching of different working states, and correspondingly, the development kit 10 outputs different driving signals.

[0034] Preferably, the kit 10 developed in the embodiment can be programmed to adapt to different scenarios in multiple modes, including: 1) rated digital alarm mode, in which the system will issue an alarm when the count reaches the preset rated number. Suitable for scenarios that require special processing or reminders when a certain number is reached, for example, quality sampling or suspension of the production line for maintenance after a certain number of products pass through the production line; 2) continuous counting mode, in which the system will continuously count without being limited by the rated amount until manual intervention stops the counting. Suitable for scenarios that require statistics on the total number of products in a production shift or production cycle; 3) data recording and analysis mode, in which the system not only counts, but also records data such as the time and speed of each workpiece passing through, facilitating subsequent data analysis and production optimization.

[0035] In the embodiment, when the kit 10 detects a change in the electrical signal, it triggers an interrupt, executes the required business function, and triggers the buzzer 30 to alarm and / or controls the color state change of the indicator light 40.

[0036] More specifically, the kit 10 is a Unionpi Tiger development board; the kit 10 is provided with an input port connected to the opposing infrared sensor 20, and an output port connected to the reminder module.

[0037] Preferably, the kit 10 in the embodiment is provided with a memory, and the memory can realize the function of counting the change in the electrical signal.

[0038] Preferably, the Unionpi Tiger development board in the embodiment is provided with multiple GPIO ports, and the GPIO port connected to the opposing infrared sensor 20 is set to input mode, and the GPIO port connected to the reminder module is set to output mode.

[0039] More specifically, the ground of the opposing infrared sensor 20 is connected to the ground of the kit 10.

[0040] In the embodiment, the ground of the opposing infrared sensor 20 is connected to the ground of the kit 10 to realize common ground.

[0041] More specifically, the opposing infrared sensor 20 sends a change in the electrical signal with a falling edge when the infrared light is blocked.

[0042] Preferably, in the data recording and analysis mode, the start time of the falling edge and the start time of the rising edge can also be calculated to obtain the product passing time, and according to the size of the product, the current product conveying speed and other data can be determined.

[0043] In this embodiment, the development kit 10 detects the pins connected to the pair of infrared sensors 20 through asynchronous query mode. When a falling edge appears, it indicates that a workpiece has passed, and the count value is incremented by one.

[0044] In this embodiment, the development kit 10 can also be provided with a corresponding display module to display the current count.

[0045] In summary, the present embodiment proposes a counting system based on the pair of infrared sensors 20, which can improve the accuracy of high-speed production line counting by combining the Nine Union Unionpi Tiger development board, OpenHarmony operating system, and customized sensor function module. It is especially suitable for production in high-speed and complex environments. The following effects can be achieved: (1) high performance and low latency: the OpenHarmony operating system optimizes the kernel and system services, providing high performance and low latency operation experience. Compared with ordinary embedded systems, there is a significant improvement in real-time performance and response speed, which is particularly important for industrial assembly lines that require fast response, ensuring the real-time performance and accuracy of the counting system; (2) modular design and high customizability: the modular design of OpenHarmony supports flexible customization and extension of function modules according to demand, so that the system can add or delete function modules according to actual demand, thereby realizing the high customizability of the system. This design not only improves the portability of the code, but also makes the system more adaptable to hardware changes, enhancing the maintainability of the system; (3) strong hardware support: the Nine Union Unionpi Tiger development board continues the design features of strong hardware, high integration, rich interfaces, and easy expansion. Its main chip uses the A311D chip solution, with powerful CPU, GPU, and NPU processing capabilities, suitable for industrial control field. This provides high-performance hardware support for high-speed production line counting, ensuring efficient operation of the system; (4) multi-scene adaptability: through program customization, multiple working modes can be designed to meet different production line and counting demand scenarios. This multi-scene adaptability makes the system not only suitable for high-speed production lines, but also adaptable to various complex industrial environments and changing production needs.

[0046] In summary, the present embodiment not only improves the accuracy and real-time performance of the assembly line counting, but also enhances the safety, reliability, and maintainability of the system, providing an efficient, intelligent, and reliable solution for the industrial automation field.

[0047] The above-described embodiments do not constitute a limitation on the scope of protection of the technical solution. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the above-described embodiments shall be included in the scope of protection of the technical solution.

Claims

1. A counting system based on a beam-splitting infrared sensor, characterized in that, The system comprises: a development kit; a pair of infrared sensors and a reminder module electrically connected to the development kit, the pair of infrared sensors sends a change in electrical signals to the development kit; the reminder module is used to receive the development kit's conductive signal; the development kit receives the change in electrical signals and turns on the reminder module; the development kit is Unionpi Tiger development board; the development kit is provided with an input port connected to the pair of infrared sensors and an output port connected to the reminder module.

2. The counting system based on the pair of infrared sensors according to claim 1, wherein: the ground wire of the pair of infrared sensors is connected to the ground wire of the development kit.

3. The counting system based on the pair of infrared sensors according to claim 2, wherein: the pair of infrared sensors sends a change in electrical signals with falling edge when the infrared light is blocked.

4. The counting system based on the pair of infrared sensors according to claim 3, wherein: the development kit acquires the change in electrical signals with falling edge through asynchronous query mode.

5. The counting system based on the pair of infrared sensors according to any one of claims 1-4, wherein: the reminder module comprises at least one of a buzzer and an indicator light.

6. The counting system based on the pair of infrared sensors according to claim 5, wherein: the indicator light comprises a plurality of LED lights with different colors.