A method for testing negative ion concentration of negative ion textiles

By constructing the excitation coefficient of the temperature and humidity negative ion generation, combining sequence decomposition and envelope spectrum analysis, an exponential moving average algorithm is used to solve the fluctuation problem in the detection of negative ion textile concentration, and a more accurate and stable negative ion concentration measurement is achieved.

CN118443911BActive Publication Date: 2024-11-01AMOY OXYGEN TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410904477.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-01
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

The existing negative ion textile concentration detection methods have large fluctuations in the negative ion concentration curve due to factors such as temperature and textile pressure, and there are large deviations in the test results, poor stability, and difficult to guarantee reproducibility.

Method used

By obtaining temperature and humidity data, the excitation coefficient of the negative ion generation amount of temperature and humidity is constructed, the negative ion concentration data is adjusted, and the negative ion concentration adjustment sequence and disorder coefficient are calculated by combining the sequence decomposition algorithm and envelope spectrum analysis. Finally, the exponential moving average algorithm is used to obtain the final Negative ion concentration value.

Benefits of technology

This method can more accurately evaluate the trend and level of negative ion concentration, improve the stability and reproducibility of the detection, and the resulting negative ion concentration value is closer to the true value, making up for the defect of poor stability of the existing detection methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118443911B_ABST
    Figure CN118443911B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of negative ion measurement technology, and in particular to a method for testing the negative ion concentration of a negative ion textile, the method comprising: obtaining negative ion concentration data, temperature data and humidity data; constructing temperature and humidity negative ion generation excitation coefficients based on the influence of temperature data, humidity data and negative ion concentration; adjusting the negative ion concentration data; combining sequence decomposition algorithm and envelope spectrum analysis to construct a negative ion disorder coefficient and a negative ion concentration steepness sequence; constructing a negative ion concentration trend smoothing index; obtaining a weight coefficient of an exponential moving average algorithm; and obtaining the final negative ion concentration value of the negative ion textile. The present invention aims to correct the negative ion concentration data in combination with temperature and humidity data to improve the accuracy of concentration measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of negative ion measurement, and in particular to a method for testing the negative ion concentration of negative ion textiles. Background Art

[0002] Negative ions have the effects of sterilization, dust reduction, improving immunity and regulating functional balance, which are beneficial to human health. When wearing clothes with negative ion textile emission function, the body's immunity will also be strengthened. Therefore, negative ion powder and other substances that can stimulate the air to produce negative ions are added during the production process of textiles. Negative ion textiles are made and applied to home textiles and interior decorations, which will greatly increase the added value of textiles. The generation of negative ions in textiles is easily affected by temperature and pressure between textiles, and air negative ions have the characteristics of being greatly affected by the environment and having a short lifespan. Therefore, it is difficult to accurately detect the negative ion concentration of negative ion textiles.

[0003] The existing detection method uses the average method to reduce the error, but the concentration detection of negative ion textiles is easily affected by factors such as friction vibration and the short life of negative ions, which leads to large fluctuations in the negative ion concentration curve. The final negative ion concentration still varies greatly, and there is a deviation between the negative ion concentration obtained by the test and the actual negative ion concentration. Therefore, the existing detection method has the defects of poor stability and difficulty in ensuring reproducibility. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a method for testing the negative ion concentration of negative ion textiles to solve the existing problems.

[0005] The negative ion concentration test method of a negative ion textile of the present invention adopts the following technical scheme:

[0006] One embodiment of the present invention provides a method for testing the negative ion concentration of a negative ion textile, the method comprising the following steps:

[0007] Obtain the negative ion concentration data, temperature data and humidity data of the detection environment;

