Driving device, control method thereof and electronic equipment

By introducing a closed-loop control system with optical receiving devices and analysis equipment into electronic devices, the problem of low control accuracy of DC motors is solved, achieving high-precision position control and compact equipment design.

CN121957142APending Publication Date: 2026-05-01HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-10-31
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The control precision of DC motors in existing electronic devices is low, which cannot meet the driving force requirements of thin and light devices.

Method used

The system employs a drive mechanism, including a DC motor, a moving component, a light receiver, and an analysis device. The light receiver acquires image information from the reference component in real time, and the analysis device enables closed-loop control, thereby improving control accuracy.

Benefits of technology

It achieves high-precision position control, improves the control accuracy of DC motors and the compactness of equipment, and facilitates manufacturing and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121957142A_ABST
    Figure CN121957142A_ABST
Patent Text Reader

Abstract

The invention provides a driving device, a control method thereof and electronic equipment, relates to the technical field of electronic products, and is used for solving the problem of how to improve the control precision of a direct current motor. The driving device comprises a reference piece, a direct current motor, a moving piece, a light receiving device and an analysis device. The reference member has a first surface. The moving part is in transmission connection with the output end of the direct-current motor, the direct-current motor drives the moving part to move relative to the reference part, and the moving direction of the moving part is parallel to or intersects with the first surface. The light receiving device is arranged on the moving part, the receiving end of the light receiving device faces the first surface, and the light receiving device is used for collecting image information of the first surface. And the analysis device is connected with the light receiving device and is used for determining the moving parameters of the moving part according to the image information collected by the light receiving device. The driving device can be used for providing driving force.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic product technology, and in particular to a driving device and its control method, and electronic equipment. Background Technology

[0002] Most electronic devices require mechanical movement to perform various functions, and motors can convert electrical energy into mechanical energy, enabling electronic devices to perform physical movements and achieve automated operation.

[0003] To achieve precise positioning, most electronic devices are equipped with stepper motors. However, as the requirements for thinner and lighter electronic devices become increasingly stringent, the driving force of small-sized stepper motors is no longer sufficient to meet the needs of these devices. To address this issue, electronic devices in related technologies utilize DC motors with greater driving force.

[0004] However, in related technologies, the control precision of DC motors in electronic devices is relatively low. Summary of the Invention

[0005] This application provides a drive device and its control method and electronic device to solve the problem of how to improve the control accuracy of a DC motor.

[0006] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0007] In a first aspect, a driving device is provided, including a reference member, a DC motor, a moving member, a light receiving device, and an analysis device. The reference member has a first surface. The moving member is drivenly connected to the output end of the DC motor, and the DC motor drives the moving member to move relative to the reference member. The moving direction of the moving member is parallel to or intersects the first surface. The light receiving device is disposed on the moving member, and the receiving end of the light receiving device faces the first surface. The light receiving device is used to acquire image information of the first surface. The analysis device is connected to the light receiving device and is used to determine the movement parameters of the moving member based on the image information acquired by the light receiving device.

[0008] In this way, by driving the moving part relative to the reference part with a DC motor, the light receiving device can acquire image information of the first surface in real time. This provides the necessary data for the analysis device, enabling rapid feedback and real-time monitoring. Combined with the image information acquired by the light receiving device, the analysis device can accurately determine the position of the moving part relative to the reference part, thereby controlling the operation of the DC motor. This enables closed-loop control of the DC motor, achieving high-precision position control and improving the control accuracy of the DC motor.

[0009] In one possible implementation of the first aspect, the driving device further includes a light emitting device disposed on the movable member, with its emitting end facing the first surface. The illumination range of the light emitting device on the first surface overlaps with the acquisition range of the light receiving device on the first surface. This allows the light emitting device to emit light from the first surface, ensuring that the light receiving device receives clear and high-contrast image information. This helps improve the quality of image acquisition, enabling the analysis device to process data more accurately.

[0010] In one possible implementation of the first aspect, the drive device further includes a moving rod, the extension direction of which coincides with the movement direction of the movable member relative to the reference member, and the moving rod is drively connected to the output end of a DC motor. The movable member is located on the moving rod, and the DC motor drives the moving rod to move the movable member along the extension direction of the moving rod. This drive device has a relatively compact structure, reducing complex transmission components. In some space-constrained equipment, this compact structure can save space, make the overall structural design more flexible, and facilitate maintenance and repair.

[0011] In one possible implementation of the first aspect, the movable component is fitted onto the moving rod, and a DC motor is used to drive the moving rod to rotate, thereby causing the movable component to move along the extension direction of the moving rod. This results in a simple drive device structure that is easy to manufacture and maintain.

[0012] In one possible implementation of the first aspect, the moving rod includes a lead screw, the extension direction of which coincides with the movement direction of the moving part relative to the reference part. The moving part includes a nut, threaded onto the lead screw. A DC motor is used to drive the lead screw to rotate, thereby moving the nut along the extension direction of the lead screw. Because the transmission between the lead screw and the nut is via a threaded engagement, this transmission method offers high precision. For every certain angle the lead screw rotates, the nut moves a precise distance along the axial direction of the lead screw, enabling precise positioning of the moving part to the millimeter or even micrometer level, suitable for applications requiring high positional accuracy.

[0013] In one possible implementation of the first aspect, the moving part has a first position. The drive device also includes a first sensor for detecting whether the moving part is in the first position. By setting the first sensor to detect whether the moving part is in the first position, the accurate starting position of the moving part can be ensured, thus obtaining more accurate movement parameters of the moving part, providing a reference for the control of the DC motor. If the moving part is detected not to be in the first position, the drive device can automatically adjust based on the information provided by the sensor. This intelligent correction function ensures that the device always maintains the predetermined position during operation, improving the accuracy and reliability of the drive device.

[0014] In one possible implementation of the first aspect, the movable member has a second position, and the second position and the first position are spaced apart along the moving direction of the movable member. The drive device further includes a second sensor for detecting whether the movable member is located at the second position. In this way, by setting the second sensor to detect whether the movable member is at the second position, the movement limit position of the movable member can be ensured, preventing the movable member from moving beyond the termination position and damaging the drive device.

[0015] In one possible implementation of the first aspect, the moving part includes a magnetic component. The first sensor and the second sensor are Hall effect sensors. The first sensor cooperates with the magnetic component to detect whether the moving part is located at a first position, and the second sensor cooperates with the magnetic component to detect whether the moving part is located at a second position. In this way, by setting the first and second sensors as Hall effect sensors, detection can be achieved by detecting changes in the magnetic field, eliminating the need for direct contact with the moving part, reducing wear, and extending the service life of both the sensors and the moving part. Furthermore, when used in conjunction with the magnetic component on the moving part, the Hall effect sensor can accurately determine the position of the moving part, thereby achieving high-precision position feedback in the control system and meeting stringent positioning requirements.

[0016] In one possible implementation of the first aspect, a ranging mark is provided on the first surface. This allows the ranging mark to provide a clear reference point for the light receiving device, enabling it to measure the distance to objects more accurately. Furthermore, the ranging mark allows the operator to more easily identify the measurement location and perform calibration when necessary, ensuring the accuracy and consistency of the measurement.

[0017] In one possible implementation of the first aspect, the ranging marker includes a color marker with a reflectivity different from that of the first surface. This allows the color markers, with their varying reflectivities, to create a clear contrast with the background of the first surface, improving the recognition capability of the light receiver. This makes it easier for the light receiver to detect the color markers, ensuring accurate recognition and consequently resulting in more accurate image information acquired by the light receiver.

