Counting detection device and method

By setting up a counting and detection device with a support and photoelectric detection unit on the bracket, the problems of high cost and complex structure of egg detection are solved, realizing low-cost, fast and stable egg identification and status judgment, and reducing the difficulty of equipment maintenance.

CN121920406APending Publication Date: 2026-04-24SHENZHEN CHEVEN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN CHEVEN TECH
Filing Date
2025-12-01
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing egg counting and quality inspection devices are costly and complex in structure. Furthermore, visual recognition solutions are slow, susceptible to environmental interference, and have high maintenance costs.

Method used

A counting and detection device is adopted, in which the support and detection units are arranged in a straight line on the bracket and correspond one-to-one. The photoelectric sensor is used to detect objects. The two sides of the object are scanned by the first and second detection units, and the main control module comprehensively analyzes and judges the state of the object.

Benefits of technology

It achieves low-cost, fast, and stable egg identification and status judgment, reduces equipment maintenance difficulty, and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121920406A_ABST
    Figure CN121920406A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of sensors, and discloses a counting detection device and method, and the device comprises a bracket which comprises a plurality of supports which are arranged along the same straight line, and the supports are used for placing a detected object; the detection module comprises a plurality of groups of detection units, each group of detection units and the supports are arranged in a one-to-one correspondence manner, and the detection units are used for emitting light beams to a detected object, receiving reflected light of the detected object, performing photoelectric conversion and outputting a detection signal to the main control module; and the main control module receives the detection signal sent by the detection module, judges whether a detected object exists on the support corresponding to the detection unit or not and the state of the detected object according to the detection signal, and counts and outputs a detection result. The problems that an existing counting detection device is high in cost and complex in structure are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of sensor technology, specifically relating to a counting detection device and method. Background Technology

[0002] Currently, egg counting and quality inspection primarily employ visual recognition technology. This approach typically involves capturing images of eggs with a camera and processing them using visual algorithms to identify elliptical features to determine if an object is an egg. Because eggs vary significantly in shape, color, and lighting conditions, visual systems often require multiple rounds of model training to achieve stable detection results. Furthermore, visual recognition solutions suffer from slow recognition speeds in actual production lines. To quickly detect a row of eggs, multiple sets of camera sensors typically need to operate in parallel, further increasing material costs and system complexity. Cameras and lenses are sensitive to environmental factors, easily affected by dust, moisture, and oil, requiring regular cleaning to maintain recognition performance. Simultaneously, the maintenance and replacement costs of camera sensors are high, increasing the system's maintenance burden. Conventional photoelectric sensors for object detection offer advantages such as simple structure, small size, low cost, and high protection levels, making them suitable for object presence detection on production lines. However, traditional photoelectric sensors are primarily used for simple presence / absence judgments and struggle to directly and reliably identify eggs, nor can they assess egg condition. Therefore, they are not yet sufficient to replace visual systems for egg detection scenarios. Therefore, there is an urgent need for a detection solution that can quickly and stably identify eggs using simple, low-cost sensors while also being easy to maintain. Summary of the Invention

[0003] This application provides a counting detection device and method, which solves the problems of high cost and complex structure of existing counting detection devices.

[0004] To address the aforementioned technical problems, this application provides a counting and detection device, comprising: A bracket, comprising a plurality of supports arranged along a straight line, the supports being used to place the object to be measured; The detection module includes several sets of detection units, each corresponding to one of the supports. Each detection unit emits a light beam towards the object being tested, receives the reflected light, performs photoelectric conversion, and outputs a detection signal to the main control module. The main control module receives the detection signal sent by the detection module, determines whether there is a test object on the support corresponding to the detection unit and the state of the test object based on the detection signal, and outputs the detection results.

[0005] Furthermore, the bracket includes a mounting frame, and the support is fixedly connected to the mounting frame via connectors, which are spaced apart on the mounting frame.

[0006] Furthermore, the detection unit includes a first detection subunit and a second detection subunit, and a plurality of the first detection subunits and a plurality of the second detection subunits are symmetrically arranged based on the bracket; The first detection subunit and the second detection subunit are configured to reciprocate along a direction parallel to the bracket, and the bracket is configured to move along a direction perpendicular to the detection plane.

[0007] Furthermore, the counting and detection device also includes a lifting motor for driving the bracket to rise and fall, and a first drive motor and a second drive motor for driving the first detection subunit and the second detection subunit to reciprocate.

[0008] Furthermore, the counting and detection device also includes a power-off protection module. The power failure protection module is connected to the input power supply and is used to detect whether the input power supply is disconnected. If the input power supply is detected to be disconnected, the power failure protection module sends a power failure signal to the main control module so that the main control module can save the data.

