US12345523B2 - Method for determining foldable screen included angle and associated devices of method - Google Patents
Method for determining foldable screen included angle and associated devices of method Download PDFInfo
- Publication number
- US12345523B2 US12345523B2 US18/004,101 US202218004101A US12345523B2 US 12345523 B2 US12345523 B2 US 12345523B2 US 202218004101 A US202218004101 A US 202218004101A US 12345523 B2 US12345523 B2 US 12345523B2
- Authority
- US
- United States
- Prior art keywords
- time
- foldable screen
- included angle
- screen
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/22—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0206—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
- H04M1/0241—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
- H04M1/0243—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call using the relative angle between housings
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1615—Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
- G06F1/1616—Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1652—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1675—Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
- G06F1/1677—Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1684—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
- G06F1/1694—Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0206—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
- H04M1/0208—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
- H04M1/0214—Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
- H04M1/0268—Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/161—Indexing scheme relating to constructional details of the monitor
- G06F2200/1614—Image rotation following screen orientation, e.g. switching from landscape to portrait mode
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/163—Indexing scheme relating to constructional details of the computer
- G06F2200/1637—Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/0206—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
- H04M1/0208—Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
- H04M1/0214—Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
- H04M1/0216—Foldable in one direction, i.e. using a one degree of freedom hinge
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- This application relates to the field of terminal technologies, in particular to a method for determining a foldable screen included angle and associated devices of the method.
- an included angle between two display screens of the foldable screen needs to be determined in real time so as to adaptively adjust a display picture or video.
- the unfolded state refers to an included angle being 180° between the two display screens of the foldable screen
- the folded state refers to an included angle being 0° between the two display screens of the foldable screen.
- the included angle between the two display screens of the foldable screen is the foldable screen included angle.
- This application provides a method for determining a foldable screen included angle and associated devices of the method.
- the foldable screen angle is determined by arranging acceleration sensors and gyroscope sensors on two display screens of a foldable screen.
- a method for determining a foldable screen included angle is provided and applied to an electronic device with a foldable screen.
- the foldable screen includes two display screens, and each display screen includes an acceleration sensor and a gyroscope sensor.
- the method includes:
- each of the two display screens of the foldable screen is provided with the acceleration sensor and the gyroscope sensor which read the acceleration signal and the angular velocity signal corresponding to each display screen; and then, the angle of the foldable screen is determined by detecting the states of the foldable screen and utilizing different algorithms according to the determined different states of the foldable screen in combination with the two sets of acceleration signals and angular velocity signals or in combination with the two sets of angular velocity signals.
- the step of performing first preprocessing on an initial acceleration signal at time t to determine a target value of a gravitational acceleration signal at time t includes:
- coordinate values corresponding to a first acceleration signal and coordinate values corresponding to a second acceleration signal may be subjected to coordinate system conversion into a terrestrial coordinate system, accordingly, the gravitational acceleration signals and the motion linear acceleration signals respectively included by the first acceleration signal and the second acceleration signal can be separated, which facilitates non-gravitational acceleration components (motion linear acceleration signals) to be filtered out through average filtering, and only corresponding gravitational acceleration components are retained.
- the step of performing second preprocessing on an initial angular velocity signal at time t to determine an intermediate angular velocity signal at time t includes:
- noise with high frequency in the initial angular velocity signals is removed through lowpass filtering.
- the step of determining a state of a foldable screen at time t according to target values of gravitational acceleration signals corresponding to two display screens at time t and intermediate angular velocity signals at time t includes:
- screen vertical detection and screen unfolding and folding detection are utilized for screening the state of the foldable screen, and judging the foldable screen being perpendicular to perpendicular to the horizontal plane, and the two display screens of the foldable screen being folded, unfolded and bent.
- An included angle is determined by utilizing different manners according to different states determined by two kinds of detection.
- the step of performing screen vertical detection on a foldable screen and judging whether the foldable screen is perpendicular to a horizontal plane includes:
- the target value of the gravitational acceleration signal corresponding to each display screen is almost equal to the standard gravitational acceleration, and thus whether the foldable screen is perpendicular to the horizontal plane may be judged by determining whether the absolute values of the difference values between the components, on the y-axis, of the target values of the gravitational acceleration signals corresponding to the two display screens at time t and the standard gravitational acceleration are both less than the first preset threshold.
- the conditions are met, it indicates that the foldable screen is perpendicular to the horizontal plane; and when the conditions are not met, it indicates that the foldable screen is not perpendicular to the horizontal plane.
- the step of performing screen unfolding and folding detection on a foldable screen and judging two display screens of the foldable screen being folded or unfolded or bent includes:
- the device coordinate systems corresponding to the two display screens share the y-axis but are respectively opposite in x-axis direction and z-axis direction.
- the device coordinate systems corresponding to the two display screens are the same in x-axis direction, y-axis direction and z-axis direction respectively.
- whether the foldable screen is bent may be judged by determining whether the difference value between the absolute values of the components, on the x-axis, of the target values of the gravitational acceleration signals corresponding to the two display screens at time t is less than the second preset threshold.
- the foldable screen is bent.
- the foldable screen may be folded or unfolded.
- whether the foldable screen is folded or unfolded may be further judged by determining whether the absolute value of the difference value between the components, on the z-axis, of the gravitational acceleration signals corresponding to the two display screens at time t is less than the third preset threshold.
- the foldable screen is unfolded.
- the foldable screen is folded.
- the step of determining an included angle corresponding to a foldable screen at time t according to a state of the foldable screen at time t includes:
- the included angle at time t may be determined based on an included angle at previous time and the angle variation according to the state of the foldable screen, or the included angle may be directly determined according to the state of the foldable screen; or the included angle of the foldable screen may be indirectly determined according to the state of the foldable screen and the included angle between the projection vectors of the gravitational acceleration signals on the xoz plane.
- the method further includes:
- the step of performing angle change detection on a foldable screen, and judging whether an included angle of the foldable screen at time t changes relative to an included angle at time t ⁇ 1 includes:
- device coordinate systems corresponding to the two display screens share the y-axis, and the y-axis is parallel to a folded axis direction of the foldable screen.
- the included angle between the two display screens changes, the components, on the y-axis, of the intermediate angular velocity signals acquired by the two display screens are different, and thus, whether the included angle of the foldable screen changes may be judged by determining whether the difference value between the angular velocity components, on the y-axis, of the intermediate angular velocity signals corresponding to the two display screens at time t is greater than the fourth preset threshold. If the condition is met, it indicates that changes happen. If the condition is not met, it indicates that changes do not happen.
- the step of determining an included angle corresponding to a foldable screen at time t according to a state of the foldable screen at time t includes:
- fusion processing may be performed, by the Kalman filtering algorithm, on an included angle calculated through projection vectors and an included angle calculated through intermediate angular velocity signals again, thereby obtaining the more accurate included angle of the foldable screen.
- a state of a foldable screen further includes at least one of stillness, slight motion and intensive motion.
- the method further includes:
- the motion situation of the foldable screen has a certain influence on determining of the included angle, and thus, during intensive motion, a method for summing an included angle at previous time and the angle variation is selected to determine the included angle of the foldable screen.
- a method for summing an included angle at previous time and the angle variation is selected to determine the included angle of the foldable screen.
- the step of performing motion grade detection on a foldable screen and judging a motion grade of the foldable screen includes:
- the motion grades of the foldable screen may be refined according to the moduli of the initial acceleration signals corresponding to the two display screens and the target values of gravitational acceleration signals, thereby selecting a proper method for determining an included angle according to different motion grades.
- an apparatus for determining a foldable screen included angle includes a module/unit for executing the first aspect or any method in the first aspect.
- an electronic device in a third aspect, includes one or more processors and a memory.
- the memory is coupled with the one or more processors and configured to store computer program codes.
- the computer program codes include computer instructions.
- the one or more processors invoke the computer instructions to enable the electronic device to execute the first aspect or any method for determining a foldable screen included angle in the first aspect.
- a chip system is provided and applied to the electronic device.
- the chip system includes one or more processors.
- the processors are configured to invoke computer instructions to enable the electronic device to execute any method in the first aspect or the second aspect.
- a computer-readable storage medium stores computer program codes.
- the computer program codes are operated by an electronic device, the electronic device executes any method in the first aspect or the second aspect.
- a computer program product in a sixth aspect, includes computer program codes.
- the computer program codes When the computer program codes are operated by an electronic device, the electronic device executes any method in the first aspect or the second aspect.
- each of the two display screens of the foldable screen is provided with the acceleration sensor and the gyroscope sensor which read the acceleration signal and the angular velocity signal corresponding to each display screen; and then, the angle of the foldable screen is determined by detecting the states of the foldable screen and utilizing different algorithms according to the determined different states of the foldable screen in combination with the two sets of acceleration signals and angular velocity signals or in combination with the two sets of angular velocity signals.
- FIG. 1 is a schematic diagram of an application scenario applicable to an embodiment of this application.
- FIG. 2 is a schematic flowchart of a method for determining a foldable screen included angle according to an embodiment of this application.
- FIG. 3 is a schematic flowchart of preprocessing according to an embodiment of this application.
- FIG. 4 is a schematic flowchart of another method for determining a foldable screen included angle according to an embodiment of this application.
- FIG. 5 is a schematic flowchart of screen vertical detection and screen unfolding and folding detection according to an embodiment of this application.
- FIG. 6 is a schematic diagram of various states of a foldable screen according to an embodiment of this application.
- FIG. 7 is a schematic flowchart of another method for determining a foldable screen included angle according to an embodiment of this application.
- FIG. 8 is a schematic flowchart of angle change detection according to an embodiment of this application.
- FIG. 9 is a schematic flowchart of another method for determining a foldable screen included angle according to an embodiment of this application.
- FIG. 10 is a schematic flowchart of motion grade detection according to an embodiment of this application.
- FIG. 11 is a schematic diagram of a display interface of an electronic device according to an embodiment of this application.
- FIG. 12 is a schematic diagram of a display interface of the other electronic device according to an embodiment of this application.
- FIG. 13 is a structural schematic diagram of an electronic device according to an embodiment of this application.
- FIG. 14 is a structural schematic diagram of an apparatus for determining a foldable screen included angle according to an embodiment of this application.
- FIG. 15 is a schematic diagram of a chip applicable to this application.
- A/B may represent A or B; and “and/or” in this specification is merely an association relationship for describing associated objects and represents that three relationships may exist.
- a and/or B may represent the following three cases: only A exists, both A and B exist, and only B exists.
- a plurality of represents two or more.
- first and second mentioned below are merely intended for a purpose of description, and shall not be understood as an indication or implication of relative importance or implicit indication of a quantity of indicated technical features. Therefore, features defining “first” and “second” may explicitly or implicitly include one or more such features. In descriptions of this embodiment, unless otherwise stated, “a plurality of” means two or more.
- FIG. 1 illustrates a schematic diagram of an application scenario according to an embodiment of this application.
- an electronic device being a mobile phone is illustrated.
- an included angle between two display screens (a display screen La and a display screen Lb shown in FIG. 1 ) included by the foldable screen is 180°, and the two display screens are located in the same plane.
- an included angle between the two display screens is 0°, back surfaces (sides not used for displaying) of the two display screens are oppositely attached together, and at the time, a folding manner of the foldable screen may be called outward folding.
- an included angle between the two display screens ranges from 0° to 180°.
- An axis k shown in FIG. 1 is an axis when the foldable screen is bent.
- the mobile phone with the foldable screen may be in transition to the bending state from the unfolded state, and then be switched to the folding state, and may also be in transition to the bending state from the folding state and then be switched to the unfolded state, and the process is dynamic and reversible.
- an included angle between the two display screens is 0°, and display surfaces (sides used for displaying) of the two display screens are oppositely attached together, and at the time, a folding manner of the foldable screen may be called inward folding.
- the embodiment of this application does not make any limitation on it, and the method for determining the included angle according to the embodiment of this application may be applicable to the foldable screen of outward folding or inward folding.
- a pivot around which the foldable screen is folded serves as a datum line for performing display screen dividing and naming, which determines the number of the display screens included by the foldable screen, and the two display screens herein do not represent a practical panel structure of the foldable screen.
- the foldable screen may be formed by splicing two hard panels and a pivot, and thus, one of the two hard panels may be called one display screen.
- the foldable screen may be constituted by a flexible panel and a pivot, and thus, one half of the flexible panel may be correspondingly called one display screen with the pivot as a datum line.
- a specific structure of the foldable screen may be set according to needs, which is not limited by the embodiment of this application.
- the method for determining the included angle according to the embodiment of this application is also applicable to an included angle between every two adjacent display screens.
- the included angle between the two display screens included by the foldable screen namely the foldable screen included angle needs to be determined in real time so as to adaptively adjust a display picture.
- Hall sensors are arranged in two display screens of a foldable screen and read Hall signals, and then a table is checked and searched for angles corresponding to the Hall signals, thereby determining the included angle between the two display screens.
- the manner is not only low in precision but also easy to be disturbed by a service environment.
- an encoder is additionally arranged at a pivot of a foldable screen to read angle changes, the encoder is high in precision and anti-interference, but the manner needs to additionally arrange sensors at the pivot of the foldable screen, which increases structure complexity of the foldable screen, and makes the foldable screen not easy to manufacture. Even though the foldable screen of the structure can be produced, the encoder at the pivot is easy to be damaged in a multi-time folding process. Thus, a method for determining a foldable screen included angle, which is low in hardware cost, simple in structure, high in recognition precision and anti-interference is urgently needed.
- the embodiment of this application provides a method for determining a foldable screen included angle.
- Each of two display screens of a foldable screen is provided with an acceleration sensor and a gyroscope sensor which read an acceleration signal and an angular velocity signal corresponding to each display screen; and then, the angle of the foldable screen is determined by detecting states of the foldable screen and utilizing different algorithms according to determined different states of the foldable screen in combination with the two sets of acceleration signals and angular velocity signals or in combination with the two sets of angular velocity signals.
- the method for determining the foldable screen included angle according to the embodiment of this application is applied to an electronic device with a foldable screen.
- the foldable screen of the electronic device includes a plurality of display screens, that is to say, may include two display screens and may also include three or more display screens, which is not limited by the embodiment of this application.
- Each of the plurality of display screens may include at least one acceleration sensor and at least one gyroscope sensor.
- each display screen may include one acceleration sensor and one gyroscope sensor and may also include two or more acceleration sensors and two or more gyroscope sensors.
- the number of the acceleration sensors may be the same as or different from the number of the gyroscope sensors; and the number of the acceleration sensors included by the different display screens may be the same or different, and the number of the gyroscope sensors included by the different display screens may be the same or different, which may be specifically set according to needs and not limited by the embodiment of this application.
- the acceleration sensor in each display screen may detect acceleration of the corresponding display screen in various directions (commonly, x-axis, y-axis and z-axis).
- the gyroscope sensor in each display screen may detect angular velocities of the corresponding display screen around three axes (x-axis, y-axis and z-axis).
- the x-axis, the y-axis and the z-axis refer to three reference directions in a device coordinate system corresponding to each display screen.
- the device coordinate systems refer to coordinate systems fixed to the display screens, in which points on the display screens rotate together with the display screens. Since each display screen corresponds to one device coordinate system, when the relative positions among the plurality of display screens change, the device coordinate systems are not necessarily the same in referred x-axis direction, y-axis direction and z-axis direction.
- a display screen La includes a first acceleration sensor ACC 1 and a first gyroscope sensor GYRO 1
- a display screen Lb includes a second acceleration sensor ACC 2 and a second gyroscope sensor GYRO 2 .
- first acceleration sensor ACC 1 and the second acceleration sensor ACC 2 may be the same or different, and the first gyroscope sensor GYRO 1 and the second gyroscope sensor GYRO 2 may be the same or different, which may be specifically set according to needs and not limited by the embodiment of this application.
- a device coordinate system corresponding to the display screen La refers to a coordinate system fixed to the display screen La, in which points on the display screen La rotate together with the display screen La; and a device coordinate system corresponding to the display screen Lb refers to a coordinate system fixed to the display screen Lb, in which points on the display screen Lb rotate together with the display screen Lb.
- a direction indicated by an x-axis in the device coordinate system corresponding to the display screen La is a horizontal rightward direction parallel to a display surface of the display screen La
- a direction indicated by a y-axis is a vertical upward direction parallel to the display surface of the display screen La
- a direction indicated by a z-axis is perpendicular to the display surface of the display screen La and is an outward direction perpendicular to a principal plane.
- a direction indicated by an x-axis in the device coordinate system corresponding to the display screen Lb is a horizontal rightward direction parallel to a display surface of the display screen Lb
- a direction indicated by a y-axis is a vertical upward direction parallel to the display surface of the display screen Lb
- a direction indicated by a z-axis is perpendicular to the display surface of the display screen Lb and is an outward direction perpendicular to a principal plane.
- the device coordinate systems corresponding to the two display screens included in the foldable screen are respectively the same in practical three-axis orientation.
- orientations of the three axes m the device coordinate system corresponding to the display screen Lb do not change, but the practical orientations of the three axes in the device coordinate system corresponding to the display screen La change along with rotation of the display screen La.
- a direction indicated by the y-axis in the device coordinate system corresponding to the display screen La does not change and is still the vertical upward direction parallel to the display surface of the display screen La, but the direction indicated by the x-axis is changed into a horizontal leftward direction parallel to the display surface of the display screen La, and the direction indicated by the z-axis is changed into an inward direction perpendicular to the principal plane and the display surface of the display screen La.
- the first acceleration sensor ACC 1 and the first gyroscope sensor GYRO 1 are attached to a center position of a back surface (one side not for displaying) of the display screen La.
- the second acceleration sensor ACC 2 and the second gyroscope sensor GYRO 2 are also attached to a center position of a back surface (one side not for displaying) of the display screen Lb.
- acceleration sensors and the gyroscope sensors in the display screens may be set and modified according to needs, which is not limited by the embodiment of this application.
- the foldable screen to which the embodiment of this application is applicable is simply introduced above, and in combination with FIG. 1 - FIG. 10 , the method for determining the foldable screen included angle according to the embodiment of this application is introduced in detail below with an example that the foldable screen includes the two display screens (the display screen La and the display screen Lb, and each display screen includes one acceleration sensor and one gyroscope sensor.
- FIG. 2 illustrates a schematic flowchart of a method for determining a foldable screen included angle according to an embodiment of this application.
- the method 1 for determining the foldable screen included angle includes the following steps S 10 -S 40 .
- time t is an integer greater than or equal to 1.
- time t may be understood as a current time in a time series
- time t+1 is a next time in the time series
- time t ⁇ 1 is a previous time in the time series.
- the display screen La at each time, can acquire the first initial acceleration signal and the first initial angular velocity signal corresponding to the time
- the display screen Lb at each time, can acquire the second initial acceleration signal and the second initial angular velocity signal corresponding to the time.
- an acceleration signal obtained through measurement of the acceleration sensor in the display screen includes a gravitational acceleration signal and a motion linear acceleration signal; and when the display screen is in a static state, the acceleration sensor may accurately measure three-axis components of an acceleration signal of an object in a self-inherent device coordinate system, and at the time, the acceleration signal only includes a gravitational acceleration signal and does not include a motion linear acceleration signal.
- the display screen refers to the display screen La or the display screen Lb
- the acceleration sensor refers to the first acceleration sensor ACC 1 or the second acceleration sensor ACC 2 .
- gravitational acceleration refers to acceleration of the display screen under the effect of gravity
- linear acceleration refers to acceleration of the display screen without the effect of gravity
- first preprocessing may include at least one of coordinate system conversion, average filtering, a time-update equation and a Kalman filtering algorithm.
- coordinate system conversion is used for converting coordinate values in the inherent device coordinate systems of the display screens into coordinate values in a terrestrial coordinate system.
- the terrestrial coordinate system is also called an earth-fixed coordinate system, is fixed to the earth and rotates together with the earth. Coordinate values of points on the ground are constant in the earth-fixed coordinate system.
- Average filtering is used for filtering out noise in signals and performing smoothing processing. Average filtering is equivalent to removing disorganized linear acceleration signals included in the first initial acceleration signal and the second initial acceleration signal, screening a relatively stable signal out of the first initial acceleration signal to serve as a first gravitational acceleration signal and screening a relatively stable signal out of the second initial acceleration signal to serve as a second gravitational acceleration signal.
- second preprocessing may include lowpass filtering.
- Lowpass filtering is used for removing noise with high frequency.
- first preprocessing and/or second preprocessing may further include other steps, and an execution sequence of the plurality of steps included in first preprocessing and/or second preprocessing may be adjusted according to needs, which is not limited by the embodiment of this application.
- first preprocessing includes coordinate system conversion, average filtering, the time-update equation and the Kalman filtering algorithm.
- Second preprocessing includes lowpass filtering.
- FIG. 3 shows an example for explanation.
- FIG. 3 illustrates a schematic flowchart of first preprocessing and second preprocessing according to an embodiment of this application.
- a process of performing first preprocessing on the first initial acceleration signal acquired by the first acceleration sensor ACC 1 in the display screen La at time t may include the following steps S 21 -S 23 ; and as shown in (a) in FIG. 3 , a process of performing second preprocessing on the first initial angular velocity signal acquired by the first gyroscope sensor GYRO 1 at time t may include the following step S 24 .
- First preprocessing and second preprocessing may be sequentially executed or executed at the same time, and a specific execution sequence may be changed according to needs, which is not limited by the embodiment of this application. Example:
- S 21 Perform coordinate system conversion and average filtering on the first initial acceleration signal at time t to obtain a first resultant acceleration signal at time t, which is shown in (a) in FIG. 3 .
- the first resultant acceleration signal at time t serves as a measured value of the first gravitational acceleration signal at time t.
- coordinate values corresponding to the first initial acceleration signal acquired by the first acceleration sensor ACC 1 are in the self-inherent device coordinate system of the first acceleration sensor ACC 1
- coordinate values corresponding to the second initial acceleration signal acquired by the second acceleration sensor ACC 2 are in the self-inherent device coordinate system of the second acceleration sensor ACC 2
- the gravitational acceleration g is expressed as (0, 0, g) in the terrestrial coordinate system, which is a constant value.
- the time-update equation may be understood as a physical model, the physical model is utilized for prediction, and a predicted value of a first gravitational acceleration signal corresponding to a next time may be predicted according to a target value of a first gravitational acceleration signal obtained through a Kalman filtering algorithm at previous time.
- the predicted value of the first gravitational acceleration signal at time t may be predicted according to the target value of the first gravitational acceleration signal corresponding to the display screen La at time t ⁇ 1; and similarly, a predicted value of a first gravitational acceleration signal at time t+1 may be predicted according to a target value of the first gravitational acceleration signal, corresponding to time t, of the display screen La.
- the time-update equation refers to:
- Manners for performing first preprocessing on the first initial acceleration signal at time t and the second initial acceleration signal at time t and performing second preprocessing on the first initial angular velocity signal and the second initial angular velocity signal are the same as the manners shown in FIG. 3 , and refer to the above description for details which are not repeated herein.
- the included angle variation between the two display screens may be determined only according to y-axis angular velocity signals acquired by the gyroscope sensors, and then, the included angle corresponding to the foldable screen at time t is determined by combining the included angle of the foldable screen at previous time.
- S 104 Perform screen unfolding and folding detection on the foldable screen and judge the two display screens of the foldable screen being folded, or unfolded or bent if the foldable screens are not perpendicular to the horizontal plane.
- device coordinate systems corresponding to the display screen La and the display screen Lb are different, but xoz planes constituted by x-axes and z-axes in the two device coordinate systems are located on the same plane, and since the xoz plane is perpendicular to each y-axis, and each y-axis is the same as the axis k, along which the foldable screen is bent, in direction, the included angle between the two display screens is an included angle between intersecting lines of the two display screens and the xoz plane.
- the foldable screen included angle may be indirectly calculated by calculating an included angle between the projection vector of the target value of the first gravitational acceleration signal on the xoz plane and the projection vector of the target value of the second gravitational acceleration signal on the xoz plane.
- FIG. 5 illustrates a schematic flowchart of screen vertical detection and screen unfolding and folding detection according to an embodiment of this application.
- FIG. 6 illustrates schematic diagrams of several states of a foldable screen.
- the device coordinate system corresponding to the display screen La and the device coordinate system corresponding to the display screen Lb are the same in y-axis direction, and on that basis, whether the foldable screen is perpendicular to the horizontal plane may be judged by judging whether absolute values of difference values between a component ga_y of the target value ga of the first gravitational acceleration signal on the y-axis and a standard gravitational acceleration g and between a component gb_y of the target value gb of the second gravitational acceleration signal on the y-axis and the standard gravitational acceleration g are both less than a first preset threshold thresh 1 .
- the standard gravitational acceleration g refers to acceleration of an object falling in vacuum under the action of gravity.
- the display screen La is vertically placed when the foldable screen is perpendicular to the horizontal plane.
- the target value ga of the first gravitational acceleration signal is almost equal to the standard gravitational acceleration g and is completely constituted by the component ga_y on the y-axis, thus, the component ga_y of the target value ga of the first gravitational acceleration signal on the y-axis is almost equal to the standard gravitational acceleration g, and accordingly, whether the display screen La is perpendicular to the horizontal plane may be judged by setting the first preset threshold thresh 1 and comparing whether the difference value between the component ga_y of the target value ga of the first gravitational acceleration signal on the y-axis and the standard gravitational acceleration g is less than the first preset threshold thresh 1 .
- the display screen Lb is vertically placed as well.
- the target value gb of the second gravitational acceleration signal is almost equal to the standard gravitational acceleration g and is completely constituted by the component gb_y of the target value of the second gravitational acceleration signal on the y-axis, thus, the component gb_y of the target value gb of the second gravitational acceleration signal on the y-axis is almost equal to the standard gravitational acceleration g, and accordingly, whether the display screen Lb is perpendicular to the horizontal plane may be judged by setting the first preset threshold thresh 1 and comparing whether the difference value between the component gb_y of the target value gb of the second gravitational acceleration signal on the y-axis and the standard gravitational acceleration g is less than the first preset threshold thresh 1 .
- conditions for judging whether the foldable screen is perpendicular to the horizontal plane may be set in the manner that the absolute value of the difference value between the component ga_y of the target value ga of the first gravitational acceleration signal on the y-axis and the standard gravitational acceleration g is less than the first preset threshold thresh 1 , and the absolute value of the difference value between the component gb_y of the target value gb of the second gravitational acceleration signal on the y-axis and the standard gravitational acceleration g is also less than the first preset threshold thresh 1 .
- an included angle between the two display screens may be 0°, or may be between 0° and 180°, and of course, may be 180°.
- the included angle Angle between the two display screens at time t may be determined by determining an angle variation DeltaAngle of the first gyroscope sensor GYRO 1 and the second gyroscope sensor GYRO 2 on the y-axis and then summing the included angle LastAngle at time t ⁇ 1 and the angle variation DeltaAngle.
- w2_y in the formula (1) is used for indicating an angular velocity, acquired by the second gyroscope sensor GYRO 2 , on the y-axis
- w1_y is used for indicating an angular velocity, acquired by the first gyroscope sensor GYRO 1 , on the y-axis
- dt is used for indicating integration of time t or is called a time interval from time t ⁇ 1 to time t.
- Angle is used for indicating an included angle between the two display screens at time t
- LastAngle is used for indicating an included angle between the two display screens at time t ⁇ 1
- DeltaAngle is used for indicating an included angle variation from time t ⁇ 1 to time t.
- whether the two screens of the foldable screen are bent may be judged by judging whether a difference value between absolute values of a component ga_x of the target value ga of the first gravitational acceleration signal on the x-axis and a component gb_x of the target value gb of the second gravitational acceleration signal on the x-axis is less than a second preset threshold thresh 2 .
- the difference value between the absolute value of ga_x and the absolute value of gb_x being less than the second preset threshold thresh 2 indicates that the component ga_x of the target value ga of the first gravitational acceleration signal on the x-axis and the component gb_x of the target value gb of the second gravitational acceleration signal on the x-axis are basically the same, and accordingly, it indicates that the two display screens are not bent and may be folded together or unfolded at the time, which needs to be further judged.
- the included angle between the first vector ga′ and the second vector gb′ is determined as a first included angle VectorAngle according to the formula (4).
- a foldable screen included angle may be determined as 0°.
- a foldable screen included angle may be determined as 180°.
- target values of gravitational acceleration signals corresponding to the two display screens may be determined according to acceleration signals and angular velocity signals of the two display screens, and then a foldable screen included angle is determined by calculating an included angle between projection vectors of the target values of the two gravitational acceleration signals on the xoz plane.
- S 108 Perform angle change detection on a foldable screen, and judge whether an included angle corresponding to the foldable screen, at time t changes relative to an included angle corresponding to time t ⁇ 1.
- S 110 Determine an angle variation DeltaAngle from time t ⁇ 1 to time t by utilizing an angular velocity component w1_y of a first intermediate angular velocity signal acquired by a first gyroscope sensor GYRO 1 on a y-axis and an angular velocity component w2_y of a second intermediate angular velocity signal acquired by a second gyroscope sensor GYRO 2 on the y-axis.
- S 112 Make the included angle calculated according to the projection vectors in S 107 as a measured value of the included angle corresponding to the foldable screen at time t, and determine, by a Kalman filtering algorithm, a target value FuseAngle of the included angle corresponding to the foldable screen at time t according to the measured value of the included angle corresponding to the foldable screen at time t and the predicted value of the calculated included angle corresponding to time t in S 111 .
- the target value FuseAngle of the included angle corresponding to the foldable screen at time t is the included angle Angle corresponding to the foldable screen at time t.
- the difference value DeltaGyro_y being less than or equal to the fourth preset threshold thresh 4 indicates that the included angle between the two display screens does not change or slightly changes, which can be neglected, and thus, the included angle corresponding to the foldable screen at previous time may serve as the included angle corresponding to current time.
- the embodiment of this application further provides a schematic flowchart of another method 4 for determining a foldable screen included angle.
- the method 4 for determining the foldable screen included angle may further include the following steps S 113 -S 116 .
- Stillness may indicate the motion range of the electronic device being 0 or being less than a first preset range; slight motion may indicate the motion range of the electronic device being greater than a second preset range but less than a third preset range; and intensive motion may indicate the motion range of the electronic device being greater than a fourth preset range.
- the first preset range is less than or equal to the second preset range, the second preset range is less than the third preset range, and the third preset range is less than or equal to the fourth preset range.
- the foldable screen being still means that the foldable screen is still relative to the outside, for example, a mobile phone is placed on a tabletop, but two display screens included by the mobile phone may relatively move.
- S 112 is correspondingly updated to include: determining a target value FuseAngle of an included angle corresponding to the foldable screen at time t by utilizing the Kalman filtering algorithm having the measurement noise matrix R with the decreased parameters according to the measured value of the included angle corresponding to the foldable screen at time t and the predicted value of the included angle corresponding to time t.
- the target value FuseAngle of the included angle corresponding to the foldable screen at time t is the included angle Angle corresponding to the foldable screen at time t.
- S 112 is correspondingly updated to include: determining a target value FuseAngle of an included angle corresponding to the foldable screen at time t by utilizing the Kalman filtering algorithm having the measurement noise matrix R with the increased parameters according to measured value of the included angle corresponding to the foldable screen at time t and the predicted value of the included angle corresponding to time t.
- the target value FuseAngle of the included angle corresponding to the foldable screen at time t is the included angle Angle corresponding to the foldable screen at time t.
- the measurement noise matrix is used for indicating a trust degree for a measured value of a gravitational acceleration signal.
- Higher noise of the measured value of the gravitational acceleration signal indicates that trust on the measured value of the gravitational acceleration signal needs to be diminished; and lower noise of the measured value of the gravitational acceleration signal indicates that the measured value is worthy of being trusted, and trust on the measured value of the gravitational acceleration signal can be increased.
- the method for determining the included angle is differently adjusted according to the different motion grades.
- the parameters in R in the Kalman filtering algorithm may be modified according to different motion situations, thereby improving an accuracy rate of the target value, determined according to the Kalman filtering algorithm, of the included angle.
- the included angle may be determined only by utilizing an angular velocity of the gyroscope sensor so as to reduce the calculated amount.
- FIG. 10 illustrates a schematic flowchart of motion grade detection.
- a modulus of a first initial acceleration signal acquired by a first acceleration sensor ACC 1 at time t and a modulus of a second initial acceleration signal acquired by a second acceleration sensor ACC 2 at time t are firstly determined.
- norm 1 is a modulus of the first initial acceleration signal at time t
- acc 1 _X is a component of the first initial acceleration signal at time t on an x-axis
- acc 1 _Y is a component of the first initial acceleration signal at time t on a y-axis
- acc 1 _Z is a component of the first initial acceleration signal at time t on a z-axis.
- norm 2 is a modulus of the second initial acceleration signal at time t
- acc 2 _X is a component of the second initial acceleration signal at time t on the x-axis
- acc 2 _Y is a component of the second initial acceleration signal at time t on the y-axis
- acc 2 _Z is a component of the second initial acceleration signal at time t on the z-axis.
- whether the foldable screen is still is judged by determining whether a difference value between the modulus of the first initial acceleration signal at time t and a constant (a first reference value also called an absolute value of the target value of the first gravitational acceleration signal) of the target value of the first gravitational acceleration signal at time t and a difference value between the modulus of the second initial acceleration signal at time t and a constant (a second reference value also called an absolute value of the target value of the second gravitational acceleration signal) of the target value of the second gravitational acceleration signal at time t are both less than a fifth preset threshold thresh 5 .
- a first reference value also called an absolute value of the target value of the first gravitational acceleration signal
- the first initial acceleration signal at time t includes a gravitational acceleration signal and a linear acceleration signal, which can reflect a motion state of the foldable screen in a three-dimensional space, and thus, it is more accurate to utilize the modulus of the first initial acceleration signal at time t for judgment.
- the acquisition module 210 is configured to acquire initial acceleration signals and initial angular velocity signals corresponding to two display screens at time t respectively.
- the processing module 220 is further configured to: perform screen vertical detection on a foldable screen to judge whether the foldable screen is perpendicular to a horizontal plane; and if not, perform screen unfolding and folding detection on the foldable screen to judge two display screens of the foldable screen being folded or unfolded or bent.
- the processing module 220 is further configured to: determine whether absolute values of difference values between components of target values of gravitational acceleration signals corresponding to two display screens at time t on a y-axis and standard gravitational acceleration are both less than a first preset threshold, where the standard gravitational acceleration is used for indicating acceleration of an object falling in vacuum under the action of gravity; if yes, determine that the foldable screen is perpendicular to a horizontal plane; and if not, determine that the foldable screen is not perpendicular to the horizontal plane.
- the processing module 220 is further configured to: make an included angle being determined according to a first included angle and corresponding to a foldable screen at time t as a measured value of the included angle corresponding to the foldable screen at time t; and determine, by a Kalman filtering algorithm, an included angle corresponding to the display screen at time t according to a predicted value of the included angle corresponding to the foldable screen at time t and the measured value of the included angle corresponding to the foldable screen at time t.
- the processing module 220 is further configured to: perform motion grade detection on a foldable screen to judge a motion grade of the foldable screen, where the motion grade includes at least one of stillness, slight motion and intensive motion;
- the “module” may be a software program, a hardware circuit or a combination of the software program the hardware circuit for realizing the above functions.
- the hardware circuit may include an application specific integrated circuit (application specific integrated circuit, ASIC), an electronic circuit, a processor (for example, a shared processor, a dedicated processor, or a packet processor) configured to execute one or more software or firmware programs, a memory, a combined logical circuit, and/or another suitable component that supports the described functions.
- ASIC application specific integrated circuit
- ASIC application specific integrated circuit
- a processor for example, a shared processor, a dedicated processor, or a packet processor configured to execute one or more software or firmware programs, a memory, a combined logical circuit, and/or another suitable component that supports the described functions.
- sequence numbers of the foregoing processes do not indicate an execution sequence, and an execution sequence of processes shall be determined based on functions and internal logic thereof, and shall constitute no limitation on an implementation process of the embodiments of this application.
- preset and “pre-define” may be realized by prestoring corresponding codes and tables in the device (such as the electronic device) or through other manners used for indicating related information, and this application does not limit a specific implementation.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Mathematical Physics (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Gyroscopes (AREA)
Abstract
Description
-
- for each display screen, acquiring, by an acceleration sensor, an initial acceleration signal at time t, and acquiring, by a gyroscope sensor, an initial angular velocity signal at time t;
- for each display screen, performing first preprocessing on the initial acceleration signal at time t to determine a target value of a gravitational acceleration signal at time t, and performing second preprocessing on the initial angular velocity signal at time t to determine an intermediate angular velocity signal at time t;
- determining a state of the foldable screen at time t according to the target values of the gravitational acceleration signals corresponding to the two display screens at time t and the intermediate angular velocity signals at time t, the state of the foldable screen including at least one of the foldable screen being perpendicular to a horizontal plane, the two display screens of the foldable screen being folded, bent and unfolded, an included angle of the foldable screen at time t changing relative to an included angle at time t−1, and the included angle of the foldable screen at time t not changing relative to the included angle at time t−1; and
- determining an included angle corresponding to the foldable screen at time t according to the state of the foldable screen at time t.
-
- for each display screen, performing coordinate system conversion and average filtering on the initial acceleration signal at time t to obtain a measured value of the gravitational acceleration signal at time t; determining, by a time-update equation, a predicted value of the gravitational acceleration signal at time t according to a target value of a gravitational acceleration signal at time t−1 and an initial angular velocity signal at time t−1; and determining, by a Kalman filtering algorithm, the target value of the gravitational acceleration signal at time t according to the measured value of the gravitational acceleration signal at time t and the predicted value of the gravitational acceleration signal at time t.
-
- for each display screen, performing lowpass filtering on the initial angular velocity signal at time t to determine the intermediate angular velocity signal at time t.
-
- performing screen vertical detection on a foldable screen to judge whether the foldable screen is perpendicular to a horizontal plane; and if not, performing screen unfolding and folding detection on the foldable screen to judge two display screens of the foldable screen being folded or unfolded or bent.
-
- determining whether absolute values of difference values between components, on a y-axis, of target values of gravitational acceleration signals corresponding to two display screens at time t and standard gravitational acceleration are both less than a first preset threshold, where the standard gravitational acceleration is used for indicating acceleration of an object falling in vacuum under the action of gravity;
- if yes, determining that the foldable screen is perpendicular to the horizontal plane; and
- if not, determining that the foldable screen is not perpendicular to the horizontal plane.
-
- determining whether a difference value between absolute values of components, on an x-axis, of target values of gravitational acceleration signals corresponding to the two display screens at time t is less than a second preset threshold;
- if not, determining that the foldable screen is bent;
- if yes, determining whether an absolute value of a difference value between components, on a z-axis, of gravitational acceleration signals corresponding to the two display screens at time t is less than a third preset threshold;
- if yes, determining that the foldable screen is unfolded; and
- if not, determining that the foldable screen is folded.
-
- determining an included angle between two display screens according to Angle=LastAngle+DeltaAngle if the foldable screen is perpendicular to a horizontal plane, where Angle is used for indicating an included angle between the two display screens at time t, LastAngle is used for indicating an included angle between the two display screens at time t−1, and DeltaAngle is used for indicating an angle variation between the two display screens from time t−1 to time t;
- determining that the included angle is 0° if the foldable screen is folded;
- determining that the included angle is 180° if the foldable screen is unfolded;
- determining a first included angle between projection vectors of two gravitational acceleration signals at time t on an xoz plane according to target values of the gravitational acceleration signals corresponding to the two display screens at time t if the foldable screen is bent; and
- determining an included angle corresponding to the foldable screen at time t according to the first included angle.
-
- performing angle change detection on a foldable screen, and judging whether an included angle of the foldable screen at time t changes relative to an included angle at time t−1;
- determining an angle variation between two display screens from time t−1 to time t according to angular velocity components, on a y-axis, of intermediate angular velocity signals corresponding to the two display screens at time t in case of changes; and
- determining a predicted value of the included angle corresponding to the foldable screen at time t according to the included angle corresponding to the foldable screen at time t−1 and the angle variation of the foldable screen from time t−1 to time t.
-
- determining whether a difference value between angular velocity components, on a y-axis, of intermediate angular velocity signals corresponding to two display screens at time t is greater than a fourth preset threshold;
- if not, determine that the included angle of the foldable screen at time t does not change relative to the included angle at time t−1; and
- if yes, determine that the included angle of the foldable screen at time t changes relative to the included angle at time t−1.
-
- determining an included angle corresponding to the foldable screen at time t and being determined according to a first included angle as a measured value of the included angle corresponding to the foldable screen at time t; and
- determining, by the Kalman filtering algorithm, an included angle corresponding to the foldable screen at time t according to a predicted value of the included angle corresponding to the foldable screen at time t and the measured value of the included angle corresponding to the foldable screen at time t.
-
- performing motion grade detection on the foldable screen, and judging the foldable screen being still, slightly moving or intensively moving;
- decreasing parameters in a measurement noise matrix R of the Kalman filtering algorithm in case of stillness;
- determining a target value of an included angle corresponding to the foldable screen at time t by utilizing the Kalman filtering algorithm having the measurement noise matrix with the decreased parameters according to a predicted value of the included angle corresponding to the foldable screen at time t and a measured value of the included angle;
- increasing parameters in the measurement noise matrix of the Kalman filtering algorithm in case of slight motion;
- determining a target value of the included angle corresponding to the foldable screen at time t by utilizing the Kalman filtering algorithm having the measurement noise matrix with the increased parameters according to the predicted value of the included angle corresponding to the foldable screen at time t and a measured value of the included angle; and
- determining the included angle corresponding to the foldable screen at time t according to Angle=LastAngle+DeltaAngle in case of intensive motion, where Angle is used for indicating an included angle between two display screens at time t, LastAngle is used for indicating an included angle between the two display screens at time t−1, and DeltaAngle is used for indicating an angle variation between the two display screens from time t−1 to time t.
-
- for each display screen, determining a modulus of an initial acceleration signal, acquired by an acceleration sensor, at time t;
- for each display screen, determining whether a difference value between the modulus of the initial acceleration signal at time t and a reference value is less than a fifth preset threshold, where, the reference value is a constant corresponding to a target value of a gravitational acceleration signal of each display screen at time t;
- determining that the foldable screen is still if difference values between determined moduli of the initial acceleration signals of the two display screens at time t and reference values are both less than the fifth preset threshold;
- if not, judging whether the difference values between the determined moduli of the initial acceleration signals of the two display screens at time t and the reference values are both less than n times of the fifth preset threshold, where n is greater than 1;
- if yes, determining that the foldable screen slightly moves; and
- if not, determining that the foldable screen intensively moves.
DeltaAngle=(w2_y−w1_y)xdt (1)
Angle=LastAngle+DeltaAngle (2)
Angle=180−VectorAngle (5)
{circumflex over (x)}
P
norm1=√{square root over (acc1_X 2+acc1_Y 2+acc1_Z 2)} (6)
norm2=√{square root over (acc2_X 2+acc2_Y 2+acc2_Z 2)} (7)
-
- for each display screen, perform coordinate system conversion and average filtering on an initial acceleration signal at time t to obtain a measured value of a gravitational acceleration signal at time t; determine, by a time-update equation, a predicted value of the gravitational acceleration signal at time t according to a target value of a gravitational acceleration signal at time t−1 and an initial angular velocity signal at time t−1; and determine, by a Kalman filtering algorithm, a target value of the gravitational acceleration signal at time t according to the measured value of the gravitational acceleration signal at time t and the predicted value of the gravitational acceleration signal at time t.
Claims (20)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111633647.4 | 2021-12-28 | ||
| CN202111633647.4A CN116366750B (en) | 2021-12-28 | 2021-12-28 | Method for determining folding screen angle and related equipment |
| PCT/CN2022/116202 WO2023124177A1 (en) | 2021-12-28 | 2022-08-31 | Method for determining included angle of folding screen and related device thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20240125596A1 US20240125596A1 (en) | 2024-04-18 |
| US12345523B2 true US12345523B2 (en) | 2025-07-01 |
Family
ID=85462134
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/004,101 Active US12345523B2 (en) | 2021-12-28 | 2022-08-31 | Method for determining foldable screen included angle and associated devices of method |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12345523B2 (en) |
| EP (1) | EP4228230B1 (en) |
| CN (1) | CN116366750B (en) |
| WO (1) | WO2023124177A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN121336173A (en) * | 2023-07-14 | 2026-01-13 | 三星电子株式会社 | Electronic devices and methods for changing the display mode of a display, and storage media |
| CN116592756B (en) * | 2023-07-17 | 2023-10-20 | 荣耀终端有限公司 | Detection method for included angle of folding screen and electronic equipment |
| CN119946170A (en) * | 2023-11-01 | 2025-05-06 | 华为技术有限公司 | Wallpaper setting method for folding screen device and folding screen device |
| CN117630414B (en) * | 2024-01-25 | 2024-05-24 | 荣耀终端有限公司 | Acceleration sensor calibration method, folding electronic device and storage medium |
| CN119248392A (en) * | 2024-04-30 | 2025-01-03 | 荣耀终端有限公司 | Interface display method and electronic device |
| CN118654878B (en) * | 2024-08-21 | 2024-12-31 | 荣耀终端有限公司 | Method for measuring falling angle and related equipment |
Citations (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100064244A1 (en) * | 2008-09-08 | 2010-03-11 | Qualcomm Incorporated | Multi-fold mobile device with configurable interface |
| US7958644B2 (en) * | 2006-06-23 | 2011-06-14 | Nxp B.V. | Orientation sensing in a multi part device |
| US20140029017A1 (en) | 2012-07-30 | 2014-01-30 | Samsung Electronics Co., Ltd. | Flexible apparatus and method for controlling operation thereof |
| US20170045996A1 (en) * | 2014-04-30 | 2017-02-16 | Lg Electronics Inc. | Mobile terminal and control method therefor |
| CN108958362A (en) | 2017-05-25 | 2018-12-07 | 意法半导体股份有限公司 | Realize the computing system and method for the algorithm of data of the fusion from inertial sensor |
| CN110536004A (en) | 2019-07-23 | 2019-12-03 | 华为技术有限公司 | Method for applying multi-sensor to electronic device with flexible screen and electronic device |
| CN111190563A (en) | 2019-12-31 | 2020-05-22 | 华为技术有限公司 | Interface display method and related device |
| US20200213431A1 (en) | 2017-07-25 | 2020-07-02 | Zte Corporation | Method for determining relative positions of dual screens, display control method and terminal |
| WO2020168965A1 (en) | 2019-02-22 | 2020-08-27 | 华为技术有限公司 | Method for controlling electronic device having folding screen, and electronic device |
| CN111766918A (en) | 2020-06-05 | 2020-10-13 | 北京小米移动软件有限公司 | Folding screen posture detection method and device, electronic device, and computer-readable storage medium |
| CN112099574A (en) | 2020-09-23 | 2020-12-18 | 北京小米移动软件有限公司 | Method, device, electronic device and storage medium for determining display state |
| WO2021008616A1 (en) | 2019-07-18 | 2021-01-21 | 华为技术有限公司 | Control method for electronic device with folding screen, and electronic device |
| US20210041912A1 (en) * | 2019-08-06 | 2021-02-11 | Samsung Electronics Co., Ltd. | Foldable electronic device for detecting folding angle and operating method thereof |
| WO2021128245A1 (en) | 2019-12-27 | 2021-07-01 | Intel Corporation | Hinge angle detection |
| CN113495598A (en) | 2020-04-08 | 2021-10-12 | 罗伯特·博世有限公司 | Data processing device and data processing method for folding equipment |
| CN113542453A (en) | 2020-03-31 | 2021-10-22 | 北京小米移动软件有限公司 | Folding screen terminal device, state detection method thereof and electronic device |
| CN113534974A (en) | 2020-04-14 | 2021-10-22 | 北京小米移动软件有限公司 | Direction detection method and device, storage medium |
| US20210348911A1 (en) | 2020-05-05 | 2021-11-11 | Stmicroelectronics S.R.L. | Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product |
| CN113703519A (en) | 2020-05-21 | 2021-11-26 | 北京小米移动软件有限公司 | Method and device for determining posture of folding screen and storage medium |
| US20230027806A1 (en) * | 2021-07-19 | 2023-01-26 | Invensense, Inc. | Method and system for determining hinge angle |
| US11917095B2 (en) * | 2020-03-31 | 2024-02-27 | Sony Group Corporation | Information processing terminal, program, and method |
| US20240302867A1 (en) * | 2021-11-19 | 2024-09-12 | Honor Device Co., Ltd. | Hinge angle detection method and related device |
-
2021
- 2021-12-28 CN CN202111633647.4A patent/CN116366750B/en active Active
-
2022
- 2022-08-31 US US18/004,101 patent/US12345523B2/en active Active
- 2022-08-31 WO PCT/CN2022/116202 patent/WO2023124177A1/en not_active Ceased
- 2022-08-31 EP EP22830350.9A patent/EP4228230B1/en active Active
Patent Citations (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7958644B2 (en) * | 2006-06-23 | 2011-06-14 | Nxp B.V. | Orientation sensing in a multi part device |
| CN101480061B (en) * | 2006-06-23 | 2011-07-20 | Nxp股份有限公司 | Orientation sensing in a multi part device |
| US20100064244A1 (en) * | 2008-09-08 | 2010-03-11 | Qualcomm Incorporated | Multi-fold mobile device with configurable interface |
| US20140029017A1 (en) | 2012-07-30 | 2014-01-30 | Samsung Electronics Co., Ltd. | Flexible apparatus and method for controlling operation thereof |
| US20170045996A1 (en) * | 2014-04-30 | 2017-02-16 | Lg Electronics Inc. | Mobile terminal and control method therefor |
| CN108958362A (en) | 2017-05-25 | 2018-12-07 | 意法半导体股份有限公司 | Realize the computing system and method for the algorithm of data of the fusion from inertial sensor |
| US10976150B2 (en) | 2017-05-25 | 2021-04-13 | Stmicroelectronics S.R.L. | Computing system implementing an algorithm for fusing data from inertial sensors, and method |
| US20200213431A1 (en) | 2017-07-25 | 2020-07-02 | Zte Corporation | Method for determining relative positions of dual screens, display control method and terminal |
| WO2020168965A1 (en) | 2019-02-22 | 2020-08-27 | 华为技术有限公司 | Method for controlling electronic device having folding screen, and electronic device |
| WO2021008616A1 (en) | 2019-07-18 | 2021-01-21 | 华为技术有限公司 | Control method for electronic device with folding screen, and electronic device |
| CN110536004A (en) | 2019-07-23 | 2019-12-03 | 华为技术有限公司 | Method for applying multi-sensor to electronic device with flexible screen and electronic device |
| US20210041912A1 (en) * | 2019-08-06 | 2021-02-11 | Samsung Electronics Co., Ltd. | Foldable electronic device for detecting folding angle and operating method thereof |
| WO2021128245A1 (en) | 2019-12-27 | 2021-07-01 | Intel Corporation | Hinge angle detection |
| US20220350373A1 (en) | 2019-12-27 | 2022-11-03 | Intel Corporation | Hinge Angle Detection |
| CN111190563A (en) | 2019-12-31 | 2020-05-22 | 华为技术有限公司 | Interface display method and related device |
| CN113542453A (en) | 2020-03-31 | 2021-10-22 | 北京小米移动软件有限公司 | Folding screen terminal device, state detection method thereof and electronic device |
| US11917095B2 (en) * | 2020-03-31 | 2024-02-27 | Sony Group Corporation | Information processing terminal, program, and method |
| CN113495598A (en) | 2020-04-08 | 2021-10-12 | 罗伯特·博世有限公司 | Data processing device and data processing method for folding equipment |
| CN113534974A (en) | 2020-04-14 | 2021-10-22 | 北京小米移动软件有限公司 | Direction detection method and device, storage medium |
| US20210348911A1 (en) | 2020-05-05 | 2021-11-11 | Stmicroelectronics S.R.L. | Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product |
| CN113703519A (en) | 2020-05-21 | 2021-11-26 | 北京小米移动软件有限公司 | Method and device for determining posture of folding screen and storage medium |
| CN111766918A (en) | 2020-06-05 | 2020-10-13 | 北京小米移动软件有限公司 | Folding screen posture detection method and device, electronic device, and computer-readable storage medium |
| CN112099574A (en) | 2020-09-23 | 2020-12-18 | 北京小米移动软件有限公司 | Method, device, electronic device and storage medium for determining display state |
| US20230027806A1 (en) * | 2021-07-19 | 2023-01-26 | Invensense, Inc. | Method and system for determining hinge angle |
| US20240302867A1 (en) * | 2021-11-19 | 2024-09-12 | Honor Device Co., Ltd. | Hinge angle detection method and related device |
Non-Patent Citations (1)
| Title |
|---|
| Machine Translation of CN-101480061-B (Year: 2011). * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4228230A4 (en) | 2024-02-07 |
| EP4228230A1 (en) | 2023-08-16 |
| US20240125596A1 (en) | 2024-04-18 |
| EP4228230B1 (en) | 2024-12-18 |
| WO2023124177A1 (en) | 2023-07-06 |
| CN116366750A (en) | 2023-06-30 |
| CN116366750B (en) | 2024-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12345523B2 (en) | Method for determining foldable screen included angle and associated devices of method | |
| CN110555883B (en) | Repositioning method and device for camera attitude tracking process and storage medium | |
| US11189037B2 (en) | Repositioning method and apparatus in camera pose tracking process, device, and storage medium | |
| US11798190B2 (en) | Position and pose determining method, apparatus, smart device, and storage medium | |
| CN108734736B (en) | Camera posture tracking method, device, equipment and storage medium | |
| CN108615248B (en) | Method, device and equipment for relocating camera attitude tracking process and storage medium | |
| CN108876854B (en) | Method, device and equipment for relocating camera attitude tracking process and storage medium | |
| CN110784651B (en) | A kind of anti-shake method and electronic device | |
| CN108780577A (en) | Image processing method and device | |
| CN108682037B (en) | Method, device and equipment for relocating camera attitude tracking process and storage medium | |
| CN112087728A (en) | Method and device for acquiring Wi-Fi fingerprint spatial distribution and electronic equipment | |
| CN108230372B (en) | Image processing method, terminal and computer readable storage medium | |
| CN113033590B (en) | Image feature matching method, device, image processing equipment and storage medium | |
| CN115330936B (en) | Method, device and electronic equipment for synthesizing three-dimensional images | |
| CN114170453A (en) | Synchronized frame image determination method, device, computer device and readable storage medium | |
| CN111127539A (en) | Parallax determination method and device, computer equipment and storage medium | |
| HK40018673A (en) | Repositioning method for camera attitude tracking process, device and storage medium | |
| HK40018673B (en) | Repositioning method for camera attitude tracking process, device and storage medium | |
| HK40018729B (en) | Interface displaying method, device and storage medium | |
| CN116502382A (en) | Sensor data processing method, device, equipment and storage medium | |
| HK40018729A (en) | Interface displaying method, device and storage medium | |
| CN119027497A (en) | Method, device, equipment and readable storage medium for determining posture information | |
| CN116847057A (en) | Background removal method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: HONOR DEVICE CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, XIAOWU;LI, DANHONG;DI, HAOXUAN;AND OTHERS;REEL/FRAME:064034/0081 Effective date: 20230517 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |