Electronic device and method, apparatus, terminal and medium for controlling the same

By acquiring the acceleration of the movable shell and the flexible screen, calculating the linear and angular acceleration, and using feedback control of the roll motor, the problem of unsmooth push-pull operation of the roll-type flexible screen was solved, achieving smooth push-pull of the flexible screen and improving the user experience.

CN115776263BActive Publication Date: 2026-07-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2021-09-07
Publication Date
2026-07-10

Smart Images

  • Figure CN115776263B_ABST
    Figure CN115776263B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an electronic device and a control method, apparatus, terminal and medium thereof, the electronic device comprising a reel, a flexible screen, a reel motor, a movable housing and a fixed housing, the reel and the reel motor being arranged on the fixed housing side, the method comprising: obtaining a first acceleration of the movable housing movement and a second acceleration of the flexible screen movement from the fixed housing during the flexible screen movement; calculating a linear acceleration of the flexible screen movement according to the first acceleration and the second acceleration; calculating an angular acceleration of the reel motor driving the reel rotation according to the linear acceleration and a radius of the reel; and performing feedback control on the reel motor according to the angular acceleration to realize control on the flexible screen. Thus, the method of the present disclosure can accurately control the reel motor to realize smooth push-pull operation of the flexible screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic equipment technology, and in particular to an electronic device and its control method, apparatus, terminal and medium. Background Technology

[0002] Electronic devices like smartphones have evolved over the years, with screens becoming increasingly larger. Some smartphones even have screens approaching the size of tablets, making them very inconvenient to carry. This led to the development of rollable flexible screen phones, which can achieve larger screens without a folding structure, while maintaining the existing smartphone form factor. However, the current sliding operation of rollable flexible screens is not smooth.

[0003] Therefore, how to achieve smooth push-pull operation of rollable flexible screens is an urgent problem to be solved. Summary of the Invention

[0004] This disclosure provides an electronic device and its control method, apparatus, terminal, and medium to at least solve the problem of uneven push-pull operation in related technologies of rollable flexible screens. The technical solution of this disclosure is as follows:

[0005] According to a first aspect of the present disclosure, a control method for an electronic device is proposed. The electronic device includes a scroll, a flexible screen, a scroll motor, a movable housing, and a fixed housing. The scroll and the scroll motor are disposed on the fixed housing side. The method includes the following steps: during the movement of the flexible screen, acquiring a first acceleration of the movable housing and a second acceleration of the flexible screen moving from the fixed housing; calculating a linear acceleration of the flexible screen based on the first acceleration and the second acceleration; calculating an angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll; and performing feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen.

[0006] In one embodiment of this disclosure, the step of performing feedback control on the reel motor based on the angular acceleration includes: integrating the angular acceleration over time to obtain the rotation angle of the reel motor; and performing feedback control on the reel motor based on the angular acceleration and the rotation angle.

[0007] In another embodiment of this disclosure, the step of performing feedback control on the reel motor based on the angular acceleration includes: obtaining the rotational speed of the reel motor; calculating the angular velocity of the reel motor based on the rotational speed of the reel motor; and performing feedback control on the reel motor based on the angular acceleration and the angular velocity.

[0008] In another embodiment of this disclosure, the step of performing feedback control on the reel motor based on the angular acceleration includes: integrating the linear acceleration over time to obtain the relative moving speed of the movable housing and the fixed housing; integrating the relative moving speed over time to obtain the relative moving distance of the movable housing and the fixed housing; and performing feedback control on the reel motor based on the angular acceleration and the relative moving distance.

[0009] In another embodiment of this disclosure, the step of performing feedback control on the reel motor based on the angular acceleration includes: calculating the output power of the reel motor based on the angular acceleration; calculating the input power of the reel motor based on the current and voltage at the input terminal of the reel motor; calculating the operating efficiency of the reel motor based on the output power and the input power; and performing feedback control on the reel motor based on the operating efficiency.

[0010] In another embodiment of this disclosure, the step of feedback control of the reel motor based on the working efficiency includes: controlling the reel motor to stop working or reducing the output power when the working efficiency is lower than a preset working efficiency.

[0011] According to a second aspect of the present disclosure, a terminal is provided, comprising: a scroll, a flexible screen, a scroll motor, a movable housing, a fixed housing, a first accelerometer, a second accelerometer, and a processor; wherein the first accelerometer is disposed on the movable housing side and is used to measure a first acceleration of the movable housing during movement; the second accelerometer is disposed on the fixed housing side and is used to measure a second acceleration of the flexible screen moving from the fixed housing during movement of the flexible screen; the processor is connected to the first accelerometer, the second accelerometer, and the scroll motor respectively, and is used to perform the following steps: during the movement of the flexible screen, acquiring the first acceleration of the movable housing moving as measured by the first accelerometer and the second acceleration of the flexible screen moving from the fixed housing as measured by the second accelerometer; calculating the linear acceleration of the flexible screen moving based on the first acceleration and the second acceleration; calculating the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll; and performing feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen.