[0008] Set time periods; obtain the temperature negative ion generation excitation coefficient and humidity negative ion generation excitation coefficient of each time period according to the distribution changes of the temperature data and humidity data of each time period; adjust the negative ion concentration data of each time period according to the temperature and humidity negative ion generation excitation coefficients of each time period to obtain the negative ion concentration excitation adjustment sequence of each time period; obtain the PR component of each time period according to the negative ion concentration excitation adjustment sequence of each time period combined with the sequence decomposition algorithm; obtain the frequency amplitude spectrum of each time period according to the PR component of each time period combined with envelope spectrum analysis; obtain the negative ion disorder coefficient of each time period according to the element distribution of all PR components of each time period; obtain the negative ion concentration steepness sequence according to the distribution characteristics of the frequency amplitude spectrum elements of each time period combined with the negative ion disorder coefficient of each time period; obtain the negative ion concentration trend smoothing index according to the numerical probability distribution of the negative ion concentration steepness sequence;

[0009] The weight coefficient of the exponential moving average algorithm is obtained according to the negative ion concentration trend smoothing index; the negative ion concentration value of the final negative ion textile is obtained according to the negative ion concentration value of the textile and the weight coefficient of the exponential moving average algorithm.

[0010] Preferably, the step of obtaining the temperature negative ion generation amount excitation coefficient and the humidity negative ion generation amount excitation coefficient of each time period according to the distribution change of the temperature data and the humidity data of each time period includes:

[0011] Obtain the maximum value and the mean temperature of the temperature data of each time period respectively; calculate the difference between the maximum value and the mean temperature; for each temperature data of each time period, starting from the second temperature data, calculate the result of subtracting each temperature data from the adjacent previous temperature data; calculate the mean of all the results; and use the product of the difference and the mean as the temperature negative ion generation excitation coefficient of each time period;

[0012] The humidity negative ion generation excitation coefficient is obtained using the same calculation method as the temperature negative ion generation excitation coefficient.

[0013] Preferably, the negative ion concentration data of each time period is adjusted according to the temperature and humidity negative ion generation amount excitation coefficient of each time period to obtain the negative ion concentration excitation adjustment sequence of each time period, specifically:

[0014] Calculate the sum of the temperature negative ion generation excitation coefficient and the humidity negative ion generation excitation coefficient in each time period; preset a parameter adjustment factor; calculate the ratio of the sum to the parameter adjustment factor; and use the ratio as the exponent of an exponential function with a natural constant as the base;

[0015] For the negative ion concentration data of each time period, the product of each negative ion concentration data and the calculation result of the exponential function of the corresponding time period is used as the negative ion concentration excitation adjustment value of each negative ion concentration;

[0016] The sequence composed of the negative ion concentration excitation adjustment values ​​in each time period is used as the negative ion concentration excitation adjustment sequence in each time period.

[0017] Preferably, the negative ion concentration excitation adjustment sequence in each time period is combined with a sequence decomposition algorithm to obtain the PR component of each time period, specifically:

[0018] For the negative ion concentration excitation adjustment sequence in each time period, the negative ion concentration excitation adjustment sequence is used as the input of the inherent time scale decomposition algorithm. The output of the inherent time scale decomposition algorithm is each PR component. The PR components are saved as PRn components according to the output order, where n represents the output order.

[0019] Preferably, the frequency amplitude spectrum of each time period is obtained by combining the PR component of each time period with the envelope spectrum analysis, and the specific expression is:

[0020] The data after curve fitting of PR1 component and PR2 component are respectively used as the input of Hilbert envelope spectrum analysis, and the output of Hilbert envelope spectrum analysis is the envelope spectrum analysis results of PR1 component and PR2 component respectively;

[0021] Calculate the sum of the amplitude values ​​of the same frequency between the envelope spectrum analysis results of the PR1 component and the PR2 component; and use half of the sum of the amplitude values ​​of the same frequency of the PR1 component and the PR2 component as each element of the frequency amplitude spectrum of each time period.

[0022] Preferably, the negative ion disorder coefficient of each time period is obtained according to the element distribution of all PR components in each time period, and the expression is:

[0023]

[0024] In the formula, represents the negative ion concentration disorder coefficient in the time period x, C represents the number of layers of the PR component, represents the number of data in the j-th layer PR component, represents the kth value in the jth layer PR component, , Respectively represent the minimum and maximum values ​​of the elements in the j-th layer PR component, Represents the standard deviation function.