[0009] Furthermore, the power-down protection module includes: a first transistor, a second transistor, a diode, a first resistor, a second resistor, and a third resistor; The emitter of the first transistor is connected to the input power supply through a diode and a first resistor, and the base of the first transistor is connected to the input power supply through a second resistor. The first transistor turns on when the input power supply voltage drops to a threshold. The base of the second transistor is connected to the collector of the first transistor through a third resistor, and the emitter of the second transistor is grounded. When the first transistor is turned on, the second transistor is turned on, and the collector of the second transistor outputs the power-down signal to the main control module.

[0010] This application provides a counting detection method applied to a counting detection device. The detection device includes a bracket movable in a vertical direction and a first detection subunit and a second detection subunit mounted on the bracket and capable of reciprocating in a direction parallel to the bracket. The detection method includes: The first detection unit detects the object to be tested on the support, determines whether the object to be tested exists on the support, and outputs a quantity signal to the main control module. By moving the relative position of the first detection unit and the object under test, the side of the object under test is scanned, the scan result is used to generate a first detection signal and output to the main control module; By moving the relative position of the second detection unit and the object under test, the other side of the object under test is scanned, and the scanning result is used to generate a second detection signal and output to the main control module. The main control module processes the first and second detection signals to determine whether the object being tested is dirty or cracked, counts the number of dirt or cracks, and outputs the results.

[0011] Further, the step of detecting the object to be tested on the support through the first detection unit, determining whether the object to be tested exists on the support, and outputting a quantity signal to the main control module includes: Align the centerline of the first detection subunit with the centerline of the tray, emit a light beam toward the object being tested, detect whether the reflected light from the object being tested is received, and output a quantity signal to the main control module when the reflected light is received.

[0012] Further, the step of scanning the side of the object under test by moving the relative position of the first detection unit and the object under test, generating a first detection signal from the scan result and outputting it to the main control module; and scanning the other side of the object under test by moving the relative position of the second detection unit and the object under test, generating a second detection signal from the scan result and outputting it to the main control module, includes: The first detection subunit reciprocates along a direction parallel to the bracket, the bracket moves along a direction perpendicular to the detection plane, the first detection subunit emits a light beam toward the object under test, receives the light reflected by the object under test and performs photoelectric conversion on the reflected light, and outputs a first detection signal to the main control module. The second detection subunit is made to reciprocate along a direction parallel to the bracket. When the bracket moves along a direction perpendicular to the detection plane, the second detection subunit emits a light beam toward the object being tested, receives the reflected light from the object being tested, and performs photoelectric conversion on the reflected light. The second detection subunit then outputs a second detection signal to the main control module.

[0013] Further, the step of processing the first detection signal and the second detection signal through the main control module to determine whether the object under test has dirt or cracks, counting the number of dirt or cracks and outputting the result includes: If the peak of the first detection signal or the second detection signal has high-frequency jitter or spikes, then the object being tested is dirty. When there is a wide-amplitude dip in the first detection signal and the second detection signal, the object being tested has a crack. The number of tested objects with dirt and cracks is counted, saved, and output. The photoelectric sensor control system and control method provided in this application have the following beneficial effects: This application features a bracket with multiple supports arranged in a straight line, each corresponding to a detection unit. This allows each detection unit to independently detect the object on its corresponding support, enabling simultaneous detection of multiple objects. This avoids the limitation of traditional vision solutions that can only identify one target at a time, thus improving detection efficiency. The detection module uses photoelectric detection units, which have lower hardware costs compared to the cameras and image processing systems in existing vision solutions. Furthermore, these sensors are simple in structure, easy to replace, and have a high protection level, allowing for direct water washing and maintenance, reducing labor costs associated with lens cleaning and camera calibration. The first detection unit initially identifies whether an object is on the support, enabling quantity counting. The first and second detection units scan the sides of the object and generate corresponding detection signals, allowing the main control module to comprehensively analyze the scan data from both directions to determine whether the object is dirty or cracked, achieving multi-dimensional detection functionality. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only a part of the embodiments of this application, and not all of the embodiments. For those skilled in the art, other drawings obtained from these drawings without creative effort are all within the scope of protection of this application.

[0015] Figure 1 This is a schematic diagram of the structure of a technical testing device provided in an embodiment of this application.

[0016] Figure 2 This is a schematic diagram of the detection module and bracket provided in the embodiments of this application.

[0017] Figure 3 for Figure 2 A schematic diagram of the structure of the middle bracket.

