Projection method and device, electronic equipment and storage medium

By adjusting the distance and angle between the optical lens of the projection device and the display chip, the problem of low global clarity of the projection picture during side projection is solved, and a more efficient projection effect is achieved.

CN119865588APending Publication Date: 2025-04-22CHENGDU XGIMI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311362371.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-19
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

When the existing projection equipment is side projecting, there are differences in the display distances of each area of ​​the projection screen, resulting in low global clarity and poor projection effect.

Method used

By acquiring the position of the projection device, the first distance and first angle between the optical lens and the display chip are determined, and the optical path is adjusted physically, so that the clarity of each area is balanced and intelligent adjustment of global clarity is achieved.

Benefits of technology

It realizes that the projection device automatically and quickly adjusts the global clarity of the projection screen when side projecting, and improves projection efficiency and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865588A_ABST
    Figure CN119865588A_ABST
Patent Text Reader

Abstract

The invention provides a projection method, which is applied to projection equipment and comprises the following steps: acquiring a pose of the projection equipment; determining a first distance and a first angle between an optical lens and a display chip based on the pose of the projection equipment; adjusting the distance between the optical lens and the display chip to be the first distance, and adjusting the angle between the optical lens and the display chip to be a first angle; and performing projection based on the first distance and the first angle. The invention further provides a projection device, electronic equipment and a storage medium. Through the projection method provided by the invention, the distance and angle between the optical lens and the display chip are intelligently adjusted, the definition of each area of the projection picture is improved in a balanced manner, the time for automatically adjusting the global definition of the projection picture when the projection equipment aims at side projection is shortened, and the projection efficiency and performance of the projection equipment are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of projection technology, and relates to but is not limited to a projection method, device, electronic device and storage medium. Background Art

[0002] As a display device, projection equipment has the advantages of small size, easy placement, and large screen size. It is widely used in home, industrial and other fields. The optical path of existing projection equipment is often designed to achieve an ideal clarity display effect in front projection. However, in real life, due to environmental restrictions, it is often necessary to place it not directly facing the projection target display position. When the projection is side-projected, there is a certain difference in the display distance between different areas of the projection screen, resulting in low global clarity of the projected screen and poor projection effect in side projection.

[0003] In order to solve the problem of low global clarity and poor effect of side projection, the existing technology improves the clarity of the projected image by increasing the complexity of the optical structure and adding lenses. However, the existing technology can only guarantee the clarity of some areas in the projected image, and cannot improve the global clarity of the projected image. Therefore, how to improve the clarity of each area in the side projection image and achieve better global clarity of the side projection image is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a projection method, device, electronic device and storage medium.

[0005] The technical solution of this application is achieved as follows:

[0006] The present application provides a projection method, which is applied to a projection device, and the projection method includes:

[0007] Obtaining the position and posture of the projection device;

[0008] Based on the posture of the projection device, determining a first distance and a first angle between the optical lens and the display chip;

[0009] Adjusting the distance between the optical lens and the display chip to the first distance, and adjusting the angle between the optical lens and the display chip to the first angle;

[0010] Projecting is performed based on the first distance and the first angle.

[0011] The present application provides a projection device, the projection device comprising:

[0012] An acquisition unit, used for acquiring the position and posture of the projection device;

[0013] A determination unit, configured to determine a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device;

[0014] an adjusting unit, used for adjusting the distance between the optical lens and the display chip to the first distance, and adjusting the angle between the optical lens and the display chip to the first angle;

[0015] A projection unit is used for performing projection based on the first distance and the first angle.

[0016] The present application provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing the above-mentioned projection method when executing the executable instructions stored in the memory.

[0017] The present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute the executable instructions to implement the above-mentioned projection method.

[0018] The projection method provided by the present application obtains the posture of the projection device, determines the first distance and the first angle between the optical lens and the display chip according to the posture of the projection device, adjusts the distance between the optical lens and the display chip to the first distance, and adjusts the angle between the optical lens and the display chip to the first angle. In this way, after determining the first distance and the first angle between the optical lens and the display chip, the optical path is changed by a physical method of adjusting the distance and the angle between the optical lens and the display chip, so that the clarity of each area of ​​the projection picture is evenly improved, and the projection device can intelligently adjust the global clarity of the projection picture. In addition, the projection device can automatically and quickly determine the first distance and the first angle between the optical lens and the display chip, and intelligently adjust the distance and the angle between the optical lens and the display chip according to the first distance and the first angle, thereby shortening the time for the projection device to automatically adjust the global clarity of the projection picture during side projection, and further improving the projection efficiency and performance of the projection device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 An optical principle of a projection device provided in an embodiment of the present application;

[0020] Figure 2 A projection method process provided in the embodiment of the present application Figure 1 ;

[0021] Figure 3 A projection method process provided in the embodiment of the present application Figure 2 ;

[0022] Figure 4 A projection method process provided in the embodiment of the present application Figure 3 ;

[0023] Figure 5 A projection method process provided in the embodiment of the present application Figure 4 ;

[0024] Figure 6 The embodiment of the present application provides a projection method process Figure 5 ;

[0025] Figure 7 The embodiment of the present application provides a projection method process Figure 6 ;

[0026] Figure 8 The embodiment of the present application provides a projection method process Figure 7 ;

[0027] Fig. 9 The embodiment of the present application provides a projection method process Figure 8 ;

[0028] Fig.10 A schematic diagram of the structure of a projection device provided in an embodiment of the present application;

[0029] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0031] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the technical field of the embodiments of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0032] At present, when the existing projection equipment is used for side projection, there is a certain difference in the distance between the projection equipment and different areas of the projection screen, which leads to the problem that the global clarity of the projected screen is not high and the projection effect is poor. Therefore, the projection distance from the projection equipment to the center of each area in the projection surface corresponds to a different target focal length. Only when each projection distance corresponds to the target focal length can each area of ​​the projection screen display a clear picture. Figure 1As shown, Figure 1 This is the optical schematic diagram of the projection equipment. Figure 1 Characterizes the correspondence between the projection distance from the projection device to the projection surface and the target focal length corresponding to the resolution (clarity), where: Figure 1 The horizontal axis is the projection distance from the projection device to the projection surface, and the vertical axis is the target focal length corresponding to each projection distance. The target focal length refers to the focal length at which the image source in the projection device can be clearly displayed. Figure 1 The curve in the figure is the corresponding relationship between the projection distance of the ideal projection device and the target focal length. Therefore, when side projection is used, the projection distance from the projection device to the projection surface should be as close as possible to the projection distance of the target focal length. Figure 1 The curves in coincide with each other, such as Figure 1 The shaded curve segments in . Figure 1 The shaded vertical line in the figure is the depth of field of the optical lens. Here, the depth of field is the distance range of the object in front and behind the lens or other imager that can obtain a clear image. In layman's terms, the scene at the focal plane of the object will form a clear image on the film. There is a range from somewhere in front of the focal plane to somewhere behind it, and the scene within it can form a clear image. This range is called the depth of field. Figure 1 It can be seen that the conventional projection optical lens cannot fully cover the clearest position when side projection is used.

