Screen rotation state detection method and device, pan-tilt camera and readable storage medium

By combining the first and second microswitches with the central processing unit and the gyroscope to determine the screen rotation status, the problem of low reliability of Hall sensors is solved, and the reliability and anti-shake capability of screen rotation status recognition are improved.

CN121475624APending Publication Date: 2026-02-06MALANSHAN AUDIO & VIDEO LABORATORY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511680542.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

In existing technologies, screen rotation status recognition relies on Hall sensors, resulting in low reliability of detection results.

Method used

The system employs a first micro switch and a second micro switch in conjunction with a central processing unit to acquire and analyze micro-motion signals. It then uses a gyroscope to determine the screen rotation state, ensuring signal stability before confirming the rotation state.

Benefits of technology

It improves the reliability and anti-shake capability of screen rotation status recognition, and reduces recognition failures caused by signal interference or switch malfunctions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121475624A_ABST
    Figure CN121475624A_ABST
Patent Text Reader

Abstract

The invention provides a screen rotation state detection method and device, a pan-tilt camera and a readable storage medium, and relates to the technical field of intelligent control, and the method comprises the steps that a first microswitch obtains a first micro-motion signal, and sends the first micro-motion signal to a central processing unit; the second microswitch obtains a second micro-motion signal and sends the second micro-motion signal to the central processing unit; the central processing unit obtains at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals, if the at least two adjacent first micro-motion signals are different and / or the at least two adjacent second micro-motion signals are different, the first micro-motion signals and the second micro-motion signals are obtained again after a preset time is delayed, and the first micro-motion signals and the second micro-motion signals are sent to the central processing unit. And determining the current rotation state of the pan-tilt screen according to the re-acquired first micro-motion signal and the re-acquired second micro-motion signal. According to the invention, the reliability and anti-jitter capability of screen rotation state recognition are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent control technology, and more specifically, to a screen rotation state detection method, device, gimbal camera, and readable storage medium. Background Technology

[0002] In existing technologies, the recognition of screen rotation states, such as landscape or portrait modes, mainly relies on Hall effect sensors. However, Hall effect sensors are susceptible to magnetic field interference, resulting in low reliability of their detection results. Therefore, developing a highly reliable screen rotation state detection method has become an urgent technical problem to be solved. Summary of the Invention

[0003] In view of this, the purpose of this application is to overcome the shortcomings of the prior art and provide a screen rotation state detection method, device, gimbal camera, and readable storage medium. This application provides the following technical solution: In a first aspect, this application provides a screen rotation state detection method, applied to a screen rotation state detection device, the device comprising: a first micro switch, a second micro switch, and a central processing unit, the method comprising: The first micro switch acquires a first micro-motion signal and sends the first micro-motion signal to the central processing unit; The second micro switch acquires the second micro signal and sends the second micro signal to the central processing unit; The central processing unit acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first and second micro-motion signals are acquired again after a preset delay. The current rotation state of the gimbal screen is determined based on the reacquired first and second micro-motion signals.

[0004] In one embodiment, the device further includes: a back cover boss, the back cover boss being configured to rotate from a first position to a second position, or from a second position to a second position, in response to a rotation operation of the gimbal screen; the first micro-motion signal and the second micro-motion signal respectively include: a first level signal or a second level signal; the method further includes: When the back cover protrusion is in the first position, the first micro switch is the first level signal, and the second micro switch is the second level signal; When the back cover protrusion is in the second position, the first micro switch is the second level signal, and the second micro switch is the first level signal.

[0005] In one embodiment, determining the current rotation state of the gimbal screen based on the reacquired first micro-motion signal and the reacquired second micro-motion signal includes: If the first micro-motion signal is the first level signal and the second micro-motion signal is the second level signal, then the current rotation state is determined to be a portrait screen state; If the first micro-motion signal is the second level signal, and the second micro-motion signal is the first level signal, then the current rotation state is determined to be a landscape state. If the first micro-motion signal is the first level signal and the second micro-motion signal is the first level signal, then the current rotation state is determined to be invalid.

[0006] In one embodiment, the method further includes: If the current rotation state is the invalid state, the central processing unit obtains the current rotation angle of the gimbal screen through the gyroscope, and determines whether the first micro switch or the second micro switch is abnormal based on the current rotation angle; If the first microswitch or the second microswitch malfunctions, the central processing unit sends a rotation control signal to the gimbal screen. The rotation control signal is used to control the gimbal screen to rotate to the first position or the second position.

