Opening and closing mechanism and electronic equipment

By using a light detection structure to detect the surface information of the test piece in foldable electronic devices, the problem of insufficient accuracy in folding angle detection is solved, achieving high-precision, stable, and low-cost angle detection, and improving the user experience and display interface compatibility of the device.

CN223594723UActive Publication Date: 2025-11-25HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423323106.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-11-25
Estimated Expiration
2034-12-31

AI Technical Summary

Technical Problem

The accuracy of folding angle detection in existing foldable electronic devices needs to be improved, and they are easily affected by external magnetic fields and temperature, resulting in insufficient stability.

Method used

An optical detection structure is fixed to the main shaft structure and the door panel. By detecting changes in the surface information of the part under test, the folding angle is calculated to achieve high-precision angle detection and avoid the effects of resonance and mechanical fatigue.

Benefits of technology

It improves the accuracy and stability of folding angle detection, reduces the complexity and cost of structural layout, and enhances the display interface compatibility and user experience of electronic devices in different states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223594723U_ABST
    Figure CN223594723U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides an opening and closing mechanism and electronic equipment, and belongs to the technical field of electronics, in the opening and closing mechanism, one of a main shaft structure and a rotating structure comprises a to-be-detected piece, in the opening and closing process of the opening and closing mechanism, the to-be-detected piece and a light detection structure rotate relatively, and the light detection structure can obtain surface information of the to-be-detected piece before and after rotation; the relative rotation angle of the rotation structure and the main shaft structure can be obtained, and the folding angle of the electronic equipment can be detected. The rotation angle can be detected to be smaller than or equal to 1 degree, the folding angle detection accuracy is effectively improved, and higher reliability and use stability are achieved. The light detection structure is arranged on one of the main shaft structure and the door plate, compared with the mode that the light detection structure is arranged on a complex hinge assembly and the like, the influence of the additionally-arranged light detection structure on the overall layout design of the rotating structure can be reduced, the layout difficulty and complexity are reduced, the optimization cost is reduced, and linear correspondence of the angle relation facilitates calculation and analysis; and high precision of folding angle detection can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronics, and particularly relates to a folding and unfolding mechanism and an electronic device. BACKGROUND

[0002] With the gradual maturity of flexible screen technology, the display mode of electronic devices has changed greatly, one of which is the emergence of foldable mobile phones, computers and other electronic devices. The foldable electronic devices can flexibly change and switch modes according to different use scenarios, and also have a high screen ratio and clarity. For example, a foldable mobile phone can have the size of a traditional mobile phone when folded, which is convenient to carry, and can have the display size of a tablet when unfolded. These features make foldable electronic devices one of the most popular products among people.

[0003] The foldable electronic device at least includes two housings, a folding and unfolding mechanism and a flexible display screen. The two housings are located on the two sides of the folding and unfolding mechanism, and the two housings can be rotationally matched by the folding and unfolding mechanism, so that the two housings can be relatively rotated. The flexible display screen will be folded or flattened along with the rotation of the two housings, so that the electronic device can have a folded state, an intermediate state and a flattened state. The electronic device can also include a device for detecting the folding angle to determine the state of the electronic device. For example, the flexible display screen can be matched with a corresponding display interface according to the folded state, the flattened state and the intermediate state of the electronic device. The accuracy of the folding angle detection in the current electronic device needs to be further improved. CONTENT OF THE UTILITY MODEL

[0004] The present application provides a folding and unfolding mechanism and an electronic device, which can realize high-precision detection of the folding angle, have high stability and low cost.

[0005] The first aspect of the present application provides a folding and unfolding mechanism, which includes a main shaft structure and two rotating structures. The two rotating structures are respectively located on the two sides of the main shaft structure, and the rotating structure is rotationally matched with the main shaft structure to realize the folding and unfolding of the folding and unfolding mechanism.

[0006] The rotating structure includes a door plate, and one of the main shaft structure and the rotating structure includes a to-be-measured member. The to-be-measured member can be a structural member in the main shaft structure and the rotating structure that can be used to realize the detection of the folding angle.

[0007] The opening and closing mechanism further comprises a light detection structure for obtaining surface information of the measured object, which can include the outer contour shape, texture, roughness, etc. of the surface. In the process of opening and closing of the opening and closing mechanism, the measured object rotates relative to the light detection structure, and the light detection structure can obtain the surface information of the measured object during rotation. According to the change of the surface information of the measured object before and after rotation, the relative rotation angle between the light detection structure and the measured object can be analyzed and calculated, so as to obtain the relative rotation angle between the rotating structure and the main shaft structure, and the folding angle between the two shells of the electronic device is detected. According to the detected folding angle, the closed state, the open state and the arbitrary hovering state (intermediate state) between the closed state and the open state of the electronic device can be identified.

[0008] The light detection structure is used to detect the folding angle of the electronic device, and the light detection structure is not easily affected by external magnetic fields or external temperatures and other environments, and has higher reliability. The light detection structure itself does not involve resonance, mechanical fatigue and other phenomena, greatly improving the stability. And it can detect small changes in surface information, such as detecting a rotation angle less than or equal to 1°, which has higher responsiveness and sensitivity, effectively improving the accuracy of the folding angle detection, and enabling the electronic device to accurately match the corresponding display interface in different states, significantly improving the performance and user experience of the electronic device.

[0009] The light detection structure is fixed on one of the main shaft structure and the door plate, which can reduce the influence of the added light detection structure on the overall structural layout design of the rotating structure, reduce the layout difficulty and complexity, and reduce the optimization cost compared with arranging the light detection structure on other structures such as a complex hinge assembly. The relative rotation angle relationship between the door plate and the main shaft structure, the door plate and the pin shaft, the pin shaft and the main shaft structure, etc. is relatively simple, and the relative rotation angle between the rotating structure and the main shaft structure is linearly corresponding. By detecting the relative rotation angle between the door plate and the main shaft structure, the relative rotation angle between the rotating structure and the main shaft structure can be easily calculated and analyzed, which is beneficial to further improve the detection accuracy of the folding angle.

[0010] In one possible implementation, the surface of the measured object has a mark structure, and when the included angle between the rotating structure and the main shaft structure is a preset angle, the surface information of the measured object obtained by the light detection structure includes the graphic information of the mark structure. The light detection structure can obtain the graphic information of the mark structure on the measured object, and when the rotating structure and the main shaft structure have a preset included angle, the state of the electronic device is defined as a calibration state. When the light detection structure detects and identifies the graphic information of the mark structure, the electronic device is in the calibration state, and the preset angle between the rotating structure and the main shaft structure, the folding angle of the electronic device and the state of the electronic device are known.

[0011] When the opening and closing mechanism is opened or closed to switch the state of the electronic device, the current folding angle and state of the electronic device can be obtained by referring to the calibrated state of the electronic device and superimposing the detected relative rotation angle, so that the state of the electronic device is more convenient and fast to judge, and the display interface of the electronic device is timely matched, the matching and accuracy between the state of the electronic device and the display interface are improved, and the performance and use experience of the electronic device are improved.

[0012] According to the identification of the identification structure on the to-be-detected member by the light detection structure, the folding angle can also be calibrated, the folding angle error caused by the opening and closing of the electronic device can be calibrated, and the matching and accuracy between the state of the electronic device and the display interface are further improved.

[0013] In addition, in some specific scenarios, the setting of the identification structure can improve the responsiveness and accuracy of the display interface matching. For example, in the scenario of changing the state of the electronic device after the electronic device is powered off and then powered on, when the electronic device is in the calibrated state after being powered on, the light detection structure can directly identify the to-be-detected member and judge the state of the electronic device, and the display interface of the electronic device can be quickly and accurately matched. When the electronic device is not in the calibrated state after being powered on, the electronic device can be opened and closed, and when the light detection structure identifies the to-be-detected member, the state of the electronic device can be judged, and the display interface of the electronic device can be quickly and accurately matched.

[0014] The setting of the identification structure can increase the difference between the surface information of the to-be-detected member in the calibrated state and in other states, so that the surface information in the calibrated state is unique and distinct, which is beneficial to comparison with the surface information in other states and improves the detection accuracy.

[0015] In a possible implementation, a graphical identification is arranged on the surface of the to-be-detected member to form the identification structure, and the graphical identification has high design flexibility. For example, each identification structure can include a plurality of graphical identifications to improve the uniqueness and distinctiveness of the identification structure.

[0016] Alternatively, the surface of the to-be-detected member has a texture structure to form the identification structure. The design flexibility of the identification structure is rich, and the identification structure can be formed when the to-be-detected member is formed, which is beneficial to simplify the forming step and facilitate implementation.

[0017] In a possible implementation, the surface of the to-be-detected member has a plurality of identification structures, the graphical information of the plurality of identification structures is different, the plurality of identification structures are distributed along the rotation direction of the relative rotation between the to-be-detected member and the light detection structure, and each identification structure corresponds to a preset angle. For example, the preset angle can include but is not limited to any one or more of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, 180°, etc.

[0018] In this way, the electronic device can correspond to multiple calibration states through multiple different identification structures. For example, the more commonly used states (e.g., an open state, a 90° intermediate state, a closed state, etc.) can be defined as calibration states in combination with the opening and closing use habits of the electronic device. In daily use, the folding angle and state of the electronic device can be quickly and accurately obtained according to the pattern information of the identification structure obtained by the light detection structure, and the corresponding display interface can be quickly matched, thereby improving the smoothness and accuracy of the display interface display and improving the user experience.

[0019] In addition, in some specific scenarios, the setting of multiple identification structures can also improve the responsiveness of the display interface matching. For example, in the scenario of changing the state of the electronic device after the electronic device is powered off and then powered on, when the electronic device is not in the calibration state after being powered on, a small-angle unfolding or folding of the electronic device can make the electronic device in the calibration state, thereby timely matching the display interface, responding quickly and accurately, and effectively improving the user experience.