[0018] In one possible implementation of the first aspect, the color markings include a plurality of first color markings, which are sequentially spaced along the moving direction of the moving member. This allows for a clear contrast between the color markings and the background of the first surface by setting color markings with different reflectivities, improving the recognition capability of the light receiving device. This makes it easier for the light receiving device to detect the color markings, ensuring accurate recognition and thus making the image information acquired by the light receiving device more accurate.

[0019] In one possible implementation of the first aspect, the color markings further include a plurality of second color markings, the reflectance of which differs from that of the plurality of first color markings. The plurality of second color markings and the plurality of first color markings are alternately arranged sequentially along the moving direction of the moving member. In this way, by alternately arranging the plurality of first color markings and the plurality of second color markings with different reflectances, a stronger signal contrast can be generated, making it easier for the light receiving device to detect and distinguish different types of markings, thereby improving recognition accuracy.

[0020] In one possible implementation of the first aspect, the ranging marker includes a shape marker. This shape marker provides a clear geometric reference for the light receiver, enabling more precise positioning and identification of the target object, thereby making the image information acquired by the light receiver more accurate.

[0021] In one possible implementation of the first aspect, the shape is marked as a protrusion or a recess. In this way, by setting the shape of the protrusion or recess, a physical contour can be provided, and the light receiving device can more reliably identify the target by detecting the reflection or obstruction of light, resulting in better detection performance compared to a planar surface.

[0022] In a second aspect, an electronic device is also provided, including a housing and at least one driving device as described in any of the above implementations, the driving device being connected to the housing.

[0023] Since the electronic device provided in this application includes a driving device, and the driving device is the driving device of any of the above technical solutions, both can solve the same problem and achieve the same effect.

[0024] In one possible implementation of the second aspect, the housing includes a first housing portion that forms a reference element for the drive device. Integrating the reference element with the housing simplifies the design, reduces the number of parts, and lowers manufacturing complexity and cost. By merging the reference element with the housing, the overall structure volume can be reduced, making the electronic device more compact and facilitating miniaturization and lightweight design.

[0025] In one possible implementation of the second aspect, the electronic device further includes a pusher and a flexible display screen. The pusher is housed within the housing and is connected to the output of a DC motor, which drives the pusher to move relative to the housing. The direction of movement of the pusher relative to the housing is a first direction, with a first side and a second side on either side of the pusher along the first direction. A portion of the flexible display screen is located on the first side and is partially fixed relative to the housing; another portion extends around the pusher along the front end of the first direction to the second side, and yet another portion is slidable relative to the housing along the first direction. Thus, the pusher can drive the flexible display screen to slide along the first direction, allowing the flexible display screen of the electronic device to unfold, enabling a large-screen display to provide users with richer information and a better user experience.

[0026] In one possible implementation of the second aspect, the housing includes a first housing and a second housing, which are rotatably connected to allow the electronic device to switch between an unfolded state and a folded state. One part of the device is disposed in the first housing, and another part is disposed in the second housing. A pusher is located within the second housing, and when the electronic device is in the unfolded state, the first direction is the direction in which the pusher moves away from the first housing. In this way, the electronic device can both extend and retract, and can also be folded, further increasing the area of ​​the flexible display screen, achieving large-screen display, and providing users with a better user experience.

[0027] In one possible implementation of the second aspect, the number of driving devices is multiple. This reduces the size of the driving devices and provides greater driving force for the electronic device.

[0028] Thirdly, a control method is also provided for controlling the driving device described in any implementation of the first aspect, comprising:

[0029] A moving component is driven by a DC motor to move relative to the first surface, and the direction of movement of the moving component is parallel to or intersects the first surface.

[0030] During the movement of the moving part, image information of multiple areas on the first surface is collected sequentially by a light receiving device, and the multiple areas are arranged sequentially along the moving direction of the moving part.

[0031] Based on image information from multiple regions, the movement parameters of the moving component are determined.

[0032] In this way, by comparing the image information at different times using the analysis device, the displacement parameters of the moving part between the two times can be obtained, thus providing a reference for controlling the operation of the DC motor.

[0033] In one possible implementation of the third aspect, the control method further includes:

[0034] The DC motor is controlled based on the moving parameters and theoretical parameters.

[0035] In this way, the analysis device can control the DC motor to both start and stop it. This enables closed-loop control of the DC motor, improving its accuracy.

[0036] In one possible implementation of the third aspect, the movement parameters include the rotational speed of the DC motor and the displacement speed of the moving part. Based on the movement parameters and theoretical parameters, the DC motor is controlled, including:

[0037] If the rotational speed is not within the preset rotational speed range, and / or if the displacement speed is not within the preset displacement speed range, the DC motor is controlled to stop running.

[0038] In this case, if the rotational speed is not within the preset rotational speed range (i.e., the rotational speed is too high or too low), or the displacement speed of the moving part is not within the preset displacement speed range (i.e., the displacement speed of the moving part is too high or too low), it may be due to a fault in the DC motor or a fault in the transmission connection between the DC motor and the moving part. At this time, the analysis device controls the DC motor to stop running to prevent more serious faults or problems from occurring.

[0039] In one possible implementation of the third aspect, the movement parameters include the theoretical displacement of the DC motor and the actual displacement of the moving part. Based on the movement parameters and the theoretical parameters, the DC motor is controlled, including:

[0040] When the rotational speed is within a preset rotational speed range and the displacement speed is within a preset displacement speed range, determine the displacement difference between the theoretical displacement of the DC motor and the actual displacement of the moving part.

[0041] The DC motor is controlled based on the displacement difference and the preset displacement difference.

[0042] In this way, if the rotational speed of the DC motor is within the preset rotational speed range, and the displacement speed of the moving part is within the preset displacement speed range, it indicates that both the DC motor and the moving part are operating normally. Thus, by monitoring the displacement difference in real time, the analysis device can promptly correct the operation of the DC motor, ensuring that the actual displacement is closer to the theoretical displacement, thereby improving the control accuracy of the DC motor.

[0043] In one possible implementation of the third aspect, the DC motor is controlled based on the displacement difference and a preset displacement difference, including:

[0044] If the displacement difference is greater than or equal to the preset displacement difference, the DC motor will be stopped.

[0045] Therefore, when the displacement difference is greater than or equal to the preset displacement difference, meaning the error in the displacement difference is relatively large, it may indicate an abnormality in the drive device, such as a fault in the transmission connection between the DC motor and the moving part, or excessive load. Controlling the DC motor to stop operation using the analysis device can avoid potential dangers, ensure the safety of operators and equipment, and thus improve the stability and reliability of the entire drive device.

[0046] In one possible implementation of the third aspect, the method also includes:

[0047] Generate and report alarm information. The alarm information is used to indicate that there is a fault in the drive unit.

[0048] The system can categorize alarm messages based on different fault conditions to alert users. For example, if the rotational speed of a DC motor is outside a preset range, a first fault message is generated to indicate a DC motor malfunction. Similarly, if the displacement speed of a moving component is outside a preset range, a second fault message is generated to indicate a drive unit malfunction.

[0049] In one possible implementation of the third aspect, the movable component has a second position, and the DC motor is controlled based on a displacement difference and a preset displacement difference, including:

[0050] If the displacement difference is less than the preset displacement difference and the moving part is in the second position, the DC motor is controlled to stop running.

[0051] If the displacement difference is less than the preset displacement difference and the position of the moving part is not in the second position, the DC motor is controlled to continue running.

[0052] The second position can be a preset termination position. When the displacement difference is less than the preset displacement difference, if the moving part has reached the second position, the analysis device controls the motor to stop to prevent potential collisions or overloads, protecting the mechanical structure and the safe operation of the DC motor. When the displacement difference is less than the preset displacement difference, if the moving part has not reached the second position, the analysis device controls the motor to continue running until the moving part reaches the second position, thus completing the operation of the electronic device.

[0053] In one possible implementation of the third aspect, the movable member has a first position, and a second position is spaced apart along the movement direction of the movable member. Before driving the movable member relative to the first surface by means of a DC motor, the control method further includes:

[0054] If a moving part is detected at the first position and no moving part is detected at the second position, the DC motor is controlled to drive the moving part to the second position.

[0055] In this way, by detecting the moving part at the first position but not at the second position, it can be ensured that the moving part is at the first position, i.e. the initial position. At this time, by controlling the DC motor to move the moving part to the second position through the analysis device, the actual displacement of the moving part can be consistent with the theoretical displacement of the DC motor, thus completing the driving operation of the driving device and ensuring the integrity and accuracy of the parameters.

[0056] In one possible implementation of the third aspect, the method further includes, prior to moving the movable element relative to the first surface by means of a DC motor:

[0057] If a moving part is detected at both the first and second positions, an alarm message is generated and reported, wherein the alarm message is used to indicate that there is a malfunction in the drive unit.

[0058] In this way, if a moving part is detected at both the first and second positions, indicating a clear error, an alarm message can be generated to inspect the drive unit and restore it to normal operation, thus preventing more serious errors from occurring.

[0059] In one possible implementation of the third aspect, the control method further includes, prior to moving the movable component relative to the first surface by means of a DC motor:

[0060] If no moving part is detected at the first position and no moving part is detected at the second position, the DC motor is controlled to drive the moving part to the first position.

[0061] In this case, if no moving part is detected at the first position and no moving part is detected at the second position, it indicates that the moving part is between the first and second positions. In order to ensure the accuracy of the measurement, the analysis device controls the DC motor drive to move the moving part to the first position, so that the actual displacement of the moving part is consistent with the theoretical displacement of the DC motor, thus completing the drive operation of the drive device and ensuring the integrity and accuracy of the parameters.

[0062] Fourthly, a computer storage medium is also provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in any of the implementations of the third aspect above.

[0063] Since the computer storage medium provided in this application includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device performs the method described in any of the implementations of the third aspect above, both can solve the same problem and achieve the same effect, which will not be elaborated here. Attached Figure Description

[0064] Figure 1 Perspective views of electronic devices in an unfolded state provided in some embodiments of this application;

[0065] Figure 2 for Figure 1 A partial exploded view of the electronic device shown.

[0066] Figure 3 for Figure 1 A schematic diagram of the housing and drive mechanism of the electronic device shown.

[0067] Figure 4 for Figure 1 The diagram shows the structure of the electronic device in its retracted state.

[0068] Figure 5 A cross-sectional structural schematic diagram of an electronic device provided in some embodiments of this application;

[0069] Figure 6 Perspective view of an electronic device in an unfolded state provided for other embodiments of this application;

[0070] Figure 7 for Figure 6 A partial exploded view of the electronic device shown.

[0071] Figure 8 This is a schematic diagram of the structure of a driving device provided in some embodiments of this application;

[0072] Figure 9 This is a schematic diagram of the structure of a light emitting device provided in some embodiments of this application;

[0073] Figure 10 Schematic diagrams of the structure of some ranging markers provided in some embodiments of this application;

[0074] Figure 11 A schematic diagram illustrating a control method provided in some embodiments of this application;

[0075] Figure 12 This is a schematic flowchart illustrating a control method provided in some embodiments of this application.

[0076] Figure label:

[0077] 100. Electronic devices;

[0078] 10. Shell; 11. First shell portion; 12. First shell; 13. Second shell;

[0079] 20. Drive unit; 21. Reference component; 211. First surface; 212. Distance measuring mark; 22. DC motor; 23. Moving component; 231. First position; 232. Second position; 24. Light receiving device; 25. Analysis device; 26. Light emitting device; 27. Motion rod; 28. First sensor; 29. ​​Second sensor;

[0080] 30. Pushing component; 31. First side; 32. Second side;

[0081] 40. Flexible display screen. Detailed Implementation

[0082] In the embodiments of this application, the terms "first," "second," "third," "fourth," "fifth," and "sixth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," "third," "fourth," "fifth," and "sixth" may explicitly or implicitly include one or more of that feature.

[0083] In embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0084] In the embodiments of this application, the term "transmission connection" refers to the fact that the movement of one component can be transmitted to the other component among two connected components. The connection method between the two components includes, but is not limited to, at least one of the following connection methods: rotational connection, sliding connection, gear meshing transmission connection, sprocket transmission connection, cam mechanism transmission connection, etc.

[0085] This application provides an electronic device 100, which can be user equipment (UE) or a terminal device, such as a portable Android device (PAD), a personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device, an in-vehicle device, a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, and other mobile or fixed terminals. The embodiment of this application does not specifically limit the form of the electronic device 100.

[0086] It should be noted that the electronic device 100 can be a device with a screen or a device without a screen, and this application does not impose any restrictions on this.

[0087] Please see Figure 1 and Figure 2 , Figure 1 This is a perspective view of the electronic device 100 provided in some embodiments of this application in its unfolded state. Figure 2 for Figure 1 This is a partially exploded structural diagram of the electronic device 100. This embodiment and the following embodiments illustrate the electronic device 100 as a handheld device with wireless communication capabilities, such as a mobile phone. The electronic device 100 is approximately rectangular in shape when unfolded. For ease of description in the following embodiments, an XYZ coordinate system is established for the electronic device 100 in its unfolded state, defining the length direction of the electronic device 100 as the X-axis, the width direction as the Y-axis, and the thickness direction as the Z-axis. It is understood that the coordinate system setting of the electronic device 100 can be flexibly set according to actual needs and is not specifically limited here. In other embodiments, the shape of the electronic device 100 may also be a square plate, a circular plate, an elliptical plate, etc.

[0088] Please see Figure 3 , Figure 3 for Figure 1 The diagram shows the structure of the housing 10 and the driving device 20 of the electronic device 100. The electronic device 100 includes the housing 10 and the driving device 20, and the driving device 20 is connected to the housing 10.

[0089] The housing 10 can be used to support the drive unit 20 and other components of the electronic device 100. The materials of the housing 10 include, but are not limited to, aluminum alloy, polycarbonate (PC), PC+glass fiber, ABS plastic (acrylonitrilebutadiene styrene plastic), graphite, ceramic, carbon fiber, stainless steel, etc. In some embodiments, the material of the housing 10 may be ceramic. This provides an elegant appearance and high strength, giving the electronic device 100 good scratch resistance and impact resistance.

[0090] The drive unit 20 is connected to the housing 10. In one possible implementation, the electronic device 100 can be a rollable screen phone, and the drive unit 20 is connected to the push member 30 inside the housing 10. The drive unit 20 drives the push member 30 to move so that the rollable screen phone can be opened or closed.

[0091] In another possible implementation, the electronic device 100 can be a pop-up camera phone, with the driving device 20 being driven to move the camera assembly up or down. In yet another possible implementation, the electronic device 100 can be a foldable phone, with the housing including a first housing 12 and a second housing 13 rotatably connected. The driving device 20 is driven to the first housing 12 and / or the second housing 13, and drives the first housing 12 and / or the second housing 13 to rotate, thereby opening or closing the foldable phone.