[0012] In one embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on the angular acceleration, it includes: integrating the angular acceleration over time to obtain the rotation angle of the reel motor; and performing feedback control of the reel motor based on the angular acceleration and the rotation angle.

[0013] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on the angular acceleration, it includes: acquiring the rotational speed of the reel motor; calculating the angular velocity of the reel motor based on the rotational speed of the reel motor; and performing feedback control of the reel motor based on the angular acceleration and the angular velocity.

[0014] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on the angular acceleration, it includes: integrating the linear acceleration over time to obtain the relative moving speed of the movable housing and the fixed housing; integrating the relative moving speed over time to obtain the relative moving distance of the movable housing and the fixed housing; and performing feedback control of the reel motor based on the angular acceleration and the relative moving distance.

[0015] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on the angular acceleration, it includes: calculating the output power of the reel motor based on the angular acceleration; calculating the input power of the reel motor based on the current and voltage at the input terminal of the reel motor; calculating the operating efficiency of the reel motor based on the output power and the input power; and performing feedback control of the reel motor based on the operating efficiency.

[0016] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor according to the working efficiency, it includes: when the working efficiency is lower than a preset working efficiency, controlling the reel motor to stop working or reducing the output power.

[0017] According to a third aspect of the present disclosure, a control device for an electronic device is provided. The electronic device includes a scroll, a flexible screen, a movable housing, and a fixed housing. The scroll and the scroll motor are disposed on the fixed housing side. The device includes: a first acquisition module, configured to acquire a first acceleration of the movable housing moving and a second acceleration of the flexible screen moving from the fixed housing during the movement of the flexible screen; a first calculation module, configured to calculate the linear acceleration of the flexible screen moving based on the first acceleration and the second acceleration; a second calculation module, configured to calculate the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll; and a control module, configured to perform feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen.

[0018] In one embodiment of this disclosure, the control module includes: a first integrator unit for integrating the angular acceleration over time to obtain the rotation angle of the reel motor; and a first control unit for performing feedback control on the reel motor based on the angular acceleration and the rotation angle.

[0019] In another embodiment of this disclosure, the control module includes: an acquisition unit for acquiring the rotational speed of the reel motor; a first calculation unit for calculating the angular velocity of the reel motor based on the rotational speed of the reel motor; and a second control unit for performing feedback control on the reel motor based on the angular acceleration and the angular velocity.

[0020] In another embodiment of this disclosure, the control module includes: a second integrator unit for integrating the linear acceleration over time to obtain the relative moving speed of the movable housing and the fixed housing; a third integrator unit for integrating the relative moving speed over time to obtain the relative moving distance of the movable housing and the fixed housing; and a third control unit for performing feedback control on the reel motor based on the angular acceleration and the relative moving distance.

[0021] In another embodiment of this disclosure, the control module includes: a second calculation unit for calculating the output power of the reel motor based on the angular acceleration; a third calculation unit for calculating the input power of the reel motor based on the current and voltage at the input terminal of the reel motor; a fourth calculation unit for calculating the working efficiency of the reel motor based on the output power and the input power; and a fourth control unit for performing feedback control on the reel motor based on the working efficiency.

[0022] In another embodiment of this disclosure, the fourth control unit is configured to: control the reel motor to stop working or reduce the output power when the working efficiency is lower than a preset working efficiency.

[0023] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the control method of the electronic device described above.

[0024] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the above-described control method of the electronic device.

[0025] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0026] Through the embodiments of this disclosure, during the movement of the flexible screen, a first acceleration of the movable housing and a second acceleration of the flexible screen moving from the fixed housing are acquired. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll motor driving the scroll to rotate is calculated based on the linear acceleration and the radius of the scroll. Feedback control is then applied to the scroll motor based on the angular acceleration to achieve control of the flexible screen. Therefore, the embodiments of this disclosure can precisely control the scroll motor to achieve smooth push-pull operation of the flexible screen.

[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0029] Figure 1 This is a flowchart of a control method for an electronic device according to an embodiment of the present disclosure;

[0030] Figure 2 This is a schematic diagram of the scroll movement of an electronic device according to an embodiment of the present disclosure;

[0031] Figure 3 This is a flowchart of a control method for an electronic device according to an embodiment of the present disclosure;

[0032] Figure 4 This is a flowchart of a control method for an electronic device according to another embodiment of the present disclosure;

