A method, device, medium and equipment for calibrating parameters of atmosphere lamp

Obtain identity information by scanning atmospheric light logo information, and use the industrial control machine and controller to obtain parameter data from the database to adjust the PWM output duty cycle to reach the target parameter, solve the problem of poor consistency of the atmosphere light parameters in the existing technology, realize Simplified parameter calibration process and reduced cost.

CN114340101BActive Publication Date: 2025-01-24SHANGHAI KOSTAL HUAYANG AUTOMOTIVE ELECTRIC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111679497.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-01-24
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the prior art, the color and brightness consistency of the ambient lights is high, but because the parameters of each ambient light are different, there are differences in color and brightness. The existing method requires the individual lighting of each ambient light and without Determining color parameters in light environments is cumbersome and costly.

Method used

Provide a method and device for calibrating ambient light parameters, which scan the mark information on the ambient light with a scanning device to obtain identity information, and use industrial computers and controllers to obtain parameter data from the database based on the identity information, and adjust the PWM output duty cycle to achieve target parameters.

Benefits of technology

There is no need to light each ambient light individually to obtain parameter data, which simplifies the ambient light parameter calibration process and reduces cost and time expenditure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114340101B_ABST
    Figure CN114340101B_ABST
Patent Text Reader

Abstract

The present application discloses an atmosphere light parameter calibration device, method, apparatus and medium. Among them, a scanning device scans the mark information on each atmosphere light to obtain the identity information of each atmosphere light, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing parameter data of all atmosphere lights, obtains the identity information of each atmosphere light sent by the scanning device, obtains the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and sends the parameter data to a controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. By adopting this technical solution, the identity information of each atmosphere light is obtained through the mark information on each atmosphere light, and the parameter data of each atmosphere light is obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of atmosphere lamp calibration, and in particular to an atmosphere lamp parameter calibration method, device, medium and equipment. Background Art

[0002] As the perfect choice for vehicle lighting, ambient lighting allows users to set their favorite scene lighting effects based on their own lighting needs (such as color, temperature, etc.), and select and control the brightness, grayscale, and color changes of light in different spaces and times according to their respective requirements and scene conditions.

[0003] However, vehicles have high requirements for the color and brightness consistency of ambient lights. The parameters of ambient lights in the same batch are often different, resulting in differences in color and brightness. In current technology, it is usually necessary to light up each ambient light separately, measure its color parameters, and then perform corresponding calibration. This method is not only complicated, but also requires accurate measurement of the parameters of each color in a dark environment, which is time-consuming, labor-intensive and costly.

[0004] It can be seen that how to provide a convenient method for calibrating parameters of an ambient light is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] The purpose of this application is to provide a method, device, medium and equipment for calibrating parameters of an atmosphere lamp.

[0006] In order to solve the above technical problems, the present application provides an atmosphere light parameter calibration device, which is characterized by comprising: an industrial computer 01, a controller 02, and a scanning device 03;

[0007] The scanning device 03 is used to scan the sign information on each atmosphere lamp 018 to obtain the identity information of each atmosphere lamp 018, and send the obtained identity information to the industrial computer 01;

[0008] The industrial computer 01 is used to obtain a database containing parameter data of all the atmosphere lights 018, obtain the identity information of each of the atmosphere lights 018 sent by the scanning device 03, obtain the parameter data corresponding to each of the atmosphere lights 018 from the database according to the identity information of each of the atmosphere lights 018, and send the parameter data to the controller 02;

[0009] The controller 02 is used to adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights 018 reaches the target parameter.

[0010] In order to solve the above technical problems, the present application also provides an atmosphere light parameter calibration method, which is applied to the above industrial computer, including:

[0011] Obtain a database containing parameter data of all ambient lights;

[0012] The receiving scanning device acquires and sends the identity information by scanning the sign information of each of the atmosphere lights;

[0013] Acquiring the parameter data corresponding to each of the atmosphere lamps from the database according to the identity information of each of the atmosphere lamps;

[0014] The parameter data is sent to a controller so that the controller can adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter.

[0015] Preferably, the step of obtaining the identity information of each of the atmosphere lights with logo information includes:

[0016] The receiving scanning device obtains and sends the identity information by scanning the QR code of each of the atmosphere lights.

[0017] In order to solve the above technical problems, the present application also provides another ambient light parameter calibration method, which is applied to the above controller, including:

[0018] The receiving industrial computer obtains and sends identity information by scanning the sign information of each atmosphere lamp through the receiving scanning device, and obtains parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp;

[0019] According to the corresponding relationship between the target parameter and the parameter data, the PWM output duty cycle is adjusted so that the lighting effect of each of the atmosphere lights reaches the target parameter.

[0020] Preferably, before the step of adjusting the PWM output duty cycle, the method further comprises:

[0021] Recall the pre-stored light transmission parameters;

[0022] Calculating accurate parameter data of each of the atmosphere lights according to the light transmission parameter and the parameter data;

[0023] Furthermore, adjusting the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter includes:

[0024] According to the correspondence between the target parameter and the precise parameter data, the PWM output duty cycle is adjusted so that the lighting effect of each of the atmosphere lights reaches the target parameter.

[0025] Preferably, it also includes:

[0026] If the PWM output duty cycle is adjusted beyond a preset adjustment range, an alarm signal is issued.

[0027] In order to solve the above technical problems, the present application also provides an atmosphere light parameter calibration device, which is applied to the above industrial computer, including:

[0028] A first acquisition module 10 is used to acquire a database containing parameter data of all ambient lights;

[0029] A receiving module 11, used for receiving identity information acquired and sent by a scanning device through scanning the sign information of each of the atmosphere lights;

[0030] A second acquisition module 12, configured to acquire the parameter data corresponding to each of the atmosphere lamps from the database according to the identity information of each of the atmosphere lamps;

[0031] The sending module 13 is used to send the parameter data to the controller, so that the controller adjusts the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter.

[0032] In order to solve the above technical problems, the present application also provides another ambient light parameter calibration device, which is applied to the above controller, including:

[0033] The receiving module 14 is used to receive the identity information obtained and sent by the industrial computer through scanning the sign information of each atmosphere lamp by the receiving scanning device, and obtain the parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp;

[0034] The adjustment module 15 is used to adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter.

[0035] In order to solve the above technical problems, the present application also provides another ambient light parameter calibration device, including a memory 20 for storing a computer program 201;

[0036] The processor 21 is used to implement the steps of the above-mentioned ambient light parameter calibration method when executing the computer program 201.

[0037] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the atmosphere light parameter calibration method as described above are implemented.

[0038] The atmosphere light parameter calibration equipment provided in the present application includes an industrial computer, a controller, and a scanning device. Among them, the scanning device is used to scan the logo information on each atmosphere light to obtain the identity information of each atmosphere light, and send the obtained identity information to the industrial computer. The industrial computer is used to obtain a database containing parameter data of all atmosphere lights, obtain the identity information of each atmosphere light sent by the scanning device, obtain the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and send the parameter data to the controller. The controller is used to adjust the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere light is obtained by scanning the logo information on each atmosphere light, and the parameter data of each atmosphere light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.

[0039] In addition, the ambient light parameter calibration method, device and medium provided in the present application correspond to the ambient light parameter calibration equipment provided above, and the effects are the same as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0041] Figure 1 A structural diagram of an atmosphere light parameter calibration device provided in an embodiment of the present application;

[0042] Figure 2 A structural diagram of an atmosphere lamp provided in an embodiment of the present application;

[0043] Figure 3 A structural diagram of a controller PCB board with an atmosphere light to be calibrated provided in an embodiment of the present application;

[0044] Figure 4 A flow chart of an atmosphere light parameter calibration method provided in an embodiment of the present application;

[0045] Figure 5 A flowchart of another method for calibrating ambient light parameters provided in an embodiment of the present application;

[0046] Figure 6 A structural diagram of an atmosphere light parameter calibration device provided in an embodiment of the present application;

[0047] Figure 7 A structural diagram of another device for calibrating parameters of an ambient light provided in an embodiment of the present application;

[0048] Figure 8 A structural diagram of another device for calibrating parameters of an ambient light provided in an embodiment of the present application;

