Method, device, computer equipment and storage medium for calculating blue light hazard of lamps

The blue light hazard value is calculated by fitting the spectral radiation brightness and blue light hazard weight function of the lamp through the spline function, which solves the problem of complex and high cost of blue light hazard measurement in the existing technology, and achieves a fast and accurate blue light hazard evaluation.

CN113946775BActive Publication Date: 2024-11-12SHANGHAI SANSI ELECTRONICS ENG +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010682143.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-15
Publication Date
2024-11-12
Estimated Expiration
2040-07-15

AI Technical Summary

Technical Problem

The prior art is difficult to measure the blue light hazard value of lamps quickly and accurately, and the existing measurement instruments are expensive, complex and do not have programmatic calculation methods.

Method used

By obtaining the spectral radiation brightness data points of the lamp, fit the spectral radiation brightness function using the spline function, and calculate the blue light hazard value based on the blue light hazard weight function, and simplifying the calculation process by using the integral method.

Benefits of technology

It realizes the rapid and simple calculation of blue light hazard values ​​on a mathematical platform, provides a method to quickly judge and compare the degree of blue light hazards of lamps, and provides a convenient method for evaluating the safety level of lamps, with small errors and reliable calculation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113946775B_ABST
    Figure CN113946775B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, computer equipment and storage medium for calculating the blue light hazard of lamps, by obtaining data points of the spectral radiance brightness of the corresponding lamps; fitting the data points into a spectral radiance brightness function using a spline function, and fitting a blue light hazard weight function using a spline function based on the blue light hazard weight; multiplying the spectral radiance brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrating the hazard function to obtain a blue light hazard value. The present application can use a spline function to fit the required data on a mathematical platform to obtain its function expression, so that not only can the blue light hazard value be obtained by simply calculating the function, but also a simple calculation program can be easily written, which is suitable for fast calculation. This is very helpful for quickly judging and comparing the degree of blue light hazard of lamps, and provides a convenient method for evaluating and analyzing the safety level of lamps in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of calculating the blue light hazard of lamps, and in particular to a method, device, computer equipment and storage medium for calculating the blue light hazard of lamps. Background Art

[0002] With the widespread use of LED desk lamps, people are paying more and more attention to the hazards of blue light. Studies have found that exposure to blue light can cause damage to retinal cells, leading to decreased or even loss of vision. Among them, short-wave blue light with a wavelength of 400-480nm is the most harmful to the retina. Blue light irradiation to the retina will produce free radicals, which will cause the retinal pigment epithelial cells to die, which will lead to a lack of nutrients in the photosensitive cells and cause vision damage, and these injuries are irreversible. White light LEDs are usually excited by blue light and are an indispensable part of white light. Only when the blue light irradiation exceeds a certain limit will it cause damage to the human retina. The question is how to know the blue light hazard value of the lamp. Generally speaking, the data on its biosafety can be obtained by measuring the exposure amplitude of the lamp, but the measurement process of blue light hazard is very complicated, and the measuring instrument costs several million RMB. The price of measuring it at an authoritative department is very expensive and the cost is also high. Summary of the invention

[0003] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a method, device, computer equipment and storage medium for calculating the blue light hazard of lamps, so as to solve at least one problem existing in the prior art.

[0004] To achieve the above-mentioned purpose and other related purposes, the present application provides a method for calculating the blue light hazard of lamps, the method comprising: obtaining data points of the spectral radiation brightness of the corresponding lamps; fitting the data points into a spectral radiation brightness function using a spline function, and obtaining a blue light hazard weight function based on a blue light hazard weight using the spline function; multiplying the spectral radiation brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrating the hazard function to obtain a blue light hazard value.

[0005] In one embodiment of the present application, the obtaining of data points of the spectral graph corresponding to the lamp includes: obtaining the spectral graph of the lamp; converting the spectral graph into data points using a curve digitization program; or directly obtaining data points of the spectral radiance of the lamp.

[0006] In one embodiment of the present application, the blue light hazard weight is obtained based on the relationship between wavelength and blue light hazard weight in the test standard IEC / EN62471 established by the European Union and the International Electrotechnical Commission.