[0018] Figure 4 for Figure 1 Circuit diagram of the power failure protection module.

[0019] Figure 5 This is a waveform diagram of a normal tested object.

[0020] Figure 6 The image shows the waveform of the object being tested with a crack.

[0021] Figure 7 The waveform of the dirty object being tested. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0023] To make the description of this disclosure more detailed and complete, illustrative descriptions of the implementation methods and specific embodiments of this application are provided below; however, this is not the only form of implementing or utilizing the specific embodiments of this application. The implementation methods cover the features of multiple specific embodiments and the method steps and their order for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equivalent functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0024] This application provides a counting detection device. Figure 1 This is a schematic diagram of the structure of a technical detection device provided in an embodiment of this application. The counting detection device includes a bracket, a detection module, a power-off protection module, and a main control module. Figure 2 This is a schematic diagram of the detection module and bracket provided in the embodiments of this application. Figure 3 for Figure 2 A structural diagram of the middle bracket, combined with Figure 2 and Figure 3 The bracket 1 includes a mounting frame 11 and several supports 12, which are fixedly connected to the mounting frame 11 via connectors 13. The connectors 13 are spaced apart along the length of the mounting frame 11, allowing the supports 12 to be arranged in a straight line at preset intervals. Using connectors 13 to install the supports 12 onto the mounting frame 11 ensures stable positional relationships between the supports 12 and facilitates adjustment or replacement of the supports to accommodate different sizes of objects being measured.

[0025] Optionally, the support can be an arc-shaped structure to provide support in accordance with the shape of the object being measured. The connector can be configured as a fixed structure that matches the mounting frame, so that the mounting position of the support on the mounting frame is fixed, thereby ensuring that the spacing between each support is consistent, which facilitates the corresponding installation and testing of subsequent testing units.

[0026] The detection module includes several detection units 2. The detection units are used to emit light beams to the object being tested, receive the reflected light from the object being tested, perform photoelectric conversion, and output detection signals to the main control module.

[0027] Optionally, the detection unit employs a common diffuse reflection sensor. This diffuse reflection sensor can form a diffuse reflection spot on the surface of the object being measured and generate a corresponding electrical signal based on changes in the intensity of the reflected light. By utilizing the reflected light detection characteristics of the diffuse reflection sensor, the detection unit can identify the object being measured without complex optical structures. The sensor does not require specific marking of the object being measured during detection; once the object enters the sensor's detection area, the reflection of incident light from its surface is detected by the sensor. The diffuse reflection sensor can output different detection signals based on changes in the reflection characteristics of the object's surface, enabling the main control module to determine whether an object is present on the corresponding support or whether its surface condition has changed.

[0028] Each detection unit 2 includes a first detection subunit 21 and a second detection subunit 22, which are symmetrically arranged about the support 12. Optionally, the first and second detection subunits are mounted on a sliding structure that can move along a direction parallel to the length of the support, so that the two detection subunits can scan within their respective detection ranges. By moving the detection subunits along a direction parallel to the support, the outer surface of the object under test on the support can be continuously scanned, thereby obtaining detection data for state determination.

[0029] The counting and detection device also includes a drive mechanism, which comprises a lifting motor, a first drive motor, and a second drive motor. The first and second drive motors are respectively connected to the first and second detection sub-units, driving the detection sub-units to reciprocate along a direction parallel to the bracket. By starting, stopping, and reversing the drive motors, the detection sub-units can achieve stable linear scanning within the detection area to acquire detection data from the side of the object being measured. The lifting motor, connected to the bracket, can move the bracket up and down within a predetermined stroke range to adapt to different object sizes or to meet different detection position requirements.

[0030] Figure 4 for Figure 1The circuit diagram shows the power-down protection module. Connected to the input power supply, it detects a power outage. If the input power is detected to be disconnected, the module sends a power-down signal to the main control module, causing it to save data. When the power-down protection module detects a drop in the VCC input power, it outputs a power-down signal to the main control module through the second transistor Q2. When the input power supply is in normal operation, VCC is divided by resistors R1 and R2, causing the anode voltage of diode D1 to be higher than the cathode voltage, thus turning the diode on. Simultaneously, capacitor C1 is charged to a voltage close to the voltage after the voltage division by resistor R2. Since the base of transistor Q2 is low, Q2 is cut off, outputting a high level, meaning no power-down signal is sent to the main control module.