[0092] The embodiments described below are illustrated using an electronic device 100 as a scrollable screen mobile phone, and should not be considered as constituting a special limitation of this application.

[0093] It should be noted that the number of drive devices 20 can be one or more, and this application does not limit this; the specific number can be set according to the actual needs.

[0094] For example, see [link to relevant documentation] Figure 3 This application describes the application with two drive devices 20. This reduces the size of the drive devices 20 and provides greater driving force to the electronic device 100.

[0095] The electronic device 100 may include a flexible display screen 40, which is connected to the housing 10. The flexible display screen 40 is used to display images, videos, and other information. The flexible display screen 40 can be an organic light-emitting diode (OLED) screen, a quantum dot light-emitting diode (QLED) screen, a flexible liquid crystal display (LCD), electronic paper (E-paper), etc. The flexible display screen 40 has a display area for displaying image information, and the display area of ​​the flexible display screen 40 is exposed to facilitate the presentation of images, videos, and other information to the user.

[0096] Understandable Figure 3 The illustration schematically shows some components included in the electronic device 100, the actual shape, size, location, and construction of which are not affected by the actual shape, size, location, and construction of the components. Figure 3 Restrictions.

[0097] Please see Figure 4 as well as Figure 5 , Figure 4 for Figure 1 The diagram shows the structure of the electronic device 100 in its retracted state. Figure 5 This is a cross-sectional structural diagram of an electronic device provided in some embodiments of this application, wherein, Figure 5 (a) in the middle is Figure 1 A cross-sectional view of the electronic device 100 shown. Figure 5 (b) in the middle is Figure 4 The schematic diagram shows a cross-sectional view of the electronic device 100. The electronic device 100 may include a pusher 30, which is disposed within the housing 10 and is connected to the output of the DC motor 22 of the driving device 20. The DC motor 22 drives the pusher 30 to move relative to the housing 10. The direction of movement of the pusher 30 relative to the housing 10 is a first direction F1, which is... Figure 4 In the X direction, the two sides of the pusher 30 along the first direction F1 are the first side 31 and the second side 32, respectively.

[0098] A portion of the flexible display screen 40 is located on the first side 31 and is partially fixed relative to the housing 10. Another portion extends around the pusher 30 to the front end along the first direction F1 to the second side 32, and another portion is slidable relative to the housing 10 along the first direction F1.

[0099] In this way, the pusher 30 can drive the flexible display screen 40 to slide along the X direction. Figure 1In the electronic device 100 shown, the flexible display screen 40 is in an unfolded state, that is, the electronic device 100 can unfold along the X direction, so the electronic device 100 can unfold or retract laterally.

[0100] In some other embodiments, the direction of movement of the pusher 30 relative to the housing 10 is a second direction F2, that is... Figure 4 The flexible display 40 is slidable relative to the housing 10 along the second direction F2. Thus, the electronic device 100 can be extended or retracted longitudinally.

[0101] When the flexible display screen 40 is in the unfolded state, it can achieve large-screen display, providing users with richer information and a better user experience.

[0102] Furthermore, the flexible display screen 40 can bend and deform under the pushing force of the pushing member 30, so that the flexible display screen 40 can be bent from the point where it is pushed by the pushing member 30. Figure 4 The contracted state shown is transformed into an unfolded state. Please continue reading. Figure 4 The flexible display screen 40 in the electronic device 100 is in a retracted state. Specifically, when the electronic device 100 is in a retracted state, part of the flexible display screen 40 is not visible to the user. This prevents the flexible display screen 40 from being scratched by hard objects, and also reduces the size of the electronic device 100, making it easier to carry.

[0103] In other embodiments, please refer to Figure 6 as well as Figure 7 , Figure 6 A perspective view of the electronic device 100 in its unfolded state, provided in some other embodiments of this application. Figure 7 for Figure 6 The diagram shows a partially exploded view of the electronic device 100. The housing 10 includes a first housing 12 and a second housing 13, which are rotatably connected to allow the electronic device 100 to switch between an unfolded state and a folded state. A portion of the flexible display screen 40 is disposed in the first housing 12, and another portion of the flexible display screen 40 is disposed in the second housing 13. A pusher 30 is disposed within the second housing 13. When the electronic device 100 is in the unfolded state, the first direction F1 is the direction in which the pusher 30 moves away from the first housing 12, i.e., the X direction. In this way, the electronic device 100 unfolds laterally.

[0104] In this way, the electronic device 100 can be extended and folded, which can further increase the area of ​​the flexible display screen 40, realize large-screen display, and bring users a better user experience.

[0105] In some embodiments, the drive device 20 may be connected to the first housing 12 in a transmission manner, and the drive device 20 may be connected to the second housing 13 in a transmission manner. The drive device 20 may drive the first housing 12 and the second housing 13 to rotate, so that the electronic device 100 switches between an unfolded state and a folded state.

[0106] In some other embodiments, the drive device 20 may be connected to the first housing 12 in a transmission manner, and the drive device 20 may drive the first housing 12 to rotate so that the electronic device 100 switches between an unfolded state and a folded state.

[0107] In some other embodiments, the drive device 20 may be connected to the second housing 13 in a transmission manner, and the drive device 20 may drive the second housing 13 to rotate so that the electronic device 100 switches between an unfolded state and a folded state.

[0108] The specific structure of the drive unit 20 will be described in detail below.

[0109] For details, please refer to Figure 8 , Figure 8 The diagram below shows the structure of a drive device 20 provided in some embodiments of this application. The drive device 20 includes a reference component 21, a DC motor 22, a moving component 23, a light receiving device 24, and an analysis device 25.

[0110] Reference element 21 has a first surface 211. Reference element 21 can be an elongated structure. Exemplarily, reference element 21 can be a cylindrical structure, or a cuboid structure, etc. This application does not limit this.

[0111] In some embodiments, the housing 10 includes a first housing portion 11, which forms a reference member 21 for the drive device 20. Reusing the housing 10 as the reference member 21 simplifies the structural composition of the electronic device and reduces manufacturing complexity and cost. Furthermore, by reusing the housing 10 as the reference member 21, the overall structural volume can be reduced, making the electronic device 100 more compact and facilitating its miniaturization and lightweight design.

[0112] Since electronic devices 100 are generally small in size and have high space requirements, the DC motor 22 can be a brushless DC motor with a diameter of less than 6mm, an output torque of 0.2-0.6mN·m, a speed of 10000-50000r / min, and an efficiency of 90%. By setting the drive motor of the drive device 20 to a brushless DC motor, this application allows the motor to provide greater rotational power while generating less heat.

[0113] It should be noted that when the DC motor 22 pushes the flexible display screen 40 to unfold, the DC motor 22 needs to overcome not only the frictional force generated by the bearings, gears, and rotors inside the DC motor 22, but also the yield force of the flexible display screen 40 when bending. The thinner the flexible display screen 40, the greater its curvature, meaning the greater the degree of bending, and thus the greater the yield force of the flexible display screen 40 when bending.

[0114] Due to the size limitations of the electronic device 100, the diameter of the motor ranges from 4 to 6 mm. A stepper motor of this size has an output torque of 0.02-0.3 mN·m, a speed of less than 10,000 r / min, and an efficiency of 50%-60%. In contrast, a DC motor 22 of the same size has an output torque of 0.38-0.6 mN·m, a speed of 10,000-50,000 r / min, and an efficiency of 90%. Comparing these parameters, it can be seen that, within the same size, the DC motor 22 has a higher output torque than the stepper motor. Therefore, it can provide greater rotational force to the drive device 20, and thus greater driving force to the pusher 30, enabling a slimmer and lighter design for the electronic device 100.