[0025] Preferably, the method of obtaining the negative ion concentration steepness sequence according to the distribution characteristics of the frequency amplitude spectrum elements of each time period in combination with the negative ion disorder coefficient of each time period includes:

[0026] For the frequency amplitude spectrum of each time period, obtain the average result of all elements in the frequency amplitude spectrum; calculate the absolute value of the difference between each element in the frequency amplitude spectrum and the result; calculate the mean of the absolute value of the difference of all elements in the frequency amplitude spectrum; and use the sum of the mean and the negative ion disorder coefficient of each time period as the steepness of the negative ion concentration excitation adjustment sequence of each time period;

[0027] A sequence consisting of the steepness values ​​of the negative ion concentration excitation adjustment sequence in B consecutive time periods is used as a negative ion concentration steepness sequence, where B is a preset value.

[0028] Preferably, obtaining the negative ion concentration trend smoothness index according to the numerical probability distribution of the negative ion concentration steepness sequence includes:

[0029] Performing first-order difference on the negative ion concentration steepness sequence to obtain a steep difference sequence; obtaining a value range of the steep difference sequence; dividing the value range into g intervals, where g is a preset value; counting the number of negative ion concentration steepness sequence element values ​​contained in each interval; and taking the ratio of the number to the number of values ​​contained in the negative ion concentration steepness sequence as the probability of each interval;

[0030] For each element of the negative ion concentration steepness sequence, obtain the probability of the interval in which each element is located; calculate the logarithmic function value with 2 as the base and the probability as a real number; calculate the inverse of the product of the probability and the logarithmic function value; and take the average of the inverse numbers of all elements of the negative ion concentration steepness sequence as the negative ion concentration trend smoothing index.

[0031] Preferably, the weight coefficient of the exponential moving average algorithm is obtained according to the negative ion concentration trend smoothing index, specifically:

[0032] Calculate the inverse of the ratio of the negative ion concentration trend smoothing index to the preset parameter adjustment factor; use the inverse as the exponent of an exponential function with a natural constant as the base; and use the difference between 1 and the calculation result of the exponential function as the weight coefficient of the exponential moving average algorithm.

[0033] Preferably, the method of obtaining the final negative ion concentration value of the negative ion textile according to the negative ion concentration value of the negative ion textile and the weight coefficient of the exponential moving average algorithm comprises:

[0034] The negative ion concentration value of the negative ion textile t minutes before the current time is used as the input of the exponential moving average algorithm, and the final negative ion concentration value of the negative ion textile at the current time is output in combination with the weight coefficient of the exponential moving average algorithm, where t is a preset value.

[0035] The present invention has at least the following beneficial effects:

[0036] The present invention mainly constructs a negative ion generation excitation coefficient by combining the influence of temperature and humidity on the negative ion concentration of textiles, adjusts the detected negative ion concentration, and obtains a negative ion concentration excitation adjustment sequence. The beneficial effect is that the value of the sequence is closer to the real negative ion concentration value, and the change trend and level of the negative ion concentration of the textile can be more accurately evaluated. Then, the inherent time scale decomposition algorithm is used to decompose the adjustment sequence, and the change state of the negative ion concentration is analyzed from the perspective of the frequency domain, and the envelope spectrum of the signal is more accurately extracted, so as to better reflect the important features and change trends in the signal. Finally, the weight coefficient of the exponential moving average algorithm is calculated to obtain a more accurate negative ion concentration value, which makes up for the defect of poor stability in the existing detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 A flow chart of a method for testing the negative ion concentration of a negative ion textile provided by the present invention;

[0039] Figure 2 The flowchart for obtaining the weight coefficient of the exponential moving average algorithm. DETAILED DESCRIPTION

[0040] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the negative ion concentration test method of a negative ion textile proposed by the present invention, its specific implementation, structure, characteristics and effects as follows in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.

[0041] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0042] The specific scheme of the method for testing the negative ion concentration of a negative ion textile provided by the present invention is described in detail below with reference to the accompanying drawings.