[0007] In one embodiment, determining whether the first micro switch or the second micro switch is abnormal based on the current rotation angle includes: If the difference between the current rotation angle and the first preset angle is not within the preset difference range, then the first micro switch is determined to be abnormal. If the difference between the current rotation angle and the second preset angle does not fall within the preset difference range, then the second micro switch is determined to be faulty.

[0008] In one embodiment, the method further includes: If either the first microswitch or the second microswitch malfunctions, the central processing unit records an error log and sends a warning signal to the gimbal screen. The gimbal screen then issues a warning notification upon receiving the warning signal.

[0009] In one embodiment, after determining the current rotation state of the gimbal screen, the method further includes: The central processing unit calls the target display parameters from a plurality of pre-stored display parameters according to the current rotation state, and sends the target display parameters to the gimbal screen so that the gimbal screen enters the target display mode according to the target display parameters.

[0010] Secondly, this application provides a screen rotation state detection device, the device comprising: a first micro switch, a second micro switch and a central processing unit, wherein the central processing unit is electrically connected to the first micro switch and the second micro switch respectively; The first micro switch is used to acquire a first micro signal and send the first micro signal to the central processing unit; The second micro switch is used to acquire a second micro signal and send the second micro signal to the central processing unit; The central processing unit is used to acquire at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first micro-motion signals and the second micro-motion signals are acquired again after a preset delay. The current rotation state of the gimbal screen is determined based on the reacquired first micro-motion signals and the reacquired second micro-motion signals.

[0011] Thirdly, this application provides a gimbal camera, including: the screen rotation state detection device described in the second aspect and a gimbal screen, wherein the gimbal screen is electrically connected to the screen rotation state detection device.

[0012] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the screen rotation state detection method described in the first aspect.

[0013] The screen rotation state detection method, device, gimbal camera, and readable storage medium provided in this application acquire a first micro-motion signal through a first micro-switch and send the first micro-motion signal to the central processing unit; the second micro-switch acquires a second micro-motion signal and sends the second micro-motion signal to the central processing unit; the central processing unit acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If at least two adjacent first micro-motion signals are different, and / or at least two adjacent second micro-motion signals are different, the first and second micro-motion signals are reacquired after a preset delay. Based on the reacquired first and second micro-motion signals, the current rotation state of the gimbal screen is determined, thereby improving the reliability and anti-shake capability of screen rotation state recognition.

[0014] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A three-dimensional diagram of the rotating mechanism is shown; Figure 2 A first-view perspective view of the rotating mechanism is shown; Figure 3 An exploded view of the rotating mechanism from a first-person perspective is shown; Figure 4 An exploded view of the rotating mechanism from a second perspective is shown; Figure 5 A second perspective view of the rotating mechanism is shown; Figure 6 A vertical screen diagram of the gimbal screen on the gimbal camera is shown; Figure 7 A landscape view of the gimbal screen on the gimbal camera is shown. Figure 8 A schematic diagram showing the connection between the rotating mechanism and the gimbal screen is shown; Figure 9 A schematic diagram showing the positional relationship between the back cover boss and the first and second micro switches is provided. Figure 10 A schematic diagram of the back shell boss is shown; Figure 11 The schematic diagrams of the first and second microswitches are shown. Figure 12 A flowchart of a screen rotation state detection method provided in an embodiment of this application is shown; Figure 13 A schematic diagram of the screen rotation state detection device provided in an embodiment of this application is shown; Figure 14 A schematic diagram of the structure of a gimbal camera provided in an embodiment of this application is shown.

[0017] Explanation of key component symbols: 100-Rotation mechanism; 301-Cover; 302-Rotation cam; 303-First spring assembly; 304-Second spring assembly; 305-Fixed base; 601-Gimbal screen; 701-Back shell boss; 901-First micro switch; 902-Second micro switch; 1300-Screen rotation status detection device; 1301-Central processing unit; 1400-Gimbal camera. Detailed Implementation