[0031] When the input power supply VCC drops to a threshold, capacitor C1 discharges through diode D1 and the base of transistor Q1, maintaining a temporary stability of the base voltage of transistor Q1. However, after the input power supply VCC continues to drop beyond the threshold, the collector power supply of transistor Q1 disappears, and transistor Q1 changes from conducting to cutoff, causing the collector voltage of transistor Q1 to rise. This causes the base of transistor Q2 to become high, and transistor Q2 to saturate and conduct. The output of transistor Q2 is pulled low, outputting a low-level power-down signal to the main control module, triggering the main control module to save data.

[0032] This application also provides a counting detection method applied to a counting detection device. The detection device includes a bracket movable in a vertical direction and a first detection subunit and a second detection subunit mounted on the bracket and capable of reciprocating in a direction parallel to the bracket. The detection method includes: S1 detects the object to be tested on the support through the first detection unit, determines whether the object to be tested exists on the support, and outputs a quantity signal to the main control module, specifically: Optionally, when detecting whether an object to be measured exists on the support, the first detection subunit is aligned with the centerline of the support. The first detection subunit emits a light beam towards the corresponding support and detects whether it receives a light signal reflected by the object to be measured. When reflected light is received, the first detection subunit outputs a quantity signal to the main control module to indicate that an object to be measured exists on the corresponding support. The first detection subunit can be set to a detection time, for example, 10ms. If no reflected light signal is detected within 10ms, it can be determined that no object to be measured exists at the corresponding position.

[0033] S2 moves the relative position of the first detection unit and the object under test to scan the side of the object under test, generates a first detection signal from the scan result and outputs it to the main control module; S3 moves the relative position of the second detection unit and the object under test to scan the other side of the object under test, generates a second detection signal from the scanning result and outputs it to the main control module; Optionally, when scanning the side of the object under test, the first detection subunit can reciprocate along a direction parallel to the bracket under the drive of its mounted moving mechanism. The bracket moves along a direction perpendicular to the detection plane under the drive of the lifting mechanism, enabling the first detection subunit to acquire reflected light information from different height positions on the side of the object under test during the scanning process. The first detection subunit continuously emits a light beam during the scanning process and receives the light signal reflected from the side of the object under test, generating a first detection signal through photoelectric conversion and outputting it to the main control module.

[0034] After the first detection subunit completes its detection, the second detection subunit is activated to scan the other side of the object under test. The second detection subunit reciprocates along a direction parallel to the bracket, detecting the other side of the object while the bracket moves vertically. The second detection subunit emits a light beam towards the object and receives the reflected light, generating a second detection signal through a photoelectric conversion circuit. This signal is then sent to the main control module for subsequent status determination. The first and second detection subunits, through their respective reciprocating movements and the vertical movement of the bracket, achieve strip-by-strip scanning of both sides of the object, thereby acquiring reflection information from different locations. This allows the main control module to identify the surface condition of the object based on the detection signals from multiple locations.

[0035] S4 processes the first detection signal and the second detection signal through the main control module to determine whether the object being tested has dirt or cracks, counts the number of dirt or cracks, and outputs the result.

[0036] Optionally, when processing the first detection signal and the second detection signal, the main control module can identify signal features based on waveform data showing the change of light intensity value with relative position coordinates. Specifically, the main control module continuously acquires the light intensity value output by the detection subunit, arranges the acquired light intensity values ​​according to the order of position change of the detection subunit relative to the measured object, and plots a waveform curve with the light intensity value as the vertical axis and the relative position coordinates as the horizontal axis. Figure 5 If the waveform of the tested object is smooth and complete, then the tested object is free of dirt or cracks. Figure 6 The waveform diagram of the object under test with cracks is shown. When the main control module detects that the light intensity value of a local peak in the waveform curve rises or falls rapidly between adjacent points, and the change amplitude exceeds the preset change range, the main control module identifies the change as a high-frequency jitter or spike, and determines that there is dirt on the surface of the object under test. Figure 7For a waveform diagram of a dirty object under test, when the main control module identifies a low-light-intensity area in the waveform curve with a sustained range exceeding a preset threshold, and the overall light intensity value of this area is lower than the average light intensity value of the surrounding points, the main control module identifies this area as a wide depression and determines that the object under test has a crack. After identifying dirt or cracks, the main control module accumulates, records, and stores the corresponding quantities for subsequent output or uploading.

[0037] In the several embodiments provided in this application, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.

[0038] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0039] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A counting and detection device, characterized in that, include: A bracket, comprising a plurality of supports arranged along a straight line, the supports being used to place the object to be measured; The detection module includes several sets of detection units, each corresponding to one of the supports. Each detection unit emits a light beam towards the object being tested, receives the reflected light, performs photoelectric conversion, and outputs a detection signal to the main control module. The main control module receives the detection signal sent by the detection module, determines whether there is a test object on the support corresponding to the detection unit and the state of the test object based on the detection signal, and outputs the detection results.