[0007] In one embodiment of the present application, multiplying the spectral radiance function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrating the hazard function to obtain a blue light hazard value includes:

[0008] Among them, L B L is the blue light hazard exposure value; λ (λ,t) is the spectral radiance (W m -2 Sr -1 nm -1 ); B(λ) is the blue light hazard weight function obtained according to the test standard IEC / EN62471; Δλ is the bandwidth (nm); t is the exposure time (seconds); when assuming that the total power of various lamps is the same and the exposure time is the same, remove the exposure time t and combine the above two formulas to obtain: Where H(λ) is the blue light hazard function; L(λ) is the spectral radiance function; define H(λ)=L(λ)B(λ); then That is, the blue light hazard exposure amplitude L B It is equal to the integral of the blue light hazard function H(λ)=L(λ)B(λ).

[0009] In one embodiment of the present application, the use of a spline function to fit the data points into a spectral radiance function includes: normalizing the spectral radiance function, including: scaling the function value so that its integral with respect to the wavelength is 1, so as to obtain a power function expression.

[0010] In one embodiment of the present application, the spline function defaults to a third-order polynomial

[0011] To achieve the above-mentioned purpose and other related purposes, the present application provides an electronic device, which includes: an acquisition module, used to obtain data points of the spectral radiation brightness of the corresponding lamp; a processing module, used to fit the data points into a spectral radiation brightness function using a spline function, and obtain a blue light hazard weight function based on the blue light hazard weight using the spline function; multiplying the spectral radiation brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as the independent variable, and integrating the hazard function to obtain a blue light hazard value.

[0012] To achieve the above-mentioned purpose and other related purposes, the present application provides a computer device, which includes: a memory and a processor; the memory is used to store computer instructions; the processor executes the computer instructions to implement the above-mentioned method.

[0013] To achieve the above-mentioned purpose and other related purposes, the present application provides a computer-readable storage medium storing computer instructions, which execute the above-mentioned method when executed.

[0014] In summary, the present application provides a method, device, computer equipment and storage medium for calculating the blue light hazard of lamps, which obtains data points of the spectral radiation brightness of the corresponding lamps; uses a spline function to fit the data points into a spectral radiation brightness function, and uses the spline function to fit the blue light hazard weight function based on the blue light hazard weight; multiplies the spectral radiation brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as the independent variable, and integrates the hazard function to obtain a blue light hazard value.

[0015] It has the following beneficial effects:

[0016] This application can use the spline function to fit the required data on the mathematical platform to obtain its function expression, so that not only can the blue light hazard value be obtained by simple function calculation, but also a simple calculation program can be conveniently written, which is suitable for fast calculation. This is very helpful for quickly judging and comparing the degree of blue light hazard of lamps, and provides a convenient method for evaluating and analyzing the safety level of lamps in advance. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 Shown is a flow chart of a method for calculating the blue light hazard of a lamp in one embodiment of the present application.

[0018] Figure 2 It is a schematic diagram showing the curve of the spectral power function L(λ) of lamps of two products in one embodiment of the present application.

[0019] Figure 3 FIG. 4 is a schematic diagram showing a curve of a function B(λ) of a blue light hazard weight in an embodiment of the present application.

[0020] Figure 4 FIG. 4 is a schematic diagram showing a curve of a blue light hazard function H(λ) of a lamp in an embodiment of the present application.

[0021] Figure 5 Shown is a module diagram of an electronic device in one embodiment of the present application.

[0022] Figure 6 Shown is a schematic diagram of the structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0023] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Although the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation, the type, quantity and proportion of each component in actual implementation may be changed arbitrarily, and the component layout may also be more complicated.

[0025] Since white LEDs are excited by blue light, the blue light hazards of LEDs must be studied. Among them, LED desk lamps are the lamps closest to human eyes and are particularly worthy of attention. The original basis for determining how much blue light radiation will be harmful to humans is the test standard IEC / EN62471 established by the European Union and the International Electrotechnical Commission. The current valid international standards for studying blue light issues are IEC / EN 62471 2008, IEC60598.1 2014 and IEC TR 62778:2014. my country's general safety standard for lamps GB 7000.1 also lists blue light hazards as a must-test item, which cites the 62778 standard.

