CN-122015038-A - Lamp light spot adjusting method, electronic device, readable storage medium and computer program product
Abstract
The present application relates to the field of lighting technologies, and in particular, to a light spot adjustment method for a lamp, an electronic device, a readable storage medium, and a computer program product. The method is applied to the embedded lamp, a target projection angle parameter and a target optical state are obtained based on a received light spot adjusting instruction, the target projection angle parameter at least comprises an angle of a target projection angle, a motor in the vertical deflection mechanism is driven according to the target projection angle parameter, an optical lens optically coupled with the light source module is driven to do deflection motion in the vertical direction relative to a lamp cap, and a liquid crystal zoom lens of the zoom mechanism is driven according to the target optical state to change the optical state so as to adjust the size of a light spot. The light spot position and the light spot size are accurately controlled in a cooperative mode, the direction of the lamp cap is kept unchanged while the light spot position and the light spot size are electrically adjusted, and the light spot position and the light spot size can be flexibly adapted to lighting requirements of different scenes.
Inventors
- YANG CHUNHUA
- LUO TAO
- JIANG TAO
Assignees
- 中山市岩峰照明科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260123
Claims (10)
- 1. The light spot adjusting method for the lamp is characterized by being applied to a built-in lamp, wherein the built-in lamp at least comprises a light source module, a vertical deflection mechanism and a zooming mechanism, and the method comprises the following steps: acquiring a target projection angle parameter and a target optical state based on the received light spot adjusting instruction, wherein the target projection angle parameter at least comprises the angle of the target projection angle; Driving a motor in the vertical deflection mechanism according to the target projection angle parameter to drive an optical lens optically coupled with the light source module to do deflection motion in the vertical direction relative to the lamp cap, and And driving a liquid crystal zoom lens of the zoom mechanism to change the optical state according to the target optical state, and adjusting the size of the light spot.
- 2. The method for adjusting light spots of a lamp according to claim 1, wherein the step of driving the motor in the vertical deflection mechanism according to the target projection angle parameter to drive the optical lens optically coupled to the light source module to deflect in a vertical direction relative to the lamp cap comprises: Acquiring a current deflection parameter, and determining an execution deflection parameter based on the target projection angle parameter and the current deflection parameter; And generating a motor driving signal according to the executing deflection parameter, transmitting the motor driving signal to the motor, controlling the rotation direction and the rotation quantity of an output shaft of the motor to drive the optical lens and the light source module to synchronously deflect to a target deflection angle, enabling a light path to be emitted from the light source module and refracted by the optical lens, and then passing through the light guide piece and the liquid crystal zoom lens to project along the target projection angle, wherein the angle of the target deflection angle is larger than or equal to the angle of the target projection angle.
- 3. The luminaire spot adjustment method of claim 2 wherein the step of driving a liquid crystal zoom lens of the zoom mechanism to change optical state according to the target optical state comprises: acquiring the current optical state of the liquid crystal zoom lens; Determining a target focusing parameter based on the target optical state, the current optical state and the target projection angle parameter; And generating a corresponding voltage regulation signal according to the target focusing parameter, and transmitting the voltage regulation signal to a driving plate of the liquid crystal zoom lens so as to regulate and control the liquid crystal molecular arrangement state of the liquid crystal zoom lens to the target optical state.
- 4. The luminaire spot adjustment method of claim 2, wherein prior to the step of obtaining the current deflection parameter and determining the execution deflection parameter based on the target projection angle parameter and the current deflection parameter, further comprising: comparing the angle of the target projection angle to a vertical deflection threshold; And if the angle of the target projection angle is larger than the vertical deflection threshold, limiting the angle of the target projection angle to the vertical deflection threshold, and generating an alarm prompt.
- 5. The method of claim 4, wherein the vertical deflection threshold is 30 degrees, and the corresponding target deflection angle is 40 degrees when the angle of the target projection angle is equal to the vertical deflection threshold.
- 6. The luminaire spot adjustment method of claim 3 wherein the step of determining a target focus parameter based on the target optical state, current optical state, and the target projection angle parameter comprises: determining a focusing range according to the angle of the target projection angle; Judging whether the target optical state is in the focusing range or not; And if not, taking the boundary value of the focusing range as the target optical state.
- 7. A luminaire spot adjustment method as recited in claim 3, said luminaire spot adjustment method further comprising: Acquiring target illumination brightness based on the facula adjusting instruction; Determining a driving current parameter of the light source module according to the target illumination brightness, the target projection angle parameter and the target optical state; And generating a corresponding current regulation signal according to the driving current parameter, and controlling the output power of the light source module.
- 8. An electronic device, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the luminaire spot adjustment method according to any one of claims 1 to 7.
- 9. A readable storage medium, characterized in that the readable storage medium is a computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the luminaire spot adjustment method according to any one of claims 1 to 7.
- 10. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, implements the steps of the luminaire spot adjustment method according to any one of claims 1 to 7.
Description
Lamp light spot adjusting method, electronic device, readable storage medium and computer program product Technical Field The present application relates to the field of lighting technologies, and in particular, to a light spot adjustment method for a lamp, an electronic device, a readable storage medium, and a computer program product. Background The ceiling embedded lamps in the current market are mainly divided into fixed type and manual adjusting type. The manual adjustment type lamp allows adjustment of the spot position, but needs manual ascending operation, so that potential safety hazards exist, the process is complex and time-consuming, and the efficiency is low. In addition, the light spot direction of the part of electric adjustment embedded lamp is changed by driving the lamp cap to rotate through the motor. Although the lamp provides an electric control function, the lamp cap can be obviously deviated in adjustment, so that dust is easy to accumulate on the protruding ceiling part of the lamp and the lamp cap is difficult to clean. Meanwhile, the optical system lacks independence, and accurate and independent spot position control cannot be realized. In addition, the deviation of the projection angle also causes the shape of the light spot to be deformed, and the illumination uniformity is destroyed. Chinese patent publication No. CN217441551U discloses a down lamp and a lighting system, which adopts the scheme that the size of the light spot is freely controlled by using an angle adjusting member and a liquid crystal zoom lens module. However, although the light spot size can be adjusted by the design, the adaptive adjustment cannot be performed according to the change of the projection angle. Therefore, how to electrically adjust the position and the size of the light spot while ensuring that the orientation of the lamp cap is kept constant is a current problem to be solved. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The application mainly aims to provide a lamp spot adjusting method, electronic equipment, a readable storage medium and a computer program product, and aims to solve the technical problem of how to electrically adjust the position and the size of a spot while keeping the orientation of a lamp holder unchanged. In order to achieve the above purpose, the present application provides a light spot adjusting method for a recessed light, wherein the recessed light at least comprises a light source module, a vertical deflection mechanism and a zooming mechanism; the method comprises the steps of obtaining a target projection angle parameter and a target optical state based on a received light spot adjusting instruction, driving a motor in the vertical deflection mechanism according to the target projection angle parameter to drive an optical lens optically coupled with the light source module to do deflection motion in the vertical direction relative to a lamp holder, and driving a liquid crystal zoom lens of the zoom mechanism according to the target optical state to change the optical state to adjust the light spot size. In an embodiment, the step of driving the motor in the vertical deflection mechanism according to the target projection angle parameter to drive the optical lens optically coupled with the light source module to perform deflection motion in a vertical direction relative to the lamp cap includes: Acquiring a current deflection parameter, and determining an execution deflection parameter based on the target projection angle parameter and the current deflection parameter; And generating a motor driving signal according to the executing deflection parameter, transmitting the motor driving signal to the motor, controlling the rotation direction and the rotation quantity of an output shaft of the motor to drive the optical lens and the light source module to synchronously deflect to a target deflection angle, enabling a light path to be emitted from the light source module and refracted by the optical lens, and then passing through the light guide piece and the liquid crystal zoom lens to project along the target projection angle, wherein the angle of the target deflection angle is larger than or equal to the angle of the target projection angle. In one embodiment, the step of driving the liquid crystal zoom lens of the zoom mechanism according to the target optical state to change the optical state includes obtaining a current optical state of the liquid crystal zoom lens, determining a target focusing parameter based on the target optical state, the current optical state and the target projection angle parameter, generating a corresponding voltage regulation signal according to the target focusing parameter, and transmitting the voltage regulation signal to a driving plate of the l