[0033] Existing projection equipment includes digital light processing (DLP) projection and liquid crystal display (LCD) projection. Since the focal length of the overall optical machine of DLP is small and the depth of field is large, but the image surface of DLP is small, a larger magnification is required to achieve the same projection ratio of the projection optical machine. Since the image surface of LCD projection equipment is large, the focal length is large and the depth of field is shallow when achieving the same projection ratio. The optical path design of existing projection equipment is to achieve the ideal clarity display effect when it is projected frontally. In real life, due to the limitation of the projection environment, it is necessary to project sideways, resulting in the problem that the global clarity of the projected picture is not high and the projection effect is poor when projecting sideways.

[0034] Based on the defects of existing projection equipment, in order to solve the problem that the global clarity of the projected image is high but the effect is poor when projecting from the side, the existing technology improves the clarity of the projected image by increasing the complexity of the optical structure, adding lenses, etc. However, the existing technology can only guarantee the clarity of some areas of the projected image, and cannot improve the clarity of each area of ​​the projected image, thereby failing to achieve global clarity improvement. In addition, the existing technology increases the complexity of the optical structure in the optical lens or adds lenses, which invisibly increases the cost of the projection equipment.

[0035] Based on the above-mentioned related issues, an embodiment of the present application provides a projection method, which obtains the posture of the projection device, determines the first distance and the first angle between the optical lens and the display chip according to the posture of the projection device, adjusts the distance between the optical lens and the display chip to the first distance, and adjusts the angle between the optical lens and the display chip to the first angle. In this way, after determining the first distance and the first angle between the optical lens and the display chip, the optical path is changed by adjusting the physical method of the distance and the angle between the optical lens and the display chip, so that the clarity of each area of ​​the projection picture is evenly improved, and the projection device can intelligently adjust the global clarity of the projection picture. In addition, the projection device can automatically and quickly determine the first distance and the first angle between the optical lens and the display chip, and intelligently adjust the distance and the angle between the optical lens and the display chip according to the first distance and the first angle, thereby shortening the time for the projection device to automatically adjust the global clarity of the projection picture during side projection, and further improving the projection efficiency and performance of the projection device.

[0036] In the embodiments of the present application, the projection method is applicable to any projection device, including but not limited to liquid crystal display (LCD), digital light processor (DLP), cathode ray tube (CRT) and liquid crystal on silicon (LCOS) projectors. The projection device can also be a mobile device (for example, a mobile phone, a satellite phone, a portable projection player, a personal digital assistant, a dedicated projection device, a portable projection device), a laptop computer, a tablet computer, a desktop computer, a smart watch, and other terminals with projection function.

[0037] In the embodiments of the present application, Figure 2 This is a projection method process provided by the embodiment of the present application Figure 1 ,like Figure 2 As shown, the projection method includes:

[0038] Step S210: Acquire the position and posture of the projection device.

[0039] In the embodiment of the present application, the posture of the projection device includes the working distance and working posture angle of the projection device. The working distance can be understood as the vertical distance from the projection device as the origin to the projection surface. The working posture angle can be understood as the angle between the optical lens of the projection device and the projection surface. The projection surface here refers to a medium that can display the projection image, including but not limited to any type of equipment such as walls, projection screens, ceilings, televisions, and display screens.

[0040] In the embodiment of the present application, the method of obtaining the posture of the projection device can collect data through an inertial measurement unit (IMU) sensor, a gyroscope sensor, a time of flight (TOF) three-dimensional sensor and other devices with data collection functions, wherein the data includes the time from the infrared light emitted by the sensor to the reflection back, and the vertical distance from the infrared light emitted to the projection surface. After calculating and processing the data, the posture between the optical lens and the projection surface is obtained. Of course, the method for determining the posture between the optical lens and the projection surface includes but is not limited to the method provided in the embodiment of the present application, and the posture between the optical lens and the projection surface can also be determined by other methods, and the embodiment of the present application does not specifically limit this.

[0041] Step S220: determining a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device.

[0042] In the embodiment of the present application, the first distance refers to the distance between the optical lens and the display chip when the global clarity of the projected picture of the projection device meets the preset conditions, and the first angle refers to the angle between the optical lens and the display chip when the global clarity of the projected picture of the projection device meets the preset conditions.

[0043] In the embodiments of the present application, the optical lens of the projection device is a device used for imaging, and most of them are convex lenses. The optical lens is divided into short-focus, medium-focus and long-focus according to the installation distance of the projection device and the size of the playback screen. Among them, short-focus is used for laser TVs, museums, science and technology museums and other spaces with relatively small installation distances; medium-focus is used for school classrooms, conference rooms, auditoriums, etc.; long-focus is used for architectural projection, theaters, stadiums, etc. The embodiments of the present application do not specifically limit the focal length of the optical lens.

[0044] In the embodiment of the present application, the display chip refers to the plane where the image source, i.e. the projected image, is located in the projection device, wherein the image on the display chip is refracted by the optical lens and projected. In general projection devices, the display chip can be understood as an image display chip, such as a digital micromirror device (DMD) chip, which is not specifically limited in the embodiment of the present application.

[0045] In the embodiments of the present application, the optical lens and the display chip may exist separately in two components, or may be integrated in the same component. For example, the component composed of the optical lens and the display chip may be used as an adjustable optical machine in the present application, and the embodiments of the present application do not make any specific limitations on this.

[0046] Step S230: adjusting the distance between the optical lens and the display chip to the first distance, and adjusting the angle between the optical lens and the display chip to the first angle.

[0047] In the embodiment of the present application, the distance between the optical lens and the display chip can be understood as the vertical distance from the optical center of the optical lens to the plane where the display chip is located, or the distance from the optical center of the optical lens to the center of the display chip. The angle between the optical lens and the display chip can be understood as the acute angle formed by the intersection of the plane where the optical lens is located and the plane where the display chip is located.

[0048] In the embodiment of the present application, both the optical lens and the display chip are adjustable. The distance and angle between the optical lens and the display chip can be changed by moving the optical lens and the display chip at the same time. The optical lens can also be adjusted to change the distance between the optical lens and the display chip, and the display chip can be adjusted to change the angle between the optical lens and the display chip. The embodiment of the present application does not specifically limit how to move the optical lens and the display chip.

[0049] In another embodiment of the present application, only the optical lens may be adjustable, or only the display chip may be adjustable. For example, the distance and angle between the optical lens and the display chip may be changed by moving only the optical lens, or the distance and angle between the optical lens and the display chip may be changed by moving only the display chip. In this way, the first distance and the first angle between the optical lens and the display chip can be achieved. As long as the distance and the angle between the optical lens and the display chip reach the first distance and the first angle, the embodiments of the present application do not specifically limit how to move the optical lens or the display chip.

