Projection equipment correction method, projection equipment and storage medium

The remote control device obtains and sends posture information, and automatically adjusts the center point of the projection plane of the projection equipment, which solves the problem in the existing technology that the angle adjustment of the projection equipment requires manual operation, and improves the user experience and the convenience of using the equipment.

CN118625860APending Publication Date: 2024-09-10SHENZHEN HUOLE TECH DEV CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410857088.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing projection equipment requires users to manually operate when adjusting the projection angle, and has high requirements on the placement of the equipment, resulting in poor user experience.

Method used

Its posture information and spatial position information are obtained through the remote control device and sent to the projection equipment. The center point of the projection plane of the projection equipment is adjusted so that it coincides with the pointing center point of the remote control device, thereby automatically adjusting the projection angle.

Benefits of technology

It improves the user's experience when using projection equipment, reduces the need for manual operations, and simplifies the placement and use of projection equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625860A
    Figure CN118625860A
Patent Text Reader

Abstract

The invention relates to a projection equipment correction method, projection equipment and a storage medium, and relates to the technical field of projection equipment.The current pitch angle, the current roll angle and the current yaw angle of the projection equipment are calculated, and a projection image of the projection equipment is corrected based on the current pitch angle, the current roll angle and the current yaw angle. Therefore, the image seen by the user can be always kept in a rectangular shape, so that the user experience of the user when the projection equipment is used is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims a divisional of a Chinese patent application filed with the China Patent Office on August 17, 2021, with application number 202110945093.5, and invention name “Projection equipment control method, correction method, remote control device and projection equipment”, all contents of which are incorporated by reference in this application. Technical Field

[0002] The present disclosure relates to the technical field of projection equipment, and in particular to a projection equipment calibration method, a projection equipment and a storage medium. Background Art

[0003] A projection device is a device that can project images or videos onto a screen. It is widely used in offices, schools, conference rooms and other scenarios. During use, it may be necessary to adjust the projection angle of the projection device. In related technologies, users are generally required to manually adjust the position of the projection device to adjust the projection angle in order to change the orientation of the projected image. However, this method not only requires the user to manually complete it, but also has high requirements for the placement of the projection device, resulting in an extremely poor user experience. Summary of the invention

[0004] The purpose of the present disclosure is to provide a projection device calibration method, a projection device and a storage medium to partially or completely solve the above technical problems.

[0005] According to a first aspect of an embodiment of the present disclosure, a projection device control method is provided, which is applied to a remote control device, and the method includes:

[0006] Determining the posture information and spatial position information of the remote control device;

[0007] The posture information and the spatial position information are sent to the projection device, so that the projection device adjusts the center point of the projection plane of the projection device according to the posture information and the spatial position information, so that the center point of the projection plane coincides with the pointing center point of the remote control device.

[0008] Optionally, determining the position information of the remote control device includes:

[0009] Calculate the current pitch angle of the remote control device based on the first gravimeter and / or the first gyroscope;

[0010] The current yaw angle of the remote control device is obtained based on the first yaw angle of the remote control device calculated by the first gyroscope and the second yaw angle of the remote control device calculated by the time-of-flight sensor.

[0011] Optionally, obtaining the current yaw angle of the remote control device based on the first yaw angle of the remote control device calculated by the first gyroscope and the second yaw angle of the remote control device calculated by the time of flight sensor includes:

[0012] determining a current angular acceleration of the remote control device in a reference direction of a yaw angle based on the first gyroscope;

[0013] When the current angular acceleration is less than a preset threshold, determining a second yaw angle of the remote control device based on the time-of-flight sensor;

[0014] Acquire a first yaw angle of the remote control device calculated based on the first gyroscope, wherein the first yaw angle is the yaw angle of the remote control device at a previous moment;

[0015] Based on the first yaw angle and the second yaw angle, in combination with a Kalman filter algorithm, a current yaw angle of the remote control device is calculated.

[0016] Optionally, the preset threshold is obtained by the following steps:

[0017] The preset threshold is obtained according to a ratio between a preset angle error and a refresh rate of the time-of-flight sensor.

[0018] According to a second aspect of an embodiment of the present disclosure, a projection device control method is provided, which is applied to a projection device, and the method includes:

[0019] Receiving posture information and spatial position information of the remote control device sent by the remote control device;

[0020] Determine the coordinate information of the pointing center point of the remote control device according to the posture information and spatial position information of the remote control device;

[0021] According to the coordinate information, the projection plane of the projection device is adjusted so that the center point of the projection plane of the projection device coincides with the pointing center point of the remote control device.

[0022] Optionally, the posture information of the remote control device includes a current pitch angle and a current yaw angle of the remote control device, wherein the current pitch angle is calculated by the remote control device based on a first gravimeter and / or a first gyroscope, and the current yaw angle is calculated by the remote control device based on a first yaw angle of the remote control device calculated by the first gyroscope and a second yaw angle of the remote control device calculated by a time of flight sensor;

[0023] The step of determining the coordinate information of the pointing center point of the remote control device according to the posture information and the spatial position information of the remote control device includes:

[0024] The coordinate information of the pointing center point of the remote control device is determined according to the current pitch angle, the current yaw angle and the spatial position information of the remote control device.

[0025] According to a third aspect of an embodiment of the present disclosure, a projection device calibration method is provided, including:

[0026] Calculate the current pitch angle and the current roll angle of the projection device based on the second gravimeter and / or the second gyroscope;

[0027] Obtaining a current yaw angle of the projection device based on a first yaw angle of the projection device calculated by the second gyroscope and a second yaw angle of the projection device calculated by a time-of-flight sensor;

[0028] The projection image of the projection device is corrected according to the current pitch angle, the current roll angle, and the current yaw angle.

[0029] Optionally, obtaining the current yaw angle of the projection device based on the first yaw angle of the projection device calculated by the second gyroscope and the second yaw angle of the projection device calculated by the time-of-flight sensor includes:

[0030] determining a current angular acceleration of the projection device in a reference direction of a yaw angle based on the second gyroscope;

[0031] When the current angular acceleration is less than a preset threshold, determining a second yaw angle of the projection device based on the time-of-flight sensor;

[0032] Acquire a first yaw angle of the projection device calculated by the second gyroscope, wherein the first yaw angle is the yaw angle of the projection device at a previous moment;

[0033] Based on the first yaw angle and the second yaw angle, in combination with a Kalman filter algorithm, a current yaw angle of the projection device is calculated.

[0034] Optionally, the preset threshold is obtained by the following steps:

[0035] The preset threshold is obtained according to a ratio between a preset angle error and a refresh rate of the time-of-flight sensor.

[0036] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the projection device control method described in any one of the first and second aspects and / or the steps of the projection device correction method described in the third aspect are implemented.

[0037] According to a fifth aspect of an embodiment of the present disclosure, there is provided a remote control device, including:

[0038] a memory having a computer program stored thereon;

[0039] The processor is used to execute the computer program in the memory to implement the steps of the projection device control method described in the first aspect.

[0040] According to a sixth aspect of an embodiment of the present disclosure, there is provided a projection device, including:

[0041] a memory having a computer program stored thereon;

[0042] A processor is used to execute the computer program in the memory to implement the steps of the projection device control method described in the second aspect and / or to implement the steps of the projection device calibration method described in the third aspect.

[0043] Based on the above technical solution, by acquiring the posture information and spatial position information of the remote control device and sending the posture information and spatial position information to the projection device, the projection device can be controlled to adjust the center point of the projection plane of the projection device according to the posture information and spatial position information, so that the center point of the projection plane of the projection device coincides with the pointing center point of the remote control device, thereby realizing the projection plane of the projection device being projected to the direction pointed by the remote control device, and realizing the control of the projection device through the remote control device, thereby improving the user experience of the user when using the projection device.

[0044] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0046] Figure 1 is a schematic diagram of a scenario of a projection device control method proposed by an exemplary embodiment;

[0047] Figure 2 is a flowchart of a projection device control method proposed by an exemplary embodiment;

[0048] Figure 3 is a schematic diagram of a principle for determining a pointing center point of a remote control device proposed by an exemplary embodiment;

[0049] Figure 4 is a schematic diagram of adjusting the center point of the projection plane proposed by an exemplary embodiment;

[0050] Figure 5 is a schematic diagram of a process for determining the position and posture information of a remote control device proposed by an exemplary embodiment;

[0051] Figure 6 is a schematic diagram of a current yaw angle and a current pitch angle of a remote control device proposed by an exemplary embodiment;

[0052] Figure 7 is a schematic diagram of a flow chart of determining a current yaw angle of a remote control device proposed by an exemplary embodiment;

[0053] Figure 8 is a flow chart of a projection device control method proposed by another exemplary embodiment;

[0054] Fig. 9 is a flow chart of a projection device calibration method proposed by an exemplary embodiment;

[0055] Fig.10 The invention is a block diagram of a projection device according to an exemplary embodiment. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0057] Figure 1 FIG. 1 is a schematic diagram of a scenario of a projection device control method proposed by an exemplary embodiment. Figure 1 As shown, the remote control device 100 and the projection device 700 are included, wherein the remote control device 100 is used to remotely control the projection device 700 to adjust the projection angle of the projection device 700, or adjust the projection plane of the projection device 700, etc. The remote control device 100 and the projection device 700 can be connected in communication, such as through WiFi, Bluetooth and other communication methods, so as to send posture information and spatial position information to the projection device 700. Of course, the remote control device 100 and the projection device 700 can also be in the same Internet of Things network, and the remote control device 200 sends data to the Internet of Things control center, and the Internet of Things control center then forwards the data to the projection device 700.

[0058] It is worth noting that the remote control device 100 can be a separately set remote control for use with the projection device 700, or it can be a functional module installed on other electronic devices. For example, the remote control device 100 is installed on a mobile terminal, and the user can control the projection device 700 through the remote control device 100 on the mobile terminal.

[0059] Figure 2 FIG. 1 is a flowchart of a projection device control method proposed by an exemplary embodiment. The projection device control method can be applied to a remote control device, such as Figure 2 As shown, the projection device control method may include the following steps.

[0060] In step 110, the posture information and spatial position information of the remote control device are determined.

[0061] Here, the posture information of the remote control device refers to the posture of the remote control device, such as the yaw angle and pitch angle of the remote control device. The spatial position information of the remote control device may refer to the geometric position of the remote control device in space, and the spatial position information may include the height information of the remote control device and the distance from the projection surface (wall or screen). For example, when the projection device is used indoors, the spatial position information of the remote control device refers to the spatial position of the remote control device in the room, and the spatial position may refer to the height information of the remote control device and the distance information between the remote control device and the wall. For example, it may include the positioning information of the remote control device in the living room and the height of the user holding the remote control device.

[0062] It is worth noting that the remote control device may be a conventional infrared remote control device or a remote control device based on gesture control.

[0063] In some embodiments, the spatial location information of the remote control device may be obtained based on a communication module of the remote control device.

[0064] Among them, based on the communication module of the remote control device, combined with the indoor spatial positioning technology, the spatial position information of the remote control device can be determined. For example, the spatial position information of the remote control device is calculated by using UWB (Ultra Wideband) spatial positioning technology or WiFi 6.0 (a wireless network standard) spatial positioning technology.

[0065] In step 120, the posture information and the spatial position information are sent to the projection device, so that the projection device adjusts the center point of the projection plane of the projection device according to the posture information and the spatial position information, so that the center point of the projection plane coincides with the pointing center point of the remote control device.

[0066] Here, after determining its own posture information and spatial position information, the remote control device sends the posture information and spatial position information to the projection device. After receiving the posture information and spatial position information, the projection device calculates the pointing center point of the remote control device according to the posture information and spatial position information, and adjusts the projection plane of the projection device so that the center point of the projection plane of the projection device coincides with the pointing center point.

[0067] The center point of the remote control device refers to the point where the ray of the remote control device is mapped on the projection area (wall or screen), and the center point reflects the projection area selected by the user. For example, when the remote control device is an infrared remote control device, the center point of the remote control device refers to the point where the infrared ray is mapped on the projection area. The center point of the projection plane of the projection device refers to the center point of the projection image of the projection device projected on the wall or screen.

[0068] Figure 3 FIG. 1 is a schematic diagram showing the principle of determining the pointing center point of a remote control device according to an exemplary embodiment. Figure 3 As shown, in some examples, the projection device can calculate the pointing direction of the remote control device 100 according to the posture information of the remote control device 100, and then determine the coordinate information in space of the pointing center point 101 of the ray where the pointing direction is located projected on the wall 102 according to the pointing direction and the spatial position information of the remote control device 100. Among them, the coordinate information reflects the position of the pointing center point 101 of the remote control device 100 on the wall 102. It should be understood that the spatial position information may include the three-dimensional coordinates of the remote control device 100 in space, and the three-dimensional coordinates may be the height 104 of the remote control device 100 from the ground 103 and the distance 105 between the remote control device 100 and the wall 102.

[0069] Figure 4 FIG. 1 is a schematic diagram of adjusting the center point of the projection plane proposed by an exemplary embodiment. Figure 4 As shown, when the pointing center point 101 of the remote control device is located at the lower right side of the wall 102, the original projection plane 401 of the projection device moves from the upper left side of the wall 102 to the lower right side of the wall 102, so that the center point of the adjusted projection plane 402 coincides with the pointing center point 101 of the remote control device.

[0070] Therefore, by acquiring the posture information and spatial position information of the remote control device and sending the posture information and spatial position information to the projection device, the projection device can be controlled to adjust the center point of the projection plane of the projection device according to the posture information and spatial position information, so that the center point of the projection plane of the projection device coincides with the pointing center point of the remote control device, thereby realizing the projection plane of the projection device being projected to the direction pointed by the remote control device.

[0071] Figure 5 FIG. 1 is a flow chart of determining the position information of a remote control device according to an exemplary embodiment. Figure 5 As shown, in some feasible implementations, the position information of the remote control device can be obtained through the following steps.

[0072] In step 111, the current pitch angle of the remote control device is calculated based on the first gravimeter and / or the first gyroscope.

[0073] Here, the current pitch angle of the remote control device may be calculated by the first gravimeter, the current pitch angle of the remote control device may be calculated by the first gyroscope, or the current pitch angle of the remote control device may be calculated by the first gravimeter and the first gyroscope.

[0074] Among them, the current pitch angle of the remote control device calculated based on the first gravimeter is calculated based on the angle between the current gravity direction calculated by the first gravimeter and the chip coordinate axis. The current pitch angle of the remote control device calculated by the first gyroscope is obtained by obtaining the angular acceleration of the remote control device in the reference direction of the pitch angle and the reference direction of the roll angle respectively according to the first gyroscope, and then the current pitch angle of the remote control device is obtained by integrating the angular acceleration based on time. The current pitch angle of the remote control device calculated by the first gravimeter and the first gyroscope is specifically calculated by the first gravimeter and the pitch angle at the previous moment calculated by the first gyroscope, combined with the Kalman filter algorithm, to calculate the current pitch angle of the remote control device. It should be understood that the error of the first gyroscope will gradually increase during the integration process. The drift correction of the first gyroscope by the pitch angle calculated by the first gravimeter can correct the error of the first gyroscope.

[0075] In step 112, a current yaw angle of the remote control device is obtained based on a first yaw angle of the remote control device calculated by the first gyroscope and a second yaw angle of the remote control device calculated by a time-of-flight sensor.

[0076] Here, the first yaw angle of the remote control device calculated by the first gyroscope refers to the yaw angle calculated by time integration of the angular acceleration of the remote control device in the reference direction of the yaw angle measured by the first gyroscope. The second yaw angle is the yaw angle of the remote control device calculated by the time-of-flight sensor, specifically, the time-of-flight sensor projects multiple light points onto the projection surface (wall or curtain), obtains depth information of the multiple light points, and for each light point, determines the three-dimensional coordinates of the light point on the projection surface according to the depth information of the light point, and then calculates the normal vector of the projection surface relative to the remote control device according to the three-dimensional coordinates of the multiple light points, and finally calculates the yaw angle of the remote control device according to the normal vector.

[0077] It should be understood that the first gravity meter, the first gyroscope and the time-of-flight sensor may be installed on the remote control device. When the remote control device is provided on the mobile terminal, the first gravity meter, the first gyroscope and the time-of-flight sensor may be provided on the mobile terminal.

[0078] Figure 6 FIG. 1 is a schematic diagram of the current yaw angle and the current pitch angle of the remote control device proposed by an exemplary embodiment. Figure 6 As shown, point H is the position of the remote control device, and the coordinates of point H can be determined by spatial positioning technology. HN is perpendicular to plane MONP, and point M is the current pointing center point of the remote control device. ∠PHN is the current yaw angle of the remote control device, which can be determined by the first gyroscope and the time of flight sensor. ∠OHN is the current pitch angle of the remote control device, which can be determined by the first gravimeter and / or the first gyroscope.

[0079] Figure 7 FIG. 1 is a flow chart of determining the current yaw angle of the remote control device according to an exemplary embodiment. Figure 7 As shown, in some embodiments, the current yaw angle of the remote control device can be obtained through the following steps.

[0080] In step 1121, a current angular acceleration of the remote control device in a reference direction of a yaw angle is determined based on the first gyroscope.

[0081] Here, the first gyroscope measures the current angular acceleration of the remote control device in a reference direction of the yaw angle in real time, and the reference direction of the yaw angle refers to the coordinate axis where the yaw angle of the remote control device is located.

[0082] In step 1122, when the current angular acceleration is less than a preset threshold, a second yaw angle of the remote control device is determined based on the time-of-flight sensor.

[0083] Here, when the current angular acceleration in the reference direction of the yaw angle is less than a preset threshold, the second yaw angle of the remote control device is calculated by the time-of-flight sensor. The specific process of calculating the yaw angle by the time-of-flight sensor has been described in detail in the above embodiments and will not be repeated here. When the current angular acceleration in the reference direction of the yaw angle is greater than or equal to the preset threshold, the current yaw angle of the remote control device is obtained based on the integration of the current angular acceleration over time. It is worth noting that the specific process of obtaining the current yaw angle of the remote control device based on the integration of the current angular acceleration over time can be to obtain the third yaw angle of the remote control device by integrating the current angular acceleration over time, and then calculate the current yaw angle based on the third yaw angle and the fourth yaw angle calculated based on the integration of the angular acceleration of the remote control device in the reference direction of the yaw angle at the previous moment in time, combined with the Kalman filter algorithm.

[0084] It should be understood that when the current acceleration of the remote control device in the reference direction of the yaw angle is less than the preset threshold, it means that the error of the first gyroscope has accumulated to a certain extent, so directly calculating the current yaw angle by the current acceleration will result in unacceptable error.

[0085] In some embodiments, the preset threshold value can be obtained according to the ratio between the preset angle error and the refresh rate of the time-of-flight sensor. The preset threshold value can be calculated by the following formula M=k*(J / T), where M is the preset threshold value, k is a constant, J is the angle error, and T is the refresh rate of the time-of-flight sensor. It is worth noting that the preset angle error can be determined according to the angle error that the human eye can tolerate.

[0086] In step 1123, a first yaw angle of the remote control device calculated based on the first gyroscope is obtained, wherein the first yaw angle is the yaw angle of the remote control device at a previous moment.

[0087] Here, the first yaw angle is the yaw angle of the remote control device at the last moment calculated based on the first gyroscope. The specific process of calculating the yaw angle based on the first gyroscope has been described in detail in the above embodiment and will not be repeated here.

[0088] In step 1124, based on the first yaw angle and the second yaw angle, a current yaw angle of the remote control device is calculated in combination with a Kalman filter algorithm.

[0089] Here, the Kalman filter algorithm is a recursive feedback algorithm, which includes two parts: a time update equation and a measurement state update equation. The first yaw angle and the second yaw angle are used as inputs of the Kalman filter algorithm to obtain the current yaw angle of the remote control device.

[0090] The detailed calculation process of the current yaw angle of the remote control device is as follows: when the current yaw angle of the remote control device is calculated by the first gyroscope, it can be calculated based on the time integral of the angular velocity calculated by the first gyroscope. Due to the integral error, the error of the yaw angle calculated by the first gyroscope will become larger and larger. In this process, the Kalman filter algorithm can be introduced to estimate and compensate the error of the yaw angle calculated by the first gyroscope. Specifically, the current yaw angle calculated by the first gyroscope and the yaw angle of the remote control device at the previous moment are used as inputs of the Kalman filter algorithm, and the output result of the Kalman filter algorithm is the current angular acceleration of the remote control device. However, when the angular acceleration of the remote control device in the reference direction of the yaw angle is less than the preset threshold, the error generated is unacceptable to the user. Therefore, it is necessary to correct the yaw angle calculated by the first gyroscope in combination with the yaw angle calculated by the time of flight sensor. Specifically, the current yaw angle calculated by the time of flight sensor is used to replace the current yaw angle calculated by the first gyroscope as the input of the Kalman filter algorithm, so as to obtain a more accurate current yaw angle of the remote control device.

[0091] Figure 8 FIG. 1 is a flowchart of a projection device control method proposed by another exemplary embodiment. The projection device control method can be applied to projection devices such as Figure 8 As shown, the projection device control method may include the following steps.

[0092] In step 210, posture information and spatial position information of the remote control device sent by the remote control device are received.

[0093] Here, the projection device can receive the posture information and spatial position information sent by the remote control device through the communication module, wherein the posture information and spatial position information of the remote control device have been described in detail in the above embodiments and will not be repeated here.

[0094] In step 220, the coordinate information of the pointing center point of the remote control device is determined according to the posture information and spatial position information of the remote control device.

[0095] Here, after receiving the posture information and spatial position information, the projection device calculates the coordinate information of the pointing center point of the remote control device according to the posture information and spatial position information. In some examples, the projection device can calculate the pointing direction of the pointing center point of the remote control device according to the posture information of the remote control device, and then determine the coordinate information of the pointing center point in space according to the pointing direction and the spatial position information of the remote control device. Among them, the coordinate information reflects the position of the pointing center point of the remote control device on the wall.

[0096] In step 230, the projection plane of the projection device is adjusted according to the coordinate information so that the center point of the projection plane of the projection device coincides with the pointing center point of the remote control device.

[0097] Here, the projection device adjusts the projection plane of the projection device according to the coordinate information so that the center point of the projection plane of the projection device coincides with the pointing center point of the remote control device.

[0098] It is worth noting that, in some embodiments, the projection device can adjust the projection plane by a mechanical structure, for example, a multi-degree-of-freedom pan / tilt is installed on the projection device, and the projection device adjusts the projection angle of the projection device by adjusting the angle of the pan / tilt, so that the center point of the projection plane coincides with the pointing center point of the remote control device. In other embodiments, the projection device can change the size of the projected image, or the angle of the projection light, so that the center point of the projection plane coincides with the pointing center point of the remote control device.

[0099] Therefore, by obtaining the posture information and spatial position information of the remote control device, the projection device controls the center point of the projection plane of the projection device to coincide with the pointing center point of the remote control device according to the posture information and spatial position information, thereby realizing the projection plane of the projection device being projected to the direction pointed by the remote control device.

[0100] In some feasible implementations, the posture information of the remote control device includes a current pitch angle and a current yaw angle of the remote control device, wherein the current pitch angle is calculated by the remote control device based on a first gravimeter and / or a first gyroscope, and the current yaw angle is calculated by the remote control device based on a first yaw angle of the remote control device calculated by the first gyroscope and a second yaw angle of the remote control device calculated by a time-of-flight sensor.

[0101] It should be understood that the detailed calculation process of the current pitch angle, the current roll angle and the current yaw angle has been described in detail in the above embodiments and will not be repeated here.