[0033] Figure 5 This is a flowchart of a control method for an electronic device according to yet another embodiment of the present disclosure;

[0034] Figure 6 This is a flowchart of a control method for an electronic device according to yet another embodiment of the present disclosure;

[0035] Figure 7 This is a block diagram of a control device for an electronic device according to an embodiment of the present disclosure;

[0036] Figure 8 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0037] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0038] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0039] The following description, with reference to the accompanying drawings, outlines embodiments of an electronic device control method, a terminal, a control device for an electronic device, an electronic device, and a non-transitory computer-readable storage medium.

[0040] Figure 1 This is a flowchart of a control method for an electronic device according to an embodiment of the present disclosure.

[0041] In this embodiment, the electronic device can be a rollable flexible screen terminal. Combined with... Figure 2 The electronic device may include a scroll, a flexible screen, a scroll motor, a movable housing, and a fixed housing, with the scroll and scroll motor located on the fixed housing side. When the flexible screen unfolding function is activated, the scroll motor drives the scroll to rotate, controlling the flexible screen to stretch to the right from the fixed housing, at which point the movable housing gradually moves away from the fixed housing. Alternatively, when the flexible screen closing function is activated, the scroll motor drives the scroll to rotate, controlling the flexible screen to retract into the fixed housing, at which point the movable housing gradually moves closer to the fixed housing. It should be noted that the direction of scroll rotation when the flexible screen unfolding function is activated is opposite to the direction of scroll rotation when the flexible screen unfolding function is deactivated. For example, if one rotates clockwise, the other rotates counterclockwise. The specific direction can be selected according to the actual situation and is not specifically limited here.

[0042] It should also be noted that, Figure 2 The given electronic device has a rollable flexible screen that moves laterally. In practical applications, the electronic device's rollable flexible screen can be a rollable screen that moves laterally or a rollable flexible screen that moves vertically; there are no specific restrictions here.

[0043] like Figure 1 As shown, the control method for an electronic device according to an embodiment of this disclosure includes the following steps:

[0044] S101, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained.

[0045] In this embodiment, two acceleration sensors can be placed inside the flexible screen electronic device to obtain the first acceleration of the movable housing moving and the second acceleration of the flexible screen moving from the fixed housing during the movement (including stretching and contraction) of the flexible screen.

[0046] Combination Figure 2 The first accelerometer is placed on the body of the electronic device, such as on the movable housing, to obtain the first acceleration (acceleration β1) of the movable housing during the movement of the flexible screen; the second accelerometer moves with the flexible screen, for example, placed on one side of the fixed housing, specifically on the scroll, to obtain the second acceleration (acceleration β2) of the flexible screen moving from the fixed housing during the movement of the flexible screen.

[0047] S102, Calculate the linear acceleration of the flexible screen movement based on the first acceleration and the second acceleration.

[0048] In this embodiment, by calculating the absolute value of the difference between the second acceleration and the first acceleration, the relative acceleration of the movable shell relative to the fixed shell can be obtained, which in turn yields the linear acceleration β (β = |β2 - β1|) of the flexible screen.

[0049] S103, Calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel.

[0050] In this embodiment, the radius r of the rotating shaft is constant. Based on the relationship between the linear acceleration β and the radius r of the rotating shaft, the angular acceleration α of the rotating shaft can be calculated as: linear acceleration β / radius r of the rotating shaft.

[0051] S104 uses angular acceleration to provide feedback control to the roller motor in order to control the flexible screen.

[0052] In this embodiment, the angular acceleration of the scroll rotation can directly reflect the working status of the scroll motor. By detecting the angular acceleration of the scroll rotation, feedback control of the scroll motor can be realized, that is, a closed-loop feedback control is formed, which facilitates precise control of the acceleration and deceleration of the scroll motor, and realizes precise control of the push-pull speed and push-pull acceleration (second acceleration) of the flexible screen, so as to achieve smooth push-pull operation.

[0053] Therefore, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are acquired. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll wheel is calculated based on the linear acceleration and the radius of the scroll wheel. Feedback control is then applied to the scroll wheel motor based on the angular acceleration to achieve control of the flexible screen. Thus, this disclosed embodiment can precisely control the scroll wheel motor to achieve smooth push-pull operations on the flexible screen, thereby improving the user experience and making the electronic device more user-friendly.

[0054] Figure 3 This is a flowchart of a control method for an electronic device according to an embodiment of the present disclosure.

[0055] like Figure 3 As shown, the control method for an electronic device according to an embodiment of this disclosure includes the following steps:

[0056] S301, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained.

[0057] S302, Calculate the linear acceleration of the flexible screen movement based on the first acceleration and the second acceleration.