[0050] In an embodiment of the present application, if the determined first distance is the same as the distance between the current optical lens and the display chip, then adjusting the distance between the optical lens and the display chip to the first distance does not actually require adjusting the distance between the optical lens and the display chip; if the determined first angle is the same as the angle between the current optical lens and the display chip, then adjusting the angle between the optical lens and the display chip to the first angle does not actually require adjusting the distance between the optical lens and the display chip.

[0051] In the embodiments of the present application, the method for adjusting the distance and angle between the optical lens and the display chip includes but is not limited to using a driving motor to control the rotation of the optical lens and / or the display chip. The driving motor may also be used to control the deformation of a spring to drive the optical lens and / or the display chip to rotate. The embodiments of the present application do not specifically limit the method for adjusting the distance and angle between the optical lens and the display chip.

[0052] Step S240: performing projection based on the first distance and the first angle.

[0053] In the embodiment of the present application, after the distance between the optical lens and the display chip is adjusted to a first distance, and the angle between the optical lens and the display chip is adjusted to a first angle, projection is performed at the first distance and the first angle.

[0054] In an embodiment of the present application, the posture of the projection device is obtained, and the first distance and the first angle between the optical lens and the display chip are determined according to the posture of the projection device, the distance between the optical lens and the display chip is adjusted to the first distance, and the angle between the optical lens and the display chip is adjusted to the first angle. In this way, after determining the first distance and the first angle between the optical lens and the display chip, the optical path is changed by a physical method of adjusting the distance and the angle between the optical lens and the display chip, so that the clarity of each area of ​​the projection picture is evenly improved, and the projection device can intelligently adjust the global clarity of the projection picture. In addition, the projection device can automatically and quickly determine the first distance and the first angle between the optical lens and the display chip, and intelligently adjust the distance and the angle between the optical lens and the display chip according to the first distance and the first angle, thereby shortening the time for the projection device to automatically adjust the global clarity of the projection picture during side projection, and further improving the projection efficiency and performance of the projection device.

[0055] In the embodiments of the present application, Figure 3 This is a projection method process provided by the embodiment of the present application Figure 2 ,like Figure 3 As shown, step S220, determining a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device, includes:

[0056] Step S221: Based on the posture of the projection device, determine multiple projection distances of the projection device, where the projection distance is the distance from the projection device to each reference point on the projection surface.

[0057] In the embodiments of the present application, the multiple projection distances can be understood as the distances from the projection device as the origin to the center points of different areas on the projection surface. It should be understood that when the projection surface of the projection device is placed parallel to the projection surface, the distances from the projection device to the projection surface are equal, and when the projection surface of the projection device is not placed parallel to the projection surface, the distances from different points on the projection device to the corresponding points on the projection surface are different.

[0058] In an embodiment of the present application, each reference point on the projection surface can be a randomly selected point in each area on the projection surface, or it can be the center point of each area on the projection surface. Each reference point can represent the area on the projection surface where the reference point is located. For example, the projection surface is divided into three areas: left, middle, and right. The center point of the left area, the center point of the middle area, and the center point of the right area are taken as reference points respectively. Here, the reference point can be the center point of each area on the projection surface, or it can be a non-center point on each area. The divided areas can be the left, middle, and right areas, or can include other division methods. The embodiment of the present application does not make any specific limitations on the area division of the projection surface and the selection of reference points.

[0059] In the embodiment of the present application, the method for determining the projection distance of the projection device can be that after determining the angle between the optical lens and the projection, according to the vertical distance from the projection device to the projection surface, the projection distance from the projection device to the reference point can be calculated by the Pythagorean theorem. Of course, the embodiment of the present application provides only one way to calculate the projection distance according to the angle between the optical lens and the projection surface. The corresponding relationship between the angle and the vertical distance between the optical lens and the projection surface and the projection distance can also be saved in the projection device in advance. After obtaining the angle and the vertical distance, the projection distance corresponding to the angle and the vertical distance is obtained according to the corresponding relationship; the neural network model can also be trained in advance using training samples (multiple groups of angles and vertical distances between the optical lens and the projection surface and the corresponding projection distances), and the angle and vertical distance between the optical lens and the projection surface are input into the trained neural network model to output the projection distance of the projection device. Of course, these methods are only a few implementation methods of the embodiment of the present application, and the embodiment of the present application does not specifically limit this.

[0060] In an embodiment of the present application, the projection distances from the projection device to multiple reference points on the projection surface are determined according to the posture of the projection device. In this way, the projection distances from the projection device to multiple reference points on the projection surface are directly calculated, avoiding the need for the projection device to measure each projection distance separately, thereby wasting time, and avoiding errors that may occur during the measurement process, resulting in inaccurate projection distances and affecting the projection effect of subsequent adjustments.

[0061] Step S222: Based on the multiple projection distances, determine the target focal length corresponding to each of the multiple projection distances; the target focal length refers to the focal length corresponding to the case where the global clarity of the projection picture of the projection device meets the first preset condition.

[0062] In the embodiment of the present application, the global clarity of the projection picture refers to the overall clarity of the entire area of ​​the projection picture. The global clarity of the projection picture is an important indicator for measuring the overall picture quality of the projection picture. The global clarity here may include the clarity of multiple areas in the projection picture, or it may be a value obtained by using the clarity of multiple areas in the projection picture. The embodiment of the present application does not impose any specific restrictions on the form of the global clarity.

[0063] In the embodiment of the present application, the focal length here actually refers to the distance from each point in the image source on the display chip to the optical center of the optical lens. The image source here is equivalent to the object when the convex lens forms an image. The focal length here can be understood as the distance from the object to the optical center of the lens, that is, the object distance. The target focal length refers to the distance from the optical center of the optical lens to the corresponding point on the image source on the display chip when the global clarity of the projected image meets the first preset condition at the projection distance.

[0064] In the embodiment of the present application, the first preset condition may be that the global definition of the projection picture is greater than a preset threshold, or meets a preset range, or the global definition is the highest among the global definitions of multiple projection pictures. The embodiment of the present application does not specifically limit the first preset condition.