[0026] However, the measurement of blue light hazards is very complicated, and the measuring instruments cost millions of RMB. The price of going to an authoritative department for measurement is very expensive. Some scholars have proposed that the blue light hazard level of lamps can be determined without complex measurements. The photobiological safety of many LED lamps can be determined through a few simple methods. This is a very meaningful work. Although some scholars have raised reasonable doubts about some contents in the IEC TR62778:2014 standard, the currently recognized standard has not changed. It should be said that at least in most cases, the determination method of the IEC TR 62778:2014 standard will not cause problems.

[0027] Although it is currently possible to calculate the blue light hazard of lamps based on the measurement of spectral distribution, such calculations are very cumbersome and cannot be programmed. To this end, this application attempts a theoretical method to calculate the blue light hazard, which is to fit the lamp spectrum with a spline function to obtain a functional expression for the lamp brightness. At the same time, another spline function is used to fit the data in IEC / EN62471 to obtain the expression of the blue light hazard weight function. Then a blue light hazard function with wavelength as the independent variable is defined, and the function is integrated to obtain the blue light hazard value. In this way, as long as the spectral radiation brightness or optical power spectrum of the lamp is known, a quantitative blue light hazard value can be obtained directly without measurement.

[0028] It should be noted that the feature of this application is that the spline function can be used to fit the required data on a mathematical platform to obtain its function expression, so that not only can the blue light hazard value be obtained by simple function calculation, but also a simple calculation program can be conveniently written, which is suitable for fast calculation. This is very helpful for quickly judging and comparing the degree of blue light hazard of lamps, and provides a convenient method for evaluating and analyzing the safety level of lamps in advance.

[0029] like Figure 1 FIG. 1 is a flow chart of a method for calculating the blue light hazard of a lamp in an embodiment of the present application. As shown in the figure, the method includes:

[0030] Step S101: obtaining data points of spectral radiance of corresponding lamps.

[0031] In an embodiment of the present application, step S101 specifically includes:

[0032] A. Obtaining a spectrum graph of the lamp; converting the spectrum graph into data points using a curve digitization program;

[0033] B. Or directly obtain the data points of the spectral radiation brightness of the corresponding lamp.

[0034] For example, the present application can calculate the relative data points from only one spectrum graph (spectral radiance image or spectral power graph) in the data. The specific method is to use a graphic digitization program to convert the graph into a two-column data matrix (nx2 matrix) after obtaining the spectrum graph of a certain lamp. There are many general graphic digitization programs, such as Engauge, plot digitizer, MATLAB, etc. Of course, if the data points of the spectral radiance of the corresponding lamp are already available, this step can be omitted.

[0035] Step S102: fitting the data points into a spectral radiance function using a spline function, and obtaining a blue light hazard weight function based on the blue light hazard weight using the spline function.

[0036] In this embodiment, the spline function is a special function with a wide range of uses. In fact, it is a piecewise low-order polynomial function, whose nodes are data points, and the "order" of the polynomial can be selected according to the requirements of calculation speed and accuracy. It uses low-order polynomials to obtain a smooth single-valued function expression. With this expression, it is very convenient to perform various calculations. It is more accurate and flexible than many commonly used interpolation methods, and is suitable for data of various rules. It can be said that it is almost "all-inclusive" for various functions. Its disadvantage is that the expression is very long, and manual calculation is very difficult, but it can be calculated very conveniently by relying on the currently mature mathematical software.

[0037] The method used in this application relies on fitting the spectral brightness data and the blue light hazard weight table with a spline function and obtaining a mathematical expression, thereby turning the cumbersome summation into a simple integration. In the mathematical platform, integration is also a very easy task.

[0038] Preferably, the spline function used in the calculation of the present application is a third-order polynomial by default. The present application performs error analysis through two examples of calculation, and estimates that the errors of the fitting of the spectral radiance and blue light hazard weight function are 0.004% and 0.001% respectively, and it is concluded that when the spline function is a third-order polynomial, its error is relatively small.

[0039] On the one hand, after obtaining the data point, the method described in the present application uses a spline function to fit the data point to obtain the fitted spectral radiance brightness function (power function) expression L(λ).

[0040] For example, the spectral radiance measurement results of the lamp are set as n = 121 data pairs (X, Y), where X represents wavelength (nm) and Y represents power (W). In MAPLE, the spline function command is used to fit the data points to a luminance function L(λ):

[0041] L(λ)=CurveFitting[Spline](X,Y,λ)

[0042] Here, only the command line of the fitting function is listed. Since its specific expression is very long, it is not listed in detail in this application. However, it should be noted that L(λ) can be easily displayed graphically in the software.

[0043] In order to relatively compare the calculation results of different lamps, the step of fitting the data points into a spectral radiance function using a spline function further includes:

[0044] The spectral radiance function is normalized, that is, the function value can be scaled so that its integral with respect to the wavelength is 1, and the power function expression L(λ) is obtained.

[0045] On the other hand, a blue light hazard weight function is obtained by fitting a spline function based on the blue light hazard weight, which is obtained based on the relationship between wavelength and blue light hazard weight in the test standard IEC / EN62471 established by the European Union and the International Electrotechnical Commission.

[0046] It should be noted that, as can be seen from the above, the currently recognized standard IEC TR 62778:2014 will not cause problems in most cases with the judgment method of this standard. The test standard IEC / EN62471 on which this application is based is the basis of IEC TR 62778. On the basis of IEC / EN62471, IEC TR 62778 emphasizes the transmission of blue light hazard information of light sources to lamps; IEC 62778 mainly measures light sources and can also directly measure lamps. IEC / EN62471 mainly measures wide-band light and calculates the time, angle, sensitivity and other aspects of the human eye and skin's reaction to light. IEC / EN 62471 is applicable to all lamps and lamp systems, including LEDs, incandescent bulbs, fluorescent lamps, gas discharge lamps, arc lamps and other lamps and lamps. Therefore, this application selects IEC / EN62471, which is more suitable for the calculation method of blue light hazards of lamps, as the test standard.

[0047] Specifically, the blue light hazard weight function B(λ) is obtained by fitting the spline function given in IEC / EN62471 as shown in Table 1 below.

[0048] Table 1 Relationship between blue light hazard weight and wavelength

[0049]

[0050] For example, assuming that the 61 data of wavelength and blue light hazard weight in Table 1 are XB and YB respectively, the blue light hazard weight fitting function B(λ) is:

[0051] B(λ)=CurveFitting[Spline](Xb,Yb,λ)

[0052] Similarly, only the command line of the fitting function is listed here. Since its specific expression is very long, it is not listed in this application. However, it should be noted that B(λ) can be easily displayed graphically in the software.

[0053] Step S103: multiplying the spectral radiance function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrating the hazard function to obtain a blue light hazard value.

[0054] In this application, after obtaining the spectral radiance function and the blue light hazard weight function, how to obtain the blue light hazard function is based on the following formula for calculating the blue light exposure amplitude given in IEC / EN62471 (2008):

[0055]

[0056]

[0057] Among them, L B L is the blue light hazard exposure value; λ (λ,t) is the spectral radiance (W m -2 Sr -1 nm -1 ); B(λ) is the blue light hazard weight function obtained according to the test standard IEC / EN62471; Δλ is the bandwidth (nm); t is the exposure time (seconds).

[0058] If we look at the above two B The calculation is still relatively complicated and cannot be programmed, and the calculation of multiple items is more troublesome. The method described in this application is characterized in that the above formulas and tables are converted into mathematical functions by spline function fitting, and the calculation is performed by mathematical software.

[0059] For the sake of comparison, we can assume that the total power of various lamps is the same and their exposure time is the same. B The formula can remove the exposure time t, and the two formulas can be combined into one, so as to convert the blue light hazard exposure amplitude L B This simplifies to the following integral:

[0060]

[0061] Among them, B(λ) is the blue light hazard function; L(λ) is the spectral radiation brightness function.

[0062] Define H(λ)=L(λ)B(λ); then

[0063] It can be seen from the above formula that the blue light hazard exposure amplitude L B It is the integral of the blue light hazard function H(λ) = L(λ)B(λ). In this way, since B(λ) is known, as long as L(λ) is known, the blue light hazard exposure value L can be calculated using the above formula. B This makes it easier to calculate the blue light hazard, and the total value of the blue light hazard can be obtained by integrating the blue light hazard function H(λ).

[0064] It should be noted that, in the method for calculating the blue light hazard of lamps described in this application, only the first step requires manual intervention, that is, the spectrum data (nx2 matrix) must be obtained using a curve digitization program. The rest can be calculated automatically.

[0065] This application takes two lamp samples as examples, which belong to the IEC / EN62471 safety level RG0 and RG1 respectively, and calculates on a mathematical platform to obtain the actual blue light irradiation value of the lamp. Among them, according to the standard, the blue light retinal hazards of lamps are divided into:

[0066] 1) Non-hazardous category (RG0, radiance ≤ 100W·m-2·sr-1): The lamp does not cause any photobiological hazard under the extreme conditions of this standard;

[0067] 2) Low-risk category (Class 1, RG1, radiance ≤ 1×104W·m-2·sr-1): The lamp does not cause harm under normal exposure conditions;

[0068] 3) Medium hazard category (category 2, RG2, radiance ≤ 4×106W·m-2·sr-1): The lamp does not produce hazards of uncomfortable response to strong light and temperature;

[0069] 4) High-risk category (Class 3, RG3, radiance > 4×106W·m-2·sr-1): The lamp causes harm in a shorter moment.

[0070] Whether a lamp is harmful or not depends on which category it meets. As long as the lamp is within the RG0 of this standard, it can be completely determined that the lamp is harmless.

[0071] The calculation results of this application can be displayed at three equivalent levels: data, function and graph. These three methods can be easily converted. For the sake of clear expression, in this application, they are basically displayed in the form of graphs.

[0072] The calculation results are given below using two samples as examples. Sample 1 is C22RL-TD10W, which is our company's smart voice eye protection desk lamp. According to the measurement of the authoritative department, the blue light retinal hazard of this lamp is RG0, which is non-hazardous. Sample 2 is our company's C22RL-TD10W lamp, which belongs to the RG1 category. According to IEC / EN 62471 2008[2], this light source should be measured at a 200mm position with a field of view of 11mrad.

[0073] 1) Lamp spectral power function L(λ)

[0074] The spectral radiance measurement results of the lamp are set as n = 121 data pairs (X, Y), where X represents wavelength (nm) and Y represents power (W). In MAPLE, the spline function command is used to fit the data points to a brightness function L(λ):

[0075] L(λ)=CurveFitting[Spline](X,Y,λ)

[0076] Here we only list the command line of the fitting function. Since the specific expression is very long, it is not listed in this article. However, L(λ) can be easily displayed graphically in the software. The curve diagram of the spectral power function L(λ) of the lamps of the two products is shown in Figure 2 As shown. In this way, the spectral radiance function of the lamp is obtained.

[0077] 2) Blue light hazard weight B(λ)

[0078] Assuming that the 61 data of wavelength and blue light hazard weight in Table 1 are XB and YB respectively, the fitting function of blue light hazard weight B(λ) is:

[0079] B(λ)=CurveFitting[Spline](Xb,Yb,λ)

[0080] Similarly, only the command line of the fitting function is listed here. Since its specific expression is very long, it is not listed in this article. Therefore, only the function B(λ) of the blue light hazard weight is shown in a graphical way. For details, see the attached Figure 3 shown.

[0081] 3) Blue light hazard function H(λ)

[0082] In this way, we have a specific expression for the blue light hazard function H(λ), which is H(λ)=L(λ)B(λ), which is the product of L(λ) and B(λ).