[0115] The movable component 23 is connected to the output end of the DC motor 22. The DC motor 22 drives the movable component 23 to move relative to the reference component 21. The moving direction of the movable component 23 is parallel to or intersects with the first surface 211. The intersection of the moving direction of the movable component 23 with the first surface 211 does not include the case where the moving direction of the movable component 23 is perpendicular to the first surface 211.

[0116] A light receiver 24 is disposed on the movable member 23, and the receiving end of the light receiver 24 faces the first surface 211. The light receiver 24 is used to acquire image information from the first surface 211. Exemplarily, the light receiver 24 may include an array of photodiodes, phototransistors, photoresistors, CCDs, or CMOS sensors, etc., and this application does not limit this.

[0117] The light receiving device 24 can receive a portion of the light reflected back from the first surface 211. After passing through a set of optical lenses, the light is transmitted to a photosensitive device inside the light receiving device 24 for imaging, which is a micro-imager. In this way, when the light receiving device 24 moves, its movement trajectory is recorded as a series of high-speed captured images. Based on this image information, the displacement and speed of the light receiving device 24 can be analyzed and calculated.

[0118] The analysis device 25 is connected to the light receiving device 24. The analysis device 25 is used to determine the movement parameters of the moving part 23 based on the image information collected by the light receiving device 24, thereby providing a reference for the control of the DC motor 22.

[0119] The analysis device 25 may include one or more processing units, such as a graphics processing unit (GPU), an image signal processor (ISP), a controller, and memory. These different processing units may be independent devices or integrated into one or more processors.

[0120] The controller can serve as the central nervous system and command center of the drive device 20. Based on the movement parameters, the controller can generate operational control signals to control the fetching and execution of instructions.

[0121] The analysis device 25 may also include a memory for storing instructions and data. In some embodiments, the memory in the analysis device 25 is a cache memory. This memory can store instructions or data that the analysis device 25 has just used or that are used repeatedly. If the analysis device 25 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 analysis device 25, and thus improves the efficiency of the system.

[0122] In this way, by driving the moving part 23 to move relative to the reference part 21 via the DC motor 22, the light receiving device 24 can acquire image information of the first surface 211 in real time. This provides the necessary data for the analysis device 25, enabling rapid feedback and real-time monitoring. Combining the image information acquired by the light receiving device 24, the analysis device 25 can accurately determine the position of the moving part 23 relative to the reference part 21, thereby controlling the operation of the DC motor 22. This enables closed-loop control of the DC motor 22, achieving high-precision position control and improving the control accuracy of the DC motor 22.

[0123] In some embodiments, the movable component 23 of the electronic device 100 may be connected to the pusher 30, and the movement of the movable component 23 drives the pusher 30 to move. This arrangement simplifies the structure and facilitates manufacturing. In other embodiments, the movable component 23 of the electronic device 100 may not be connected to the pusher 30, and the movement of the movable component 23 may only be used to provide a reference for the control of the DC motor 22.

[0124] In some embodiments, please refer to Figure 9 , Figure 9 The diagram below illustrates the structure of a light emitting device 26 provided in some embodiments of this application. The driving device 20 further includes a light emitting device 26, which is disposed on the moving member 23, with its emitting end facing the first surface 211. The illumination range of the light emitting device 26 on the first surface 211 overlaps with the collection range of the light receiving device 24 on the first surface 211. Exemplarily, the light emitting device 26 and the light receiving device 24 can be arranged adjacent to each other.

[0125] In this way, the light emitting device 26 can emit light from the first surface 211, ensuring that the light receiving device 24 receives clear and high-contrast image information. This helps improve the quality of image acquisition, enabling the analysis device 25 to process data more accurately. Furthermore, by configuring the light emitting device 26, the light receiving device 24 can receive relatively clear image information in various environments, reducing dependence on the environment.

[0126] The optical transmitter 26 and the optical receiver 24 can be integrated into one unit or set up separately. This application does not impose any restrictions on this.

[0127] For example, the driving device 20 includes a photoelectric sensor, which comprises a light emitting device 26 and a light receiving device 24, which are integrated into one unit. In this way, the photoelectric sensor can respond quickly to changes in light, making it suitable for applications requiring rapid feedback.

[0128] In some embodiments, continue reading Figure 9 The drive unit 20 also includes a moving rod 27, whose extension direction is consistent with the movement direction of the moving member 23 relative to the reference member 21. The moving rod 27 is connected to the output end of the DC motor 22. The alignment of the moving rod 27's extension direction with the movement direction of the moving member 23 relative to the reference member 21 makes the movement path of the moving member 23 very clear. By directly connecting the moving rod 27 to the DC motor 22, the mechanical structure can be simplified, the system complexity reduced, and manufacturing and maintenance facilitated.

[0129] The moving rod 27 can be a telescopic rod, a slide rail moving rod 27, or a lead screw, etc. This application does not impose any restrictions on this; the specific configuration should be determined according to the actual needs.

[0130] The movable member 23 is located on the moving rod 27, and the DC motor 22 is used to drive the moving rod 27 to move, so as to drive the movable member 23 to move along the extension direction of the moving rod 27.

[0131] This drive unit 20 has a relatively compact structure, reducing complex transmission components. In some space-constrained equipment, this compact structure can save space, make the overall structural design more flexible, and facilitate maintenance and repair.

[0132] The movable component 23 can be fixed to the moving rod 27 through various methods such as clamping, magnetic connection, or threaded connection. This application does not impose any restrictions on this; the specific configuration can be determined according to the actual needs.

[0133] In some embodiments, the movable member 23 is sleeved on the moving rod 27, and the DC motor 22 drives the moving rod 27 to rotate, thereby causing the movable member 23 to move along the extension direction of the moving rod 27. In this way, the drive device 20 has a simple structure and is easy to manufacture and maintain.

[0134] In some embodiments, the moving rod 27 includes a lead screw, the extension direction of which coincides with the movement direction of the moving member 23 relative to the reference member 21. The moving member 23 includes a nut threaded onto the lead screw. A DC motor 22 is used to drive the lead screw to rotate, thereby moving the nut along the extension direction of the lead screw.

[0135] Because the lead screw and nut are driven by a threaded connection, this transmission method offers high precision. For every certain angle the lead screw rotates, the nut moves a precise distance along the lead screw's axis, enabling the moving part 23 to be precisely positioned to the millimeter or even micrometer level. This method is suitable for applications requiring extremely high positional accuracy.

[0136] In some embodiments, continue reading Figure 9 The movable member 23 has a first position 231. The drive device 20 also includes a first sensor 28 for detecting whether the movable member 23 is located at the first position 231. The first position 231 can be a starting position. Exemplarily, the first sensor 28 can be disposed at a corresponding position on the housing 10. As another example, the first sensor 28 can be disposed at a corresponding position on the first surface 211.

[0137] The first sensor 28 can be an ultrasonic sensor, a laser sensor, a pressure sensor, a Hall sensor, etc. This application does not impose any restrictions; the specific configuration should be determined according to actual needs. The position of the first sensor 28 is adaptively adjusted based on its type.

[0138] In this way, by setting the first sensor 28 to detect whether the moving part 23 is in the first position 231, the starting position of the moving part 23 can be ensured to be accurate. This allows for the acquisition of more accurate movement parameters of the moving part 23, thus providing a reference for the control of the DC motor 22. If the moving part 23 is detected to be not in the first position 231, the drive device 20 can automatically adjust based on the information provided by the sensor. This intelligent correction function ensures that the equipment always stays in the predetermined position during operation, improving the accuracy and reliability of the drive device 20.