[0065] In the embodiment of the present application, the method for determining the target focal length corresponding to each projection distance in the plurality of projection distances may be based on the projection distance (eg Figure 1 The mapping relationship between the projection distance in () and the target focal length is as follows: Figure 1 The curve shown, the mapping relationship is used to characterize the corresponding relationship between each projection distance and the target focal length, and the target focal length is the focal length corresponding to the projection distance when the global clarity of the projected image meets the first preset condition. It should be understood that the mapping relationship is predetermined, and the mapping relationship is input into the projection device during the design stage of the projection device. When multiple projection distances are determined during the use of the projection device, the target focal lengths corresponding to the multiple projection distances can be quickly determined directly based on the mapping relationship.

[0066] It should be understood that the method for determining the mapping relationship may include placing the projection device directly opposite the projection surface, recording the projection distance of the current projection device and the motor movement position when the projection picture is adjusted to the clearest at this time, the motor position being the focus distance; changing the distance of the projection device multiple times, obtaining the corresponding motor movement position when the projection picture is adjusted to the clearest, and obtaining multiple motor movement positions; obtaining the relationship between the current projection use distance and the motor position by curve fitting and other methods, where polynomial fitting can be used, and the order of the polynomial can be configured according to experience. Of course, this is only one of the methods for determining the mapping relationship provided in the embodiment of the present application, and the mapping relationship can also be determined in another way, and the embodiment of the present application does not specifically limit this.

[0067] Step S223: Determine the first distance and the first angle based on the multiple target focal lengths.

[0068] In another embodiment of the present application, in addition to the above implementation, determining the first distance and the first angle between the optical lens and the display chip based on the posture of the projection device also includes:

[0069] The first implementation method: pre-save the correspondence between the posture of the projection device and the first distance and the first angle in the projection device. After obtaining the posture of the projection device, search for the first distance and the first angle corresponding to the posture in the pre-saved correspondence according to the posture of the projection device.

[0070] The second implementation method: a mapping function may be used to express the relationship between the posture and the first distance and the first angle. After obtaining the posture of the projection device, the posture is substituted into the mapping function to calculate the first distance and the first angle.

[0071] In a third implementation, the neural network model can be trained in advance using training samples (multiple pairs of projection device positions and corresponding first distances and first angles). After obtaining the projection device position, the projection device position is input into the pre-trained neural network model to output the first distance and the first angle. Of course, the above are only a few implementations of the embodiments of the present application, and other methods may also be used, which are not limited by the embodiments of the present application.

[0072] In an embodiment of the present application, multiple projection distances of the projection device are determined according to the posture of the projection device, a target focal length corresponding to each of the multiple projection distances of the projection device is determined, and a first distance and a first angle between the optical lens and the display chip are determined according to the multiple target focal lengths. In this way, by determining the target focal lengths corresponding to each of the multiple projection distances of the projection device, the first distance and the first angle are directly obtained, which shortens the adjustment time of the projection device and further improves the projection efficiency of the projection device.

[0073] In the embodiments of the present application, Figure 4 This is a projection method process provided by the embodiment of the present application Figure 3 ,like Figure 4 As shown, step S223, determining the first distance and the first angle based on the multiple target focal lengths, includes:

[0074] Step S2231: determining a first plane equation based on the multiple target focal lengths; wherein the first plane equation is used to characterize the plane where the display chip corresponding to the multiple target focal lengths is located.

[0075] Step S2232: determining a second plane equation based on a plurality of initial focal lengths corresponding to the initial display chip; wherein the second plane equation is used to characterize the plane where the initial display chip is located.

[0076] Step S2233: Determine the first distance and the first angle based on the first plane equation and the second plane equation.

[0077] In the embodiment of the present application, the plane equation refers to the equation corresponding to all points in the same plane in space. The general equation of the plane is Ax+By+Cz+D=0, where (A, B, C) in the plane equation is the normal vector of the plane. The first plane equation refers to the equation of the plane where the display chip is located corresponding to the target focal length, and the second plane equation refers to the equation of the plane where the initial display chip is located. The target focal length is the distance from the point on the display chip to the optical center of the lens. Here, a three-dimensional coordinate system is established with the optical center of the lens and the plane where the display chip is located. According to the distance from a point outside the display chip to multiple points on the plane, the plane equation where the display chip is located corresponding to the target focal length is calculated.

[0078] Exemplarily, a three-dimensional rectangular coordinate system is established, and two non-collinear vectors are found in the plane where the display chip is located, such as vector BA = (1, -1, 0), vector BC = (0, -1, 1), and the inner product of the normal vector in the plane and the vector in the plane is 0, and the equation between the two non-collinear normal vectors BA, BC and the normal vector of the display chip (x, y, z) is derived, and the equation xy = 0, -y + z = 0 is obtained, and the normal vector is obtained = (1, 1, 1). Therefore, the general equation is x + y + z + D = 0, and d is calculated according to the target focal length, and the equation is obtained by Calculate D and obtain the general formula of the plane equation, which is x+y+z+D=0. Of course, this is just one embodiment method of determining the plane equation, and other methods can also be used. The embodiments of the present application do not make specific limitations on this.

[0079] In an embodiment of the present application, after determining the first plane equation and the second plane equation, the normal vector of the plane where the display chip corresponding to the target focal length is located can be determined by the first plane equation, and the normal vector of the plane where the current display chip is located can be determined by the second plane equation. The angle of the two planes can be determined according to the two normal vectors, and the distance between the two planes can be determined according to the slopes in the two plane equations, thereby determining the first distance and the first angle between the optical lens and the display chip. Of course, this is just one embodiment and the present application is not limited to this.

[0080] In the embodiment of the present application, the angle between the initial display chip and the display chip corresponding to the target focal length is the angle between the position plane where the current display chip is located and the position plane where the display chip corresponding to the target focal length is located. It should be understood that the position plane where the current display chip is located is the initial position of the display chip when the projection device is placed at the projection position, the display chip corresponding to the target focal length is the position of the display chip at the target focal length, and the position of the current display chip and the position of the display chip corresponding to the target focal length are not in the same plane, so there is an angle and distance between the current display chip and the display chip corresponding to the target focal length, and here the angle between the current display chip and the display chip corresponding to the target focal length is an acute angle.

[0081] In an embodiment of the present application, according to multiple target focal lengths, the plane equation of the plane where the display chip corresponding to the target focal length is located is determined, according to the initial focal length of the initial display chip, the plane equation of the plane where the initial display chip is located is determined, and according to the two plane equations, the first distance and the first angle between the display chip corresponding to the target focal length and the current display chip are determined, and according to the first distance and the first angle between the optical lens and the display chip, the distance and the angle of the optical lens and the display chip are directly adjusted to the first distance and the first angle. In this way, according to the first distance and the first angle, the distance and the angle between the optical lens and the display chip are intelligently adjusted, thereby shortening the time for the projection device to automatically adjust the global clarity of the projection picture during side projection, thereby further improving the projection efficiency and performance of the projection device.

[0082] In another embodiment of the present application, the above implementation method for determining the first distance and the first angle based on multiple target focal lengths further includes:

[0083] The first implementation method is to pre-save the correspondence between multiple target focal lengths and the first distance and the first angle in the projection device, and after obtaining the multiple target focal lengths, search for the first distance and the first angle corresponding to the multiple target focal lengths according to the correspondence.

[0084] The second implementation method can use a preset function to express the relationship between multiple target focal lengths and the first distance and the first angle. After obtaining the multiple target focal lengths, the multiple target focal lengths are substituted into the preset function to calculate the first distance and the first angle.

[0085] In a third implementation, the neural network model can be trained in advance using training samples (multiple sets of target focal lengths and corresponding first distances and first angles). After obtaining multiple target focal lengths, the multiple target focal lengths are input into the pre-trained neural network model to output the first distance and the first angle. Of course, the above are only several implementations of the embodiments of the present application, and other implementations may also be used, which are not specifically limited in the embodiments of the present application.

[0086] It should be understood that due to certain inconsistencies between various optical systems, errors may occur in the projection equipment during the production process or after long-term use. When the projection is performed according to the first angle and the first distance between the optical lens and the display chip determined by the sensor measurement, the global clarity of the projected image may not meet the ideal requirements. Therefore, it is necessary to perform a fine adjustment after the adjustment, search for a better clarity effect near the first adjustment result, and complete the clarity adjustment.

[0087] In the embodiment of the present application, the fine adjustment is to continue adjusting the distance and angle between the optical lens and the display chip based on the first distance and the first angle between the optical lens and the display chip.

[0088] In the embodiments of the present application, Figure 5 This is a projection method process provided by the embodiment of the present application Figure 4 ,like Figure 5 As shown, in step S240, after the projection is performed based on the first distance and the first angle, the method further includes:

[0089] Step S510: adjusting the distance between the optical lens and the display chip; when the clarity of the central area in the projection image of the projection device meets the second preset condition, stop adjusting the distance between the optical lens and the display chip to obtain a second distance between the optical lens and the display chip.

[0090] In an embodiment of the present application, the central area in the projection screen can be an image area with a preset length from the center point of the projection screen. For example, if the projection screen is a rectangle, the central area is an image area with a preset length from the center point of the rectangle; if the projection screen is a circle, the central area is an image area with a preset length from the center of the circle, wherein the preset length is less than the distance from the midpoint to the edge of the projection screen.

[0091] In the embodiment of the present application, the clarity of the central area refers to the overall clarity of the central area of ​​the projection picture. It should be understood that the clarity of the central area satisfies the first preset condition. The preset condition may be that only the central area of ​​the projection picture has a high clarity, and the clarity of other areas of the projection picture except the central area is lower. It may also be that only the clarity of the central area of ​​the projection picture is greater than the clarity threshold. The embodiment of the present application does not make specific restrictions.

[0092] In the embodiment of the present application, when adjusting the distance between the optical lens and the display chip, the optical lens may be adjusted, the display chip may be adjusted, or the optical lens and the display chip may be adjusted at the same time, which is not specifically limited in the embodiment of the present application.

[0093] In an embodiment of the present application, adjusting the distance between the optical lens and the display chip is essentially performing a focusing process on the optical lens. The focusing process is to change the distance from the display chip to the center of the lens by moving the lens or the display chip in the optical lens forward and backward. In the process of adjusting the distance between the optical lens and the display chip, when the central area of ​​the projection picture meets the second preset condition, the adjustment of the distance between the optical lens and the display chip is stopped, so that the central area of ​​the projection picture is at the target focal length position, thereby obtaining a clear central area of ​​the projection picture.

[0094] In the embodiment of the present application, focusing is focusing. The focusing process can move the lens in the optical lens forward and backward, and can also move the display chip forward and backward to change the distance from the display chip to the optical lens so that the center area of ​​the projected image is at the target focal length position. The embodiment of the present application does not make specific limitations on this.

[0095] Step S520: adjusting the angle between the optical lens and the display chip, and when the global clarity of the projection picture of the projection device meets the third preset condition, stopping adjusting the angle between the optical lens and the display chip to obtain a second angle between the optical lens and the display chip.

[0096] Step S530: performing projection based on the second distance and the second angle.

[0097] In an embodiment of the present application, when adjusting the angle between the optical axis of the optical lens and the display chip, it can be a preset step adjustment set in advance or a random adjustment. The preset step refers to the degree of the angle between the optical axis of the optical lens and the display chip each time it is rotated, which is set in advance during the design stage of the projection equipment. The preset step can be obtained based on experience or determined through multiple experiments. The embodiment of the present application does not specifically limit the setting of the preset step.

[0098] In the embodiment of the present application, the third preset condition can be set for the threshold value of the global clarity of a projection screen, or can be set for the changing trend of the global clarity of multiple projection screens, or can be the projection screen with the highest global clarity among multiple projection screens. The embodiment of the present application does not specifically limit the third preset condition.

[0099] In the embodiment of the present application, the method for determining the global clarity of the projected image includes: grayscale variance function, grayscale variance product function, Laplace gradient function, etc. The embodiment of the present application does not specifically limit the method for determining the global clarity.

[0100] In an embodiment of the present application, the angle range for adjusting the optical lens and the display chip may be a preset range. The preset range here is relatively small. It should be understood that directly adjusting the display chip to the position of the display chip corresponding to the target focal length according to the angle degree is a coarse adjustment. After the coarse adjustment, since there may be some errors in the design stage of the projection equipment, the angle obtained according to the calculation may not be the ideal effect, and it is necessary to fine-tune the angle between the optical lens and the display chip. Therefore, it is necessary to fine-tune the angle between the optical lens and the display chip again within the preset range.

[0101] In an embodiment of the present application, each adjustment of the angle between the optical lens and the display chip can be adjusted with a preset step size or a random step size. The preset step size refers to the degree of each rotation of the angle between the optical lens and the display chip set in advance during the design phase of the projection device, wherein the preset step size can be obtained based on experience or determined through multiple experiments. The embodiment of the present application does not specifically limit the setting of the preset step size.

[0102] In the embodiment of the present application, the projection device perceives the picture clarity in real time through the projected picture. The projected picture here can be collected by the camera built into the projection device, or a separate collection device can collect the projection picture and then transmit it to the projection device. The collection device includes but is not limited to mobile phones, computers, cameras, smart watches that can take pictures, and other devices with camera functions. The embodiment of the present application does not specifically limit the collection of the projection picture.

[0103] In an embodiment of the present application, after the distance and angle between the optical lens and the display chip are adjusted to the first distance and the first angle, the distance and angle between the optical lens and the display chip continue to be adjusted. When the central area of ​​the projection picture meets the second preset condition, the distance between the optical lens and the display chip is stopped from being adjusted. When the global clarity of the projection picture meets the third preset condition, the angle between the optical lens and the display chip is stopped from being adjusted. Otherwise, the angle between the optical axis of the optical lens and the display chip is adjusted until the projection picture of the projection device meets the preset condition, and the angle between the optical lens and the display chip is stopped from being adjusted to obtain the target projection picture.

[0104] In an embodiment of the present application, by further adjusting the distance and angle between the optical lens and the display chip on the basis of the first adjustment, the optical lens and the display chip are fine-tuned. In the process of rapid adjustment, it is also possible to avoid the global clarity of the projected image being affected when there is an error in the projection device, further improve the projection accuracy of the projection device, and thus improve the efficiency and accuracy of the global clarity of the target projection image.

[0105] In the embodiments of the present application, Figure 6 This is a projection method process provided by the embodiment of the present application Figure 5 ,like Figure 6 As shown, step S520, adjusting the angle between the optical lens and the display chip, and stopping adjusting the angle between the optical lens and the display chip when the global clarity of the projection picture of the projection device meets the third preset condition, to obtain a second angle between the optical lens and the display chip, includes:

[0106] Step S521a: adjusting the angle between the optical lens and the display chip to obtain a projection image; the projection image is obtained after each adjustment of the angle between the optical lens and the display chip.

[0107] Step S522a: Determine the global clarity of the projection image.

[0108] Step S523a: When the global clarity of the projection image meets a preset condition, the current angle between the optical lens and the display chip is used as the second angle.

[0109] In an embodiment of the present application, each time the angle between the optical lens and the display chip is adjusted, a corresponding projection picture will be obtained, the global clarity of the projection picture will be determined, and it will be judged whether the global clarity of the projection picture meets the preset conditions. If the preset conditions are met, the angle between the optical lens and the display chip is adjusted to the current angle between the optical lens and the display chip for projection. If the preset conditions are not met, the angle between the optical lens and the display chip will continue to be adjusted to obtain another projection picture, determine the global clarity of the other projection picture, and judge whether the global clarity of the other projection picture meets the preset conditions until the global clarity of the projection picture obtained after adjustment meets the preset conditions, stop rotating the optical lens and then the angle between the display chip, and project at the current angle between the optical lens and the display chip.

[0110] Exemplarily, if the preset condition is that the global clarity of the projection picture is greater than or equal to a preset threshold, a projection picture 1 is obtained after adjustment with a preset step size, the global clarity of the projection picture 1 is determined, and it is judged whether the global clarity of the projection picture 1 is greater than or equal to the preset threshold. If it is greater than or equal to the preset threshold, the angle between the optical lens and the display chip corresponding to the projection picture 1 is used as the second angle, and the process ends; otherwise, the angle between the optical lens and the display chip is continued to be adjusted to obtain projection picture 2, the global clarity of the projection picture 2 is determined, and it is judged whether the global clarity of the projection picture 2 is greater than or equal to the preset threshold. If it is greater than or equal to the preset threshold, the angle between the optical lens and the display chip corresponding to the projection picture 2 is used as the second angle. Otherwise, the angle between the optical lens and the display chip is continued to be adjusted to obtain projection picture 3…, until the global clarity of the projection picture is greater than or equal to the preset threshold, the angle between the optical lens and the display chip corresponding to the projection picture is used as the second angle.

[0111] In an embodiment of the present application, after determining the distance between the optical lens and the display chip, when it is determined that the global clarity of the initial projection picture does not meet the preset conditions, the angle between the optical lens and the display chip is fine-tuned each time, and the global clarity of the projection picture obtained after each fine-tuning is judged. Adjustments are made based on feedback of the global clarity of the projection picture after each adjustment, which can improve the accuracy of clarity compensation, and the adjustment can be stopped in time after the preset conditions are met, so that the second angle can be quickly determined for projection, saving a lot of time and computing resources required for adjusting the angle, and improving the efficiency and accuracy of clarity compensation.

[0112] In the embodiments of the present application, Figure 7 This is a projection method process provided by the embodiment of the present application Figure 6 ,like Figure 7 As shown, step S520, adjusting the angle between the optical lens and the display chip, and stopping adjusting the angle between the optical lens and the display chip when the global clarity of the projection picture of the projection device meets the third preset condition, to obtain a second angle between the optical lens and the display chip, includes:

[0113] Step S521b: adjusting the angle between the optical lens and the display chip multiple times to obtain multiple projection images; the projection image is obtained after adjusting the angle between the optical lens and the display chip each time.

[0114] Step S522b: Determine the projection picture with the highest global definition among the multiple projection pictures.

[0115] Step S523b: taking the angle between the optical lens and the display chip corresponding to the projection picture with the highest global definition as the second angle.

[0116] In an embodiment of the present application, when it is determined that the global clarity of the initial projection picture does not meet the preset conditions, the angle between the optical lens and the display chip is adjusted multiple times to obtain multiple projection pictures.

[0117] In an embodiment of the present application, after obtaining multiple projection images, it is necessary to determine the global clarity of the multiple projection images, wherein the multiple global clarity can be the global clarity of each projection image immediately determined each time the projection image is captured, or it can be the global clarity of the multiple projection images determined after the multiple projection images are captured. The embodiment of the present application does not make any specific limitation on this.

[0118] In an embodiment of the present application, after determining the global clarity of multiple projection images, a projection image with the highest global clarity is selected from the multiple global clarity images, and the angle between the optical lens and the display chip corresponding to the projection image is used as the second angle.

[0119] In an embodiment of the present application, a method for determining the highest global clarity includes determining the global clarity of multiple projection images, judging the change trend of the global clarity of the projection images according to the multiple global clarity, determining whether the adjustment direction is correct according to the change trend, and determining the projection image with the highest global clarity. For example, if the global clarity of multiple projection images is in a continuous decline, it means that the adjustment direction is wrong, and timely feedback is given to the projection device to immediately change the adjustment direction; if the global clarity of multiple projection images is in a continuous rise, it means that the adjustment direction is correct, and it can be inferred that the closer the angle between the optical lens and the display chip is to the maximum value, the higher the global clarity, and the maximum value of the angle between the optical lens and the display chip can be used as the second angle; if the global clarity of multiple projection images rises first and then falls, it means that the global clarity of the projection image at the extreme point is better than that of other points, and the angle between the optical lens and the display chip corresponding to the projection image at the extreme point is used as the second angle.

[0120] In the embodiment of the present application, after determining the distance between the optical lens and the display chip, if it is determined that the global clarity of the initial projection picture does not meet the preset conditions, the angle between the optical lens and the display chip is adjusted multiple times to obtain multiple projection pictures, and a projection picture with better global clarity is comprehensively determined based on the global clarity of the multiple projection pictures, and the angle between the optical lens and the display chip corresponding to the projection picture with better global clarity is used as the second angle. In this way, the global clarity of the multiple projection pictures is fed back to the projection device, and the projection device changes the adjustment strategy in time according to the feedback, or determines the second angle to avoid continuing to adjust when the adjustment direction is wrong, thereby wasting a lot of time, and directly determining the corresponding angle with better global clarity according to the change trend of multiple global clarity, quickly adjusting the angle of the optical lens and the display chip, and further improving the efficiency of the projection of the projection device and the accuracy of clarity.

[0121] In the embodiments of the present application, Figure 8 This is a projection method process provided by the embodiment of the present application Figure 7 ,like Figure 8 As shown, after the projection is performed based on the first distance and the first angle, the method further includes:

[0122] Step S810: Based on a preset corresponding relationship, shape compensation is performed on the projection picture obtained by projecting at the first distance and the first angle to obtain a final projection picture; the corresponding relationship represents the corresponding relationship between the angle between the optical lens and the display chip and the shape compensation.

[0123] In the embodiment of the present application, the final projection picture is a projection picture with better shape and clarity obtained after shape compensation is performed on the projection picture obtained by projecting at the first distance and the first angle.

[0124] It should be understood that when a normal projection device is projecting, the shape projected onto the screen or wall is a rectangle. When projecting from the side, the adjustment of the angle between the optical lens and the display chip may have a certain impact on the shape of the projected image, causing the projected image to become a trapezoid. Therefore, after the image clarity is finally adjusted, the shape of the projected image is appropriately compensated to achieve a better final image shape and clarity.

[0125] In the embodiments of the present application, shape compensation refers to supplementing the deformed shape of the projection screen. For example, when the projection screen is narrow at the top and wide at the bottom during side projection, the length of the upper side of the projection screen is compensated to ensure that the lengths of the upper and lower sides of the projection screen are the same, so that the shape of the compensated projection screen is a rectangle.

[0126] In an embodiment of the present application, the correspondence between the angle between the optical lens and the display chip and the shape compensation is calibrated during the design stage of the projection device. After the projection device is put into use, the shape compensation is determined directly according to the angle between the optical lens and the display chip based on the correspondence, and the shape of the projection picture is compensated to obtain the final projection picture.

[0127] Exemplarily, the calibration method of the corresponding relationship between the angle and shape compensation between the optical lens and the display chip includes: first, at a specific distance (such as 2 meters), the projection picture is projected onto the wall; then the display chip is rotated to different angles, and the actual projection shape of the projection picture at this time is recorded; then the motion trajectory of the four vertices of the projection picture is polynomially fitted with the current angle to generate a corresponding relationship curve. When performing shape compensation, according to the angle between the current optical lens and the display chip, the relationship curve is used to obtain the actual shape offset of the projection picture at the current angle, and correction compensation is performed according to the actual shape. Of course, this is only one of the calibration methods provided in the embodiment of the present application, and other calibration methods can also be used, which is not specifically limited in the embodiment of the present application.

[0128] In an embodiment of the present application, after determining the first distance and the first angle between the optical lens and the display chip, projection is performed using the first distance and the first angle to obtain a corresponding projection image. Through a pre-calibrated correspondence, shape compensation is directly performed on the projection image corresponding to the first distance and the first angle to obtain a final projection image. In this way, the projection device can automatically and quickly compensate for the shape of the projection image according to the pre-calibrated correspondence to obtain a projection image with better clarity and shape, thereby increasing the functionality of the projection device and further improving the performance of the projection device.

[0129] The projection method provided in the embodiment of the present application is described in detail below in conjunction with specific application scenarios.

[0130] In this application scenario, Fig. 9 The projection method process in this application scenario Figure 8 ,like Fig. 9 As shown:

[0131] Step S901: Obtain the current projection posture and distance.

[0132] It should be understood that the current projection posture in this application scenario is the angle between the projection device and the projection surface in this application, the distance is the projection distance in this application, and the projection distance is the distance from the projection device as the origin to the reference points of different areas on the projection surface. By using the TOF three-dimensional sensor to determine the angle and vertical distance between the projection device and the projection surface, the projection distance from the projection device to multiple reference points on the projection surface is calculated based on the angle and vertical distance between the projection device and the projection surface, and multiple projection distances are obtained.

[0133] Step S902: Adjust the optical-mechanical display chip to a corresponding position.

[0134] It should be understood that the optical machine is a component that integrates the optical lens and the display chip in the present application. After determining multiple projection distances, the target focal length corresponding to each projection distance is determined according to the mapping relationship between each projection distance and the target focal length calibrated in advance. According to the multiple target focal lengths, the first plane equation of the display chip corresponding to the target focal length is determined. According to the focal length of the current display chip, the second plane equation of the current display chip is determined. According to the first plane equation and the second plane equation, the first distance and the first angle are determined. According to the first distance and the first angle, the direct distance and angle between the optical lens and the display chip are adjusted to the first distance and the first angle for projection.

[0135] Step S903: Make precise adjustments near the position.

[0136] It should be understood that the global clarity of the projection picture corresponding to the adjusted optical lens and / or display chip is determined, and it is judged whether the global clarity of the initial projection picture meets the preset conditions. If it meets the preset conditions, the process ends; if it does not meet the preset conditions, the distance and angle between the optical lens and the display chip continue to be adjusted. First, the center of the projection picture is focused and the distance is determined. Then, the angle is adjusted until the global clarity of the projection picture meets the preset conditions, and the adjustment of the angle between the optical lens and the display chip is stopped. The distance and angle between the optical lens and the display chip can be adjusted near the first distance and the first angle. After determining the distance between the optical lens and the display chip, a projection picture is obtained each time the angle is adjusted, and the global clarity of the projection picture is determined. It is judged whether the global clarity of the projection picture meets the preset conditions. If the preset conditions are met, projection is performed according to the determined distance and the current angle between the optical lens and the display chip to obtain the target projection picture. It is also possible to adjust the distance and angle between the optical lens and the display chip multiple times near the first distance and the first angle to obtain multiple projection images, determine the global clarity of the multiple projected images, and project according to the angle and the determined distance between the optical lens and the display chip corresponding to the projection image with the highest global clarity to obtain the target projection image.

[0137] Step S904: performing shape compensation.

[0138] It should be understood that after obtaining the target projection image, the shape of the projection image may be affected to a certain extent due to the angle adjustment between the optical lens and the display chip. Therefore, after adjusting the global clarity of the projection image, the target projection image is appropriately compensated by using the correspondence between the angle and shape change between the pre-calibrated optical lens and the display chip, so as to obtain a better final projection image shape and clarity.

[0139] In this application scenario, an optical lens is used to determine the position of the target display chip. Since there may be certain inconsistencies between the various optical systems, or there may be loss of accuracy after long-term use, it is possible to choose to make another precise adjustment after the previous step adjustment in conjunction with the image algorithm feedback, and search for a better clarity near the result of the previous step to complete the clarity adjustment to achieve automatic clarity correction and compensation when the projection device is projected sideways. An optical lens with adjustable side projection resolution can adjust the angle between the display chip (LCD / DLP surface) of the projection device and the optical lens through a mechanical structure to achieve coverage of different resolution requirements during side projection, where resolution can be understood as clarity.

[0140] In this application scenario, the relationship between the target working focal length of the projection optical machine and the usage distance is obtained in advance, combined with the working distance of each area in the actual usage scenario, to obtain the first distance and the first angle between the optical lens and the display chip, adjust the distance and angle between the optical lens and the display chip, complete the correction of the side projection clarity, and perform shape-related compensation to achieve better picture clarity and shape effects.

[0141] The embodiment of the present application also provides a projection device, Fig.10 A schematic diagram of the structure of a projection device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the projection device comprises:

[0142] An acquisition unit 1001 is used to acquire the position and posture of the projection device;

[0143] A determining unit 1002 is used to determine a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device;

[0144] An adjusting unit 1003 is used to adjust the distance between the optical lens and the display chip to the first distance, and to adjust the angle between the optical lens and the display chip to the first angle;

[0145] The projection unit 1004 is configured to perform projection based on the first distance and the first angle.

[0146] In some embodiments, the determination unit is also used to determine multiple projection distances of the projection device based on the posture of the projection device, where the projection distance is the distance from the projection device to each reference point on the projection surface; based on the multiple projection distances, determine the target focal length corresponding to each of the multiple projection distances; the target focal length refers to the focal length corresponding to the case where the global clarity of the projection picture of the projection device meets the first preset condition; based on the multiple target focal lengths, determine the first distance and the first angle.

[0147] In some embodiments, the determination unit is also used to determine a first plane equation based on the multiple target focal lengths; wherein the first plane equation is used to characterize the plane where the display chips corresponding to the multiple target focal lengths are located; determine a second plane equation based on multiple initial focal lengths corresponding to the initial display chip; wherein the second plane equation is used to characterize the plane where the initial display chip is located; and determine the first distance and the first angle based on the first plane equation and the second plane equation.

[0148] In some embodiments, the adjustment unit is also used to adjust the distance between the optical lens and the display chip; when the clarity of the central area in the projection picture of the projection device meets the second preset condition, stop adjusting the distance between the optical lens and the display chip to obtain the second distance between the optical lens and the display chip; adjust the angle between the optical lens and the display chip, and when the global clarity of the projection picture of the projection device meets the third preset condition, stop adjusting the angle between the optical lens and the display chip to obtain the second angle between the optical lens and the display chip; and perform projection based on the second distance and the second angle.

[0149] In some embodiments, the adjustment unit is further used to adjust the angle between the optical lens and the display chip to obtain a projection picture; the projection picture is obtained after each adjustment of the angle between the optical lens and the display chip; determine the global clarity of the projection picture; when the global clarity of the projection picture meets a preset condition, use the current angle between the optical lens and the display chip as the second angle.

[0150] In some embodiments, the adjustment unit is further used to adjust the angle between the optical lens and the display chip multiple times to obtain multiple projection pictures; the projection picture is obtained after adjusting the angle between the optical lens and the display chip each time; determine the projection picture with the highest global clarity among the multiple projection pictures; and use the angle between the optical lens and the display chip corresponding to the projection picture with the highest global clarity as the second angle.

[0151] In some embodiments, the adjustment unit is further used to perform shape compensation on the projection picture obtained by projecting at the first distance and the first angle based on a preset corresponding relationship to obtain a final projection picture; the corresponding relationship represents the corresponding relationship between the angle between the optical lens and the display chip and the shape compensation.

[0152] Of course, in practical applications, Fig.11As shown, the various components in the electronic device are coupled together via a bus system 1102. It is understood that the bus system 1102 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1102 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.11 The various buses are collectively labeled bus system 1102 .

[0153] It can be understood that the memory in this embodiment can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct RAMbus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0154] The method disclosed in the above embodiment of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0155] The present application also provides a computer storage medium, specifically a computer readable storage medium, on which computer instructions are stored. As a first implementation, when the computer storage medium is located in an electronic device, the computer instructions are executed by a processor to implement any step of the above-mentioned projection method in the present application.

