A control method for a projector and a projector
By setting up a gimbal on the projector and using a gyroscope and accelerometer to detect rotation changes, intelligent switching of the projector operation mode is achieved, solving the problems of single functions and complex operation of traditional projectors, improving convenience and functionality.
Patent Information
- Application Number
- CN202411607278.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-12
AI Technical Summary
Traditional projectors have single functions, users rely on remote controls for operation, and there are complex and unintuitive problems in the integration of non-TV software.
By setting up a gimbal on the projector, using a gyroscope and accelerometer to detect rotation changes, calculate the current rotation angle, and switch the projector's operating mode according to preset conditions to achieve intelligent control.
It reduces user operation steps, improves the convenience and efficiency of the projector, and enhances the functionality and entertainment of the projector.
Smart Images

Figure CN119126467B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of projection technology, and in particular to a control method of a projector and a projector. Background Art
[0002] In the history of projection technology, although traditional projectors have undergone many iterations, their core functions have always revolved around single image projection, and they have failed to fully tap their potential in interactivity and entertainment. This single function has limited the application scenarios of projectors, making them unable to meet the diverse needs of users.
[0003] The operation of traditional projectors mainly relies on remote controls. Whether it is switching input sources, adjusting the image focus, or making system settings, users need to use the remote control to complete the operation, which not only reduces the convenience of operation, but also affects the user experience to a certain extent. Especially when adjusting the focus, due to the lack of intuitive feedback and precise control, users often need to try multiple times to achieve the ideal picture effect.
[0004] In addition, traditional projectors are particularly inadequate for the integration of non-TV software. Due to the limitations of the operating interface and interactive logic, users often face problems such as complex and unintuitive operations when installing and using such software, which not only increases the user's learning cost, but also limits the further expansion of projector functions. Summary of the invention
[0005] An object of an embodiment of the present invention is to provide a control method of a projector and a projector, so as to solve the technical problems of functional limitations of a traditional projector and user dependence on a remote control.
[0006] In a first aspect, an embodiment of the present invention provides a control method for a projector, which is applied to a projector, wherein the projector includes: a projection screen and a display screen, and the projector is arranged on a pan-tilt platform, and the pan-tilt platform is used to adjust the rotation angle of the projector, and the method includes:
[0007] When a rotation change of the projector is detected, sensor data corresponding to the rotation change of the projector is acquired;
[0008] Calculating a current rotation angle of the projector based on the sensor data;
[0009] When the current rotation angle meets a preset switching condition, the operation mode of the projector is switched.
[0010] In combination with the first aspect, in a possible implementation, the operating mode includes: a first operating mode and a second operating mode, the first operating mode refers to a mode in which the projection screen is in working state, and the second operating mode refers to a mode in which the display screen is in working state.
[0011] In combination with the first aspect, in a possible implementation, the projector also includes a gyroscope and an accelerometer, and the current rotation angle of the projector is calculated based on the sensor data, including: monitoring the instantaneous angular velocity of the gyroscope in the pitch direction; when the instantaneous angular velocity exceeds a preset threshold, obtaining the acceleration parameters currently collected by the accelerometer; and obtaining the current rotation angle of the projector according to the acceleration parameters and a preset angle calculation formula.
[0012] In combination with the first aspect, in a possible implementation method, the current rotation angle of the projector is obtained according to the acceleration parameter and the preset angle calculation formula, including: performing unit conversion on the acceleration parameter to obtain a first acceleration parameter that conforms to a preset unit rule; filtering the first acceleration parameter to obtain a second acceleration parameter; mapping the second acceleration parameter to a target coordinate system of the projector to obtain a third acceleration parameter in the target coordinate system; correcting the third acceleration parameter to obtain a target acceleration parameter; and obtaining the current rotation angle of the projector according to the target acceleration parameter and the preset angle calculation formula.
[0013] In combination with the first aspect, in a possible implementation, when the current rotation angle meets a preset switching condition, the operating mode of the projector is switched, including: obtaining the current operating mode; when the current operating mode is the first operating mode, determining whether the current rotation angle is less than a first preset angle, and if so, switching the projector to the second operating mode; when the current operating mode is the second operating mode, determining whether the current rotation angle is greater than the second preset angle, and if so, switching the projection mode to the first operating mode.
[0014] In combination with the first aspect, in a possible implementation, the projector also includes: a cooling fan, and the method also includes: when the operating mode is the first operating mode, obtaining a first operating temperature of the projection screen; according to a preset temperature and a cooling fan duty cycle mapping table, obtaining a target duty cycle corresponding to the first operating temperature in the preset temperature and a cooling fan duty cycle mapping table; according to the target duty cycle, dynamically controlling the cooling fan to operate at a first speed value; when the operating mode is the second operating mode, controlling the cooling fan to maintain the current second speed value, and when it is detected that the second operating temperature of the display screen reaches the first preset temperature value, turning off the cooling fan.
[0015] In combination with the first aspect, in a possible implementation, the method includes: obtaining a current target time; when the target time is in a sleep period, setting the operating mode to a silent mode, wherein the silent mode controls the cooling fan to operate at a third speed value.
[0016] In combination with the first aspect, in a possible implementation, the projector also includes: a camera, and after switching the operating mode of the projector to the first operating mode, the method also includes: obtaining a preset cursor of the projector, the preset cursor being a cursor projected by the projection screen onto a projection screen corresponding to the projection screen; capturing the preset cursor according to the camera, obtaining a size and clarity of the preset cursor on the projection screen; determining a current target distance between the projector and the projection screen according to the size; and automatically focusing the projection screen according to the target distance and the clarity, wherein the target distance and the clarity are used to determine a focusing step size.
[0017] In combination with the first aspect, in a possible implementation, the method also includes: based on the sensor data corresponding to the rotation change of the projector, feature extraction of acceleration data and angular velocity data in the sensor data to obtain acceleration feature data and the angular velocity feature data; when the current rotation angle meets the preset switching conditions, switching the operating mode of the projector, including: obtaining the current operating mode; when the current operating mode is the first operating mode, when the current rotation angle is in a first preset interval, judging whether to switch the operating mode of the projector based on the acceleration feature data and the angular velocity feature data; when the current operating mode is the second operating mode, when the current rotation angle is in a second preset interval, judging whether to switch the operating mode of the projector based on the acceleration feature data and the angular velocity feature data.
[0018] In a second aspect, an embodiment of the present invention provides a control device for a projector, which is applied to a projector, wherein the projector comprises: a projection screen and a display screen, and the projector is arranged on a pan-tilt platform, and the pan-tilt platform is used to adjust the rotation angle of the projector, and the device comprises:
[0019] An acquisition unit, configured to acquire sensing data corresponding to the rotation change of the projector when a rotation change of the projector is detected;
[0020] A calculation unit, configured to calculate a current rotation angle of the projector based on the sensor data;
[0021] A switching unit is used to switch the operation mode of the projector when the current rotation angle meets a preset switching condition.
[0022] In a third aspect, an embodiment of the present invention provides a projector, comprising: a projection screen, a display screen, and a cooling fan, wherein the projector is arranged on a pan-tilt head, the pan-tilt head is used to adjust the rotation angle of the projector, a memory, and a processor, the memory is connected to the processor, the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the projector can execute the method described in the first aspect.
[0023] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method as described in the first aspect.
[0024] In the control method of the above-mentioned projector and the scheme implemented by the projector, the method obtains and calculates the current rotation angle of the projector through sensor data. When a rotation change is detected, the projector can determine whether the preset switching conditions are met and intelligently switch the operating mode of the projector, thereby reducing the user's operation steps, thereby making the operation of the projector more convenient and efficient, and improving work stability; the projector proposed by the method includes a projection screen and a display screen, that is, the projector has a dual-screen design, thereby enabling the projector to not only perform traditional image projection, but also operate on the display screen, thereby enhancing the functionality and entertainment of the projector. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0026] Figure 1A is a structural schematic diagram of a projector in one embodiment of the present invention;
[0027] Figure 1B is a schematic structural diagram of another projector in one embodiment of the present invention;
[0028] Figure 2 is a flow chart of a method for controlling a projector in one embodiment of the present invention;
[0029] Figure 3 It is a structural schematic diagram of a control device for a projector in one embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0032] The technical solution of the present application can be applied to various projection scenarios.
[0033] In the control method of the projector, as applied to the projector, see Figure 1A , Figure 1A A structural schematic diagram of a projector provided in an embodiment of the present application is applied to a projector 10, wherein the projector 10 includes: a projection screen 20, a display screen 30 and a cooling fan 40, and the projector 10 is arranged on a pan-tilt head 50, and the pan-tilt head 50 is used to adjust the rotation angle of the projector.
[0034] The projection screen 20 is responsible for displaying the image projected by the optical system inside the projector on a wall or a dedicated projection screen for projection. The projection screen 20 is usually a transparent plane, which can be fixed or retractable to adapt to different projection environments and needs.
[0035] The display screen 30 is a display interface located in the projector, which allows the user to view content or perform operation settings directly on the projector when not projecting. The display screen 30 can be a liquid crystal screen (LCD) or an organic light emitting diode screen (OLED), etc. It provides an intuitive user interface and enhances the user experience.
[0036] The cooling fan 40 is used to maintain the internal temperature of the projector stable. Since the projector generates a lot of heat when working, the cooling fan 40 helps to dissipate the heat by forcing air to flow, preventing the internal components of the projector from being damaged due to overheating, thereby ensuring the stable operation of the projector and extending its service life.
[0037] The projector 10 is arranged on a pan-tilt platform 50, and the pan-tilt platform 50 is used to adjust the rotation angle of the projector. The pan-tilt platform 50 has horizontal and vertical rotation functions, so that the user can adjust the angle of the projector as needed to ensure that the projected image can be accurately projected to a predetermined position.
[0038] Specifically, horizontal rotation means that the projector can rotate left and right on the horizontal plane, allowing the user to change the horizontal position of the projected image on the wall or screen without changing the position of the projector. For example, if the viewers in the room are distributed in different positions, by horizontally rotating the pan / tilt head 50, it can be ensured that the image is projected to a position where everyone can watch comfortably.
[0039] Specifically, vertical rotation means that the projector can be tilted up and down on a vertical plane, which can be used to correct the vertical angle difference between the projector and the projection surface. When the position of the projector is not parallel to the projection surface, by adjusting the vertical rotation angle of the pan / tilt 50, trapezoidal distortion of the image can be avoided and the rectangular shape of the image can be maintained.
[0040] Furthermore, the design of the pan / tilt head 50 usually takes into account damping and locking mechanisms to ensure that after the angle is adjusted, the projector can remain firmly in that position and will not move due to external forces or vibrations. For electric pan / tilt heads, a fine adjustment function may also be included to allow the user to make fine angle adjustments.
[0041] like Figure 1B As shown, the projector 10 further includes a sensor module 60 and a processor 70.
[0042] The sensor module 60 is used to monitor and collect the motion and status information of the projector, and the data collected by the sensor module 60 can be used for various functions, such as autofocus, automatic keystone correction, motion compensation, etc. The sensor module 60 may include but is not limited to a gyroscope, an accelerometer, a magnetic field sensor, a temperature sensor, etc.
[0043] Specifically, a gyroscope is a sensor that can detect the rotational motion of a device. It can measure the angular velocity of the projector in three axes, namely pitch, yaw, and roll. In a projector, the gyroscope data is used to detect and adjust image distortion caused by device movement, ensuring that the image always remains horizontal and vertical.
[0044] Specifically, an accelerometer is a sensor that can detect the acceleration of a device. It can usually measure the linear acceleration of the device in three axes (X, Y, Z). In a projector, the data from the accelerometer can be used to detect changes in the position of the projector, such as tilt or movement, to automatically adjust the keystone correction and focus of the image.
[0045] Furthermore, when the projector is moved or tilted, the sensor module 60 detects these changes in real time and sends the data to the processor 70 for processing.
[0046] The processor 70 is the main control unit of the projector, which is responsible for receiving data from the sensor module 60 and performing corresponding calculations and processing. The processor 70 will run a special algorithm to quickly respond to sensor data and adjust the internal optical system of the projector to ensure that the image quality is not affected; the processor 70 may also be responsible for other projector functions, such as decoding video signals, controlling the projector's operating system, and performing user interface operations.
[0047] Furthermore, by integrating the sensor module 60 and the processor 70, the projector 10 can provide a more intelligent and automated user experience. For example, when the projector is accidentally touched and tilted, the sensor module 60 will immediately detect this change and automatically adjust the optical system through the processor 70 to keep the image clear and correct. Such a design makes the projector not only easy to operate, but also adaptable to a variety of usage environments and scenarios.
[0048] In view of this, the present application proposes a control method for a projector to solve the above problems, which is described in detail below.
[0049] See also Figure 2 , Figure 2 A flow chart of a method for controlling a projector provided by an embodiment of the present invention is provided. The method comprises the following steps:
[0050] S10. When a rotation change of the projector is detected, sensor data corresponding to the rotation change of the projector is acquired.
[0051] Among them, when the rotation change of the projector is detected, the projector's posture and motion state, including its rotation angle and acceleration, can be continuously monitored based on the projector's built-in sensor modules, such as gyroscopes and accelerometers. When the projector rotates in the horizontal or vertical direction, these sensors can immediately detect the change in angle. The rotation change may be caused by the user manually adjusting the gimbal, the device being touched or placed on an uneven surface.
[0052] The sensing data includes, but is not limited to, the direction of rotation (clockwise or counterclockwise), the angle of rotation, and the speed of rotation. Specifically, the sensor in the projector can distinguish whether the projector is rotating to the left or right, and whether it is tilted up or down; the sensing data will indicate the specific angle of the projector's rotation, which is usually in degrees (°). For example, the projector may have rotated 10 degrees or 30 degrees; the sensing data may be the speed of rotation, that is, the angle at which the projector rotates per unit time, which can be used to achieve smooth autofocus and image correction.
[0053] It can be seen that in this implementation, the sensing data acquisition is carried out in real time, which means that the projector can respond quickly to any rotation changes and make adjustments almost immediately, thereby achieving the effect of real-time feedback, improving the intelligence level of the projector, reducing the need for manual intervention by the user, and thus improving the user experience.
[0054] S20. Calculate the current rotation angle of the projector based on the sensor data.
[0055] Among them, the sensor data can be filtered and denoised to eliminate environmental interference and measurement errors and ensure the accuracy of the data.
[0056] Among them, the rotation angle is the tilt angle of the projector in the pitch direction, that is, the elevation angle between the projector and the ground. The elevation angle refers to the angle between the optical axis of the projector (or projection screen) and the horizontal ground. When the projector is tilted upward, the elevation angle is positive; when the projector is tilted downward, the elevation angle is negative.
[0057] In one embodiment, the projector also includes a gyroscope and an accelerometer, and the current rotation angle of the projector is calculated based on the sensor data, including: monitoring the instantaneous angular velocity of the gyroscope in the pitch direction; when the instantaneous angular velocity exceeds a preset threshold, obtaining the acceleration parameters currently collected by the accelerometer; and obtaining the current rotation angle of the projector according to the acceleration parameters and a preset angle calculation formula.
[0058] The pitch direction refers to the angle change of the projector's up and down tilt.
[0059] The instantaneous angular velocity is the rotational angular velocity of the projector at a certain moment.
[0060] The preset threshold is used to determine whether the rotational angular velocity has reached a level that requires further processing, and may be 10.0 dps, which is not a unique limitation here.
[0061] Specifically, when the instantaneous angular velocity detected by the gyroscope exceeds a preset threshold, it indicates that the projector has a significant rotation change in the pitch direction, and further acceleration data needs to be acquired for accurate calculation.
[0062] The acceleration parameter is the acceleration data of the projector in the pitch direction, usually including acceleration values along the X, Y, and Z axes. The acceleration parameter can reflect the tilt degree and motion state of the projector.
[0063] Among them, the preset angle calculation formula is usually based on acceleration data and trigonometric function relationship.
[0064] It can be seen that in this embodiment, through the accurate data of the gyroscope and the accelerometer, the projector can calculate the current rotation angle of the projector in real time to achieve accurate posture perception.
[0065] In one embodiment, the current rotation angle of the projector is obtained according to the acceleration parameter and a preset angle calculation formula, including: performing unit conversion on the acceleration parameter to obtain a first acceleration parameter that complies with a preset unit rule; filtering the first acceleration parameter to obtain a second acceleration parameter; mapping the second acceleration parameter to a target coordinate system of the projector to obtain a third acceleration parameter in the target coordinate system; correcting the third acceleration parameter to obtain a target acceleration parameter; and obtaining the current rotation angle of the projector according to the target acceleration parameter and a preset angle calculation formula.
[0066] Among them, the acceleration parameters collected by the accelerometer may use different units (for example, m / s² or g). In order to perform unified calculations, these acceleration parameters need to be converted into the first acceleration parameters that conform to the preset unit rules. For example, if the preset unit is m / s², and the unit output by the accelerometer is g (1 g ≈ 9.81 m / s²), the acceleration parameter needs to be multiplied by 9.81 for conversion. Unit conversion ensures the consistency and accuracy of subsequent calculations.
[0067] Among them, filtering is used to eliminate noise and retain valid signals. Common filtering methods include low-pass filtering, high-pass filtering and Kalman filtering. The data after filtering is called the second acceleration parameter. For example, low-pass filtering can remove high-frequency noise and only retain low-frequency valid signals, thereby obtaining smoother acceleration data.
[0068] Among them, the acceleration parameters collected by the accelerometer are usually in the sensor's own coordinate system, and need to be converted into acceleration parameters in the projector's target coordinate system. Mapping involves the calculation and application of the coordinate system transformation matrix. The target coordinate system is the reference coordinate system of the projector in actual use. For example, the x-axis of the sensor coordinate system may not be consistent with the x-axis of the projector, and the acceleration data needs to be converted to the projector's coordinate system through a rotation matrix.
[0069] Among them, the mapped third acceleration parameter has some systematic errors or offsets, and needs to be corrected to improve the accuracy of the acceleration data. The correction process may include zero bias correction, scale factor correction, and temperature compensation. For example, zero bias correction can eliminate the non-zero acceleration value output by the accelerometer in a static state, thereby obtaining more accurate acceleration data.
[0070] After completing unit conversion, filtering, coordinate system mapping and correction, the target acceleration parameter can be used to calculate the current rotation angle of the projector. The preset angle calculation formula is usually based on a trigonometric function relationship. For example, the elevation angle of the projector can be calculated using the acceleration values of the accelerometer on different axes.
[0071] It can be seen that in this embodiment, through the real-time data collection and processing of the gyroscope and accelerometer, the projector can quickly respond to angle changes and make real-time adjustments. Through multi-step processing and correction, it can provide high-precision rotation angle calculation results, thereby improving the accuracy and flexibility of the projector control method.
[0072] S30: When the current rotation angle satisfies a preset switching condition, the operation mode of the projector is switched.
[0073] The above-mentioned preset switching condition is a preset rule or parameter, and the preset switching condition is used to determine whether the current rotation angle of the projector has reached the threshold value that requires changing the operating mode. The preset switching condition may include but is not limited to: angle threshold, for example, when the rotation angle of the projector exceeds or falls below a certain value; time threshold, for example, after the projector maintains a certain angle for a certain period of time; usage scenario: for example, different switching conditions are set according to the usage environment of the projector (such as home theater mode, conference room mode, etc.), which is not limited here.
[0074] Specifically, when the preset switching condition is an angle threshold, the operation mode of the projector can be switched according to the preset angle threshold. The setting of the preset angle threshold is used to distinguish different usage scenarios. For example, when the rotation angle of the projector is small, it may mean that the user prefers to use the built-in display screen; and when the rotation angle is large, it may mean that the user is ready to use the projection screen for projection.
[0075] Specifically, the operation mode includes: a first operation mode and a second operation mode, the first operation mode refers to a mode in which the projection screen is in a working state, and the second operation mode refers to a mode in which the display screen is in a working state.
[0076] Wherein, in the first operating mode, when the projection screen is in the working state, the display screen is not in the working state, that is, the display screen is in the screen-off state.
[0077] Specifically, when the projector is in the first operating mode, the projection screen will display an image, which is usually used to project onto a wall or a screen. At this time, the display screen is in a screen-off state and does not consume additional power and resources. Since the projection screen generates more heat when working, the speed of the cooling fan needs to be increased accordingly to ensure that the device does not overheat.
[0078] The second operation mode means that when the display screen is in working state, the projection screen is not in working state, that is, the projection screen does not perform projection.
[0079] Specifically, when the projector is in the second operating mode, the display screen will display images, which is usually used for close viewing or as a tablet. At this time, the projection screen does not project and is in a closed state, reducing power consumption and heat generation. Since the power consumption and heat generation of the display screen are relatively low, the speed of the cooling fan can be reduced to reduce noise and energy consumption.
[0080] It can be seen that in this embodiment, through intelligent operation mode switching, the projector can automatically adjust according to the user's usage requirements and environmental conditions to provide a better user experience and device performance.
[0081] Optionally, after calculating the current rotation angle of the projector based on the sensor data, the method further includes: acquiring a speed range of the current rotation angle, and determining an operating mode of the projector according to the speed range and historical data.
[0082] The speed range refers to the different ranges divided according to the instantaneous angular velocity. For example, the speed can be divided into three ranges: low speed (slow rotation), medium speed and high speed (fast rotation).
[0083] Specifically, the projector stores historical data during user use, including rotation angle, angular velocity, and corresponding operating mode selection. Historical data can help the projector learn the user's usage habits in different speed ranges. For example, if the user usually enters the first operating mode at a high speed within a certain angle range, then when a similar speed and angle are detected, the projector can predict that the user wants to switch to the first operating mode.
[0084] Optionally, based on the speed range of the current rotation angle and historical data, the projector matches the current rotation speed with a preset speed range, and analyzes the operating mode that the user is most likely to select in the historical data within the matched speed range; based on the historical data analysis results, the projector will decide whether to switch to the first operating mode or the second operating mode.
[0085] For example, it is detected that the current projector rotates from a vertical position (0 degrees) to 60 degrees, and the instantaneous angular velocity recorded by the sensor is high speed. The projector obtains the speed range of the current rotation angle and finds that it belongs to the "high speed" range. The projector queries historical data and finds that when the speed is around 60 degrees and high speed, the user will choose the first operating mode in 90% of cases. Based on this information, the projector predicts that the user intends to use the projection screen and switches the operating mode to the first operating mode.
[0086] It can be seen that the projector in this embodiment can more intelligently predict and adapt to user needs, reduce manual switching operations, and improve user experience.
[0087] The method acquires and calculates the current rotation angle of the projector through sensor data. When a rotation change is detected, the projector can determine whether a preset switching condition is met and intelligently switch the operating mode of the projector, thereby reducing the user's operation steps, thereby making the operation of the projector more convenient and efficient, and improving work stability; the projector proposed in the method includes a projection screen and a display screen, that is, the projector has a dual-screen design, thereby enabling the projector to not only perform traditional image projection, but also operate on the display screen, thereby enhancing the functionality and entertainment of the projector.
[0088] In one embodiment, when the current rotation angle meets a preset switching condition, the operating mode of the projector is switched, including: obtaining the current operating mode; when the current operating mode is the first operating mode, determining whether the current rotation angle is less than a first preset angle, and if so, switching the projector to the second operating mode; when the current operating mode is the second operating mode, determining whether the current rotation angle is greater than the second preset angle, and if so, switching the projection mode to the first operating mode.
[0089] Among them, the above-mentioned first preset angle can be adjusted according to the specific product design. For example, the first preset angle can be -40 degrees, which is not a sole limitation here.
[0090] The first operation mode refers to that the projection screen of the projector is in working state, while the display screen is not projecting. This mode is usually used for projecting onto an external screen, and the content cannot be viewed directly on the projector.
[0091] Among them, the above-mentioned second preset angle can be adjusted according to the specific product design. For example, the second preset angle can be 40 degrees, which is not a sole limitation here.
[0092] Specifically, when the current operation mode is the first operation mode, and when the current rotation angle is less than a first preset angle, the projector is switched to the second operation mode.
[0093] The second operation mode refers to that the built-in display screen of the projector is in working state, but the projection screen is not projecting. This mode is usually used to watch content directly on the projector without projecting onto an external screen.
[0094] Specifically, when the current operation mode is the second operation mode, if the current rotation angle is greater than a second preset angle, the projection mode is switched to the first operation mode.
[0095] It can be seen that in this embodiment, the operating mode can be intelligently judged and switched according to the current rotation angle of the projector, so that the projector can better adapt to different usage scenarios and environments, further improving the adaptability and flexibility of the projector.
[0096] In one embodiment, the projector also includes: a cooling fan, and the method also includes: when the operating mode is the first operating mode, obtaining a first operating temperature of the projection screen; according to a preset temperature and a cooling fan duty cycle mapping table, obtaining a target duty cycle corresponding to the first operating temperature in the preset temperature and a cooling fan duty cycle mapping table; according to the target duty cycle, dynamically controlling the cooling fan to operate at a first speed value; when the operating mode is the second operating mode, controlling the cooling fan to maintain the current second speed value, and when it is detected that the second operating temperature of the display screen reaches the first preset temperature value, turning off the cooling fan.
[0097] In the process of obtaining the first operating temperature of the projection screen, in the projector, the current temperature can be calculated according to the ADC (analog-to-digital converter) value fed back by the NTC (negative temperature coefficient thermistor). First, the voltage across the NTC thermistor is read by the ADC. This voltage value changes with the change of the NTC resistance value. The current temperature is calculated according to the formula ln R = ln a + B / T, where R is the resistance value of the NTC at the current temperature, T is the absolute temperature (Kelvin), and B is the coefficient of the Steinhart-Hart equation, which needs to be determined in advance through experimental data.
[0098] Among them, the mapping table between the preset temperature and the duty cycle of the cooling fan needs to be accurately set according to the thermal design of the projector and the actual test data, and no sole limitation is made here.
[0099] For example, the preset temperature and cooling fan duty cycle mapping table is as follows, projector temperature (°C) -- cooling fan duty cycle (%): (0-30) --- 20, (31-40) --- 40, (41-50) --- 60, (51-60) --- 80, (61-70) --- 100, indicating the optimal duty cycle of the cooling fan should run in different projector temperature ranges. If the current projector temperature is 25°C, according to the mapping table, when the projector temperature is between 0°C and 30°C, the cooling fan duty cycle should be set to 20%, indicating that the cooling fan is turned on for approximately 12 seconds per minute (20% duty cycle) and the rest of the time is turned off; if the current temperature is 35°C, and the temperature is between 31°C and 40°C, the mapping table indicates that the cooling fan duty cycle should be 40%, so the cooling fan is turned on for approximately 24 seconds per minute.
[0100] The duty cycle refers to the time ratio of the cooling fan running in one working cycle, which is used to control the speed of the cooling fan.
[0101] Specifically, the target duty cycle is to ensure that the cooling fan can effectively maintain the cooling performance of the projector at the current temperature, and dynamically control the speed of the cooling fan according to the target duty cycle. If the target duty cycle is high, it means that the cooling fan needs to run at a higher speed to remove more heat; conversely, if the target duty cycle is low, the speed of the cooling fan can be reduced accordingly.
[0102] The first speed value refers to the operating speed of the cooling fan that is dynamically adjusted according to the target duty cycle under specific working conditions.
[0103] Specifically, in the control process of dynamically controlling the cooling fan to run at a first speed value according to the target duty cycle, a pulse width modulation (PWM) signal can be used to control the fan. A PWM signal is a square wave signal, and the ratio of its high level time (i.e., "duty cycle") to its low level time determines the average power output of the fan, thereby controlling the speed; or, the fan speed is controlled by changing the analog voltage applied to the fan motor. Different voltage levels correspond to different speeds. By monitoring the fan speed and / or temperature in real time, the PWM signal or analog voltage is continuously adjusted to ensure that the fan runs at the target speed.
[0104] The process of obtaining the second operating temperature is the same as that of obtaining the first operating temperature, and will not be repeated here.
[0105] The second rotation speed value is preset according to the power consumption and heat generation of the display screen, and is usually lower than the fan rotation speed when the projection screen is working.
[0106] The first preset temperature value may be manually set or may be accurately calculated and set based on the thermal characteristics of the display screen, and is not limited here.
[0107] Specifically, when the operating temperature of the display screen reaches the first preset temperature value, it indicates that the heat generation of the display screen is low and the heat dissipation demand is reduced. In this case, in order to save energy and reduce noise, the control system will turn off the heat dissipation fan.
[0108] Among them, after the operation mode is switched, the projector will control the cooling fan based on the new operation mode. Because the power consumption and heat generation of the projector may be different in different operation modes. In the first operation mode, since the projector needs a higher brightness output, the cooling fan may need to run at a higher speed to ensure good heat dissipation; in the second operation mode, since the power consumption may be lower, the speed of the cooling fan can be reduced accordingly, thereby reducing noise and improving energy efficiency.
[0109] It can be seen that in this embodiment, the projector is kept within the optimal operating temperature range through intelligent operation mode switching and cooling fan control mechanism, which further enables the projector to adapt to different usage scenarios more efficiently, while optimizing energy usage and reducing noise, thereby improving the user's overall usage experience.
[0110] In one embodiment, the method includes: obtaining a current target time; when the target time is in a sleep period, setting the operation mode to a silent mode, wherein the silent mode controls the cooling fan to operate at a third speed value.
[0111] The current target time may be obtained by obtaining time information from an internal clock of the projector or a network synchronization time source, and no limitation is made here.
[0112] The projector will compare the acquired target time with the preset sleep period, which is a time range preset by the user or the manufacturer, usually at night or during a time period when the user is unlikely to use the projector.
[0113] Furthermore, if the target time is during the sleep period, the projector will automatically set the operating mode to silent mode. The purpose of silent mode is to avoid noise when the user is resting while maintaining the necessary heat dissipation of the equipment. Silent mode is another operating mode different from the first operating mode and the second operating mode. Its main feature is to reduce the speed of the cooling fan to reduce noise. In silent mode, the cooling fan will run at a third speed value, which is usually lower than the speed during normal operation. The third speed value can be set manually or set at the factory, and is not the only limitation here.
[0114] Optionally, users can customize the start and end time of the sleep period, as well as the speed of the cooling fan in silent mode. Such settings can increase user control and satisfaction over the device.
[0115] It can be seen that the projector in this embodiment can not only automatically adjust its operating mode in different usage scenarios, but also automatically reduce noise when the user is resting, providing a more humane and intelligent usage experience.
[0116] In one embodiment, the projector further includes: a camera. After switching the operating mode of the projector to the first operating mode, the method further includes: obtaining a preset cursor of the projector, the preset cursor being a cursor projected from the projection screen to a projection screen corresponding to the projection screen; acquiring the size and clarity of the preset cursor on the projection screen according to the camera capturing the preset cursor; determining the current target distance between the projector and the projection screen according to the size; and automatically focusing the projection screen according to the target distance and the clarity, wherein the target distance and the clarity are used to determine the step size of focusing.
[0117] After the projector switches to the first operating mode, the preset cursor is activated. The camera integrated in the projector is used to capture and recognize images on the projection screen, including the preset cursor, which is a recognizable image projected onto the projection screen by the projector, usually a special pattern or mark, for subsequent image capture and processing.
[0118] Among them, according to the preset cursor captured by the camera, an image processing algorithm is used to analyze the cursor image captured by the camera, and the size information (such as width and height) and clarity (resolution or edge sharpness) of the cursor are extracted.
[0119] Specifically, the size of the cursor is used to estimate the distance between the projector and the projection screen. Because the size of the cursor on the screen is inversely proportional to the distance between the projector and the screen, the target distance can be calculated based on the cursor size through a predetermined relationship or algorithm.
[0120] Specifically, the projector automatically adjusts the focus of the projection screen according to the determined target distance and the clarity of the cursor. The focusing process is as follows: determining the focus step length, that is, calculating the step length required to adjust the focus according to the target distance and the clarity, and a larger or smaller focus step length is required for lower clarity; executing the focus, that is, the focus motor moves the lens according to the calculated step length to achieve the best focus and ensure that the projected image is clear.
[0121] It can be seen that the projector in this embodiment can automatically adjust the distance between itself and the projection screen to achieve fast and accurate autofocus, thereby improving the user experience.
[0122] Optionally, when the current rotation angle meets a preset switching condition, the operating mode of the projector is switched, and the method further includes: when the current rotation angle is less than the second preset angle and greater than the first preset angle, maintaining the current operating mode of the projector.
[0123] When the current rotation angle of the projector is less than the second preset angle and greater than the first preset angle, it means that the projector is in an intermediate state and does not meet the conditions for switching to the first operating mode or the second operating mode. In this case, the projector will maintain the current operating mode unchanged.
[0124] Furthermore, in the case of maintaining the current operation mode, the control strategy of the cooling fan will also remain unchanged. If the current operation mode is the first operation mode, the cooling fan may operate at a higher speed to cope with the high heat of the projection lamp. If the current operation mode is the second operation mode, the cooling fan operates at a lower speed because the heat generated by the built-in display is relatively low.
[0125] It can be seen that in this embodiment, frequent mode switching can be avoided by maintaining the current operating mode, which not only reduces the energy consumption of the device but also improves the user experience, because frequent mode switching may cause visual discomfort or operational inconvenience.
[0126] In one embodiment, the method further includes: based on the sensor data corresponding to the rotation change of the projector, feature extraction of the acceleration data and angular velocity data in the sensor data to obtain acceleration feature data and the angular velocity feature data; when the current rotation angle meets the preset switching conditions, switching the operation mode of the projector, including: obtaining the current operation mode; when the current operation mode is the first operation mode, when the current rotation angle is in a first preset interval, judging whether to switch the operation mode of the projector based on the acceleration feature data and the angular velocity feature data; when the current operation mode is the second operation mode, when the current rotation angle is in a second preset interval, judging whether to switch the operation mode of the projector based on the acceleration feature data and the angular velocity feature data.
[0127] The acceleration characteristic data may include but are not limited to the instantaneous maximum acceleration value and the average acceleration value; the angular velocity characteristic data may include but are not limited to the instantaneous maximum angular velocity value and the average angular velocity value. The acceleration characteristic data and the angular velocity characteristic data are used to assist in determining whether the user really wants to switch modes.
[0128] Among them, before feature extraction, the acceleration data and angular velocity data in the sensor data need to be preprocessed, such as filtering, normalization, denoising, etc., to eliminate noise and outliers and ensure data quality; further feature extraction is performed on the preprocessed data to find the maximum value of the acceleration data in a specific time window and calculate the average value of the acceleration data in the specific time window, as well as to find the maximum value of the angular velocity data in the specific time window and calculate the average value of the angular velocity data in the specific time window, so as to obtain acceleration feature data and angular velocity feature data.
[0129] The first preset interval refers to a fluctuation range within the first preset angle, but does not reach the first preset angle. The fluctuation range is an angle value close to the first preset angle, and the angle value can be set manually, and is not limited here.
[0130] The second preset interval refers to the fluctuation range of the second preset angle, but does not reach the second preset angle. The fluctuation range is an angle value close to the second preset angle, and the angle value can be set manually, and is not limited here.
[0131] Specifically, the acceleration and angular velocity data are analyzed to determine whether the user wants to switch modes or just adjust the angle. For example, if the acceleration is large and the angular velocity is fast, it means that the user intends to quickly switch to another mode; or when the acceleration is small and the angular velocity is slow, it means that the user just wants to slightly adjust the angle of the projector and does not intend to switch modes.
[0132] It can be seen that in this embodiment, by further judging the acceleration data and the angular velocity data, the projector can respond to the user's needs more accurately, thereby improving user satisfaction and equipment utilization efficiency.
[0133] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0134] As another aspect of the embodiment of the present application, the embodiment of the present application provides a control device for a projector. The control device for the projector can be a software module, and the software module includes a number of instructions stored in a memory, and the processor can access the memory and call the instructions for execution to complete the control method of the projector described in the above-mentioned various embodiments.
[0135] See also Figure 3 , Figure 3 Schematic diagram of a control device for a projector provided in an embodiment of the present application. Figure 3As shown, the control device 300 of the projector includes:
[0136] An acquisition unit 301 is used to acquire sensor data corresponding to the rotation change of the projector when a rotation change of the projector is detected;
[0137] A calculation unit 302, configured to calculate a current rotation angle of the projector based on the sensor data;
[0138] The switching unit 303 is used to switch the operation mode of the projector when the current rotation angle meets a preset switching condition.
[0139] The method acquires and calculates the current rotation angle of the projector through sensor data. When a rotation change is detected, the projector can determine whether a preset switching condition is met and intelligently switch the operating mode of the projector, thereby reducing the user's operation steps, thereby making the operation of the projector more convenient and efficient, and improving work stability; the projector proposed in the method includes a projection screen and a display screen, that is, the projector has a dual-screen design, thereby enabling the projector to not only perform traditional image projection, but also operate on the display screen, thereby enhancing the functionality and entertainment of the projector.
[0140] In one embodiment, the operation mode includes: a first operation mode and a second operation mode, the first operation mode refers to a mode in which the projection screen is in working state, and the second operation mode refers to a mode in which the display screen is in working state.
[0141] In one embodiment, the projector also includes a gyroscope and an accelerometer. In the process of calculating the current rotation angle of the projector based on the sensor data, the calculation unit 302 is further used to: monitor the instantaneous angular velocity of the gyroscope in the pitch direction; when the instantaneous angular velocity exceeds a preset threshold, obtain the acceleration parameters currently collected by the accelerometer; and obtain the current rotation angle of the projector according to the acceleration parameters and a preset angle calculation formula.
[0142] In one embodiment, in obtaining the current rotation angle of the projector according to the acceleration parameter and the preset angle calculation formula, the calculation unit 302 is further used to: perform unit conversion on the acceleration parameter to obtain a first acceleration parameter that complies with a preset unit rule; perform filtering processing on the first acceleration parameter to obtain a second acceleration parameter; map the second acceleration parameter to a target coordinate system of the projector to obtain a third acceleration parameter in the target coordinate system; perform correction processing on the third acceleration parameter to obtain a target acceleration parameter; and obtain the current rotation angle of the projector according to the target acceleration parameter and the preset angle calculation formula.
[0143] In one embodiment, when the current rotation angle satisfies a preset switching condition, the operating mode of the projector is switched, and the switching unit 303 is further used to: obtain the current operating mode; when the current operating mode is the first operating mode, determine whether the current rotation angle is less than a first preset angle, and if so, switch the projector to the second operating mode; when the current operating mode is the second operating mode, determine whether the current rotation angle is greater than the second preset angle, and if so, switch the projection mode to the first operating mode.
[0144] In one embodiment, the projector also includes: a cooling fan, and the switching unit 303 is further used to: when the operating mode is the first operating mode, obtain the first operating temperature of the projection screen; according to a mapping table of preset temperatures and cooling fan duty cycles, obtain a target duty cycle corresponding to the first operating temperature in the mapping table of preset temperatures and cooling fan duty cycles; according to the target duty cycle, dynamically control the cooling fan to operate at a first speed value; when the operating mode is the second operating mode, control the cooling fan to maintain the current second speed value, and when it is detected that the second operating temperature of the display screen reaches the first preset temperature value, turn off the cooling fan.
[0145] In one embodiment, the switching unit 303 is further used to: obtain the current target time; when the target time is in the sleep period, set the operation mode to the silent mode, and the silent mode is to control the cooling fan to operate at a third speed value.
[0146] In one embodiment, the projector further includes: a camera. After the operating mode of the projector is switched to the first operating mode, the switching unit 303 is further used to: obtain a preset cursor of the projector, the preset cursor being a cursor projected from the projection screen to the projection screen corresponding to the projection screen; acquiring the size and clarity of the preset cursor on the projection screen according to the camera capturing the preset cursor; determining the current target distance between the projector and the projection screen according to the size; and automatically focusing the projection screen according to the target distance and the clarity, wherein the target distance and the clarity are used to determine the step size of focusing.
[0147] In one embodiment, the switching unit 303 is further used to: based on the sensor data corresponding to the rotation change of the projector, perform feature extraction on the acceleration data and the angular velocity data in the sensor data to obtain the acceleration feature data and the angular velocity feature data; when the current rotation angle meets the preset switching condition, switch the operation mode of the projector. The switching unit 303 is further used to: obtain the current operation mode; when the current operation mode is the first operation mode, when the current rotation angle is in the first preset interval, determine whether to switch the operation mode of the projector based on the acceleration feature data and the angular velocity feature data; when the current operation mode is the second operation mode, when the current rotation angle is in the second preset interval, determine whether to switch the operation mode of the projector based on the acceleration feature data and the angular velocity feature data.
[0148] It should be noted that the control device of the projector can execute the control method of the projector provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in the embodiment of the control device of the projector, please refer to the control method of the projector provided in the embodiment of the present application.
[0149] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0150] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0151] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for controlling a projector, characterized in that: Applied to a projector, the projector comprises: a projection screen and a display screen, the projector is arranged on a pan-tilt platform, the pan-tilt platform is used to adjust the rotation angle of the projector, and the method comprises: When a rotation change of the projector is detected, sensor data corresponding to the rotation change of the projector is acquired; Calculating a current rotation angle of the projector based on the sensor data; When the current rotation angle satisfies a preset switching condition, the operation mode of the projector is switched; the operation modes include: a first operation mode and a second operation mode, the first operation mode refers to a mode in which the projection screen is in a working state, and the second operation mode refers to a mode in which the display screen is in a working state; Based on the sensor data corresponding to the rotation change of the projector, feature extraction is performed on the acceleration data and angular velocity data in the sensor data to obtain acceleration feature data and angular velocity feature data; the acceleration feature data includes an instantaneous maximum acceleration value and an average acceleration value; the angular velocity feature data includes an instantaneous maximum angular velocity value and an average angular velocity value; When the current rotation angle satisfies a preset switching condition, switching the operation mode of the projector includes: Get the current running mode; When the current operation mode is the first operation mode, and when the current rotation angle is within a first preset interval, determining whether to switch the operation mode of the projector based on the acceleration characteristic data and the angular velocity characteristic data; When the current operation mode is the second operation mode and when the current rotation angle is in a second preset interval, judging whether to switch the operation mode of the projector based on the acceleration characteristic data and the angular velocity characteristic data, wherein the acceleration characteristic data and the angular velocity characteristic data are used to assist in obtaining whether the user really wants to switch the mode; or, When the current rotation angle satisfies a preset switching condition, switching the operation mode of the projector includes: Get the speed range of the current rotation angle. The speed range refers to the different ranges divided according to the instantaneous angular velocity. Matching the speed interval of the current rotation angle with a preset speed interval to obtain a matched speed interval; Comparing the matched speed interval with historical data to obtain an operation mode corresponding to the matched speed interval in the historical data; The operating mode of the projector is switched according to the operating mode corresponding to the matched speed range in the historical data.
2. The method according to claim 1, characterized in that The projector further includes a gyroscope and an accelerometer, and the current rotation angle of the projector is calculated based on the sensor data, including: Monitoring the instantaneous angular velocity of the gyroscope in the pitch direction; When the instantaneous angular velocity exceeds a preset threshold, acquiring the acceleration parameter currently collected by the accelerometer; The current rotation angle of the projector is obtained according to the acceleration parameter and a preset angle calculation formula.
3. The method according to claim 2, characterized in that The step of obtaining the current rotation angle of the projector according to the acceleration parameter and a preset angle calculation formula includes: Convert the acceleration parameter to a unit to obtain a first acceleration parameter that complies with a preset unit rule; Performing filtering on the first acceleration parameter to obtain a second acceleration parameter; Mapping the second acceleration parameter to a target coordinate system of the projector to obtain a third acceleration parameter in the target coordinate system; Performing correction processing on the third acceleration parameter to obtain a target acceleration parameter; The current rotation angle of the projector is obtained according to the target acceleration parameter and a preset angle calculation formula.
4. The method according to claim 1, characterized in that The projector further includes: a heat dissipation fan, and the method further includes: When the operation mode is the first operation mode, obtaining a first operation temperature of the projection screen; According to a mapping table of preset temperatures and cooling fan duty cycles, obtaining a target duty cycle corresponding to the first operating temperature in the mapping table of preset temperatures and cooling fan duty cycles; According to the target duty cycle, dynamically controlling the cooling fan to operate at a first speed value; When the operation mode is the second operation mode, the cooling fan is controlled to maintain the current second speed value, and when it is detected that the second operation temperature of the display screen reaches a first preset temperature value, the cooling fan is turned off.
5. The method according to claim 4, characterized in that The method comprises: Get the current target time; When the target time is in the sleep period, the operation mode is set to a silent mode, and the silent mode is to control the cooling fan to operate at a third speed value.
6. The method according to claim 4, characterized in that The projector further includes: a camera. After the operating mode of the projector is switched to the first operating mode, the method further includes: Acquire a preset cursor of the projector, where the preset cursor is a cursor projected by the projection screen onto a projection screen corresponding to the projection screen; Acquiring the preset cursor by the camera, and obtaining the size and definition of the preset cursor on the projection screen; According to the size, determining the current target distance between the projector and the projection screen; The projector is automatically focused according to the target distance and the clarity, wherein the target distance and the clarity are used to determine a step length of focusing.
7. A projector, characterized in that: The projector includes: a projection screen, a display screen, a memory and a processor. The projector is set on a pan-tilt head, and the pan-tilt head is used to adjust the rotation angle of the projector. The memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the projector implements the screen switching method of the projector as described in any one of claims 1-6.
Citation Information
Patent Citations
Automatic focusing system and method and projector
CN110087049A
Projection equipment focusing method, computer equipment and storage medium
CN112925158A
Intelligent control method and device for rotating speed of projector fan
CN115421350A
Projector function mode switching method and projector
CN117459692A