Folding mechanism and electronic device
By combining the optical detection structure with the main shaft structure and the rotation structure, the problem of insufficient accuracy in folding angle detection in foldable electronic devices is solved, achieving high-precision angle detection and improving the stability of the device and the accuracy of the display interface matching.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-09-18
- Publication Date
- 2026-07-09
Smart Images

Figure CN2025122341_09072026_PF_FP_ABST
Abstract
Description
Opening and closing mechanisms and electronic equipment
[0001] This application claims priority to Chinese Patent Application No. 202423323106.3, filed with the China National Intellectual Property Administration on December 31, 2024, entitled "Opening and Closing Mechanism and Electronic Equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic technology, and in particular to an opening and closing mechanism and an electronic device. Background Technology
[0003] With the gradual maturation of flexible screen technology, the display methods of electronic devices have undergone tremendous changes. One of these changes is the emergence of foldable mobile phones, computers, and other electronic devices. Foldable electronic devices can flexibly switch modes according to different usage scenarios, while also having a high screen-to-body ratio and high clarity. For example, a foldable mobile phone can be folded to the size of a traditional mobile phone, making it easy to carry, while unfolding it can have the display size of a tablet. These features make foldable electronic devices one of the most sought-after products.
[0004] A foldable electronic device includes at least two housings, an opening and closing mechanism, and a flexible display screen. The two housings are located on either side of the opening and closing mechanism and can rotate relative to each other. The flexible display screen folds or flattens as the housings rotate, allowing the electronic device to have folded, intermediate, and flat states. The electronic device may also include a device for detecting the folding angle to determine its state. For example, based on the folded, flattened, or intermediate state, the flexible display screen can be matched to a corresponding display interface. The accuracy of folding angle detection in current electronic devices needs further improvement. Summary of the Invention
[0005] This application provides an opening and closing mechanism and an electronic device that can achieve high-precision detection of folding angle, has high stability, and has low cost.
[0006] The first aspect of this application provides an opening and closing mechanism, including a main shaft structure and two rotating structures. The two rotating structures are located on both sides of the main shaft structure, and the rotating structures rotate in coordination with the main shaft structure to realize the opening and closing of the opening and closing mechanism.
[0007] The rotating structure includes a door panel, a main shaft structure, and a component under test in one of the rotating structures. The component under test can be a structural component in the main shaft structure or the rotating structure that can be used to detect the folding angle.
[0008] The opening and closing mechanism also includes a photodetector structure, which is used to obtain surface information of the device under test (DUT). This surface information can include the outer contour shape, texture, roughness, etc. During the opening and closing process, the DUT and the photodetector structure rotate relative to each other. The photodetector structure can obtain the surface information of the DUT during rotation. Based on the changes in the surface information of the DUT before and after rotation, the relative rotation angle between the photodetector structure and the DUT can be analyzed and calculated, thereby obtaining the relative rotation angle between the rotating structure and the main shaft structure, realizing the detection of the folding angle between the two housings of the electronic device. 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 can be identified.
[0009] The optical detection structure is used to detect the folding angle of electronic devices. This structure is less affected by external magnetic fields or temperatures, resulting in higher reliability. Furthermore, it avoids resonance and mechanical fatigue, significantly improving operational stability. It can detect even small changes in surface information, such as rotation angles of 1° or less, offering higher responsiveness and sensitivity. This effectively improves the accuracy of folding angle detection, enabling electronic devices to precisely match their display interfaces under different conditions, thus significantly enhancing performance and user experience.
[0010] The optical detection structure is fixed to either the main shaft structure or the door panel. Compared to placing the optical detection structure on other structures, such as complex hinge components, this reduces the impact of the added optical detection structure on the overall structural layout design of the rotating structure, lowers the layout difficulty and complexity, and reduces optimization costs. Furthermore, the relative rotation angle relationships between the door panel and the main shaft structure, the door panel and the pin of the rotating structure, and the pin and the main shaft structure are relatively simple, linearly corresponding to the relative rotation angle between the rotating structure and the main shaft structure. By detecting the relative rotation angle between the door panel and the main shaft structure, it is easy to calculate and analyze the relative rotation angle between the rotating structure and the main shaft structure, which helps to further improve the detection accuracy of the folding angle.
[0011] In one possible implementation, the surface of the device under test (DUT) has a marking structure. When the angle between the rotating structure and the main shaft structure is a preset angle, the surface information of the DUT obtained by the optical detection structure includes the graphic information of the marking structure. The state of the electronic device when the optical detection structure can obtain the graphic information of the marking structure on the DUT and the rotating structure and the main shaft structure have a preset angle can be defined as a calibration state. When the optical detection structure detects and identifies the graphic information of the marking structure, the electronic device is in a 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.
[0012] When the opening and closing mechanism opens and closes to switch the state of the electronic device, the calibration state of the electronic device can be referenced, and the detected relative rotation angle can be superimposed to obtain the current folding angle and state of the electronic device. This makes it easier and faster to judge the state of the electronic device and match the display interface of the electronic device in a timely manner, thereby improving the matching and accuracy between the state of the electronic device and the display interface, and improving the performance and user experience of the electronic device.
[0013] By identifying the marking structure on the device under test using optical detection, the folding angle can also be calibrated. This can correct the folding angle error caused by the opening and closing of electronic devices, further improving the matching and accuracy between the status of electronic devices and the display interface.
[0014] Furthermore, in certain specific scenarios, the setting of the identification structure can improve the responsiveness and accuracy of display interface matching. For example, in scenarios where an electronic device is turned on and then its state is changed, when the electronic device is in calibration mode after powering on, the optical detection structure can directly identify the device under test (DUT) and determine the state of the electronic device, enabling rapid and accurate matching of the electronic device's display interface. When the electronic device is not in calibration mode after powering on, it can be opened and closed; when the optical detection structure identifies the DUT, it can determine the state of the electronic device and rapidly and accurately match its display interface.
[0015] The setting of the marking structure can increase the difference between the surface information of the test piece in the calibration state and other states, making the surface information in the calibration state unique and obvious, which is conducive to the comparison of surface information in other states and improves the detection accuracy.
[0016] In one possible implementation, graphic identifiers are provided on the surface of the part under test to form an identifier structure, which offers high design flexibility. For example, each identifier structure may include multiple graphic identifiers to enhance the uniqueness and distinguishability of the identifier structure.
[0017] Alternatively, the surface of the part under test may have a textured structure to form an identification structure. This enhances the design flexibility of the identification structure, allowing it to be formed during the molding process, simplifying the molding steps and facilitating implementation.
[0018] In one possible implementation, the surface of the test piece has multiple marking structures, each with different graphic information. These marking structures are spaced apart along the rotation direction of the test piece and the optical detection structure relative to each other, and each marking structure corresponds to a preset angle. For example, the preset angle may include, but is not limited to, any one or more of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, and 180°.
[0019] In this way, multiple different marking structures can give electronic devices multiple calibrated states. For example, based on the opening and closing habits of electronic devices, commonly used states (such as open state, 90° intermediate state, closed state, etc.) can be defined as calibrated states. In daily use, the folding angle and state of electronic devices can be quickly and accurately obtained based on the graphic information of the marking structures 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 and enhancing the user experience.
[0020] Furthermore, in certain scenarios, setting up multiple identifier structures can also improve the responsiveness of the display interface. For example, in a scenario where an electronic device is turned off and then turned back on, if the device is not in the calibration state after powering on, unfolding or folding the device at a small angle can bring it into the calibration state, thereby ensuring timely matching of the display interface and other aspects. This results in a fast and accurate response, effectively improving the user experience.
[0021] In one possible implementation, one end of the door panel engages with the main shaft structure, while the other end extends to the outside of the main shaft structure. An optical detection structure is positioned on the other end of the door panel, and the main shaft structure includes the component to be tested. During the opening and closing process of the mechanism, the optical detection structure is relatively fixed to the door panel, while both the door panel and the optical detection structure rotate relative to the main shaft structure. The relative rotation angle between the door panel and the main shaft structure can be obtained through the optical detection structure, thus enabling the detection of the folding angle.
[0022] In one possible implementation, the main shaft structure includes a first shaft and a second shaft. When the opening and closing mechanism is in the open state, the second shaft is located on the same side as the door panel, and the first shaft protrudes from one side of the second shaft.
[0023] The first shaft is the part to be tested. The optical detection structure is used to obtain the surface information of the outer surface of the first shaft. Based on the changes in the surface information of the outer surface of the first shaft during the opening and closing process, the rotation angle of the door panel relative to the first shaft is obtained, which in turn yields the relative rotation angle between the rotating structure and the main shaft structure, thus enabling the detection of the folding angle. Utilizing the optical detection structure installed on the door panel to detect the surface information of the outer surface of the first shaft, the folding angle is detected, resulting in a simple structural design. The relatively large area of the outer surfaces of the door panel and the first shaft facilitates the assembly of the optical detection structure and provides high design flexibility, such as allowing for flexible design of marking structures.
[0024] In one 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 is greater than the height between them. This ensures that the arrangement of the light detection structure does not affect the relative rotation between the door panel and the main shaft structure, thus guaranteeing the smoothness of the opening and closing mechanism.
[0025] In one possible implementation, when the opening / closing mechanism is in the open state, the height of the light-emitting port of the light detection structure is less than the height of the outer surface of the first shaft. This ensures that during the opening and closing process of the mechanism, the emitted light from the light-emitting port of the light detection structure can illuminate the outer surface of the first shaft, thereby obtaining surface information of the outer surface.
[0026] In one possible implementation, the rotating structure includes a pin, which is mounted on the main shaft structure. A photodetector is mounted on the door panel, with the pin serving as the component under test. The photodetector obtains surface information of the pin's circumferential outer surface. Based on the changes in the surface information of the pin's circumferential outer surface during opening and closing, the rotation angle of the door panel relative to the main shaft structure (second shaft) is obtained, thus determining the relative rotation angle between the rotating structure and the main shaft structure, thereby enabling the detection of the folding angle. This design is simple and facilitates the assembly of the photodetector, enriching the structure and layout of the component under test and improving the layout flexibility for detecting the folding angle.
[0027] In one possible implementation, the spindle structure includes a first shaft and a second shaft, with the first shaft disposed on one side of the second shaft, and the first and second shafts forming a receiving cavity. The rotating structure includes a pin disposed within the receiving cavity.
[0028] The optical detection structure is fixed inside the receiving cavity, and the pin is the part to be tested. By placing the optical detection structure inside the receiving cavity of the main shaft structure, it is possible to avoid the impact of adding the optical detection structure on the fit and assembly relationship between structural components such as flexible screens and rotating structures (or main shaft structures), which helps to reduce layout difficulty and complexity, and reduce optimization costs.
[0029] In one possible implementation, the optical detection structure is located on the circumferential outer side of the pin, and is used to obtain surface information of the outer circumferential surface of the pin. Based on the changes in the surface information of the outer circumferential surface of the pin during opening and closing, the rotation angle of the pin relative to the main shaft structure is obtained, thus yielding the relative rotation angle between the rotating structure and the main shaft structure, thereby enabling the detection of the folding angle. This enriches the layout design of the test piece and the optical detection structure, improving the layout flexibility for detecting folding angles.
[0030] In one possible implementation, the optical detection structure is located on one side of the pin along the axial direction. This structure is used to obtain surface information of the pin's end face along the axial direction. Based on the changes in the surface information of the pin's end face during opening and closing, the rotation angle of the pin relative to the main shaft structure can be obtained, thus determining the relative rotation angle between the rotating structure and the main shaft structure, thereby enabling the detection of the folding angle. This enriches the layout design of the test piece and the optical detection structure, improving the layout flexibility for detecting folding angles.
[0031] In one possible implementation, the optical detection structure includes a light source and a light receiver. The light source emits outgoing light towards the device under test (DUT), and the light receiver receives the reflected light from the DUT to obtain surface information of the DUT. For example, the light receiver may include multiple pixels. Due to inconsistencies in the shape, roughness, and texture of the DUT surface, the reflected light forms a pattern of alternating bright and dark spots on the light receiver, thus obtaining the surface information of the DUT. This implementation is simple and low-cost.
[0032] A second aspect of this application provides an electronic device including two housings and any one of the aforementioned opening and closing mechanisms. The two housings are rotatably engaged through the opening and closing mechanism to achieve the opening and closing of the electronic device. By including the aforementioned opening and closing mechanism, high-precision detection of the folding angle can be achieved, enabling the electronic device to achieve precise control of the display interface, accurately matching the corresponding display interface in different states, significantly improving the performance and user experience of the electronic device. Furthermore, the opening and closing mechanism has high stability and low cost, which helps to improve the stability and cost of use of the electronic device. Attached Figure Description
[0033] Figure 1 is a schematic diagram of a foldable electronic device in a folded state according to an embodiment of this application;
[0034] Figure 2 is a schematic diagram of the foldable electronic device shown in Figure 1 in an intermediate state;
[0035] Figure 3 is a schematic diagram of the foldable electronic device shown in Figure 1 in a flattened state.
[0036] Figure 4 is a schematic diagram of the disassembled structure of the foldable electronic device shown in Figure 1;
[0037] Figure 5 is a schematic diagram of the opening and closing process of an opening and closing mechanism provided in an embodiment of this application;
[0038] Figure 6 is a schematic diagram of the assembly of an opening and closing mechanism and a flexible screen provided in an embodiment of this application;
[0039] Figure 6a is a cross-sectional structural diagram of the opening and closing mechanism in Figure 6 during the opening and closing process;
[0040] Figure 7 is a schematic diagram of the detection principle of the optical detection structure in Figure 6;
[0041] Figure 8 is a schematic diagram showing the changes in surface information obtained by the optical detection structure during the opening and closing process of the opening and closing mechanism;
[0042] Figure 9 is a schematic diagram of the structure of the test piece in another opening and closing mechanism provided in an embodiment of this application;
[0043] Figure 9a is a schematic diagram of another opening and closing process of an opening and closing mechanism provided in an embodiment of this application;
[0044] Figure 10 is a cross-sectional view of the opening and closing mechanism in Figure 6 in its intermediate state.
[0045] Figure 11 is a cross-sectional view of the opening and closing mechanism in Figure 10 in the open state;
[0046] Figure 12 is a cross-sectional structural diagram of another opening and closing mechanism provided in the embodiment of this application in the open state;
[0047] Figure 13 is a cross-sectional structural diagram of another opening and closing mechanism provided in the embodiment of this application in the open state;
[0048] Figure 14 is a partial structural diagram of another opening and closing mechanism provided in the embodiment of this application in the open state;
[0049] Figure 15 is a cross-sectional view of the opening and closing mechanism in Figure 14 in its intermediate state.
[0050] Explanation of reference numerals in the attached drawings: 100-Electronic device; 101-Opening and closing mechanism; 102-Housing shell; 103-Flexible screen; 104-Back cover; 105-Outer screen; 10-Rotating structure; 11-Door panel; 12-Pin shaft; 20-Main shaft structure; 21-First shaft; 30-Light detection structure; 31-Light source; 32-Light receiver; 40-DUT; 41-Identification structure. Detailed Implementation
[0051] The terminology used in the implementation section of this application is for the purpose of explaining specific embodiments of this application only, and is not intended to limit this application.
[0052] The foldable electronic devices provided in this application embodiment may include, but are not limited to, foldable fixed terminals or mobile terminals such as mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), handheld computers, touch TVs, walkie-talkies, netbooks, POS machines, personal digital assistants (PDAs), wearable devices, and virtual reality devices.
[0053] For example, taking a foldable electronic device as a foldable phone, the foldable phone can be a foldable phone with the screen folding outwards, or it can be a foldable phone with the screen folding inwards, or it can be a foldable phone with part of the screen folding inwards and part of the screen folding outwards, or it can be a foldable phone with the screen folding inwards and an additional external screen, etc.
[0054] In this embodiment, a foldable mobile phone with an inward-folding screen and an attached outer screen is used as an example for illustration.
[0055] Figure 1 is a schematic diagram of a foldable electronic device in a folded state according to an embodiment of this application.
[0056] Referring to Figure 1, the foldable electronic device 100 may include an opening and closing mechanism 101 and a housing 102. The number of housings 102 may be at least two. For example, if there are two housings 102, they may be a first housing 102a and a second housing 102b. The first housing 102a and the second housing 102b are located on both sides of the opening and closing mechanism 101 and are respectively connected to the opening and closing mechanism 101.
[0057] 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.
[0058] The first housing 102a and the second housing 102b can be folded relative to each other to a closed state, as shown in Figure 1. 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.
[0059] 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°.
[0060] Figure 2 is a schematic diagram of the foldable electronic device shown in Figure 1 in an intermediate state.
[0061] Referring to Figure 2, 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.
[0062] Figure 3 is a schematic diagram of the foldable electronic device shown in Figure 1 in a flattened state.
[0063] Referring to Figure 3, the first housing 102a and the second housing 102b can be unfolded relative to each other to an open state. 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.
[0064] It should be noted that slight deviations are allowed in the angles illustrated in the embodiments of this application. For example, the folding angle of the foldable electronic device 100 shown in Figure 3 can be 180°, or approximately 180°, such as 170°, 175°, 185°, or 190°. The angles illustrated in the following examples can be understood in the same way.
[0065] The intermediate state shown in Figure 2 can be any state between the closed state and the open state. That is, the electronic device 100 can switch between the open state (i.e., the flattened 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.
[0066] For example, when the electronic device 100 is in the open state, rotating the first housing 102a and the second housing 102b towards each other and folding them relative to each other can switch the electronic device 100 from the open state to the closed state (or an intermediate state). When the electronic device 100 is in the closed state, rotating the first housing 102a and the second housing 102b away from each other and unfolding them relative to each other can switch the electronic device 100 from the closed state to the open state (or an intermediate state).
[0067] The housing 102 can be a rectangular, plate-like structure. In this embodiment, as shown in FIG3, the width direction of the housing 102 (such as the first housing 102a) is taken as the x-direction, the length direction of the housing 102 is taken as the y-direction, and the thickness direction of the housing 102 is taken as the z-direction. It is understood that the length, width, and thickness in this embodiment are only for descriptive convenience and do not imply any limitation on the size. For example, the length can be greater than, equal to, or less than the width. It is understood that when the foldable electronic device 100 is in a folded or flattened state, the length, width, and thickness directions of the electronic device 100 can correspond to the length, width, and thickness directions of the housing 102.
[0068] Of course, in some other examples, the housing 102 can also be a flat plate structure in the shape of a square, circle, ellipse, rounded rectangle, etc.
[0069] It should be noted that the electronic device 100 may include only two housings 102. For example, the number of the first housing 102a and the second housing 102b may both be one, so that the electronic device 100 is in a closed state, with the first housing 102a and the second housing 102b folded relative to each other into two layers. For example, referring to Figure 1, the electronic device 100 includes a first housing 102a, a second housing 102b, and an opening and closing mechanism 101. The first housing 102a and the second housing 102b are rotatably connected through the opening and closing mechanism 101. When the first housing 102a and the second housing 102b are folded relative to each other in the folded state, the electronic device 100 has a two-layer frame stacked shape.
[0070] Alternatively, the electronic device 100 may include multiple housings 102, such as a first housing 102a, a second housing 102b, and multiple opening and closing mechanisms 101. Adjacent first housings 102a and second housings 102b can be connected by an opening and closing mechanism 101, allowing the electronic device 100 to be folded into a multi-layered form. For example, the electronic device 100 may 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 rotatably connected to the second housing 102b through an opening and closing mechanism 101. One of the first housings 102a can be folded relative to the second housing 102b, and the other first housing 102a can also be folded relative to the second housing 102b, so that the electronic device 100 is in a closed state, and the first housings 102a and the second housings 102b are folded relative to each other to form a three-layered frame structure. When one of the first housings 102a and the second housing 102b is unfolded relative to each other to the open state, the electronic device 100 is in the open state.
[0071] In this embodiment of the 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 rotated together by an opening and closing mechanism 101.
[0072] Referring to Figure 3, the electronic device 100 may also include a foldable flexible screen 103, which serves as the display screen of the electronic device 100 and is used to display images, text, videos, etc.
[0073] 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 portion of the flexible screen 103 opposite to the opening and closing mechanism 101 bends. 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 portion of the flexible screen 103 also unfold accordingly.
[0074] For example, in a foldable electronic device with an outward-folding screen, the flexible screen 103 can be disposed on the outer surface of the first housing 102a, the second housing 102b, and the opening / closing mechanism 101. In a foldable electronic device with an inward-folding screen, the flexible screen 103 can be disposed on the inner surface of the first housing 102a, the second housing 102b, and the opening / closing mechanism 101.
[0075] For example, when the electronic device 100 is in a closed state, the two adjacent and opposite surfaces of the first housing 102a and the second housing 102b can be the inner surfaces of the first housing 102a and the second housing 102b, respectively. The surface of the opening and closing mechanism 101 that is on the same side as the inner surfaces of the first housing 102a and the second housing 102b is the inner surface of the opening and closing mechanism 101. The two opposite surfaces of the first housing 102a and the second housing 102b are the outer surfaces of the first housing 102a and the second housing 102b, respectively. The surface of the opening and closing mechanism 101 that is on the same side as the outer surfaces of the first housing 102a and the second housing 102b is the outer surface of the opening and closing mechanism 101.
[0076] In some examples, flexible screens 103 are provided on the inner surfaces of the first housing 102a, the second housing 102b, and the opening / closing mechanism 101. The electronic device 100 may also include an outer screen 105 (see Figures 1 and 2), which may be disposed on the outer surface of the first housing 102a (and / or the second housing 102b). The outer screen 105 may also serve as the display screen of the electronic device 100 for displaying images, text, videos, etc.
[0077] Figure 4 is a schematic diagram of the disassembled structure of the foldable electronic device shown in Figure 1.
[0078] Referring to Figure 4, the electronic device 100 may further include a back cover 104. Taking the outer screen 105 as an example located on the outer surface of the first housing 102a, the back cover 104 may be located on the outer surface of the second housing 102b. That is, the outer screen 105 and part of the flexible screen 103 may be located on opposite sides of the first housing 102a along the thickness direction (z-direction), and the back cover 104 and part of the flexible screen 103 may be located on opposite sides of the second housing 102b along the thickness direction (z-direction). The back cover 104, outer screen 105, first housing 102a, second housing 102b, and flexible screen 103 form a receiving space. This receiving space can be used to assemble and accommodate various functional structural components of the electronic device 100.
[0079] The housing 102 may include a middle plate and a frame. For example, the first housing 102a may include a first middle plate 1021 and a first frame 1022, with the first frame 1022 surrounding the outer peripheral edge of the first middle plate 1021. The second housing 102b may also include a second middle plate 1023 and a second frame 1024, with the second frame 1024 surrounding the outer peripheral edge of the second middle plate 1023. The opening and closing mechanism 101 may be connected to the first middle plate 1021 and the second middle plate 1023 respectively.
[0080] The electronic device 100 may also include a circuit board, a battery, a charging management module, and a power management module (not shown in the figure), which can be fixed in the aforementioned accommodating space.
[0081] The circuit board may include a processor, which may 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), and / or a neural network processing unit (NPU), etc. The controller may serve as the central nervous system and command center of the electronic device 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. The processor 110 may also include a memory for storing instructions and data.
[0082] The processor may 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 enable data transmission between the electronic device 100 and external devices, such as connecting headphones, a projection device, etc.
[0083] The charging management module receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging examples, the charging management module receives charging input from the wired charger via an interface. In some wireless charging embodiments, the charging management module receives wireless charging input via the wireless charging coil of the electronic device 100. The charging management module can charge the battery and can also supply power to the electronic device 100 via the power management module.
[0084] The power management module connects the battery, charging management module, and processor. It receives input from the battery and / or charging management module to power the processor, memory, display screen, camera module, and other components. The power management module can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance).
[0085] In some examples, the power management module may be located within the processor on the circuit board. In other examples, the power management module and the charging management module may be located in the same device.
[0086] The structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or arrange the components differently. For example, the electronic device 100 may also include a communication module, a camera module (e.g., a front-facing camera and a rear-facing camera), a microphone, a speaker, a flash, and other devices.
[0087] During 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.
[0088] In the example described above where the electronic device 100 has a flexible screen 103 and an outer screen 105, for instance, 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 turned off while the outer screen 105 is turned on. If the detected folding angle is greater than 90°, it is determined that the electronic device 100 is in a relatively large angle intermediate state or an open state, and the flexible screen 103 can be turned on while the outer screen 105 is turned off.
[0089] Alternatively, in some examples, to enhance the fun and playability of the electronic device 100's display interface, 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 the corresponding matching interface.
[0090] Therefore, the accuracy of detecting the folding angle between the first housing 102a and the second housing 102b will affect the accuracy of the electronic device 100's control over the display interface during the opening and closing process, the interactivity of the display interface, and the performance and user experience of the electronic device 100.
[0091] Based on this, this application provides an opening and closing mechanism comprising a main shaft structure and a rotating structure. One of the main shaft structure and the rotating structure includes a device under test (DUT). A photodetector structure can be fixed to one of the door panels of the main shaft structure and the rotating structure. The photodetector structure can obtain surface information of the DUT using photodetection principles. During the opening and closing process, the DUT rotates relative to the photodetector structure. The photodetector structure can obtain surface information of the DUT during rotation. Based on the change in surface information of the main shaft structure before and after rotation, the relative rotation angle between the photodetector structure and the DUT can be analyzed and calculated, thereby obtaining the relative rotation angle between the rotating structure and the main shaft structure, realizing the detection of the folding angle between the two housings of the electronic device. 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 can be identified. Using a photodetector structure to detect the folding angle of the electronic device, the photodetector structure is less affected by external magnetic fields or external temperature, and has higher reliability. The optical detection structure itself does not involve phenomena such as resonance or mechanical fatigue, which greatly improves the stability of use. It can also detect small changes in surface information, effectively improving the accuracy of folding angle detection. This enables electronic devices to accurately match the corresponding display interface in different states, significantly improving the performance and user experience of electronic devices.
[0092] Furthermore, placing the optical detection structure on either the main shaft structure or the door panel, compared to placing it on other structures such as complex hinge components, reduces the impact of the added optical detection structure on the overall structural layout design of the rotating structure, lowers layout difficulty and complexity, and reduces optimization costs. Moreover, the relative rotation angle relationships between structures such as the door panel and the main shaft structure, the door panel and the pin of the rotating structure, and the pin and the main shaft structure are relatively simple, linearly corresponding to the rotation angle between the rotating structure and the main shaft structure. By detecting the relative rotation angle between the door panel and the main shaft structure, it is easier to calculate and analyze the relative rotation angle between the rotating structure and the main shaft structure, which helps to further improve the detection accuracy of the folding angle.
[0093] For example, continuing to refer to Figure 4, the opening and closing mechanism 101 may include a main shaft structure 20 and a rotating structure 10. The axial direction of the main shaft structure 20 may be parallel to the length direction (y direction) of the electronic device. Rotating structures 10 may be provided on both sides of the main shaft structure 20. For example, rotating structures 10a and 10b may be provided on opposite sides of the main shaft structure 20 along the width direction (x direction).
[0094] Two rotating structures 10 can be connected to two housings 102 respectively. For example, rotating structure 10a can be fixed to the first housing 102a, and rotating structure 10b can be fixed to the second housing 102b. Rotating structures 10a and 10b are respectively rotatably engaged with the main shaft structure 20, enabling the two rotating structures 10 to rotate relative to each other. The relative rotation of the two rotating structures 10 drives the two housings 102 to rotate relative to each other, thereby realizing the rotational engagement of the two housings 102 through the opening and closing mechanism 101.
[0095] It is understood that the angle between rotating structures 10a and 10b corresponds to the folding angle of the electronic device. When the first housing 102a and the second housing 102b are folded relative to each other to a closed state (folded state), rotating structures 10a and 10b are also folded relative to each other to a closed state. For example, rotating structures 10a and 10b can also be brought together to be parallel to each other (see Figure 5), at which point the opening and closing mechanism 101 is also in a closed state (folded state). The angle between rotating structures 10a and 10b is approximately 0°.
[0096] When the first housing 102a and the second housing 102b are unfolded relative to each other to the open state (flattened state), the rotating structures 10a and 10b are also unfolded relative to each other to the open state. For example, the included angle between the rotating structures 10a and 10b can be approximately 180°, at which time the opening and closing mechanism 101 is also in the open state (also known as the flattened state).
[0097] The opening and closing mechanism 101 can switch between an open state and a closed state by rotating the rotating structure 10 relative to the main shaft structure 20, thereby realizing the opening and closing of the opening and closing mechanism 101 and the electronic device 100. During the opening and closing process of the opening and closing mechanism 101, the angle of rotation of the rotating structure 10 relative to the main shaft structure 20 can be detected to obtain the angle between the two rotating structures 10, and thus the folding angle between the first housing 102a and the second housing 102b can be obtained.
[0098] The following example illustrates the relationship between the angle of rotation of the rotating structure 10 relative to the main shaft structure 20 and the folding angle between the first and second housings of the electronic device.
[0099] Figure 5 is a schematic diagram of the opening and closing process of an opening and closing mechanism provided in an embodiment of this application.
[0100] For example, referring to Figure 5, the opening and closing mechanism 101 shown in Figure (a) is in the open state, the opening and closing mechanism 101 shown in Figure (b) is in the intermediate state, such as the included angle between the rotating structure 10a and the rotating structure 10b is 90°, and the opening and closing mechanism 101 shown in Figure (c) is in the closed state.
[0101] When the opening and closing mechanism 101 shown in Figure (a) is in the open state, the electronic device is in the calibration state (also known as the reference state or initial state). Based on the state shown in Figure (a) of the opening and closing mechanism 101, the rotating structure 10a is rotated relative to the main shaft structure 20. For example, the rotating structure 10a rotates 90° relative to the main shaft structure 20 (and the rotating structure 10b) to close (relatively fold), that is, the relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is 90°. When the opening and closing mechanism 101 is switched to the intermediate state shown in Figure (b), the included angle between the rotating structure 10a and the rotating structure 10b is 90°, and the folding angle between the first housing and the second housing of the electronic device is also 90°.
[0102] The rotating structure 10a continues to rotate, and if it continues to rotate 90° relative to the main shaft structure 20 (and the rotating structure 10b) to close (fold relative to each other), that is, based on the state shown in Figure (a) of the opening and closing mechanism 101, the relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is 180°, so that the opening and closing mechanism 101 switches to the closed state shown in Figure (c), the included angle between the rotating structure 10a and the main rotating structure 10b is 0°, and the folding angle between the first housing and the second housing of the electronic device 100 is also 0°.
[0103] The relative rotation angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b) is the relative angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b), which can be understood as the angle at which the rotating structure 10a rotates relative to the main shaft structure 20 (and the rotating structure 10b).
[0104] When the electronic device switches from a calibration state (the open state in Figure (a)) to another state (the intermediate state in Figure (b)), the angle between rotating structure 10a and rotating structure 10b (and spindle structure 20) in the calibration state is obtained by superimposing the relative angle between rotating structure 10a and spindle structure 20 (and rotating structure 10b) when the electronic device is in another state. This angle between rotating structure 10a and rotating structure 10b (and spindle structure 20) can be an absolute angle value, based on or referencing the angle between rotating structure 10a and rotating structure 10b (and spindle structure 20) in the calibration state, and the angle between rotating structure 10a and rotating structure 10b (and spindle structure 20) in other states.
[0105] The included angle between the rotating structure 10a and the rotating structure 10b (main shaft structure 20) can correspond to the folding angle of the electronic device. The folding angle between the first housing and the second housing can be obtained based on the included angle between the rotating structure 10a and the main shaft structure 20 (and the rotating structure 10b). This folding angle can also be an absolute angle value, which can be based on or referenced to the included angle between the first housing and the second housing when the electronic device is in a calibration state, and the included angle between the first housing and the second housing when the electronic device is in other states.
[0106] Based on the absolute angle value (folding angle) between the first and second housings, the state of the electronic device can be determined. The display interface can be adaptively controlled according to the state of the electronic device, such as matching different display interfaces and dynamic animations when the electronic device is in different states.
[0107] Based on the relative rotation angle between the rotating structure 10 and the main shaft structure 20, dynamic animations 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, to enhance the fun and interactivity of the electronic device and improve the user experience.
[0108] In this embodiment, the process of switching the opening and closing mechanism 101 from a closed state to an open state, or from an open state to a closed state, can be referred to as the opening and closing process of the opening and closing mechanism 101.
[0109] Figure 6 is a schematic diagram of the assembly of an opening and closing mechanism and a flexible screen provided in an embodiment of this application.
[0110] Referring to Figure 6, the opening / closing mechanism 101 includes a test piece 40, which can be a structural component that enables the detection of folding angles. One of the spindle structure 20 and the rotating structure 10 may include the test piece 40; for example, Figure 6 shows an example where the spindle structure 20 includes the test piece 40. In some other examples, the rotating structure 10 may include the test piece 40 (see Figure 12).
[0111] Referring again to Figure 6, the opening / closing mechanism 101 may further include a light detection structure 30. The light detection structure 30 can be a light sensor that uses light for detection. For example, the light detection structure 30 can use the principle of light detection to obtain surface information of the workpiece 40 under test. This surface information may include the outer contour shape, texture, roughness, etc. of the surface.
[0112] The optical detection structure 30 can be disposed 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 structural components of the main shaft structure 20 and the rotating structure 10 will rotate relative to the test piece 40, and the optical detection structure 30 can be disposed on this structural component. That is, during the opening and closing of the opening and closing mechanism 101, relative rotation can occur between the test piece 40 and the optical detection structure 30.
[0113] It should be noted that the rotating structure 10 includes two components. In the example where the optical detection structure 30 is disposed on the rotating structure 10, the optical detection structure 30 can be disposed on one of the rotating structures 10. In the example where the rotating structure 10 includes the test piece 40, the test piece 40 can be disposed on one of the rotating structures 10. By adding an optical detection structure 30, the folding angle can be detected with higher detection accuracy, which helps to simplify the structural components in the opening and closing mechanism 101 and reduce the difficulty and cost of layout design.
[0114] For example, each rotating structure 10 includes a door panel 11. When the rotating structure 10 rotates relative to the main shaft structure 20, causing the opening and closing mechanism 101 to open and close, the door panel 11 will rotate relative to the main shaft structure 20. For instance, the optical detection structure 30 can be fixedly mounted on the door panel 11, and the main shaft structure 20 can serve as the test piece 40. The optical detection structure 30 can obtain surface information of the main shaft structure 20. During the opening and closing process of the opening and closing mechanism 101, the door panel 11 and the optical detection structure 30 can rotate together relative to the main shaft structure 20 (test piece 40). The optical detection structure 30 can obtain surface information of the main shaft structure 20 (test piece 40) during rotation. Based on the changes in surface information of the main shaft structure 20 (test piece 40) before and after rotation, the relative rotation angle between the optical detection structure 30 and the main shaft structure 20 (test piece 40) can be analyzed and calculated.
[0115] Figure 6a is a cross-sectional structural diagram of the opening and closing mechanism in Figure 6 during the opening and closing process.
[0116] 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 main spindle structure 20 can be the workpiece under test 40. Referring to Figure 6a, when the rotating structure 10a rotates relative to the main spindle structure 20, the door panel 11a also rotates relative to the main spindle 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 spindle structure 20, the door panel 11a drives the light detection structure 30 on it to rotate, causing the light detection structure 30 to rotate relative to the main spindle structure 20 (workpiece under test 40). For example, if the door panel 11a and the light detection structure 30 form an arc-shaped rotation trajectory S as shown in the figure, the light detection structure 30 can obtain surface information of the main spindle structure 20 before and after rotation. If the rotational 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 yields the relative rotation angle between the rotating structure 10 and the main shaft structure 20, enabling the detection of the folding angle between the two housings of the electronic device.
[0117] 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.
[0118] 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.
[0119] Furthermore, the optical detection structure 30 is used to detect the surface information of the workpiece 40 under test, and can detect even small changes in surface information. Detection can also be achieved when there is a small relative rotation between the optical detection structure 30 and the workpiece 40 under test, such as a detection rotation angle of less than or equal to 1°. The detectable rotation angle range is large, resulting in higher responsiveness and sensitivity, effectively improving the accuracy of folding angle detection. This enables the electronic device 100 to achieve precise control of the display interface, accurately matching the corresponding display interface in different states, significantly improving the performance and user experience of the electronic device 100.
[0120] In the embodiments of this application, the shapes, structural components and layout of the two rotating structures 10 can be the same. The following uses rotating structure 10a as an example to illustrate the structure and layout of rotating structure 10.
[0121] Referring to Figure 6, the rotating structure 10 includes a door panel 11, the other end of which can extend to the outside of the main shaft structure 20, such as along the width direction (x direction) of the electronic device 100. At least a portion of the door panel 11 can be located outside the main shaft structure 20.
[0122] In some examples, the rotating structure 10 may further include hinge assemblies (not shown in the figure), with hinge assemblies on both sides of the main shaft structure 20. The hinge assemblies can be components of structural members capable of enabling rotational engagement between the rotating structure 10 and the main shaft structure 20. The door panel 11 may be located on one side of the hinge assembly; for example, the door panel 11 may be located on the side of the hinge assembly facing the flexible screen 103. Exemplarily, the hinge assembly can slide with the door panel 11. When the hinge assembly rotates relative to the main shaft structure 20 to open and close the opening and closing mechanism 101, it can drive the door panel 11 to rotate relative to the main shaft structure 20.
[0123] The outer contour of the door panel 11 can be flat, providing relatively flat support for the flexible screen 103. For example, the side of the door panel 11 facing away from the hinge assembly can be a smooth support surface, and the portion of the flexible screen 103 opposite to the opening and closing mechanism 101 can be attached to this support surface of the door panel 11. When the rotating structure 10 rotates relative to the main shaft structure 20, the door panel 11 rotates relative to the main shaft structure 20, and the portion of the flexible screen 103 opposite to the opening and closing mechanism 101 bends or unfolds.
[0124] For example, the hinge assembly may include a sway member, one end of which is rotatably engaged with the main shaft. For instance, one end of the sway member may have an arc-shaped sliding wall, and the main shaft structure 20 may have an arc-shaped groove. The arc-shaped sliding wall of the sway member can slide within the arc-shaped groove of the main shaft, thereby causing the sway member to rotate relative to the main shaft, achieving a rotatable engagement between the rotating structure 10 and the main shaft structure 20. Alternatively, in some other examples, one end of the sway member may also be rotatably engaged with the main shaft structure 20 via a pin or the like.
[0125] For example, the hinge assembly may also include a linkage element for enabling the linkage between the rotating structures 10a and 10b located on both sides of the main spindle structure 20. For example, the linkage element may be rotatably engaged with the main spindle structure 20 via a pin, and the linkage elements in the two rotating structures 10 may be linked together. For instance, when rotating structure 10a rotates relative to the main spindle structure 20, rotating structure 10b may also rotate relative to the main spindle structure 20 via the linkage element.
[0126] For example, the hinge assembly may also include connectors. The connectors in the two rotating structures 10 can be connected to the first housing and the second housing of the electronic device 100, respectively. For instance, the two connectors can be connected to the first middle plate of the first housing and the second middle plate of the second housing, respectively. The connectors can cooperate with the swinging member and / or the linkage member so that when the rotating structure 10 rotates relative to the main shaft structure 20, the swinging member and / or the linkage member drive the connector to rotate relative to the main shaft structure 20, thereby realizing the relative rotation between the first housing and the second housing.
[0127] It should be noted that during the opening and closing of the opening and closing mechanism 101, both the hinge assembly and the door panel 11 can rotate relative to the main shaft structure 20. The hinge assembly itself includes structural components and their layout is relatively complex. At least some structural components in the hinge assembly cannot rotate synchronously with the door panel 11 relative to the main shaft structure 20. For example, the rotation of the door panel 11 relative to the main shaft structure 20 can be asynchronous. Taking the door panel 11 and the pin as an example, during the opening and closing of the opening and closing mechanism 101, both the door panel 11 and the pin can rotate relative to the main shaft structure 20, and relative rotation can also occur between the door panel 11 and the pin.
[0128] The optical detection structure 30 can be fixed on either the main shaft structure 20 or the door panel 11. For example, the optical detection structure 30 can be fixedly assembled on the main shaft structure 20. The test piece 40 can be any structural component in the rotating structure 10 that rotates relative to the main shaft structure 20 during the opening and closing process of the opening and closing mechanism 101. For example, it can be the aforementioned swinging component, linkage component, pin, connector, door panel 11, etc.
[0129] For example, the optical detection structure 30 can be fixedly assembled on the door panel 11, and the test piece 40 can be any of the rotating structure 10 and the main shaft structure 20 that rotate relative to the door panel 11 during the opening and closing process of the opening and closing mechanism 101, such as the main shaft structure 20, the pin shaft, etc.
[0130] By placing the light detection structure 30 on either the main shaft structure 20 or the door panel 11, compared to placing the light detection structure 30 on other structures in the opening and closing mechanism 101, such as on complex hinge components, the impact of the added light detection structure 30 on the overall structural layout design of the rotating structure 10 can be reduced, thus reducing layout difficulty and complexity, and lowering optimization costs.
[0131] Furthermore, compared to complex hinge assemblies, the rotation angle relationship between the structural components and the main shaft structure 20 in the hinge assembly is more complex. The rotation angle between the structural components and the main shaft structure 20 in the hinge assembly and the rotation angle between the rotating structure 10 and the main shaft structure 20 are not a simple linear relationship. However, the relative rotation angle relationship between the door panel 11 and the main shaft structure 20, the door panel 11 and the pin, and the pin and the main shaft structure 20 is relatively simple and corresponds linearly with the relative rotation angle between the rotating structure 10 and the main shaft structure 20. By detecting the relative rotation angle between the door panel 11 and the main shaft structure 20, the door panel 11 and the pin, and the pin and the main shaft structure 20, it is convenient to calculate and analyze the relative rotation angle between the rotating structure 10 and the main shaft structure 20, which is beneficial to further improve the detection accuracy of the folding angle.
[0132] Figure 7 is a schematic diagram of the detection principle of the optical detection structure in Figure 6, and Figure 8 is a schematic diagram of the changes in surface information obtained by the optical detection structure during the opening and closing process of the opening and closing mechanism.
[0133] For example, referring to Figure 7, taking the test piece 40 as the pin 12, the optical detection structure 30 may include a light source 31 and a light receiver 32. The light source 31 can emit outgoing light towards the test piece 40. The outgoing light, when it shines on the surface of the test piece 40, is reflected and / or refracted to form return light that returns towards the optical detection structure 30. The return light can shine on the light receiver 32 and be received by the light receiver 32. The light receiver 32 can convert the received optical signal into an electrical signal.
[0134] The light receiver 32 may include multiple pixels. Due to the inconsistency in the shape, roughness, texture, etc. of the surface of the test piece 40, the returned light returned by the test piece 40 will form a bright and dark spot image on the light receiver 32, thus obtaining the surface information of the test piece 40.
[0135] During the opening and closing process of the opening and closing mechanism 101, the test piece 40 and the photodetector structure 30 rotate relative to each other. As shown in Figure 7, the pin 12 (test piece 40) rotates relative to the photodetector structure 30 in the direction indicated by the arrow. The photodetector structure 30 can be used to obtain the changes in the surface information of the test piece 40 during the rotation. As shown in Figure 8, the spot image obtained on the photoreceiver 32 changes after rotation. The relative rotation angle can be calculated by calculating the number of pixels that moved between two adjacent spot images. In this way, by using the signal difference between the emitted light and the returned light of the photodetector structure 30 in adjacent time intervals, the relative rotation angle between the photodetector structure 30 and the test piece 40 can be obtained, and then the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can be obtained, thus realizing the detection of the folding angle.
[0136] In practical applications, a certain state of the electronic device 100 can be defined as a calibration state when the device leaves the factory. In the calibration state, the folding angle, the angle between the rotating structure and the main shaft structure, and the state of the electronic device 100 are known. For example, if the calibration state of the electronic device 100 is defined as the open state, then when the electronic device 100 is in the calibration state, the folding angle (and the angle between the rotating structure and the main shaft structure) of the electronic device 100 is 180°, and the electronic device 100 is in a closed state.
[0137] When the electronic device 100 is folded (or closed) from the open state (calibration state), the photodetector 30 rotates relative to the test piece 40 by a certain angle. The photodetector 30 obtains the surface information of the test piece 40 after rotation. Based on the surface information obtained after rotation and the surface information in the calibration state (such as the number of pixels moved in the above-mentioned spot image), the angle of rotation of the photodetector 30 relative to the test piece 40 can be calculated. Thus, 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 this relative rotation angle on the 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.
[0138] Figure 9 is a schematic diagram of the structure of the test piece in another opening and closing mechanism provided in an embodiment of this application.
[0139] For example, referring to Figure 9, a marking structure 41 may be present on the surface of the test piece 40. When the angle between the rotating structure 10 and the spindle structure 20 is a preset angle, the surface information of the test piece 40 obtained by the photodetector 30 includes the graphic information of the marking structure 41. That is, when the angle between the rotating structure 10 and the spindle structure 20 is a preset angle, the emitted light from the photodetector can illuminate the marking structure 41, and the photodetector 30 can receive the returned light reflected by the marking structure 41 to obtain the graphic information of the marking structure 41, thereby identifying the marking structure 41.
[0140] The angle between the rotating structure 10 and the main shaft structure 20 can be defined as the aforementioned preset angle. When the optical detection structure 30 can obtain the graphic information of the marking structure 41 on the test piece 40, the state of the electronic device 100 is defined as the calibration state. When the optical detection structure 30 detects and identifies the graphic information of the marking structure 41, the electronic device 100 is in the calibration state. At this time, the preset angle between the rotating structure 10 and the main shaft structure 20, the folding angle of the electronic device 100, and the state are known.
[0141] When the opening and closing mechanism 101 opens and closes to switch the state of the electronic device 100, the calibration state of the electronic device 100 can be referenced, and the detected relative rotation angle can be superimposed to obtain the current folding angle and state of the electronic device 100. This makes it easier and faster to judge the state of the electronic device 100 and timely 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 user experience of the electronic device 100.
[0142] By recognizing the marking structure 41 on the device under test (DUT) 40 using the optical detection structure 30, the folding angle can also be calibrated. For example, when the optical detection structure 30 recognizes the marking structure 41 on the DUT 40, the state of the electronic device can be defined as the calibration state, and the folding angle of the electronic device can be defined as the folding angle in the calibration state. The corresponding display interface can then be matched to the calibration state. This allows for the calibration of folding angle errors caused during the opening and closing of the electronic device, further improving the matching and accuracy between the electronic device's state and the display interface.
[0143] Furthermore, in certain specific scenarios, the setting of the identification structure 41 can improve the responsiveness and accuracy of the display interface matching. For example, in a scenario where the electronic device is turned off and then its state is changed and then turned on again, when the electronic device is in the calibration state after being turned on, the optical detection structure can directly identify the device under test 40, determine the state of the electronic device, and quickly and accurately match the display interface of the electronic device.
[0144] Figure 9a is a schematic diagram of another opening and closing process of an opening and closing mechanism provided in an embodiment of this application.
[0145] When the electronic device is not in the calibration state after being powered on again, it can be opened and closed. When the optical detection structure identifies the device under test, 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 Figure 9a, taking the opening and closing mechanism 101 shown in Figure (f) as being in the intermediate state of 90°, the electronic device is in the calibration state. If the electronic device is in the closed state shown in Figure (d), the electronic device is powered off. If the electronic device is opened while it is powered off, changing its state, such as making the electronic device in the intermediate state shown in Figure (e), then at this time, the angle between the rotation structure 10a of the opening and closing mechanism 101 and the main shaft structure 20 is β, where β can be any value other than 0° and 90°. The electronic device is not in the calibration state, and the optical detection structure cannot identify the device under test.
[0146] In the intermediate state shown in Figure (e), the electronic device is turned on again. For example, the electronic device can be further unfolded, such as so that the opening and closing mechanism 101 is in the 90° intermediate state shown in Figure (f). The light detection structure can identify the device under test, the electronic device is in the calibration state, and it is determined that the current electronic device is in the 90° intermediate state, so as to quickly and accurately match the corresponding display interface.
[0147] It should be noted that the above example only illustrates the calibration state of the electronic device when the opening and closing mechanism 101 is in the intermediate state of 90°. In the example where the electronic device has multiple calibration states, or when the angle between the rotating structure and the main shaft structure in the opening and closing mechanism 101 is other values, the electronic device is in a calibration state. When the electronic device is turned on again, the optical detection structure can identify the device under test by unfolding or folding the electronic device, and the electronic device is in one of the calibration states, thus achieving rapid and accurate identification of the electronic device's state.
[0148] It is understandable that the absolute angle between the rotating structure and the spindle structure is not obtained using the marking structure and calibration state; instead, the relative rotation angle between the rotating structure and the spindle structure is obtained solely through the optical detection structure. In the specific scenario mentioned above, such as when the state of an electronic device is changed and then turned on again after it has been turned off, the state of the electronic device can be recorded before it is turned off (as shown in the closed state in figure (d)). When the electronic device is turned on, its state changes (such as becoming the intermediate state shown in figure (e)), and the recorded state of the electronic device is inaccurate. Opening and closing the electronic device only allows the relative rotation angle between the rotating structure and the spindle structure to 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, resulting in poor matching accuracy of the electronic device's display interface.
[0149] The setting of the identification structure 41 can increase the difference between the surface information of the test piece 40 in the calibration state and other states, making the surface information in the calibration state unique and obvious, which is conducive to the comparison of surface information in other states and to improving the detection accuracy.
[0150] 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 information of the identification structure 41 mentioned 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, this preset angle can also be other values.
[0151] For example, as shown in Figure 9, the marking structure 41 can be a graphic mark set on the surface of the test piece 40, and the graphic information of the marking structure 41 can include the graphic shape of the graphic mark.
[0152] For example, graphic markings can be formed on the surface of the test piece 40 by means of bonding, grooving, etc., which has a high degree of design flexibility. Each marking structure 41 may include one graphic marking, or may include multiple graphic markings to enhance the uniqueness and distinguishability of the marking structure 41.
[0153] In this embodiment, the specific shape of the graphic symbol is not limited. For example, the shape of the graphic symbol can be a regular or irregular shape such as a triangle, circle, or rectangle. The graphic symbol can also be text, image, logo, etc.
[0154] Alternatively, the marking structure 41 can also be a texture structure on the surface of the test piece 40, and the graphic information of the marking structure 41 can include the texture graphics of the texture structure, etc.
[0155] For example, during the molding of the part under test 40, a special texture structure, such as roughness or shape, can be designed and formed on the surface of a portion of it, making it different from the surface of other parts. This enriches the design flexibility of the marking structure 41, allowing the marking structure 41 to be formed during the molding of the part under test 40, which simplifies the molding process and facilitates implementation.
[0156] In some examples, the identification structure 41 on the test piece 40 can be a single one.
[0157] Alternatively, in some examples, there may be multiple identification structures 41 on the test piece 40, and the graphic information of the multiple identification structures 41 may be different. The graphic information may include the graphic shape, texture graphics, etc. mentioned above.
[0158] Multiple marking structures 41 can be distributed at intervals along the rotation direction of the device under test 40 and the photodetector 30, and each marking structure 41 can correspond to a preset angle. In this way, multiple different marking structures 41 can make the electronic device 100 have multiple calibration states. For example, based on the opening and closing usage habits of the electronic device 100, the more commonly used states (e.g., open state, 90° intermediate state, closed state, etc.) can be defined as calibration states. In daily use, the folding angle and state of the electronic device 100 can be quickly and accurately obtained based on the graphic information of the marking structures 41 obtained by the photodetector 30, and the corresponding display interface can be quickly matched, thereby improving the smoothness and accuracy of the display interface and enhancing the user experience.
[0159] Furthermore, in certain specific scenarios, the setting of multiple identifier structures 41 can further improve the responsiveness of the display interface. For example, in a scenario where the electronic device 100 is turned off and then turned on again, if the electronic device 100 is not in the calibration state after being turned on, unfolding or folding the electronic device 100 at a small angle can bring the electronic device 100 into the calibration state, thereby timely matching the display interface, etc., with a fast and accurate response, effectively improving the user experience.
[0160] For example, taking a configuration with three marker structures 41, when the preset angles between the rotating structure 10 and the main shaft structure 20 are 0°, 90°, and 180°, the optical detection structure 30 can detect the graphic information of the three marker structures 41 respectively. That is, the closed state, the 90° intermediate state, and the open state of the electronic device 100 can be defined as the calibration state. If the electronic device 100 is turned off and then unfolded from its original closed state to a certain intermediate state (such as 45°) before being turned on, the electronic device 100 only needs to be unfolded or folded 45° to be in the calibration state. The optical detection structure 30 can identify the corresponding marker structure 41, thus quickly obtaining the current folding angle and state of the electronic device 100, and quickly and accurately matching the display interface, etc.
[0161] For example, the preset angle between the rotating structure 10 and the spindle structure 20 may include any one or more of 0°, 30°, 45°, 60°, 90°, 120°, 135°, 150°, and 180°. Of course, in some other examples, the preset angle may also be other values.
[0162] The following example illustrates the layout of the test piece 40 and the optical detection structure 30, using one of the spindle structure 20 and the rotating structure 10a as an example, where the test piece 40 is included and the optical detection structure 30 is fixed to one of the door panels 11 of the spindle structure 20 and the rotating structure 10a. As mentioned above, the test piece 40 and the optical detection structure 30 can also be arranged in the rotating structure 10b. In the example where one of the spindle structure 20 and the rotating structure 10b includes the test piece 40 and the optical detection structure 30 is fixed to one of the door panels 11 of the spindle structure 20 and the rotating structure 10b, the layout of the test piece 40 and the optical detection structure 30 can be found in this example.
[0163] Figure 10 is a cross-sectional view of the opening and closing mechanism in Figure 6 in its intermediate state.
[0164] In some examples, as shown in Figure 10, the optical detection structure 30 can be disposed on the other end of the door panel 11, and the main shaft structure 20 can include the test piece 40. During the opening and closing process of the opening and closing mechanism 101, the optical detection structure 30 is relatively fixed to the door panel 11, and the door panel 11 and the optical detection structure 30 rotate together relative to the main shaft structure 20. The relative rotation angle between the door panel 11 and the main shaft structure 20 can be obtained through the optical detection structure 30, and the relative rotation angle between the rotating structure 10 and the main shaft structure 20 can also be obtained, thereby realizing the detection of the folding angle.
[0165] For example, the main shaft structure 20 may include a first shaft 21 and a second shaft (not shown in the figure). The first shaft 21 may be disposed on one side of the second shaft, for example, the first shaft 21 may be disposed on the side of the second shaft facing the flexible screen 103. The first shaft 21 and the second shaft may form a receiving cavity, and a portion of the hinge assembly may be disposed within the receiving cavity.
[0166] It should be noted that Figure 10 shows a schematic block diagram of the main shaft structure 20. In some examples, the second shaft can be a plate-like structure, and the first shaft 21 can be an arch-like shape. The first shaft 21 is disposed on one side of the second shaft, so that the first shaft 21 and the second shaft form a receiving cavity. The first shaft 21 can serve as a decorative element of the main shaft structure 20 to protect and decorate the structural components (such as parts of the hinge assembly) within the receiving cavity.
[0167] When the opening and closing mechanism 101 is in the open state, the second shaft and the door panel 11 can be located on the same side, such that the second shaft and the two door panels 11 can approximately form a plate-like plane. The first shaft 21 can protrude from one side of the second shaft, that is, along the thickness direction (z direction) of the electronic device 100, and the maximum height of the first shaft 21 can be higher than the height of the second shaft and the first door panel 11.
[0168] In this design, the first shaft 21 can serve as the test piece 40, and the optical detection structure 30 can obtain surface information of the outer surface of the first shaft 21 (facing away from the receiving cavity of the main shaft structure 20). 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 and the optical detection structure 30 can rotate relative to the first shaft 21 and the second shaft. The emitted light from the optical detection structure 30 can illuminate the outer surface of the first shaft 21, and the returned light can be received by the optical detection structure 30, thereby obtaining the surface information of the outer surface of the first shaft 21. Based on the changes in the surface information of the outer surface of the first shaft 21 during the opening and closing process, the rotation angle of the door panel 11 relative to the first shaft 21 is obtained, which in turn 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 optical detection structure 30 on the door panel 11 detects the surface information of the outer surface of the first shaft 21, achieving the detection of the folding angle; the structural design is simple. The outer surface area of the door panel 11 and the first shaft 21 is relatively large, which facilitates the assembly of the optical detection structure 30 and provides high design flexibility, such as facilitating the flexible design of the marking structure 41.
[0169] Figure 11 is a cross-sectional view of the opening and closing mechanism in Figure 10 in the open state.
[0170] To ensure that the light detection structure 30 can effectively detect the surface information of the outer surface of the first shaft body during the opening and closing process of the opening and closing mechanism 101, as exemplarily shown in Figure 11, when the opening and closing mechanism 101 is in the open state, the height of the light emission port 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. This ensures that during the opening and closing process of the opening and closing mechanism 101, the emitted light from the light emission port of the light detection structure 30 can illuminate the outer surface of the first shaft body 21, thereby obtaining the surface information of the outer surface of the first shaft body 21.
[0171] Referring again to Figure 11, when the opening / 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 / closing mechanism 101.
[0172] 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.
[0173] 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.
[0174] The optical detection structure 30 can be mounted on the door panel 11, and the structural components in the rotating structure 10 can serve as the test piece 40. For example, referring to FIG10, the pin 12 in the rotating structure 10 can serve as the test piece 40. The pin 12 is mounted on the main shaft structure 20. For example, the pin 12 can be rotatably engaged with the second shaft. The main shaft structure 20 does not include the first shaft 21, and the pin 12 can be exposed outside the main shaft structure 20.
[0175] 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.
[0176] 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.
[0177] Figure 12 is a cross-sectional structural diagram of another opening and closing mechanism provided in the embodiment of this application in the open state.
[0178] For example, as shown in Figure 12, the light detection structure 30 can be disposed in the receiving cavity of the spindle structure 20, and the light detection structure 30 can be assembled and connected with the first shaft 21 or the second shaft of the spindle structure 20.
[0179] The pin 12 within the cavity can serve as the test piece 40, and the optical detection structure 30 can obtain surface information of the pin 12. By placing the optical detection structure 30 within the cavity of the spindle structure 20, the addition of the optical detection structure 30 can avoid affecting the fit and assembly relationship between structural components such as flexible screens and the rotating structure 10 (or the spindle structure 20), thus reducing layout difficulty and complexity, and lowering optimization costs.
[0180] For example, in some examples, the optical detection structure 30 can be located on the circumferential outer side of the pin 12, and the optical detection structure 30 can obtain surface information of the circumferential outer surface of the pin 12. During the opening and closing process of the opening and closing mechanism 101, the optical detection structure 30 and the main shaft structure 20 can be relatively fixed, 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 circumferential outer surface of the pin 12, and the returned light can be received by the optical detection structure 30, thereby obtaining surface information of the circumferential outer surface of the pin 12. Based on the change in surface information of the circumferential outer surface of the pin 12 during the opening and closing process, the rotation angle of the pin 12 relative to the main shaft structure 20 is obtained, which also yields the relative rotation angle between the rotating structure 10 and the main shaft structure 20, thus realizing the detection of the folding angle. This enriches the layout design of the test piece 40 and the optical detection structure 30, and can improve the layout flexibility for detecting the folding angle.
[0181] The light detection structure 30 can be located outside the pin 12 on either side of the circumference, as shown in FIG12. Along the thickness direction (z direction) of the electronic device 100, the light detection structure 30 can be located outside the pin 12 on one side of the circumference. 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 12.
[0182] Figure 13 is a cross-sectional structural diagram of another opening and closing mechanism provided in the embodiment of this application in the open state.
[0183] Alternatively, referring to Figure 13, the light detection structure 30 may be located outside one side of the pin 12 in the width direction (x direction) of the electronic device 100. For example, the light detection structure 30 may be located to the left or right of the pin 12 in the width direction (x direction) of the electronic device 100.
[0184] Figure 14 is a partial structural schematic diagram of another opening and closing mechanism provided in the embodiment of this application in the open state, and Figure 15 is a cross-sectional structural schematic diagram of the opening and closing mechanism in Figure 14 in the intermediate state.
[0185] Alternatively, in some examples, as shown in Figure 14, the optical detection structure 30 can be located on one side of the pin 12 along the axial direction (y direction in the figure). The optical detection structure 30 can obtain surface information of the end face of the pin 12 along the axial direction. Referring to Figure 15, during the opening and closing process of the opening and closing mechanism 101, the optical detection structure 30 can be relatively fixed 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 surface information of the end face of the pin 12 along the axial direction. Based on the change in 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, thus obtaining the relative rotation angle between the rotating structure 10 and the main shaft structure 20, thereby realizing 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.
[0186] 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.
[0187] 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 they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some or all of the technical features; and these 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).