Light projection method and light projection device

By using diffraction optical elements designed for divergent light sources in face recognition technology, analyzing the projection pattern to determine abnormal conditions and turning off the light source, the problems of complex structure, high cost and low light energy utilization in the existing technology are solved, and the problem of light energy utilization is realized. The safety of human eyes and the improvement of light energy utilization.

CN109932828BActive Publication Date: 2024-10-01HANGZHOU YUGUANG OPTOELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910113196.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-02-01
Filing Date
2019-02-13
Publication Date
2024-10-01
Estimated Expiration
2039-02-13

AI Technical Summary

Technical Problem

Among existing face recognition technologies, 3D face recognition modules have complex structures, increased sizes, increased costs, and low light energy utilization, and cannot effectively protect human eye safety when DOE is abnormal.

Method used

Diffractive optical elements designed for divergent light sources are used, and the status of the light source and diffractive optical elements is judged through pattern analysis. If abnormal, the light source is turned off, the structure is simplified, ITO is removed, and the light energy utilization rate is improved.

Benefits of technology

While ensuring the safety of human eyes, it can simplify the structure, reduce costs and improve light energy utilization, and avoid direct laser radiation hazards caused by DOE abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109932828B_ABST
    Figure CN109932828B_ABST
Patent Text Reader

Abstract

The present invention discloses a light projection method for ensuring safety, comprising: turning on a light source at a safe power; modulating the light emitted by the light source through a diffractive optical element to project a pattern on a target surface; collecting the pattern; judging whether the pattern is normal, and if normal, turning on the light source at a rated power, wherein the rated power is higher than the safe power. The present invention also discloses a light projection device for ensuring safety. The light projection method and light projection device according to the embodiments of the present invention can reduce the size of the optical system, simplify the structure, reduce costs, and improve the utilization rate of light energy while ensuring the safety of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical technology, and in particular to the field of technology for ensuring safety by analyzing projection patterns. Background Art

[0002] At present, most face recognition technologies are based on two-dimensional images, which have the problems of complicated steps for liveness detection and low security. The release of iPhone X has brought 3D face recognition technology into the consumer electronics market, solving the problems of complicated steps for liveness detection and low security. The 3D face recognition technology of iPhone X uses infrared laser as the light source, which is modulated into a random dot matrix by the diffraction optical element DOE and projected onto the face. The dot matrix forms the unique features of each face on the face, and then combined with the two-dimensional face image, the face features are extracted to complete face recognition. The power distribution of the laser modulated by DOE is dispersed, and the power per unit area is low, which is within the acceptable threshold for human eye safety. However, if the DOE is abnormal (cracked or detached), the unmodulated laser power distribution is concentrated, which will cause damage to the human eye if it is irradiated, so a set of measures to ensure the safety of the human eye is needed. The DOE of iPhone X has ITO (indium tin oxide semiconductor). By monitoring the capacitance of ITO, it is determined whether the DOE is abnormal. If an abnormality occurs, the laser is turned off to protect the human eye from the harm of direct laser irradiation.

[0003] How iPhone X facial recognition works Figure 1 The specific description is as follows:

[0004] 1. The proximity sensor works to detect the distance between the face and the face recognition module. When the distance is within a specific range (such as 200mm-700mm), the flood illuminator is activated to emit uniform infrared light to illuminate the face, and the infrared camera captures the face image;

[0005] 2. Turn off the floodlight, activate the dot projector, project the infrared dot matrix onto the face, and use the infrared camera to capture the dot matrix image of the face;

[0006] 3. Send the face image and face dot matrix image to the application processing unit to complete face recognition.

[0007] In this structure, an ITO detection module is required, which makes the face recognition module structure complex, increases the size and cost, and reduces the utilization rate of light energy.

[0008] The structure of the dot projector of iPhoneX, in which a collimating lens is arranged downstream of the optical path of the laser light source to collimate the laser. A diffractive optical element and ITO are arranged downstream of the optical path of the collimating lens. By monitoring the capacitance of ITO, it is determined whether the diffractive optical element is abnormal. If an abnormality occurs, the laser is turned off to protect the human eye from the harm of direct laser light.

[0009] The contents of the background technology section are merely the technologies known to the inventors and do not necessarily represent the prior art in the field. Summary of the invention

[0010] In view of one or more defects in the prior art, the present invention provides a light projection method and device to ensure safety. The embodiments of the present invention can apply the DOE designed for divergent light sources to face recognition, and propose a new human eye safety guarantee method, which can remove ITO, simplify the structure, reduce the size, reduce the cost, and improve the utilization rate of light energy.