[0049] The accompanying drawings are marked as follows: 01 is an industrial computer, 02 is a controller, 03 is a scanning device, 04 is a server, 05 is a network card, 06 is a wireless network, 07 is a fixing bracket for a barcode scanner, 08 is a QR code, 09 is a red light, 010 is a green light, 011 is a blue light, 012 is a controller PCB board with an atmosphere light to be calibrated, 013 is a 3-way PWM drive circuit, 014 is a positioning hole, 015 is a CAN card, 016 is a fixing platform for a controller PCB board with an atmosphere light, 017 is a data line, 018 is an atmosphere light, 10 is a first acquisition module, 11 is a receiving module, 12 is a second acquisition module, 13 is a sending module, 14 is a receiving module, 15 is an adjustment module, 20 is a memory, 21 is a processor, 201 is a computer program, 202 is an operating system, 203 is data, 22 is a display screen, 23 is an input and output interface, 24 is a communication interface, 25 is a power supply, and 26 is a communication bus. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] The core of this application is to provide an atmosphere lamp parameter calibration method, device, medium and equipment.

[0052] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0053] Figure 1 A structural diagram of an atmosphere light parameter calibration device provided in an embodiment of the present application, such as Figure 1 As shown, the device includes: an industrial computer 01, a controller 02, and a scanning device 03.

[0054] The scanning device 03 is used to scan the logo information on each atmosphere lamp 018 to obtain the identity information of each atmosphere lamp 018, and send the obtained identity information to the industrial computer 01. The industrial computer 01 is used to obtain a database containing parameter data of all atmosphere lamps 018, obtain the identity information of each atmosphere lamp 018 sent by the scanning device 03, obtain the parameter data corresponding to each atmosphere lamp 018 from the database according to the identity information of each atmosphere lamp 018, and send the parameter data to the controller 02. The controller 02 is used to adjust the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp 018 reaches the target parameter.

[0055] It should be noted that the atmosphere lamp 018 in this application has its corresponding logo information. By scanning the logo information, the identity information of the atmosphere lamp 018 can be obtained, and the parameter data of the atmosphere lamp 018 can be found from the database containing the parameter data of all the atmosphere lamps 018 in the batch through the identity information. The logo information can be in the form of a QR code, a barcode, etc., which can be scanned by a scanning device 03 such as a barcode scanning gun, a barcode scanning box, etc. After obtaining the identity information, the scanning device 03 sends it to the industrial computer 01, and the industrial computer 01 searches for the parameter data of the atmosphere lamp 018 in the database. It can be understood that the database can be input into the industrial computer 01 by a technician in advance, or it can be obtained by the industrial computer 01 from other servers. After finding the parameter data corresponding to the atmosphere lamp 018, the industrial computer 01 sends it to the controller 02, and the controller 02 adjusts the PWM output duty cycle through the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp 018 reaches the target parameter. Among them, the target parameters are the effect parameters that the user wants to achieve, which are the color and brightness of the atmosphere light that the user wants. It can be understood that the atmosphere light 018 is composed of three colors: red, green, and blue. The parameter data in this application is the data of the three colors of red, green, and blue. The parameter data in the embodiment of this application refers to the data when the red light, green light, and blue light are 100% lit. The lighting effect refers to the color and brightness effect of the atmosphere light when it is finally presented. In this application, the parameters of the three primary colors are adjusted by adjusting the PWM output duty cycle, so that the atmosphere light 018 can achieve the effect that the user wants.

[0056] For ease of understanding, an atmosphere light parameter calibration device provided by the present application is described in detail below in conjunction with specific scenarios.