[0058] S303, calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel.

[0059] It should be noted that the explanations of steps S301-S303 can be found in the relevant parts of the above embodiments, and will not be repeated here.

[0060] S304, the angular acceleration is integrated over time to obtain the rotation angle of the reel motor.

[0061] In this embodiment, the rotation angle = ∫(angular acceleration α)dt.

[0062] S305 uses feedback control of the roller motor based on angular acceleration and rotation angle to control the flexible screen.

[0063] In this embodiment, the angular acceleration and rotation angle of the scroll motor can reflect its operating status. By detecting these parameters, feedback control of the scroll motor can be achieved, forming a closed-loop feedback control. This embodiment integrates the angular acceleration throughout the flexible screen's movement to obtain the scroll motor's rotation angle. Based on this angular acceleration and rotation angle, feedback control is applied to the scroll motor to control the flexible screen. Therefore, this embodiment facilitates more precise control of the scroll motor's acceleration and deceleration, enabling more accurate control of the flexible screen's push-pull speed and acceleration, resulting in smoother push-pull operations.

[0064] Therefore, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll motor driving the scroll to rotate is calculated based on the linear acceleration and the radius of the scroll. The angular acceleration is integrated over time to obtain the rotation angle of the scroll motor. Feedback control of the scroll motor is then performed based on the angular acceleration and rotation angle to achieve control of the flexible screen. Thus, this disclosed embodiment obtains the rotation angle of the scroll motor by integrating the angular acceleration throughout the entire movement of the flexible screen, and performs feedback control of the scroll motor based on the angular acceleration and rotation angle to achieve control of the flexible screen. This facilitates more precise control of the scroll motor's acceleration and deceleration, enabling more precise control of the push-pull speed and acceleration of the flexible screen, resulting in smoother push-pull operations, further improving the user experience, and making the electronic device more user-friendly.

[0065] Figure 4 This is a flowchart of a control method for an electronic device according to another embodiment of the present disclosure.

[0066] like Figure 4 As shown, the control method for an electronic device according to an embodiment of this disclosure includes the following steps:

[0067] S401, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained.

[0068] S402, calculate the linear acceleration of the flexible screen movement based on the first acceleration and the second acceleration.

[0069] S403, calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel.

[0070] It should be noted that the explanations of steps S401-S403 can be found in the relevant parts of the above embodiments, and will not be repeated here.

[0071] S404, obtain the rotational speed of the reel motor.

[0072] For example, the rotational speed N of the reel motor can be detected by a tachometer, where N can be revolutions per minute.

[0073] S405, calculate the angular velocity of the reel motor based on its rotational speed.

[0074] The angular velocity of the reel motor is 2Nπ / 60.

[0075] S406 uses angular acceleration and angular velocity to provide feedback control to the roll motor, thereby controlling the flexible screen.

[0076] In this embodiment, the angular acceleration and angular velocity of the scroll motor can reflect its operating status. By detecting these angular acceleration and angular velocity, feedback control of the scroll motor can be achieved, forming a closed-loop feedback control. This embodiment acquires the scroll motor's rotational speed in real time, calculates its angular velocity based on this speed, and performs feedback control on the scroll motor according to the angular acceleration and angular velocity to control the flexible screen. Therefore, this embodiment facilitates more precise control of the scroll motor's acceleration and deceleration, achieving more accurate control of the flexible screen's push-pull speed and acceleration, resulting in smoother push-pull operations.

[0077] Therefore, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are acquired. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll mechanism is calculated based on the linear acceleration and the radius of the scroll mechanism. The rotational speed of the scroll motor is acquired, and the angular velocity of the scroll motor is calculated based on the rotational speed. Feedback control is then applied to the scroll motor based on the angular acceleration and angular velocity to achieve control of the flexible screen. Thus, this disclosed embodiment achieves control of the flexible screen by acquiring the rotational speed of the scroll motor in real time, calculating the angular velocity based on the rotational speed, and applying feedback control to the scroll motor based on the angular acceleration and angular velocity. This facilitates more precise control of the scroll motor's acceleration and deceleration, enabling more precise control of the push-pull speed and acceleration of the flexible screen, resulting in smoother push-pull operations, further improving the user experience, and making the electronic device more user-friendly.

[0078] It should be noted that in other embodiments of this disclosure, the roller motor can also be controlled by feedback based on angular acceleration, rotation angle and angular velocity to achieve control of the flexible screen.

[0079] Figure 5 This is a flowchart of a control method for an electronic device according to yet another embodiment of the present disclosure.

[0080] like Figure 5 As shown, the control method for an electronic device according to an embodiment of this disclosure includes the following steps:

[0081] S501, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained.