[0011] In view of this, the present invention proposes a light projection method to ensure safety, comprising: turning on a light source with a safe power; modulating the light emitted by the light source through a diffraction optical element to project a pattern on a target surface; collecting the pattern; determining whether the pattern is normal, and if normal, turning on the light source with a rated power.

[0012] According to one aspect of the present invention, the light projection method further comprises: if the pattern is abnormal, turning off the light source, wherein the light source is preferably a laser light source, and the rated power is preferably higher than the safety power.

[0013] According to one aspect of the present invention, the light projection method further comprises: calculating the safety power based on the distance between the light source or the diffractive optical element and the target surface.

[0014] According to one aspect of the present invention, the light projection method further comprises: if the pattern is abnormal, determining that the fault lies in the light source and / or the diffractive optical element.

[0015] According to one aspect of the present invention, the light source is configured to emit divergent light of a non-plane wave, and the diffractive optical element is preferably a diffractive optical element that optically modulates the wavefront phase distribution of an incident light field.

[0016] According to one aspect of the present invention, no collimation process is performed by a collimating lens between the light source and the diffractive optical element, and / or the light is not filtered by ITO after being modulated by the diffractive optical element.

[0017] The present invention also provides a light projection device, comprising: a light source; a diffractive optical element, wherein the diffractive optical element is configured to modulate the light emitted by the light source to project a pattern on a target surface; an image acquisition device, wherein the image acquisition device is configured to acquire the pattern; and a processing device, wherein the processing device is coupled to the image acquisition device and determines whether the pattern is normal, and if normal, turns on the light source at rated power.

[0018] According to one aspect of the present invention, the processing device is configured to turn off the light source if the pattern is judged to be abnormal, wherein the light source is preferably a laser light source, wherein the light projection device may also include a proximity sensor and / or a distance sensor to measure the distance between the light source or the diffractive optical element and the target surface, and the processing device is further configured to calculate the safety power based on the distance between the light source or the diffractive optical element and the target surface, wherein the rated power is preferably higher than the safety power.

[0019] According to one aspect of the present invention, the light projection device further comprises: the processing device is further configured to judge that the fault lies in the light source and / or the diffractive optical element if the pattern is judged to be abnormal.

[0020] According to one aspect of the present invention, the light source is configured to emit divergent light of a non-plane wave, and the diffractive optical element is a diffractive optical element that optically modulates the wavefront phase distribution of an incident light field, wherein preferably, there is no collimating lens between the light source and the diffractive optical element, and / or no ITO is arranged on the surface of the diffractive optical element or downstream of the optical path.

[0021] The present invention also provides an electronic device, comprising: a body; and the light projection device as described above.

[0022] According to one aspect of the present invention, the electronic device also includes a proximity sensor and / or a distance sensor, and the proximity sensor and / or the distance sensor can detect the distance between the light projection devices. The processing device of the light projection device is configured to perform the following operations when it is detected that the distance is within a predetermined range: turn on the light source with a safe power; modulate the light emitted by the light source through a diffractive optical element to project a pattern on the target surface; collect the pattern; determine whether the pattern is normal, and if normal, turn on the light source with a rated power, wherein the rated power is preferably higher than the safety power.

[0023] According to the light projection method and light projection device of the embodiments of the present invention, the size of the optical system can be made smaller, the structure can be simplified, the cost can be reduced, and the utilization rate of light energy can be improved while ensuring the safety of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0025] Figure 1 The eye safety guarantee method of iPhoneX is shown;

[0026] Figure 2 A light projection method according to an embodiment of the present invention is shown;

[0027] Figure 3 A light projection method according to a preferred embodiment of the present invention is shown;

[0028] Figure 4 A light projection device according to an embodiment of the present invention is shown;

[0029] Figure 5 The light spot pattern under normal working condition is shown;

[0030] Fig. 6A and 6B shows a spot pattern when a diffractive optical element fails; and

[0031] Fig. 7A , 7B 7C and 7C show the light spot pattern when the light source fails. DETAILED DESCRIPTION

[0032] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0033] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0034] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0035] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is lower in level than the second feature.

[0036] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.