[0139] In some embodiments, continue reading Figure 9The movable member 23 has a second position 232, and the second position 232 and the first position 231 are spaced apart along the moving direction of the movable member 23. The driving device 20 also includes a second sensor 29, which is used to detect whether the movable member 23 is located at the second position 232. The second position 232 can be a termination position. Exemplarily, the second sensor 29 can be disposed at a corresponding position on the housing 10. As another example, the second sensor 29 can be disposed at a corresponding position on the first surface 211.

[0140] The second sensor 29 can be an ultrasonic sensor, a laser sensor, a pressure sensor, a Hall sensor, etc. This application does not impose any restrictions on this; the specific configuration can be determined according to the actual needs.

[0141] In this way, by setting the second sensor 29 to detect whether the moving part 23 is at the second position 232, the movement limit position of the moving part 23 can be ensured, and the movement of the moving part 23 can be prevented from exceeding the termination position and damaging the drive device 20.

[0142] In some embodiments, the movable element 23 includes a magnetic element. The first sensor 28 and the second sensor 29 are Hall sensors. The first sensor 28 cooperates with the magnetic element to detect whether the movable element 23 is located at a first position 231, and the second sensor 29 cooperates with the magnetic element to detect whether the movable element 23 is located at a second position 232.

[0143] In this way, by setting the first sensor 28 and the second sensor 29 as Hall sensors, detection can be achieved by detecting changes in the magnetic field, without direct contact with the moving part 23, reducing wear and extending the service life of both the sensors and the moving part 23. Furthermore, when used in conjunction with the magnetic components on the moving part 23, the Hall sensors can accurately determine the position of the moving part 23, thereby achieving high-precision position feedback in the control system and meeting stringent positioning requirements.

[0144] In some embodiments, see Figure 10 , Figure 10 This is a schematic diagram of the structure of some ranging markers 212 provided in some embodiments of this application. Figure 10 The ranging marker 212 shown in (a) is a color marker. Figure 10 The ranging marker 212 shown in (b) is a color marker. Figure 10 The ranging mark 212 shown in (c) is a shape mark, and the first surface 211 is provided with the ranging mark 212.

[0145] In this way, the ranging mark 212 can provide a clear reference point for the light receiving device 24, enabling it to measure the distance to objects more accurately. Furthermore, the ranging mark 212 allows operators to more easily identify the measurement location and perform calibration when necessary, ensuring the accuracy and consistency of the measurement.

[0146] The ranging marker 212 can be a color marker or a shape marker. This application does not impose any restrictions on this, and the specific setting should be determined according to the actual needs.

[0147] In some embodiments, the ranging marker 212 includes color markers, the reflectivity of which differs from that of the first surface 211. The color markers are uniformly distributed.

[0148] In this way, by setting color markers with different reflectivities, a clear contrast can be created between the markers and the background of the first surface 211, improving the recognition capability of the light receiver 24. This makes it easier for the light receiver 24 to detect the color markers, ensuring accurate recognition and thus making the image information acquired by the light receiver 24 more accurate.

[0149] The color markings may include one color or multiple colors. This application does not impose any restrictions on this.

[0150] In some embodiments, continue reading Figure 10 In (a), the color markers include multiple first color markers, which are sequentially spaced along the moving direction of the moving member 23. This allows the light receiving device 24 to continuously track the moving member 23 as it moves. The light receiving device 24 can detect the arrival of different markers in real time, thereby measuring speed and displacement more accurately.

[0151] The first color mark can have different shapes, such as circles, triangles, rectangles, rhombuses, etc. This application does not impose any restrictions on this; the specific shape can be set according to the actual needs.

[0152] In other embodiments, see further description. Figure 10 In (b) of the diagram, the color markers also include multiple second color markers. The colors of the second color markers and the first color markers can be the same or different colors; this application does not specifically limit this. For example, the reflectivity of the multiple second color markers is different from that of the multiple first color markers. The multiple second color markers and the multiple first color markers are alternately arranged sequentially along the moving direction of the moving member 23.

[0153] In this way, by alternately setting multiple first color marks and multiple second color marks with different reflectivities, a stronger signal contrast can be generated, making it easier for the light receiving device 24 to detect and distinguish different types of marks, thereby improving the recognition accuracy.

[0154] The first and second color markers can be of the same shape, such as a rectangle with alternating first and second color markers. Alternatively, the first and second color markers can be of different shapes, such as a circle for the first color marker and a rectangle for the second color marker. This application does not impose any restrictions on this; the specific design should be determined according to the actual needs.

[0155] In some embodiments, continue reading Figure 10 In (c), the ranging mark 212 includes a shape mark.

[0156] In this way, shape markings can provide clear geometric references for the light receiving device 24, enabling more accurate positioning and identification of target objects, and thus making the image information acquired by the light receiving device 24 more accurate.

[0157] This application does not limit the shape of the shape mark; it can be set according to the actual needs. For example, the shape mark can be a circle, triangle, rectangle, rhombus, irregular shape, etc.

[0158] In some embodiments, the shape is marked as a protrusion.

[0159] In this way, by setting the shape of the protrusion, a physical contour can be provided, and the light receiving device 24 can more stably identify the target by detecting the reflection or blockage of light, resulting in better detection performance compared to a flat surface.

[0160] In some other embodiments, the shape is marked as a recess.

[0161] In this way, by setting the shape of the recess, a physical contour can be provided, and the light receiving device 24 can more stably identify the target by detecting the reflection or blockage of light, resulting in better detection performance compared to a flat surface. In addition, by setting the recess on the first surface 211, it is possible to prevent the light receiving device 24 from colliding with the first surface 211, thus avoiding damage to the drive equipment.

[0162] Please see Figure 11 , Figure 11 This application provides a schematic diagram of a control method according to some embodiments of the present application. The present application also provides a control method for controlling the aforementioned drive device 20, comprising:

[0163] S101. A moving component is driven by a DC motor to move relative to the first surface, and the moving direction of the moving component is parallel to or intersects with the first surface.

[0164] The drive unit uses a DC motor to move the moving component. The DC motor provides smooth motion, reducing vibration and noise during operation, thereby improving the overall system stability. By setting the movement path of the moving component, a reference can be established with the first surface.

[0165] S102. During the movement of the moving part, image information of multiple areas of the first surface is collected sequentially by means of a light receiving device, and the multiple areas are arranged sequentially along the movement direction of the moving part.

[0166] By sequentially acquiring image information from multiple regions using a light-receiving device, more detailed and high-resolution surface information can be obtained and transmitted to the analysis device.

[0167] S103. Determine the movement parameters of the moving part based on the image information of multiple regions.

[0168] By comparing image information at different times using an analysis device, the displacement parameters of the moving parts between two adjacent times can be obtained, thus providing a reference for controlling the operation of the DC motor.

[0169] In some embodiments, please refer to Figure 12 , Figure 12 This is a schematic flowchart illustrating a control method provided in some embodiments of this application. The control method further includes:

[0170] The DC motor is controlled based on the moving parameters and theoretical parameters.

[0171] The movement parameters include speed and displacement parameters. The movement parameters include the rotational speed V1 of the DC motor and its theoretical displacement L1. The rotational speed V1 of the DC motor can be detected by a sensor built into the DC motor, which can be a Hall sensor. The theoretical displacement L1 of the DC motor can be calculated by integrating the rotational speed V1.

[0172] The motion parameters also include the velocity parameter L2 and the displacement parameter L2 of the moving component. The displacement parameter L2 can be calculated by comparing the image information acquired by the optical receiving device at different times using the analysis device. The velocity parameter L2 of the moving component can be calculated as the ratio of the displacement parameter to the time difference between the image information at different times.

