Disclosure of Invention
In view of the above-mentioned problems, the present invention provides an intelligent control method and system for a light source of a projector, so as to solve the problem mentioned in the background art that the user needs to adjust the projection brightness of the projector manually from time to time when the external environment is affected, which seriously affects the experience of the user.
An intelligent control method for a light source of a projector comprises the following steps:
acquiring initial set light quantity of a light source of a target projector when the target projector starts to work;
detecting a synchronous output signal of the target projector, and calculating the deviation degree of the current light quantity corresponding to the synchronous output signal and the initial set light quantity;
automatically adjusting the projection brightness of the target projector light source according to the deviation degree;
and acquiring environmental parameters of the environment where the target projector is located, and secondarily adjusting the projection brightness of the target projector according to the environmental parameters.
Preferably, the acquiring an initial setting light quantity of the target projector light source when the target projector starts to operate includes:
detecting the current state of the target projector, and when the current state is a working state, confirming that the target projector starts to work;
acquiring a plurality of projection images of a target projector in the working process;
analyzing image data corresponding to each projection image to obtain the characteristic quantity of each projection image;
and determining the projection light quantity corresponding to each image according to the characteristic quantity of each image, and determining the initial setting light quantity of the target projector light source according to the projection light quantity corresponding to each image.
Preferably, the detecting a synchronization output signal of the target projector and calculating a deviation degree between a current light amount corresponding to the synchronization output signal and the initial set light amount includes:
reading a signal reference value corresponding to the synchronous output signal;
determining a target light quantity matched with the signal reference value, and confirming the target light quantity as a current light quantity corresponding to the synchronous output signal;
and acquiring light quantity parameters of the current light quantity and the initial set light quantity, and comparing the light quantity parameters of the current light quantity and the initial set light quantity to determine the degree of deviation of the current light quantity and the initial set light quantity.
Preferably, the automatically adjusting the projection brightness of the target projector light source according to the deviation degree includes:
determining the target projection brightness of the target projector according to the deviation degree;
detecting the current projection brightness of the target projector;
and determining whether the target projection brightness is the same as the current projection brightness, if so, no subsequent operation is needed, and otherwise, automatically adjusting the projection brightness of the target projector from the current projection brightness to the target projection brightness.
Preferably, the obtaining of the environmental parameter of the environment where the target projector is located and the secondary adjustment of the projection brightness of the target projector according to the environmental parameter include:
detecting the current brightness and the current visibility in the environment where the target projector is located, and confirming the current brightness and the current visibility as the environment parameters;
confirming an influence factor on a projection image of the target projector according to the current brightness and the current visibility;
and determining whether the influence factor is greater than or equal to a preset threshold value, if so, carrying out secondary adjustment on the projection brightness of the target projector, and otherwise, not needing to carry out subsequent operation.
Preferably, the method further comprises:
constructing a vision measurement system, and establishing a preset vision coordinate system in the vision measurement system;
determining target coordinates of the eyes of a user of the target projector in the preset visual coordinate system;
monitoring the target coordinates to obtain a monitoring video;
preprocessing the monitoring video to obtain a preprocessed monitoring video, and judging the visual fatigue degree of the preprocessed monitoring video by utilizing a preset human eye visual function in the visual measurement system to obtain the target visual fatigue degree of a user;
and determining whether the target visual fatigue is greater than or equal to a preset fatigue, if so, intelligently adjusting the projection brightness of the target projector, and otherwise, controlling the projection brightness of the target projector to keep the current projection brightness.
Preferably, the method further comprises:
detecting the current working temperature of the target projector, and comparing the current working temperature with a preset working temperature;
when the current working temperature is higher than the preset working temperature, confirming that the power consumption of the target projector needs to be reduced, and reducing the projection brightness of the target projector;
when the current working temperature is less than or equal to the preset working temperature, acquiring a target vision value of a user;
determining a projection brightness range which does not damage the vision of a user according to the target vision value;
pushing the projection brightness range to a user mobile phone terminal to obtain the expected projection brightness selected by the user;
and adjusting the projection brightness of the target projector from the current projection brightness to the expected projection brightness.
Preferably, the step of judging the visual fatigue degree of the preprocessed monitoring video by using a preset human eye visual function in the visual measurement system to obtain the target visual fatigue degree of the user comprises:
performing frame processing on the preprocessed monitoring video to obtain a plurality of monitoring images;
determining the blinking frequency of a user according to the monitoring images;
constructing a periodic blinking frequency curve of the user according to the blinking frequency of the user and a preset period;
acquiring a first cycle parameter of a user in a full-energy state and a second cycle parameter of the user in an extreme fatigue state based on a periodic blinking frequency curve of the user;
dividing the range of the circulation parameters between the first circulation parameter and the second circulation parameter into a plurality of circulation parameter intervals according to a preset grading system on the basis of the first circulation parameter and the second circulation parameter;
constructing a fatigue evaluation model of the user according to the first cycle parameter, the second cycle parameter and the plurality of cycle parameter intervals;
processing the images of the multiple monitoring images to obtain eye characteristic parameters and abnormal behavior characteristic parameters of a user;
inputting the eye characteristic parameters into the fatigue evaluation model to obtain the fatigue degree grade in a user;
calculating a first fatigue degree of a user according to the eye characteristic parameter and the abnormal behavior characteristic parameter of the user and a quotient value of the fatigue degree grade and the total grade in the user by using a preset human eye vision function in the vision measurement system;
detecting environmental parameters in the environment where the target projector is located, and generating a correction factor according to the environmental parameters;
correcting the first fatigue degree by using the correction factor to obtain a second fatigue degree;
and confirming the second fatigue degree as the target visual fatigue degree of the user.
Preferably, the determining an influence factor on the projection image of the target projector according to the current brightness and the current visibility includes:
acquiring the linear distance from a light source of a target projector to a projection area;
dividing the projection area into a target number of sub-areas, and detecting an average pixel value of the projection image in each sub-area;
calculating the current projection coefficient of the target projector according to the linear distance from the light source of the target projector to the projection area, the current brightness, the current visibility and the average pixel value of the projection image in each sub-area:
where k is the current projection coefficient of the target projector and l isIs the linear distance from the light source of the target projector to the projection area, l1Expressed as the current visibility, theta is expressed as the cleanliness of the light source of the target projector, Q1Expressed as the brightness of the light source, Q, of the target projector2Expressed as the current brightness, Q3Expressed as the current projection brightness or the target projection brightness, N is expressed as the number of sub-regions, SiThe average pixel value of the ith sub-area is expressed, e is a natural constant and takes a value of 2.72, delta is the definition of the overall projection image in the projection area, and f is the attenuation coefficient of the projection light;
calculating influence factors of the current brightness and the current visibility on a projection image of the target projector according to the current projection coefficient of the target projector:
wherein P represents an influence factor of the current brightness and the current visibility on the projection image of the target projector, F () represents a preset projection index function, S represents an average pixel value of the projection image of the projection area, M represents a light intensity of incident light of the light source of the target projector, and M represents a brightness of the projection image of the target projector1Expressed as the intensity of the light reflected by the projection area, and alpha is expressed as the relaxation factor of the projection brightness of the target.
An intelligent control system for a light source of a projector, the system comprising:
the acquisition module is used for acquiring the initial set light quantity of the light source of the target projector when the target projector starts to work;
the calculation module is used for detecting a synchronous output signal of the target projector and calculating the deviation degree of the current light quantity corresponding to the synchronous output signal and the initial set light quantity;
the first adjusting module is used for automatically adjusting the projection brightness of the target projector light source according to the deviation degree;
and the second adjusting module is used for acquiring the environmental parameters of the environment where the target projector is located and adjusting the projection brightness of the target projector secondarily according to the environmental parameters.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the popularization of electronic products, the application range of projectors is wider, and the projectors become a practical tool in the life of people. In projectors in the prior art, it is a trend to use laser light to generate a projection light source.
In the daily life of people, a projector is often used for watching films, teaching knowledge, playing meeting ppt and the like, in the using process, a user can preset the projection brightness of a light source and then project pictures, and in the subsequent process, the brightness is manually adjusted according to the requirement of the user, so that the method has the following defects: when the external environment influences, a user needs to adjust the projection brightness of the projector manually from time to time, and the experience of the user is seriously influenced. In order to solve the above problem, the present embodiment discloses an intelligent control method for a light source of a projector.
An intelligent control method for a light source of a projector is shown in fig. 1, and comprises the following steps:
step S101, acquiring initial set light quantity of a light source of a target projector when the target projector starts to work;
step S102, detecting a synchronous output signal of the target projector, and calculating the deviation degree of the current light quantity corresponding to the synchronous output signal and the initial set light quantity;
step S103, automatically adjusting the projection brightness of the light source of the target projector according to the deviation degree;
and step S104, obtaining environmental parameters of the environment where the target projector is located, and adjusting the projection brightness of the target projector secondarily according to the environmental parameters.
The working principle of the technical scheme is as follows: the method comprises the steps of obtaining initial set light quantity of a light source of a target projector when the target projector starts to work, detecting a synchronous output signal of the target projector, calculating the deviation degree of the current light quantity corresponding to the synchronous output signal and the initial set light quantity, automatically adjusting the projection brightness of the light source of the target projector according to the deviation degree, obtaining environmental parameters of the environment where the target projector is located, and secondarily adjusting the projection brightness of the target projector according to the environmental parameters.
The beneficial effects of the above technical scheme are: whether the current light quantity of the target projector deviates or not is judged according to the synchronous output signal of the target projector, and then the projection brightness of the target projector is intelligently adjusted, so that the situation that the projected image is not clear due to the light quantity deviation can be effectively avoided, the projection stability in the use process of a user is ensured, furthermore, the projection brightness of the target projector is intelligently and automatically adjusted according to the environment parameters of the environment where the target projector is located, the intelligent and automatic control on the projection brightness can be realized, the projection brightness is not required to be frequently adjusted by manually using a remote controller, the use experience of the user is improved, and the problems that in the prior art, the projection brightness of the projector is required to be manually adjusted by the user from time to time when the external environment is influenced, and the experience of the user is seriously influenced are solved.
In one embodiment, as shown in fig. 2, the obtaining an initial setting light quantity of the light source of the target projector when the target projector starts to work includes:
step S201, detecting the current state of the target projector, and when the current state is a working state, confirming that the target projector starts working;
step S202, obtaining a plurality of projection images of the target projector in the working process;
step S203, analyzing image data corresponding to each projection image to obtain the characteristic quantity of each projection image;
and step S204, determining the projection light quantity corresponding to each image according to the characteristic quantity of each image, and determining the initial setting light quantity of the target projector light source according to the projection light quantity corresponding to each image.
The beneficial effects of the above technical scheme are: accurate light quantity data can be obtained according to actual conditions by determining the initial set light of the light source of the target projector according to the characteristic quantity of the projected image of the target projector in the working process, parameters of the light source device and external influence factors are removed, the accuracy of the data is guaranteed, and standard comparison data are improved for light quantity comparison in the follow-up process.
In one embodiment, as shown in fig. 3, the detecting a synchronization output signal of the target projector, and calculating a deviation degree of a current light quantity corresponding to the synchronization output signal from the initial set light quantity includes:
step S301, reading a signal reference value corresponding to the synchronous output signal;
step S302, determining a target light quantity matched with the signal reference value, and confirming the target light quantity as a current light quantity corresponding to the synchronous output signal;
step S303, acquiring light quantity parameters of the current light quantity and the initial setting light quantity, and comparing the light quantity parameters to determine a deviation degree between the current light quantity and the initial setting light quantity.
The beneficial effects of the above technical scheme are: the method has the advantages that the target light quantity is more convenient and accurate to determine by utilizing the signal reference value compared with the light quantity detected directly, and further, the deviation degree between the current light quantity and the initially set light quantity can be rapidly determined by comparing the light quantity parameters, and a reference sample can be provided for the subsequent adjustment of the projection brightness of the target projector.
In one embodiment, the automatically adjusting the projection brightness of the target projector light source according to the deviation degree comprises:
determining the target projection brightness of the target projector according to the deviation degree;
detecting the current projection brightness of the target projector;
and determining whether the target projection brightness is the same as the current projection brightness, if so, no subsequent operation is needed, and otherwise, automatically adjusting the projection brightness of the target projector from the current projection brightness to the target projection brightness.
The beneficial effects of the above technical scheme are: the accurate adjustment of the projection brightness of the target projector can be realized, errors are avoided, and the experience of a user is further improved.
In one embodiment, the obtaining an environmental parameter of an environment in which the target projector is located, and secondarily adjusting the projection brightness of the target projector according to the environmental parameter includes:
detecting the current brightness and the current visibility in the environment where the target projector is located, and confirming the current brightness and the current visibility as the environment parameters;
confirming an influence factor on a projection image of the target projector according to the current brightness and the current visibility;
and determining whether the influence factor is greater than or equal to a preset threshold value, if so, carrying out secondary adjustment on the projection brightness of the target projector, and otherwise, not needing to carry out subsequent operation.
The beneficial effects of the above technical scheme are: the influence factor of the environmental parameter of the environment where the target projector is located on the projection image is calculated, so that the projection brightness of the target projector can be selectively adjusted according to the calculation condition, manual adjustment is not needed, and the experience of a user is further improved.
In one embodiment, the method further comprises:
constructing a vision measurement system, and establishing a preset vision coordinate system in the vision measurement system;
determining target coordinates of the eyes of a user of the target projector in the preset visual coordinate system;
monitoring the target coordinates to obtain a monitoring video;
preprocessing the monitoring video to obtain a preprocessed monitoring video, and judging the visual fatigue degree of the preprocessed monitoring video by utilizing a preset human eye visual function in the visual measurement system to obtain the target visual fatigue degree of a user;
and determining whether the target visual fatigue is greater than or equal to a preset fatigue, if so, intelligently adjusting the projection brightness of the target projector, and otherwise, controlling the projection brightness of the target projector to keep the current projection brightness.
The beneficial effects of the above technical scheme are: the eye fatigue of users can be evaluated in real time by constructing a vision measuring system, so that the projection brightness of the target projector can be intelligently adjusted, the visual health of the users can be effectively protected, and the film watching experience of the users cannot be influenced.
In one embodiment, the method further comprises:
detecting the current working temperature of the target projector, and comparing the current working temperature with a preset working temperature;
when the current working temperature is higher than the preset working temperature, confirming that the power consumption of the target projector needs to be reduced, and reducing the projection brightness of the target projector;
when the current working temperature is less than or equal to the preset working temperature, acquiring a target vision value of a user;
determining a projection brightness range which does not damage the vision of a user according to the target vision value;
pushing the projection brightness range to a user mobile phone terminal to obtain the expected projection brightness selected by the user;
and adjusting the projection brightness of the target projector from the current projection brightness to the expected projection brightness.
The beneficial effects of the above technical scheme are: the service life of the target projector can be prolonged, the eyesight health of users can be further ensured, the users can select the required expected projection brightness, and the use experience of the users is further improved while the practicability is improved.
In an embodiment, the step of determining the visual fatigue degree of the preprocessed surveillance video by using a preset human eye visual function in the visual measurement system to obtain the target visual fatigue degree of the user includes:
performing frame processing on the preprocessed monitoring video to obtain a plurality of monitoring images;
determining the blinking frequency of a user according to the monitoring images;
constructing a periodic blinking frequency curve of the user according to the blinking frequency of the user and a preset period;
acquiring a first cycle parameter of a user in a full-energy state and a second cycle parameter of the user in an extreme fatigue state based on a periodic blinking frequency curve of the user;
dividing the range of the circulation parameters between the first circulation parameter and the second circulation parameter into a plurality of circulation parameter intervals according to a preset grading system on the basis of the first circulation parameter and the second circulation parameter;
constructing a fatigue evaluation model of the user according to the first cycle parameter, the second cycle parameter and the plurality of cycle parameter intervals;
processing the images of the multiple monitoring images to obtain eye characteristic parameters and abnormal behavior characteristic parameters of a user;
inputting the eye characteristic parameters into the fatigue evaluation model to obtain the fatigue degree grade in a user;
calculating a first fatigue degree of a user according to the eye characteristic parameter and the abnormal behavior characteristic parameter of the user and a quotient value of the fatigue degree grade and the total grade in the user by using a preset human eye vision function in the vision measurement system;
detecting environmental parameters in the environment where the target projector is located, and generating a correction factor according to the environmental parameters;
correcting the first fatigue degree by using the correction factor to obtain a second fatigue degree;
and confirming the second fatigue degree as the target visual fatigue degree of the user.
The beneficial effects of the above technical scheme are: the fatigue evaluation model of the user can be constructed to quickly determine the fatigue degree grade of the user according to the eye characteristic parameters of the user, whether the user is in a fatigue state can be quickly evaluated according to the grade, further, the fatigue degree of the user can be accurately calculated according to actual detection data through calculation of the fatigue degree of the user through an algorithm, the accuracy of a calculation result is improved, further, the calculated fatigue degree can be corrected by generating a correction factor according to the environmental parameters in the environment where the target projector is located to take the phonemes of the external environment for human fatigue into consideration, the calculation result is guaranteed to be more practical, and the calculation of the fatigue degree of the user can be accurately realized.
In one embodiment, the determining an impact factor for the target projector projected image according to the current brightness and the current visibility includes:
acquiring the linear distance from a light source of a target projector to a projection area;
dividing the projection area into a target number of sub-areas, and detecting an average pixel value of the projection image in each sub-area;
calculating the current projection coefficient of the target projector according to the linear distance from the light source of the target projector to the projection area, the current brightness, the current visibility and the average pixel value of the projection image in each sub-area:
where k is the current projection coefficient of the target projector, l is the linear distance from the light source of the target projector to the projection area, and l is the distance between the light source of the target projector and the projection area1Expressed as the current visibility, theta is expressed as the cleanliness of the light source of the target projector, Q1Expressed as the brightness of the light source, Q, of the target projector2Expressed as the current brightness, Q3Expressed as the current projection brightness or the target projection brightness, N is expressed as the number of sub-regions, SiThe average pixel value of the ith sub-area is expressed, e is a natural constant and takes a value of 2.72, delta is the definition of the overall projection image in the projection area, and f is the attenuation coefficient of the projection light;
calculating influence factors of the current brightness and the current visibility on a projection image of the target projector according to the current projection coefficient of the target projector:
wherein P represents an influence factor of the current brightness and the current visibility on the projection image of the target projector, F () represents a preset projection index function, S represents an average pixel value of the projection image of the projection area, M represents a light intensity of incident light of the light source of the target projector, and M represents a brightness of the projection image of the target projector1Is shown asThe intensity of the light, alpha, reflected by the projection area is expressed as a relaxation factor of the projection brightness of the target.
The beneficial effects of the above technical scheme are: whether the current brightness and the current visibility of the environment where the target projector is located influence the normal use of the target projector or not can be preliminarily judged by calculating the current projection coefficient of the target projector, more accurate data can be obtained under the influence of light source cleanliness and a light attenuation coefficient, further, the influence factor of the current brightness and the current visibility on the projection image of the target projector can be effectively obtained according to the current actual projection condition parameters of the target projector by calculating the influence factor of the current brightness and the current visibility on the projection image of the target projector by using the current projection coefficient of the target projector, the influence value of the current brightness and the current visibility of the environment where the target projector is located on the projection image of the target projector can be quickly evaluated, and data support is provided for the subsequent adjustment of the projection brightness of the target projector.
This embodiment also discloses a projector light source intelligence control system, as shown in fig. 4, this system includes:
an obtaining module 404, configured to obtain an initial set light amount of a light source of a target projector when the target projector starts to work;
a calculating module 402, configured to detect a synchronous output signal of the target projector, and calculate a deviation degree between a current light amount corresponding to the synchronous output signal and the initial set light amount;
a first adjusting module 403, configured to automatically adjust the projection brightness of the target projector light source according to the deviation degree;
and a second adjusting module 404, configured to obtain an environmental parameter of an environment where the target projector is located, and adjust the projection brightness of the target projector according to the environmental parameter.
The working principle and the advantageous effects of the above technical solution have been explained in the method claims, and are not described herein again.
It will be understood by those skilled in the art that the first and second terms of the present invention refer to different stages of application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.