[0043] An embodiment of the present invention provides a method for testing the negative ion concentration of a negative ion textile.

[0044] Specifically, the following negative ion concentration test method for negative ion textiles is provided, please refer to Figure 1 , the method comprises the following steps:

[0045] Step S001: Collect temperature and humidity data and negative ion concentration data in the detection environment, and perform data preprocessing.

[0046] Negative ion textiles are textiles with negative ion generator materials added inside. Negative ion generator materials usually have thermoelectricity and piezoelectricity, that is, when the temperature and humidity of the air and the pressure applied to the textiles change slightly, it can cause a potential difference between the tourmaline crystal particles. The static voltage formed is enough to ionize the air, and the generated free electrons attach to the adjacent molecules to become air negative ions. Therefore, applying certain physical stimulation to negative ion textiles can better stimulate the generation of negative ions.

[0047] In order to simulate the effect of friction pressure on the release of negative ions during normal use of textiles and improve the detection accuracy, the negative ion textiles were fixed on the friction disk, kept naturally flat, and the vertical pressure was adjusted to Newton. Static electricity is generated when the friction disc is rubbed. A large static electricity field can easily damage the electronic components and interfere with the test results. The negative ion concentration is tested using the anti-static KEC900+ air negative ion tester. A negative ion tester is installed above the textile to collect the negative ion concentration; a temperature sensor is installed to collect air temperature data; a humidity sensor is installed to collect air humidity data.

[0048] The negative ion tester, temperature sensor, and humidity sensor collect data every 0.5 seconds, and three sets of time series data, namely, negative ion concentration, temperature, and humidity, can be obtained. In order to facilitate analysis and calculation, the time period length of each set of time series data is fixed to 30 seconds. The collection process is inevitably interfered by factors such as instruments. To avoid these interferences, the nearest neighbor sorting algorithm (Sorted Neighborhood Method) is used for data cleaning. The specific calculation process of the algorithm is a well-known technology and will not be described in detail. The input of the algorithm is the data collected by each sensor, and the processed negative ion concentration, temperature, and humidity data in time period x are recorded as , and .

[0049] Step S002: By analyzing the impact of temperature and humidity changes in the environment on the negative ion concentration, a negative ion concentration excitation adjustment sequence is constructed. Based on the fluctuation characteristics of the sequence within a time period, the changing state of the negative ion concentration is analyzed from the frequency domain perspective, and finally a negative ion concentration trend smoothing index is constructed.

[0050] Negative ions are negatively charged oxygen molecules or other negatively charged particles in the air. When the temperature and humidity in the air rise, the water molecules and oxygen molecules in the air will increase, because the water molecules and oxygen molecules move faster after heating, and the probability of collision increases, thus forming more negative ions; when the air humidity is high, the content of water molecules will increase, and these water molecules can combine with oxygen molecules to form negative ions. At the same time, the higher the humidity, the content of suspended particles in the air will also increase. These suspended particles interact with the negative ions in the air, further promoting the generation of negative ions. In addition, the increase in temperature will also accelerate air circulation, allowing the negative ions in the air to diffuse into the surrounding environment faster, thereby playing a better role in purifying the air and improving human health.

[0051] First, the influence of air temperature changes on the negative ion concentration of textiles is analyzed, taking the temperature data in time period x as an example. According to the above characteristics, the temperature negative ion generation excitation coefficient is constructed, and the expression is:

[0052]

[0053] In the formula, Indicates the temperature negative ion generation excitation coefficient within the time period x, Indicates the number of temperature data in time period x, represents the set of all temperature data within the time period x, represents the maximum value function, represents the mean function, , They respectively represent the i-th and i-1-th temperature data values ​​in the time period x.

[0054] If the difference between the highest temperature value in time period x and the average temperature in this time period is greater, The larger the value, the more obvious the temperature change is. If the temperature value at the next moment is greater than the temperature value at the previous moment, the calculated value is The value is positive, and the larger the value is, the more likely it is that the environment is in the stage of heating up. On the contrary, if the temperature value at the next moment is less than the temperature value at the previous moment, the calculated value is The value is negative, and the smaller the value is, the more likely it is that the environment is in a cooling stage. The higher the obtained temperature negative ion generation excitation coefficient is, the more obvious the temperature rise is, indicating that the environment has a greater incentive effect on the production of negative ions in textiles.

[0055] In an environment with higher air humidity, the negative ion concentration of textiles will be greater. The humidity data is calculated using the same method as above, and the humidity negative ion generation excitation coefficient is recorded as . Combined with the joint effect of temperature and humidity on the amount of negative ions generated, the negative ion concentration sequence value is adjusted:

[0056]

[0057] In the formula, Represents the negative ion concentration excitation adjustment value of the ith element of the negative ion concentration sequence value within the time period x, represents an exponential function with the natural constant e as base, , They represent the temperature negative ion generation excitation coefficient and humidity negative ion generation excitation coefficient in the time period x respectively. is the tuning factor, represents the ith element of the negative ion concentration data sequence within the time period x. It should be noted that the parameter adjustment factor is set to 5 in this embodiment in order to slow down the trend of the exponential function growing too fast.

[0058] When the temperature and humidity in the environment are both on an upward trend, the actual negative ion concentration value may be higher than the original negative ion concentration data collected. Adjust the original data, the temperature negative ion generation excitation coefficient is greater than 0, the humidity negative ion generation excitation coefficient is greater than 0, so is a positive value, the value of the exponential function is greater than 1, so the negative ion concentration excitation adjustment value is greater than the value of the negative ion concentration of the corresponding element.

[0059] The sequence composed of the negative ion concentration excitation adjustment values ​​of all elements in the negative ion concentration sequence is taken as the negative ion concentration excitation adjustment sequence , and further analyze the changing trend of negative ion concentration. Since the generation and retention time of air negative ions is very short, when moving in the air, they will react with light and heavy ions with different charges, and will also combine with neutral dense particles to lose their charge, thus causing the disappearance of negative ions. The obtained negative ion concentration excitation regulation sequence will fluctuate rapidly in a short period of time.

[0060] In order to analyze its rapid fluctuation characteristics in a short period of time, this embodiment adopts the intrinsic time scale decomposition algorithm (ITD) to decompose the negative ion concentration excitation adjustment sequence. The specific calculation process of ITD is a well-known technology and will not be repeated here. The input of the algorithm is the negative ion concentration excitation adjustment sequence within the time period x, and the output is the PR component representing different frequencies. In this embodiment, the number of PR layers of the output is set to 5, and they are recorded as PR1, PR2, PR3, PR4 and PR5 in the order of output PR. The higher the number of layers of the PR component, the more it can represent the low-frequency information of the negative ion concentration excitation adjustment sequence, and also represents the changing trend of the negative ion concentration. The lower the number of layers, the more mutation components there are in the PR component.

[0061] When the number of decomposition layers is 5, the mutation components contained in PR1 and PR2 are more obvious. In order to analyze the frequency mutation amplitude of the negative ion concentration, Hilbert envelope spectrum analysis is performed on the PR1 and PR2 components. The specific analysis process is a well-known technology and will not be repeated here. Since the Hilbert envelope spectrum analysis needs to be performed on continuous data, least squares curve fitting is first performed on PR1 and PR2. The input is the continuous data after fitting, and the output is the envelope spectrum analysis result. The envelope spectrum analysis results of the PR1 component and the PR2 component are recorded as Q1 and Q2, respectively. The amplitude values ​​of the same frequency in Q1 and Q2 are added and averaged to obtain the frequency amplitude spectrum of the time period x, recorded as .

[0062] According to the PR components obtained by the above decomposition and the envelope spectrum analysis results, the steepness of the negative ion concentration excitation regulation sequence is calculated:

[0063]

[0064]