[0156] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0157] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0158] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0159] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0160] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0161] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A projection method, applied to a projection device, characterized in that: The projection method comprises: Obtaining the position and posture of the projection device; Based on the posture of the projection device, determining a first distance and a first angle between the optical lens and the display chip; Adjusting the distance between the optical lens and the display chip to the first distance, and adjusting the angle between the optical lens and the display chip to the first angle; Projecting is performed based on the first distance and the first angle.

2. The projection method according to claim 1, characterized in that: The determining a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device includes: Based on the position and posture of the projection device, determine multiple projection distances of the projection device, where the projection distance is the distance from the projection device to each reference point on the projection surface; Based on the multiple projection distances, determining a target focal length corresponding to each of the multiple projection distances; the target focal length refers to a focal length corresponding to a case where the global clarity of the projection picture of the projection device meets a first preset condition; The first distance and the first angle are determined based on a plurality of the target focal lengths.

3. The projection method according to claim 2, characterized in that: The determining the first distance and the first angle based on the plurality of target focal lengths comprises: Based on the multiple target focal lengths, determining a first plane equation; wherein the first plane equation is used to characterize the plane where the display chip corresponding to the multiple target focal lengths is located; Determine a second plane equation based on a plurality of initial focal lengths corresponding to the initial display chip; wherein the second plane equation is used to characterize the plane where the initial display chip is located; Based on the first plane equation and the second plane equation, the first distance and the first angle are determined.

