A method and device for determining turbidity of a desktop turbidity meter
By obtaining and judging the stability of sample turbidity data in a desktop turbidity meter, the problem of data jitter in low turbidity water detection is solved, ensuring the accuracy and consistency of turbidity measurement.
Patent Information
- Application Number
- CN202111364370.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-11-17
AI Technical Summary
When using a desktop turbidity meter to detect low turbidity water, it is difficult to accurately determine the stable time point due to data jitter caused by sample precipitation. As a result, different detectors read data at different time points, and the same detection cannot be guaranteed under the same detection conditions. result.
By obtaining the turbidity data of the sample during the measurement process, it is judged whether it is stable, and when the data is stable, the turbidity is determined based on the stable data. The average value or difference of the data obtained multiple times is used to judge the stability, remove data disturbance, and avoid Data jitter caused by precipitation.
Effectively identify and remove data disturbances in turbidity meter readings to ensure the accuracy of the obtained turbidity data and reflect the true turbidity of the sample.
Smart Images

Figure CN114062320B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of water treatment, and in particular to a method and device for determining turbidity of a desktop turbidity meter. Background Art
[0002] At present, the turbidity of turbid water is usually detected by a desktop turbidity meter in the laboratory. When using a desktop turbidity meter to detect the turbidity of turbid water, the sample usually needs to be placed in the sample slot of the instrument. From the time the sample is placed in the sample slot to the time the reading is obtained, the sample is inevitably in a static sedimentation process. For low turbidity water, there are fewer particles in the water that can cause light scattering. After precipitation, these particles cannot be detected in the detection light path. Therefore, the detection data of the desktop turbidity meter will continue to jump until it stabilizes after the sample is placed in the instrument. However, the standard for judging stability is more complicated. The standard will change with the size of the actual turbidity value of the sample. It is difficult for the tester to accurately judge the time point when the data is stable by the naked eye. This results in different time points for different testers to read the data, and it is impossible to guarantee the same test results under the same test conditions, that is, the turbidity of low turbidity water cannot be accurately obtained. Summary of the invention
[0003] In order to improve the accuracy of turbidity meter readings, the present disclosure provides a turbidity determination method and device for a desktop turbidity meter.
[0004] In one aspect, an embodiment of the present disclosure provides a method for determining turbidity of a desktop turbidity meter, the method comprising:
[0005] During the measurement process, the turbidity data of the sample is obtained;
[0006] Determining whether the turbidity data of the sample is stable;
[0007] When the turbidity data of the sample is stable, the turbidity of the sample is determined according to the stable turbidity data of the sample.
[0008] In one aspect, an embodiment of the present disclosure provides a turbidity determination device for a desktop turbidity meter, the device comprising:
[0009] An acquisition module is configured to acquire turbidity data of the sample during the measurement process;
[0010] A judgment module connected to the acquisition module, configured to judge whether the turbidity data of the sample is stable;
[0011] The determination module connected to the judgment module is configured to determine the turbidity of the sample according to the stable turbidity data of the sample when the turbidity data of the sample is stable.
[0012] On the one hand, an embodiment of the present disclosure provides a computer-readable storage medium, characterized in that computer program instructions are stored in the storage medium, and when the computer program instructions are executed by a processor of a user device, the user device executes any of the above-mentioned turbidity determination methods of the desktop turbidity meter.
[0013] On the one hand, an embodiment of the present disclosure provides a desktop turbidity meter, in which the turbidity determination device of the desktop turbidity meter and / or the computer-readable storage medium are provided.
[0014] The beneficial effects brought by the technical solution provided by the embodiments of the present disclosure may at least include:
[0015] By judging whether the turbidity data of the sample obtained by sampling is stable, and determining the turbidity of the sample based on the stable turbidity data of the sample when the turbidity data of the sample is stable, the disturbance value and stable value in the turbidity data of the sample obtained can be identified, and the data disturbance in the turbidity meter reading process can be effectively removed, and the problem of inaccurate turbidity of the sample obtained due to data jumps caused by the precipitation of the sample can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings required for use in the embodiments or the prior art description are briefly introduced below. Obviously, the drawings described below are included in this specification and constitute a part of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. For the convenience of description, only the parts related to the present disclosure are shown in the drawings.
[0017] Figure 1 A flowchart of a method for determining turbidity of a desktop turbidity meter provided by the first embodiment of the present disclosure is exemplarily shown;
[0018] Figure 2 A flowchart of a method for determining turbidity of a desktop turbidity meter provided by a second embodiment of the present disclosure is exemplified;
[0019] Figure 3-Figure 5 Three turbidity data curves are shown as examples;
[0020] Figure 6 A schematic diagram of a turbidity determination device of a desktop turbidity meter provided in a third embodiment of the present disclosure is exemplarily shown. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments, and the embodiments and features in the embodiments of the present disclosure can be combined with each other without conflict. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0022] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation or step as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation or step can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc. The method provided by some embodiments of the present disclosure can be executed by a processor, and the following description is taken as an example of a processor as an execution subject. Among them, the execution subject can be adjusted according to the actual application, such as the execution subject can be a server, an electronic device, a computer, etc. More specifically, one or more steps in the method provided by the embodiment of the present disclosure can be executed by a computer program instruction suitable for execution by a processor.
[0023] The first embodiment of the present disclosure provides a method for determining turbidity of a desktop turbidity meter, which can be executed by a controller or a processor in the desktop turbidity meter. Figure 1 As shown, the turbidity determination method of the benchtop turbidity meter includes:
[0024] S101, during the measurement process, obtaining turbidity data of the sample;
[0025] S102, determining whether the turbidity data of the sample is stable;
[0026] S103: When the turbidity data of the sample is stable, determine the turbidity of the sample according to the stable turbidity data of the sample.
[0027] Optionally, obtaining turbidity data of the sample includes:
[0028] Each time the turbidity data of the sample is obtained, the turbidity data of the plurality of samples is obtained;
[0029] The average value of the turbidity data of the plurality of samples is taken as the turbidity data of the sample currently acquired.
[0030] Optionally, before obtaining turbidity data of the sample, the method includes:
[0031] The sample was subjected to ultrasonic debubbling treatment.
[0032] Optionally, determining whether the turbidity data of the sample is stable includes:
[0033] When the difference between the turbidity data of one of the samples in the turbidity data of the samples acquired for the Nth to N+Mth times and the turbidity data of the remaining samples in the turbidity data of the samples acquired for the Nth to N+Mth times is not greater than a first preset threshold, it is determined that the turbidity data of the sample is stable.
[0034] Optionally, the method comprises: for the turbidity data of the sample acquired from the Nth to the N+Mth times,
[0035] Calculate the average value of the turbidity data of the sample obtained from the Nth to the N+Mth times;
[0036] When the average value is greater than a second preset threshold, taking the product of the average value and the first reference value as the first preset threshold;
[0037] When the average value is not greater than the second preset threshold, the second reference value is used as the first preset threshold.
[0038] Optionally, determining the turbidity of the sample according to the stable turbidity data of the sample comprises:
[0039] When the turbidity data of the sample is stable, the average value of the turbidity data of S samples among the turbidity data of the sample obtained from the Nth to the N+Mth times is taken as the turbidity of the sample, where S is an integer greater than or equal to 1 and less than or equal to M+1;
[0040] Alternatively, when the turbidity data of the sample is stable, the turbidity data of the sample obtained for the Nth to N+Mth times, the turbidity data of the sample whose difference with the turbidity data of the remaining samples is not greater than the first preset threshold, is used as the turbidity of the sample.
[0041] Optionally, when the turbidity data of the sample is not stable within the measurement time since the turbidity data of the sample was first obtained, the average value or minimum value of the turbidity data of all the samples within the measurement time is used as the turbidity of the sample, or the average value or minimum value of the turbidity data of all the samples within the measurement time after removing the highest value and the lowest value is used as the turbidity of the sample.
[0042] The turbidity determination method of the desktop turbidity meter provided in the embodiment of the present disclosure determines whether the turbidity data of the sample obtained by sampling is stable. When the turbidity data of the sample is stable, the turbidity of the sample is determined according to the stable turbidity data of the sample. The disturbance value and the stable value in the turbidity data of the sample obtained can be identified, and the data disturbance in the turbidity meter reading process can be effectively removed, so as to avoid the problem of inaccurate turbidity of the sample obtained due to data jump caused by the precipitation of the sample.
[0043] The second embodiment of the present disclosure provides a method for determining turbidity of a desktop turbidity meter, which can be executed by a controller or a processor in the desktop turbidity meter. Figure 2 As shown, the turbidity determination method of the benchtop turbidity meter includes:
[0044] S201, during the measurement process, obtaining turbidity data of the sample.
[0045] Exemplarily, after the turbid water sample is placed in the sample slot of the turbidity meter, the turbidity data of the sample can be obtained through the detection function of the turbidity meter itself. In a possible implementation, the turbidity data of the sample can be periodically obtained, that is, the turbidity data of the sample can be obtained once at a fixed time interval, and multiple turbidity data of the sample within a certain period of time can be obtained, so that the turbidity of the sample can be calculated based on the multiple turbidity data of the sample, which can make the final calculation result more accurate. Exemplarily, the turbidity data of the sample can be obtained every 1 second, 2 seconds or 3 seconds.
[0046] In a possible implementation, the turbid water sample may contain bubbles that are not easily detected by the naked eye. In order to avoid the influence of bubbles on turbidity measurement, the sample may be subjected to ultrasonic debubbling treatment before obtaining the turbidity data of the sample. For example, the sample may be subjected to ultrasonic debubbling treatment first, and then the sample may be placed in the sample slot of the turbidity meter to obtain the turbidity data of the sample after ultrasonic debubbling.
[0047] In a possible implementation, each time the turbidity data of a sample is acquired, multiple turbidity data of the same time can be acquired, and then the average value of the multiple turbidity data acquired this time can be used as the turbidity data of the sample acquired this time. Exemplarily, each time the turbidity data of a sample is acquired, the turbidity meter can acquire a large amount of turbidity data of the same sample at one time, for example, 10, 50, 100, or 200 turbidity data can be acquired at one time, and then the average value of the turbidity data acquired this time can be used as the turbidity data of the sample acquired this time.
[0048] S202, determining whether the turbidity data of the sample is stable.
[0049] In practical applications, after the sample is placed in the sample slot of the turbidity meter, precipitation will inevitably occur in the sample, causing the turbidity data of the sample obtained within a period of time after the sample is placed in the sample slot to jump, and the turbidity data of the sample obtained at this time cannot reflect the true turbidity of the sample. By judging whether the turbidity data of the sample is stable, and when the turbidity data of the sample is stable, determining the turbidity of the sample based on the stable turbidity data of the sample, the turbidity of the sample can be made more accurate and can reflect the true turbidity of the sample.
[0050] Exemplarily, when judging whether the turbidity data of a sample is stable, the turbidity data of the sample can be judged to be stable according to the size relationship between the turbidity data of the sample obtained from the Nth to the N+Mth time. Wherein, N is an integer greater than or equal to 1, and M is an integer greater than or equal to 1. Exemplarily, after obtaining the turbidity data of the sample, it is possible to judge in real time whether the turbidity data of the sample is stable. For example, it is possible to judge whether the turbidity data of the sample obtained from the 1st time (including the 1st time) is stable according to the size relationship between the turbidity data of the sample obtained from the 1st to the 5th time. If the turbidity data of the sample obtained from the 1st to the 5th time is not stable, it is possible to continue to judge whether the turbidity data of the sample obtained from the 2nd time is stable according to the size relationship between the turbidity data of the sample obtained from the 2nd to the 6th time, and so on, until the turbidity data of the sample obtained from the Nth time is stable, or until the measurement is completed. In practical applications, a measurement duration can be set for the turbidity measurement of the sample, and the measurement duration can be the duration lasting since the turbidity data of the sample was obtained for the first time. For example, the measurement duration may be 2 minutes, 3 minutes, or 5 minutes.
[0051] In one possible implementation, when the difference between the turbidity data of one sample in the turbidity data of the samples acquired for the Nth to N+Mth times and the turbidity data of the remaining samples in the turbidity data of the samples acquired for the Nth to N+Mth times is no more than a first preset threshold, it can be determined that the turbidity data of the sample is stable.
[0052] In one possible implementation, for the turbidity data of samples acquired for the Nth to N+Mth times, an average value of the turbidity data of the samples acquired for the Nth to N+Mth times can be calculated. When the average value is greater than the second preset threshold, the product of the average value and the first reference value can be used as the first preset threshold corresponding to the turbidity data of the samples acquired for the Nth to N+Mth times. When the average value is not greater than the second preset threshold, the second reference value can be used as the first preset threshold corresponding to the turbidity data of the samples acquired for the Nth to N+Mth times.
[0053] Exemplarily, the difference between the turbidity data shown in Table 1 and the turbidity data shown in Table 2 is used as an example to explain how to judge whether the turbidity data of the sample is stable. In Tables 1 and 2, the value of M is 4 as an example, "N" represents the Nth sampling, "turbidity data" represents the turbidity data of the sample obtained by the Nth sampling, and the difference represents the difference (absolute value) between the turbidity data on the horizontal axis and the turbidity data on the vertical axis.
[0054] Table 1 Turbidity data of samples
[0055] N 1 2 3 4 5 Turbidity data 0.150 0.160 0.170 0.180 0.190
[0056] Table 2 Differences in turbidity data of samples
[0057]
[0058] For Table 1 and Table 2, the average value of the turbidity data of the samples obtained from the 1st to the 5th time can be calculated, that is, 0.170, and then it can be determined whether the average value is greater than the second preset threshold value. In practical applications, for different samples, the turbidity meter usually adjusts its own accuracy. For example, for samples with larger turbidity (e.g., turbidity greater than 0.5NTU), the accuracy of the turbidity meter is also larger (e.g., it can be 0.02), and for samples with smaller turbidity (e.g., turbidity not greater than 0.5NTU), the accuracy of the turbidity meter is also smaller (e.g., it can be 0.01). In the disclosed embodiment, in order to make the measurement result more accurate, the standard (e.g., 0.5NTU) for judging the turbidity size of the turbidity meter can be used as the second preset threshold value, the accuracy value (e.g., 0.02) when the turbidity meter adopts a larger accuracy can be used as the first reference value, and the accuracy value (e.g., 0.01) when the turbidity meter adopts a smaller accuracy can be used as the second reference value.
[0059] Assuming that the second preset threshold is 0.5NTU, the first reference value is 0.02, and the second reference value is 0.01, the average value of the turbidity data of the five samples obtained in Table 1 is less than the second preset threshold, and the second reference value 0.01 can be used as the first preset threshold. It can be seen from the judgment that the difference between the turbidity data of any one of the turbidity data of the samples obtained from the 1st to the 5th time in Table 1 and the turbidity data of the remaining samples in the turbidity data of the samples obtained from the 1st to the 5th time does not exist and is not greater than the first preset threshold, indicating that the turbidity data of the samples is not stable at this time, and it can be further judged whether the turbidity data of the samples obtained from the 2nd to the 6th time are stable.
[0060] It should be noted that the stable turbidity data of the sample obtained according to the embodiment of the present disclosure refers to the turbidity data of the sample obtained from the Nth to the N+Mth time, but according to the general understanding of those skilled in the art, when the turbidity data of the sample obtained from the Nth to the N+Mth time is stable, it can be considered that the turbidity data of the sample is stable. Figure 3 As shown, when the turbidity data of the sample is stable, it is reflected in the turbidity data change curve as a stable segment, and the turbidity of the sample can be determined based on the turbidity data in the stable segment. In addition, in practical applications, in order to make the results more accurate, the value of M can be larger, for example, M can be 10, 20 or a larger value.
[0061] In a possible implementation, since the turbidity data of the sample obtained within a period of time after the sample is placed in the sample slot of the turbidity meter usually jumps, the turbidity data of the sample may not be obtained within a period of time after the sample is placed in the sample slot of the turbidity meter, or the turbidity data of the sample may not be judged whether it is stable within a period of time after the sample is placed in the sample slot of the turbidity meter, that is, after the sample is placed in the sample slot of the turbidity meter, the turbidity data of the sample may be periodically obtained or the turbidity data of the sample may be judged whether it is stable after a preset time. For example, after the sample is placed in the sample slot of the turbidity meter, the turbidity data of the sample may be obtained after a time of 5 seconds or 6 seconds, or only the turbidity data of the sample may be obtained without judging whether the turbidity data of the sample is stable. Judging whether the turbidity data of the sample is stable after a preset time can avoid wasting computing resources.
[0062] S203: When the turbidity data of the sample is stable, determine the turbidity of the sample according to the stable turbidity data of the sample.
[0063] Exemplarily, when the turbidity data of the sample is stable, the average value of the turbidity data of S samples in the turbidity data of the samples obtained from the Nth to the N+Mth times can be used as the turbidity of the sample, where S is an integer greater than or equal to 1 and less than or equal to M+1. For example, assuming that the turbidity data of the samples obtained from the 6th to the 10th times are stable as determined by the above method, the turbidity data of one sample or the average value of the turbidity data of multiple samples in the turbidity data of the samples obtained from the 6th to the 10th times can be used as the turbidity of the sample.
[0064] Exemplarily, when the turbidity data of the sample is stable, the turbidity data of the sample whose difference between the turbidity data of the corresponding sample obtained for the Nth to N+Mth times and the turbidity data of the remaining samples is not greater than the first preset threshold value can be used as the turbidity of the sample. For example, assuming that the turbidity data of the sample obtained for the 6th to 10th times is stable as determined by the above method, wherein the difference between the turbidity data of the sample obtained for the 7th time and the turbidity data of the remaining 4 times is less than the first preset threshold value, the turbidity data of the sample obtained for the 7th time can be directly used as the turbidity of the sample.
[0065] When the turbidity data of the sample is stable, determining the turbidity of the sample according to the stable turbidity data of the sample can make the obtained turbidity of the sample more accurate and can reflect the real turbidity of the sample.
[0066] For example, in practical applications, if it is necessary to determine the stable point of the turbidity data of a sample, when the turbidity data of the samples obtained from the Nth to the N+Mth times are stable, the time of the Nth sampling and / or the turbidity data of the sample obtained from the Nth sampling can be used as the stable point of the sample.
[0067] In a possible implementation, if the turbidity data of the sample is not stable within the measurement time after the turbidity data of the sample is first obtained, the average value or minimum value of the turbidity data of all samples obtained within the measurement time can be used as the turbidity of the sample, or the average value or minimum value of the turbidity data of all samples obtained within the measurement time after removing the highest value and the lowest value can be used as the turbidity of the sample. For example, Figure 4 As shown, if the turbidity data of the sample obtained within the measurement time is always in a jumping state, the average value or minimum value of the turbidity data of all samples obtained within the measurement time can be directly used as the turbidity of the sample, or the average value or minimum value of the turbidity data of all samples obtained within the measurement time after removing the highest value and the lowest value can be used as the turbidity of the sample. The measurement time can be 2 minutes, 3 minutes or 5 minutes.
[0068] In a possible implementation, if the turbidity data of the sample obtained stabilizes multiple times within the measurement time after the turbidity data of the sample is first obtained, the turbidity of the sample can be determined based on the turbidity data of the sample that stabilized for the first time or the last time, that is, the average value of the turbidity data of S samples in the turbidity data of the sample that stabilized for the first time or the last time can be used as the turbidity of the sample. Figure 5 As shown, the turbidity data of the sample obtained within the measurement time may have multiple stable segments. In this case, the average value of one or more of the turbidity data of the sample in the first stable segment or the last stable segment can be used as the turbidity of the sample.
[0069] In a possible implementation, the turbidity determination method of the desktop turbidity meter provided in the embodiment of the present disclosure may include: displaying the turbidity data of the sample and the turbidity of the sample. For example, the turbidity meter may be provided with a display screen, and after obtaining the turbidity data of the sample and the final turbidity of the sample, the turbidity data of the sample and the final turbidity of the sample may be displayed on the display screen of the turbidity meter.
[0070] The turbidity determination method of the desktop turbidity meter provided in the embodiment of the present disclosure determines whether the turbidity data of the sample obtained by sampling is stable. When the turbidity data of the sample is stable, the turbidity of the sample is determined according to the stable turbidity data of the sample. The disturbance value and the stable value in the turbidity data of the sample obtained can be identified, and the data disturbance in the turbidity meter reading process can be effectively removed, so as to avoid the problem of inaccurate turbidity of the sample obtained due to data jump caused by the precipitation of the sample.
[0071] The third embodiment of the present disclosure provides a turbidity determination device for a desktop turbidity meter, which can be arranged in the desktop turbidity meter. Figure 6 As shown, the turbidity determination device 300 of the desktop turbidity meter includes:
[0072] The acquisition module 301 is configured to acquire turbidity data of the sample during the measurement process;
[0073] The determination module 302 connected to the acquisition module 301 is configured to determine whether the turbidity data of the sample is stable;
[0074] The determination module 303 connected to the judgment module 302 is configured to determine the turbidity of the sample according to the stable turbidity data of the sample when the turbidity data of the sample is stable.
[0075] Optionally, the acquisition module 301 may be configured as follows:
[0076] Each time turbidity data of a sample is obtained, turbidity data of a plurality of samples is obtained;
[0077] The average value of the turbidity data of the multiple samples is taken as the turbidity data of the sample currently acquired.
[0078] Optionally, the determination module 302 may be configured to:
[0079] Whether the turbidity data of the sample is stable is judged based on the size relationship between the turbidity data of the sample obtained from the Nth time to the N+Mth time, where N is an integer greater than or equal to 1, and M is an integer greater than or equal to 1.
[0080] Optionally, the determination module 302 may be configured to:
[0081] When the difference between the turbidity data of one sample in the turbidity data of the samples acquired for the Nth to N+Mth times and the turbidity data of the remaining samples in the turbidity data of the samples acquired for the Nth to N+Mth times is not greater than the first preset threshold, it is determined that the turbidity data of the sample is stable.
[0082] Optionally, the determination module 303 may also be configured to: for the turbidity data of the samples acquired from the Nth to the N+Mth times,
[0083] Calculate the average value of the turbidity data of the samples obtained from the Nth to the N+Mth times;
[0084] When the average value is greater than the second preset threshold, the product of the average value and the first reference value is used as the first preset threshold;
[0085] When the average value is not greater than the second preset threshold, the second reference value is used as the first preset threshold.
[0086] Optionally, the determination module 303 may be configured to:
[0087] When the turbidity data of the sample is stable, the average value of the turbidity data of S samples in the turbidity data of the samples obtained from the Nth to the N+Mth times is taken as the turbidity of the sample, where S is an integer greater than or equal to 1 and less than or equal to M+1;
[0088] Alternatively, when the turbidity data of the sample is stable, the turbidity data of the sample whose difference with the turbidity data of the remaining samples from the corresponding Nth to N+Mth times is not greater than the first preset threshold is used as the turbidity of the sample.
[0089] Optionally, the determination module 303 may be configured to:
[0090] When the turbidity data of the sample is not stable within the measurement time since the turbidity data of the sample was first obtained, the average value or minimum value of the turbidity data of all samples within the measurement time is used as the turbidity of the sample, or the average value or minimum value of the turbidity data of all samples within the measurement time after removing the highest value and the lowest value is used as the turbidity of the sample.
[0091] The turbidity determination device of the desktop turbidity meter provided in the embodiment of the present disclosure determines whether the turbidity data of the sample obtained by sampling is stable. When the turbidity data of the sample is stable, the turbidity of the sample is determined according to the stable turbidity data of the sample. The disturbance value and the stable value in the turbidity data of the sample obtained can be identified, and the data disturbance in the turbidity meter reading process can be effectively removed, so as to avoid the problem of inaccurate turbidity of the sample obtained due to data jump caused by the precipitation effect of the sample.
[0092] It should be noted that the turbidity determination device of the desktop turbidity meter provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure or program of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the turbidity determination device of the desktop turbidity meter provided in the above embodiment and the turbidity determination method embodiment of the desktop turbidity meter belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0093] The embodiments of the present disclosure further provide a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed by a processor of a user device, the user device executes the method disclosed in any of the above embodiments.
[0094] The computer-readable storage medium provided in any embodiment of the present disclosure includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0095] The embodiments of the present disclosure further provide a desktop turbidity meter, in which the turbidity determination device and / or computer-readable storage medium of the desktop turbidity meter provided in any of the above embodiments is disposed.
[0096] An embodiment of the present disclosure further provides an electronic device, including a processor and a memory, wherein the memory stores computer program instructions suitable for execution by the processor, and the computer program instructions are executed by the processor to execute the method disclosed in any of the above embodiments when executed.
[0097] The electronic device provided in any embodiment of the present disclosure may be a turbidity meter, a mobile phone, a computer, a tablet computer, a server, a network device, etc., or may also be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, etc.
[0098] For example, the electronic device may include: a processor, a memory, an input / output interface, a communication interface, and a bus, wherein the processor, the memory, the input / output interface, and the communication interface are connected to each other in communication within the device via the bus.
[0099] The processor can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0100] The memory can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory can store operating systems and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory and called and executed by the processor.
[0101] The input / output interface is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component, or it can be connected to the device to provide corresponding functions. The input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0102] The communication interface is used to connect the communication module to realize the communication interaction between the device and other devices. The communication module can realize communication through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0103] The bus comprises a pathway that transmits information between the various components of a device (eg, processor, memory, input / output interface, and communication interface).
[0104] It should be noted that, although the above device only shows a processor, a memory, an input / output interface, a communication interface, and a bus, in the specific implementation process, the device may also include other components necessary to achieve qualified operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary to implement the embodiments of this specification, and does not necessarily include all of the components.
[0105] It can be known from the above description of the implementation mode that the technicians in this field can clearly understand that the embodiments of this specification can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of this specification can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments of this specification.
[0106] The systems, methods, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.
[0107] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The method embodiments described above are merely schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of each module may be implemented in the same or more software and / or hardware when implementing the embodiment scheme of this specification. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. Those of ordinary skill in the art can understand and implement it without paying creative labor.
[0108] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments / methods or examples described in this specification and the features of the different embodiments / methods or examples, unless they are contradictory.
[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0110] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A method for determining turbidity of a desktop turbidity meter, characterized in that: The method comprises: During the measurement process, the turbidity data of the sample is obtained; Determining whether the turbidity data of the sample is stable; When the turbidity data of the sample is stable, determining the turbidity of the sample according to the stable turbidity data of the sample; Wherein, judging whether the turbidity data of the sample is stable comprises: When the difference between the turbidity data of one of the samples in the turbidity data of the samples acquired from the Nth to the N+Mth times and the turbidity data of the remaining samples in the turbidity data of the samples acquired from the Nth to the N+Mth times is not greater than a first preset threshold, determining that the turbidity data of the sample is stable; The method further comprises: For the turbidity data of the sample obtained from the Nth to the N+Mth times, calculating the average value of the turbidity data of the sample obtained from the Nth to the N+Mth times; When the average value is greater than the second preset threshold, the product of the average value and the first reference value is used as the first preset threshold, wherein the second preset threshold is a standard for the turbidity meter to judge the turbidity size; When the average value is not greater than the second preset threshold, a second reference value is used as the first preset threshold, wherein the first reference value is greater than the second reference value.
2. The method for determining turbidity of a desktop turbidity meter according to claim 1, characterized in that: The step of obtaining turbidity data of the sample comprises: Each time the turbidity data of the sample is obtained, the turbidity data of the plurality of samples is obtained; The average value of the turbidity data of the plurality of samples is taken as the turbidity data of the sample currently acquired.
3. The method for determining turbidity of a desktop turbidity meter according to claim 1, characterized in that: Before obtaining the turbidity data of the sample, the method includes: The sample was subjected to ultrasonic debubbling treatment.
4. The method for determining turbidity of a desktop turbidity meter according to claim 1, characterized in that: Determining the turbidity of the sample according to the stable turbidity data of the sample comprises: When the turbidity data of the sample is stable, the average value of the turbidity data of S samples among the turbidity data of the sample obtained from the Nth to the N+Mth times is taken as the turbidity of the sample, where S is an integer greater than or equal to 1 and less than or equal to M+1; Alternatively, when the turbidity data of the sample is stable, the turbidity data of the sample obtained for the Nth to N+Mth times, the turbidity data of the sample whose difference with the turbidity data of the remaining samples is not greater than the first preset threshold, is used as the turbidity of the sample.
5. The method for determining turbidity of a desktop turbidity meter according to claim 1, characterized in that: When the turbidity data of the sample is not stable within the measurement time since the turbidity data of the sample is first obtained, the average value or minimum value of the turbidity data of all the samples within the measurement time is taken as the turbidity of the sample, or the average value or minimum value of the turbidity data of all the samples within the measurement time after removing the highest value and the lowest value is taken as the turbidity of the sample.
6. A turbidity determination device for a desktop turbidity meter, characterized in that: The device comprises: An acquisition module is configured to acquire turbidity data of the sample during the measurement process; A judgment module connected to the acquisition module, configured to judge whether the turbidity data of the sample is stable; a determination module connected to the judgment module, configured to determine the turbidity of the sample according to the stable turbidity data of the sample when the turbidity data of the sample is stable; Wherein, the judging module is configured as follows: When the difference between the turbidity data of one of the samples in the turbidity data of the samples acquired from the Nth to the N+Mth times and the turbidity data of the remaining samples in the turbidity data of the samples acquired from the Nth to the N+Mth times is not greater than a first preset threshold, determining that the turbidity data of the sample is stable; The determining module is further configured to: For the turbidity data of the sample obtained from the Nth to the N+Mth times, calculating the average value of the turbidity data of the sample obtained from the Nth to the N+Mth times; When the average value is greater than the second preset threshold, the product of the average value and the first reference value is used as the first preset threshold; When the average value is not greater than the second preset threshold, the second reference value is used as the first preset threshold.
7. A computer-readable storage medium, characterized in that: The storage medium stores computer program instructions, and when the computer program instructions are executed by a processor of a user device, the user device executes the turbidity determination method of a desktop turbidity meter according to any one of claims 1 to 5.
8. A desktop turbidity meter, characterized in that: The turbidity meter is provided with the turbidity determination device of the desktop turbidity meter according to claim 6 and / or the computer-readable storage medium according to claim 7.