[0057] like Figure 1As shown, the atmosphere light parameter calibration device provided in this embodiment, in addition to the above-mentioned equipment, also includes a server 04, a wireless network 06, a network card 05, a CAN card 015, a data line 017, a barcode scanner gun fixing bracket 07, a controller PCB board fixing platform 016 with an atmosphere light, and a controller PCB board 012 with an atmosphere light to be calibrated. Among them, the server 04 is a supplier's server 04, which stores parameter data of all atmosphere lights 018 of the same batch. The controller PCB board 012 with an atmosphere light to be calibrated is installed on the controller PCB board fixing platform 016 with an atmosphere light. The industrial computer 01 uses the network card 05 to connect to the server 04 through the wireless network 06, and can obtain a database of parameter data of the same batch of atmosphere lights 018 from the server 04. The scanning device 03 in this embodiment is a barcode scanner gun, which is arranged on the barcode scanner gun fixing bracket 07. Figure 2 A structural diagram of an atmosphere lamp 018 provided in an embodiment of the present application, such as Figure 2 As shown, the atmosphere light 018 includes a QR code 08 , a red light 09 , a green light 010 , and a blue light 011 . Figure 3 A structural diagram of a controller PCB board with an atmosphere light to be calibrated provided in an embodiment of the present application, such as Figure 3 As shown, the PCB board 012 includes a controller 02, which is an MCU microcontroller, a 3-way PWM drive circuit 013, an atmosphere light 018, and a PCB main board with a positioning hole 014. After the PCB board 012 is fixed in position through the positioning hole 014, the barcode scanner is aimed at the QR code 08 of the atmosphere light 018 for scanning. After the barcode scanner obtains the identity information of the atmosphere light 018, it sends it to the industrial computer 01 through the data line 017. The industrial computer 01 finds the parameter data of the atmosphere light 018 in the database and transmits it to the MCU microcontroller through the CAN card 015. The MCU microcontroller adjusts the output duty cycle of the 3-way PWM drive circuit 013, adjusts the red light 09, green light 010, and blue light 011 of the atmosphere light 018, and finally makes the lighting effect of the atmosphere light 018 reach the target parameter.

[0058] In a specific implementation, when the atmosphere light 018 is in use, the red light 09, the green light 010, and the blue light 011 are not directly exposed to the outside, and are usually protected by a shell. However, the shell will affect the light transmittance of the red light 09, the green light 010, and the blue light 011, which ultimately causes the actual effect of the atmosphere light 018 to be different from the effect expected by setting the parameter data. Therefore, when adjusting the parameter data to the target parameter, the influence of the shell should be considered. In this application, the light transmittance parameters of the shell can be stored in the MCU microcontroller in advance. When adjusting the parameter data, the parameter data is adjusted in combination with the light transmittance parameters to avoid the influence of the shell causing the actual effect of the atmosphere light 018 to be different from the effect of the target parameter.

[0059] The ambient light parameter calibration device provided in the embodiment of the present application includes an industrial computer, a controller, and a scanning device. Among them, the scanning device is used to scan the logo information on each ambient light to obtain the identity information of each ambient light, and send the obtained identity information to the industrial computer. The industrial computer is used to obtain a database containing parameter data of all ambient lights, obtain the identity information of each ambient light sent by the scanning device, obtain the parameter data corresponding to each ambient light from the database according to the identity information of each ambient light, and send the parameter data to the controller. The controller is used to adjust the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each ambient light reaches the target parameter. Compared with the current technology, it is necessary to light up each ambient light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each ambient light is obtained by scanning the logo information on each ambient light, and the parameter data of each ambient light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the ambient light parameter calibration process.

[0060] Figure 4 A flow chart of a method for calibrating the parameters of an atmosphere lamp provided in an embodiment of the present application is applied to an industrial computer of the above-mentioned atmosphere lamp parameter calibration device, such as Figure 4 As shown, the method includes:

[0061] S10: Obtain a database containing parameter data of all ambient lights.

[0062] S11: receiving the identity information acquired and sent by the scanning device by scanning the logo information of each atmosphere lamp.

[0063] S12: Acquire parameter data corresponding to each atmosphere lamp from a database according to the identity information of each atmosphere lamp.

[0064] S13: Sending parameter data to the controller so that the controller can adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter.

[0065] Since the atmosphere light parameter calibration method provided in the embodiment of the present application is applied to the industrial computer of the above-mentioned atmosphere light parameter calibration device, the industrial computer and each device have been described in detail in the above-mentioned embodiment, so they will not be repeated in this embodiment.