[0020] In a possible implementation, one end of the door plate is matched with the main shaft structure, and the other end of the door plate extends to the outside of the main shaft structure. The light detection structure is arranged on the other end of the door plate, and the main shaft structure includes the to-be-measured member. In the opening and closing process of the opening and closing mechanism, the light detection structure is relatively fixed with the door plate, and the door plate and the light detection structure jointly rotate relative to the main shaft structure. The relative rotation angle between the door plate and the main shaft structure can be obtained through the light detection structure, the relative rotation angle between the rotating structure and the main shaft structure is obtained, and then the detection of the folding angle is implemented.

[0021] In a possible implementation, the main shaft structure includes a first shaft body and a second shaft body. When the opening and closing mechanism is in the open state, the second shaft body is located on the same side as the door plate, and the first shaft body is protrudingly arranged on one side of the second shaft body.

[0022] The first shaft body is the to-be-measured member, and the light detection structure is used to obtain the surface information of the outer surface of the first shaft body. According to the change of the surface information of the outer surface of the first shaft body in the opening and closing process, the rotation angle of the door plate relative to the first shaft body is obtained, and then the relative rotation angle between the rotating structure and the main shaft structure is obtained, and the detection of the folding angle is implemented. The light detection structure arranged on the door plate is used to detect the surface information of the outer surface of the first shaft body, and the detection of the folding angle is implemented, and the structure design is simple. The areas of the outer surfaces of the door plate and the first shaft body are relatively large, which can facilitate the assembly and implementation of the light detection structure, and has high design flexibility, for example, the identification structure can be designed flexibly.

[0023] In a possible implementation, when the opening and closing mechanism is in the open state, the distance between the light detection structure and the outer surface of the first shaft body is greater than the height of the outer surface of the first shaft body. The arrangement of the light detection structure does not affect the relative rotation between the door plate and the main shaft structure, ensuring the smoothness of the opening and closing of the opening and closing mechanism.

[0024] In a possible implementation, when the opening and closing mechanism is in the open state, the height of the light outlet of the light detection structure is less than the height of the outer surface of the first shaft body. During the opening and closing of the opening and closing mechanism, the light emitted from the light outlet of the light detection structure can irradiate to the outer surface of the first shaft body, so that the surface information of the outer surface is obtained.

[0025] In a possible implementation, the rotating structure includes a pin shaft arranged on the main shaft structure. The light detection structure is arranged on the door plate, the pin shaft is the measured member, and the light detection structure is used to obtain the surface information of the circumferential outer side surface of the pin shaft. According to the change of the surface information of the circumferential outer side surface of the pin shaft during the opening and closing process, the rotation angle of the door plate relative to the main shaft structure (the second shaft body) is obtained, and the relative rotation angle between the rotating structure and the main shaft structure is obtained, and then the detection of the folding angle is realized. The structure design is simple, and the assembly of the light detection structure is facilitated. The structure and layout position of the measured member are enriched, and the layout flexibility of the detection of the folding angle is improved.

[0026] In a possible implementation, the main shaft structure includes a first shaft body and a second shaft body, the first shaft body is arranged on one side of the second shaft body, and the first shaft body and the second shaft body enclose a receiving cavity. The rotating structure includes a pin shaft arranged in the receiving cavity.

[0027] The light detection structure is fixed in the receiving cavity, and the pin shaft is the measured member. The light detection structure is arranged in the receiving cavity of the main shaft structure, so that the addition of the light detection structure does not affect the cooperation and assembly relationship between the structure member such as the flexible screen and the rotating structure (or the main shaft structure), thereby reducing the layout difficulty and complexity and reducing the optimization cost.

[0028] In a possible implementation, the light detection structure is located on the circumferential outer side of the pin shaft, and the light detection structure is used to obtain the surface information of the circumferential outer side surface of the pin shaft. According to the change of the surface information of the circumferential outer side surface of the pin shaft during the opening and closing process, the rotation angle of the pin shaft relative to the main shaft structure is obtained, and the relative rotation angle between the rotating structure and the main shaft structure is obtained, and then the detection of the folding angle is realized. The layout design of the measured member and the light detection structure is enriched, and the layout flexibility of the detection of the folding angle is improved.

[0029] In a possible implementation, the light detection structure is located on one side of the pin shaft along the axial direction, and is configured to obtain surface information of an end face of one end of the pin shaft along the axial direction. According to the change of the surface information of the end face of one end of the pin shaft during the opening and closing process, the rotation angle of the pin shaft relative to the main shaft structure can be obtained, and the relative rotation angle between the rotating structure and the main shaft structure is obtained, and then the detection of the folding angle is realized. The layout design of the to-be-detected member and the light detection structure is enriched, and the layout flexibility of the detection of the folding angle is improved.

[0030] In a possible implementation, the light detection structure includes a light source and a light receiver, the light source is configured to emit outgoing light to the to-be-detected member, and the light receiver is configured to receive return light returned by the to-be-detected member to obtain surface information of the to-be-detected member. For example, the light receiver can include a plurality of pixels. Because of the inconsistent phenomena such as shape, roughness, and texture of the surface of the to-be-detected member, the return light returned by the to-be-detected member forms a spot image with light and shade on the light receiver, and the surface information of the to-be-detected member is obtained. The implementation is simple and low in cost.

[0031] A second aspect of the embodiment of the application provides an electronic device including two housings and the opening and closing mechanism, the two housings are rotationally connected through the opening and closing mechanism to realize the opening and closing of the electronic device. By including the opening and closing mechanism, high-precision detection of the folding angle can be realized, and the electronic device can accurately control the display interface to accurately match the corresponding display interface in different states, thereby significantly improving the performance and use experience of the electronic device. Moreover, the opening and closing mechanism has high stability and low cost, and is beneficial to improving the use stability and cost of the electronic device. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 A structure schematic diagram of a foldable electronic device in a folded state is provided in the embodiment of the application;

[0033] Figure 2 A structure schematic diagram of a foldable electronic device in a folded state is provided in the embodiment of the application; Figure 1 A structure schematic diagram of a foldable electronic device in an intermediate state is shown in the embodiment of the application;

[0034] Figure 3 A structure schematic diagram of a foldable electronic device in an intermediate state is shown in the embodiment of the application; Figure 1 A structure schematic diagram of a foldable electronic device in an unfolded state is shown in the embodiment of the application;

[0035] Figure 4 A structure schematic diagram of a foldable electronic device in an unfolded state is shown in the embodiment of the application; Figure 1 A structure schematic diagram of a foldable electronic device in an unfolded state is shown in the embodiment of the application;

[0036] Figure 5 An opening and closing process schematic diagram of an opening and closing mechanism is provided in the embodiment of the application;

[0037] Figure 6An assembling schematic view of an opening and closing mechanism and a flexible screen provided by an embodiment of the present application;

[0038] Figure 6a For Figure 6 A cross-sectional structure schematic view of the opening and closing mechanism in the opening and closing process;

[0039] Figure 7 For Figure 6 A detection principle schematic view of the light detection structure;

[0040] Figure 8 A change schematic view of surface information obtained by the light detection structure in the opening and closing process of the opening and closing mechanism;

[0041] Figure 9 A structure schematic view of a to-be-detected member in another opening and closing mechanism provided by an embodiment of the present application;

[0042] Figure 9a Another opening and closing process schematic view of an opening and closing mechanism provided by an embodiment of the present application;

[0043] Figure 10 For Figure 6 A cross-sectional structure schematic view of the opening and closing mechanism in the intermediate state;

[0044] Figure 11 For Figure 10 A cross-sectional structure schematic view of the opening and closing mechanism in the opening state;

[0045] Figure 12 A cross-sectional structure schematic view of another opening and closing mechanism provided by an embodiment of the present application in the opening state;

[0046] Figure 13 A cross-sectional structure schematic view of still another opening and closing mechanism provided by an embodiment of the present application in the opening state;

[0047] Figure 14 A partial structure schematic view of still another opening and closing mechanism provided by an embodiment of the present application in the opening state;

[0048] Figure 15 For Figure 14 A cross-sectional structure schematic view of the opening and closing mechanism in the intermediate state.

[0049] Explanation of reference signs:

[0050] 100 - electronic device;

[0051] 101 - opening and closing mechanism; 102 - shell; 103 - flexible screen; 104 - back cover; 105 - outer screen;

[0052] 10 - rotating structure; 11 - door plate; 12 - pin shaft;

[0053] 20 - main shaft structure; 21 - first shaft body;

[0054] 30 - light detection structure; 31 - light source; 32 - light receiver;

[0055] 40 - to-be-measured object; 41 - identification structure. DETAILED DESCRIPTION

[0056] The terms used in the embodiment part of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0057] The foldable electronic device provided by the embodiments of the present application can include, but is not limited to, a foldable fixed terminal or mobile terminal such as a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a touch TV, a walkie-talkie, a netbook, a POS machine, a personal digital assistant (PDA), a wearable device, a virtual reality device, etc.

[0058] For example, the foldable electronic device is a foldable mobile phone. The foldable mobile phone can be a screen-out folding foldable mobile phone, or the foldable mobile phone can be a screen-in folding foldable mobile phone, or the foldable mobile phone can be a partial screen-in folding and partial screen-out folding foldable mobile phone, or the foldable mobile phone can be a screen-in folding foldable mobile phone with an additional outer screen, etc.

[0059] In the embodiments of the present application, the foldable mobile phone with a screen-in folding and an additional outer screen is taken as an example for description.

[0060] Figure 1 A structure schematic diagram of a foldable electronic device in a folded state is provided in the embodiments of the present application.

[0061] Referring to Figure 1 As shown in the figure, the foldable electronic device 100 can include an opening and closing mechanism 101 and a shell 102, wherein the number of the shell 102 can be at least two, for example, the number of the shell 102 is taken as two, for example, the first shell 102a and the second shell 102b, the first shell 102a and the second shell 102b are located on both sides of the opening and closing mechanism 101, and the first shell 102a and the second shell 102b are respectively connected with the opening and closing mechanism 101.