[0082] S502, calculate the linear acceleration of the flexible screen movement based on the first acceleration and the second acceleration.

[0083] S503, calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel.

[0084] It should be noted that the explanations of steps S501-S503 can be found in the relevant parts of the above embodiments, and will not be repeated here.

[0085] S504, perform time integration on the linear acceleration to obtain the relative moving speed between the movable shell and the fixed shell.

[0086] Wherein, relative velocity = ∫(linear acceleration β)dt.

[0087] S505, perform time integration on the relative moving speed to obtain the relative moving distance between the movable shell and the fixed shell.

[0088] Wherein, the relative distance moved is equal to ∫(relative speed) dt.

[0089] S506 uses feedback control of the roll motor based on angular acceleration and relative movement distance to control the flexible screen.

[0090] In this embodiment, the angular velocity of the scroll mechanism reflects the operation of the scroll motor, and the relative movement distance between the movable and fixed housings reflects the displacement of the flexible screen of the electronic device. Feedback control of the scroll motor can be achieved by detecting the angular acceleration and relative movement distance of the scroll mechanism, thereby controlling the flexible screen. Specifically, when the relative movement distance between the movable and fixed housings reaches the preset movable distance of the flexible screen, the speed of the scroll motor is controlled to zero, i.e., the scroll motor stops working. When the relative movement distance between the movable and fixed housings does not reach the preset movable distance of the flexible screen, the scroll motor continues to work until the relative movement distance between the movable and fixed housings reaches the preset movable distance of the flexible screen.

[0091] Therefore, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll wheel is calculated based on the linear acceleration and the radius of the scroll wheel. The linear acceleration is integrated over time to obtain the relative speed between the movable and fixed housings. The relative speed is then integrated over time to obtain the relative distance between the movable and fixed housings. Feedback control is then applied to the scroll wheel motor based on the angular acceleration and the relative distance, thereby controlling the flexible screen. Thus, this disclosed embodiment, by calculating the relative distance between the movable and fixed housings during movement and applying feedback control to the scroll wheel motor based on the angular acceleration and the relative distance, facilitates more precise control of the scroll wheel motor's acceleration and deceleration. This results in more precise control of the flexible screen's push-pull speed and acceleration, leading to smoother push-pull operations, improved user experience, and a more user-friendly electronic device.

[0092] Figure 6 This is a flowchart of a control method for an electronic device according to yet another embodiment of the present disclosure.

[0093] like Figure 6 As shown, the control method for an electronic device according to an embodiment of this disclosure includes the following steps:

[0094] S601, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained.

[0095] S602, calculate the linear acceleration of the flexible screen movement based on the first acceleration and the second acceleration.

[0096] S603, calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel.

[0097] It should be noted that the explanations of steps S601-S603 can be found in the relevant parts of the above embodiments, and will not be repeated here.

[0098] S604, calculate the output power of the reel motor based on angular acceleration.

[0099] Since the output power P1 of the reel motor = torque × angular velocity, and torque = moment of inertia × angular acceleration, the output power P1 of the reel motor = moment of inertia × angular acceleration × angular velocity. Where, moment of inertia = mass of the reel × radius r of the reel. 2 / 2.

[0100] S605 calculates the input power of the reel motor based on the current and voltage at the input terminal of the reel motor.

[0101] For example, the current I at the input of the reel motor can be detected by a current detection circuit located at the input of the reel motor; the voltage U at the input of the reel motor can be detected by a voltage detection circuit located at the input of the reel motor. After obtaining the current I and voltage U at the input of the reel motor, the input power P2 can be calculated according to the formula P = UI.

[0102] S606 calculates the working efficiency of the reel motor based on the output power and input power.

[0103] The working efficiency of the reel motor is P1 / P2.

[0104] S607 uses feedback control of the roller motor based on work efficiency to achieve control of the flexible screen.

[0105] When the working efficiency is higher than the preset working efficiency, the roller motor is controlled to work normally; when the working efficiency is lower than the preset working efficiency, active protection measures can be taken, such as controlling the roller motor to stop working or reducing the output power. At the same time, the alarm device of the electronic device (such as alarm light and / or alarm player) can be controlled to sound an alarm to avoid the roller motor burning out due to stalling or other reasons, which would cause greater damage to the mobile phone.

[0106] Therefore, during the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are acquired. The linear acceleration of the flexible screen is calculated based on the first and second accelerations. The angular acceleration of the scroll wheel is calculated based on the linear acceleration and the radius of the scroll wheel. The output power of the scroll wheel motor is calculated based on the angular acceleration. The input power of the scroll wheel motor is calculated based on the current and voltage at its input terminals. The working efficiency of the scroll wheel motor is calculated based on the output power and input power. Feedback control is applied to the scroll wheel motor based on the working efficiency; for example, if the working efficiency is lower than a preset working efficiency, the scroll wheel motor is controlled to stop working or reduce its output power. Thus, this disclosed embodiment can precisely control the scroll wheel motor to prevent it from burning out due to stalling or other reasons, which could cause greater damage to the mobile phone.