[0037] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0038] Figure 2 The light projection method 100 according to an embodiment of the present invention is shown, for example, for protecting the eyes of a user and preventing strong light from irradiating the eyes and causing damage to the eyes. The light projection method 100 of the present invention is not limited to protecting the safety of human eyes, but can also be used to protect the safety of other irradiated objects or surfaces, and does not constitute a limitation on the scope of protection of the present invention.

[0039] like Figure 2 As shown, in step S101, the light source is turned on with a safe power.

[0040] According to a preferred embodiment, the light source may be a laser light source. Those skilled in the art will appreciate that the protection scope of the present invention is not limited thereto, and other types of light sources may also be used, such as LED light sources, etc. The light source is, for example, configured to emit divergent light of a non-plane wave (such as a spherical wave).

[0041] In the present invention, safe power refers to the light source power that is safe for the user or the user's eyes. The safe power can be determined based on parameters such as the light source type and the irradiation distance. Taking a laser light source as an example, the laser light source wavelength can be obtained based on the parameters of the laser light source, and then according to Part 14 of the National Standard of the People's Republic of China - Safety of Laser Products, the threshold R of the laser radiation power allowed for the irradiated object, such as the human eye, is calculated within a certain period of time. And under the condition that the diffraction optical element is detached, that is, the laser light source is directly irradiated onto the object (such as the human eye), the safe power P of the laser light source is calculated as a benchmark for ensuring the safety of the human eye. According to a preferred embodiment, the irradiation distance is referenced when calculating the safe power. The power is related to the distance. For example, the working distance from the face to the optical module can be detected by a proximity sensor and / or a distance sensor. Taking a working distance of 200mm as an example, the emission wavelength is λ=940nm, the irradiation time is set to t=50ms, and the calculated MPE=4.42mw. The distance between the laser light source and the human eye is 200mm, and the calculated laser light source power is 372mw. That is, when the laser light source power is 372mw and the distance between the human eye and the laser light source is higher than 200mm, even if the diffractive optical element DOE falls off, the human eye is safe, that is, equal to or lower than this power, which is the safe power.

[0042] In step S102, the light emitted by the light source is modulated by a diffractive optical element to project a pattern on a target surface.

[0043] Currently, the common diffractive optical element DOE is designed for collimated light (for example, the optical module of the iPhone includes a collimating lens). According to a preferred embodiment of the present invention, the diffractive optical element of the present invention can modulate the divergent light of non-plane waves. It is a diffractive optical element designed for the parameters of the laser irradiation light source, and optically modulates the wavefront phase distribution of the incident light field (for example, through iterative analysis of optical Fourier propagation). The wavefront of the incident light field can be either a plane wave or a non-plane wave (for example, a spherical wave). The diffractive optical element is a diffractive optical element that is optically designed for the wavefront and other parameters of the laser light source, and is used to achieve the light field distribution required by the optical system. The light field of the laser light source is optically modulated by the diffractive optical element and propagates along a specific angle region.

[0044] In step S103, the pattern is collected.

[0045] For example, a pattern projected onto a target surface (eg, a human face) may be captured by a camera or a video camera.

[0046] In step S104, it is determined whether the pattern is normal, and if normal, the light source is turned on at rated power.

[0047] When the diffractive optical element works properly, the pattern projected on the target surface should be randomly distributed, such as Figure 5 As shown, the distribution is relatively uniform and dense. However, when the diffractive optical element fails or falls off, the projected pattern may be a large blurred spot. Fig. 6A The figure shows the spot pattern when an abnormality occurs in the diffractive optical element, such as cracking. It can be seen that after the diffractive optical element is broken, noise exists locally. Figure 6B The figure shows the spot pattern when the diffractive optical element has an abnormality, such as falling off. Due to the lack of modulation of the diffractive optical element, an abnormally large spot appears on the pattern. Fig. 7A The figure shows a pattern when a VCSEL has a dead pixel, where it can be seen that there are large gaps in the dot matrix. Figure 7B The pattern when the VCSEL has many defective pixels is shown. Figure 7C The pattern when the VCSEL is completely off is shown, and the image is completely black. After the pattern is collected, by processing and analyzing the image, it can be determined whether the projected pattern is normal.

[0048] Those skilled in the art will understand that the rated power described herein can be a fixed value or a variable value, such as a variable value determined according to one or more factors such as the environment, light intensity, battery, etc. The rated power is the power that enables the light source to work normally. For example, when the external light is strong, the rated power of the light source must be large to ensure that the pattern projected on the target surface is clearly visible and can be collected and processed; when the external light is weak, the rated power of the light source can be slightly lower, that is, to ensure that the projected pattern is clearly visible and meets the requirements of collection and processing. These are all within the scope of protection of the present invention. Preferably, the rated power is higher than the safety power. However, the present invention is not limited to this.

[0049] Figure 3 A light projection method 200 according to a preferred embodiment of the present invention is shown.

[0050] Steps S201, S202, S203, S204, and S205 in the light projection method 200 correspond to steps S101, S102, S103, and S104 in the light projection method of the previous embodiment, and will not be described in detail here.

[0051] In the light projection method 200, if the image is judged to be abnormal in step S204, the light source is turned off (step S206). When the image is judged to be abnormal, it indicates that the diffractive optical element and / or the light source has failed. At this time, turning off the light source can completely avoid damage to the user.

[0052] According to a preferred embodiment of the present invention, the light projection method 200 further comprises: if the pattern is abnormal, in step S207, determining that the fault lies in the light source and / or the diffractive optical element. Fig. 7A , 7B As shown in 7C, the pattern when the light source fails and the pattern when the diffractive optical element fails have their own characteristics. The fault location can be performed based on the fault pattern to determine whether the fault comes from the light source, the diffractive optical element, or both. For example, a fault library can be established based on the spot patterns under various faults. After the spot patterns are collected, the spot patterns are compared with various fault patterns in the fault library through pattern recognition methods to identify the fault mode and determine the location of the fault.

[0053] Those skilled in the art will appreciate that although Figure 3 It is shown that step S206 is performed first and then step S207, but the protection scope of the present invention is not limited to the order of step S206 and step S207. The steps can be performed in the order of step S206 and step S207, or in the order of step S207 and step S206, or both can be performed at the same time. All of these are within the protection scope of the claims of the present invention.

[0054] According to a preferred embodiment of the present invention, in the light projection methods 100 and 200, no collimation is performed between the light source and the diffractive optical element through a collimating lens. Since the diffractive optical element of the present invention can modulate divergent light, it is a diffractive optical element designed for the parameters of the laser irradiation light source, and optical modulation is performed on the incident light field wavefront phase distribution, such as iterative analysis of optical Fourier propagation, and the wavefront of the incident light field can be either a plane wave or a non-planar light (such as a spherical wave).

[0055] According to a preferred embodiment of the present invention, in the light projection methods 100 and 200, the light is modulated by the diffractive optical element but not filtered by ITO.

[0056] Reference below Figure 4 A light projection device 300 according to the present invention is described. The light projection device 300 can be used to implement the light projection methods 100 and 200 according to the present invention.

[0057] like Figure 4 As shown, the light projection device 300 includes a light source 301 , a diffractive optical element 302 , an image acquisition device 303 , and a processing device 304 .

[0058] The light source 301 is preferably a laser light source, but it can also be other types of light sources, such as LED light sources. The light source is preferably configured to emit divergent light of non-plane waves.

[0059] After receiving the light emitted by the light source 301, the diffractive optical element 302 can modulate the light emitted by the light source and project a pattern on the target surface 306. The target surface 306 can be, for example, a human face or the surface of other objects.

[0060] The image acquisition device 303 is, for example, a camera or a still camera, and can acquire the pattern projected on the target surface 306 .

[0061] The processing device 304 is coupled to the image acquisition device 303, receives the pattern acquired by the image acquisition device 303 and processes it to determine whether the pattern is normal. If the pattern is normal, the light source 301 is turned on at the rated power. The rated power is preferably higher than the safety power. The definitions of the rated power and the safety power are as above and will not be repeated here.

[0062] According to a preferred embodiment of the present invention, the processing device 304 is further configured to turn off the light source if the pattern is judged to be abnormal. When the pattern projected by the diffractive optical device 302 onto the target surface 306 is abnormal, it indicates that the light source or the diffractive optical device has a fault. In this case, in order to avoid damage to the user's eyes or other target surfaces, it is best to turn off the light source. After the fault is identified and repaired, the system is restarted.

[0063] According to a preferred embodiment of the present invention, the light projection device 300 may also include a proximity sensor (not shown) and / or a distance sensor to measure the distance between the light source or the diffractive optical element and the target surface. After measuring the distance between the light source or the diffractive optical element and the target surface, the processing device may calculate the safety power based on the distance. The safety power calculated in this way is more accurate. In addition, the proximity sensor and / or the distance sensor can also help to start the light source 301 in time. For example, when it is sensed that the target surface (such as a face) enters a certain distance range, this sensing event can trigger the light source 301 to start with a safety power, and after being modulated by the diffractive optical element, a pattern is projected on the target surface 306, and the image acquisition device 303 acquires the pattern, and the processing device 304 processes it to determine whether the pattern is abnormal.