[0062] The opening and closing mechanism 101 can be a structural component used to connect two housings 102 and allow relative rotation between the two housings 102. The first housing 102a and the second housing 102b can be rotated together through the opening and closing mechanism 101, so that the first housing 102a and the second housing 102b can rotate relative to each other, thereby realizing the opening and closing of the electronic device 100.

[0063] The first housing 102a and the second housing 102b can be folded relative to each other into a closed state. See Figure 1 As shown, for example, the first housing 102a and the second housing 102b are in a closed state, and the two can be completely closed to be parallel to each other (a slight deviation is allowed). At this time, the electronic device 100 is in a closed state, also known as a folded state.

[0064] In this embodiment of the application, the included angle between the first housing 102a and the second housing 102b is taken as the folding angle. When the electronic device 100 is in a closed state, the folding angle between the first housing 102a and the second housing 102b can be approximately 0°.

[0065] Figure 2 for Figure 1 The diagram shows the structure of the foldable electronic device in an intermediate state.

[0066] See Figure 2 As shown, the first housing 102a and the second housing 102b can rotate relative to each other (fold or unfold) to an intermediate state so that the electronic device 100 is in an intermediate state.

[0067] Figure 3 for Figure 1 The diagram shows the structure of the foldable electronic device in its flattened state.

[0068] See Figure 3 As shown, the first housing 102a and the second housing 102b can be unfolded to an open state relative to each other. For example, when the first housing 102a and the second housing 102b are in the open state, the first housing 102a and the second housing 102b can be flattened relative to each other, and the folding angle between the first housing 102a, the opening and closing mechanism 101 and the second housing 102b can be approximately 180°. The electronic device 100 is in the open state, also known as the flattened state.

[0069] It should be noted that slight deviations are allowed in the angles illustrated in the embodiments of this application. For example, Figure 3 The foldable electronic device 100 shown can have a folding angle of 180° or approximately 180°, such as 170°, 175°, 185°, or 190°. The angles illustrated in the following text can be understood in the same way.

[0070] in,Figure 2 The intermediate state can be any state between the closed state and the open state. That is, the electronic device 100 can be switched between the open state (i.e., the unfolded state) and the closed state (i.e., the folded state) through the movement of the opening and closing mechanism 101, thereby realizing the opening and closing of the electronic device 100.

[0071] For example, when the electronic device 100 is in the open state, the first housing 102a and the second housing 102b are relatively folded by rotating towards each other, which can realize the switching of the electronic device 100 from the open state to the closed state (or the intermediate state). When the electronic device 100 is in the closed state, the first housing 102a and the second housing 102b are relatively unfolded by rotating away from each other, which can realize the switching of the electronic device 100 from the closed state to the open state (or the intermediate state).

[0072] The housing 102 can be a flat plate structure in a rectangular shape. In the embodiment of the present application, as shown in Figure 3 The width direction of the housing 102 (such as the first housing 102a) is the x direction, the length direction of the housing 102 is the y direction, and the thickness direction of the housing 102 is the z direction. It can be understood that the length, width and thickness in the embodiment of the present application are only for convenience of description, and do not mean any limitation on the size, for example, the length can be greater than, equal to or less than the width. It can be understood that when the foldable electronic device 100 is in the folded state or the unfolded state, the length direction, width direction and thickness direction of the electronic device 100 can correspond to and be consistent with the length direction, width direction and thickness direction of the housing 102.

[0073] Of course, in some other examples, the housing 102 can also be a flat plate structure in a square, circular, oval, rounded rectangular or other shape.

[0074] It should be noted that the electronic device 100 can only include two housings 102, such as the number of the first housing 102a and the second housing 102b, which can be one, so that the electronic device 100 is in the closed state, and the first housing 102a and the second housing 102b are relatively folded into two layers. For example, as shown in Figure 1 The electronic device 100 includes one first housing 102a, one second housing 102b and one opening and closing mechanism 101, the first housing 102a and the second housing 102b are connected by rotating through the opening and closing mechanism 101, and the first housing 102a and the second housing 102b are relatively folded in the folded state, so that the electronic device 100 presents a two-layer middle frame stacking form.

[0075] Alternatively, the electronic device 100 can also include multiple housings 102, such as a first housing 102a, a second housing 102b, and the number of opening and closing mechanisms 101 can be multiple, and the adjacent first housing 102a and the second housing 102b can be connected by one opening and closing mechanism 101, so that the electronic device 100 can be folded into a multi-layer form. For example, the electronic device 100 can include two first housings 102a, one second housing 102b, and two opening and closing mechanisms 101, the two first housings 102a are located on both sides of the second housing 102b, and the two first housings 102a are respectively connected with the second housing 102b by one opening and closing mechanism 101, wherein one of the first housings 102a can be folded with the second housing 102b, and the other first housing 102a can also be folded with the second housing 102b, so that the electronic device 100 is in a closed state, and the first housing 102a and the second housing 102b are folded to form a three-layer middle frame stack. When one of the first housings 102a and the second housing 102b are unfolded relative to the open state, the electronic device 100 is in an open state.

[0076] In the embodiments of the present application, the electronic device 100 includes two housings, a first housing 102a and a second housing 102b, and the first housing 102a and the second housing 102b are connected by one opening and closing mechanism 101 to realize rotation and cooperation.

[0077] Referring to Figure 3 As shown in the figure, the electronic device 100 can also include a foldable flexible screen 103, which is used as a display screen of the electronic device 100 to realize the display of images, text, video, etc.

[0078] Among them, the flexible screen 103 is laid on the opening and closing mechanism 101 and the two housings 102, for example, the flexible screen 103 can be attached to the first housing 102a and the second housing 102b, and the flexible screen 103 can be located on the same side surface of the first housing 102a, the second housing 102b and the opening and closing mechanism 101. When the first housing 102a and the second housing 102b are folded relative to each other, the part of the flexible screen 103 opposite to the opening and closing mechanism 101 is bent. When the first housing 102a and the second housing 102b are unfolded relative to each other, the opening and closing mechanism 101 and the bent part of the flexible screen 103 are also unfolded.

[0079] For example, for the foldable electronic device with the screen outside folding, the flexible screen 103 can be arranged on the outer surface of the first housing 102a, the second housing 102b and the opening and closing mechanism 101. For the foldable electronic device with the screen inside folding, the flexible screen 103 can be arranged on the inner surface of the first housing 102a, the second housing 102b and the opening and closing mechanism 101.

[0080] For example, when the electronic device 100 is in the closed state, the two surfaces of the first housing 102a and the second housing 102b adjacent to and opposite to each other can be the inner surfaces of the first housing 102a and the second housing 102b respectively, and the surface on the same side of the inner surfaces of the first housing 102a and the second housing 102b can be the inner surface of the opening and closing mechanism 101. The two surfaces of the first housing 102a and the second housing 102b opposite to each other can be the outer surfaces of the first housing 102a and the second housing 102b respectively, and the surface on the same side of the outer surfaces of the first housing 102a and the second housing 102b can be the outer surface of the opening and closing mechanism 101.

[0081] In some examples, the flexible screen 103 is arranged on the inner surfaces of the first housing 102a, the second housing 102b and the opening and closing mechanism 101, and the electronic device 100 can further include an outer screen 105 (as shown in Figure 1 and Figure 2 indicated), which can be arranged on the outer surface side of the first housing 102a (and / or the second housing 102b). The outer screen 105 can also serve as the display screen of the electronic device 100, for realizing the display of images, texts, videos and the like.

[0082] Figure 4 As shown in Figure 1 , a split structure schematic diagram of the foldable electronic device.

[0083] As shown in Figure 4 , the electronic device 100 can further include a back cover 104. Taking the example that the outer screen 105 is arranged on the outer surface side of the first housing 102a, the back cover 104 can be located on the outer surface side of the second housing 102b. That is, the outer screen 105 and part of the flexible screen 103 can be located on the two sides of the first housing 102a in the thickness direction (z direction), and the back cover 104 and part of the flexible screen 103 can be located on the two sides of the second housing 102b in the thickness direction (z direction), and the back cover 104, the outer screen 105, the first housing 102a, the second housing 102b and the flexible screen 103 enclose an accommodation space. The accommodation space can be used to assemble various functional structural members of the electronic device 100.

[0084] The housing 102 can include a middle plate and a frame. For example, the first housing 102a can include a first middle plate 1021 and a first frame 1022, and the first frame 1022 is arranged on the outer peripheral edge of the first middle plate 1021. The second housing 102b can also include a second middle plate 1023 and a second frame 1024, and the second frame 1024 is arranged on the outer peripheral edge of the second middle plate 1023, and the opening and closing mechanism 101 can be connected to the first middle plate 1021 and the second middle plate 1023 respectively.

[0085] The electronic device 100 can further include a circuit board, a battery, a charging management module, a power management module, and the like (not shown in the figure), which can be fixed in the above-mentioned accommodation space.

[0086] The circuit board can include a processor, which can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, a display processing unit (DPU), a neural-network processing unit (NPU), and the like. The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction opcodes and timing signals, and complete the control of fetching instructions and executing instructions. The processor 110 can also be provided with a memory for storing instructions and data.

[0087] The processor can include one or more interfaces, which can be used to connect a charger to charge the electronic device 100, and can also be used to realize data transmission between the electronic device 100 and an external device, for example, can also be used to connect a headset, a projection device, and the like.

[0088] The charging management module is used to receive charging input from the charger. The charger can be a wireless charger or a wired charger. In some examples of wired charging, the charging management module can receive charging input from the wired charger through the interface. In some embodiments of wireless charging, the charging management module can receive wireless charging input through the wireless charging coil of the electronic device 100. The charging management module can charge the battery and also supply power to the electronic device 100 through the power management module.

[0089] The power management module is used to connect the battery, the charging management module, and the processor. The power management module receives input from the battery and / or the charging management module to supply power to the processor, the memory, the display screen, the camera module, and the like. The power management module can also be used to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), and the like.

[0090] In some examples, the power management module can be provided in the processor of the circuit board. In other examples, the power management module and the charging management module can also be provided in the same device.