[0102] In some embodiments, the coordinate information of the pointing center point of the remote control device may be determined according to the current pitch angle, the current yaw angle, and the spatial position information of the remote control device.

[0103] It should be understood that the specific process of determining the coordinate information of the pointing center point of the remote control device according to the current pitch angle, current yaw angle and spatial position information of the remote control device has been described in detail in the above embodiments and will not be repeated here.

[0104] Fig. 91 is a flowchart of a method for calibrating a projection device proposed by an exemplary embodiment. The embodiment of the present disclosure also provides a method for calibrating a projection device, which can be applied to a projection device. Fig. 9 As shown, the projection device calibration method may include the following steps.

[0105] In step 310, a current pitch angle and a current roll angle of the projection device are calculated based on the second gravimeter and / or the second gyroscope.

[0106] Here, the second gravimeter and / or the second gyroscope may be provided on the projection device, which may be an IMU (Inertial Measurement Unit) on the projection device. In some embodiments, the current pitch angle and the current roll angle of the projection device may be calculated by the second gravimeter, the current pitch angle and the current roll angle of the projection device may be calculated by the second gyroscope, and the current pitch angle and the current roll angle of the projector may be calculated by the second gravimeter and the second gyroscope.

[0107] Among them, the current pitch angle and the current roll angle of the projection device calculated based on the second gravimeter are calculated based on the angle between the current gravity direction calculated by the second gravimeter and the chip coordinate axis. The current pitch angle and the current roll angle of the remote control are calculated by the second gyroscope, and the angular acceleration of the projection device in the reference direction of the pitch angle and the reference direction of the roll angle are obtained by the second gyroscope, and then the current pitch angle and the current roll angle of the projection device are obtained based on the time integration of the angular acceleration. The current pitch angle and the current roll angle of the projection device are calculated by the second gravimeter and the second gyroscope, and when the corresponding angular acceleration calculated by the second gyroscope is less than a specific threshold, the pitch angle and the roll angle calculated by the second gravimeter, the pitch angle and the roll angle calculated by the second gyroscope at the previous moment, combined with the Kalman filter algorithm, are used to calculate the current pitch angle and the current roll angle of the projection device. It should be understood that the error of the second gyroscope will gradually increase during the integration process, and the error of the second gyroscope can be corrected by performing drift correction on the second gyroscope through the pitch angle and roll angle calculated by the second gravimeter.

[0108] In step 320, a current yaw angle of the projection device is obtained based on the first yaw angle of the projection device calculated by the second gyroscope and the second yaw angle of the projection device calculated by the time-of-flight sensor.

[0109] Here, the first yaw angle of the projection device calculated by the second gyroscope refers to the yaw angle calculated by time integration of the angular acceleration of the projection device in the reference direction of the yaw angle measured by the second gyroscope. The second yaw angle is the yaw angle of the projection device calculated by the time-of-flight sensor, specifically, the time-of-flight sensor projects multiple light points onto the projection surface (wall or curtain), obtains depth information of the multiple light points, and for each light point, determines the three-dimensional coordinates of the light point on the projection surface based on the depth information of the light point, and then calculates the normal vector of the projection surface relative to the projection device based on the three-dimensional coordinates of the multiple light points, and finally calculates the yaw angle of the projection device based on the normal vector.

[0110] In some embodiments, in step 320, obtaining the current yaw angle of the projection device based on the first yaw angle of the projection device calculated by the second gyroscope and the second yaw angle of the projection device calculated by the time-of-flight sensor may include:

[0111] determining a current angular acceleration of the projection device in a reference direction of a yaw angle based on the second gyroscope;

[0112] When the current angular acceleration is less than a preset threshold, determining a second yaw angle of the projection device based on the time-of-flight sensor;

[0113] Acquire a first yaw angle of the projection device calculated by the second gyroscope, wherein the first yaw angle is the yaw angle of the projection device at a previous moment;

[0114] Based on the first yaw angle and the second yaw angle, in combination with a Kalman filter algorithm, a current yaw angle of the projection device is calculated.

[0115] Here, the projection device measures the current angular acceleration of the projection device in a reference direction of the yaw angle in real time through the second gyroscope, and the reference direction of the yaw angle refers to the coordinate axis where the yaw angle of the projection device is located.

[0116] When the current angular acceleration of the projection device in the reference direction of the yaw angle is less than a preset threshold, the second yaw angle of the remote control is calculated by the time-of-flight sensor. The specific process of calculating the yaw angle by the time-of-flight sensor has been described in detail in the above embodiments and will not be repeated here. When the current angular acceleration of the projection device in the reference direction of the yaw angle is greater than or equal to the preset threshold, the current yaw angle of the projection device is obtained based on the integral of the current angular acceleration over time. It is worth noting that the specific process of obtaining the current yaw angle of the projection device based on the integral of the current angular acceleration over time can be to obtain the third yaw angle of the projection device by calculating the integral of the current angular acceleration over time, and then calculate the current yaw angle based on the third yaw angle and the fourth yaw angle calculated according to the integral of the angular acceleration of the projection device in the reference direction of the yaw angle at the previous moment in time, combined with the Kalman filter algorithm.