[0064] According to a preferred embodiment of the present invention, the processing device 304 is further configured to determine that the fault lies in the light source and / or the diffractive optical element if the pattern is judged to be abnormal.

[0065] According to a preferred embodiment of the present invention, the light source 301 is configured to emit divergent light of a non-plane wave (e.g., a spherical wave), and the diffractive optical element 302 is configured to optically modulate the wavefront phase distribution of the incident light field, wherein preferably, there is no collimating lens between the light source and the diffractive optical element, and / or no ITO is arranged on the surface of the diffractive optical element or downstream of the optical path.

[0066] According to the embodiments of the present invention, since there is no need to set a collimating lens between the light source and the diffractive optical element, and there is no need to set ITO on the surface of the diffractive optical element for safety protection, the size of the overall optical system can be made very small. This is a great advantage for electronic devices, especially mobile phones, which are becoming increasingly compact in size.

[0067] The present invention also relates to an electronic device, comprising: a main body and the light projection device as described above. The electronic device can be various types of electronic devices such as a mobile phone, a PAD, a portable computer, a face recognition device, a monitoring device, etc. The light projection device can be installed on the main body or physically separated from the main body.

[0068] According to a preferred embodiment, the electronic device of the present invention further includes a proximity sensor and / or a distance sensor, which can detect the distance between the light projection device and the surface of the target object, and the processing device of the light projection device is configured to perform the following operations when it is detected that the distance is within a predetermined range: turn on the light source with a safe power; modulate the light emitted by the light source through a diffractive optical element to project a pattern on the target surface; collect the pattern; determine whether the pattern is normal, and if normal, turn on the light source with a rated power. The rated power is preferably higher than the safe power.

[0069] The predetermined range is, for example, 200-700 mm.

[0070] The above mainly describes various embodiments of the present invention by taking the human eye as an example. Those skilled in the art will appreciate that the application of the present invention is not limited thereto and can be used in various other occasions, such as skin scanning and irradiation, object scanning and identification, and other fields that require safety assurance.

[0071] Although the foregoing detailed description has been described through the use of block diagrams, flow charts and / or examples, various examples of devices and / or processes are described, such block diagrams, flow charts and / or examples contain one or more functions and / or operations, and those skilled in the art will understand that each function and / or operation within such block diagrams, flow charts or examples can be implemented individually and / or uniformly by a variety of hardware, software, firmware or almost any combination thereof. In one example, several parts of the subject matter described herein may be implemented via an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP) or other integrated forms. However, those skilled in the art will understand that some aspects of the examples disclosed herein may be implemented in whole or in part equivalently in an integrated circuit, implemented as one or more computer programs running on one or more computers (e.g., implemented as one or more programs running on one or more computer systems), implemented as one or more programs running on one or more processors (e.g., implemented as one or more programs running on one or more microprocessors), implemented as firmware, or implemented as almost any combination of the above, and according to the content of the present disclosure, designing circuits and / or writing codes for the software and / or firmware will be within the skill of those skilled in the art. For example, if the user determines that speed and accuracy are important, the user may select a primarily hardware and / or firmware medium; if flexibility is important, the user may select a primarily software implementation; or, alternatively, the user may select some combination of hardware, software, and / or firmware.

[0072] In addition, those skilled in the art will appreciate that the mechanisms of the subject matter described herein can be distributed as a program product in various forms, and that the illustrative examples of the subject matter described herein apply regardless of the specific type of signal-bearing medium actually used to implement the distribution. Examples of signal-bearing media include, but are not limited to, the following: recordable media such as floppy disks, hard drives, compact disks (CDs), digital video disks (DVDs), digital tapes, computer memories, etc.; and transmission-type media such as digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0073] It will be understood by those skilled in the art that it is common in the art to describe the device and / or process in the manner set forth herein, and thereafter to integrate the device and / or process described in this manner into a data processing system using engineering practice. That is, at least a portion of the device and / or process described herein can be integrated into a data processing system through a reasonable amount of experimentation. It will be understood by those skilled in the art that a typical data processing system typically includes one or more of the following: a system unit housing, a video display device, a memory such as a volatile and non-volatile memory, a processor such as a microprocessor and a digital signal processor, a computing entity such as an operating system, a driver, a graphical user interface, and an application program, one or more interactive devices such as a touch pad or a touch screen, and / or a control system including a feedback loop and a control motor (e.g., feedback for sensing position and / or velocity; a control motor for moving and / or adjusting components and / or quantities). A typical data processing system can be implemented using any suitable commercially available components, such as components commonly found in data computing / communication and / or network computing / communication systems.