2. The counting and detection device as described in claim 1, characterized in that, The bracket includes a mounting frame, and the support is fixedly connected to the mounting frame via connectors, which are spaced apart on the mounting frame.

3. The counting and detection device as described in claim 1, characterized in that, The detection unit includes a first detection subunit and a second detection subunit, and a plurality of the first detection subunits and a plurality of the second detection subunits are symmetrically arranged based on the bracket; The first detection subunit and the second detection subunit are configured to reciprocate along a direction parallel to the bracket, and the bracket is configured to move along a direction perpendicular to the detection plane.

4. The counting and detection device as described in claim 1, characterized in that, The counting and detection device also includes a lifting motor for driving the bracket to rise and fall, and a first drive motor and a second drive motor for driving the first detection subunit and the second detection subunit to reciprocate.

5. The counting and detection device as described in claim 1, characterized in that, It also includes a power-loss protection module. The power failure protection module is connected to the input power supply and is used to detect whether the input power supply is disconnected. If the input power supply is detected to be disconnected, the power failure protection module sends a power failure signal to the main control module so that the main control module can save the data.

6. The counting and detection device as described in claim 4, characterized in that, The power-off protection module includes: a first transistor, a second transistor, a diode, a first resistor, a second resistor, and a third resistor; The emitter of the first transistor is connected to the input power supply through a diode and a first resistor, and the base of the first transistor is connected to the input power supply through a second resistor. The first transistor turns on when the input power supply voltage drops to a threshold. The base of the second transistor is connected to the collector of the first transistor through a third resistor, and the emitter of the second transistor is grounded. When the first transistor is turned on, the second transistor is turned on, and the collector of the second transistor outputs the power-down signal to the main control module.

7. A counting detection method applied to a counting detection device, the detection device comprising a bracket movable in a vertical direction and a first detection subunit and a second detection subunit mounted on the bracket and capable of reciprocating in a direction parallel to the bracket, characterized in that, The detection method includes: The first detection unit detects the object to be tested on the support, determines whether there is an object to be tested on the support, and outputs a quantity signal to the main control module. By moving the relative position of the first detection unit and the object under test, the side of the object under test is scanned, the scan result is used to generate a first detection signal and output to the main control module; By moving the relative position of the second detection unit and the object under test, the other side of the object under test is scanned, and the scanning result is used to generate a second detection signal and output to the main control module. The main control module processes the first and second detection signals to determine whether the object being tested has dirt or cracks, counts the number of dirt or cracks, and outputs the results.

8. The counting detection method as described in claim 7, characterized in that, The step of detecting the object to be tested on the support through the first detection unit, determining whether the object to be tested exists on the support, and outputting a quantity signal to the main control module includes: Align the centerline of the first detection subunit with the centerline of the tray, emit a light beam toward the object being tested, detect whether the reflected light from the object being tested is received, and output a quantity signal to the main control module when the reflected light is received.

9. The counting detection method as described in claim 7, characterized in that, The step of scanning the side of the object under test by moving the relative position of the first detection unit and the object under test, generating a first detection signal from the scan result and outputting it to the main control module; and scanning the other side of the object under test by moving the relative position of the second detection unit and the object under test, generating a second detection signal from the scan result and outputting it to the main control module, includes: The first detection subunit reciprocates along a direction parallel to the bracket, the bracket moves along a direction perpendicular to the detection plane, the first detection subunit emits a light beam toward the object under test, receives the light reflected by the object under test and performs photoelectric conversion on the reflected light, and outputs a first detection signal to the main control module. The second detection subunit is made to reciprocate along a direction parallel to the bracket. When the bracket moves along a direction perpendicular to the detection plane, the second detection subunit emits a light beam toward the object being tested, receives the reflected light from the object being tested, and performs photoelectric conversion on the reflected light. The second detection subunit then outputs a second detection signal to the main control module.

10. The counting detection method as described in claim 9, characterized in that, The process of processing the first and second detection signals by the main control module to determine whether the object under test has dirt or cracks, counting the number of dirt or cracks and outputting the result includes: If the peak of the first detection signal or the second detection signal has high-frequency jitter or spikes, then the object being tested is dirty. When there is a wide-amplitude dip in the first detection signal and the second detection signal, the object being tested has a crack. The number of dirty and cracked objects being tested is counted, saved, and output.