[0018] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0019] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the template description is for the purpose of describing particular embodiments only and is not intended to limit the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0021] Example 1 Before introducing the technical solution of this application, a brief introduction will first be given to the rotation mechanism used to realize the rotation of the gimbal screen. Please refer to... Figures 1-5 ,in, Figure 1 A three-dimensional diagram of the rotating mechanism is shown. Figure 2 A first-view perspective view of the rotating mechanism is shown. Figure 3 An exploded first-view view of the rotating mechanism is shown. Figure 4 An exploded view of the rotating mechanism from a second perspective is shown. Figure 5 A second perspective view of the rotating mechanism is shown. See also Figure 3 , Figure 4 or Figure 5 The rotating mechanism 100 includes: a cover 301, a rotating cam 302, a first spring assembly 303, a second spring assembly 304, and a fixed base 305.

[0022] The working principle of the rotating mechanism 100 is as follows: In the initial state, the first spring assembly 303 and the second spring assembly 304 are in the first groove position of the rotating cam 302. At this time, the first spring assembly 303 and the second spring assembly 304 are in a naturally extended state. When the rotating cam 302 rotates clockwise, the top of the rotating cam 302 presses the first spring assembly 303 and the second spring assembly 304, causing the first spring assembly 303 and the second spring assembly 304 to be compressed and shortened. When they pass the top of the rotating cam 302, the first spring assembly 303 and the second spring assembly 304 quickly slide down along the contour of the rotating cam 302 to the first groove position of the rotating cam 302. When the rotating cam 302 rotates counterclockwise, the top of the rotating cam 302 presses the first spring assembly 303 and the second spring assembly 304, causing the first spring assembly 303 and the second spring assembly 304 to be compressed and shortened. When they pass the top of the rotating cam 302, the first spring assembly 303 and the second spring assembly 304 quickly slide down along the contour of the rotating cam 302 back to the first groove position of the rotating cam 302. This completes the rotation operation, enabling the gimbal screen mounted on the rotation mechanism 100 to switch between horizontal and vertical modes.

[0023] The principle behind how a gimbal camera achieves horizontal and vertical screen switching based on a rotating mechanism 100 can be found in [reference needed]. Figure 6 , Figure 7 and Figure 8 ,in, Figure 6 A vertical screen diagram of the gimbal screen 601 on the gimbal camera is shown. Figure 7 This shows a landscape view of the gimbal screen on the gimbal camera. Figure 8 A schematic diagram showing the connection of the rotating mechanism 100 in the gimbal camera is shown. Figure 8 In the process, the rotating cam 302 is fixed to the gimbal screen 601 with screws, and the fixed base 305 is fixed to the gimbal camera body with screws. When the gimbal screen 601 is rotated, the rotating cam 302 drives the gimbal screen 601 to rotate, while the gimbal camera body remains stationary.

[0024] Please see Figure 9 , Figure 10 and Figure 11The principle of switching between landscape and portrait modes on the gimbal screen 601 is as follows: In the initial portrait mode, the first micro switch 901 is pressed down by the protrusion 701 on the back shell of the gimbal screen 601 by default. At this time, the central processing unit 1301 recognizes and switches to the default portrait mode. When the screen rotates 90° clockwise, the first micro switch rises, and the second micro switch 902 is pressed down by the protrusion 701 on the back shell of the gimbal screen 601. At this time, the central processing unit 1301 recognizes and switches to the landscape mode. When the gimbal screen 601 rotates 90° counterclockwise again, the second micro switch 902 rises, and the first micro switch 901 is pressed down by the protrusion 701 on the back shell of the gimbal screen 601. At this time, the central processing unit 1301 recognizes and switches back to the default portrait mode.

[0025] The following embodiment of this application provides a method for detecting screen rotation state. Please refer to [link / reference]. Figure 12 This application provides a screen rotation state detection method, applied to, for example... Figure 13 The screen rotation state detection device 1300 shown includes: a first micro switch 901, a second micro switch 902 and a central processing unit 1301. The central processing unit 1301 is electrically connected to the first micro switch 901 and the second micro switch 902 respectively. The method includes: steps S1210 to S1230.

[0026] In step S1210, the first micro switch 901 acquires the first micro signal and sends the first micro signal to the central processing unit 1301.