[0066] In the method for calibrating the parameters of the atmosphere lamp provided in the embodiment of the present application, a scanning device scans the mark information on each atmosphere lamp to obtain the identity information of each atmosphere lamp, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing the parameter data of all the atmosphere lamps, obtains the identity information of each atmosphere lamp sent by the scanning device, obtains the parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere lamp separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere lamp is obtained by scanning the mark information on each atmosphere lamp, and the parameter data of each atmosphere lamp is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere lamp parameter calibration process.

[0067] In a specific implementation, the logo information of the atmosphere light may be in the form of a QR code, a barcode, etc. In this embodiment, obtaining the identity information of each atmosphere light with logo information includes:

[0068] The receiving scanning device obtains and sends the identity information by scanning the QR code of each atmosphere light.

[0069] In the method for calibrating the parameters of an atmosphere light provided in the embodiment of the present application, the identification information of the atmosphere light is a QR code. The scanning device obtains the identity information of the atmosphere light by scanning the QR code and sends it to the industrial computer. There is no need to light up the atmosphere light, thereby reducing the complexity of the atmosphere light calibration.

[0070] Figure 5 A flowchart of another method for calibrating parameters of an atmosphere lamp provided in an embodiment of the present application, which is applied to a controller of the above-mentioned calibrating device for parameters of an atmosphere lamp, includes:

[0071] S20: The receiving industrial computer obtains and sends identity information by scanning the logo information of each atmosphere lamp through the receiving scanning device, and obtains parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp.

[0072] S21: According to the correspondence between the target parameter and the parameter data, the PWM output duty cycle is adjusted so that the lighting effect of each atmosphere lamp reaches the target parameter.

[0073] Since the atmosphere light parameter calibration method provided in the embodiment of the present application is applied to the controller of the above-mentioned atmosphere light parameter calibration device, the controller and each device have been described in detail in the above-mentioned embodiment, so they will not be repeated in this embodiment.

[0074] In the method for calibrating the parameters of the atmosphere lamp provided in the embodiment of the present application, a scanning device scans the mark information on each atmosphere lamp to obtain the identity information of each atmosphere lamp, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing the parameter data of all the atmosphere lamps, obtains the identity information of each atmosphere lamp sent by the scanning device, obtains the parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere lamp separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere lamp is obtained by scanning the mark information on each atmosphere lamp, and the parameter data of each atmosphere lamp is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere lamp parameter calibration process.

[0075] In specific implementations, when the ambient light is in use, the red light, green light, and blue light are not directly exposed to the outside, and are usually protected by a shell. However, the shell will affect the light transmittance of the red light, green light, and blue light, ultimately resulting in the actual effect of the ambient light being different from the effect expected by setting the parameter data. Therefore, when adjusting the parameter data to the target parameters, the influence of the shell should be considered.

[0076] Based on the above embodiment, in this embodiment, before the step of adjusting the PWM output duty cycle, the following steps are further included:

[0077] Recall the pre-stored light transmission parameters;

[0078] Calculate the precise parameter data of each atmosphere light based on the light transmission parameters and parameter data;

[0079] Further, according to the correspondence between the target parameter and the parameter data, adjusting the PWM output duty cycle so that the lighting effect of each atmosphere lamp reaches the target parameter includes:

[0080] According to the correspondence between the target parameters and the precise parameter data, the PWM output duty cycle is adjusted to make the lighting effect of each atmosphere light reach the target parameter.

[0081] In the atmosphere lamp parameter calibration method provided in the embodiment of the present application, the light transmittance parameters of the shell are stored in the controller in advance. When adjusting the parameter data, the precise parameter data of each atmosphere lamp is calculated based on the light transmittance parameters and the parameter data. Then, based on the correspondence between the target parameters and the precise parameter data, the PWM output duty cycle is adjusted to make the lighting effect of each atmosphere lamp reach the target parameter, thereby avoiding the actual effect of the atmosphere lamp being different from the effect of the target parameter due to the influence of the shell.

[0082] It is understandable that, in a specific implementation, the parameter data of the same batch of atmosphere lamps should be substantially the same. During calibration, if the range of adjusting the PWM output duty cycle is too large, there may be an error in the atmosphere lamp batch. Therefore, based on the above embodiment, this embodiment also includes:

[0083] If the PWM output duty cycle is adjusted beyond the preset adjustment range, an alarm signal is issued.