[0074] The subject matter described herein sometimes illustrates different components contained in different other components or different components connected with different other components.It should be understood that these depicted architectures are only examples, and in fact many other architectures that realize the same function can be implemented.In a conceptual sense, any arrangement of the components realizing the same function is effectively "associated" so as to realize the desired function.Therefore, any two components combined here to realize a specific function can be considered as "associated" with each other so as to realize the desired function, regardless of the architecture or intermediate components.Equally, any two components so associated can also be considered as "operably connected" or "operably coupled" to realize the desired function, and any two components that can be so associated can also be considered as "operably coupled" to realize the desired function.The specific example that can be operably coupled includes but is not limited to components that can be physically combined and / or physically interacted and / or components that can wirelessly interact and / or wirelessly interact and / or components that can logically interact and / or components that can logically interact.

[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0076] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A light projection method for ensuring safety, comprising: Turn on the light source at a safe power; modulating the light emitted by the light source through a diffractive optical element to project a pattern on a target surface; collecting the pattern; determining whether the pattern is normal, and if normal, turning on the light source at rated power; If the pattern is abnormal, turning off the light source; According to the respective characteristics of the pattern when the light source fails and the pattern when the diffractive optical element fails, the collected pattern is compared with the fault pattern in the fault library to determine whether the fault lies in the light source, or in the diffractive optical element, or in both the light source and the diffractive optical element.

2. The light projection method according to claim 1, characterized in that: Also includes: The light source is a laser light source, and the rated power is higher than the safety power.

3. The light projection method according to claim 1 or 2, characterized in that: Also includes: The safety power is calculated based on a distance between the light source or the diffractive optical element and the target surface.

4. The light projection method according to claim 1 or 2, characterized in that: The light source is configured to emit divergent light of a non-plane wave, and the diffractive optical element is a diffractive optical element that optically modulates a wavefront phase distribution of an incident light field.

5. The light projection method according to any one of claims 1 to 2, characterized in that: The light source and the diffractive optical element are not collimated by a collimating lens, and / or the light is not filtered by ITO after being modulated by the diffractive optical element.

6. A light projection device, comprising: light source; a diffractive optical element configured to modulate the light emitted by the light source to project a pattern on a target surface; an image acquisition device, wherein the image acquisition device is configured to acquire the pattern; a processing device, the processing device being coupled to the image acquisition device, the processing device being configured to turn on the light source at a safe power and determine whether the pattern is normal, and if normal, turn on the light source at a rated power; If the pattern is abnormal, turning off the light source; According to the respective characteristics of the pattern when the light source fails and the pattern when the diffractive optical element fails, the collected pattern is compared with the fault pattern in the fault library to determine whether the fault lies in the light source, or in the diffractive optical element, or in both the light source and the diffractive optical element.

7. The light projection device according to claim 6, characterized in that The light source is a laser light source, wherein the light projection device may further include a distance sensor to measure the distance between the light source or the diffractive optical element and the target surface, and the processing device is further configured to calculate the safety power based on the distance between the light source or the diffractive optical element and the target surface, wherein the rated power is higher than the safety power.

8. The light projection device according to claim 6 or 7, characterized in that: The light source is configured to emit divergent light of a non-plane wave, and the diffractive optical element is a diffractive optical element that optically modulates the wavefront phase distribution of an incident light field, wherein there is no collimating lens between the light source and the diffractive optical element, and / or no ITO is arranged on the surface of the diffractive optical element or downstream of the optical path of the diffractive optical element.

9. An electronic device, comprising: ontology; and A light projection device as claimed in any one of claims 6 to 8.

10. The electronic device according to claim 9, characterized in that: The device further includes a distance sensor, wherein the distance sensor can detect the distance between the light projection device and the target surface, and the processing device of the light projection device is configured to perform the following operations when detecting that the distance is within a predetermined range: Turn on the light source at a safe power; modulating the light emitted by the light source through a diffractive optical element to project a pattern on a target surface; collecting the pattern; It is determined whether the pattern is normal, and if normal, the light source is turned on with a rated power, wherein the rated power is higher than the safety power.