[0027] In this embodiment, the first micro switch 901 monitors in real time the physical state changes caused by the rotation of the gimbal screen 601, such as the pressing and releasing of the switch, and converts these physical state changes into electrical signals that can be recognized by the central processing unit 1301, namely the first micro switch signal. Then, the first micro switch 901 sends the signal to the central processing unit 1301 to provide basic data for the subsequent determination of the screen rotation state.

[0028] In step S1220, the second micro switch 902 acquires the second micro signal and sends the second micro signal to the central processing unit 1301.

[0029] In this embodiment, similar to the working logic of the first micro switch 901, the second micro switch 902 also monitors its own physical state changes in real time during the rotation of the gimbal screen 601. For example, as the screen rotates, the second micro switch 902 may experience asynchronous pressing or releasing states compared to the first micro switch 901, thereby converting this physical change into a corresponding electrical signal, namely the second micro-motion signal. Subsequently, the second micro switch 902 also sends the second micro-motion signal to the central processing unit 1301, which, together with the first micro-motion signal, constitutes a key signal group for determining the screen rotation state.

[0030] In step S1230, the central processing unit 1301 acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first micro-motion signals and the second micro-motion signals are acquired again after a preset delay. Based on the reacquired first micro-motion signals and the reacquired second micro-motion signals, the current rotation state of the gimbal screen 601 is determined.

[0031] In this embodiment, the central processing unit 1301 continuously acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals, and compares and analyzes the states of these adjacent signals. If a state difference is found between at least two adjacent first micro-motion signals (e.g., the former is high level and the latter is low level), or a state difference is found between at least two adjacent second micro-motion signals, or even if adjacent groups of both types of micro-motion signals show state differences, this means that the gimbal screen 601 may be rotating and the signal has not yet stabilized. At this time, the central processing unit 1301 will delay for a preset time, such as tens to hundreds of milliseconds, until the first and second micro-motion signals tend to stabilize. Then, it will reacquire the latest first and second micro-motion signals from the first micro-switch 901 and the second micro-switch 902. Finally, based on these two reacquired and stable micro-motion signals, and combined with the preset correspondence between signal states and screen rotation angles, the current rotation state of the gimbal screen 601 is determined.

[0032] In one embodiment, the screen rotation state detection device 1300 further includes a back cover protrusion 701, which is used to rotate from a first position to a second position or from the second position to the second position in response to a rotation operation of the gimbal screen 601. The first micro-motion signal and the second micro-motion signal respectively include a first level signal or a second level signal. The method further includes: when the back cover protrusion 701 is in the first position, the first micro-switch 901 is the first level signal and the second micro-motion signal is the second level signal; when the back cover protrusion 701 is in the second position, the first micro-switch 901 is the second level signal and the second micro-switch 902 is the first level signal.

[0033] In this embodiment, the rotation operation of the back cover protrusion 701 and the gimbal screen 601 forms a linked response: when the user rotates the gimbal screen 601, the position of the back cover protrusion 701 will change accordingly, specifically rotating from the initial first position to the second position, or rotating from the second position back to the first position. Simultaneously, the first micro-switch 901 and the second micro-switch 902 in the screen rotation state detection device 1300 output first and second micro-signition signals, respectively, in two states: a first level signal (e.g., low level) or a second level signal (e.g., high level). Furthermore, the signal states have a fixed correspondence with the position of the back cover protrusion 701. When the back cover protrusion 701 is in the first position, the first micro switch 901 is triggered to output a first level signal, while the second micro switch 902 outputs a second level signal. When the back cover protrusion 701 rotates to the second position, the signal state will switch in reverse, that is, the first micro switch 901 outputs a second level signal, and the second micro switch 902 outputs a first level signal. Through this binding of position and level signals, the central processing unit 1301 provides a clear mechanical-electrical signal correspondence for subsequent judgment of the screen rotation state.

[0034] In one embodiment, determining the current rotation state of the gimbal screen 601 based on the reacquired first micro-motion signal and the reacquired second micro-motion signal includes: if the first micro-motion signal is the first level signal and the second micro-motion signal is the second level signal, then the current rotation state is determined to be a portrait state; if the first micro-motion signal is the second level signal and the second micro-motion signal is the first level signal, then the current rotation state is determined to be a landscape state; if the first micro-motion signal is the first level signal and the second micro-motion signal is the first level signal, then the current rotation state is determined to be an invalid state.