4. The projection method according to any one of claims 1 to 3, characterized in that: After the projection is performed based on the first distance and the first angle, the method further includes: adjusting the distance between the optical lens and the display chip; when the clarity of the central area in the projection picture of the projection device meets the second preset condition, stopping adjusting the distance between the optical lens and the display chip to obtain a second distance between the optical lens and the display chip; adjusting the angle between the optical lens and the display chip, and when the global clarity of the projection picture of the projection device meets the third preset condition, stopping adjusting the angle between the optical lens and the display chip to obtain a second angle between the optical lens and the display chip; Projecting is performed based on the second distance and the second angle.

5. The projection method according to claim 4, characterized in that: The adjusting the angle between the optical lens and the display chip, and stopping adjusting the angle between the optical lens and the display chip when the global clarity of the projection picture of the projection device meets a third preset condition, to obtain a second angle between the optical lens and the display chip, comprises: Adjusting the angle between the optical lens and the display chip to obtain a projection image; the projection image is obtained after each adjustment of the angle between the optical lens and the display chip; Determining the global clarity of the projected image; When the global clarity of the projection image meets a preset condition, the current angle between the optical lens and the display chip is used as the second angle.

6. The projection method according to claim 4, characterized in that: The adjusting the angle between the optical lens and the display chip, and stopping adjusting the angle between the optical lens and the display chip when the global clarity of the projection picture of the projection device meets a third preset condition, to obtain a second angle between the optical lens and the display chip, comprises: The angle between the optical lens and the display chip is adjusted multiple times to obtain multiple projection images; the projection images are obtained after adjusting the angle between the optical lens and the display chip each time; Determine a projection picture with the highest global clarity among the multiple projection pictures; The angle between the optical lens and the display chip corresponding to the projection picture with the highest global clarity is used as the second angle.

7. The projection method according to any one of claims 1 to 3, characterized in that: After the projection is performed based on the first distance and the first angle, the method further includes: Based on a preset corresponding relationship, shape compensation is performed on the projection picture obtained by projecting at the first distance and the first angle to obtain a final projection picture; the corresponding relationship represents the corresponding relationship between the angle between the optical lens and the display chip and the shape compensation.

8. A projection device, characterized in that: The projection device comprises: An acquisition unit, used for acquiring the position and posture of the projection device; A determination unit, configured to determine a first distance and a first angle between the optical lens and the display chip based on the posture of the projection device; an adjusting unit, used for adjusting the distance between the optical lens and the display chip to the first distance, and adjusting the angle between the optical lens and the display chip to the first angle; A projection unit is used for performing projection based on the first distance and the first angle.

9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the projection method according to any one of claims 1 to 7 when executing the program.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the projection method according to any one of claims 1 to 7 is implemented.