[0107] Based on the above embodiments, this disclosure also proposes a terminal.

[0108] Combination Figure 2 The terminal of this embodiment includes: a scroll, a flexible screen, a scroll motor, a movable housing, a fixed housing, a first accelerometer, a second accelerometer, and a processor (not shown in the figure), with the scroll and scroll motor disposed on the fixed housing side.

[0109] The system includes a first accelerometer sensor located on the movable housing side to detect the first acceleration of the movable housing's movement. A second accelerometer sensor is also located on the movable housing side to detect the second acceleration of the flexible screen as it moves from the fixed housing during movement. A processor is connected to the first accelerometer sensor, the second accelerometer sensor, and the scroll motor to perform the following steps: during the movement of the flexible screen, acquiring the first acceleration of the movable housing detected by the first accelerometer sensor and the second acceleration of the flexible screen as it moves from the fixed housing detected by the second accelerometer sensor; calculating the linear acceleration of the flexible screen's movement based on the first and second accelerations; calculating the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll; and performing feedback control on the scroll motor based on the angular acceleration to control the flexible screen.

[0110] In one embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on angular acceleration, it includes: integrating the angular acceleration over time to obtain the rotation angle of the reel motor; and performing feedback control of the reel motor based on the angular acceleration and the rotation angle.

[0111] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on angular acceleration, it includes: acquiring the rotational speed of the reel motor; calculating the angular velocity of the reel motor based on the rotational speed of the reel motor; and performing feedback control of the reel motor based on the angular acceleration and the angular velocity.

[0112] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on angular acceleration, it includes: integrating the linear acceleration over time to obtain the relative moving speed of the movable housing and the fixed housing; integrating the relative moving speed over time to obtain the relative moving distance of the movable housing and the fixed housing; and performing feedback control of the reel motor based on the angular acceleration and the relative moving distance.

[0113] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on angular acceleration, it includes: calculating the output power of the reel motor based on angular acceleration; calculating the input power of the reel motor based on the current and voltage at the input terminal of the reel motor; calculating the operating efficiency of the reel motor based on the output power and the input power; and performing feedback control of the reel motor based on the operating efficiency.

[0114] In another embodiment of this disclosure, when the processor performs the step of feedback control of the reel motor based on the working efficiency, it includes: controlling the reel motor to stop working or reducing the output power when the working efficiency is lower than the preset working efficiency.

[0115] Regarding the terminal in the above embodiments, the specific manner in which the processor performs operations has been described in detail in the embodiments of the control method for the above electronic device, and will not be elaborated here.

[0116] According to the terminal of this disclosure embodiment, a first accelerometer is disposed on a movable housing to detect a first acceleration of the movable housing's movement, and a second accelerometer is disposed on one side of the movable flexible screen to detect a second acceleration of the flexible screen's movement from the fixed housing during the flexible screen's movement. A processor is connected to the first accelerometer, the second accelerometer, and a scroll motor to perform the following steps: during the flexible screen's movement, acquiring the first acceleration of the movable housing's movement detected by the first accelerometer and the second acceleration of the flexible screen's movement from the fixed housing detected by the second accelerometer; calculating the linear acceleration of the flexible screen's movement based on the first and second accelerations; calculating the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll; and performing feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen. Therefore, the terminal of this disclosure embodiment can precisely control the scroll motor to achieve smooth push-pull operation of the flexible screen.

[0117] Figure 7 This is a block diagram of a control device for an electronic device according to an embodiment of the present disclosure.

[0118] In this disclosure, reference is made to Figure 2 The electronic device can be a terminal, including a scroll, a flexible screen, a scroll motor, a movable housing and a fixed housing, with the scroll and scroll motor located on the fixed housing side.

[0119] like Figure 7 As shown, the control device 700 of the electronic device in this embodiment of the present disclosure includes: a first acquisition module 701, a first calculation module 702, a second calculation module 703 and a control module 704.

[0120] The first acquisition module 701 is used to acquire the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing during the movement of the flexible screen. The first calculation module 702 is used to calculate the linear acceleration of the flexible screen based on the first and second accelerations. The second calculation module 703 is used to calculate the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll. The control module 704 is used to perform feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen.

[0121] In one embodiment of this disclosure, the control module 704 includes a first integrator unit and a first control unit. The first integrator unit is used to integrate the angular acceleration over time to obtain the rotation angle of the reel motor. The first control unit is used to perform feedback control on the reel motor based on the angular acceleration and the rotation angle.

[0122] In another embodiment of this disclosure, the control module 704 includes: an acquisition unit, a first calculation unit, and a second control unit. The acquisition unit acquires the rotational speed of the reel motor. The first calculation unit calculates the angular velocity of the reel motor based on its rotational speed. The second control unit performs feedback control on the reel motor based on its angular acceleration and angular velocity.

[0123] In another embodiment of this disclosure, the control module 704 includes a second integrator, a third integrator, and a third control unit. The second integrator is used to integrate the linear acceleration over time to obtain the relative movement speed between the movable housing and the fixed housing. The third integrator is used to integrate the relative movement speed over time to obtain the relative movement distance between the movable housing and the fixed housing. The third control unit is used to perform feedback control on the reel motor based on the angular acceleration and the relative movement distance.

[0124] In another embodiment of this disclosure, the control module 704 includes: a second calculation unit, a third calculation unit, a fourth calculation unit, and a fourth control unit. The second calculation unit calculates the output power of the reel motor based on angular acceleration. The third calculation unit calculates the input power of the reel motor based on the current and voltage at its input terminals. The fourth calculation unit calculates the operating efficiency of the reel motor based on the output power and input power. The fourth control unit performs feedback control on the reel motor based on the operating efficiency. Specifically, the fourth control unit controls the reel motor to stop operating or reduce its output power when the operating efficiency is lower than a preset operating efficiency.

[0125] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments concerning the control method of the above-mentioned electronic device, and will not be elaborated upon here.

[0126] According to the control device of the electronic device of the present disclosure, during the movement of the flexible screen, a first acquisition module acquires a first acceleration of the movable housing moving and a second acceleration of the flexible screen moving from the fixed housing. A first calculation module calculates the linear acceleration of the flexible screen based on the first and second accelerations. A second calculation module calculates the angular acceleration of the scroll motor driving the scroll to rotate based on the linear acceleration and the radius of the scroll. A control module performs feedback control on the scroll motor based on the angular acceleration to achieve control of the flexible screen. Therefore, the disclosed device can precisely control the scroll motor to achieve smooth push-pull operation of the flexible screen.

[0127] To achieve the above objectives, this disclosure also proposes an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the above-described control method for the electronic device.

[0128] Figure 8 This is a block diagram illustrating an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, or other terminal.

[0129] Reference Figure 8 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 210, input / output (I / O) interface 812, sensor component 814, and communication component 816.

[0130] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0131] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0132] Power component 806 provides power to various components of electronic device 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.

[0133] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0134] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.

[0135] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0136] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0137] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0138] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the control method of the electronic device described above.

[0139] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to complete the control method of the electronic device. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0140] In an exemplary embodiment, a computer program product is also provided, which, when executed by the processor 820 of the electronic device 800, enables the electronic device 800 to perform the electronic device control method as described above.

[0141] It should be noted that the implementation process of the electronic device, non-transitory computer-readable storage medium and computer program product of the embodiments of this disclosure are explained in the foregoing description of the method of the embodiments of this disclosure, and will not be repeated here.

[0142] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0143] Through the embodiments of this disclosure, during the movement of the flexible screen, a first acceleration of the movable housing and a second acceleration of the flexible screen moving from the fixed housing are acquired. The linear acceleration of the flexible screen's movement is calculated based on the first and second accelerations. The angular acceleration of the scroll motor driving the scroll to rotate is calculated based on the linear acceleration and the radius of the scroll. Feedback control is then applied to the scroll motor based on the angular acceleration to achieve control of the flexible screen. Therefore, the embodiments of this disclosure can precisely control the scroll motor to achieve smooth push-pull operations on the flexible screen.

[0144] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0145] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A control method for an electronic device, characterized in that, The electronic device includes a scroll, a flexible screen, a scroll motor, a movable housing, and a fixed housing. The scroll and the scroll motor are disposed on the fixed housing side. The method includes the following steps: During the movement of the flexible screen, the first acceleration of the movable housing and the second acceleration of the flexible screen moving from the fixed housing are obtained; The linear acceleration of the flexible screen movement is calculated based on the absolute value of the difference between the first acceleration and the second acceleration. Calculate the angular acceleration by which the reel motor drives the reel to rotate, based on the linear acceleration and the radius of the reel. The roller motor is controlled by feedback based on the angular acceleration to control the flexible screen.

2. The control method for an electronic device as described in claim 1, characterized in that, The step of providing feedback control to the reel motor based on the angular acceleration includes: The rotation angle of the reel motor is obtained by integrating the angular acceleration over time. The reel motor is subjected to feedback control based on the angular acceleration and the rotation angle.

