An algorithm for calculating particle size and corresponding particle number
By using an algorithm for particle size and corresponding particle count, and utilizing a photoelectric conversion module and a computing unit, the problem of inaccurate quantitative analysis by particle counters in existing technologies has been solved, and accurate measurement of particle count has been achieved.
Patent Information
- Application Number
- CN202311777496.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing particle counter algorithms cannot accurately perform quantitative analysis, resulting in inaccurate measurement results.
An algorithm for determining particle size and corresponding particle number is employed. Through a photoelectric conversion module and a computing unit, particle signals are acquired and processed to determine the particle waveform range and calculate the number of particles and the particle size range.
It enables accurate measurement of the number of particles at each particle size, allowing for precise quantitative analysis.
Smart Images

Figure CN117705657B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil particle counting, and in particular to an algorithm for particle diameter and corresponding particle number. Background Art
[0002] The background of oil particle counter technology can be traced back to the 1960s, when engineers began to realize the impact of particulate matter in oil on equipment performance. Initially, people used microscopes to manually count the number of particles in the oil, but this method was time-consuming, labor-intensive and inaccurate. The particle counters currently used are mostly automated particle counters, which use optical principles to pass the oil sample through an optical sensor to measure the scattering and absorption of light by the particles, thereby determining the number and size of the particles.
[0003] There are many different algorithms in current particle counters, and the measurement results are also very different. In essence, most of them are qualitative analysis and cannot achieve accurate quantitative analysis. The present invention is a scientific method for calculating particle size and corresponding particle number, which can accurately measure the corresponding particle number under each particle size.
[0004] Therefore, an algorithm for particle size and corresponding particle number is proposed. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the shortcomings of the prior art, the present invention provides an algorithm for particle size and corresponding particle number, which can accurately measure the number of particles at each particle size and accurately perform quantitative analysis.
[0007] (II) Technical solution
[0008] The present invention is implemented by the following technical solution: an algorithm for particle size and corresponding particle number, comprising the following steps:
[0009] S1. Prepare the items to be tested: prepare the oil to be measured;
[0010] S2. Run the particle counter: turn on the particle counter and set the parameters;
[0011] S3, collecting and processing data, and determining the particle waveform interval;
[0012] S4. Calculate and count the number of particles, and determine the particle size range corresponding to the particles.
[0013] Preferably, in step S1, there is an oil channel for measuring the oil in and out, and the particle counter includes a laser light source, a photoelectric receiver and a photoelectric conversion module. The laser light source and the photoelectric receiver are respectively arranged on both sides of the oil channel, one side of the photoelectric receiver is connected to the photoelectric conversion module, and the photoelectric conversion module is connected to the calculation unit of the particle counter.
[0014] Preferably, in step S2, the oil to be measured passes through the oil channel, and the laser light source, the photoelectric receiver, the photoelectric conversion module and the particle counter are started to count the oil passing through.
[0015] Preferably, in step S3, when the oil containing particles passes through the oil channel, an electrical signal is collected and the voltage at this time is recorded.
[0016] Preferably, in step S3, the particle counter may be provided with software for calculating analog signals for oil measurement, and the software may run the following steps:
[0017] a. In each cycle, obtain the analog signal of the current cycle and save the size of the analog signal of the previous cycle;
[0018] b. Determine whether the analog signal of the current cycle is greater than or equal to the noise threshold, and whether the analog signal of the previous cycle is less than the noise threshold; if the conditions are met, it means that a particle signal is detected, and the particle signal flag is set high;
[0019] c. Continue to collect analog signals and save the analog signal size of the previous cycle;
[0020] d. Determine whether the analog signal of the current cycle is less than the noise threshold, and whether the analog signal of the previous cycle is greater than or equal to the noise threshold. If the conditions are met, it means that the granular signal ends and the granular signal flag is set low.
[0021] Preferably, in step S4, an operating module for recording the maximum voltage value in the particle signal is provided in the particle counter, and the operating module can execute the following steps:
[0022] A. Define a variable to store the maximum value of the particle signal. The initial value can be set to 0.
[0023] B. According to the flag bit of the particle signal, determine whether the current interval is where the flag bit of the particle signal is pulled high;
[0024] C. If the particle signal flag is pulled high, enter the loop;
[0025] D. In each cycle, obtain the analog value of the current cycle;
[0026] E. Compare the analog value of the current cycle with the variable storing the maximum value;
[0027] F. If the analog value of the current cycle is greater than the variable storing the maximum value, the analog value of the current cycle is filled into the variable storing the maximum value;
[0028] G. Repeat steps DF until the particle signal flag is pulled low;
[0029] H. When the particle signal flag is pulled low, the variable storing the maximum value stores the maximum value of the particle signal.
[0030] Preferably, in step S4, the voltage maximum value of each particle in the measurement interval is calculated and compared with the voltage threshold value corresponding to different particles calibrated by standard oil, so that the particle size interval corresponding to each particle can be determined. Each time a particle in the interval is detected, the number of particles in the interval is increased by one to realize the counting function of different particle size intervals.
[0031] (III) Beneficial effects
[0032] Compared with the prior art, the present invention provides an algorithm for particle size and corresponding particle number, which has the following beneficial effects:
[0033] This algorithm for particle size and corresponding particle number can find the waveform range of each particle, and the voltage corresponding to the maximum shadow equivalent area caused by each particle on the photosensitive element, so as to determine the particle size corresponding to the particle and the counts of different particle sizes. Through this algorithm, the number of particles at each particle size can be accurately measured, and accurate quantitative analysis can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is the overall flow chart of the present invention.
[0035] Figure 2 It is a principle diagram of the light-blocking particle counter of the present invention.
[0036] Figure 3 It is a particle waveform diagram measured by the particle counter of the present invention.
[0037] Figure 4 It is a diagram for distinguishing particles from noise according to the present invention.
[0038] Figure 5 It is a maximum value diagram of the particle waveform signal interval of the present invention. DETAILED DESCRIPTION
[0039] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0040] Example 1: Please refer to Figure 1-5 , an algorithm for calculating particle size and corresponding particle number in this embodiment includes the following steps:
[0041] S1. Prepare the items to be tested: prepare the oil to be measured;
[0042] S2. Run the particle counter: turn on the particle counter and set the parameters;
[0043] S3, collecting and processing data, and determining the particle waveform interval;
[0044] S4. Calculate and count the number of particles, and determine the particle size range corresponding to the particles.
[0045] In step S1, there is an oil channel for measuring the oil in and out, and the particle counter includes a laser light source, a photoelectric receiver and a photoelectric conversion module. The laser light source and the photoelectric receiver are respectively arranged on both sides of the oil channel, one side of the photoelectric receiver is connected to the photoelectric conversion module, and the photoelectric conversion module is connected to the calculation unit of the particle counter.
[0046] In step S2, the laser light source, the photoelectric receiver, and the photoelectric conversion module are started, and the oil to be measured passes through the oil channel, and the number of oil passing through is counted after calculation by the calculation unit.
[0047] In step S3, when the oil containing particles passes through the oil channel, an electrical signal is collected and the voltage at this time is recorded.
[0048] In step S3, the particle counter may be provided with software for calculating analog signals for oil measurement, and the software may run the following steps:
[0049] a. In each cycle, obtain the analog signal of the current cycle and save the size of the analog signal of the previous cycle;
[0050] b. Determine whether the analog signal of the current cycle is greater than or equal to the noise threshold, and whether the analog signal of the previous cycle is less than the noise threshold; if the conditions are met, it means that a particle signal is detected, and the particle signal flag is set high;
[0051] c. Continue to collect analog signals and save the analog signal size of the previous cycle;
[0052] d. Determine whether the analog signal of the current cycle is less than the noise threshold, and whether the analog signal of the previous cycle is greater than or equal to the noise threshold. If the conditions are met, it means that the granular signal ends and the granular signal flag is set low.
[0053] In step S4, an operating module for recording the maximum voltage value in the particle signal is provided in the particle counter, and the operating module can execute the following steps:
[0054] A. Define a variable to store the maximum value of the particle signal. The initial value can be set to 0.
[0055] B. According to the flag bit of the particle signal, determine whether the current interval is where the flag bit of the particle signal is pulled high;
[0056] C. If the particle signal flag is pulled high, enter the loop;
[0057] D. In each cycle, obtain the analog value of the current cycle;
[0058] E. Compare the analog value of the current cycle with the variable storing the maximum value;
[0059] F. If the analog value of the current cycle is greater than the variable storing the maximum value, the analog value of the current cycle is filled into the variable storing the maximum value;
[0060] G. Repeat steps DF until the particle signal flag is pulled low;
[0061] H. When the particle signal flag is pulled low, the variable storing the maximum value stores the maximum value of the particle signal.
[0062] In step S4, the maximum voltage value of each particle in the measurement interval is calculated and compared with the voltage threshold value corresponding to different particles calibrated by standard oil. The particle size interval corresponding to each particle can be determined. Every time a particle in the interval is detected, the number of particles in the interval is increased by one to realize the counting function of different particle size intervals.
[0063] Example 2: Please refer to Figure 1-5 , an algorithm for calculating particle size and corresponding particle number in this embodiment includes the following steps:
[0064] S1. Prepare the items to be tested: prepare the oil to be measured;
[0065] S2. Run the particle counter: turn on the particle counter and set the parameters;
[0066] S3, collecting and processing data, and determining the particle waveform interval;
[0067] S4. Calculate and count the number of particles, and determine the particle size range corresponding to the particles.
[0068] In step S1, there is an oil channel for measuring the oil in and out, and the particle counter includes a laser light source, a photoelectric receiver and a photoelectric conversion module. The laser light source and the photoelectric receiver are respectively arranged on both sides of the oil channel, one side of the photoelectric receiver is connected to the photoelectric conversion module, and the photoelectric conversion module is connected to the calculation unit of the particle counter.
[0069] In step S2, the laser light source, the photoelectric receiver, and the photoelectric conversion module are started, and the oil to be measured passes through the oil channel, and the number of oil passing through is counted after calculation by the calculation unit.
[0070] In step S3, when the oil containing particles passes through the oil channel, an electrical signal is collected and the voltage at this time is recorded.
[0071] like Figure 3 As shown in the figure, it can be seen that each time a particle flows through the oil channel slit, a large-amplitude electrical signal will be generated, and the shape is similar to a parabola with an opening downward. In addition, it can be seen that the electrical signal without particles flowing through also has a slight oscillation with a small amplitude, which is caused by the noise of the circuit itself and the error of analog sampling. By taking a voltage threshold, the different intervals of noise signal and particle signal can be distinguished, such as Figure 4 As shown, when the voltage threshold is 200 mV, the waveform above 200 mV is the waveform of the particle, and the waveform below 200 mV is the voltage signal.
[0072] In step S3, the particle counter may be provided with software for calculating analog signals for oil measurement, and the software may run the following steps:
[0073] a. In each cycle, obtain the analog signal of the current cycle and save the size of the analog signal of the previous cycle;
[0074] b. Determine whether the analog signal of the current cycle is greater than or equal to the noise threshold, and whether the analog signal of the previous cycle is less than the noise threshold; if the conditions are met, it means that a particle signal is detected, and the particle signal flag is set high;
[0075] c. Continue to collect analog signals and save the analog signal size of the previous cycle;
[0076] d. Determine whether the analog signal of the current cycle is less than the noise threshold, and whether the analog signal of the previous cycle is greater than or equal to the noise threshold. If the conditions are met, it means that the granular signal ends and the granular signal flag is set low.
[0077] In step S4, an operating module for recording the maximum voltage value in the particle signal is provided in the particle counter, and the operating module can execute the following steps:
[0078] A. Define a variable to store the maximum value of the particle signal. The initial value can be set to 0.
[0079] B. According to the flag bit of the particle signal, determine whether the current interval is where the flag bit of the particle signal is pulled high;
[0080] C. If the particle signal flag is pulled high, enter the loop;
[0081] D. In each cycle, obtain the analog value of the current cycle;
[0082] E. Compare the analog value of the current cycle with the variable storing the maximum value;
[0083] F. If the analog value of the current cycle is greater than the variable storing the maximum value, the analog value of the current cycle is filled into the variable storing the maximum value;
[0084] G. Repeat steps DF until the particle signal flag is pulled low;
[0085] H. When the particle signal flag is pulled low, the variable storing the maximum value stores the maximum value of the particle signal.
[0086] In step S4, the maximum voltage value of each particle in the measurement interval is calculated and compared with the voltage threshold value corresponding to different particles calibrated by standard oil. The particle size interval corresponding to each particle can be determined. Every time a particle in the interval is detected, the number of particles in the interval is increased by one to realize the counting function of different particle size intervals.
[0087] This algorithm for particle size and corresponding particle number can find the waveform range of each particle, and the voltage corresponding to the maximum shadow equivalent area caused by each particle on the photosensitive element, so as to determine the particle size corresponding to the particle and the counts of different particle sizes. Through this algorithm, the number of particles at each particle size can be accurately measured, and accurate quantitative analysis can be achieved.
[0088] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.
Claims
1. An algorithm for particle size and corresponding particle number, characterized in that: The steps include: S1. Prepare the items to be tested: prepare the oil to be measured; S2. Run the particle counter: turn on the particle counter and set the parameters; S3, collecting and processing data, and determining the particle waveform interval; S4, calculating and counting the number of particles, and determining the particle size range corresponding to the particles; In step S4, an operating module for recording the maximum voltage value in the particle signal is provided in the particle counter, and the operating module can execute the following steps: A. Define a variable to store the maximum value of the particle signal. The initial value can be set to 0. B. According to the flag bit of the particle signal, determine whether the current interval is where the flag bit of the particle signal is pulled high; C. If the particle signal flag is pulled high, enter the loop; D. In each cycle, obtain the analog value of the current cycle; E. Compare the analog value of the current cycle with the variable storing the maximum value; F. If the analog value of the current cycle is greater than the variable storing the maximum value, the analog value of the current cycle is filled into the variable storing the maximum value; G. Repeat steps DF until the particle signal flag is pulled low; H. When the particle signal flag is pulled low, the variable storing the maximum value stores the maximum value of the particle signal; In step S4, the maximum voltage value of each particle in the measurement interval is calculated and compared with the voltage threshold value corresponding to different particles calibrated by standard oil. The particle size interval corresponding to each particle can be determined. Every time a particle in the interval is detected, the number of particles in the interval is increased by one to realize the counting function of different particle size intervals.
2. The algorithm for calculating particle size and corresponding particle number according to claim 1, characterized in that: In step S1, there is an oil channel for measuring the oil in and out, and the particle counter includes a laser light source, a photoelectric receiver and a photoelectric conversion module. The laser light source and the photoelectric receiver are respectively arranged on both sides of the oil channel, one side of the photoelectric receiver is connected to the photoelectric conversion module, and the photoelectric conversion module is connected to the calculation unit of the particle counter.
3. The algorithm for calculating particle size and corresponding particle number according to claim 2, characterized in that: In step S2, the laser light source, the photoelectric receiver, and the photoelectric conversion module are started, and the oil to be measured passes through the oil channel, and the number of oil passing through is counted after calculation by the calculation unit.
4. The algorithm for calculating particle size and corresponding particle number according to claim 3, characterized in that: In step S3, when the oil containing particles passes through the oil channel, an electrical signal is collected and the voltage at this time is recorded.
5. The algorithm for calculating particle size and corresponding particle number according to claim 4, characterized in that: In step S3, the particle counter may be provided with software for calculating analog signals of oil measurement, and the software may run the following steps: a. In each cycle, obtain the analog signal of the current cycle and save the size of the analog signal of the previous cycle; b. Determine whether the analog signal of the current cycle is greater than or equal to the noise threshold, and whether the analog signal of the previous cycle is less than the noise threshold; if the conditions are met, it means that a particle signal is detected, and the particle signal flag is set high; c. Continue to collect analog signals and save the analog signal size of the previous cycle; d. Determine whether the analog signal of the current cycle is less than the noise threshold, and whether the analog signal of the previous cycle is greater than or equal to the noise threshold. If the conditions are met, it means that the granular signal ends and the granular signal flag is set low.