[0065] In the formula, represents the steepness of the negative ion concentration excitation regulation sequence in time period x, Indicates the number of data in the frequency amplitude spectrum, represents the frequency amplitude spectrum of time period x values, represents the mean function, represents the negative ion concentration disorder coefficient in the time period x, C represents the number of layers of the PR component, represents the number of data in the j-th layer PR component, represents the kth value in the jth layer PR component, , Respectively represent the minimum and maximum values ​​in the j-th layer PR component, Represents the standard deviation function.

[0066] Due to the high number of PR components, the trend characteristics are more obvious, and the difference between the value in each component and the minimum value The larger the value, the larger the standard deviation, and the negative ion concentration trend coefficient The larger the value is, the more obvious the steep trend of negative ion concentration is. The larger the amplitude of the high frequency in the frequency amplitude spectrum is, while there is still a large amount of data in the low frequency state, the farther the value in QM is from its mean, that is, The larger it is, the steeper the final negative ion concentration excitation regulation sequence is, which means that the negative ion textile may release negative ions faster due to the friction pressure factor, and the negative ion disappearance rate is also faster.

[0067] The production and disappearance rate of negative ions in textiles tends to be stable, but the overall negative ion concentration still has an increasing or decreasing trend depending on the material of the textile and the material that produces the negative ion powder. Further, the smoothing properties of the negative ion concentration are analyzed.

[0068] The steepness values ​​of the negative ion concentration excitation adjustment sequence under B consecutive time periods constitute the negative ion concentration steepness sequence, and in this embodiment, B takes a value of 100. Perform a first-order difference on the negative ion concentration steepness sequence to obtain a steep difference sequence. Then divide the value range of the steep difference sequence into g intervals with equal distances, and in this embodiment, g takes a value of 15. Statistically calculate the probability that the value of each element in the steep difference sequence falls into each interval, that is, the ratio of the number of negative ion concentration steepness sequence element values ​​contained in each interval to the number of values ​​contained in the negative ion concentration steepness sequence. Construct a negative ion concentration trend smoothness index based on the probability statistics results, and the expression is:

[0069]

[0070] In the formula, Indicates the smoothing index of negative ion concentration trend. represents the number of data in the steep difference sequence, Indicates the difference sequence The probability of an element being in the interval, Represents the base 2 logarithmic function.

[0071] When the negative ion concentration trend is relatively stable, The value tends to be stable, the corresponding statistical probability value is more concentrated, most values ​​fall into the same interval, making a certain The value becomes larger, while the values ​​of other statistics are smaller, and finally the calculated negative ion concentration trend smoothness index value becomes larger synchronously. This means that the negative ion concentration value of the tested textile is smoother.

[0072] Step S003: using an exponential moving average algorithm to correct the detected negative ion concentration to obtain more accurate concentration data.

[0073] Since the value calculated by the exponential moving average algorithm for the current point depends on the calculated value at the previous time point and the weight of the observed value at the previous time point, if the data is smoother and changes more slowly, the weight of the observed value at the previous time point can be increased. The weight value is The calculation process of the weight coefficient of the exponential moving average algorithm is as follows:

[0074]

[0075] In the formula, is the weight coefficient of the exponential moving average algorithm, represents an exponential function with the natural constant e as base, is the negative ion concentration trend smoothing index, Represents the parameter adjustment factor. The larger the value, the larger the calculated weight coefficient is. The process of obtaining the weight coefficient of the exponential moving average algorithm is as follows: Figure 2 shown.

[0076] The input of the exponential moving average algorithm is the weight coefficient The negative ion concentration value of the negative ion textile is collected within t minutes before the current time point, and the output is the final negative ion concentration value of the negative ion textile at the current time point. For example, the current time is The collected negative ion concentration is recorded as , then enter the last 1 minute The value of is output as the corrected negative ion concentration value, that is, the final negative ion concentration value of the negative ion textile. The specific calculation process of the exponential moving average algorithm is a well-known technology and will not be described in detail.

[0077] At this point, the negative ion concentration measurement of the negative ion textile is completed.