3. The control method for an electronic device as described in claim 1, characterized in that, The step of providing feedback control to the reel motor based on the angular acceleration includes: Obtain the rotational speed of the reel motor; Calculate the angular velocity of the reel motor based on its rotational speed; The reel motor is subjected to feedback control based on the angular acceleration and the angular velocity.

4. The control method for an electronic device as described in claim 1, characterized in that, The step of providing feedback control to the reel motor based on the angular acceleration includes: The relative velocity between the movable housing and the fixed housing is obtained by integrating the linear acceleration over time. The relative moving speed is integrated over time to obtain the relative moving distance between the movable shell and the fixed shell; The reel motor is subjected to feedback control based on the angular acceleration and the relative movement distance.

5. The control method for an electronic device as described in claim 1, characterized in that, The step of providing feedback control to the reel motor based on the angular acceleration includes: Calculate the output power of the reel motor based on the angular acceleration; Calculate the input power of the reel motor based on the current and voltage at its input terminal; The working efficiency of the reel motor is calculated based on the output power and the input power. Based on the aforementioned work efficiency, feedback control is applied to the reel motor.

6. The control method for an electronic device as described in claim 5, characterized in that, The step of providing feedback control to the reel motor based on the work efficiency includes: If the working efficiency is lower than the preset working efficiency, the reel motor is controlled to stop working or the output power is reduced.

7. A terminal, characterized in that, include: The system comprises a scroll, a flexible screen, a scroll motor, a movable housing, a fixed housing, a first accelerometer, a second accelerometer, and a processor, wherein the scroll and the scroll motor are disposed on the fixed housing side; wherein... The first acceleration sensor is disposed on the movable housing side and is used to detect the first acceleration of the movable housing movement; The second acceleration sensor is disposed on the fixed housing side and is used to detect the second acceleration of the flexible screen moving from the fixed housing during the movement of the flexible screen; The processor is connected to the first accelerometer, the second accelerometer, and the reel motor, respectively, and is used to execute the control method of the electronic device as described in any one of claims 1-6.

8. A control device for an electronic device, characterized in that, The electronic device includes a scroll, a flexible screen, a scroll motor, a movable housing, and a fixed housing. The scroll and the scroll motor are disposed on the fixed housing side. The device includes: The first acquisition module is used to acquire the first acceleration of the movable housing moving and the second acceleration of the flexible screen moving from the fixed housing during the movement of the flexible screen. The first calculation module is used to calculate the linear acceleration of the flexible screen movement based on the absolute value of the difference between the first acceleration and the second acceleration. The second calculation module is used to calculate the angular acceleration of the reel motor driving the reel to rotate based on the linear acceleration and the radius of the reel; The control module is used to perform feedback control on the roller motor based on the angular acceleration, so as to control the flexible screen.

9. The control device for an electronic device as claimed in claim 8, characterized in that, The control module includes: The first integration unit is used to integrate the angular acceleration over time to obtain the rotation angle of the reel motor; The first control unit is used to perform feedback control on the reel motor based on the angular acceleration and the rotation angle.

10. The control device for an electronic device as claimed in claim 8, characterized in that, The control module includes: An acquisition unit is used to acquire the rotational speed of the reel motor; The first calculation unit is used to calculate the angular velocity of the reel motor based on the rotational speed of the reel motor. The second control unit is used to perform feedback control on the reel motor based on the angular acceleration and the angular velocity.

11. The control device for an electronic device as claimed in claim 8, characterized in that, The control module includes: The second integration unit is used to integrate the linear acceleration over time to obtain the relative moving speed between the movable shell and the fixed shell. The third integration unit is used to integrate the relative moving speed over time to obtain the relative moving distance between the movable shell and the fixed shell. The third control unit is used to perform feedback control on the reel motor based on the angular acceleration and the relative movement distance.

12. The control device for an electronic device as claimed in claim 8, characterized in that, The control module includes: The second calculation unit is used to calculate the output power of the reel motor based on the angular acceleration; The third calculation unit is used to calculate the input power of the reel motor based on the current and voltage at the input terminal of the reel motor. The fourth calculation unit is used to calculate the working efficiency of the reel motor based on the output power and the input power; The fourth control unit is used to perform feedback control on the reel motor based on the working efficiency.

13. The control device for the electronic device as claimed in claim 12, characterized in that, The fourth control unit is used for: If the working efficiency is lower than the preset working efficiency, the reel motor is controlled to stop working or the output power is reduced.

14. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the control method of the electronic device as described in any one of claims 1-6.

15. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the control method of the electronic device as described in any one of claims 1-6.