[0084] The ambient light parameter calibration method provided in the embodiment of the present application sends out an alarm signal if the PWM output duty cycle is adjusted beyond a preset adjustment range to prompt the technician to verify whether the ambient light batch does not match the target parameters.

[0085] In addition, the embodiment of the present application also provides a method for adjusting the PWM output duty cycle. Specifically, the parameter data of the atmosphere light includes the following data:

[0086] Red light source parameters p_x1, p_y1, p_Iv1;

[0087] Green light source parameters p_x2, p_y2, p_Iv2;

[0088] Blue light source parameters p_x3, p_y3, p_Iv3;

[0089] Where (p_x1, p_y1), (p_x2, p_y2), (p_x3, p_y3) are the color coordinates of red, green and blue, p_Iv1, p_Iv2, p_Iv3 are the brightness of red, green and blue;

[0090] Transmission parameters include:

[0091] dlt_x1,dlt_y1,coef_Iv1,dlt_x2,dlt_y2,coef_Iv2,dlt_x3,dlt_y3,coef_Iv3

[0092] The prefix dlt indicates color drift, the prefix coef indicates attenuation coefficient, the color drift value is a signed value, and the attenuation coefficient is less than or equal to 100%.

[0093] The light source parameters of the atmosphere light can be calculated from the above parameters:

[0094] Red light source parameters:

[0095] x1=p_x1+dlt_x1, y1=p_y1+dlt_y1, Iv1=p_Iv1*coef_Iv1.

[0096] Green light source parameters:

[0097] x2=p_x2+dlt_x2, y2=p_y2+dlt_y2, Iv2=p_Iv2*coef_Iv2.

[0098] Blue light source parameters:

[0099] x3=p_x3+dlt_x3, y3=p_y3+dlt_y3, Iv3=p_Iv3*coef_Iv3.

[0100] According to Grassmann's law, when the light source parameters are known to be x1, y1, Iv1, x2, y2, Iv2, x3, y3, Iv3, when this light source is 100% lit, the mixed light source color coordinates (x, y) and brightness (Iv) are

[0101] Iv=Iv1+Iv2+Iv3;

[0102]

[0103]

[0104] By mixing different colors and different brightnesses through this light source, the brightness of the three red, green and blue light sources can be adjusted by PWM. Assuming that the PWM duty cycle of the three red, green and blue drivers is D1, D2, and D3, the color coordinates (x, y) and brightness (Iv) of the mixed light source under this PWM duty cycle control parameter are

[0105] Iv=Iv1·D1+Iv2·D2+Iv3·D3;

[0106]

[0107]

[0108] According to the above formula, we can infer

[0109]

[0110]

[0111]

[0112] Therefore, based on the above formula, the PWM drive duty cycle of the three channels of red, green and blue can be calculated according to the parameter data of the ambient light and the target color and brightness.

[0113] In the above embodiments, the method for calibrating the parameters of the atmosphere lamp is described in detail, and the present application also provides an embodiment corresponding to the device for calibrating the parameters of the atmosphere lamp. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of the functional module, and the other is based on the perspective of the hardware.

[0114] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0115] Figure 6 This is a structural diagram of an atmosphere lamp parameter calibration device provided in an embodiment of the present application, which is applied to an industrial computer of the above-mentioned atmosphere lamp parameter calibration device, such as Figure 6 As shown, the device comprises:

[0116] A first acquisition module 10 is used to acquire a database containing parameter data of all ambient lights;

[0117] A receiving module 11 is used to receive identity information acquired and sent by a scanning device through scanning the sign information of each atmosphere lamp;

[0118] The second acquisition module 12 is used to acquire parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp;

[0119] The sending module 13 is used to send parameter data to the controller, so that the controller can adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter.

[0120] In the atmosphere light parameter calibration device provided in the embodiment of the present application, a scanning device scans the mark information on each atmosphere light to obtain the identity information of each atmosphere light, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing the parameter data of all atmosphere lights, obtains the identity information of each atmosphere light sent by the scanning device, obtains the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere light is obtained by scanning the mark information on each atmosphere light, and the parameter data of each atmosphere light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.