[0117] It should be understood that when the current acceleration of the projection device in the reference direction of the yaw angle is less than the preset threshold, it means that the error of the second gyroscope has accumulated to a certain extent, so directly calculating the current yaw angle by the current acceleration will result in unacceptable error.

[0118] Therefore, it is necessary to calculate the current yaw angle of the projection device based on the first yaw angle and the second yaw angle in combination with a Kalman filter algorithm.

[0119] The first yaw angle is the yaw angle of the projection device at the last moment calculated based on the second gyroscope. The specific process of calculating the yaw angle based on the second gyroscope has been described in detail in the above embodiment and will not be repeated here.

[0120] As a recursive feedback algorithm, the Kalman filter algorithm includes two parts: a time update equation and a measurement state update equation. The first yaw angle and the second yaw angle are used as inputs of the Kalman filter algorithm to obtain the current yaw angle of the projection device.

[0121] The detailed calculation process of the current yaw angle of the projection device is as follows: when the current yaw angle of the projection device is calculated by the second gyroscope, it can be calculated based on the integral of the angular velocity calculated by the second gyroscope over time. Due to the integral error, the error of the yaw angle calculated by the second gyroscope will become larger and larger. In this process, the Kalman filter algorithm can be introduced to estimate and compensate the error of the yaw angle calculated by the second gyroscope. Specifically, the current yaw angle calculated by the second gyroscope and the yaw angle of the projection device at the previous moment are used as inputs of the Kalman filter algorithm, and the output result of the Kalman filter algorithm is the current angular acceleration of the remote control. However, when the angular acceleration of the projection device in the reference direction of the yaw angle is less than the preset threshold, the error generated is unacceptable to the user. Therefore, it is necessary to correct the yaw angle calculated by the second gyroscope in combination with the yaw angle calculated by the time-of-flight sensor. Specifically, the current yaw angle calculated by the time-of-flight sensor is used to replace the current yaw angle calculated by the second gyroscope as the input of the Kalman filter algorithm, so as to obtain a more accurate current yaw angle of the projection device.

[0122] In some embodiments, the preset threshold value can be obtained according to the ratio between the preset angle error and the refresh rate of the time-of-flight sensor. The preset threshold value can be calculated by the following formula M=k*(J / T), where M is the preset threshold value, k is a constant, J is the angle error, and T is the refresh rate of the time-of-flight sensor. It is worth noting that the preset angle error can be determined according to the angle error that the human eye can tolerate.

[0123] In step 330, the projection image of the projection device is corrected according to the current pitch angle, the current roll angle, and the current yaw angle.

[0124] Here, the projection image of the projection device is calibrated based on the current pitch angle, the current roll angle and the current yaw angle as the trapezoidal vertex correction technology of the projection device, which is not described in detail here. For example, after calculating the current pitch angle, the current roll angle and the current yaw angle of the projection device, the normal vector of the projection image of the original image of the projection device projected onto the projection plane (wall / curtain) relative to the projection device can be calculated according to the current pitch angle, the current roll angle and the current yaw angle of the projection device, and then the position information of the plane where the projection image is located is calculated based on the normal vector. Among them, the position information is the position of the plane where the projection image is located in space, which can be understood as the plane where the projection plane (wall / curtain) is located. Then, based on the ray vectors established by the four vertices of the projection image projected by the projection device, combined with the position information of the plane where the projection image is located, the three-dimensional coordinates of the four vertices of the projection image projected on the projection plane (wall / curtain) are obtained. Then, based on the three-dimensional coordinates of the four vertices of the projection image, vector decomposition is performed to obtain two-dimensional vertex coordinates, and then based on the homography matrix relationship between the two-dimensional vertex coordinates and the vertex coordinates of the original image, the scale of the original image is adjusted to obtain the adjusted original image. Finally, the projection device is controlled to project the adjusted original image, so that the image seen by the user can always maintain a rectangular shape.

[0125] Therefore, the second gyroscope, the second gravity meter and the time-of-flight sensor can more accurately and quickly calculate the position of the projection device, especially when applied to a portable projection device. The above projection device calibration method can also display the offset angle of the projection device in real time to assist the user in correctly placing the projection device.

[0126] It is worth noting that the above projection device calibration method can be implemented alone or in conjunction with the above projection device control method. For example, after executing steps 210 to 230, the projection device can also execute steps 310 to 330 to calibrate the projection image of the projection device.

[0127] In some feasible embodiments, after step 230, the projection device control method may further include the following steps:

[0128] Calculate the current pitch angle and the current roll angle of the projection device based on the second gravimeter and / or the second gyroscope;