[0035] In this embodiment, when the newly acquired first micro-motion signal is a first-level signal and the second micro-motion signal is a second-level signal, combined with the previous correspondence between the position of the back shell protrusion 701 and the level signal, it can be determined that the gimbal screen 601 is currently in portrait mode; when the newly acquired first micro-motion signal is a second-level signal and the second micro-motion signal is a first-level signal, corresponding to the position switch of the back shell protrusion 701, it can be determined that the gimbal screen 601 is currently in landscape mode; however, if both the newly acquired first micro-motion signal and the second micro-motion signal are first-level signals, this signal combination does not conform to the level output pattern of the back shell protrusion 701 during normal rotation, indicating that there may be signal interference, switch failure, or abnormal screen rotation position, etc., therefore, it is determined that the gimbal screen 601 is currently in an invalid state.

[0036] In one embodiment, the method further includes: if the current rotation state is the invalid state, the central processing unit 1301 obtains the current rotation angle of the gimbal screen 601 through a gyroscope, and determines whether the first micro switch 901 or the second micro switch 902 is abnormal based on the current rotation angle; if the first micro switch 901 or the second micro switch 902 is abnormal, the central processing unit 1301 sends a rotation control signal to the gimbal screen 601, the rotation control signal being used to control the gimbal screen 601 to rotate to the first position or the second position.

[0037] In this embodiment, when the central processing unit 1301 determines that the gimbal screen 601 is currently in an invalid state based on the reacquired first and second micro-motion signals, in order to further troubleshoot the problem and restore it to a normal state, it first acquires the current rotation angle of the gimbal screen 601 through a gyroscope, and then compares the current rotation angle with the standard angles corresponding to the normal portrait and landscape states. If the current rotation angle should correspond to the valid state of portrait (first position) or landscape (second position), but the signal output by the micro-switch presents an invalid combination, it can be determined that the first micro-switch 901 or the second micro-switch 902 is abnormal, such as switch jamming or signal transmission failure. At this time, the central processing unit 1301 will send a rotation control signal to the gimbal screen 601 to drive the gimbal screen 601 to actively rotate to the preset first position (corresponding to portrait) or second position (corresponding to landscape), thereby avoiding the state recognition failure problem caused by the abnormality of the micro-switch and ensuring that the gimbal screen 601 is restored to a valid state that can be recognized and used normally.

[0038] In one embodiment, determining whether the first micro switch 901 or the second micro switch 902 is abnormal based on the current rotation angle includes: if the difference between the current rotation angle and the first preset angle does not fall within a preset difference range, then the first micro switch 901 is determined to be abnormal; if the difference between the current rotation angle and the second preset angle does not fall within the preset difference range, then the second micro switch 902 is determined to be abnormal.

[0039] In this embodiment, standard angles are pre-set for the effective states of the gimbal screen 601. Specifically, for the portrait mode, the back cover protrusion 701 at the first position has a first preset angle, for example, 0°, and for the landscape mode, the back cover protrusion 701 at the second position has a second preset angle, for example, 90°. An allowable error range, or preset difference range, is also set. The specific judgment process is as follows: if the difference between the current rotation angle and the first preset angle exceeds the preset difference range, it indicates that the actual angle of the gimbal screen 601 should match the portrait mode corresponding to the first preset angle, but the first micro switch 901 is not outputting a correct signal, thus determining that the first micro switch 901 is abnormal. If the difference between the current rotation angle and the second preset angle exceeds the preset difference range, it indicates that the actual angle of the gimbal screen 601 should match the landscape mode corresponding to the second preset angle, but the second micro switch 902 is not outputting a correct signal, thus determining that the second micro switch 902 is abnormal.

[0040] In one embodiment, the method further includes: if the first micro switch 901 malfunctions or the second micro switch 902 malfunctions, the central processing unit 1301 records an abnormality log and sends a warning signal to the gimbal screen 601, the gimbal screen 601 being used to issue a warning prompt when it receives the warning signal.

