Folding screen mobile phone angle measurement method based on assistance of intelligent wearable device
By combining the sensors of folding screen mobile phones and smart wearable devices, the opening and closing angle of folding screen mobile phones is detected and corrected, solving the problems of detection accuracy and sensor life in the prior art, and achieving high-precision angle detection.
Patent Information
- Application Number
- CN202411599124.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-14
AI Technical Summary
The existing folding screen mobile phone detection methods have life defects, accuracy and anti-interference problems, and additional sensors are required to achieve accurate detection.
By combining the Hall sensor, inertial sensor of the folding screen phone and the built-in inertial sensor of the smart wearable device, the state of the folding screen phone is judged and the angle is solved to obtain the opening and closing angle.
The angle detection and data correction of the folding device can be completed without the need for additional sensors on the phone, improving detection accuracy and reliability.
Smart Images

Figure CN119437031A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment, and in particular to a method for measuring the angle of a folding screen mobile phone assisted by a smart wearable device. Background Art
[0002] Foldable devices refer to mobile phones or foldable laptops with flexible screens and other foldable electronic devices. Taking foldable screen mobile phones as an example, when users use foldable screen mobile phones, the inner and outer screen displays need to be switched according to the folding state of the phone. For example, the inner screen displays when the phone is unfolded and the outer screen displays when the phone is closed, and display compensation at different angles. This requires a foldable device opening and closing angle detection method to detect the state and angle of the foldable device.
[0003] There are four main detection methods for existing folding screen mobile phones or folding devices, namely resistive angle detection, capacitive angle detection, magnetic field angle detection, and six-axis sensor angle detection; resistive angle detection has a lifespan defect and cannot meet the usage requirements of folding screen mobile phones; capacitive and magnetic field angle detection have accuracy and anti-interference problems, and other sensors are needed for auxiliary correction; the six-axis sensor angle detection method is relatively complicated, and additional sensors need to be added to existing folding screen mobile phones to complete accurate detection. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for measuring the angle of a folding screen mobile phone with the assistance of a smart wearable device, which can complete the angle detection and data correction of the folding device without adding additional sensors on the mobile phone.
[0005] The object of the present invention is achieved through the following technical solution: A method for measuring the angle of a folding screen mobile phone assisted by a smart wearable device, comprising the following steps:
[0006] S1. Wear the smart wearable device with inertial sensor on your wrist;
[0007] S2. Under the condition of holding the folding screen device, the state of the folding screen mobile phone is determined by combining the Hall sensor of the folding screen mobile phone, the inertial sensor of the folding screen mobile phone and the inertial sensor built into the smart wearable device, and when the angle measurement data corresponding to the state is valid, proceed to step S3;
[0008] S3. Calculate the angle to obtain the opening and closing angle of the folding screen mobile phone.
[0009] The beneficial effect of the present invention is that the present invention performs angle measurement of a folding screen mobile phone with the assistance of a smart wearable device, and can complete angle detection and data correction of the folding device without adding additional sensors on the mobile phone. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a flow chart of the method of the present invention;
[0011] Figure 2 Schematic diagram of a smart wearable device and a horizontally foldable screen mobile phone;
[0012] Figure 3 Schematic diagram of smart wearable devices and vertical folding screen mobile phones;
[0013] Figure 4 This is a special case diagram of smart wearable devices and vertical folding screen mobile phones;
[0014] Figure 5 Schematic diagram of the relationship between the actual measured angle and the angle of the smart wearable device. DETAILED DESCRIPTION
[0015] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.
[0016] The screen opening angle is the angle between the two folding screens. Figure 2 For example, the opening and closing angle is θ, and the value range of θ is [0, pi]. If the folding screen is folded outward, the value range is [pi, 2pi].
[0017] Figure 1 The method flow chart of the present invention is a folding screen angle calculation method based on a mobile phone inertial sensor, a mobile phone Hall sensor and an intelligent wearable device inertial sensor, comprising the following steps:
[0018] First, Figure 2 For example, this is a state of a horizontal folding screen mobile phone when the mobile phone is in use. The mobile phone is equipped with a Hall sensor to detect the opening and closing state of the folding screen mobile phone. In the figure, 11 is the left half of the screen. The screen area 11 does not contain an inertial sensor. The inertial sensor can at least measure acceleration and angular velocity. 12 is the right half of the screen. The screen area 12 contains an inertial sensor 121. The coordinate system conforms to the right-hand system. 111 is the inertial sensor of the smart wearable device. In this example, the Y0 axis is parallel to the arm, and the X0 axis is parallel to the tangent direction of the arm. The coordinate system conforms to the right-hand system. In actual use, for smart wearable devices, taking a watch as an example, the XOY plane is usually parallel to the watch display. Figure 2 For the sake of demonstration, the sensor coordinates are slightly moved. The actual algorithm does not affect the angle measurement. This is also one of the advantages of this method. There are no strict requirements on the wearer's watch wearing position.
[0019] The Euler angle can be measured using an inertial sensor. There is no limitation on the method of obtaining the Euler angle, and any method can be used.
[0020] State 1 and State 2: State 1 is as follows Figure 2 and Figure 3 The following are the usage states of different folding methods. Figure 3 In the figure, 21 is the lower half of the vertical folding screen, 22 is the upper half of the vertical folding screen, the mobile phone inertial sensor is located on screen 22, screen 21 has no sensor, 211 is the inertial sensor of the smart wearable device, and the coordinate system is explained in the same way as Figure 2 Explanation of inertial sensors in 111. Figure 2 and Figure 3 Both Figure 1 The corresponding state of state 1 of S140 in the flowchart has the following notable features: the folding screen has two screens, one of which is equipped with an inertial sensor, and the other is not equipped with an inertial sensor. The smart wearable device is equipped with an inertial sensor. The hand wearing the smart wearable device usually holds one side of the screen. At the same time, the screen where the inertial sensor of the folding screen mobile phone is located is not on the same screen as the screen held by the hand wearing the smart wearable device. Figure 2 For example, assuming that the hand wearing the smart device is the right hand, then the 121 sensor should be at the 11 screen. The core of this method is to use the original sensor of the mobile phone and the sensor of the watch to obtain the status of the two screens to solve the opening and closing angles. If they are at the same screen, for example Figure 4 As shown, 32 is one screen of the folding screen, 31 is another screen, 31 has a sensor 312, and the screen held by the hand wearing the watch is also 31, so there is no method to obtain the status on screen 32, and it is now in status 2, the data obtained is invalid, and no angle is output.
[0021] S1. Wear the smart wearable device with inertial sensor on your wrist;
[0022] S2. Under the condition of holding the folding screen device, the state of the folding screen mobile phone is determined by combining the Hall sensor of the folding screen mobile phone, the inertial sensor of the folding screen mobile phone and the inertial sensor built into the smart wearable device, and when the angle measurement data corresponding to the state is valid, proceed to step S3;
[0023] With the closed state as the starting state, the Hall sensor is used to determine whether the folding screen is open or closed, and the opening threshold angle is defined, that is, the angle at which the Hall sensor determines that the screen is in the open state. In this embodiment, 15° is used as the opening threshold angle, that is, when the Hall sensor detects that the screen is in the open state, the current opening angle is 15°. The rotation angle of the smart wearable device around the Y axis is recorded as β01, and the rotation angle of the X axis measured by the mobile phone sensor is recorded as β1. In the default initial state, the Z axis is perpendicular to the ground, and β01 and β1 are both 0 degrees. If the difference between the two is greater than α0 (15°) in the closed state, it is recorded as state 2. At the same time, if the difference between the two is less than α1 (2°), it is recorded as state 2. Figure 4The corresponding state, that is, the screen state obtained by the two sensors is the same plane, is also recorded as state 2. In addition, if the difference is between α1 (2°) and α0 (15°), it is in state 1.
[0024] When the phone is in state 2, there are two situations. The first is that the angle is greater than the opening threshold. At this time, the folding screen is in a closed state, only the outer screen of the folding screen is used, or it is in motion.
[0025] The second type is less than the difference threshold, that is, the smart wearable device and the folding screen device record the same screen, such as Figure 4 As shown, at this time, the mobile phone sensor 312 and the wristband sensor 311 are both used to record the screen 31. The data measured in this state is invalid, and it returns to the starting state and re-judges the state.
[0026] Therefore, the specific process is:
[0027] S201. Assume that the coordinate system of the inertial sensor of the smart wearable device and the inertial sensor of the folding screen mobile phone conforms to the right-hand system:
[0028] The coordinate system of the inertial sensor of the smart wearable device is the carrier coordinate system o-X0Y0Z0. In the initial state, the X0oY0 plane of the coordinate system is parallel to the screen of the smart wearable device, the Y0 axis is parallel to the arm, and the Z0 axis points to the ground.
[0029] The coordinate system of the inertial sensor of the foldable screen mobile phone is the carrier coordinate system o-X1Y1 Z1. In the initial state, the X1 axis of the coordinate system is parallel to the rotation axis of the foldable screen mobile phone, the X1oY1 plane is parallel to the screen of the foldable screen mobile phone, and the Z1 axis points to the ground;
[0030] S202. Starting with the foldable screen mobile phone being completely closed, the foldable screen mobile phone is gradually opened, the inertial sensor of the smart wearable device detects the rotation angle around the Y0 axis, recorded as β01, and the inertial sensor of the mobile phone detects the rotation angle around the X1 axis, recorded as β1. In the initial state, β01 and β1 are both 0;
[0031] The Hall sensor of the foldable screen mobile phone, the inertial sensor of the foldable screen mobile phone and the inertial sensor of the smart wearable device are used to output the detection result every t seconds. When the Hall sensor outputs 1 for the first time, the detection result output by the inertial sensor of the foldable screen mobile phone and the inertial sensor of the smart wearable device is taken for judgment:
[0032] If the difference between β01 and β1 is greater than 15° or less than 2°, it is recorded as state 2, the angle measurement data is invalid, and the foldable mobile phone is completely closed and returns to step S102 to re-measure;
[0033] If the difference between β01 and β1 is not less than 2° and not greater than 15°, it is considered as state 1, the angle measurement data is valid, and the process goes to step S3.
[0034] S3. Calculate the angle to obtain the opening and closing angle of the folding screen mobile phone.
[0035] Smart wearable device sensors ( Figure 2 111) The angle measured is β01, the actual angle is β0, and the angle measured by the mobile phone sensor is β1, where β1 is the inertial sensor in the carrier coordinate system 1 ( Figure 2 121) The measured rotation angle is Figure 2 The screen surface of the 12 screen is always parallel to the X1OY1 plane in the carrier coordinate system 1, so it can directly reflect Figure 2 The rotation angle of the screen in 12, and the screen rotation angle is consistent with the measured angle;
[0036] Where β01 is the inertial sensor in the carrier coordinate system 0 ( Figure 2 111), the rotation angle can be indirectly measured Figure 2 11 is the rotation angle of the screen; β02 is the inertial sensor in the carrier coordinate system 0 ( Figure 3 211), the rotation angle can be indirectly measured Figure 3 12Screen rotation angle; smart wearable device sensor ( Figure 2 111 or Figure 3211) to measure the angle and Figure 2 11 screen or Figure 3 21 The screen rotation angle has a certain ratio relationship but is not the same, so it is necessary to measure and calculate it with the help of external angle measurement tools according to different folding devices; β0 is a description of Figure 2 11 screen or Figure 3 21The actual rotation angle of the screen is measured by Figure 2 11 screen or Figure 3 21 Auxiliary measuring equipment is placed on the screen, which can measure the rotation angle and directly reflect the Figure 2 12 screens or Figure 3 21 The rotation angle of the screen. In the initial state of the device coordinate system, the Z axis is perpendicular to the ground, and the initial rotation angle is 0°. In the closed state, the three axes are parallel to Figure 2 Sensor 121 three-axis;
[0037] The step S3 comprises:
[0038] S301. When the rotation direction of the smart wearable device is consistent with or inconsistent with the rotation direction of the screen, respectively determine the compensation coefficient:
[0039] (1) Figure 2As shown in the figure, if the smart wearable device rotates outward and the screen rotates outward, the two directions are consistent. Since the wrist rotation angle is different from the actual screen rotation angle, a compensation coefficient is required. The output angle β01′ of the inertial sensor of the smart wearable device is measured, and the screen rotation angle is actually tested, which is recorded as β0′;
[0040] The actual test screen rotation angle is as follows Figure 5 As shown, 41 in the figure is any device that can measure angles (the figure shows an electronic digital protractor, but in fact any angle measuring device can be used, and manual measuring tools can also be used for direct measurement), 42 is a folding screen mobile phone, 411 is the opening and closing angle of 412 measured and displayed by the device that can measure angles, and 421 is the opening and closing angle of the folding screen mobile phone without an inertial sensor from state one to state two, wherein the angle displayed by 411 is β0′.
[0041] Then calculate the compensation coefficient k1 = β0′ / β01′;
[0042] (2) Repeat step (1) multiple times, calculate the average value, and obtain the final compensation coefficient, which is recorded as k1′;
[0043] (3) Figure 3 As shown, when the smart wearable device rotates inward, the screen rotates outward, and the two directions are opposite. Since the wrist rotation angle is different from the actual screen rotation angle, a compensation coefficient is required. The output angle β01″ of the inertial sensor of the smart wearable device is measured, and the screen rotation angle is actually tested, which is recorded as β0″;
[0044] Then calculate the compensation coefficient k2 = β0″ / (-β01″), where the negative number is used to distinguish the direction;
[0045] (4) Repeat step (3) multiple times, calculate the average value, and obtain the final compensation coefficient, which is recorded as k2′;
[0046] S302. Calculate the actual rotation angle β0 according to β01 measured in step S202:
[0047] β0=k*β01
[0048] If the smart wearable device rotates outward and the screen rotates outward, and the two directions are the same, then k=k1′; if the smart wearable device rotates inward and the screen rotates outward, and the two directions are opposite, then k=k2′;
[0049] S303. The final opening and closing angle θ is calculated as follows:
[0050] θ=β1-β0
[0051] At this point, the calculation of the opening and closing angles of the folding screen mobile phone is completed.
[0052] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the above embodiments, it is still possible for a person skilled in the art to modify the methods described in the above embodiments, such as changing the names of the methods, etc. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for measuring the angle of a folding screen mobile phone assisted by a smart wearable device, characterized in that: The following steps are involved: S1. Wear the smart wearable device with inertial sensor on your wrist; S2. Under the condition of holding the folding screen device, the state of the folding screen mobile phone is determined by combining the Hall sensor of the folding screen mobile phone, the inertial sensor of the folding screen mobile phone and the inertial sensor built into the smart wearable device, and when the angle measurement data corresponding to the state is valid, proceed to step S3; S3. Calculate the angle to obtain the opening and closing angle of the folding screen mobile phone.
2. According to claim 1, a folding screen mobile phone angle measurement method based on the assistance of a smart wearable device is characterized in that: In the step S2, the foldable screen mobile phone is taken as the starting state to be completely closed, and the opening threshold angle is defined; When the screen opening angle is greater than or equal to the opening threshold angle, the Hall sensor outputs 1, indicating that the foldable screen phone is in the open state; When the screen opening angle is less than the opening threshold angle, the Hall sensor outputs 0, indicating that the foldable screen phone is in a closed state.
3. According to claim 1, a folding screen mobile phone angle measurement method based on the assistance of a smart wearable device is characterized in that: The step S2 comprises: S201. Assume that the coordinate system of the inertial sensor of the smart wearable device and the inertial sensor of the folding screen mobile phone conforms to the right-hand system: The coordinate system of the inertial sensor of the smart wearable device is the carrier coordinate system o-X0Y0Z0. In the initial state, the X0oY0 plane of the coordinate system is parallel to the screen of the smart wearable device, the Y0 axis is parallel to the arm, and the Z0 axis points to the ground. The coordinate system of the inertial sensor of the foldable screen mobile phone is the carrier coordinate system o-X1Y1 Z1. In the initial state, the X1 axis of the coordinate system is parallel to the rotation axis of the foldable screen mobile phone, the X1oY1 plane is parallel to the screen of the foldable screen mobile phone, and the Z1 axis points to the ground; S202. Starting with the foldable screen mobile phone being completely closed, the foldable screen mobile phone is gradually opened, the inertial sensor of the smart wearable device detects the rotation angle around the Y0 axis, recorded as β01, and the inertial sensor of the mobile phone detects the rotation angle around the X1 axis, recorded as β1. In the initial state, β01 and β1 are both 0; The Hall sensor of the foldable screen mobile phone, the inertial sensor of the foldable screen mobile phone and the inertial sensor of the smart wearable device are used to output the detection result every t seconds. When the Hall sensor outputs 1 for the first time, the detection result output by the inertial sensor of the foldable screen mobile phone and the inertial sensor of the smart wearable device is taken for judgment: If the difference between β01 and β1 is greater than α0 or less than α1, it is recorded as state 2, the angle measurement data is invalid, and the foldable mobile phone is completely closed and then returns to step S102 to re-measure; If the difference between β01 and β1 is not less than α1 and not greater than α0, it is considered as state 1, the angle measurement data is valid, and the process goes to step S3; Among them, α0 is the preset upper limit of the angle threshold, and α1 is the predicted lower limit of the angle threshold.
4. According to claim 3, a method for measuring angles of a folding screen mobile phone assisted by a smart wearable device is characterized in that: In state 2, if the difference is greater than α0, the folding screen is in a closed state, only the outer screen of the folding screen is used, or it is in motion, so it is considered invalid; If the difference is less than α1, that is, the smart wearable device and the foldable screen mobile phone record the same screen, the data measured in this state is invalid, and the system returns to the starting state and re-judges the state.
5. According to claim 1, a method for measuring angles of a folding screen mobile phone assisted by a smart wearable device, characterized in that: The step S3 comprises: S301. When the rotation direction of the smart wearable device is consistent with or inconsistent with the rotation direction of the screen, respectively determine the compensation coefficient: (1) If the smart wearable device rotates outward and the screen rotates outward, the two directions are consistent. Since the wrist rotation angle is different from the actual screen rotation angle, a compensation coefficient is required. The output angle β01′ of the inertial sensor of the smart wearable device is measured, and the screen rotation angle is actually tested, which is recorded as β0′; Then calculate the compensation coefficient k1 = β0′ / β01′; (2) Repeat step (1) multiple times, calculate the average value, and obtain the final compensation coefficient, which is recorded as k1′; (3) When the smart wearable device rotates inward and the screen rotates outward, the two directions are opposite. Since the wrist rotation angle is different from the actual screen rotation angle, a compensation coefficient is required. The output angle β01″ of the inertial sensor of the smart wearable device is measured, and the screen rotation angle is actually tested, which is recorded as β0″; Then calculate the compensation coefficient k2 = β0″ / (-β01″), where the negative number is used to distinguish the direction; (4) Repeat step (3) multiple times, calculate the average value, and obtain the final compensation coefficient, which is recorded as k2′; S302. Calculate the actual rotation angle β0 according to β01 measured in step S202: β0=k*β01 If the smart wearable device rotates outward and the screen rotates outward, and the two directions are the same, then k=k1′; if the smart wearable device rotates inward and the screen rotates outward, and the two directions are opposite, then k=k2′; S303. The final opening and closing angle θ is calculated as follows: θ=β1-β0 At this point, the calculation of the opening and closing angles of the folding screen mobile phone is completed.