[0173] The analysis device can control the DC motor by both starting and stopping it. This enables closed-loop control of the DC motor, improving its accuracy.

[0174] In some embodiments, the movement parameters include the rotational speed of the DC motor and the displacement speed of the moving part. Based on the movement parameters and theoretical parameters, the DC motor is controlled, including:

[0175] If the rotational speed is outside the preset range, the DC motor will stop running.

[0176] Where a can be 9.5 mm / s and b can be 10.5 mm / s.

[0177] If the rotational speed is outside the preset range, meaning the rotational speed is too high or too low, it may be due to a fault in the DC motor. In this case, the analysis device will control the DC motor to stop running to prevent more serious faults or problems.

[0178] In some other embodiments, the movement parameters include the rotational speed of the DC motor and the displacement speed of the moving part. Based on the movement parameters and theoretical parameters, the DC motor is controlled, including:

[0179] If the displacement speed is outside the preset displacement speed range, the DC motor will be stopped.

[0180] Where c can be 10000 r / min and d can be 50000 r / min.

[0181] In this case, if the displacement speed of the moving part is not within the preset displacement speed range, that is, if the displacement speed of the moving part is too large or too small, it may be due to a fault in the DC motor or a fault in the transmission connection between the DC motor and the moving part. At this time, the analysis device controls the DC motor to stop running to prevent more serious faults or problems from occurring.

[0182] In some embodiments, the movement parameters include the theoretical displacement of the DC motor and the actual displacement of the moving part. Based on the movement parameters and the theoretical parameters, the DC motor is controlled, including:

[0183] When the rotational speed is within a preset rotational speed range and the displacement speed is within a preset displacement speed range, determine the displacement difference between the theoretical displacement of the DC motor and the actual displacement of the moving part.

[0184] The DC motor is controlled based on the displacement difference and the preset displacement difference.

[0185] The displacement difference A can be less than or equal to 0.1 mm.

[0186] In this way, if the rotational speed of the DC motor is within the preset rotational speed range, and the displacement speed of the moving part is within the preset displacement speed range, it indicates that both the DC motor and the moving part are operating normally. Thus, by monitoring the displacement difference in real time, the analysis device can promptly correct the operation of the DC motor, ensuring that the actual displacement is closer to the theoretical displacement, thereby improving the control accuracy of the DC motor.

[0187] In some embodiments, continue reading Figure 12 Based on the displacement difference and a preset displacement difference, the DC motor is controlled, including:

[0188] If the displacement difference exceeds the preset displacement difference, the DC motor will stop running.

[0189] Therefore, when the displacement difference exceeds the preset displacement difference value, meaning the error in the displacement difference is large, it may indicate an abnormality in the drive device, such as a fault in the transmission connection between the DC motor and the moving part, or excessive load. Controlling the DC motor to stop operation using the analysis device can avoid potential dangers, ensure the safety of operators and equipment, and thus improve the stability and reliability of the entire drive device.

[0190] In other embodiments, the DC motor is controlled based on the displacement difference and a preset displacement difference, including:

[0191] When the displacement difference equals the preset displacement difference, the DC motor is controlled to stop running.

[0192] When the displacement difference equals the preset displacement difference, meaning the error is relatively large, it may indicate an abnormality in the drive unit, such as a fault in the transmission connection between the DC motor and the moving parts, or excessive load. Controlling the DC motor to stop operation using the analysis device can avoid potential dangers, ensure the safety of operators and equipment, and thus improve the stability and reliability of the entire drive unit.

[0193] In some embodiments, the control method further includes:

[0194] Generate and report alarm information. The alarm information is used to indicate that there is a fault in the drive unit.

[0195] The system can categorize alarm messages based on different fault conditions to alert users. For example, if the rotational speed of a DC motor is outside a preset range, a first fault message is generated to indicate a DC motor malfunction. Similarly, if the displacement speed of a moving component is outside a preset range, a second fault message is generated to indicate a drive unit malfunction.

[0196] Alarm information can be displayed as a pop-up window on the flexible display screen, or as a notification bar at the top or bottom of the flexible display screen, or as a real-time status bar in a window at the top or bottom of the flexible display screen. In other embodiments, devices without a flexible display screen can use sound alarms or light alarms. This application does not limit this; the specific settings can be configured according to actual needs.

[0197] In some embodiments, continue reading Figure 12 The moving part has a second position, and the DC motor is controlled based on the displacement difference and a preset displacement difference, including:

[0198] If the displacement difference is less than the preset displacement difference and the moving part is in the second position, the DC motor is controlled to stop running.

[0199] If the displacement difference is less than the preset displacement difference and the position of the moving part is not in the second position, the DC motor is controlled to continue running.

[0200] The second position can be a preset termination position. Thus, by setting the second position of the moving part, i.e., the preset termination position, as the trigger condition for stopping the DC motor, when the displacement difference is less than the preset displacement difference, if the moving part has reached the second position, the analysis device controls the motor to stop to prevent potential collisions or overloads, protecting the mechanical structure and the safe operation of the DC motor. When the displacement difference is less than the preset displacement difference, if the moving part has not reached the second position, the analysis device controls the motor to continue running until the moving part reaches the second position, thus completing the operation of the electronic equipment.

[0201] In other embodiments, the DC motor is controlled based on the displacement difference and a preset displacement difference, including:

[0202] When the actual displacement of the moving part equals the preset displacement, and the moving part is in the second position, the DC motor is controlled to stop running.

[0203] In this way, by setting the running distance as the stopping condition for the DC motor, it is possible to adapt to a wider range of equipment needs.

[0204] In some embodiments, continue reading Figure 12 The movable component has a first position, and a second position is spaced apart along the moving direction of the movable component. Before driving the movable component to move relative to the first surface using a DC motor, the control method further includes:

[0205] If a moving part is detected at the first position and no moving part is detected at the second position, the DC motor is controlled to drive the moving part to the second position.

[0206] In this way, by detecting the moving part at the first position but not at the second position, it can be ensured that the moving part is at the first position, i.e. the initial position. At this time, by controlling the DC motor to move the moving part to the second position through the analysis device, the actual displacement of the moving part can be consistent with the theoretical displacement of the DC motor, thus completing the driving operation of the driving device and ensuring the integrity and accuracy of the parameters.

[0207] In some embodiments, continue reading Figure 12 Before moving the movable component relative to the first surface by means of a DC motor, the method further includes:

[0208] If a moving part is detected at both the first and second positions, an alarm message is generated and reported, wherein the alarm message is used to indicate that there is a malfunction in the drive unit.

[0209] In this way, if a moving part is detected at both the first and second positions, indicating a clear error, an alarm message can be generated to inspect the drive unit and restore it to normal operation, thus preventing more serious errors from occurring.

[0210] In some embodiments, continue reading Figure 12 Before the moving component is moved relative to the first surface by means of a DC motor, the control method further includes:

[0211] If no moving part is detected at the first position and no moving part is detected at the second position, the DC motor is controlled to drive the moving part to the first position.

[0212] In this case, if no moving part is detected at the first position and no moving part is detected at the second position, it indicates that the moving part is between the first and second positions. In order to ensure the accuracy of the measurement, the analysis device controls the DC motor drive to move the moving part to the first position, so that the actual displacement of the moving part is consistent with the theoretical displacement of the DC motor, thus completing the drive operation of the drive device and ensuring the integrity and accuracy of the parameters.

[0213] This application also provides a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the control method described above.