[0041] In this embodiment, when the central processing unit 1301 analyzes the difference between the current rotation angle obtained by the gyroscope and the first preset angle and the second preset angle, and determines that the first micro switch 901 or the second micro switch 902 is abnormal, on the one hand, the central processing unit 1301 will automatically record an abnormality log containing key information such as the time of the abnormality, the abnormal switch, and the current rotation angle, so that maintenance personnel can query the cause of the fault and trace the fault process, providing data support for equipment maintenance and troubleshooting; on the other hand, the central processing unit 1301 will send a warning signal to the gimbal screen 601 to indicate the abnormality. After receiving the warning signal, the gimbal screen 601 will issue a clear warning to the user through a preset warning method, such as displaying a fault prompt pop-up window, lighting up a specific warning indicator light, or playing a warning sound effect, so as to promptly inform the user of the problem of the micro switch abnormality, so that relevant personnel can intervene and handle it as soon as possible, and avoid the abnormality from expanding and affecting the normal use of the gimbal screen 601.

[0042] In one embodiment, after determining the current rotation state of the gimbal screen 601, the method further includes: the central processing unit 1301 calling a target display parameter from a plurality of pre-stored display parameters according to the current rotation state, and sending the target display parameter to the gimbal screen 601, so that the gimbal screen 601 enters the target display mode according to the target display parameter.

[0043] In this embodiment, after the central processing unit 1301 determines the current rotation state of the gimbal screen 601, it further performs a display parameter adaptation operation. Specifically, the central processing unit 1301 pre-stores multiple sets of display parameters corresponding to different rotation states, such as resolution, aspect ratio, and icon layout parameters in portrait mode, and widescreen resolution and content arrangement parameters in landscape mode. The central processing unit 1301 will select the most suitable set of parameters from these pre-stored parameters as the target display parameters based on the determined current rotation state. Subsequently, the central processing unit 1301 sends the target display parameters to the gimbal screen 601. After receiving the parameters, the gimbal screen 601 will automatically adjust its display configuration according to the parameter settings, and finally enter the target display mode that matches the current rotation state, such as displaying content in a 9:16 ratio in portrait mode and in a 16:9 ratio in landscape mode, to ensure that the display effect of the gimbal screen 601 is adapted to the rotation state and improve the user's viewing or operation experience.

[0044] The screen rotation state detection method provided in this application embodiment acquires a first micro-motion signal through a first micro-switch and sends the first micro-motion signal to the central processing unit; the second micro-switch acquires a second micro-motion signal and sends the second micro-motion signal to the central processing unit; the central processing unit acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If at least two adjacent first micro-motion signals are different, and / or at least two adjacent second micro-motion signals are different, the first and second micro-motion signals are reacquired after a preset time delay. Based on the reacquired first and second micro-motion signals, the current rotation state of the gimbal screen is determined, thereby improving the reliability and anti-shake capability of screen rotation state recognition.

[0045] Example 2 In addition, please see again Figure 13 This application embodiment also provides a screen rotation state detection device 1300, including: a first micro switch 901, a second micro switch 902 and a central processing unit 1301, wherein the central processing unit 1301 is electrically connected to the first micro switch 901 and the second micro switch 902 respectively; The first micro switch 901 is used to acquire a first micro signal and send the first micro signal to the central processing unit 1301; The second micro switch 902 is used to acquire a second micro signal and send the second micro signal to the central processing unit 1301; The central processing unit 1301 is used to acquire at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first micro-motion signals and the second micro-motion signals are acquired again after a preset delay. The current rotation state of the gimbal screen 601 is determined based on the reacquired first micro-motion signals and the reacquired second micro-motion signals.

[0046] The screen rotation state detection device 1300 provided in this application embodiment can execute the screen rotation state detection method provided in the above method embodiment 1. To avoid repetition, it will not be described again here.

[0047] Example 3 In addition, please see Figure 14 This application also provides a gimbal camera 1400, including: the screen rotation state detection device 1300 described in embodiment 2 and the gimbal screen 601, wherein the gimbal screen 601 is electrically connected to the screen rotation state detection device 1300.

[0048] The gimbal camera 1400 provided in this application embodiment can perform the functions of the screen rotation state detection device 1300 provided in the above embodiment 2. To avoid repetition, it will not be described again here.

[0049] Example 4 Furthermore, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the screen rotation state detection method provided in Embodiment 1.

[0050] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0051] The computer-readable storage medium provided in this embodiment can implement the screen rotation state detection method provided in Embodiment 1. To avoid repetition, it will not be described again here.

