Drop protection methods, electronic devices, storage media and software products
By installing a rotor motor in electronic devices and using attitude information to adjust the device's attitude, the problem of vulnerable parts of electronic devices facing the ground when dropped is solved, thus improving drop reliability and device integrity.
Patent Information
- Application Number
- CN202510625878.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2026-11-17
AI Technical Summary
Electronic devices are damaged when they fall with their vulnerable parts facing the ground. Existing protective measures are of limited effectiveness and have poor drop reliability.
By installing a rotor motor in the electronic device, the target angle and rotation speed are calculated using attitude information and preset attitude. The rotor motor is then controlled to rotate and adjust the device's attitude to reduce the probability that vulnerable parts will face the ground.
It improves the reliability of electronic devices during drops, reduces the probability of damage to vulnerable parts, and enhances the structural integrity of the equipment after a drop.
Smart Images

Figure CN123123498A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a drop protection method, electronic device, storage medium, and program product. Background Technology
[0002] As electronic devices (such as mobile phones and tablets) become increasingly feature-rich, the scenarios in which users interact with them are also becoming more diverse. Consequently, the probability of electronic devices being dropped has increased significantly. Drop accidents often result in damage such as broken screens, broken glass back covers, and / or broken glass covering the camera module area (also known as decorative glass), thus affecting the functionality and user experience of the electronic device. Therefore, drop reliability has become one of the key indicators for the research, development, manufacturing, and quality control of electronic devices. Drop reliability can be understood as the ability of an electronic device to maintain its structural integrity and continue to function normally after a drop.
[0003] Currently, the drop reliability of electronic devices is often improved by adding additional protective components and / or strengthening the screen material. Protective components can include, for example, back covers and / or screen protectors. Strengthening the screen material can involve, for example, using tempered glass for the screen.
[0004] However, the orientation of an electronic device upon impact with the ground is uncertain. In a drop, the device may land with its vulnerable component facing down. This vulnerable component could be, for example, the screen, glass back cover, or DECO glass. When this happens, the vulnerable component experiences a greater impact. Therefore, even with protective components or reinforced materials, this vulnerable component remains easily damaged, resulting in relatively poor drop reliability for electronic devices. Summary of the Invention
[0005] This application provides a drop protection method, electronic device, storage medium, and program product that can control the posture of an electronic device when it is dropped to the ground, thereby reducing the probability that the electronic device will fall to the ground with its vulnerable parts facing the ground, and thus improving the drop reliability of the electronic device.
[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0007] In a first aspect, embodiments of this application provide a drop protection method applied to an electronic device, the electronic device including a rotor motor, the method comprising:
[0008] When an electronic device is in a drop condition, it acquires its spatial state information, including its attitude information, which indicates the device's orientation. Then, based on the spatial state information and a preset attitude, the electronic device calculates a target angle and a target rotational speed. Next, it controls the rotor motor to rotate according to the target angle and target rotational speed, causing the device's orientation to approach the preset attitude. Once the preset attitude is achieved, the electronic device stops the rotor motor.
[0009] In this embodiment, when the electronic device is in a drop state, the device changes its posture by controlling the rotation of a rotor motor. The required rotation angle and speed of the rotor motor are determined by the electronic device based on a preset posture and its current position. Therefore, when the electronic device controls the rotor motor to rotate according to this angle and speed, it can bring the electronic device's posture closer to the preset posture. In this way, the electronic device can control its posture when it falls to the ground, reducing the probability of it falling with its vulnerable parts facing the ground, thereby improving the drop reliability of the electronic device.
[0010] In one possible implementation, the spatial state information also includes location information, which is used to indicate the height of the electronic device above the ground.
[0011] In this implementation, the spatial state information can also include position information. That is, when calculating the target angle and target rotation speed, the height of the electronic device above the ground is also considered. Therefore, when the electronic device controls the rotor motor to rotate according to the target angle and target rotation speed, it can not only move the electronic device closer to the preset posture, but also move the electronic device closer to the preset posture within the height indicated by the position information. This allows the electronic device to reach the preset posture in time before or when it falls to the ground, thereby further reducing the probability that the electronic device will fall to the ground with its vulnerable parts facing the ground, thus further improving the drop reliability of the electronic device.
[0012] In one possible implementation, the spatial state information also includes landing time information, which is used to indicate the estimated time for the electronic device to fall to the ground.
[0013] In this implementation, the spatial state information can also include landing time information. That is, when calculating the target angle and target rotation speed, the estimated time for the electronic device to fall to the ground is also considered. Therefore, when the electronic device controls the rotor motor to rotate according to the target angle and target rotation speed, it can not only move the electronic device closer to the preset posture, but also move the electronic device closer to the preset posture within the estimated time for the electronic device to fall to the ground. This allows the electronic device to reach the preset posture in time before or when it falls to the ground, thereby further reducing the probability that the electronic device falls to the ground with its vulnerable parts facing the ground, thus further improving the drop reliability of the electronic device.
[0014] In one possible implementation, the electronic device acquires spatial state information of the electronic device, including: the electronic device calculates landing time information based on the acceleration, velocity and position information of the electronic device, and the position information is used to indicate the height of the electronic device above the ground.
[0015] In this implementation, the electronic device performs routine calculations based on its acceleration, velocity, and position information to obtain the landing time information. This simple calculation method improves computational efficiency and reduces computational latency, enabling the electronic device to reach a preset posture before or upon impact with the ground. Therefore, it further reduces the probability of the electronic device falling to the ground with its vulnerable parts facing directly towards the ground.
[0016] In one possible implementation, the preset posture includes an orientation where the angle between the bottom frame of the electronic device and the ground is less than a preset angle. The bottom frame is the part of the electronic device's frame furthest from the camera module, and typically includes a charging port and a speaker hole.
[0017] In this implementation, the angle between the bottom frame of the electronic device and the ground is small under a preset posture. Thus, when the electronic device falls to the ground in this preset posture, the impact force is primarily concentrated on the bottom frame, while vulnerable parts such as the screen, glass back cover, and the glass covering the camera module area (also known as DECO glass) experience less impact. Therefore, this effectively protects vulnerable parts of the electronic device upon impact, thereby improving its drop reliability.
[0018] In one possible implementation, the preset posture is as follows: the bottom frame of the electronic device is parallel to the ground.
[0019] In this implementation, the preset posture is that the bottom frame of the electronic device is parallel to the ground. In this way, when the electronic device falls to the ground in the preset posture, the contact area between the bottom frame of the electronic device and the ground is maximized. Therefore, it can further buffer the impact of the ground on the electronic device when it falls to the ground, thereby further reducing the probability of damage to vulnerable parts such as DECO glass, screen and / or glass back cover of the electronic device.
[0020] In one possible implementation, the back cover of the electronic device includes a first part and a second part with a split design. The first part is equipped with a camera module, and the bottom frame is an integrated structure with the second part.
[0021] In this implementation, the back cover of the electronic device includes a first part and a second part with a split design. The first part is equipped with a camera module, while the bottom frame of the electronic device and the second part without a camera module are integrated into a single structure. In this way, when the electronic device falls to the ground in a preset posture, the second part can share more of the impact force on the bottom frame, thereby further reducing the impact force of the ground on vulnerable parts of the electronic device such as DECO glass, screen and / or glass back cover.
[0022] In one possible implementation, the rotor motor is located on the sub-board side of the electronic device.
[0023] It is understandable that the motherboard of an electronic device mainly integrates core computing, communication notification, power management, sensor hub, image processing, and other functions. There is a certain gap between the motherboard and the mid-frame of the electronic device. The sub-board of the electronic device mainly integrates interface relay, signal transmission, and auxiliary power supply functions. The sub-board is flush with the bottom mid-frame of the electronic device. Therefore, compared to placing the rotor motor on the motherboard side, in this embodiment, when the rotor motor is mounted on the sub-board side, the rotor motor can transmit vibrations more efficiently to the entire body through the mid-frame, thereby reducing energy loss.
[0024] In one possible implementation, after the electronic device controls the rotor motor to rotate according to the target angle and target speed, the method further includes: if the electronic device's attitude does not reach the preset attitude, the electronic device repeats the following steps until the electronic device's attitude reaches the preset attitude: the electronic device acquires the spatial state information of the electronic device; the electronic device calculates the target angle and target speed according to the spatial state information and the preset attitude; the electronic device controls the rotor motor to rotate according to the target angle and target speed, so that the attitude of the electronic device moves closer to the preset attitude.
[0025] In this implementation, after controlling the rotor motor to rotate according to the target angle and target speed, the electronic device's attitude changes accordingly, as do its position and landing time. The electronic device can continuously monitor whether its attitude has reached the preset attitude. If not, the electronic device repeats the steps of acquiring spatial state information and calculating the target angle and target speed to obtain target angles and speeds that better match the device's spatial state information. Thus, during the fall, the electronic device can update the rotor motor control multiple times based on the recalculated target angle and target speed. A single calculation of the target angle and target speed by the electronic device may contain errors. If the rotor motor is controlled with these inaccurate target angles and speeds, the rotation of the rotor motor may not allow the electronic device to reach the preset attitude in time upon landing. Therefore, by repeatedly updating the rotor motor control based on the recalculated target angle and target speed, the electronic device can compensate for potential errors in a single calculation, thereby increasing the probability of the electronic device landing in the preset attitude.
[0026] In one possible implementation, after the electronic device controls the rotor motor to rotate according to the target angle and target speed, the method further includes: if the electronic device's posture does not reach the preset posture, the electronic device continues to control the rotor motor to rotate.
[0027] In this implementation, after the electronic device controls the rotor motor to rotate according to the target angle and target speed, if the electronic device's posture has not reached the preset posture, the electronic device continues to control the rotor motor to rotate according to the previous target angle and target speed. This avoids recalculating the target angle and target speed, saving the electronic device's computational resources while still bringing it closer to the preset posture.
[0028] Secondly, embodiments of this application provide an electronic device, including: a rotor motor, a memory, and a processor, wherein the rotor motor, the memory, and the processor are coupled. The memory is used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, it causes the electronic device to perform the method as described in the first aspect and its possible implementations.
[0029] Thirdly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in the first aspect and its possible implementations.
[0030] Fourthly, embodiments of this application provide a chip system applied to an electronic device. The chip system includes one or more processors, which are used to invoke computer instructions to cause the electronic device to perform the methods described in the first aspect and their possible implementations.
[0031] Fifthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method as described in the first aspect and its possible implementations.
[0032] It is understood that the beneficial effects achieved by the electronic device described in the second aspect, the computer-readable storage medium described in the third aspect, the chip system described in the fourth aspect, and the computer program product described in the fifth aspect can be referred to the beneficial effects of the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description
[0033] Figure 1 A schematic diagram of a drop scenario for an electronic device provided in an embodiment of this application;
[0034] Figure 2 A schematic diagram of a preset posture of an electronic device provided in an embodiment of this application;
[0035] Figure 3 A schematic diagram illustrating the rotation angle of a rotor motor as provided in an embodiment of this application;
[0036] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0037] Figure 5 A schematic diagram illustrating the position of a rotor motor in an electronic device, as provided in an embodiment of this application;
[0038] Figure 6 A schematic flowchart illustrating a drop protection method provided in an embodiment of this application;
[0039] Figure 7 This is a flowchart illustrating a process for determining whether a mobile phone is in a drop state, as provided in an embodiment of this application.
[0040] Figure 8 This is a schematic diagram of the force generated by a rotor motor according to an embodiment of this application;
[0041] Figure 9 This application provides a schematic diagram illustrating the changes in the rotation angle and torque of a rotor motor in an embodiment of the present application.
[0042] Figure 10 A schematic diagram illustrating the direction of the force and torque provided in an embodiment of this application;
[0043] Figure 11 This is a schematic diagram illustrating a mobile phone drop effect provided in an embodiment of this application;
[0044] Figure 12 A schematic diagram of an integrated structure provided in an embodiment of this application;
[0045] Figure 13 This application provides a schematic diagram illustrating the changes in relevant forces, torque, and angles during a mobile phone drop.
[0046] Figure 14 This is a schematic diagram of the hardware structure of a drop protection device provided in an embodiment of this application. Detailed Implementation
[0047] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.
[0048] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner to facilitate understanding.
[0049] Electronic devices are susceptible to drop accidents during use. Drop accidents often result in damage such as cracked screens, broken glass back covers, and / or broken decorative glass around camera modules, affecting functionality and user experience, and increasing after-sales repair costs and product recall risks. Therefore, drop reliability is a key concern for users. Drop reliability can be understood as the ability of an electronic device to maintain structural integrity and continue functioning normally after a drop.
[0050] For example, taking a mobile phone as an electronic device, see [link to relevant documentation]. Figure 1 The damage caused by the aforementioned electronic devices due to drops is described. For example... Figure 1As shown, Image 101 can be a phone with its screen cracked after being dropped face-up (the crack is indicated by a cross "X" in the image). Image 102 can be a phone with its glass back cover cracked after being dropped face-up. Image 103 can be a phone with its glass back cover cracked after being dropped face-up, where the glass covering the camera module area (also known as decorative (DECO) glass) is broken.
[0051] Currently, manufacturers and / or users of electronic devices often take protective measures to improve the drop reliability of electronic devices. For example, manufacturers can strengthen the screen material of their electronic devices; users can add additional protective components. Strengthening the screen material can be done by using tempered glass for the screen; protective components can be, for example, a back cover and / or a screen protector.
[0052] However, in real-world scenarios, the orientation of electronic devices upon impact with the ground is highly random. Therefore, an electronic device might fall with its vulnerable parts facing the ground. For example... Figure 1 As shown, when electronic devices are dropped, the screen or glass back cover faces the ground. These vulnerable parts are subjected to significant impact. Therefore, even with protective components and / or reinforced materials on these vulnerable parts, they remain easily damaged, resulting in relatively poor drop reliability for electronic devices.
[0053] In view of this, this application provides a drop protection method. In this method, when an electronic device is in a drop state, the electronic device can calculate the required rotation angle and speed of its rotor motor. Thus, the electronic device can control the rotor motor to rotate according to this angle and speed. The required rotation angle and speed of the rotor motor are calculated by the electronic device based on a preset posture and its current posture at its location. Therefore, when the electronic device controls the rotor motor to rotate according to this angle and speed, the posture of the electronic device can be brought closer to the preset posture during the drop. This controls the posture of the electronic device upon impact with the ground, reducing the probability of the electronic device falling with its vulnerable parts facing the ground, thereby improving the drop reliability of the electronic device.
[0054] The preset posture can include the posture of the bottom frame of the electronic device closest to the ground. The bottom frame of the electronic device can be understood as the frame along the edge furthest from the camera module among the four edges of the electronic device. The posture of the bottom frame closest to the ground can be understood as the angle between the bottom frame and the ground being smaller than the angle between the vertical surface of the electronic device and the ground. The vertical surface of the electronic device is any surface adjacent to the bottom frame. For example, the screen, the back of the electronic device, or the side surface between the screen and the back of the electronic device. In other words, in the preset posture, the bottom frame of the electronic device can be parallel to the ground, or it can be at a certain angle to the ground, and this angle is smaller than the angle between the vertical surface of the electronic device and the ground. Thus, when the electronic device is dropped to the ground in the preset posture, the impact on the vertical surface is less than the impact on the bottom frame, thereby protecting vulnerable parts of the electronic device and improving its drop reliability.
[0055] For example, taking a mobile phone as an electronic device, see [link to relevant documentation]. Figure 2 The above-mentioned preset postures are explained. For example... Figure 2 As shown, the orientation of the mobile phone 200 is a preset orientation. In this preset orientation, the bottom frame 230 of the mobile phone 200 is closest to the ground and parallel to the ground. The bottom frame 230 of the mobile phone 200 is parallel to the ground, which means that the angle between the mobile phone 200 and the ground in the length direction is 90°.
[0056] Furthermore, the distance between the bottom mid-frame 230 and the DECO glass 210 on the phone 200 is greater than the distance between the top mid-frame 220 and the DECO glass 210. Therefore, compared to a drop with the top mid-frame 220 closest to the ground, in this embodiment, a drop with the bottom mid-frame 230 closest to the ground results in less impact on the DECO glass 210. This effectively protects the DECO glass 210 when the phone 200 is dropped. The DECO glass is the glass covering the camera module area; therefore, the distance between the bottom mid-frame 230 and the DECO glass 210 can be understood as the distance between the bottom mid-frame 230 and the camera module, and the distance between the top mid-frame 220 and the DECO glass 210 can also be understood as the distance between the top mid-frame 220 and the camera module.
[0057] It should be understood that, Figure 2This is merely an illustrative example of a preset posture. In actual scenarios, the bottom frame 230 of the phone 200 may also form a certain angle with the ground, and this angle is smaller than the angle between the vertical surface of the phone 200 and the ground.
[0058] In this embodiment, the rotation angle of the rotor motor (also referred to as the rotation angle of the eccentric rotor or the rotation angle of the eccentric mass block around its rotation center) can be understood as the angle through which the center of mass of the eccentric mass block in the rotor motor rotates relative to the reference axis. The rotational speed of the rotor motor can be used to characterize the speed of rotation of the rotor motor (or the speed of rotation of the eccentric rotor or the speed of rotation of the eccentric mass block around its rotation center). The reference axis can be a diameter axis pointing from a first position to a second position, where the first position is the location of the rotation center of the rotor motor, and the second position can be the position where the rotation angle of the rotor motor is 0.
[0059] For example, see Figure 3 The rotation angle of the aforementioned rotor motor is explained. For example... Figure 3 As shown, the eccentric mass block can rotate around the rotation center. The rotation axis of the rotor motor passes through the rotation center and is perpendicular to the rotation plane. The rotation plane is the plane containing the first position, the second position, and the third position. The third position is the position to which the center of mass of the eccentric mass block rotates. The angle θ that the center of mass of the eccentric mass block passes from the second position to the third position is the rotation angle of the rotor motor. It is understood that the ground in this embodiment can be the surface of other objects. For example, the object surface can be a tabletop or a cabinet surface, etc.
[0060] For example, the electronic device in this application embodiment can implement the drop protection method provided in this application embodiment. For example, the electronic device can be a mobile phone, tablet computer, or other portable handheld device.
[0061] The technical solutions provided in this application will be further described below using a mobile phone as an example of an electronic device. It should be understood that this application does not impose any limitations on the product form of the electronic device.
[0062] For example, Figure 4 A schematic diagram of the hardware structure of an electronic device according to an embodiment of this application is shown. Figure 4As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0063] The processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0064] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0065] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0066] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0067] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0068] Internal memory 121 can be used to store executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area.
[0069] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0070] The sensor module 180 may further include inertial sensors, which can be used to detect and measure data such as acceleration, tilt, impact, vibration, rotation, and multi-degree-of-freedom (DoF) motion of the electronic device 100. For example, the inertial sensors may include accelerometers (e.g., accelerometer sensor 180E) and angular velocity sensors (e.g., gyroscope sensor 180B), as well as single-axis, dual-axis, or triaxial combinations of accelerometers and / or angular velocity sensors, or inertial measurement units (IMUs), etc. The IMU may include accelerometer sensors, gyroscope sensors, and processing circuitry.
[0071] The gyroscope sensor 180B can detect the angular velocity of the electronic device 100 around three axes (i.e., the X-axis, Y-axis, and Z-axis). For example, the origin of the X-axis, Y-axis, and Z-axis can be the center of mass of the electronic device 100, the X-axis can be parallel to the width direction of the electronic device 100, the Y-axis can be parallel to the length direction of the electronic device 100, and the Z-axis can be perpendicular to the screen of the electronic device 100.
[0072] The accelerometer 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected.
[0073] In this context, the origin of the coordinate system for both the gyroscope sensor and the accelerometer sensor can serve as the measurement reference point for the sensor chip. For example, the measurement reference point of the sensor chip can be its geometric center.
[0074] In some embodiments, the accelerometer 180E can also be used to identify whether the electronic device 100 is in a drop state. For example, the accelerometer 180E can detect the acceleration of the electronic device 100, and then the processor 110 can determine whether the electronic device 100 is in a drop state based on the acceleration.
[0075] In some embodiments, the accelerometer 180E and / or the gyroscope 180B can be used to determine the attitude of the electronic device 100 during motion. For example, the accelerometer 180E and / or the gyroscope 180B send the collected sensor data to the processor 110, which can calculate the attitude of the electronic device 100 based on the sensor data. The sensor data collected by the accelerometer 180E may include the acceleration of the electronic device, and the sensor data collected by the gyroscope 180B may include the angular velocity of the electronic device.
[0076] In some embodiments, the IMU can directly output the attitude of the electronic device 100 based on the accelerometer, gyroscope, and calculation circuitry within the IMU. The IMU can then send the attitude of the electronic device to the processor 110. In this way, the processor 110 can directly obtain the attitude calculated by the IMU without needing to calculate the attitude of the electronic device, thus saving the processor 110's computing resources.
[0077] The attitude of the electronic device 100 can be represented by its pitch, roll, and yaw angles. The pitch angle can be the angle at which the electronic device rotates around the X-axis from its initial attitude; the roll angle can be the angle at which it rotates around the Y-axis from its initial attitude; and the yaw angle can be the angle at which it rotates around the Z-axis from its initial attitude. The origin of the X, Y, and Z axes can be the center of mass of the electronic device. The X-axis can be parallel to the width direction of the electronic device, the Y-axis can be parallel to the length direction, and the Z-axis can be perpendicular to the screen. The positive direction of the X-axis can be from the left side to the right side of the electronic device, the positive direction of the Y-axis can be from the bottom to the top, and the positive direction of the Z-axis can be from the back to the front. For example, the initial attitude can be the horizontal attitude of the electronic device. The horizontal attitude can be understood as the attitude in which the screen of the electronic device is parallel to the ground.
[0078] It is understood that the X-axis, Y-axis, and Z-axis, as well as the directions of the X-axis, Y-axis, and Z-axis in the embodiments of this application, are merely illustrative examples and do not constitute a limitation on the embodiments of this application.
[0079] In some embodiments, the processor 110 may calculate the attitude of the electronic device 100 based on the sensor data described above, including: the processor 110 calculates the pitch angle and roll angle based on acceleration, and the processor 110 calculates the yaw angle based on angular velocity.
[0080] In some embodiments, the processor 110 may calculate the attitude of the electronic device 100 based on the sensor data described above, including calculating the pitch angle, roll angle and yaw angle based on the angular velocity.
[0081] In some embodiments, the processor 110 may calculate the attitude of the electronic device 100 based on the sensor data described above, including calculating the pitch angle, roll angle and yaw angle based on acceleration and angular velocity.
[0082] In some embodiments, the processor 110 can determine the orientation of the electronic device 100 when it is in a drop state based on the angular velocity detected by the gyroscope sensor 180B and the acceleration detected by the accelerometer sensor 180E. Then, the processor 110 can calculate the required rotation angle and speed of the rotor motor based on this orientation and a preset orientation of the electronic device. The processor 110 can then generate control commands based on the required rotation angle and speed of the rotor motor. The drive circuit can output a voltage signal based on the control commands, which causes the rotor motor to rotate at the specified angle and speed. The force generated by the rotation of the rotor motor changes the orientation of the phone, thereby causing the electronic device to drop in a preset orientation.
[0083] The drive circuit can be integrated into the rotor motor, or into the power management chip in the electronic device 100, or into a separate drive chip in the electronic device 100. This application embodiment does not limit this.
[0084] Motor 191 can generate vibration. In this embodiment, motor 191 may include a rotor motor, and the rotor motor may include an eccentric mass block. When the eccentric mass block rotates around the rotation center of the rotor motor, the rotor motor can generate a force that can change the posture of the electronic device 100 when it is in a drop state.
[0085] For example, the location of a rotor motor in an electronic device can be seen in [reference needed]. Figure 5 . Figure 5 This is merely an illustrative example of the location of a rotor motor in an electronic device, and is not intended to be limited to real-world scenarios.
[0086] like Figure 5 As shown, the rotor motor 510 can be located on the bottom sub-board side of the electronic device 500. The mainboard of the electronic device mainly integrates core computing, communication notification, power management, sensor hub, image processing, and other functions. There is a certain gap between the mainboard and the mid-frame of the electronic device. The sub-board of the electronic device mainly integrates interface relay, signal transmission, and auxiliary power supply functions. The sub-board of the electronic device is in close contact with the bottom mid-frame of the electronic device. Therefore, compared to mounting the rotor motor on the mainboard side, when the rotor motor 510 is mounted on the sub-board side in this embodiment, the rotor motor 510 can transmit vibration to the entire body more efficiently through the mid-frame, thereby reducing energy loss.
[0087] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0088] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0089] The drop protection method provided in the embodiments of this application will now be described with reference to the accompanying drawings. The drop protection method in the embodiments of this application can be applied to [facilities such as...]. Figure 4 An electronic device with a hardware structure shown.
[0090] Taking a mobile phone as an example, for instance, Figure 6 This is a schematic flowchart illustrating a drop protection method provided in an embodiment of this application. Figure 6 As shown, the method may include S601-S606.
[0091] S601. Check if the phone has been dropped. If yes, proceed to S602; otherwise, proceed to S601.
[0092] In one possible implementation, the phone could determine whether it was in a fall based on the magnitude and direction of its acceleration.
[0093] For example, Figure 7 This is a schematic diagram illustrating a process for determining whether a mobile phone has been dropped, as provided in an embodiment of this application. Figure 7 As shown, the process may include steps S701-S704.
[0094] S701, The mobile phone obtains the magnitude and direction of the acceleration of the mobile phone.
[0095] In a possible implementation, the phone can obtain the magnitude and direction of its acceleration in real time, periodically, or on demand, so that the phone can use the magnitude and direction of the acceleration to determine whether the phone is in a fall.
[0096] The acquisition can be on demand, for example, when a first change is detected to be greater than a first preset change, and / or when a second change is detected to be greater than a second preset change. The first change is the change in the magnitude of the acceleration, and the second change is the change in the direction of the acceleration.
[0097] The magnitude and direction of the acceleration acquired by the mobile phone can be obtained from devices, apparatuses, or modules within the phone used to collect acceleration data. These devices, apparatuses, or modules include, but are not limited to, acceleration sensors.
[0098] S702. The mobile phone determines whether the angle between the direction of acceleration and the direction of gravitational acceleration is less than a first preset threshold. If yes, proceed to S703; otherwise, proceed to S701.
[0099] In this embodiment, when the mobile phone is dropped, the external force acting on it is primarily the Earth's gravity. Therefore, the phone's acceleration is close to the gravitational acceleration. This close proximity can be understood as the angle between the direction of the acceleration and the direction of gravitational acceleration being less than a first preset threshold, and the difference between the magnitude of the acceleration and the magnitude of gravitational acceleration being less than a second preset threshold. Therefore, if the angle between the direction of the acceleration and the direction of gravitational acceleration is less than the first preset threshold, it indicates that the phone's acceleration and gravitational acceleration may be close, and it is necessary to further determine whether the difference between the magnitude of the acceleration and the magnitude of gravitational acceleration is less than the second preset threshold to confirm whether the phone's acceleration and gravitational acceleration are indeed close. Therefore, the phone executes S703. If the angle between the direction of the acceleration and the direction of gravitational acceleration is greater than or equal to the first preset threshold, the phone can determine that the difference between the phone's acceleration and gravitational acceleration is significant, meaning the phone is not in a drop state. Therefore, the phone executes S701 again.
[0100] In this embodiment, when the angle between the direction of acceleration and the direction of gravitational acceleration is greater than or equal to a first preset threshold, it is not necessary to continue to determine whether the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is less than a second preset threshold. The mobile phone can determine that the difference between the acceleration of the mobile phone and the gravitational acceleration is large. Compared with the mobile phone simultaneously determining the magnitude and direction of acceleration, the computing resources of the electronic device are saved.
[0101] For example, a mobile phone can calculate the angle between the direction of acceleration and the direction of gravitational acceleration based on the law of cosines. This method of calculating the angle between the directions of acceleration and gravitational acceleration is merely an example and does not constitute a limitation on the embodiments of this application.
[0102] S703. The mobile phone determines whether the difference between the magnitude of the acceleration and the magnitude of the gravitational acceleration is less than a second preset threshold. If yes, proceed to S704; otherwise, proceed to S701.
[0103] The acceleration of a mobile phone includes both its magnitude and direction. Therefore, if the angle between the direction of acceleration and the direction of gravitational acceleration is less than a first preset threshold, the phone further determines whether the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is less than a second preset threshold, thus determining whether the acceleration and gravitational acceleration are close. If the angle between the direction of acceleration and the direction of gravitational acceleration is less than the first preset threshold, and the phone determines that the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is less than the second preset threshold, it indicates that the phone's acceleration and gravitational acceleration are relatively close, meaning the phone has already handled the drop condition. Therefore, the phone executes S704. If the angle between the direction of acceleration and the direction of gravitational acceleration is less than the first preset threshold, and the phone determines that the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is greater than or equal to the second preset threshold, it indicates that the phone's acceleration and gravitational acceleration differ significantly, meaning the phone is not in a drop condition. Therefore, the phone executes S701.
[0104] It should be understood that the execution order of steps S702 and S703 can be adjusted according to actual usage requirements, and they can also be executed in parallel. This application embodiment does not limit this. For example, the mobile phone can first determine whether the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is less than a second preset threshold. If the difference between the magnitude of acceleration and the magnitude of gravitational acceleration is less than the second preset threshold, the mobile phone then determines whether the angle between the direction of acceleration and the direction of gravitational acceleration is less than a first preset threshold. If the angle between the direction of acceleration and the direction of gravitational acceleration is less than the first preset threshold, the mobile phone executes S704.
[0105] S704, the phone is confirmed to have been dropped.
[0106] After determining that it has been dropped, the phone can obtain its spatial state information so that it can calculate the required rotation angle and speed for the rotor motor to turn. Therefore, the phone can execute S602.
[0107] S602. The mobile phone obtains the spatial status information of the mobile phone, which may include posture information.
[0108] The attitude information can indicate the phone's attitude. For example, with the phone's horizontal attitude as the initial attitude, the attitude information can include the phone's pitch angle, roll angle, and yaw angle, all of which are 0°. The horizontal attitude can be the phone's screen being parallel to the ground. When the phone's attitude changes to the point where the phone screen is perpendicular to the ground and the bottom of the phone is closest to the ground, the attitude information can include the phone's pitch angle being 90° and the phone's roll angle and yaw angle both being 0°.
[0109] In this embodiment, the mobile phone acquires attitude information to calculate the required rotation angle and speed of the rotor motor based on the preset attitude and the attitude information. Thus, when the mobile phone controls the rotor motor to rotate according to this angle and speed, the mobile phone's attitude can move closer to the preset attitude.
[0110] The embodiments of this application do not limit the method by which the mobile phone obtains posture information.
[0111] In one example, the phone can acquire angular velocity data from a gyroscope sensor. The phone can then use this angular velocity to calculate its pitch, roll, and yaw angles, thus obtaining attitude information. In other words, the phone uses only angular velocity, not acceleration, to calculate its attitude. Compared to calculating attitude using both acceleration and angular velocity, calculating attitude using only angular velocity has lower computational complexity, and therefore, is more efficient.
[0112] In another example, the phone can acquire acceleration from an accelerometer and angular velocity from a gyroscope. Then, the phone can use the acceleration and angular velocity to calculate its pitch, roll, and yaw angles, thus obtaining attitude information. In this way, the phone uses both acceleration and angular velocity to calculate its attitude; that is, the phone considers the influence of both acceleration and angular velocity on attitude calculation, thereby improving the accuracy of attitude calculation.
[0113] Optionally, spatial status information may also include location information. Location information can indicate the height of the phone's location above the ground.
[0114] In this embodiment, the spatial state information may also include position information. That is, when calculating the required angle and speed of the rotor motor, the height of the phone above the ground is also considered. Therefore, when the phone controls the rotor motor to rotate according to the required angle and speed, it can not only move the phone closer to the preset posture, but also move the phone closer to the preset posture within the height indicated by the position information. This allows the phone to reach the preset posture in time before or when it falls to the ground, thereby further reducing the probability of the phone falling to the ground with its vulnerable parts facing the ground, and further improving the drop reliability of electronic devices.
[0115] The implementation method for mobile phones to obtain location information is not limited in the embodiments of this application.
[0116] In one example, the phone may also include a ranging sensor, which can be used to measure the phone's height above the ground. The phone can acquire location information collected by a ranging time-of-flight sensor. This ranging sensor may, for example, include a time-of-flight sensor or an ultrasonic sensor.
[0117] In another example, the phone may include a detection flag that indicates whether this is the first time the phone is acquiring location information in the current drop state. If the detection flag indicates that this is the first time the phone is acquiring location information in the current drop state, the phone uses a pre-stored empirical value as the height indicated by the location information. If the detection flag indicates that this is not the first time the phone is acquiring location information in the current drop state, the phone determines the height indicated by the location information based on the distance the phone has already fallen and the aforementioned empirical value. For example, the phone can determine the height indicated by the location information as the difference between the aforementioned empirical value and the distance the phone has already fallen.
[0118] Optionally, the spatial status information may also include landing time information. Landing time information can be used to indicate the estimated time it will take for the phone to fall to the ground.
[0119] In this embodiment, the spatial state information may further include landing time information. That is, when calculating the required angle and speed of the rotor motor, the estimated time for the phone to fall to the ground is also considered. Therefore, when the phone controls the rotor motor to rotate according to the angle and speed, it can not only move the phone closer to the preset posture, but also move the phone closer to the preset posture within the estimated time for the phone to fall to the ground. This allows the phone to reach the preset posture in time before or when it falls to the ground, thereby further reducing the probability of the phone falling to the ground with its vulnerable parts facing the ground, and further improving the drop reliability of electronic devices.
[0120] The implementation method for obtaining landing time information by mobile phones is not limited in the embodiments of this application.
[0121] For example, a mobile phone can use its acceleration, velocity, and the aforementioned location information to calculate the duration of its fall. This calculation method is simple, helps improve computational efficiency, and reduces computational latency, thereby enabling the phone to reach a preset posture before or upon impact with the ground. Therefore, the probability of the phone falling to the ground with its vulnerable parts facing forward can be further reduced. The acceleration can be, for example, collected by an accelerometer, and the velocity can be, for example, collected by a speed sensor.
[0122] In this embodiment, when the mobile phone is in a drop state, the phone acquires spatial state information so that it can calculate the rotational speed and angle of the rotor motor based on this spatial state information. This rotational speed and angle can enable the phone to reach a preset posture at the moment of impact with the ground or before impact with the ground.
[0123] In this embodiment, the phone only begins to acquire spatial state information when it is detected that the phone is in a drop state, thus avoiding the processor acquiring current posture information when it does not need to use spatial state information, thereby saving the processor's computing resources.
[0124] S603. The mobile phone determines the required rotational speed and angle of the rotor motor based on the spatial status information of the mobile phone and the preset posture. The preset posture is the posture of the mobile phone when it falls to the ground. The preset posture can be the posture of the bottom frame of the mobile phone closest to the ground.
[0125] In this embodiment, the preset posture can be pre-set. The preset posture is the posture of the bottom frame of the phone being closest to the ground. On the one hand, since the bottom frame of the phone is farthest from the DECO glass, when the phone is dropped with the bottom frame closest to the ground, that is, when the bottom frame of the phone hits the ground first, the impact on the DECO glass is smaller, reducing the probability of the DECO glass breaking and also reducing the probability of a decrease in the phone's photo quality. On the other hand, the phone screen and the back cover are both on the side of the bottom frame of the phone. In other words, when the phone is dropped with the preset posture and the bottom frame of the phone hits the ground first, the phone screen or the back cover will not directly impact the ground. Therefore, the probability of the phone screen and / or the back cover breaking can be reduced, and the risk of the phone screen's display function and / or operability function failing can also be reduced.
[0126] It's important to note that the force generated by the rotor motor (also known as the force generated by the eccentric rotor) varies depending on the rotor motor's speed and / or angle. This force acts on the phone, altering its orientation. Therefore, when the phone calculates the required speed and angle of the rotor motor based on its preset orientation and current position, the force corresponding to those required speed and angle can guide the phone's orientation closer to the preset orientation. This allows the phone to control its orientation upon impact with the ground, reducing the probability of it falling with its vulnerable parts facing the ground, thus improving drop reliability.
[0127] Optionally, in a preset orientation, the bottom frame of the phone is also parallel to the ground. This increases the contact area between the bottom frame and the ground, further cushioning the impact of a drop and reducing the probability of damage to vulnerable parts such as the DECO glass, screen, and / or back cover.
[0128] S604: The mobile phone controls the rotation of the rotor motor based on the required speed and angle of the rotor motor. The force generated by the rotor motor acts on the mobile phone, causing the mobile phone's posture to change.
[0129] The required rotational speed and angle of the rotor motor are determined by the phone based on the preset posture and the phone's posture in its current position. Therefore, the force generated when the rotor motor rotates at this speed and angle can make the phone's posture move closer to the preset posture.
[0130] In one possible implementation, after determining the required rotational speed and angle of the rotor motor, the processor in the phone can generate control commands based on these speed and angle. The drive circuit in the phone can then output a voltage signal based on these control commands. The electromagnetic torque corresponding to this voltage signal causes the rotor motor to rotate at the specified angle and speed. The force generated by the rotor motor rotating at this angle and speed changes the phone's orientation, allowing it to be dropped in a preset posture.
[0131] In some embodiments, the force generated by the rotor motor changes the orientation of the phone. The components of the force generated by the rotor motor in the three axial directions can be applied to the phone separately, causing it to rotate and thus changing its orientation. When the phone changes its orientation, a rotational torque is generated.
[0132] For example, taking the line connecting the center of mass of the phone and the rotation center of the rotor motor as parallel to the length direction of the phone, see [reference needed]. Figure 8 The components of the aforementioned forces along the three axes and the process by which these components cause changes in the phone's attitude are described. Figure 8 In the coordinate system shown, the origin of the X, Y, and Z axes can be the centroid of the phone. The X-axis can be parallel to the width of the phone, the Y-axis can be parallel to the length of the phone, and the Z-axis can be perpendicular to the screen of the phone. The positive direction of the X-axis can be from the left side of the phone to the right side, the positive direction of the Y-axis can be from the bottom of the phone to the top of the phone, and the positive direction of the Z-axis can be from the back of the phone to the front of the phone.
[0133] like Figure 8 As shown, the coordinates of the phone's center of mass in the three-dimensional coordinate system are (x0, y0, z0), and the coordinates of the rotor motor's rotation center are (x0, y1, z0). The eccentric mass block of the rotor motor rotates around the rotation center. At this time, the rotation angle of the rotor motor (also called the rotation angle of the eccentric rotor) is θ. The rotor motor generates a force based on the rotation of the eccentric mass block around the rotation center (i.e., the force generated by the rotor motor in the above embodiment). The force generated by the rotor motor includes the normal inertial force and the tangential inertial force experienced by the eccentric mass block during rotation.
[0134] Among them, the normal inertial force and the tangential inertial force satisfy:
[0135]
[0136] Among them, Fn For normal inertial force, F τ is the tangential inertial force. m is the mass of the eccentric mass block. r is the radius of rotation of the eccentric mass block. Let θ be the first derivative of θ with respect to time. This can be understood as the angular velocity of the eccentric mass block during rotation. Let θ be the second derivative with respect to time. It can be understood as the angular acceleration of the eccentric mass block during rotation.
[0137] The components of the normal inertial force and the tangential inertial force in each axis direction in the three-dimensional coordinate system are the first component, the second component, and the third component, respectively. The first component can be the component of the force generated by the rotor motor in the X-axis direction, the second component can be the component of the force generated by the rotor motor in the Y-axis direction, and the third component can be the component of the force generated by the rotor motor in the Z-axis direction.
[0138] The first component, the second component, and the third component satisfy the following:
[0139] F X =F τ cosθ-F n sinθ
[0140] F Y =0,
[0141] F Z =F τ sinθ+F n cosθ.
[0142] Among them, F X For the first component, F Y For the second component, F Z This is the third component.
[0143] First component F X Second component F Y and the third component F Z These torques act on the phone respectively, generating torques about the X-axis, Y-axis, and / or Z-axis. The first component F X Second component F Y and the third component F Z The points of application when the force acts on the phone are both at the rotation center of the rotor motor (also known as the rotation center of the eccentric rotor). Therefore, the magnitudes of the force arms on the three axes are (0, y1-y0, 0). That is, the component of the distance from the point of application of the force to the phone's center of mass in the X-axis direction and the component of the distance in the Z-axis direction are both 0. Consequently, the rotational torque M around the Y-axis... YThe rotational torque M about the X-axis is 0. X =(y1-y0)F Z The rotational torque M about the Z-axis Z =-(y1-y0)F X .
[0144] For example, the following explanation uses the rotation of a mobile phone around the X-axis as an example to illustrate the direction of the forces and torques acting on the phone. Please refer to [link / reference]. Figure 9 ,exist Figure 9 In the diagram, the directions of the X, Y, and Z axes can be found in [reference needed]. Figure 8 The descriptions in the embodiments will not be repeated here.
[0145] like Figure 9 As shown, when a drop is detected, the phone's orientation is such that its back faces the ground and its width is parallel to the ground. The third component F of the force generated by the rotor motor's rotation... Z When an action is applied to the phone, and the perpendicular distance y1-y0 between the point of application and the X-axis is not zero, the phone can be rotated around the X-axis, causing the phone's orientation to approach a preset orientation. During this rotation, there is a rotational torque M of the phone around the X-axis. X The torque M X The perpendicular distance y1-y0 between the point of application and the X-axis and the third component F can be used. Z The cross product result, i.e., M X =(y1-y0)F Z Furthermore, based on the right-hand rule, the rotational torque M of this rotation about the X-axis can be determined. X The direction is the positive direction of the X-axis.
[0146] Similarly, the first component F of the force generated when the rotor motor rotates X When an action is applied to the phone, and the perpendicular distance y1-y0 between the point of application and the Z-axis is not zero, the phone can be rotated around the Z-axis, causing it to move closer to a preset posture. During this rotation, a rotational torque M exists. Z The torque M Z It can be the vertical distance y1-y0 and the first component F X The cross product result, i.e., M Z =-(y1-y0)F X Furthermore, based on the right-hand rule, the rotational torque M of this rotation about the Z-axis can be determined. Z The direction is the negative direction of the Z-axis.
[0147] For example, taking the rotation angle of the rotor motor as varying between -90° and 90° as an example, the change in the rotational torque corresponding to this angle will be explained.
[0148] like Figure 10 As shown in Figure 'a', the horizontal axis represents time in seconds (s), and the vertical axis represents the rotation angle of the rotor motor in degrees (°). The frequency of the rotor motor is 1 / 0.01 = 100 Hz, meaning its rotational speed is 6000 revolutions per minute (rpm). The rotation angle of the rotor motor repeatedly varies between -90° and 90°. The torque corresponding to this angle is as follows: Figure 10 As shown in b, Figure 10 As shown in figure b, the horizontal axis represents time in seconds (s), and the vertical axis represents the torque of the mobile phone in newton-meters (N·m). The torque M around the Y-axis... Y The rotational torque M about the X-axis is 0. X The rotational torque M, predominantly in the positive direction, about the Z-axis. Z The positive and negative poles alternate. That is, when the rotor motor is working, the phone rotates around the X-axis. As a result, the phone's orientation changes.
[0149] S605. The mobile phone determines whether its posture is a preset posture. If yes, proceed to S606; otherwise, proceed to S602.
[0150] For example, the mobile phone can acquire sensor data collected by the accelerometer and gyroscope in real time. After the phone's posture changes, the phone can recalculate its posture based on the sensor data and determine whether the recalculated posture is the preset posture.
[0151] If the phone determines that the recalculated posture is the preset posture, it means that the phone does not need to continue rotating. Therefore, the phone executes S606.
[0152] If the phone determines that the recalculated posture is not the preset posture, it means that the vulnerable parts of the phone are more likely to be damaged when it is dropped to the ground in the recalculated posture. Therefore, the phone needs to continue to move its posture closer to the preset posture. Thus, the phone executes S602.
[0153] In this embodiment, after controlling the rotor motor to rotate based on the required angle and speed, the phone's posture changes accordingly, as do its position and landing time. The phone can continuously detect whether its posture has reached the preset posture. If not, the phone repeats the steps of acquiring spatial state information and calculating the required angle and speed of the rotor motor to obtain an angle and speed that better match the phone's spatial state information. Thus, during the phone's fall, the phone can update the control of the rotor motor multiple times based on the recalculated angle and speed. A single calculation of the angle and speed by the phone may contain errors. If the rotor motor is controlled with these inaccurate angles and speeds, the rotation of the rotor motor may not allow the phone to reach the preset posture in time upon landing. Therefore, by repeatedly updating the control of the rotor motor based on the recalculated angle and speed, the phone compensates for potential errors in a single calculation, thereby increasing the probability of the phone landing in the preset posture.
[0154] Optionally, as mentioned above, the angle and rotational speed of the rotor motor are calculated by the phone based on a preset posture and the spatial state information of the phone's location. Therefore, before the rotor motor rotates to that angle, the phone's posture is likely not yet at the preset posture. Thus, the phone can determine whether its posture has reached the preset posture based on the frequency corresponding to the rotor motor's rotational speed. If the phone's posture has not reached the preset posture, the steps of acquiring spatial state information, calculating the required angle and rotational speed of the rotor motor, and controlling the rotor motor's rotation according to that angle and rotational speed are repeated. In other words, the phone can determine whether its posture has reached the preset posture each time the rotor motor rotates to the angle calculated by the phone. Before the rotor motor rotates to that angle, the phone can choose not to determine whether its posture has reached the preset posture, thereby saving the phone's computing resources. Simultaneously, it allows each calculated angle and rotational speed to fully play its role in bringing the phone's posture closer to the preset posture.
[0155] In some embodiments, the phone may also execute S601 if it determines that the recalculated posture is not the preset posture. If the phone determines that the recalculated posture is not the preset posture, the phone may have already landed. Therefore, the phone may execute S601 to determine if the phone is still in a falling state. If it determines that the phone is still in a falling state, the phone executes S602 to bring the phone's posture closer to the preset posture. If it determines that the phone is no longer in a falling state, the phone executes S606 to conserve the phone's power.
[0156] In some embodiments, if the mobile phone determines that the recalculated posture is not the preset posture, the mobile phone can continue to control the rotor motor to rotate.
[0157] In this embodiment, after the mobile phone controls the rotor motor to rotate according to the required angle and speed, if the mobile phone's posture has not reached the preset posture, the mobile phone continues to control the rotor motor to rotate according to the previous angle and speed. This avoids recalculating the angle and speed, saving the mobile phone's computing resources while still bringing the phone closer to the preset posture.
[0158] S606, the mobile phone controls the rotor motor to stop rotating.
[0159] In this embodiment, after determining that the mobile phone has reached a preset posture, the mobile phone can control the rotor motor to stop rotating. Then, the mobile phone continues to fall while maintaining the preset posture until it falls to the ground in the preset posture.
[0160] The following example assumes the phone's orientation at the time of the fall is parallel to the ground along its length. Figure 6 The process by which the rotor motor operates, causing the mobile phone's posture to change during a fall, is explained in the embodiment.
[0161] like Figure 11 As shown in Figure a, when the phone detects a drop, it can acquire spatial state information. At this time, the attitude information in the spatial state information indicates that the phone's length direction is parallel to the ground and the screen is facing away from the ground. Then, the phone can determine the required angle and speed of the rotor motor based on the spatial state information. Next, the phone controls the rotor motor to rotate based on this angle and speed. The force generated by the rotor motor's rotation causes the phone to rotate around its width, thus gradually bringing the phone's attitude closer to the preset attitude. Specifically, the rotation of the phone around its width direction is... Figure 9 In the corresponding embodiment, the mobile phone rotates around the X-axis. When the mobile phone detects that its posture has reached a preset posture, it controls the rotor motor to stop rotating, causing the mobile phone to maintain the preset posture and continue to fall towards the ground, thus causing the mobile phone to fall to the ground in the preset posture.
[0162] like Figure 11 As shown in b, when the phone detects that it is in a drop state, it can acquire spatial state information. At this time, the attitude information in the spatial state information indicates that the phone's orientation is such that its length direction is parallel to the ground, and the side of the phone including the power button 1100 is closest to the ground. Then, the phone can determine the required angle and speed of the rotor motor based on this spatial state information. Next, the phone controls the rotor motor to rotate based on this angle and speed. The force generated by the rotation of the rotor motor causes the phone to rotate around a direction perpendicular to the phone screen, making the phone's orientation gradually approach the preset orientation. When the phone detects that the phone's orientation has reached the preset orientation, the phone controls the rotor motor to stop rotating, so that the phone maintains the preset orientation and continues to fall towards the ground, thus causing the phone to fall to the ground in the preset orientation.
[0163] As mentioned above, the preset posture can be the posture in which the bottom frame of the phone is closest to the ground. In other words, when the phone is dropped to the ground in the preset posture, the bottom frame of the phone will be the first to touch the ground.
[0164] Furthermore, in some embodiments, the bottom frame of the phone and the lower half of the back cover can be a single integrated structure, making the part of the phone that first contacts the ground more robust. This further reduces the probability of damage to vulnerable parts such as the DECO glass, the phone screen, and / or the back cover, improving the phone's drop reliability. For example, such as... Figure 12 As shown, the bottom frame 1210 of the phone 1200 and the lower half 1220 of the phone's back cover are an integrated structure. The bottom frame 1210 is the frame on the edge furthest from the camera module among the four edges of the electronic device. Since the DECO glass covers the camera module area, the bottom frame 1210 can also be understood as the frame on the edge furthest from the DECO glass among the four edges of the electronic device. The lower half and upper half of the phone's back cover are separate designs, with the camera module located on the upper half of the back cover.
[0165] The following example illustrates the changes in the rotor motor's rotation angle, the force generated by the rotor motor, the phone's torque, and the phone's rotation angle as the phone falls from its initial position and lands in a preset posture.
[0166] For example, the startup time of the rotor motor is 0.02 seconds (s). The spatial state information of the phone during the drop includes: the phone falls from a height of 1.5 meters (m), the landing time is approximately 0.57 seconds, and the phone's orientation is that its length direction is parallel to the ground. Based on the above spatial state information, the rotor electromagnetic torque corresponding to the rotational speed and angle of the phone is 8e-5 N·m, and the rotational frequency of the rotor in the rotor motor is 100 Hz. The phone's orientation could be, for example,... Figure 11 As shown in figure 'a', this indicates the phone's posture when it detects that it has been dropped.
[0167] The simulation results of the above mobile phone drop process are as follows: Figure 13 As shown. Figure 13 As shown in Figure 'a', the horizontal axis represents time in seconds (s), and the vertical axis represents the rotation angle of the rotor motor in degrees (°). When the rotor motor starts, its rotation angle is -50°, gradually increasing. The phone can calculate the required rotation angle and speed of the rotor motor at each point in time. After approximately 0.2 seconds, the calculated rotation angle of the rotor motor becomes approximately 120°, and then remains stable until the phone falls to the ground.
[0168] With such Figure 13 As shown in Figure 'a', the force generated by the rotor motor changes accordingly with the change in angle 'a'. Figure 13 As shown in Figure b, the horizontal axis represents time (in seconds), and the vertical axis represents the force generated by the rotor motor (in Newtons). When the rotor motor starts, the rapid change in its rotation angle leads to instability in the force it generates. For example, the component of the force generated by the rotor motor in the X-axis direction is the first component F. X First increase it to 0.08N, then gradually decrease it. The component of the force generated by the rotor motor in the Z-axis direction is the third component F. Z It gradually increases from 0. After about 0.2 seconds, the first component F... X It stabilizes at around 0.04N, and the third component F Z It stabilizes at around 0.07N.
[0169] With such Figure 13 As shown in diagram b, the change in the force generated by the rotor motor causes a corresponding change in the phone's rotational torque. For example... Figure 13 As shown in Figure c, the horizontal axis represents time in seconds (s), and the vertical axis represents the rotational torque of the phone in N·m. When the rotor motor starts, the rotational torque M of the phone around the X-axis... X From -4×10 -3 The torque M of the phone rotating around the Z-axis gradually increases from N·m. Z From -4×10 -3 N·m initially decreases to -6 × 10⁻⁶ -3 N·m, then gradually increased. After about 0.2s, the rotational torque M of the phone rotating around the X-axis... X Stable at 5×10 -3 The rotational torque of the mobile phone about the Z-axis is approximately N·m. Z Stable at 3×10 -3 Approximately N·m. The rotational torque of the mobile phone about the Y-axis is M. Y It is 0.
[0170] based on Figure 13 The torque shown by c causes the phone to rotate at different angles around its axes, thus ensuring the phone reaches a preset posture before landing. For example... Figure 11 The preset posture shown by a. For example... Figure 13 As shown in d, the horizontal axis represents time (in seconds), and the vertical axis represents the angle of rotation of the phone around each axis (in degrees). The angle of rotation φ of the phone around the X-axis is... XThe angle gradually increases from 0 to 90°, indicating that during the drop, the phone's orientation changes from parallel to the ground along its length to a position where the bottom frame is closest to the ground and parallel to it, while the phone's length is perpendicular to the ground. This ensures the phone reaches a preset orientation upon landing, reducing the probability of damage to vulnerable parts and improving drop reliability. The angle φ representing the phone's rotation around the Y-axis... Y The angle φ of the phone's rotation around the Z-axis Z All are close to 0.
[0171] This application also provides a drop protection device. Figure 14 This is a schematic diagram of the hardware structure of a drop protection device provided in an embodiment of this application. Figure 14 As shown, the drop protection device may include one or more processors 1401, memory 1402 and communication interface 1403.
[0172] The memory 1402, communication interface 1403, and processor 1401 are coupled together. For example, the memory 1402, communication interface 1403, and processor 1401 can be coupled together via bus 1404.
[0173] The communication interface 1403 is used for data transmission with other devices. The memory 1402 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1401, cause the drop protection device to perform the relevant method steps described in the above-described method embodiments of this application.
[0174] The processor 1401 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The bus 1404 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 1404 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 14 The symbol is represented by only one line, but this does not mean that there is only one bus or one type of bus.
[0175] This application also provides a chip system including at least one processor and at least one interface circuit. The processor and the interface circuit are interconnected via lines. For example, the interface circuit can be used to receive signals from other devices (e.g., the memory of an electronic device). As another example, the interface circuit can be used to send signals to other devices (e.g., the processor). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can perform the steps in the above embodiments. Of course, the chip system may also include other discrete devices, and this application does not specifically limit this.
[0176] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiments.
[0177] This application also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps described in the above method embodiments.
[0178] The electronic devices, computer-readable storage media, or computer program products provided in this application are all used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0179] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0180] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0181] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0182] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0183] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0184] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A drop protection method, characterized in that, Applied to an electronic device, the electronic device including a rotor motor, the method includes: When the electronic device is in a drop state, the spatial state information of the electronic device is acquired, including the attitude information of the electronic device; the attitude information is used to indicate the attitude of the electronic device. Calculate the target angle and target rotation speed based on the spatial state information and preset attitude; The rotor motor is controlled to rotate according to the target angle and target speed, so that the posture of the electronic device moves closer to the preset posture; When the electronic device reaches the preset posture, the rotor motor is controlled to stop rotating.
2. The method according to claim 1, characterized in that, The spatial state information also includes location information, which is used to indicate the height of the electronic device above the ground.
3. The method according to claim 1 or 2, characterized in that, The spatial state information also includes landing time information, which is used to indicate the estimated time for the electronic device to fall to the ground.
4. The method according to claim 3, characterized in that, The step of obtaining the spatial state information of the electronic device includes: The landing time information is calculated based on the acceleration, velocity, and position information of the electronic device, wherein the position information is used to indicate the height of the electronic device above the ground.
5. The method according to any one of claims 1-4, characterized in that, The preset posture includes: the posture in which the angle between the bottom frame of the electronic device and the ground is less than a preset angle.
6. The method according to claim 5, characterized in that, The preset posture is specifically: the bottom frame of the electronic device is parallel to the ground.
7. The method according to claim 5 or 6, characterized in that, The back cover of the electronic device includes a first part and a second part with a split design. The first part is provided with a camera module, and the bottom frame and the second part are an integrated structure.
8. The method according to any one of claims 1-7, characterized in that, The rotor motor is located on the sub-board side of the electronic device.
9. The method according to any one of claims 1-8, characterized in that, After controlling the rotor motor to rotate according to the target angle and target speed, the method further includes: If the electronic device fails to reach the preset posture, repeat the following steps until the electronic device reaches the preset posture: Obtain the spatial state information of the electronic device; Calculate the target angle and target rotation speed based on the spatial state information and preset attitude; The rotor motor is controlled to rotate according to the target angle and target speed, so that the posture of the electronic device approaches the preset posture.
10. The method according to any one of claims 1-8, characterized in that, After controlling the rotor motor to rotate according to the target angle and target speed, the method further includes: If the electronic device fails to reach the preset posture, the rotor motor continues to rotate.
11. An electronic device, characterized in that, The electronic device includes a processor, a memory, and a rotor motor; the rotor motor, the processor, and the memory are coupled; the memory is used to store computer program code; the computer program code includes computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any one of claims 1-10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-10.
13. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more processors, the processors being configured to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1-10.
14. A computer program product, characterized in that, The computer program product includes instructions that, when the computer program product is run on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-10.
