A dual-sensor self-correction steel ball accurate counting method
Through the dual sensor self-correction method, the steel ball pass time is automatically corrected by using the quadratic curve fitting relationship, which solves the problem of incorrect counting during the steel ball counting process, and realizes accurate counting of steel balls, reducing hardware cost and errors.
Patent Information
- Application Number
- CN202010698532.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-20
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-07-20
AI Technical Summary
During the steel ball counting process, due to the need for transmission efficiency, the steel balls may be close to each other when poured into the pipeline in batches, resulting in the sensor detection signal not jumping, causing the counting device to mistakenly count the next steel balls as one, causing the counting and The actual problem is inconsistent.
The dual sensor self-calibration method is adopted, through horizontal lines and sub-sensors, PVC pipes and wires are connected, and the steel ball passes at different angles are collected, the quadratic curve relationship is fitted, the installation angle and standard pass time are obtained, and the parameter correction is automatically performed. , ensure accurate counting.
Automatic correction is achieved when the pipeline installation angle changes, avoiding the problem of erroneous counting when multiple steel balls overlap, reducing hardware equipment costs and improving counting accuracy.
Smart Images

Figure CN111695664B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of steel ball precise counting, in particular to a dual-sensor self-correcting steel ball precise counting method. Background Art
[0002] Steel balls are widely used in industrial basic components such as ball bearings and rolling linear guides. At present, there are weighing counting method, Hall element detection method, photoelectric measurement method, image measurement method, etc. for counting steel balls in domestic and foreign production. These counting methods have certain advantages and limitations. Since the inductive sensor can accurately detect steel objects, the present invention adopts the inductive sensor as the detection sensor. Under normal circumstances, the counting is generally when the steel ball passes through the sensor, the sensor detects and then outputs the signal, and the counting and acquisition device counts and outputs through the conversion of the signal level. In the actual material transportation process, due to the need for transmission efficiency, the steel balls are not transported one by one in time. Under normal circumstances, steel balls are directly poured into the pipeline in batches. Due to the collision of steel balls against steel balls, the collision of steel balls against the inner wall of the pipeline, etc., some steel balls will be close together. In this case, the sensor will not jump because it has always detected that there are steel balls. Therefore, the counting detection device will count two or more steel balls pressed together as only one by detecting the jump count, causing the count to be inconsistent with the actual situation. To solve this problem, we invented a dual-sensor self-correction steel ball precise counting method to solve the miscounting problem and achieve precise steel ball counting. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention provides a dual-sensor self-correcting steel ball precise counting method, which solves the problem raised in the above background technology that in the actual material transportation process, due to the need for transmission efficiency, steel balls are not transported one by one in time. Usually, steel balls are directly poured into the pipeline in batches. Due to the collision of steel balls against steel balls and the collision of steel balls against the inner wall of the pipeline, some steel balls will be close together. In this case, the sensor will not jump because it has been detecting the presence of steel balls. Therefore, the counting detection device will count two or more steel balls pressed together as only one by detecting the jump count, resulting in the problem that the count does not match the actual situation.
[0004] To achieve the above objectives, the present invention is implemented through the following technical solutions: a dual-sensor self-correction steel ball precise counting method, including a horizontal line and an auxiliary sensor, a PVC pipe is installed above the horizontal line, and a steel ball is installed on one side of the PVC pipe, the auxiliary sensor is located above the PVC pipe, the auxiliary sensor is electrically connected to the counting device through a wire, and the counting device is electrically connected to the main sensor through a wire.
[0005] Optionally, the dual-sensor self-correcting steel ball precise counting method comprises the following steps:
[0006] S1: Collect the time it takes for a single steel ball to pass through a single sensor at different angles;
[0007] It was observed that the passing time and the pipeline installation angle showed a quadratic curve relationship. Through the quadratic curve fitting method, the time and angle function relationship of a single sensor detection can be obtained.
[0008] S2: Acquisition of sensor self-calibration parameters;
[0009] At the beginning of counting, the time when the steel ball passes through the dual sensors for the first time is collected. Since this time is unique and definite, it is inserted into the function to calculate the installation angle after obtaining it. Then the calculated value is substituted into the function to calculate the standard time for a single steel ball to pass through the sensor. This time is used to correct the low-level time when the steel ball passes through the main sensor.
[0010] The third step is automatic operation, which can automatically calibrate the time parameters every time the machine is turned on for counting, which takes very little time and can also store the parameters for direct use.
[0011] S3: Obtain the standard time for the steel ball to pass through a single sensor using the formula t=f(θ);
[0012] S4: Standard time is used to calibrate the collected single sensor signal.
[0013] Optionally, the step of obtaining the dual sensor self-calibration parameters in step (2) includes:
[0014] S5: The first time the steel ball passes through the dual sensors for data collection;
[0015] S6: Obtain installation angle information by formula θ=f(t);
[0016] S7: Obtain the standard time for the steel ball to pass through a single sensor by the formula t=f(θ);
[0017] S8: Standard time is used to calibrate the collected single sensor signal.
[0018] Optionally, in step S1, the angle and low-level duration of a single steel ball passing through a single sensor at different installation angles are collected to obtain a functional relationship between the single sensor collection time and the angle t=f(θ).
[0019] Optionally, in step S2, the angle and low-level duration of a single steel ball passing through dual sensors at different installation angles are collected to obtain a functional relationship between the dual sensor collection angle and time θ=f(t).
[0020] Optionally, the counting device adopts a dual sensor structure, which is divided into a main sensor and a sub-sensor. The main sensor is used for steel ball counting, and the sub-sensor cooperates with the main sensor to obtain the correction parameters; when a single steel ball passes through the main sensor, the waveform is as shown in the attached figure. Figure 2 As shown in the attached Figure 3 As shown, at 6-7, the width of the signal is twice that of other places. At this time, the two steel balls 6 and 7 actually pass through the sensor closely, so one steel ball will be missed during counting.
[0021] Optionally, the main sensor is a main counting sensor, and its signal is connected to a counting device. After signal processing, the time interval of each high and low level jump is obtained. If the time is equal or the difference is very small, it is considered that the steel balls do not overlap, and the count is increased by 1. If it is N times, the count is increased by N.
[0022] The present invention provides a dual-sensor self-correcting steel ball accurate counting method, which has the following beneficial effects:
[0023] When the pipeline installation angle changes, the automatic parameter correction function can be used to obtain the standard correction time without manual operation; the problem of miscounting caused by overlapping when multiple steel balls are poured into the pipeline at the same time is overcome; the hardware equipment required by the method is inexpensive. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the main structure of a dual-sensor self-correcting steel ball precise counting method of the present invention;
[0025] Figure 2 It is an output waveform diagram of a single steel ball passing through a sensor in a dual-sensor self-correction steel ball precise counting method of the present invention;
[0026] Figure 3 A schematic diagram of waveforms of multiple steel balls passing through sensors when they overlap in a dual-sensor self-correction steel ball precise counting method of the present invention;
[0027] Figure 4 A schematic diagram of the structure of a process for obtaining a single steel ball through the t=f(θ) function of the main sensor in a dual-sensor self-correction steel ball precise counting method of the present invention;
[0028] Figure 5 A schematic diagram of the structure of a process for obtaining a single steel ball through a t=f(θ) function of a dual-sensor self-correction steel ball accurate counting method of the present invention;
[0029] Figure 6 The present invention is a schematic diagram of the automatic correction parameter acquisition process structure of a dual-sensor self-correction steel ball precise counting method.
[0030] In the figure: 1. horizontal line; 2. PVC pipe; 3. steel ball; 4. auxiliary sensor; 5. counting device; 6. main sensor. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.
[0032] The present invention provides a technical solution: a dual-sensor self-correction steel ball precise counting method, comprising a horizontal line 1 and a secondary sensor 4, a PVC pipe 2 is installed above the horizontal line 1, and a steel ball 3 is installed on one side of the PVC pipe 2, the secondary sensor 4 is located above the PVC pipe 2, the secondary sensor 4 is electrically connected to a counting device 5 through a wire, and the counting device 5 is electrically connected to a main sensor 6 through a wire;
[0033] The dual-sensor self-correction steel ball accurate counting method includes the following steps:
[0034] S1: Collect the time of a single steel ball 3 passing through a single sensor at different angles;
[0035] It was observed that the passing time and the pipeline installation angle showed a quadratic curve relationship. Through the quadratic curve fitting method, the time and angle function relationship of a single sensor detection can be obtained.
[0036] S2: Acquisition of sensor self-calibration parameters;
[0037] At the beginning of counting, the time when the steel ball 3 passes through the dual sensor for the first time is collected. Since this time is unique and definite, it is inserted into the function to calculate the installation angle after obtaining it, and then the calculated value is substituted into the function to calculate the standard time when a single steel ball 3 passes through the sensor. This time is used to correct the low-level time when the steel ball 3 passes through the main sensor;
[0038] The third step is automatic operation, which can automatically calibrate the time parameters every time the machine is turned on for counting, which takes very little time and can also store the parameters for direct use.
[0039] S3: Obtain the standard time for the steel ball 3 to pass through the single sensor by the formula t=f(θ);
[0040] S4: Standard time is used to calibrate the collected single sensor signal.
[0041] The step of obtaining the dual sensor self-calibration parameters in step (2) includes:
[0042] S5: The first time that the steel ball 3 passes through the dual sensors for data collection;
[0043] S6: Obtain installation angle information by formula θ=f(t);
[0044] S7: Obtain the standard time for the steel ball 3 to pass through the single sensor by the formula t=f(θ);
[0045] S8: Standard time is used to calibrate the collected single sensor signal.
[0046] In step S1, the single steel ball 3 at different installation angles is collected by a single sensor with respect to the angle and low-level duration, and a functional relationship between the single sensor collection time and the angle t=f(θ) is obtained;
[0047] In step S2, the angle and low-level duration of the single steel ball 3 at different installation angles are collected by the dual sensors to obtain the dual sensor collection angle and time function relationship θ=f(t);
[0048] The counting device 5 adopts a dual sensor structure, which is divided into a main sensor 6 and a sub-sensor 4. The main sensor 6 is used to count the steel balls 3, and the sub-sensor 4 cooperates with the main sensor 6 to obtain the calibration parameters. When a single steel ball 3 passes through the main sensor 6, the waveform is as shown in the attached figure. Figure 2 As shown in the attached Figure 3 As shown, at 6-7, the width of the signal is twice that of other places. At this time, two steel balls 3 at 6 and 7 actually pass through the sensor closely, so one steel ball 3 will be missed during counting.
[0049] The main sensor 6 is the main counting sensor, and its signal is connected to the counting device 5. After signal processing, the time interval of each high and low level jump is obtained. If the time is equal or the difference is very small, it is considered that the steel balls 3 are not overlapped, and the count is increased by 1. If it is N times, the count is increased by N.
[0050] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A dual-sensor self-correction steel ball accurate counting method, comprising a horizontal line (1) and an auxiliary sensor (4), characterized in that: A PVC tube (2) is installed above the horizontal line (1), and a steel ball (3) is installed on one side of the PVC tube (2); the auxiliary sensor (4) is located above the PVC tube (2); the auxiliary sensor (4) is electrically connected to the counting device (5) through a wire, and the counting device (5) is electrically connected to the main sensor (6) through a wire; The dual-sensor self-correction steel ball accurate counting method comprises the following steps: S1: Collect the time taken for a single steel ball (3) to pass through a single sensor at different angles; It is found through observation that the passing time and the pipe installation angle are in a quadratic curve relationship. Through the quadratic curve fitting method, the time and angle function relationship of a single sensor detection can be obtained. S2: Acquisition of sensor self-calibration parameters; At the beginning of counting, the time when the steel ball (3) passes through the dual sensor for the first time is collected. Since this time is unique and definite, after obtaining it, it is inserted into the function to calculate the installation angle, and then the calculated value is substituted into the function to calculate the time when a standard single steel ball (3) passes through the sensor. This time is used to correct the low-level time when the steel ball (3) passes through the main sensor; The third step is automatic operation. Each time the machine is turned on for counting, the time parameters are automatically corrected, which takes very little time, or the parameters are stored and directly called; S3: Obtain the standard time for the steel ball (3) to pass through the single sensor by the formula t=f(θ); S4: standard time is used to calibrate the collected single sensor signal; The step of obtaining the dual sensor self-calibration parameters in step S2 includes: S5: The steel ball (3) passes through the dual sensor for the first time to collect time data; S6: Obtain installation angle information by formula θ=f(t); S7: Obtain the standard time for the steel ball (3) to pass through the single sensor by the formula t=f(θ); S8: standard time is used to calibrate the collected single sensor signal; The counting device (5) adopts a dual sensor structure, which is divided into a main sensor (6) and a sub-sensor (4). The main sensor (6) is used to count the steel balls (3), and the sub-sensor (4) cooperates with the main sensor (6) to obtain the correction parameters. When a single steel ball (3) passes through the main sensor (6), the width of the signal at waveform 6-7 is twice that of other places. At this time, the two steel balls (6 and 7) actually pass through the sensor closely, and one steel ball (3) will be counted less during counting. The main sensor (6) is a main counting sensor, and its signal is connected to the counting device (5). After signal processing, the time interval of each high and low level jump is obtained. If the time is equal or the difference is very small, it is considered that the steel balls (3) are not overlapped, and the count is increased by 1. If it is N times, the count is increased by N.
2. A dual-sensor self-correcting steel ball accurate counting method according to claim 1, characterized in that: In the step S1, the angle and low-level duration of a single steel ball (3) at different installation angles are collected by a single sensor, and a functional relationship between the single sensor collection time and the angle t=f(θ) is obtained.
3. A dual-sensor self-correcting steel ball accurate counting method according to claim 1, characterized in that: In the step S2, the angle and low-level duration of a single steel ball (3) at different installation angles are collected by the dual sensors, and a functional relationship between the dual sensor collection angle and time θ=f(t) is obtained.