[0129] Obtaining a current yaw angle of the projection device based on a first yaw angle of the projection device calculated by the second gyroscope and a second yaw angle of the projection device calculated by a time-of-flight sensor;

[0130] The projection image of the projection device is corrected according to the current pitch angle, the current roll angle, and the current yaw angle.

[0131] Here, after the projection device makes the center point of the projection plane of the projection device coincide with the pointing center point of the remote control device based on the above-mentioned projection device control method, the projection device can also calculate the current pitch angle and the current roll angle of the projection device based on the second gravimeter and / or the second gyroscope arranged on the projection device, and calculate the current yaw angle of the projection device based on the second gyroscope and the time-of-flight sensor, and then correct the projected image of the projection device based on the current pitch angle, the current roll angle and the current yaw angle, so that the image seen by the user can always maintain a rectangular shape.

[0132] It should be understood that the principle of the projection device calibration has been described in detail in the above embodiment of the projection device calibration method, and will not be repeated here.

[0133] Therefore, after the center point of the projection plane of the projection device is adjusted based on the remote control device, the projection image of the projection device can be corrected so that the projection image displayed on the adjusted projection plane observed by the user is in a rectangular shape.

[0134] According to an embodiment of the present disclosure, a remote control device is provided, including:

[0135] a memory having a computer program stored thereon;

[0136] The processor is used to execute the computer program in the memory to implement the steps of the projection device control method described in the above embodiment.

[0137] Fig.10 FIG. 1 is a block diagram of a projection device according to an exemplary embodiment. Fig.10 As shown, the projection device 700 may include: a processor 701 and a memory 702. The projection device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.

[0138] The processor 701 is used to control the overall operation of the projection device 700 to complete all or part of the steps in the above-mentioned projection device control method. The memory 702 is used to store various types of data to support the operation of the projection device 700. For example, these data may include instructions for any application or method used to operate on the projection device 700, and application-related data, such as indoor space layout information, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the projection device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0139] In an exemplary embodiment, the projection device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned projection device control method.

[0140] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned projection device control method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the projection device 700 to complete the above-mentioned projection device control method.

[0141] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0142] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0143] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A method for calibrating a projection device, characterized in that: include: Calculate the current pitch angle and the current roll angle of the projection device based on the second gravimeter and / or the second gyroscope; Obtaining a current yaw angle of the projection device based on a first yaw angle of the projection device calculated by the second gyroscope and a second yaw angle of the projection device calculated by a time-of-flight sensor; The projection image of the projection device is corrected according to the current pitch angle, the current roll angle, and the current yaw angle.

2. The projection device calibration method according to claim 1, characterized in that: The obtaining of the current yaw angle of the projection device based on the first yaw angle of the projection device calculated by the second gyroscope and the second yaw angle of the projection device calculated by the time-of-flight sensor comprises: determining a current angular acceleration of the projection device in a reference direction of a yaw angle based on the second gyroscope; When the current angular acceleration is less than a preset threshold, determining the second yaw angle based on the time-of-flight sensor; determining the first yaw angle of the projection device based on the second gyroscope, where the first yaw angle is the yaw angle of the projection device at a previous moment; Based on the first yaw angle and the second yaw angle, a current yaw angle of the projection device is determined.

3. The projection device calibration method according to claim 2, characterized in that: The method for determining the preset threshold includes: The preset threshold is obtained according to a ratio between a preset angle error and a refresh rate of the time-of-flight sensor.

4. The projection device calibration method according to claim 1 or 2, characterized in that: The method further comprises: When the current angular acceleration of the projection device in the reference direction of the yaw angle determined based on the second gyroscope is greater than or equal to a preset threshold, the current yaw angle of the projection device is determined according to the current angular acceleration.

5. The projection device calibration method according to claim 4, characterized in that: Determining the current yaw angle of the projection device according to the current angular acceleration comprises: A current yaw angle of the projection device is obtained based on the time integration of the current angular acceleration.

6. The projection device calibration method according to claim 2, characterized in that: The determining, based on the first yaw angle and the second yaw angle, a current yaw angle of the projection device includes: The first yaw angle and the second yaw angle are used as inputs of a Kalman filter algorithm to obtain the current yaw angle of the projection device.

7. The projection device calibration method according to claim 1, characterized in that: The correcting the projection image of the projection device according to the current pitch angle, the current roll angle and the current yaw angle includes: Based on the trapezoidal vertex correction technology, the projection image is corrected according to the current pitch angle, the current roll angle, and the current yaw angle, so that the corrected projection image is in a rectangular shape.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the projection device calibration method described in any one of claims 1 to 7 is implemented.

9. A projection device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the projection device calibration method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Rapid trapezoidal adjustment method and device based on IMU and TOF and medium thereof

    CN119071466A

  • Projection picture keystone correction method and system based on angle mode

    CN122395355A

  • A method and system for correcting trapezoidal distortion of a projection screen in an angular mode

    CN122395355B