[0083] Again, this application only gives a graphical representation. Figure 4 This is the graph of the blue light hazard function H(λ) of the lamp. Note the difference in coordinates. Obviously, the blue light hazard function value of sample 2 is larger than that of sample 1.

[0084] 4) Blue light hazard exposure value L B

[0085] In this way, it is easy to use the formula Integrate and calculate to get the blue light hazard exposure value L B . Its integral expression is:

[0086] refer to:

[0087]

[0088]

[0089] It turns out that:

[0090]

[0091] The calculated blue light weighted irradiance value of sample No. 1 is:

[0092] L B =47.061(W m -2 Sr -1 )

[0093] The calculated blue light weighted irradiance value of sample No. 2 is:

[0094] L B =187.524(W m -2 Sr -1 )

[0095] According to international and domestic standards, lamp No. 1 meets the hazard level of RG0, which means it is harmless under any circumstances. Lamp No. 2 meets the hazard level of RG1. Using standard test conditions (200nm, 0.011rad field of view) measured at the Zhongren Shangdong Testing Center, the evaluation results of its hazard level are consistent with the calculation results of this article. The measured blue light weighted irradiance values ​​are 48.104W m-2 Sr-1 and 187.1W m-2 Sr-1, which differ from the calculated results by 1.04% and 0.23%, respectively, and the error is very small. Therefore, the error between the calculation results of the method of this application and the actual measurement results of the authoritative department is very small. This provides an optional fast calculation method for solving the photobiological safety evaluation of lamps.

[0096] In summary, due to the complexity of photobiological safety measurement, the accuracy of its measurement depends on the accuracy of multiple parts such as the spectral radiation analyzer, retinal brightness meter, standard light source, etc., and the uncertainty of its light radiation safety measurement radiance measurement is 20-30%. In contrast, the calculation of the method described in this application is completely reliable because the fitting accuracy of the spline function is very high, and the accuracy can be improved by using function integral calculation compared to summation calculation. This provides a reliable method to obtain blue light hazards without measuring, just by knowing the radiant brightness of the lamp.

[0097] like Figure 5 FIG. 5 is a schematic diagram of a module of an electronic device in an embodiment of the present application. As shown in the figure, the device 500 includes:

[0098] An acquisition module 501 is used to acquire data points of spectral radiance of corresponding lamps;

[0099] The processing module 502 is used to fit the data points into a spectral radiation brightness function using a spline function, and obtain a blue light hazard weight function based on the blue light hazard weight using the spline function; multiply the spectral radiation brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrate the hazard function to obtain a blue light hazard value.

[0100] It should be noted that the information interaction, execution process, etc. between the modules / units of the above-mentioned device are based on the same concept as the method embodiment described in the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown in the previous description of the present application, and will not be repeated here.

[0101] It should also be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these units can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the processing module 502 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above processing module 502. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0102] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0103] like Figure 6 As shown, it is a schematic diagram of the structure of a computer device in an embodiment of the present application. As shown in the figure, the computer device 600 includes: a memory 601 and a processor 602; the memory 601 is used to store computer instructions; the processor 602 executes the computer instructions to implement the following Figure 1 The method described.

[0104] In some embodiments, the number of the memory 601 in the computer device 600 can be one or more, the number of the processor 602 can be one or more, and Figure 6 Take one as an example.

[0105] In one embodiment of the present application, the processor 602 in the computer device 600 will follow the following steps: Figure 1 In the above steps, one or more instructions corresponding to the process of the application are loaded into the memory 601, and the processor 602 runs the application stored in the memory 601, thereby achieving the following Figure 1 The method described.

[0106] The memory 601 may include a random access memory (RAM), or may include a non-volatile memory, such as at least one disk storage. The memory 601 stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic services and processing hardware-based tasks.

[0107] The processor 602 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0108] In some specific applications, the various components of the computer device 600 are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, Figure 6 In the text, all kinds of buses are called bus systems.

[0109] In one embodiment of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following Figure 1 The method described.