[0078] In summary, the embodiment of the present invention combines the influence of temperature and humidity on the negative ion concentration of textiles, constructs a negative ion generation excitation coefficient, adjusts the detected negative ion concentration, and obtains a negative ion concentration excitation adjustment sequence. The beneficial effect is that the value of the sequence is closer to the true negative ion concentration value, and the change trend and level of the negative ion concentration of the textile can be more accurately evaluated. Then, the inherent time scale decomposition algorithm is used to decompose the adjustment sequence, and the change state of the negative ion concentration is analyzed from the perspective of the frequency domain, and the envelope spectrum of the signal is more accurately extracted, so as to better reflect the important features and change trends in the signal. Finally, the weight coefficient of the exponential moving average algorithm is calculated to obtain a more accurate negative ion concentration value, which makes up for the defect of poor stability in the existing detection method.

[0079] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0080] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0081] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Modifications to the technical solutions recorded in the aforementioned embodiments, or equivalent replacement of some of the technical features therein, do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for testing the negative ion concentration of negative ion textiles, characterized in that: The method comprises the following steps: Obtain the negative ion concentration data, temperature data and humidity data of the detection environment; Set time periods; obtain the temperature negative ion generation excitation coefficient and humidity negative ion generation excitation coefficient of each time period according to the distribution changes of the temperature data and humidity data of each time period; adjust the negative ion concentration data of each time period according to the temperature and humidity negative ion generation excitation coefficients of each time period to obtain the negative ion concentration excitation adjustment sequence of each time period; obtain the PR component of each time period according to the negative ion concentration excitation adjustment sequence of each time period combined with the sequence decomposition algorithm; obtain the frequency amplitude spectrum of each time period according to the PR component of each time period combined with envelope spectrum analysis; obtain the negative ion disorder coefficient of each time period according to the element distribution of all PR components of each time period; obtain the negative ion concentration steepness sequence according to the distribution characteristics of the frequency amplitude spectrum elements of each time period combined with the negative ion disorder coefficient of each time period; obtain the negative ion concentration trend smoothing index according to the numerical probability distribution of the negative ion concentration steepness sequence; Obtaining a weight coefficient of an exponential moving average algorithm according to a negative ion concentration trend smoothing index; obtaining a final negative ion concentration value of the negative ion textile according to the negative ion concentration value of the negative ion textile and the weight coefficient of the exponential moving average algorithm; The method of obtaining the temperature negative ion generation amount excitation coefficient and the humidity negative ion generation amount excitation coefficient of each time period according to the distribution change of the temperature data and the humidity data of each time period includes: Obtain the maximum value and the mean temperature of the temperature data of each time period respectively; calculate the difference between the maximum value and the mean temperature; for each temperature data of each time period, starting from the second temperature data, calculate the result of subtracting each temperature data from the adjacent previous temperature data; calculate the mean of all the results; and use the product of the difference and the mean as the temperature negative ion generation excitation coefficient of each time period; The humidity negative ion generation excitation coefficient is obtained by using the same calculation method as the temperature negative ion generation excitation coefficient; The negative ion concentration data of each time period is adjusted according to the negative ion generation amount excitation coefficient of the temperature and humidity in each time period to obtain the negative ion concentration excitation adjustment sequence of each time period, specifically: Calculate the sum of the temperature negative ion generation excitation coefficient and the humidity negative ion generation excitation coefficient in each time period; preset a parameter adjustment factor; calculate the ratio of the sum to the parameter adjustment factor; and use the ratio as the exponent of an exponential function with a natural constant as the base; For the negative ion concentration data of each time period, the product of each negative ion concentration data and the calculation result of the exponential function of the corresponding time period is used as the negative ion concentration excitation adjustment value of each negative ion concentration; The sequence of the negative ion concentration excitation adjustment values ​​in each time period is used as the negative ion concentration excitation adjustment sequence in each time period; The negative ion disorder coefficient of each time period is obtained according to the element distribution of all PR components in each time period, and the expression is: In the formula, represents the negative ion concentration disorder coefficient in the time period x, C represents the number of layers of the PR component, represents the number of data in the j-th layer PR component, represents the kth value in the jth layer PR component, , Respectively represent the minimum and maximum values ​​of the elements in the j-th layer PR component, represents the standard deviation function; The method of obtaining the negative ion concentration steepness sequence according to the distribution characteristics of the frequency amplitude spectrum elements of each time period in combination with the negative ion disorder coefficient of each time period includes: For the frequency amplitude spectrum of each time period, obtain the average result of all elements in the frequency amplitude spectrum; calculate the absolute value of the difference between each element in the frequency amplitude spectrum and the result; calculate the mean of the absolute value of the difference of all elements in the frequency amplitude spectrum; and use the sum of the mean and the negative ion disorder coefficient of each time period as the steepness of the negative ion concentration excitation adjustment sequence of each time period; The sequence consisting of the steepness values ​​of the negative ion concentration excitation adjustment sequence in consecutive B time periods is used as a negative ion concentration steepness sequence, where B is a preset value; The method of obtaining the negative ion concentration trend smoothness index according to the numerical probability distribution of the negative ion concentration steepness sequence includes: Performing first-order difference on the negative ion concentration steepness sequence to obtain a steep difference sequence; obtaining a value range of the steep difference sequence; dividing the value range into g intervals, where g is a preset value; counting the number of negative ion concentration steepness sequence element values ​​contained in each interval; and taking the ratio of the number to the number of values ​​contained in the negative ion concentration steepness sequence as the probability of each interval; For each element of the negative ion concentration steepness sequence, obtain the probability of the interval in which each element is located; calculate the logarithmic function value with 2 as the base and the probability as a real number; calculate the inverse of the product of the probability and the logarithmic function value; and take the average of the inverse numbers of all elements of the negative ion concentration steepness sequence as the negative ion concentration trend smoothing index.