[0121] Figure 7 A structural diagram of another atmosphere lamp parameter calibration device provided in an embodiment of the present application, which is applied to the controller of the above-mentioned atmosphere lamp parameter calibration device, such as Figure 7 As shown, the device comprises:

[0122] The receiving module 14 is used to receive the identity information obtained and sent by the industrial computer through scanning the logo information of each atmosphere lamp by the receiving scanning device, and obtain the parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp;

[0123] The adjustment module 15 is used to adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter.

[0124] In the atmosphere light parameter calibration device provided in the embodiment of the present application, a scanning device scans the mark information on each atmosphere light to obtain the identity information of each atmosphere light, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing the parameter data of all atmosphere lights, obtains the identity information of each atmosphere light sent by the scanning device, obtains the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere light is obtained by scanning the mark information on each atmosphere light, and the parameter data of each atmosphere light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.

[0125] Figure 8 A structural diagram of another ambient light parameter calibration device provided in an embodiment of the present application, such as Figure 8 As shown, the device comprises: a memory 20 for storing a computer program;

[0126] The processor 21 is used to implement the steps of the ambient light parameter calibration method in the above embodiment when executing the computer program.

[0127] The ambient light parameter calibration device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0128] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0129] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the atmosphere lamp parameter calibration method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include but is not limited to parameter data, target parameters, light transmittance parameters, etc.

[0130] In some embodiments, the ambient light parameter calibration device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0131] Those skilled in the art will understand that Figure 8 The structure shown in does not constitute a limitation on the ambient light parameter calibration device, and may include more or fewer components than shown in the figure.

[0132] The atmosphere lamp parameter calibration device provided in the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a scanning device scans the sign information on each atmosphere lamp to obtain the identity information of each atmosphere lamp, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing parameter data of all atmosphere lamps, obtains the identity information of each atmosphere lamp sent by the scanning device, obtains the parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere lamp reaches the target parameter.

[0133] In the atmosphere light parameter calibration device provided in the embodiment of the present application, a scanning device scans the mark information on each atmosphere light to obtain the identity information of each atmosphere light, and sends the obtained identity information to an industrial computer. The industrial computer obtains a database containing the parameter data of all atmosphere lights, obtains the identity information of each atmosphere light sent by the scanning device, obtains the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere light is obtained by scanning the mark information on each atmosphere light, and the parameter data of each atmosphere light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.

[0134] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps described in the above method embodiment (which may be a method corresponding to the industrial computer side, a method corresponding to the controller side, or a method corresponding to both the industrial computer side and the controller side) are implemented.

[0135] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0136] The computer-readable storage medium provided in the embodiment of the present application, the scanning device scans the sign information on each atmosphere light to obtain the identity information of each atmosphere light, and sends the obtained identity information to the industrial computer. The industrial computer obtains a database containing the parameter data of all atmosphere lights, obtains the identity information of each atmosphere light sent by the scanning device, obtains the parameter data corresponding to each atmosphere light from the database according to the identity information of each atmosphere light, and sends the parameter data to the controller. The controller adjusts the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each atmosphere light reaches the target parameter. Compared with the current technology, it is necessary to light up each atmosphere light separately and detect the color parameters in a dark environment. With the present technical solution, the identity information of each atmosphere light is obtained by scanning the sign information on each atmosphere light, and the parameter data of each atmosphere light is directly obtained in the database according to the identity information. The parameter data can be obtained without lighting up separately, which reduces the complexity of the atmosphere light parameter calibration process.

[0137] The above is a detailed introduction to the atmosphere light parameter calibration method, device, medium and equipment provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0138] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. An ambient light parameter calibration device, characterized in that: include: Industrial computer (01), controller (02), scanning equipment (03); The scanning device (03) is used to scan the sign information on each atmosphere lamp (018) to obtain the identity information of each atmosphere lamp (018), and send the obtained identity information to the industrial computer (01); The industrial computer (01) is used to obtain a database containing parameter data of all the atmosphere lights (018), obtain the identity information of each of the atmosphere lights (018) sent by the scanning device (03), obtain the parameter data corresponding to each of the atmosphere lights (018) from the database according to the identity information of each of the atmosphere lights (018), and send the parameter data to the controller (02); The controller (02) is used to adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights (018) reaches the target parameter; The parameter data corresponding to the atmosphere light (018) is the data when the red light, green light and blue light are 100% lit.