[0091] The structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. For example, the electronic device 100 can also include a communication module, a camera module (such as a front camera and a rear camera), a microphone, a speaker, a flash, and the like.

[0092] In the opening and closing process of the electronic device 100, the folding angle between the first housing 102a and the second housing 102b needs to be detected to determine the state of the electronic device 100. For example, the display interface of the flexible screen 103 and / or the outer screen 105 can be adaptively controlled according to the state of the electronic device 100.

[0093] For example, in the example of the electronic device 100 having the flexible screen 103 and the outer screen 105 described above, when the detected folding angle is 0°, it is determined that the electronic device 100 is in a closed state, and the flexible screen 103 can be controlled to be turned off and the outer screen 105 can be controlled to be turned on. When the detected folding angle is greater than 90°, it is determined that the electronic device 100 is in an intermediate state or an open state with a large angle, and the flexible screen 103 can be controlled to be turned on and the outer screen 105 can be controlled to be turned off.

[0094] Alternatively, in some examples, to improve the interest and playability of the display interface of the electronic device 100, the flexible screen 103 and / or the outer screen 105 can be controlled to match different display interfaces when the electronic device 100 is in different states. For example, when the detected folding angle is 90°, the flexible screen 103 can be controlled to display a corresponding matching interface, and the like.

[0095] Therefore, the detection accuracy of the folding angle between the first housing 102a and the second housing 102b will affect the control accuracy of the display interface of the electronic device 100 in the opening and closing process, the interactivity of the display interface, and the performance and use experience of the electronic device 100.

[0096] Based on this, the embodiment of the present application provides an opening and closing mechanism. The opening and closing mechanism comprises a main shaft structure and a rotating structure. One of the main shaft structure and the rotating structure comprises a to-be-detected member. A light detection structure can be fixed on one of the door plates of the main shaft structure and the rotating structure. The light detection structure can obtain surface information of the to-be-detected member by using a light detection principle. In the process of opening and closing of the opening and closing mechanism, the to-be-detected member rotates relative to the light detection structure. The light detection structure can obtain the surface information of the to-be-detected member in the rotating process. According to the change of the surface information of the main shaft structure before and after rotation, the relative rotation angle between the light detection structure and the to-be-detected member can be analyzed and calculated. Thus, the relative rotation angle between the rotating structure and the main shaft structure can be obtained. The folding angle between the two shells of the electronic device can be detected. According to the detected folding angle, the closing state, the opening state and any hovering state (intermediate state) between the closing state and the opening state of the electronic device can be identified. The light detection structure is used to detect the folding angle of the electronic device. The light detection structure is not easily affected by external magnetic fields or external temperatures and other environments. The light detection structure has higher reliability. The light detection structure itself does not involve resonance, mechanical fatigue and other phenomena. The use stability is greatly improved. The light detection structure can detect small changes in surface information. The precision of the folding angle detection is effectively improved. The electronic device can accurately match the corresponding display interface in different states. The performance and use experience of the electronic device are significantly improved.

[0097] In addition, the light detection structure is arranged on one of the main shaft structure and the door plate. Compared with arranging the light detection structure on other structures such as a complex hinge assembly, the influence of the added light detection structure on the overall structural layout design of the rotating structure can be reduced. The layout difficulty and complexity are reduced. The optimization cost is reduced. The relative rotation angle relationship between the door plate and the main shaft structure, the door plate and the pin shaft of the rotating structure, the pin shaft and the main shaft structure and other structures is relatively simple. The rotation angle between the rotating structure and the main shaft structure is linearly corresponding. By detecting the relative rotation angle between the door plate and the main shaft structure and other structures, the relative rotation angle between the rotating structure and the main shaft structure can be calculated and analyzed. The detection precision of the folding angle is further improved.

[0098] For example, continuing to refer to FIG. 1, Figure 4 As shown in FIG. 1, the opening and closing mechanism 101 can comprise a main shaft structure 20 and a rotating structure 10. The axial direction of the main shaft structure 20 can be parallel to the length direction (y direction) of the electronic device. The two sides of the main shaft structure 20 can be respectively provided with the rotating structure 10. For example, the two opposite sides of the main shaft structure 20 in the width direction (x direction) can be respectively provided with the rotating structure 10a and the rotating structure 10b.

[0099] The two rotating structures 10 can be connected with the two housings 102 respectively, for example, the rotating structure 10a can be fixed with the first housing 102a, and the rotating structure 10b can be fixed with the second housing 102b. The rotating structure 10a and the rotating structure 10b are rotatably connected with the main shaft structure 20, so that the two rotating structures 10 can rotate relative to each other, and the relative rotation of the two rotating structures 10 drives the relative rotation of the two housings 102, and then the rotating connection of the two housings 102 is realized through the opening and closing mechanism 101.

[0100] It can be understood that the included angle between the rotating structure 10a and the rotating structure 10b can correspond to the folding angle of the electronic device, and when the first housing 102a and the second housing 102b are relatively folded to the closed state (folding state), the rotating structure 10a and the rotating structure 10b are also relatively folded to the closed state. For example, the rotating structure 10a and the rotating structure 10b can also be folded to be parallel to each other (see Figure 5 The included angle between the rotating structure 10a and the rotating structure 10b is approximately 0°.

[0101] When the first housing 102a and the second housing 102b are relatively unfolded to the open state (flat state), the rotating structure 10a and the rotating structure 10b are also relatively unfolded to the open state. For example, the included angle between the rotating structure 10a and the rotating structure 10b can be approximately 180°, and at this time, the opening and closing mechanism 101 is also in the open state (also referred to as the flat state).

[0102] The opening and closing mechanism 101 can be switched between the open state and the closed state through the rotation of the rotating structure 10 relative to the main shaft structure 20, so as to realize the opening and closing of the opening and closing mechanism 101, and then realize the opening and closing of the electronic device 100. In the process of opening and closing of the opening and closing mechanism 101, the angle of the rotating structure 10 relative to the main shaft structure 20 is detected, so as to obtain the angle of the included angle between the two rotating structures 10, and then the folding angle between the first housing 102a and the second housing 102b can be obtained.

[0103] The following examples illustrate the relationship between the angle of the rotating structure 10 relative to the main shaft structure 20 and the folding angle between the first housing and the second housing of the electronic device.

[0104] Figure 5 A schematic diagram of the opening and closing process of the opening and closing mechanism provided in the embodiments of the present application.

[0105] For example, see Figure 5As shown in the drawings, the opening and closing mechanism 101 is in an open state shown in (a), the opening and closing mechanism 101 is in an intermediate state shown in (b), and the opening and closing mechanism 101 is in a closed state shown in (c).

[0106] When the opening and closing mechanism 101 is in the open state shown in (a), the electronic device is in a calibration state (also referred to as a reference state or an initial state). On the basis of the state shown in (a), the rotating structure 10a is rotated relative to the main shaft structure 20, for example, the rotating structure 10a is folded (relative folding) relative to the main shaft structure 20 (and the rotating structure 10b) by 90°, that is, the relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is 90°, and the opening and closing mechanism 101 is switched to the intermediate state shown in (b), the angle between the rotating structure 10a and the rotating structure 10b is 90°, and the folding angle between the first shell and the second shell of the electronic device is also 90°.

[0107] The rotating structure 10a is continuously rotated, for example, the rotating structure 10a is continuously folded (relative folding) relative to the main shaft structure 20 (and the rotating structure 10b) by 90°, that is, on the basis of the state shown in (a), the relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is 180°, and the opening and closing mechanism 101 is switched to the closed state shown in (c), the angle between the rotating structure 10a and the main rotating structure 10b is 0°, and the folding angle between the first shell and the second shell of the electronic device 100 is also 0°.

[0108] The relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is the relative angle value between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) during rotation, which can be understood as the angle value of the rotating structure 10a relative to the main shaft structure 20 (and the rotating structure 10b) during rotation.

[0109] When the electronic device is switched from the calibration state (such as the open state in (a) of the figure) to another state (such as the intermediate state in (b) of the figure), on the basis of the included angle value between the rotating structure 10a and the rotating structure 10b (and the main shaft structure 20) in the calibration state, the relative angle value of the rotation between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is superimposed, and the included angle value between the rotating structure 10a and the rotating structure 10b (and the main shaft structure 20) in the other state of the electronic device can be obtained. At this time, the included angle value between the rotating structure 10a and the rotating structure 10b (and the main shaft structure 20) can be an absolute angle value, or can be the included angle value between the rotating structure 10a and the rotating structure 10b (and the main shaft structure 20) in the other state of the electronic device based on or with reference to the included angle value between the rotating structure 10a and the rotating structure 10b (and the main shaft structure 20) in the calibration state of the electronic device.

[0110] The included angle between the rotating structure 10a and the rotating structure 10b (the main shaft structure 20) can correspond to the folding angle of the electronic device, and the folding angle between the first shell and the second shell can be obtained according to the included angle value between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b). The folding angle can also be an absolute angle value, or can be the included angle value between the first shell and the second shell in the other state of the electronic device based on or with reference to the included angle value between the first shell and the second shell in the calibration state of the electronic device.

[0111] According to the obtained absolute angle value (folding angle) between the first shell and the second shell, the state of the electronic device can be determined, and the display interface can be adaptively controlled according to the state of the electronic device, such as matching different display interfaces, dynamic animations, etc. in different states of the electronic device.

[0112] According to the relative rotation angle between the rotating structure 10 and the main shaft structure 20, dynamic animations and the like can be matched during the rotation of the rotating structure 10 relative to the main shaft structure 20, that is, during the opening and closing of the opening and closing mechanism 101 and the electronic device, thereby improving the interest and interactivity of the electronic device and improving the user experience.

[0113] In the embodiments, the process of switching the opening and closing mechanism 101 from the closed state to the open state, or the process of switching the opening and closing mechanism 101 from the open state to the closed state, is referred to as the opening and closing process of the opening and closing mechanism 101.

[0114] Figure 6 A schematic assembly view of an opening and closing mechanism and a flexible screen provided in the embodiments of the present application.

[0115] Referring to Figure 6As shown, the opening and closing mechanism 101 comprises a to-be-measured member 40, which can be a structural member capable of detecting the folding angle. One of the main shaft structure 20 and the rotating structure 10 can comprise the to-be-measured member 40, for example, Figure 6 An example in which the main shaft structure 20 comprises the to-be-measured member 40 is shown. In some other examples, the rotating structure 10 can comprise the to-be-measured member 40 (see Figure 12 As shown.

[0116] Continuing to refer to Figure 6 As shown, the opening and closing mechanism 101 can further comprise a light detection structure 30, which can be a light sensor capable of detecting by light. For example, the light detection structure 30 can obtain surface information of the to-be-measured member 40 by light detection principle. The surface information can include the outer contour shape, texture, roughness, etc. of the surface.

[0117] The light detection structure 30 can be arranged on one of the main shaft structure 20 and the rotating structure 10. For example, during the opening and closing of the opening and closing mechanism 101, one of the main shaft structure 20 and the rotating structure 10 will rotate relative to the to-be-measured member 40, and the light detection structure 30 can be arranged on this structural member. That is, during the opening and closing of the opening and closing mechanism 101, the to-be-measured member 40 and the light detection structure 30 can rotate relative to each other.

[0118] It should be noted that the rotating structure 10 comprises two, and in the example in which the light detection structure 30 is arranged on the rotating structure 10, the light detection structure 30 can be arranged on one of the rotating structures 10. In the example in which the rotating structure 10 comprises the to-be-measured member 40, one of the rotating structures 10 can comprise the to-be-measured member 40. By adding one light detection structure 30, the detection of the folding angle can be realized, and the detection precision is higher, which is beneficial to simplify the structural components in the opening and closing mechanism 101, reduce the layout design difficulty and cost.

[0119] For example, each rotating structure 10 comprises a door panel 11, and when the rotating structure 10 rotates relative to the main shaft structure 20, the door panel 11 will rotate relative to the main shaft structure 20 during the opening and closing of the opening and closing mechanism 101. For example, the light detection structure 30 can be fixedly assembled on the door panel 11, and the main shaft structure 20 can be the to-be-measured member 40, and the light detection structure 30 can obtain the surface information of the main shaft structure 20. During the opening and closing of the opening and closing mechanism 101, the door panel 11 and the light detection structure 30 can jointly rotate relative to the main shaft structure 20 (to-be-measured member 40), and the light detection structure 30 can obtain the surface information of the main shaft structure 20 (to-be-measured member 40) during the rotation. According to the change of the surface information of the main shaft structure 20 (to-be-measured member 40) before and after the rotation, the relative rotation angle between the light detection structure 30 and the main shaft structure 20 (to-be-measured member 40) can be analyzed and calculated.

[0120] Figure 6a for Figure 6 A cross-sectional structural diagram of the opening and closing mechanism during the opening and closing process.

[0121] Taking the rotating structure 10a as an example, the rotating structure 10a includes a door panel 11a, a light detection structure 30 can be disposed on the door panel 11a, and the spindle structure 20 can be the workpiece 40 to be tested. (See also...) Figure 6a As shown, when the rotating structure 10a rotates relative to the main shaft structure 20, the door panel 11a also rotates relative to the main shaft structure 20. For example, the door panel 11a can rotate to the position shown by the dotted line in the figure. When the door panel 11a rotates relative to the main shaft structure 20, it drives the optical detection structure 30 on it to rotate, causing the optical detection structure 30 to rotate relative to the main shaft structure 20 (the part under test 40). For example, if the door panel 11a and the optical detection structure 30 follow an arc-shaped rotation trajectory S as shown in the figure, the optical detection structure 30 can obtain surface information of the main shaft structure 20 before and after rotation. Given that the rotation speed and radius of the optical detection structure 30 and the door panel 11a relative to the main shaft structure 20 are known, the trajectory information (such as trajectory length) of the optical detection structure 30 can be obtained based on the changes in surface information before and after rotation. Based on the trajectory information and the rotation radius, the rotation angle α of the optical detection structure 30 and the door panel 11a relative to the main shaft structure 20 can be obtained. This allows us to obtain the relative rotation angle between the rotating structure 10 and the main shaft structure 20, thus enabling the detection of the folding angle between the two housings of the electronic device.

[0122] Based on the detected folding angle, the closed state, open state, and any hovering state (intermediate state) between the closed and open states of the electronic device 100 can be identified.

[0123] The optical detection structure 30 is used to detect the folding angle of the electronic device 100, thereby detecting and identifying different states of the electronic device 100. Compared with related technologies that use magnetic sensors or inertial measurement devices to detect folding angles, the optical detection structure 30 is less affected by external magnetic fields or external temperatures, and has higher reliability. The optical detection structure 30 itself does not involve resonance or mechanical fatigue, which greatly improves the stability of use.

[0124] The light detection structure 30 can detect the surface information of the to-be-detected member 40, and can detect small changes in the surface information. When the light detection structure 30 and the to-be-detected member 40 rotate relative to each other by a small angle, the detection can also be implemented. For example, the detection rotation angle can be less than or equal to 1°. The range of the detectable rotation angle is large, and the response and sensitivity are high. The accuracy of the folding angle detection is effectively improved. Therefore, the electronic device 100 can accurately control the display interface, accurately match the corresponding display interface in different states, and the like. The performance and use experience of the electronic device 100 are significantly improved.

[0125] In the embodiments of the present application, the shapes of the two rotating structures 10, the included structural members, and the layout modes of the structural members can be the same. The structure and layout mode of the rotating structure 10 are exemplarily described below by taking the rotating structure 10a as an example.

[0126] Referring to Figure 6 As shown in the figure, the rotating structure 10 includes a door plate 11. The other end of the door plate 11 can extend to the outside of the main shaft structure 20. For example, along the width direction (x direction) of the electronic device 100, the other end of the door plate 11 can extend to the outside of the main shaft structure 20, and at least part of the door plate 11 can be located outside the main shaft structure 20.

[0127] In some examples, the rotating structure 10 can further include a hinge assembly (not shown in the figure). The two sides of the main shaft structure 20 respectively have a hinge assembly. The hinge assembly can be an assembly of structural members that can realize the rotating cooperation between the rotating structure 10 and the main shaft structure 20. The door plate 11 can be located on one side of the hinge assembly. For example, the door plate 11 can be located on the side of the hinge assembly facing the flexible screen 103. For example, the hinge assembly can be in sliding cooperation with the door plate 11. When the hinge assembly rotates relative to the main shaft structure 20 to realize the opening and closing of the opening and closing mechanism 101, the door plate 11 can be driven to rotate relative to the main shaft structure 20.

[0128] The outer contour shape of the door plate 11 can be flat plate-like. The door plate 11 can provide relatively flat support for the flexible screen 103. For example, the side of the door plate 11 away from the hinge assembly can be a smooth support surface. The part of the flexible screen 103 opposite to the opening and closing mechanism 101 can be attached to the support surface of the door plate 11. When the rotating structure 10 rotates relative to the main shaft structure 20, the door plate 11 rotates relative to the main shaft structure 20, and the part of the flexible screen 103 opposite to the opening and closing mechanism 101 is bent or unfolded.

[0129] For example, the hinge assembly can include a swing piece, one end of the swing piece is rotationally coupled with the main shaft, for example, one end of the swing piece can have an arc-shaped sliding wall, the main shaft structure 20 can have an arc-shaped sliding groove, the arc-shaped sliding wall of the swing piece can slide in the arc-shaped sliding groove of the main shaft, so that the swing piece rotates relative to the main shaft, realizing the rotational coupling between the rotating structure 10 and the main shaft structure 20. Alternatively, in some other examples, one end of the swing piece can also be rotationally coupled with the main shaft structure 20 through a pin shaft or the like.

[0130] For example, the hinge assembly can also include a linkage piece for realizing the linkage of the rotating structures 10a and 10b located on both sides of the main shaft structure 20. For example, the linkage piece can be rotationally coupled with the main shaft structure 20 through a pin shaft, and the linkage pieces in the two rotating structures 10 are linked, for example, when the rotating structure 10a rotates relative to the main shaft structure 20, the rotating structure 10b can also rotate relative to the main shaft structure 20 through the linkage piece.

[0131] For example, the hinge assembly can also include a connecting piece, the connecting pieces in the two rotating structures 10 can be connected together with the first shell and the second shell of the electronic device 100, respectively, for example, the two connecting pieces can be connected with the first middle plate of the first shell and the second middle plate of the second shell, respectively. The connecting piece can be coupled with the swing piece and / or the linkage piece, so that when the rotating structure 10 rotates relative to the main shaft structure 20, the connecting piece is driven to rotate relative to the main shaft structure 20 through the swing piece and / or the linkage piece, realizing the relative rotation between the first shell and the second shell.

[0132] It should be noted that during the opening and closing of the opening and closing mechanism 101, the hinge assembly and the door plate 11 can rotate relative to the main shaft structure 20, the structure of the hinge assembly itself and the layout of the structure are relatively complex, and at least part of the structure in the hinge assembly cannot be synchronously rotated relative to the main shaft structure 20 with the door plate 11. For example, the rotation of the door plate 11 relative to the main shaft structure 20 with the pin shaft, swing piece, etc. can be asynchronous, for example, taking the door plate 11 and the pin shaft as an example, during the opening and closing of the opening and closing mechanism 101, the door plate 11 and the pin shaft can rotate relative to the main shaft structure 20, and the door plate 11 and the pin shaft can also rotate relative to each other.

[0133] Among them, the light detection structure 30 can be fixed on one of the main shaft structure 20 and the door plate 11, for example, the light detection structure 30 can be fixed and assembled on the main shaft structure 20, and the to-be-measured piece 40 can be any structure in the rotating structure 10 that rotates relative to the main shaft structure 20 during the opening and closing of the opening and closing mechanism 101, for example, it can be the swing piece, the linkage piece, the pin shaft, the connecting piece, the door plate 11, etc.

[0134] The light detection structure 30 can be fixedly assembled on the door panel 11. The to-be-measured member 40 can be any structure of the rotating structure 10 and the main shaft structure 20 that rotates relative to the door panel 11, such as the main shaft structure 20 or a pin shaft.

[0135] Compared with arranging the light detection structure 30 on other structures in the opening and closing mechanism 101, such as a complex hinge assembly, arranging the light detection structure 30 on one of the main shaft structure 20 and the door panel 11 can reduce the influence of the added light detection structure 30 on the overall structural layout design of the rotating structure 10, reduce the layout difficulty and complexity, and reduce the optimization cost.

[0136] Compared with the complex hinge assembly, the relative rotation angle relationship between the structure in the hinge assembly and the main shaft structure 20 is relatively complex. The relative rotation angle between the structure in the hinge assembly and the main shaft structure 20 and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 are not a single linear relationship. However, the relative rotation angle between the door panel 11 and the main shaft structure 20, the relative rotation angle between the door panel 11 and the pin shaft, and the relative rotation angle between the pin shaft and the main shaft structure 20 are relatively simple, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 is linearly corresponding. By detecting the relative rotation angle between the door panel 11 and the main shaft structure 20, the relative rotation angle between the door panel 11 and the pin shaft, and the relative rotation angle between the pin shaft and the main shaft structure 20, the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can be easily calculated and analyzed, which is beneficial to further improve the detection accuracy of the folding angle.

[0137] Figure 7 For Figure 6 the detection principle of the light detection structure, Figure 8 the change of the surface information obtained by the light detection structure during the opening and closing process of the opening and closing mechanism.

[0138] For example, as shown in Figure 7 For example, as shown in

[0139] The light detection structure 30 can be fixedly assembled on the door panel 11. The to-be-measured member 40 can be any structure of the rotating structure 10 and the main shaft structure 20 that rotates relative to the door panel 11, such as the main shaft structure 20 or a pin shaft.

[0140] In the opening and closing process of the opening and closing mechanism 101, the measured member 40 rotates relative to the light detection structure 30, as shown in Figure 7 The pin shaft 12 (measured member 40) rotates relative to the light detection structure 30 in the direction indicated by the arrow, and the light detection structure 30 can obtain the change of the surface information of the measured member 40 during rotation. As shown in Figure 8 The spot image obtained on the light receiver 32 after rotation changes, and the relative rotation angle can be calculated by calculating the pixel movement of the adjacent two spot images. Thus, the relative rotation angle between the light detection structure 30 and the measured member 40 can be obtained by the signal difference of the outgoing light and the returning light of the light detection structure 30 at adjacent times, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can be obtained, thereby realizing the detection of the folding angle number.

[0141] In actual application, a certain state of the electronic device 100 can be defined as a calibration state when the electronic device 100 is shipped. The folding angle of the electronic device 100, the included angle between the rotating structure and the main shaft structure, and the state of the electronic device are known when the electronic device 100 is in the calibration state. For example, the opening state of the electronic device 100 is defined as the calibration state of the electronic device 100, and the folding angle (and the included angle value between the rotating structure and the main shaft structure) of the electronic device 100 is 180° when the electronic device 100 is in the calibration state, and the electronic device 100 is in the closed state.

[0142] When the electronic device 100 is folded (or closed) from the opening state (calibration state), the light detection structure 30 rotates relative to the measured member 40 by a certain angle, and the light detection structure 30 obtains the surface information of the measured member 40 after rotation. According to the surface information obtained after rotation and the surface information (such as the number of pixel movements of the spot image) in the calibration state, the angle of rotation of the light detection structure 30 relative to the measured member 40 can be calculated, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can be obtained. The folding angle can be obtained by superimposing the relative rotation angle on the included angle value between the rotating structure 10 and the main shaft structure 20 in the calibration state, and the state of the electronic device 100 can be determined.

[0143] Figure 9 Another structure diagram of a measured member in an opening and closing mechanism provided by the embodiment of the application.

[0144] For example, referring to Figure 9As shown, the surface of the to-be-measured member 40 can have a mark structure 41. When the included angle between the rotating structure 10 and the main shaft structure 20 is the preset angle, the surface information of the to-be-measured member 40 obtained by the light detection structure 30 includes the pattern information of the mark structure 41. That is, when the included angle between the rotating structure 10 and the main shaft structure 20 is the preset angle, the outgoing light emitted by the light detection structure can irradiate on the mark structure 41, and the light detection structure 30 can receive the return light returned by the mark structure 41 to obtain the pattern information of the mark structure 41, thereby identifying the mark structure 41.

[0145] When the included angle between the rotating structure 10 and the main shaft structure 20 is the preset angle and the light detection structure 30 can obtain the pattern information of the mark structure 41 on the to-be-measured member 40, the state of the electronic device 100 is defined as the calibration state. When the light detection structure 30 detects and identifies the pattern information of the mark structure 41, the electronic device 100 is in the calibration state, and the preset angle between the rotating structure 10 and the main shaft structure 20, the folding angle and the state of the electronic device 100 are known.

[0146] When the opening and closing mechanism 101 is opened and closed to switch the state of the electronic device 100, the current folding angle and state of the electronic device 100 can be obtained by referring to the calibration state of the electronic device 100 and superimposing the detected relative rotation angle, which is more convenient and fast to judge the state of the electronic device 100 and timely correspond to match the display interface of the electronic device 100, thereby improving the matching and accuracy between the state of the electronic device 100 and the display interface and improving the performance and use experience of the electronic device 100.

[0147] According to the identification of the mark structure 41 on the to-be-measured member 40 by the light detection structure, the calibration of the folding angle can also be realized. For example, when the light detection structure 30 identifies the mark structure 41 on the to-be-measured member 40, the state of the electronic device can be defined as the calibration state, and the folding angle of the electronic device is the folding angle in the calibration state, and the corresponding display interface is matched in the calibration state. The folding angle error caused in the opening and closing process of the electronic device can be calibrated, and the matching and accuracy between the state of the electronic device and the display interface are further improved.

[0148] In addition, in some specific scenarios, the setting of the mark structure 41 can improve the responsiveness and accuracy of the display interface matching. For example, in the scenario of changing the state of the electronic device after the electronic device is powered off and then powered on, when the electronic device is in the calibration state after being powered on, the light detection structure can directly identify the to-be-measured member 40 to judge the state of the electronic device, and the display interface of the electronic device can be quickly and accurately matched.

[0149] Figure 9a Another opening and closing process schematic diagram of the opening and closing mechanism provided by the embodiment of the present application.

[0150] When the electronic device is not in the calibration state after being powered on again, the electronic device can be unfolded or folded. When the light detection structure identifies the to-be-detected member, the state of the electronic device can be determined, and the display interface of the electronic device can be quickly and accurately matched. For example, referring to FIG. 1, when the opening and closing mechanism 101 is in the intermediate state of 90° as shown in (f), the electronic device is in the calibration state. For example, when the electronic device is in the closed state as shown in (d), the electronic device is powered off. For example, when the electronic device is kept in the powered-off state, the electronic device is unfolded to change the state of the electronic device. For example, the electronic device is in the intermediate state as shown in (e). At this time, the included angle between the rotating structure 10a of the opening and closing mechanism 101 and the main shaft structure 20 is β, which can be any value other than 0° and 90°. The electronic device is not in the calibration state, and the light detection structure cannot identify the to-be-detected member. Figure 9a In the intermediate state as shown in (e), the electronic device is powered on again. For example, the electronic device can be continuously unfolded. For example, the opening and closing mechanism 101 is in the intermediate state of 90° as shown in (f). The light detection structure can identify the to-be-detected member, and the electronic device is in the calibration state. It is determined that the current electronic device is in the intermediate state of 90°, and the corresponding display interface can be quickly and accurately matched.

[0151] It should be noted that the above is only an example of the electronic device being in the calibration state when the opening and closing mechanism 101 is in the intermediate state of 90°. In examples in which the electronic device has multiple calibration states or the included angle between the rotating structure and the main shaft structure in the opening and closing mechanism 101 is other values, when the electronic device is powered on again, the electronic device can be unfolded or folded to enable the light detection structure to identify the to-be-detected member, and the electronic device can be in one of the calibration states. The state of the electronic device can be quickly and accurately identified.

[0152] It can be understood that the absolute angle value between the rotating structure and the main shaft structure is not obtained by using the identification structure and the calibration state, and only the relative rotation angle between the rotating structure and the main shaft structure is obtained by the light detection structure. In the above specific scenarios, for example, in the scenario in which the state of the electronic device is changed after the electronic device is powered off and then powered on again, the state of the electronic device (for example, the closed state as shown in (d)) can be recorded before the electronic device is powered off. When the electronic device is powered on, the state of the electronic device (for example, the intermediate state as shown in (e)) changes, and the recorded state of the electronic device is inaccurate. The electronic device is unfolded or folded, and only the relative rotation angle between the rotating structure and the main shaft structure can be obtained. Even if the relative rotation angle is superimposed on the recorded state, the current state of the electronic device cannot be accurately obtained, and the matching accuracy of the display interface of the electronic device is poor.

[0153]

[0154] ​The setting of the identification structure 41 can increase the difference between the surface information of the calibration state and the surface information of other states of the to-be-tested member 40, make the surface information of the calibration state unique and distinct, facilitate comparison with the surface information in other states, and improve detection accuracy.

[0155] Of course, in some other examples, the calibration state of the electronic device 100 can also be that the electronic device 100 is in an open state or any intermediate state. For example, when the light detection structure 30 obtains the identification structure 41 information described above, the preset angle between the rotating structure 10 and the main shaft structure 20 can be any one of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, and 180°. That is, when the electronic device 100 is in the calibration state, the folding angle of the electronic device 100 can be any one of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, and 180°. Of course, in some other examples, the preset angle can also be other numerical values.

[0156] For example, as shown in FIG. 1, the identification structure 41 can be a graphical identification provided on the surface of the to-be-tested member 40, and the graphical information of the identification structure 41 can include the graphical shape of the graphical identification. Figure 9

[0157] For example, the graphical identification can be formed on the surface of the to-be-tested member 40 by bonding, groove carving, or the like, and has high design flexibility. Each identification structure 41 can include one graphical identification, or can include a plurality of graphical identifications, to improve the uniqueness and distinctiveness of the identification structure 41.

[0158] In the embodiments of the present application, the specific shape of the graphical identification is not limited, for example, the shape of the graphical identification can be a regular or irregular shape such as a triangle, a circle, or a rectangle. The graphical identification can also be a word, an image, a logo, or the like.

[0159] Alternatively, the identification structure 41 can also be a texture structure provided on the surface of the to-be-tested member 40, and the graphical information of the identification structure 41 can include a texture pattern of the texture structure, and the like.

[0160] For example, when the to-be-tested member 40 is formed, a special texture structure such as roughness and shape is designed and formed on the surface of a part, which is different from the surface of other parts. The design flexibility of the identification structure 41 is rich, the identification structure 41 can be formed when the to-be-tested member 40 is formed, which is beneficial to simplify the forming step and facilitate implementation.

[0161] In some examples, the identification structure 41 on the to-be-tested member 40 can be one.

[0162] ​Alternatively, in some examples, the identification structure 41 on the to-be-tested member 40 can be multiple, and the graphical information of the multiple identification structures 41 can be different, which can include the graphical shape, the texture pattern, etc. described above.

[0163] The multiple identification structures 41 can be distributed along the rotation direction of the to-be-tested member 40 relative to the light detection structure 30, and each identification structure 41 can correspond to a preset angle. In this way, through the multiple different identification structures 41, the electronic device 100 can correspondingly have multiple calibration states. For example, in combination with the opening and closing use habits of the electronic device 100, the more commonly used states (for example, the open state, the 90° intermediate state, the closed state, etc.) can be defined as the calibration states. In daily use, the folding angle and state of the electronic device 100 can be quickly and accurately obtained according to the graphical information of the identification structure 41 obtained by the light detection structure 30, the corresponding display interface can be quickly matched, the smoothness and accuracy of the display interface display are improved, and the use experience is improved.

[0164] In addition, in some specific scenarios, the setting of the multiple identification structures 41 can further improve the responsiveness of the display interface matching. For example, in the scenario of changing the state of the electronic device 100 after the electronic device 100 is powered off and then powered on, when the electronic device 100 is not in the calibration state after being powered on, a small-angle expansion or folding of the electronic device 100 can make the electronic device 100 in the calibration state, so as to timely match the display interface, the response is fast and accurate, and the use experience is effectively improved.

[0165] For example, taking the identification structure 41 having three as an example, when the preset angles between the rotating structure 10 and the main shaft structure 20 are 0°, 90° and 180°, the light detection structure 30 can correspondingly detect the graphical information of the three identification structures 41, that is, the closed state, the 90° intermediate state and the open state of the electronic device 100 can be defined as the calibration states. For example, after the electronic device 100 is powered off, the electronic device 100 is expanded from the original closed state, and the electronic device 100 is in a certain intermediate state (for example, 45°) and then powered on, the electronic device 100 only needs to be expanded or folded by 45°, and the electronic device 100 can be in the calibration state. The light detection structure 30 can identify the corresponding identification structure 41, so as to quickly obtain the folding angle and state of the current electronic device 100, and quickly and accurately match the display interface, etc.

[0166] For example, the preset angles between the rotating structure 10 and the main shaft structure 20 can include any one or more of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150° and 180°. Of course, in some other examples, the preset angles can also be other numerical values.

[0167] The following takes one of the main shaft structure 20 and the rotating structure 10a as an example, which includes the to-be-measured member 40, and the light detection structure 30 is fixed on one of the main shaft structure 20 and the door plate 11 of the rotating structure 10a to illustrate the layout mode of the to-be-measured member 40 and the light detection structure 30. As described above, the to-be-measured member 40 and the light detection structure 30 can also be arranged on the rotating structure 10b. In the example in which one of the main shaft structure 20 and the rotating structure 10b includes the to-be-measured member 40, and the light detection structure 30 is fixed on one of the main shaft structure 20 and the door plate 11 of the rotating structure 10b, the layout mode of the to-be-measured member 40 and the light detection structure 30 can refer to the example.

[0168] Figure 10 For Figure 6 A cross-sectional structure schematic diagram of the intermediate state of the opening and closing mechanism.

[0169] In some examples, referring to Figure 10 The light detection structure 30 can be arranged on the other end of the door plate 11, and the main shaft structure 20 can include the to-be-measured member 40. During the opening and closing of the opening and closing mechanism 101, the light detection structure 30 is fixed relative to the door plate 11, and the door plate 11 and the light detection structure 30 jointly rotate relative to the main shaft structure 20. The relative rotation angle between the door plate 11 and the main shaft structure 20 can be obtained through the light detection structure 30, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can be obtained, thereby realizing detection of the folding angle.

[0170] For example, the main shaft structure 20 can include a first shaft body 21 and a second shaft body (not shown in the figure), and the first shaft body 21 can be arranged on one side of the second shaft body, for example, the first shaft body 21 can be arranged on the side of the second shaft body facing the flexible screen 103. The first shaft body 21 and the second shaft body can surround a receiving cavity therebetween, and part of the hinge assembly can be arranged in the receiving cavity.

[0171] It should be noted that, Figure 10 A schematic block diagram of the main shaft structure 20 is shown in the middle, and in some examples, the second shaft body can be a plate-like structure, and the first shaft body 21 can be a circular arc shape. The first shaft body 21 is arranged on one side of the second shaft body, so that the first shaft body 21 and the second shaft body surround a receiving cavity therebetween. The first shaft body 21 can serve as a decoration piece (deco) of the main shaft structure 20, so as to protect and decorate the structural members (such as part of the structure of the hinge assembly) in the receiving cavity.

[0172] When the opening and closing mechanism 101 is in the open state, the second shaft body and the door plate 11 can be located on the same side, and the second shaft body and the two door plates 11 can approximately form a plate-shaped plane. The first shaft body 21 can be protrudingly arranged on one side of the second shaft body, that is, along the thickness direction (z direction) of the electronic device 100, the maximum height of the first shaft body 21 can be higher than the height of the second shaft body and the first door plate 11.

[0173] The first shaft body 21 can be used as the to-be-detected member 40, and the light detection structure 30 can obtain the surface information of the outer surface of the first shaft body 21 (facing away from the accommodating cavity of the main shaft structure 20). During the opening and closing of the opening and closing mechanism 101, the door plate 11 and the light detection structure 30 can be relatively fixed, and the door plate 11 and the light detection structure 30 can rotate relative to the first shaft body 21 and the second shaft body. The outgoing light of the light detection structure 30 can irradiate on the outer surface of the first shaft body 21, and the returned light can be received by the light detection structure 30, so as to obtain the surface information of the outer surface of the first shaft body 21. According to the change of the surface information of the outer surface of the first shaft body 21 during the opening and closing, the rotation angle of the door plate 11 relative to the first shaft body 21 is obtained, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 is obtained, and the detection of the folding angle is realized. The surface information of the outer surface of the first shaft body 21 is detected by using the light detection structure 30 arranged on the door plate 11, and the detection of the folding angle is realized, and the structure design is simple. The areas of the outer surfaces of the door plate 11 and the first shaft body 21 are relatively large, which can facilitate the assembly and implementation of the light detection structure 30, and has high design flexibility, such as facilitating the flexible design of the identification structure 41.

[0174] Figure 11 For Figure 10 A cross-sectional structure schematic diagram of the opening and closing mechanism in the open state.

[0175] In order to ensure that the light detection structure 30 can well detect the surface information of the outer surface of the first shaft body during the opening and closing of the opening and closing mechanism 101. For example, as shown in Figure 11 When the opening and closing mechanism 101 is in the open state, the height of the light outlet of the light detection structure 30 along the thickness direction (z direction) of the electronic device 100 can be less than the height of the outer surface of the first shaft body 21. It is ensured that the outgoing light emitted from the light outlet of the light detection structure 30 can irradiate on the outer surface of the first shaft body 21 during the opening and closing of the opening and closing mechanism 101, so as to obtain the surface information of the outer surface of the first shaft body 21.

[0176] Continuing to refer to Figure 11As shown, when the opening and closing mechanism 101 is in the open state, the distance between the light detection structure 30 and the outer surface of the first shaft 21 along the width direction (x direction) of the electronic device 100 can be greater than the height of the outer surface of the first shaft 21. This ensures that the arrangement of the light detection structure 30 does not affect the relative rotation between the door panel 11 and the main shaft structure 20, and ensures the smoothness of the opening and closing of the opening and closing mechanism 101.

[0177] In examples where the height of the outer surface of the first shaft 21 is not uniform, such as in examples where the first shaft 21 has a roughly arched shape, the height of the outer surface of the first shaft 21 can be the maximum height of the outer surface of the first shaft 21.

[0178] In some examples, the spindle structure 20 may not include the first shaft 21 described above; for example, the spindle structure 20 may include only the second shaft.

[0179] The optical detection structure 30 can be mounted on the door panel 11, and the structural component in the rotating structure 10 can serve as the test piece 40. For example, refer to... Figure 10 As shown, the pin 12 in the rotating structure 10 can be the test piece 40. The pin 12 is set on the main spindle structure 20. For example, the pin 12 can be rotatably engaged with the second shaft. The main spindle structure 20 does not include the first shaft 21, and the pin 12 can be exposed outside the main spindle structure 20.

[0180] The optical detection structure 30 can obtain surface information of the outer circumferential surface of the pin 12. During the opening and closing process of the opening and closing mechanism 101, the door panel 11 and the optical detection structure 30 can be relatively fixed, while the door panel 11, the optical detection structure 30, and the pin 12 can rotate relative to the main shaft structure 20, and a relative rotation also occurs between the door panel 11 and the pin 12. The emitted light from the optical detection structure 30 can illuminate the outer circumferential surface of the pin 12, and the returned light can be received by the optical detection structure 30, thereby obtaining surface information of the outer circumferential surface of the pin 12. Based on the change in surface information of the outer circumferential surface of the pin 12 during the opening and closing process, the rotation angle of the door panel 11 relative to the main shaft structure 20 (second shaft) is obtained, which also yields the relative rotation angle between the rotating structure 10 and the main shaft structure 20, thus enabling the detection of the folding angle. The structural design is simple and facilitates the assembly of the optical detection structure 30, enriching the structure and layout of the test piece 40 and improving the layout flexibility for detecting the folding angle.

[0181] In some examples, the spindle structure 20 may include the first shaft 21 and the second shaft described above, and the light detection structure 30 may also be arranged within the receiving cavity of the spindle structure 20.

[0182] Figure 12 This is a cross-sectional structural diagram of another opening and closing mechanism provided in the embodiments of this application in the open state.

[0183] For example, referring to Figure 12 As shown, the light detection structure 30 can be arranged in the accommodating cavity of the main shaft structure 20, and the light detection structure 30 can be assembled and connected with the first shaft body 21 or the second shaft body of the main shaft structure 20.

[0184] The pin shaft 12 in the accommodating cavity can be the measured member 40, and the light detection structure 30 can obtain the surface information of the pin shaft 12. Arranging the light detection structure 30 in the accommodating cavity of the main shaft structure 20 can avoid the influence of the additional light detection structure 30 on the cooperation and assembly relationship between the structure member such as the flexible screen and the rotating structure 10 (or the main shaft structure 20), thereby facilitating to reduce the layout difficulty and complexity and reduce the optimization cost.

[0185] For example, in some examples, the light detection structure 30 can be located on the circumferential outer side of the pin shaft 12, and the light detection structure 30 can obtain the surface information of the circumferential outer side of the pin shaft 12. During the opening and closing process of the opening and closing mechanism 101, the light detection structure 30 and the main shaft structure 20 can be relatively fixed, the pin shaft 12 can rotate relative to the main shaft structure 20 and the light detection structure 30, the outgoing light of the light detection structure 30 can irradiate on the circumferential outer side of the pin shaft 12, and the returned light can be received by the light detection structure 30, so as to obtain the surface information of the circumferential outer side of the pin shaft 12. According to the change of the surface information of the circumferential outer side of the pin shaft 12 during the opening and closing process, the rotation angle of the pin shaft 12 relative to the main shaft structure 20 is obtained, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 is obtained, thereby realizing the detection of the folding angle. The layout design of the measured member 40 and the light detection structure 30 is enriched, and the layout flexibility of the detection of the folding angle is improved.

[0186] For example, the light detection structure 30 can be located on any one side of the circumferential outer side of the pin shaft 12, such as Figure 12 As shown in FIG. 6, along the thickness direction (z direction) of the electronic device 100, the light detection structure 30 can be located on one side of the circumferential outer side of the pin shaft 12. For example, along the thickness direction (z direction) of the electronic device 100, the light detection structure 30 can be located above or below the pin shaft 12.

[0187] Figure 13 FIG. 7 is another cross-sectional structure schematic diagram of the opening and closing mechanism in the open state provided by an embodiment of the present application.

[0188] Alternatively, referring to Figure 13 As shown in FIG. 7, along the width direction (x direction) of the electronic device 100, the light detection structure 30 can be located on one side of the circumferential outer side of the pin shaft 12. For example, along the width direction (x direction) of the electronic device 100, the light detection structure 30 can be located on the left side or the right side of the pin shaft 12.

[0189] Figure 14This is a partial structural diagram of another opening and closing mechanism provided in the embodiments of this application, in the open state. Figure 15 for Figure 14 A cross-sectional structural diagram of the opening and closing mechanism in the middle state.

[0190] Or, in some examples, see Figure 14 As shown, the optical detection structure 30 can be located on one side of the pin 12 along the axial direction (y direction in the figure), and the optical detection structure 30 can obtain the surface information of one end face of the pin 12 along the axial direction. Combined with... Figure 15 As shown, during the opening and closing process of the opening and closing mechanism 101, the optical detection structure 30 can be relatively fixed relative to the main shaft structure 20, while the pin 12 can rotate relative to the main shaft structure 20 and the optical detection structure 30. The emitted light from the optical detection structure 30 can illuminate the end face of the pin 12 along the axial direction, and the returned light can be received by the optical detection structure 30, thereby obtaining the surface information of the end face of the pin 12 along the axial direction. Based on the change in the surface information of the end face of the pin 12 during the opening and closing process, the rotation angle of the pin 12 relative to the main shaft structure 20 can be obtained, which also yields the relative rotation angle between the rotating structure 10 and the main shaft structure 20, thus enabling the detection of the folding angle. This enriches the layout design of the test piece 40 and the optical detection structure 30, improving the layout flexibility for detecting the folding angle.

[0191] In the description of the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, an indirect connection through an intermediate medium, or the internal connection of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application according to the specific circumstances. The terms "first," "second," "third," "fourth," etc. (if present) are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0192] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although the embodiments of this application have 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 or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. An opening and closing mechanism (101), characterized in that, include: Spindle structure (20); Two rotating structures (10) are located on both sides of the main shaft structure (20). The rotating structures (10) are rotatably engaged with the main shaft structure (20) to realize the opening and closing of the opening and closing mechanism (101). The rotating structure (10) includes a door panel (11). One of the main shaft structure (20) and the rotating structure (10) includes a test piece (40). The optical detection structure (30) is fixed on one of the main shaft structure (20) and the door panel (11). During the opening and closing process of the opening and closing mechanism (101), the test piece (40) rotates relative to the optical detection structure (30). The optical detection structure (30) is used to obtain the surface information of the test piece (40) to detect the relative rotation angle between the rotating structure (10) and the main shaft structure (20).

2. The opening and closing mechanism (101) according to claim 1, characterized in that, The surface of the test piece (40) has a marking structure (41); When the angle between the rotating structure (10) and the main shaft structure (20) is a preset angle, the surface information of the test piece (40) obtained by the optical detection structure includes the graphic information of the marking structure (41).

3. The opening and closing mechanism (101) according to claim 2, characterized in that, The surface of the test piece (40) is provided with graphic markings to form the marking structure (41); Alternatively, the surface of the test piece (40) may have a textured structure to form the identification structure (41).

4. The opening and closing mechanism (101) according to claim 3, characterized in that, The surface of the test piece (40) has a plurality of marking structures (41), the graphic information of the plurality of marking structures (41) is different, the plurality of marking structures (41) are distributed at intervals along the rotation direction of the relative rotation of the test piece (40) and the optical detection structure (30), and each marking structure (41) corresponds to a preset angle; The preset angle includes any one or more of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, and 180°.

5. The opening and closing mechanism (101) according to any one of claims 1-4, characterized in that, One end of the door panel (11) engages with the main shaft structure (20), and the other end of the door panel (11) extends to the outside of the main shaft structure (20); The optical detection structure (30) is disposed on the other end of the door panel (11), and the main shaft structure (20) includes the test piece (40).

6. The opening and closing mechanism (101) according to claim 5, characterized in that, The main shaft structure (20) includes a first shaft (21) and a second shaft. When the opening and closing mechanism (101) is in the open state, the second shaft and the door panel (11) are located on the same side, and the first shaft (21) protrudes out and is disposed on one side of the second shaft. The first shaft (21) is the test piece (40), and the optical detection structure (30) is used to obtain surface information of the outer surface of the first shaft (21).