2. The method for testing the negative ion concentration of a negative ion textile according to claim 1, characterized in that: The PR component of each time period is obtained by combining the negative ion concentration excitation adjustment sequence of each time period with the sequence decomposition algorithm, specifically: For the negative ion concentration excitation adjustment sequence in each time period, the negative ion concentration excitation adjustment sequence is used as the input of the inherent time scale decomposition algorithm. The output of the inherent time scale decomposition algorithm is each PR component. The PR components are saved as PRn components according to the output order, where n represents the output order.

3. The method for testing the negative ion concentration of a negative ion textile as claimed in claim 2, characterized in that: The frequency amplitude spectrum of each time period is obtained by combining the PR component of each time period with the envelope spectrum analysis. The specific expression is: The data after curve fitting of PR1 component and PR2 component are respectively used as the input of Hilbert envelope spectrum analysis, and the output of Hilbert envelope spectrum analysis is the envelope spectrum analysis results of PR1 component and PR2 component respectively; Calculate the sum of the amplitude values ​​of the same frequency between the envelope spectrum analysis results of the PR1 component and the PR2 component; and use half of the sum of the amplitude values ​​of the same frequency of the PR1 component and the PR2 component as each element of the frequency amplitude spectrum of each time period.

4. The method for testing the negative ion concentration of a negative ion textile according to claim 1, characterized in that: The weight coefficient of the exponential moving average algorithm is obtained according to the negative ion concentration trend smoothing index, specifically: Calculate the inverse of the ratio of the negative ion concentration trend smoothing index to the preset parameter adjustment factor; use the inverse as the exponent of an exponential function with a natural constant as the base; and use the difference between 1 and the calculation result of the exponential function as the weight coefficient of the exponential moving average algorithm.

5. The method for testing the negative ion concentration of a negative ion textile according to claim 1, characterized in that: The method of obtaining the final negative ion concentration value of the negative ion textile according to the negative ion concentration value of the negative ion textile and the weight coefficient of the exponential moving average algorithm comprises: The negative ion concentration value of the negative ion textile t minutes before the current time is used as the input of the exponential moving average algorithm, and the final negative ion concentration value of the negative ion textile at the current time is output in combination with the weight coefficient of the exponential moving average algorithm, where t is a preset value.