2. A method for calibrating ambient light parameters, characterized in that: The industrial computer as claimed in claim 1 comprises: Obtain a database containing parameter data of all ambient lights; The receiving scanning device acquires and sends the identity information by scanning the sign information of each of the atmosphere lights; Acquiring the parameter data corresponding to each of the atmosphere lamps from the database according to the identity information of each of the atmosphere lamps; Sending the parameter data to a controller, so that the controller adjusts the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter; Among them, the parameter data corresponding to the atmosphere light is the data when the red light, the green light and the blue light are 100% lit.

3. The method for calibrating parameters of an atmosphere lamp according to claim 2, characterized in that: The step of obtaining the identity information of each of the atmosphere lights with logo information includes: The receiving scanning device obtains and sends the identity information by scanning the QR code of each of the atmosphere lights.

4. A method for calibrating ambient light parameters, characterized in that: The controller according to claim 1, comprising: The receiving industrial computer obtains and sends identity information by scanning the sign information of each atmosphere lamp through the receiving scanning device, and obtains parameter data corresponding to each atmosphere lamp from the database according to the identity information of each atmosphere lamp; According to the corresponding relationship between the target parameter and the parameter data, the PWM output duty cycle is adjusted so that the lighting effect of each of the atmosphere lights reaches the target parameter; Among them, the parameter data corresponding to the atmosphere light is the data when the red light, green light and blue light are 100% lit.

5. The method for calibrating parameters of an atmosphere lamp according to claim 4, characterized in that: Before the step of adjusting the PWM output duty cycle, the method further includes: Recall the pre-stored light transmission parameters; Calculating accurate parameter data of each of the atmosphere lights according to the light transmission parameter and the parameter data; Furthermore, adjusting the PWM output duty cycle according to the correspondence between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter includes: According to the correspondence between the target parameter and the precise parameter data, the PWM output duty cycle is adjusted so that the lighting effect of each of the atmosphere lights reaches the target parameter.

6. The method for calibrating parameters of an atmosphere lamp according to claim 4 or 5, characterized in that: Also includes: If the PWM output duty cycle is adjusted beyond a preset adjustment range, an alarm signal is issued.

7. An ambient light parameter calibration device, characterized in that: The industrial computer used in claim 1 comprises: A first acquisition module (10) is used to acquire a database containing parameter data of all ambient lights; A receiving module (11) is used to receive identity information acquired and sent by a scanning device through scanning the sign information of each of the atmosphere lights; A second acquisition module (12) is used to acquire the parameter data corresponding to each of the atmosphere lamps from the database according to the identity information of each of the atmosphere lamps; A sending module (13) is used to send the parameter data to a controller, so that the controller adjusts the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lamps reaches the target parameter; Among them, the parameter data corresponding to the atmosphere light is the data when the red light, the green light and the blue light are 100% lit.

8. An ambient light parameter calibration device, characterized in that: The controller according to claim 1, comprising: A receiving module (14) is used to receive the identity information acquired and sent by the industrial computer through scanning the sign information of each atmosphere lamp by a receiving scanning device, and to acquire parameter data corresponding to each atmosphere lamp from a database according to the identity information of each atmosphere lamp; An adjustment module (15) is used to adjust the PWM output duty cycle according to the corresponding relationship between the target parameter and the parameter data so that the lighting effect of each of the atmosphere lights reaches the target parameter; Among them, the parameter data corresponding to the atmosphere light is the data when the red light, green light and blue light are 100% lit.

9. An ambient light parameter calibration device, characterized in that: comprising a memory (20) for storing a computer program (201); A processor (21) is used to implement the steps of the ambient light parameter calibration method as described in any one of claims 2 to 6 when executing the computer program (201).

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the ambient light parameter calibration method according to any one of claims 2 to 6 are implemented.

Citation Information

Patent Citations

  • Lamp control method and system, illumination control device, and server

    CN106465521A

  • Vehicle intelligent high beam system and control method

    CN106891802A