7. The opening and closing mechanism (101) according to claim 6, characterized in that, When the opening and closing mechanism (101) is in the open state, the distance between the light detection structure (30) and the outer surface of the first shaft (21) is greater than the height between them.

8. The opening and closing mechanism (101) according to claim 6, characterized in that, When the opening and closing mechanism (101) is in the open state, the height of the light outlet of the light detection structure (30) is less than the height of the outer surface of the first shaft (21).

9. The opening and closing mechanism (101) according to any one of claims 1-4, characterized in that, The rotating structure (10) includes a pin (12), which is disposed on the main shaft structure (20); The optical detection structure (30) is disposed on the door panel (11), the pin (12) is the test piece (40), and the optical detection structure (30) is used to obtain the surface information of the outer circumferential side of the pin (12).

10. The opening and closing mechanism (101) according to any one of claims 1-4, characterized in that, The main shaft structure (20) includes a first shaft (21) and a second shaft. The first shaft (21) protrudes from one side of the second shaft, and the first shaft (21) and the second shaft form a receiving cavity. The rotating structure (10) includes a pin (12), which is disposed within the receiving cavity; The optical detection structure (30) is fixed inside the receiving cavity, and the pin (12) is the test piece (40).

11. The opening and closing mechanism (101) according to claim 10, characterized in that, The optical detection structure (30) is located on the circumferential outer side of the pin (12), and the optical detection structure (30) is used to obtain surface information of the circumferential outer side of the pin (12).

12. The opening and closing mechanism (101) according to claim 10, characterized in that, The optical detection structure (30) is located on one side of the pin (12) along the axial direction, and the optical detection structure (30) is used to obtain the surface information of one end face of the pin (12) along the axial direction.

13. The opening and closing mechanism (101) according to any one of claims 1-4, characterized in that, The optical detection structure (30) includes a light source (31) and a light receiver (32). The light source (31) is used to emit outgoing light to the test piece (40), and the light receiver (32) is used to receive the return light returned by the test piece (40) to obtain the surface information of the test piece (40).

14. An electronic device (100), characterized in that, It includes two housings (102) and an opening and closing mechanism (101) as described in any one of claims 1-13 above. The two housings (102) are rotatably engaged by the opening and closing mechanism (101) to realize the opening and closing of the electronic device (100).