[0110] The computer-readable storage medium, as can be understood by ordinary technicians in this field, can be implemented by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, it executes the embodiments including the aforementioned system and the functions of each unit; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0111] In summary, the method, device, computer equipment and storage medium for calculating the blue light hazard of lamps provided in the present application obtain data points of the spectral radiation brightness of the corresponding lamps; use a spline function to fit the data points into a spectral radiation brightness function, and use the spline function to fit the blue light hazard weight function based on the blue light hazard weight; multiply the spectral radiation brightness function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as the independent variable, and integrate the hazard function to obtain a blue light hazard value.

[0112] The present invention effectively overcomes various shortcomings of the prior art and has high industrial utilization value.

[0113] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present application.

Claims

1. The calculation method of blue light hazard of lamps is characterized by: The method comprises: Obtaining data points of the spectral radiance of the corresponding lamp, which includes: obtaining a spectral graph of the lamp; converting the spectral graph into data points using a curve digitization program; or directly obtaining data points of the spectral radiance of the corresponding lamp; The data points are fitted into a spectral radiance function using a spline function, and a blue light hazard weight function is obtained by fitting the spline function based on the blue light hazard weight, wherein the blue light hazard weight is obtained based on the relationship between wavelength and blue light hazard weight in the test standard IEC / EN62471 developed by the European Union and the International Electrotechnical Commission; The spectral radiance function is multiplied by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and the hazard function is integrated to obtain a blue light hazard value, which includes: ; ; in, is the blue light hazard exposure amplitude; is the spectral radiance W m -2 Sr -1 nm -1 ; is the blue light hazard weight function obtained according to the test standard IEC / EN62471; is the bandwidth in nm; t is the exposure time in seconds; Assuming that the total power of various lamps is the same and the exposure time is the same, remove the exposure time t and combine the above two formulas to obtain: ; in, is the blue light hazard function; is the spectral radiance function; definition ;but ; Blue light hazard exposure Equal to blue light hazard function 's points.

2. The method according to claim 1, characterized in that The step of fitting the data points into a spectral radiance function using a spline function comprises: The spectral radiance function is normalized, including: scaling the function value so that its integral with respect to the wavelength is 1, so as to obtain a power function expression.

3. The method according to claim 1, characterized in that The spline function defaults to a third-order polynomial.

4. An electronic device, characterized in that: The device comprises: An acquisition module, used to acquire data points of the spectral radiance brightness of the corresponding lamp, wherein the acquisition of the data points of the spectral radiance brightness of the corresponding lamp includes: acquiring a spectrum graph of the lamp; converting the spectrum graph into data points using a curve digitization program; or directly acquiring data points of the spectral radiance brightness of the corresponding lamp; A processing module is used to fit the data points into a spectral radiance function using a spline function, and obtain a blue light hazard weight function based on a blue light hazard weight by fitting the data points into a spectral radiance function using a spline function, wherein the blue light hazard weight is obtained based on the relationship between wavelength and blue light hazard weight in the test standard IEC / EN62471 formulated by the European Union and the International Electrotechnical Commission; multiply the spectral radiance function by the blue light hazard weight function to obtain a blue light hazard function with wavelength as an independent variable, and integrate the hazard function to obtain a blue light hazard value, which includes: ; ; in, is the blue light hazard exposure amplitude; is the spectral radiance W m -2 Sr -1 nm -1 ; is the blue light hazard weight function obtained according to the test standard IEC / EN62471; is the bandwidth in nm; t is the exposure time in seconds; Assuming that the total power of various lamps is the same and the exposure time is the same, remove the exposure time t and combine the above two formulas to obtain: ; in, is the blue light hazard function; is the spectral radiance function; definition ;but ; Blue light hazard exposure Equal to blue light hazard function 's points.

5. A computer device, characterized in that: The device comprises: a memory and a processor; the memory is used to store computer instructions; the processor executes the computer instructions to implement the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: Computer instructions are stored, and when the computer instructions are executed, the method according to any one of claims 1 to 3 is performed.