[0052] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.

[0053] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0054] The above-described embodiments are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.

Claims

1. A method for detecting screen rotation state, characterized in that, An application is made in a screen rotation state detection device, the device comprising: a first microswitch, a second microswitch, and a central processing unit, the method comprising: The first micro switch acquires a first micro-motion signal and sends the first micro-motion signal to the central processing unit; The second micro switch acquires the second micro signal and sends the second micro signal to the central processing unit; The central processing unit acquires at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first and second micro-motion signals are acquired again after a preset delay. The current rotation state of the gimbal screen is determined based on the reacquired first and second micro-motion signals.

2. The screen rotation state detection method according to claim 1, characterized in that, The device further includes: a back cover protrusion, the back cover protrusion being configured to rotate from a first position to a second position, or from the second position to the second position, in response to a rotation operation of the gimbal screen; the first micro-motion signal and the second micro-motion signal respectively include: a first level signal or a second level signal; the method further includes: When the back cover protrusion is in the first position, the first micro switch is the first level signal, and the second micro switch is the second level signal; When the back cover protrusion is in the second position, the first micro switch is the second level signal, and the second micro switch is the first level signal.

3. The screen rotation state detection method according to claim 2, characterized in that, Determining the current rotation state of the gimbal screen based on the reacquired first micro-motion signal and the reacquired second micro-motion signal includes: If the first micro-motion signal is the first level signal and the second micro-motion signal is the second level signal, then the current rotation state is determined to be a portrait screen state; If the first micro-motion signal is the second level signal, and the second micro-motion signal is the first level signal, then the current rotation state is determined to be a landscape state. If the first micro-motion signal is the first level signal and the second micro-motion signal is the first level signal, then the current rotation state is determined to be invalid.

4. The screen rotation state detection method according to claim 3, characterized in that, The method further includes: If the current rotation state is the invalid state, the central processing unit obtains the current rotation angle of the gimbal screen through the gyroscope, and determines whether the first micro switch or the second micro switch is abnormal based on the current rotation angle; If the first microswitch or the second microswitch malfunctions, the central processing unit sends a rotation control signal to the gimbal screen. The rotation control signal is used to control the gimbal screen to rotate to the first position or the second position.

5. The screen rotation state detection method according to claim 4, characterized in that, The step of determining whether the first micro switch or the second micro switch is abnormal based on the current rotation angle includes: If the difference between the current rotation angle and the first preset angle is not within the preset difference range, then the first micro switch is determined to be abnormal. If the difference between the current rotation angle and the second preset angle does not fall within the preset difference range, then the second micro switch is determined to be abnormal.

6. The screen rotation state detection method according to claim 5, characterized in that, The method further includes: If either the first microswitch or the second microswitch malfunctions, the central processing unit records an error log and sends a warning signal to the gimbal screen. The gimbal screen then issues a warning notification upon receiving the warning signal.

7. The screen rotation state detection method according to any one of claims 1-6, characterized in that, After determining the current rotation state of the gimbal screen, the method further includes: The central processing unit calls the target display parameters from a plurality of pre-stored display parameters according to the current rotation state, and sends the target display parameters to the gimbal screen so that the gimbal screen enters the target display mode according to the target display parameters.

8. A screen rotation state detection device, characterized in that, The device includes: a first micro switch, a second micro switch, and a central processing unit, wherein the central processing unit is electrically connected to the first micro switch and the second micro switch respectively; The first micro switch is used to acquire a first micro signal and send the first micro signal to the central processing unit; The second micro switch is used to acquire a second micro signal and send the second micro signal to the central processing unit; The central processing unit is used to acquire at least two adjacent first micro-motion signals and at least two adjacent second micro-motion signals. If the at least two adjacent first micro-motion signals are different, and / or the at least two adjacent second micro-motion signals are different, the first micro-motion signals and the second micro-motion signals are acquired again after a preset delay. The current rotation state of the gimbal screen is determined based on the reacquired first micro-motion signals and the reacquired second micro-motion signals.

9. A gimbal camera, characterized in that, include: The screen rotation state detection device and gimbal screen according to claim 8, wherein the gimbal screen is electrically connected to the screen rotation state detection device.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the screen rotation state detection method according to any one of claims 1-7.