[0214] In this way, the control method of electronic devices can achieve automated control through instructions stored in computer-readable storage media, eliminating the need for manual intervention and improving the system's intelligence level. The instructions stored in computer-readable storage media also enable precise adjustment of the drive mechanism, ensuring the performance of the electronic devices.

[0215] In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A driving device, characterized in that, include: Reference element, the reference element having a first surface; DC motor; A movable component is connected to the output end of the DC motor, and the DC motor drives the movable component to move relative to the reference component. The moving direction of the movable component is parallel to or intersects with the first surface. An optical receiving device is disposed on the movable member, with the receiving end of the optical receiving device facing the first surface, and the optical receiving device is used to collect image information of the first surface; An analysis device is connected to the optical receiving device, and the analysis device is used to determine the movement parameters of the moving part based on the image information acquired by the optical receiving device.

2. The driving device according to claim 1, characterized in that, Also includes: A light emitting device is disposed on the movable member, and the emitting end of the light emitting device faces the first surface; The illumination range of the light emitting device on the first surface overlaps with the collection range of the light receiving device on the first surface.

3. The driving device according to claim 1 or 2, characterized in that, Also includes: A moving rod extends in the same direction as the moving member relative to the reference member, and the moving rod is connected to the output end of the DC motor. The moving member is disposed on the moving rod, and the DC motor is used to drive the moving rod to move, thereby causing the moving member to move along the extension direction of the moving rod.

4. The driving device according to claim 3, characterized in that, The movable component is sleeved on the moving rod, and the DC motor is used to drive the moving rod to rotate, so as to move the movable component along the extension direction of the moving rod.

5. The driving device according to claim 4, characterized in that, The moving rod includes a lead screw, the extension direction of which is consistent with the movement direction of the moving member relative to the reference member; The moving component includes a nut, which is threaded onto the lead screw; the DC motor is used to drive the lead screw to rotate, thereby moving the nut along the extension direction of the lead screw.

6. The driving device according to claim 1, characterized in that, The movable component has a first position; the driving device further includes: A first sensor is used to detect whether the moving part is located at the first position.

7. The driving device according to claim 6, characterized in that, The movable component has a second position, and the second position and the first position are spaced apart along the moving direction of the movable component; the driving device further includes: The second sensor is used to detect whether the moving part is located at the second position.

8. The driving device according to claim 7, characterized in that, The movable component includes a magnetic component; The first sensor and the second sensor are Hall sensors. The first sensor cooperates with the magnetic component to detect whether the moving component is located at the first position, and the second sensor cooperates with the magnetic component to detect whether the moving component is located at the second position.

9. The driving device according to claim 8, characterized in that, The first surface is provided with distance measuring marks.

10. The driving device according to claim 9, characterized in that, The ranging marker includes a color marker, the reflectivity of which differs from that of the first surface.

11. The driving device according to claim 10, characterized in that, The color markings include: Multiple first color markers are arranged at intervals along the moving direction of the moving member.

12. The driving device according to claim 11, characterized in that, The color markings also include: Multiple second color markers, the reflectance of which is different from that of the multiple first color markers; the multiple second color markers and the multiple first color markers are alternately arranged in sequence along the moving direction of the moving member.

13. The driving device according to claim 9, characterized in that, The ranging markers include shape markers.

14. The driving device according to claim 13, characterized in that, The shape is marked as a protrusion or a recess.

15. An electronic device, characterized in that, include: case; At least one drive device according to any one of claims 1-14, the drive device being connected to the housing.

16. The electronic device according to claim 15, characterized in that, The housing includes a first housing portion that forms a reference element for the drive device.

17. The electronic device according to claim 16, characterized in that, Also includes: A pusher is disposed inside the housing and is connected to the output end of the DC motor. The DC motor is used to drive the pusher to move relative to the housing. The direction of movement of the pusher relative to the housing is a first direction, and the two sides of the pusher along the first direction are a first side and a second side, respectively. A flexible display screen, wherein a portion of the flexible display screen is located on the first side and is fixed relative to the housing, and another portion extends to the second side along the front end of the first direction around the pusher, and the other portion is slidable relative to the housing along the first direction.

18. The electronic device according to claim 17, characterized in that, The housing includes a first housing and a second housing, which are rotatably connected to allow the electronic device to switch between an unfolded state and a folded state. One part of the portion is disposed in the first housing, and another part of the portion is disposed in the second housing. The pusher is disposed inside the second housing. When the electronic device is in the unfolded state, the first direction is the direction in which the pusher moves away from the first housing.

19. The electronic device according to claim 16, characterized in that, The number of drive devices is multiple.

20. A control method for controlling the drive device according to any one of claims 1-14, characterized in that, The control method includes: The moving component is driven to move relative to the first surface by means of the DC motor, and the moving direction of the moving component is parallel to or intersects the first surface; During the movement of the moving component, image information of multiple regions of the first surface is sequentially acquired by the light receiving device, and the multiple regions are arranged sequentially along the movement direction of the moving component. Based on the image information of the multiple regions, the movement parameters of the moving component are determined.

21. The control method according to claim 20, characterized in that, Also includes: The DC motor is controlled based on the aforementioned movement parameters and theoretical parameters.

22. The control method according to claim 21, characterized in that, The movement parameters include the rotational speed of the DC motor and the displacement speed of the moving part; The control of the DC motor based on the moving parameters and theoretical parameters includes: If the rotational speed is not within the preset rotational speed range, and / or if the displacement speed is not within the preset displacement speed range, the DC motor is controlled to stop operating.

23. The control method according to claim 22, characterized in that, The movement parameters include the theoretical displacement of the DC motor and the actual displacement of the moving part; the control of the DC motor based on the movement parameters and the theoretical parameters includes: When the rotational speed is within the preset rotational speed range and the displacement speed is within the preset displacement speed range, determine the displacement difference between the theoretical displacement of the DC motor and the actual displacement of the moving part; The DC motor is controlled based on the displacement difference and the preset displacement difference.

24. The control method according to claim 23, characterized in that, The step of controlling the DC motor based on the displacement difference and a preset displacement difference includes: If the displacement difference is greater than or equal to the preset displacement difference, the DC motor is controlled to stop running.

25. The control method according to claim 22 or 24, characterized in that, Also includes: Generate and report alarm information; wherein the alarm information is used to indicate that the drive device has a fault.

26. The control method according to claim 23, characterized in that, The moving component has a second position, and the control of the DC motor based on the displacement difference and a preset displacement difference includes: When the displacement difference is less than the preset displacement difference and the moving part is located at the second position, the DC motor is controlled to stop running. If the displacement difference is less than the preset displacement difference and the position of the moving part is not in the second position, the DC motor is controlled to continue running.

27. The control method according to claim 20, characterized in that, The movable component has a first position, and the first position and the second position are spaced apart along the moving direction of the movable component; before the movable component is driven to move relative to the first surface by means of the DC motor, the control method further includes: If the moving part is detected at the first position and not detected at the second position, the DC motor is controlled to drive the moving part to the second position.

28. The control method according to claim 20, characterized in that, Prior to driving the movable member to move relative to the first surface using the DC motor, the method further includes: If the moving part is detected at both the first and second positions, an alarm message is generated and reported, wherein the alarm message indicates that the drive device is malfunctioning.

29. The control method according to claim 20, characterized in that, Prior to driving the movable member to move relative to the first surface using the DC motor, the control method further includes: If the moving part is not detected at the first position and not detected at the second position, the DC motor is controlled to drive the moving part to the first position.

30. A computer storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 20 to 29.