Foldable electronic equipment and detection method of electronic equipment

By using a combination of a detection circuit and a part to be tested in a foldable electronic device, the detection circuit obtains the electrical signal of the resistance change during the rotation of the part to be tested, solving the problem of the Hall sensor being easily disturbed and achieving accurate measurement of the folding angle.

CN120215633APending Publication Date: 2025-06-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311806361.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

When existing foldable electronic devices detect folding angles, the Hall sensor is susceptible to external interference, resulting in low accuracy of measurement results.

Method used

Using a combination of a detection circuit and a part to be tested, the rotation of the part to be tested is driven by the rotation shaft, and the resistance between the first detection bit and the second detection bit changes with the rotation, and the detection circuit obtains an electrical signal to determine the folding angle.

Benefits of technology

Accurate measurement of the folding angle of electronic devices is achieved, external interference is avoided, and the reliability of measurement results is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215633A_ABST
    Figure CN120215633A_ABST
Patent Text Reader

Abstract

The invention discloses foldable electronic equipment and a detection method of the electronic equipment. The electronic equipment comprises a shell, a rotating shaft and a detection assembly, the shell comprises a first shell and a second shell; the rotating shaft is located between the first shell and the second shell; the first shell is rotationally connected with the second shell through the rotating shaft; the detection assembly comprises a detection circuit and a to-be-detected piece. The to-be-tested piece is connected with the rotating shaft; a first detection position and a second detection position are arranged on the to-be-detected piece; the to-be-detected piece rotates along with the rotation of the rotating shaft, and the resistance between the first detection position and the second detection position changes along with the rotation of the to-be-detected piece; the first detection position and the second detection position are electrically connected with a detection circuit respectively; the detection circuit is used for acquiring an electric signal between the first detection position and the second detection position and acquiring a folding angle according to the electric signal. According to the electronic equipment provided by the invention, the electric signal between the first detection position and the second detection position is detected through the detection circuit to obtain the folding angle, and the accuracy of a measurement result can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and specifically relates to a foldable electronic device and a detection method for an electronic device. Background Art

[0002] With the continuous popularization of electronic devices, foldable electronic devices provide a richer user experience. That is, the foldable connection of two housings provides a solution for the miniaturization of electronic devices and the enlargement of display screens. Among them, the folding angle of the two housings is generally detected by the cooperation of a magnet and a Hall sensor. However, since the detection of the Hall sensor is easily affected by external interference, the detection result often differs greatly from the actual situation. Summary of the Invention

[0003] On the one hand, an embodiment of the present application provides a foldable electronic device, which includes a housing, a rotating shaft, and a detection component; the housing includes a first housing and a second housing that can rotate relative to each other; the rotating shaft is located between the first housing and the second housing; the first housing is rotatably connected to the second housing through the rotating shaft; the detection component includes a detection circuit and a component to be measured; the component to be measured is connected to the rotating shaft; wherein, a first detection position and a second detection position are provided on the component to be measured; the component to be measured rotates with the rotation of the rotating shaft, and the resistance between the first detection position and the second detection position changes with the rotation of the component to be measured; the first detection position and the second detection position are respectively used to establish electrical connection with the detection circuit; the detection circuit is configured to obtain an electrical signal between the first detection position and the second detection position, and obtain the folding angle of the electronic device according to the electrical signal.

[0004] On the other hand, an embodiment of the present application further provides a foldable electronic device, which includes a housing, a rotating shaft, and a detection circuit; the housing includes a first housing and a second housing that can rotate relative to each other; the rotating shaft is located between the first housing and the second housing; the first housing is rotatably connected to the second housing through the rotating shaft; wherein, a first detection position and a second detection position are provided on the rotating shaft; the resistance between the first detection position and the second detection position changes with the rotation of the rotating shaft; the first detection position and the second detection position are respectively used to establish electrical connection with the detection circuit; the detection circuit is configured to obtain an electrical signal between the first detection position and the second detection position, and obtain the folding angle of the electronic device according to the electrical signal.

[0005] Another aspect of the embodiments of the present application further provides a detection method for an electronic device, where the electronic device is the electronic device described in the foregoing embodiments; wherein, the detection method includes: obtaining the folding angle between the first housing and the second housing according to the electrical signal acquired by the detection circuit.

[0006] Another aspect of the embodiments of the present application further provides a foldable electronic device, which includes a processor and a memory that are coupled to each other, wherein the processor is configured to execute the computer program stored in the memory to execute the detection method of the foregoing embodiments.

[0007] The foldable electronic device and the detection method for the electronic device provided by the present application obtain the folding angle of the electronic device by detecting the electrical signal between the first detection position and the second detection position through a detection circuit, have a simple structure, will not generate any electromagnetic or other interference to the circuit of the electronic device, and are not easily affected by external interference, so the accuracy of its measurement results can be ensured. Description of the Drawings

[0008] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0009] Figure 1 is a schematic structural diagram of the electronic device in the unfolded form in some embodiments of the present application;

[0010] Figure 2 is Figure 1 a schematic structural diagram of the electronic device in the semi-folded form in the embodiments;

[0011] Figure 3 is Figure 1 a schematic structural diagram of the electronic device in the folded form in the embodiments;

[0012] Figure 4 is a schematic structural diagram of the electronic device in some other embodiments of the present application;

[0013] Figure 5 is a schematic structural diagram of the detection component in some embodiments of the present application;

[0014] Figure 6 is a schematic structural diagram of the detection component in some other embodiments of the present application;

[0015] Figure 7 is a schematic structural diagram of the detection component in some other embodiments of the present application;

[0016] Figure 8 It is a schematic structural diagram of a detection component in some other embodiments of the present application;

[0017] Figure 9 It is a partial schematic structural diagram of an electronic device in some other embodiments of the present application;

[0018] Figure 10 It is a partial schematic structural diagram of an electronic device in some other embodiments of the present application;

[0019] Figure 11 It is a schematic diagram of the frame of a foldable electronic device in some embodiments of the present application;

[0020] Figure 12 It is a schematic diagram of the structural composition of a mobile terminal device in some other embodiments of the present application. Detailed implementation manners

[0021] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be specifically noted that the following embodiments are only used to illustrate the present application, but do not limit the scope of the present application. Similarly, the following embodiments are only some embodiments of the present application rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present application.

[0022] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0023] As used herein, an "electronic device" (or simply "terminal") includes, but is not limited to, a device configured to receive / transmit communication signals via a wired connection (such as via a Public Switched Telephone Network (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection, and / or another data connection / network) and / or via a wireless interface (such as for a cellular network, Wireless Local Area Network (WLAN), digital television network such as a DVB-H network, satellite network, AM-FM broadcast transmitter, and / or another communication terminal). A communication terminal configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communication System (PCS) terminals that may combine cellular radiotelephone with data processing, facsimile, and data communication capabilities; PDAs that may include a radiotelephone, pager, Internet / intranet access, Web browser, notepad, calendar, and / or Global Positioning System (GPS) receiver; and conventional laptop and / or palmtop receivers or other electronic devices that include a radiotelephone transceiver. A mobile phone is an electronic device configured with a cellular communication module.

[0024] It should be noted that the electronic device in the embodiments of the present application is mainly directed to a foldable electronic device, and the foldable electronic device foldably connects two housings so that the electronic device can be miniaturized and the display screen can be enlarged. Taking a mobile phone with a foldable screen as an example, the foldable screen mobile phone has gradually become the development trend of the future whole machine. Its main advantages are that it combines entertainment and office work and is easy to carry, meeting the current consumers' demand for the unity of portability and diverse functions. Among them, the foldable screen mobile phone generally has folding methods such as inward folding and outward folding. For the foldable screen mobile phone with the inward folding method, after folding, the display surfaces of the display screen approach each other along the folding area, that is, the display screen is in an inward folding form. For the foldable screen mobile phone with the outward folding method, after folding, the display surfaces of the display screen deviate from each other along the folding area, that is, the display screen is in an outward folding form. The foldable electronic device of the present application may include electronic devices such as mobile phones, tablet computers, laptop computers, and wearable devices. Hereinafter, a foldable screen mobile phone will be used as an example for illustration.

[0025] Please refer to Figures 1 to 3 , Figure 1 FIG. 10 is a schematic structural diagram of the electronic device 10 in an unfolded form in some embodiments of the present application. Figure 2 is Figure 1 FIG. 14 is a schematic structural diagram of the electronic device 10 in a semi-folded form in the embodiments. Figure 3 is Figure 1Schematic diagram of the structure of the electronic device 10 in the folded state in the embodiment. It should be noted that: all directional indications (such as up, down, left, right, front, back...) in this application are only used to explain the relative positional relationship, movement conditions, etc. between components in a specific posture (such as shown in the attached Figure 1 figure). If this specific posture changes, then the directional indication also changes accordingly. Among them, Figure 1 the direction indicated by the arrow X in the figure can be simply regarded as the long axis direction of the electronic device, Figure 1 the direction indicated by the arrow Y in the figure can be simply regarded as the short axis direction of the electronic device, Figure 1 the direction indicated by the arrow Z in the figure can be simply regarded as the thickness direction of the electronic device. Generally, the size of the electronic device in the long axis direction is larger than its size in the short axis direction. The electronic device 10 may include a housing 11 and a display screen 12.

[0026] Among them, the housing 11 forms an accommodation space for arranging various components of the electronic device 10, such as a battery, an antenna, a circuit board, a processor, etc. At the same time, the housing 11 can also play a role in forming the external shape of the electronic device 10 and protecting the electronic device 10. The display screen 12 can be installed on the housing 11. In some embodiments, the housing 11 includes a rear cover and a middle frame, and the display screen 12 can be specifically fixed to the middle frame. The material of the housing 11 can be metal, plastic, ceramic or glass. The display screen 12 can be a liquid crystal display (LCD) screen, an organic light emitting diode (OLED) display screen, etc. Among them, the OLED display screen can be a flexible display screen or a rigid display screen. The display screen 12 can be an ordinary regular screen, or a special-shaped screen, a foldable screen, etc. For example, the display screen 12 can be relatively freely rotated and folded to form an arc, a sphere, a cylinder, etc. The display screen 12 can be arranged on the front of the electronic device 10, or on the back of the electronic device 10, or can be arranged on both the front and the back of the electronic device 10. The front of the electronic device 10 can be understood as the side facing the user when the user uses the electronic device 10, and the back of the electronic device 10 can be understood as the side facing away from the user when the user uses the electronic device 10.

[0027] Taking the example that the display screen 12 is arranged on the front of the electronic device 10. In terms of the layout range, the display screen 12 can cover all areas of the front of the electronic device 10, that is, the electronic device 10 with a full-screen can be formed. At this time, the display screen 12 not only has a display function, but also usually has a touch function, that is, the electronic device 10 can be operated by clicking on the display screen 12. Or, the display screen 12 can also only cover a partial area of the front of the electronic device 10. At this time, the display screen 12 can have a touch function or only have a display function; when only having a display function, the area of the housing 11 without the display screen 12 can be configured with corresponding human-machine operation elements such as buttons to operate the electronic device 10, and these human-machine operation elements can be set at any position such as the front, back or side of the electronic device 10. Further, the electronic device 10 involved in the embodiment of the present application has a foldable function to adjust the form of the electronic device 10 according to the needs of the user, so as to better meet the needs of the user.

[0028] The housing 11 may include a first housing 111 and a second housing 112. It should be noted that the terms "first" and "second" in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. The first housing 111 and the second housing 112 can rotate relative to each other to facilitate adjusting the included angle between the first housing 111 and the second housing 112. This included angle is also referred to as the folding angle in the embodiments of the present application, and the specific value of this included angle is referred to as the folding angle value in the embodiments of the present application.

[0029] It can be understood that the embodiments of the present application do not limit the quantity of the first housing 111 and the second housing 112. In specific practice, those skilled in the art can design according to actual needs. For example, taking the first housing 111 as the main body (with a chip set), there can be only one second housing 112 or multiple second housings 112; when there are multiple second housings 112, each second housing 112 can rotate relative to the first housing 111 to endow the electronic device 10 with more variable forms. In the implementation manners of each drawing, it is taken as an example that there is one first housing 111 and one second housing 112. Thus, in the following related descriptions, it is also taken as an example for description. As for the scheme with multiple first housings 111 / second housings 112, it is similar thereto, and the embodiments of the present application do not repeat the description.

[0030] In addition, the embodiments of the present application do not limit the sizes of the first housing 111 and the second housing 112. In specific practice, those skilled in the art can also adjust according to actual needs. In practical applications, the structural sizes of the first housing 111 and the second housing 112 can be completely the same. This implementation manner can be referred toFigures 1 to 3 the examples in; alternatively, there may also be differences in the structural dimensions of the first housing 111 and the second housing 112, which can be specifically determined in combination with the actual product design.

[0031] Only one of the first housing 111 and the second housing 112 may have the above-mentioned display screen 12. Alternatively, both the first housing 111 and the second housing 112 may include the above-mentioned display screen 12, so as to form display surfaces on the first housing 111 and the second housing 112 respectively. Taking the latter as an example, for the convenience of description, the display surface of the first housing 111 may be referred to as the first display surface 201, and the display surface of the second housing 112 may be referred to as the second display surface 202. The shapes and sizes of the first display surface 201 and the second display surface 202 may be exactly the same or may be different, and the specific size of the difference can be determined in combination with the actual product design.

[0032] In some embodiments, the first housing 111 and the second housing 112 may respectively have independent display screens 12. At this time, the display screens 12 of the first housing 111 and the second housing 112 may both be ordinary rigid screens and do not need to have a folding function, and the cost may be relatively low. In other embodiments, the display screens 12 of the first housing 111 and the second housing 112 may be an integral structure. At this time, the display screen 12 may be a flexible screen to adapt to the relative rotation between the first housing 111 and the second housing 112; and, there may also be a folding line 100 on the display screen 12, and the folding line 100 can guide the folding position of the user's electronic device 10. It can be understood that the folding position can also be guided by the setting of the housing 11, etc. In this way, the above-mentioned folding line 100 may not exist, and the influence on the display can also be reduced.

[0033] Combined with Figures 1 to 3 , the electronic device 10 involved in the embodiments of the present application may have three forms during the folding process, which are respectively Figure 1 the unfolded form shown in Figure 2 the semi-folded form shown in Figure 3 and the folded form shown in Figures 1 to 3 shown in Figures 1 to 3During the folding process of the [electronic device], the two display surfaces can approach each other. In this way, in the folded state, the first display surface 201 and the second display surface 202 can be attached to each other, and both display surfaces can turn off the screen, which is the inner folding method. If the folding of the electronic device 10 is the back-to-back folding of the two display surfaces, in the folded state, both the first display surface 201 and the second display surface 202 can be located on the outer surface of the electronic device 10, and at least one of them can be used for display, which is the outer folding method.

[0034] As Figures 1 to 3 shown, the electronic device 10 is in the inner folding method, and the folding angle θ that the first display surface 201 and the second display surface 202 can form by folding is such that 0 ≤ θ ≤ 180°. Among them, when the folding angle θ is equal to 0°, the display screen 12 is in the folded state; when the folding angle θ is equal to 180°, the display screen 12 is in the unfolded state; when the folding angle θ is between 0° and 180° and is not an endpoint value, the display screen 12 is in the semi-folded state.

[0035] In addition, in some embodiments, when the electronic device 10 is in the outer folding method, the folding angle θ formed between the first display surface 201 and the second display surface 202 is generally 180° - 360°. Among them, when the folding angle θ is equal to 180°, the display screen 12 is in the unfolded state; when the folding angle θ is equal to 360°, the display screen 12 is in the folded state; when the folding angle θ is between 180° and 360° and is not an endpoint value, the display screen 12 is in the semi-folded state.

[0036] In order to better control the content displayed on the two display surfaces, it is very necessary to detect the folding angle of the electronic device 10. As described in the background art, generally, the cooperation of a Hall sensor and a magnet is used to detect the folding angle. However, since the Hall sensor and the magnet are respectively arranged on the first housing and the second housing, the detection of the Hall sensor is easily interfered by the outside world, resulting in a large difference between the measurement result and the actual situation, and the accuracy is low.

[0037] Based on this, the present application also provides a foldable electronic device to improve the accuracy of measuring the folding angle of the electronic device.

[0038] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the electronic device 10 in some other embodiments of the present application. The electronic device 10 may include a housing 11, a display screen 12, a rotating shaft 13, and a detection component 14. Among them, the relevant technical features of the housing 11 and the display screen 12 can refer to the foregoing embodiments.

[0039] Specifically, the rotating shaft 13 is located between the first housing 111 and the second housing 112, and the first housing 111 can be rotatably connected to the second housing 112 through the rotating shaft 13. Among them, the rotating shaft 13 can be directly or indirectly (by means of an intermediate component in other structural forms) installed on the second housing 112. When the second housing 112 rotates relative to the first housing 111, the rotating shaft 13 can rotate synchronously with the second housing 112. Of course, in other ways, the rotating shaft 13 can be directly or indirectly (by means of an intermediate component in other structural forms) installed on the first housing 111. When the first housing 111 rotates relative to the second housing 112, the rotating shaft 13 can rotate synchronously with the first housing 111. Optionally, the axis of the rotating shaft 13 can overlap or be parallel to the folding line 100. The number of rotating shafts 13 can be one or multiple; when there are multiple rotating shafts 13, the rotating shafts 13 can be arranged at intervals in the axial direction.

[0040] In other words, the first housing 111 and the second housing 112 can be respectively connected to the rotating shaft 12 so that the first housing 111 and the second housing 112 can be switched between the folded state and the unfolded state through the rotating shaft 12. The second housing 112 is rotatably connected to the first housing 111, and the first housing 111 and the second housing 112 can rotate relative to each other so that the electronic device 10 can be switched between the folded state and the unfolded state. It should be noted that when the electronic device 10 is in the above-mentioned folded state, the display screen 12 can be located between the first housing 111 and the second housing 112, that is, the display screen 12 can be hidden, commonly known as "inner folding"; or the display screen 12 can cover the first housing 111 and the second housing 112, that is, the display screen 12 can be externally displayed, commonly known as "outer folding".

[0041] In an embodiment, the detection component 14 can include a detection circuit 141 and a component to be measured 142. The component to be measured 142 is connected to the rotating shaft 13 and can rotate under the drive of the rotating shaft 13. Among them, the component to be measured 142 is provided with a first detection position 1421 and a second detection position 1422, and the first detection position 1421 and the second detection position 1422 are respectively used to realize electrical connection with the detection circuit 141. When the rotating shaft 13 drives the component to be measured 142 to rotate, the resistance between the first detection position 1421 and the second detection position 1422 changes, so that the detection circuit 141 can obtain a changing electrical signal. Among them, the component to be measured 142 can be a cylinder or a cylindrical body made of a conductor material, so that the detection circuit 141 can obtain a changing electrical signal according to the resistance change between the first detection position 1421 and the second detection position 1422, and further obtain the folding angle of the electronic device 10.

[0042] Specifically, the first detection position 1421 can be a fixed position on the test piece 142 and is electrically connected to the detection circuit 141. That is, the first detection position 1421 rotates synchronously with the rotation of the test piece 142. When the shaft 13 drives the test piece 142 to rotate, the central angles corresponding to the first detection position 1421 and the second detection position 1422 gradually increase or decrease.

[0043] Among them, when the first detection position 1421 and the second detection position 1422 are located on the same circumference of the test piece 142, the center angle corresponding to the first detection position 1421 and the second detection position 1422 can be the center angle of the circle with the center of the same circle as the vertex and passing through the first detection position 1421 and the second detection position 1422. When the first detection position 1421 and the second detection position 1422 are located on different circumferences of the test piece 142, the center angle corresponding to the first detection position 1421 and the second detection position 1422 can be the center angle of the point projected on the circumference with the center of one of the circles as the vertex and passing through the first detection position 1421 and the second detection position 1422.

[0044] The second detection position 1422 may be an active position on the test piece 142. When the test piece 142 rotates along with the rotating shaft 13, the central angles corresponding to the second detection position 1422 and the first detection position 1421 are in a gradual state, so that the electrical signal detected by the detection circuit 141 is in a gradual state, and the folding angle between the first shell 111 and the second shell 112 can be obtained according to the electrical signal. In other words, when the test piece 142 is driven by the rotating shaft 13 to rotate, the resistance between the second detection position 1422 and the first detection position 1421 changes, so that the detection circuit 141 can obtain the changing electrical signal between the first detection piece 1421 and the second detection position 1422, and the folding angle of the electronic device 10 can be obtained according to the electrical signal obtained by the detection circuit 141.

[0045] The test piece 142 may be coaxially arranged with the rotating shaft 13, so that the test piece 142 may rotate synchronously with the rotating shaft 13. Of course, the test piece 142 may also be connected to the rotating shaft 13 by a transmission method such as a belt, a gear or a turbine, so that the test piece 142 may rotate with the rotation of the rotating shaft 13. Optionally, the transmission ratio between the rotating shaft 13 and the test piece 142 may not be specifically limited, and may be reasonably set according to the internal structure layout of the electronic device 10.

[0046] It can be understood that the electrical signal obtained by the detection circuit 141 can be a current signal or a voltage signal. During the rotation of the component under test 142, the resistance between the first detection position 1421 and the second detection position 1422 will change accordingly, so that the detection circuit 141 can obtain a changing current signal and / or voltage signal, thereby realizing the measurement of the folding angle. Among them, the component under test 142 can be a conductor structural component, and the second detection position 1422 and the first detection position 1421 can be equivalent to a resistor. When the central angle corresponding to the second detection position 1422 and the first detection position 1421 changes, the equivalent resistance between the second detection position 1422 and the first detection position 1421 changes, so that the detection circuit 141 can obtain a changing current signal and / or voltage signal.

[0047] The foldable electronic device provided by the embodiment of the present application realizes angle measurement through the above design of the detection circuit 141 and the component under test 142. Its structure is simple and will not cause any electromagnetic or other interference to the circuit of the electronic device 10. And it is not easily affected by external interference, so its measurement result is accurate. Among them, the changing electrical signal obtained by the detection circuit 141 can be configured to represent the folding angle between the first housing 111 and the second housing 112.

[0048] It can be understood that the detection circuit can be electrically connected to the processing circuit or the processor of the electronic device 10 to transmit the obtained changing electrical signal, so that the processing circuit or the processor of the electronic device 10 can obtain the folding angle according to the received electrical signal.

[0049] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of the detection component 14 in some embodiments of the present application.

[0050] The detection component 14 can include a detection circuit 141, a component under test 142, and a circuit board 143. The detection circuit 141 can be integrated on the circuit board 143, and the circuit board 143 can be assembled in the accommodation space of the housing 11. Among them, the circuit board 143 can be assembled in the first housing 111 and / or the second housing 112 and is configured to integrate the above detection circuit 141. Optionally, the circuit board 143 can also be a circuit board integrated with one or more of a processing circuit, an audio circuit, a power circuit, a switching circuit, a filtering circuit, a signal amplification circuit, etc. Among them, the detection circuit 141 can be electrically connected to the processing circuit through connectors such as board-to-board connectors, spring pin connectors, or connection methods such as conductor lines.

[0051] Optionally, the detection circuit 141 may have a first connection terminal 1411 and a second connection terminal 1412. The first connection terminal 1411 is used to electrically connect to the first detection position 1421, and the second connection terminal 1412 is used to electrically connect to the second detection position 1422. Among them, the first connection terminal 1411 can be electrically connected to the first detection position 1421 through a wire 150. The second connection terminal 1412 can be electrically connected to the second detection position 1422 through a conductive member 160.

[0052] As Figure 5 shown, when the device under test 142 rotates a certain angle along the S direction, that is, it is converted from the A1 form to the A2 form, since the first detection position 1411 is a fixed position on the device under test 142, the first detection position 1411 can rotate synchronously with the device under test 142. At this time, the first detection position 1411 drives the wire 150 to stretch or contract. That is, the wire 150 does not restrict the rotation of the device under test 142. Since the second detection position 1422 does not move as the device under test 142 rotates, that is, the relative position between the second detection position 1412 and the conductive member 160 remains unchanged during the rotation of the device under test 142, that is, the device under test 142 rotates synchronously relative to the conductive member 160 during rotation. Among them, the conductive member 160 can be a conductor, one end of which is connected to the second connection terminal 1412 and the other end is lapped on the device under test 142, so as not to hinder the rotation of the device under test 142 while making contact with the device under test 142. The position where the device under test 142 contacts the conductive member 160 is the second detection position 1422, and the position of the second detection position 1422 on the device under test 142 changes when the device under test 142 rotates.

[0053] In other words, the electronic device 10 may further include a conductive member 160. One end of the conductive member 160 is electrically connected to the second connection terminal 1412 of the detection circuit 141, and the other end is lapped on the device under test 142, so that the device under test 142 can rotate relative to the conductive member 160. Among them, the second detection position 1422 is the position on the device under test 142 where it overlaps with the conductive member 160.

[0054] It can be understood that the conductive member 160 can be a conductive structure such as a shrapnel or a spring provided on the circuit board 143, one end of which is fixedly connected to the second connection terminal 1412 of the detection circuit 141, and the other end is overlapped on the test piece 142, so that the test piece 142 can rotate relative to the conductive member 160. The second detection position 1422 is the position on the test piece 142 that overlaps with the conductive member 160. When the test piece 142 rotates, one end of the conductive member 160 is always overlapped on the test piece 142, so that the resistance between the first detection position 1421 and the second detection position 1422 obtained by the detection circuit 141 changes continuously, and then any folding angle within the detection range can be obtained. Optionally, when the folding mode of the electronic device 10 is inner folding, the detection range is 0°-180°; when the folding mode of the electronic device 10 is outer folding, the detection range is 180°-360°.

[0055] Of course, in other embodiments, the conductive member 160 may also be disposed on the housing 11, that is, on the first housing 111 and / or the second housing 112. One end of the conductive member 160 is electrically connected to the second connection terminal 1412 of the detection circuit 141, and the other end is connected to the DUT 142.

[0056] See also Figure 6 , Figure 6 1 is a schematic diagram of the structure of the detection assembly 14 in some other embodiments of the present application. The test piece 142 may be a gear, and the gear may be transmission-connected to the rotating shaft 13. For example, the gear may be sleeved on the rotating shaft 13 to rotate with the rotation of the rotating shaft 13.

[0057] Furthermore, the first detection position 1421 can be located at any position of the test piece 142, and the second detection position 1422 can be formed on any convex tooth surface on the test piece 142. That is, during the rotation of the test piece 142, the relative position of the first detection position 1421 on the test piece 142 is fixed, and the relative position of the second detection position 1422 on the test piece 142 changes, so that the resistance between the first detection position 1421 and the second detection position 1422 changes with the rotation of the test piece 142, thereby realizing the detection of the folding angle.

[0058] One end of the conductive member 160 overlaps with the protruding tooth of the test piece 142. When the test piece 142 rotates, the protruding tooth overlapped by the conductive member 160 changes. Figure 6As shown, when the test piece 142 rotates a certain angle along the S direction, that is, it is converted from the A1 form to the A2 form, since the first detection position 1411 is a fixed position on the test piece 142, the first detection position 1411 can rotate synchronously with the test piece 142, and at this time, the first detection position 1411 drives the wire 150 to extend or contract. That is, the wire 150 will not limit the rotation of the test piece 142. Since the relative position of the second detection position 1422 does not change when the test piece 142 rotates, that is, the relative position of the second detection position 1412 and the conductive member 160 remains unchanged during the rotation of the test piece 142, that is, the test piece 142 rotates synchronously relative to the conductive member 160 when rotating, so as not to hinder the rotation of the test piece 142 while contacting the test piece 142. The surface position of the convex tooth of the test piece 142 in contact with the conductive member 160 is the second detection position 1422.

[0059] It can be understood that there is a gap between two adjacent protruding teeth of the test piece 142. When the end of the conductive member 160 connected to the protruding teeth switches from one protruding tooth to another adjacent protruding tooth, the resistance value between the first detection position 1421 and the second detection position 1422 changes suddenly, that is, it is a discontinuous change.

[0060] In other words, when the test piece 142 is a gear, and the second detection position 1422 is located on the convex tooth surface of the gear, the resistance value between the first detection position 1421 and the second detection position 1422 obtained by the detection circuit 141 is a discontinuous change, that is, a step-like change, so that the folding angle obtained is a plurality of folding angles within the detection range. Optionally, when the electronic device is folded inwardly, the detection range is 0°-180°; when the electronic device is folded outwardly, the detection range is 180°-360°.

[0061] Specifically, when the number of gears on the test piece 142 is 18, when the second detection position 1422 switches from one of the gears to another adjacent gear, it can be represented that the angle of rotation of the test piece 142 is 10°, and the folding angle of the electronic device is obtained. It can be understood that when the number of gears on the test piece 142 changes, the angle of rotation of the test piece 142 represented by the second detection position 1422 switching from one of the gears to another adjacent gear changes accordingly.

[0062] It should be noted that the technical features not fully described in this embodiment can refer to the specific description in the previous embodiments. To avoid redundancy, no specific description is given in this embodiment.

[0063] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of the detection assembly 14 in some other embodiments of the present application. The test piece 142 can be a gear, and the gear can be connected to the rotating shaft 13 in a transmission manner.

[0064] Further, Figure 7 The difference between the embodiments and Figure 6 the embodiments is that: a notch 1420 is provided on the component under test 142, and the notch 1420 can be located between two adjacent convex teeth.

[0065] Specifically, by setting the notch 1420, the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend when the component under test 142 rotates no more than one week.

[0066] Among them, the central angle corresponding to the notch 1420 is set offset from the central angles corresponding to the first detection position 1421 and the second detection position 1422. It can be understood that the central angle corresponding to the notch 1420 can be the central angle with the center of the circle where the notch 1420 is located as the vertex and passing through the opposite sides of the notch 1420 respectively. Optionally, the circle where the notch 1420 is located is coaxial with the circles where the first detection position 1421 and the second detection position 1422 are located.

[0067] When the electronic device 10 is in the folded state, the first detection position 1421 and the second detection position 1422 can be located on the opposite sides of the notch 1420. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the largest. When the electronic device 10 is in the unfolded state, the first detection position 1421 and the second detection position 1422 can be located on the same side and adjacent to each other of the notch 1420. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the smallest. That is, when the electronic device 10 switches from the folded state to the unfolded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows a decreasing trend. When the electronic device 10 switches from the unfolded state to the folded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows an increasing trend.

[0068] In addition, in other embodiments, when the electronic device 10 is in the folded state, the first detection position 1421 and the second detection position 1422 can be located on the same side and adjacent to each other of the notch 1420. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the smallest. When the electronic device 10 is in the unfolded state, the first detection position 1421 and the second detection position 1422 can be located on opposite sides of the notch 1420. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the largest. That is, when the electronic device 10 switches from the folded state to the unfolded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows an increasing trend. When the electronic device 10 switches from the unfolded state to the folded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows a decreasing trend.

[0069] It can be understood that, for Figure 5 and Figure 6 the component to be measured 142 in the embodiment, a notch can also be provided on the component to be measured 142 so that the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend during one rotation of the component to be measured 142. In addition, in some embodiments, according to the transmission ratio between the rotating shaft and the component to be measured, when the electronic device switches from the folded state to the unfolded state, or from the unfolded state to the folded state, the component to be measured may not need to rotate one full circle (for example, it can rotate 1 / 2 circle, or 1 / 3 circle, etc.). At this time, the movement trajectory of the second detection position 1422 on the component to be measured is an arc that is the same as the circumferential direction of the component to be measured.

[0070] It should be noted that the technical features not described in detail in this embodiment can refer to the specific descriptions in the foregoing embodiments. To avoid redundancy, no specific description will be given in this embodiment.

[0071] Please refer to Figure 8 , Figure 8 , which is a schematic structural diagram of the detection component 14 in some other embodiments of the present application. The component to be measured 142 can be a cylindrical or cylindrical structure, and a conductor 170 is provided on its circumferential side.

[0072] Specifically, the conductor 170 can be annular and surround the circumferential side of the component to be measured 142; or the conductor 170 can be strip-shaped and arranged along the circumferential direction of the component to be measured 142 on the component to be measured 142. In other words, the conductor 170 extends along the circumferential direction of the component to be measured 142. Among them, when the conductor 170 is annular, a notch can be provided on the conductor 170 so that the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend during one rotation of the conductor 170.

[0073] At this time, the first detection position 1421 and the second detection position 1422 can be respectively formed on the conductor 170. Among them, the conductor 170 rotates synchronously with the test piece 142 when the test piece 142 rotates.

[0074] It should be noted that the technical features not detailed in this embodiment can be referred to the specific descriptions in the foregoing embodiments. To avoid redundancy, no specific description will be given in this embodiment.

[0075] Please refer to Figure 9 , Figure 9 which is a partial structural schematic diagram of the electronic device 10 in some other embodiments of the present application. In this embodiment, the test piece 142 is cancelled.

[0076] Specifically, the rotating shaft 13 is a cylindrical or cylindrical structure made of a conductor. The first detection position 1421 and the second detection position 1422 are respectively formed on the rotating shaft 13. In other words, in some embodiments, the rotating shaft of the electronic device 13 is replaced by the test piece 142. Or, it can be understood that the rotating shaft 13 and the test piece 142 are combined into one, which is not only used to realize the folding function of the electronic device 10, but also can be used to cooperate with the detection circuit 141 to realize the detection of the folding angle.

[0077] Among them, for Figure 9 the rotating shaft 13 in the embodiment, a notch can also be provided on the rotating shaft 13 so that the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend during one rotation of the rotating shaft 13.

[0078] It should be noted that the technical features not detailed in this embodiment can be referred to the specific descriptions in the foregoing embodiments. To avoid redundancy, no specific description will be given in this embodiment.

[0079] Please refer to Figure 10 , Figure 10 which is a partial structural schematic diagram of the electronic device 10 in some other embodiments of the present application. In this embodiment, a conductor 180 is provided on the circumferential side of the rotating shaft 13.

[0080] Specifically, the conductor 180 can be annular and surround the circumferential side of the rotating shaft 13; or the conductor 180 can be strip-shaped and arranged on the rotating shaft 13 along the circumferential direction of the rotating shaft 13. At this time, the first detection position 1421 and the second detection position 1422 are respectively formed on the conductor 180. Among them, the conductor 180 rotates with the rotation of the rotating shaft 13 when the rotating shaft 13 rotates. Among them, when the conductor 180 is annular, a notch can be provided on the conductor 180 so that the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend during one rotation of the conductor 180.

[0081] Of course, in other embodiments, the conductor 180 may be a convex tooth provided on the rotating shaft 13. In other words, the rotating shaft 13 may be a gear rotating shaft made of a conductor, that is, a plurality of convex teeth may be provided and distributed in sequence along the circumferential direction of the rotating shaft 13. The first detection position 1421 may be located at any position on the rotating shaft 13, and the second detection position 1422 may be formed on the surface of any convex tooth on the rotating shaft 13. That is, during the rotation of the rotating shaft 13, the relative position of the first detection position 1421 on the rotating shaft 13 is fixed, and the relative position of the second detection position 1422 on the rotating shaft 13 changes, so that the resistance between the first detection position 1421 and the second detection position 1422 changes with the rotation of the rotating shaft 13, thereby realizing the detection of the folding angle.

[0082] One end of the conductive member 160 is lapped on the convex tooth of the rotating shaft 13. When the rotating shaft 13 rotates, the convex tooth on which the conductive member 160 is lapped changes.

[0083] It can be understood that there is a gap between two adjacent convex teeth of the rotating shaft 13. When the end of the conductive member 160 connecting the convex teeth switches from one convex tooth to an adjacent another convex tooth, the resistance value between the first detection position 1421 and the second detection position 1422 changes suddenly, that is, the change is discontinuous.

[0084] The rotating shaft 13 is a gear rotating shaft made of a conductor, the second detection position 1422 is located on the surface of the convex tooth of the gear, and the resistance value between the first detection position 1421 and the second detection position 1422 obtained by the detection circuit 141 changes discontinuously, that is, changes in a stepped manner, so that the obtained folding angle is multiple folding angles within the detection range. Optionally, when the electronic device is an in-fold type, the detection range is 0°-180°; when the electronic device is an out-fold type, the detection range is 180°-360°.

[0085] Specifically, when the number of gears on the rotating shaft 13 is 18, when the second detection position 1422 switches from one gear to an adjacent another gear, the angle of rotation of the rotating shaft 13 can be characterized as 10°, and the folding angle of the electronic device can be obtained accordingly. It can be understood that when the number of gears on the rotating shaft 13 changes, the angle of rotation of the rotating shaft 13 characterized by the second detection position 1422 switching from one gear to an adjacent another gear changes accordingly.

[0086] In one embodiment, a notch may be provided on the rotating shaft 13, and the notch may be located between two adjacent convex teeth. By providing the notch, the resistance value between the first detection position 1421 and the second detection position 1422 shows an increasing or decreasing trend when the rotating shaft 13 rotates less than one week.

[0087] Among them, the central angle corresponding to the notch is arranged out of phase with the central angles corresponding to the first detection position 1421 and the second detection position 1422. It can be understood that the central angle corresponding to the notch can be the central angle with the center of the circle where the notch is located as the vertex and passing through the opposite sides of the notch respectively. Optionally, the circle where the notch is located is coaxial with the circles where the first detection position 1421 and the second detection position 1422 are located.

[0088] When the electronic device 10 is in the folded state, the first detection position 1421 and the second detection position 1422 can be located on the opposite sides of the notch. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the largest. When the electronic device 10 is in the unfolded state, the first detection position 1421 and the second detection position 1422 can be located on the same side and adjacent to each other of the notch. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the smallest. That is, when the electronic device 10 switches from the folded state to the unfolded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows a decreasing trend. When the electronic device 10 switches from the unfolded state to the folded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows an increasing trend.

[0089] In addition, in other embodiments, when the electronic device 10 is in the folded state, the first detection position 1421 and the second detection position 1422 can be located on the same side and adjacent to each other of the notch. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the smallest. When the electronic device 10 is in the unfolded state, the first detection position 1421 and the second detection position 1422 can be located on the opposite sides of the notch. At this time, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 141 is the largest. That is, when the electronic device 10 switches from the folded state to the unfolded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows an increasing trend. When the electronic device 10 switches from the unfolded state to the folded state, the resistance value between the second detection position 1422 and the first detection position 1421 obtained by the detection circuit 142 shows a decreasing trend.

[0090] It should be noted that the technical features not detailed in this embodiment can refer to the specific descriptions in the foregoing embodiments. To avoid repetition, no specific description will be given in this embodiment.

[0091] It can be understood that for the above different embodiments, mainly during the folding process of the electronic device, according to the change in the resistance value between the first detection position and the second detection position, the detection circuit can obtain electrical signals such as a changing voltage signal or current signal. The processor or processing circuit of the electronic device can obtain the folding angle of the electronic device based on the above electrical signals. In addition, before and after the electronic device is folded, the change in the resistance value between the first detection position and the second detection position can be configured to characterize the change in the folding angle of the electronic device 10.

[0092] The foldable electronic device provided by the embodiments of the present application obtains the folding angle of the electronic device by detecting the electrical signal between the first detection position and the second detection position through a detection circuit. The structure is simple, and it will not cause any electromagnetic or other interference to the circuit of the electronic device, and it is not easily affected by external interference. Therefore, the accuracy of its measurement results can be guaranteed.

[0093] Among them, one of the first detection position and the second detection position remains in a spatially stationary state during the folding process of the electronic device, and the other rotates synchronously during the folding process of the electronic device, so that the electrical signal between the first detection position and the second detection position changes.

[0094] Among them, the detection circuit 141 can be a bridge circuit to output the collected voltage signal or current signal to the processor or processing circuit of the electronic device. The processor or processing circuit can use an analog-to-digital conversion circuit to convert analog signals such as voltage signals or current signals into digital signals to obtain the folding angle between the first housing 111 and the second housing 112. It can be understood that the detection circuit 141 generally has an analog signal input interface and an analog signal output interface. The analog signal input interface is connected to the component to be measured 142, and the analog signal output interface is connected to the processing circuit / processor.

[0095] Optionally, the detection circuit 141 may further include an amplifier circuit and an analog-to-digital conversion circuit. The input end of the amplifier circuit is connected to the output end of the detection circuit 141, the output end of the amplifier circuit is connected to the input end of the analog-to-digital conversion circuit, and the output end of the analog-to-digital conversion circuit is connected to the processor / processing circuit of the electronic device 10. The amplifier circuit is configured to amplify the electrical signal collected by the detection circuit 141 and then output it to the analog-to-digital conversion circuit. The analog-to-digital conversion circuit is configured to convert the electrical signal into a digital signal and then transmit it to the processor inside the electronic device 10, etc.

[0096] Based on the structural arrangement of the above-mentioned foldable electronic device, an embodiment of the present application further provides a detection method for an electronic device, which can be used for the above-mentioned electronic device. Among them, the detection method includes: obtaining the folding angle of the first housing and the second housing according to the electrical signal obtained by the detection circuit. Specifically, a correspondence relationship between the resistance change between the first detection position and the second detection position and the folding angle of the electronic device can be established in advance. When it is necessary to obtain the folding angle of the electronic device, the detection circuit transmits the collected electrical signal to the processor of the electronic device, and the processor can obtain the folding angle corresponding to the electrical signal by searching.

[0097] It can be understood that during the folding process of the electronic device, the resistance between the first detection position and the second detection position increases or decreases. Thus, a one-to-one correspondence relationship can be established between the resistance between the first detection position and the second detection position and the folding angle of the electronic device. Furthermore, the folding angle can be obtained by obtaining the resistance between the first detection position and the second detection position in real time.

[0098] Please refer to Figure 11 , Figure 11 FIG. 10 is a schematic diagram of the framework of the foldable electronic device 10 in some embodiments of the present application. The electronic device 10 may include a processor 60 and a memory 70 that are coupled to each other.

[0099] Among them, the processor 60 may be a processing unit integrated with one or more of the processing circuits and sampling circuits in the foregoing embodiments, and may be configured to execute the computer program stored in the memory 70 to perform the detection method described in the foregoing embodiments. The processor 60 controls the memory 70 and itself to implement the steps of the detection method embodiment.

[0100] The memory 70 stores program instructions 701 that can be run by the processor 60. The program instructions 701 are used to implement the steps in the embodiment of the above-mentioned detection method. Specifically, the memory 70 may be a medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store the program instructions 701, or may also be a server that stores the program instructions 701. The server may send the stored program instructions 701 to other devices for running, or may also run the stored program instructions 701 by itself.

[0101] In several embodiments provided by the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.

[0102] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0103] In addition, in each embodiment of the present application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0104] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in each embodiment of the present application.

[0105] The foregoing storage medium includes various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs.

[0106] In addition, the embodiments of the present application also provide a mobile terminal device. Please refer to Figure 12 , Figure 12FIG. 0 is a schematic structural diagram of a mobile terminal device 900 in some other embodiments of the present application. The mobile terminal device 900 may be a mobile phone, a tablet computer, a laptop computer, a wearable device, etc. In the embodiments of the present application, the mobile phone is taken as an example. The structure of the mobile terminal device 900 generally includes an RF circuit 910, a memory 920, an input unit 930, a display unit 940 (i.e., the display screen 12 in the above embodiments), a sensor 950, an audio circuit 960, a wifi module 970, a processor 980, a power supply 990, etc. Among them, the RF circuit 910, the memory 920, the input unit 930, the display unit 940, the sensor 950, the audio circuit 960, and the wifi module 970 are respectively connected to the processor 980; the power supply 990 is used to provide electrical energy for the entire mobile terminal device 900.

[0107] Specifically, the RF circuit 910 is used to receive and transmit signals; the memory 920 is used to store data instruction information; the input unit 930 is used to input information, which may specifically include a touch panel 931 and other input devices 932 such as operation buttons; the display unit 940 may include a display panel 941 (i.e., the display screen 12 in the above embodiments), etc.; the sensor 950 includes an infrared sensor, a laser sensor, the pressure sensor and the position sensor in the foregoing embodiments, etc., and is used to detect user proximity signals, distance signals, pressure signals, position signals, etc.; a speaker 961 and a microphone (or microphone) 962 are connected to the processor 980 through the audio circuit 960 and are used to receive and transmit sound signals; the wifi module 970 is used to receive and transmit wifi signals, and the processor 980 (which can be understood as the processor 85 in the above embodiments) is used to process the data information of the mobile terminal device. It can be understood that for the technical features not detailed in the embodiments of the present application, reference may be made to the specific descriptions in the above embodiments, so the embodiments of the present application will not be elaborated herein.

[0108] The foldable electronic device provided by the embodiments of the present application obtains the folding angle of the electronic device by detecting the electrical signal between the first detection position and the second detection position through a detection circuit. The structure is simple, does not generate any electromagnetic or other interference to the circuit of the electronic device, and is not easily affected by external interference, so the accuracy of its measurement results can be ensured.

[0109] It should be noted that the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or settings.

[0110] The above are only some embodiments of the present application, and thus do not limit the protection scope of the present application. Any equivalent device or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present application.

Claims

1. A foldable electronic device, characterized in that, The electronic device includes: A housing including a first housing and a second housing capable of relative rotation; A rotating shaft located between the first housing and the second housing; the first housing is rotationally connected to the second housing through the rotating shaft; and A detection component including a detection circuit and a component to be measured; the component to be measured is connected to the rotating shaft; Wherein, a first detection position and a second detection position are provided on the component to be measured; the component to be measured rotates with the rotation of the rotating shaft, and the resistance between the first detection position and the second detection position changes with the rotation of the component to be measured; the first detection position and the second detection position are respectively used for electrical connection with the detection circuit; the detection circuit is configured to obtain an electrical signal between the first detection position and the second detection position, and obtain the folding angle of the electronic device according to the electrical signal.

2. The electronic device according to claim 1, wherein The first detection position is a fixed position provided on the component to be measured and is electrically connected to the detection circuit; Wherein, when the rotating shaft drives the component to be measured to rotate, the central angle corresponding to the first detection position and the second detection position gradually increases or gradually decreases.

3. The electronic device according to claim 2, characterized in that, The electronic device further includes a conductive member, one end of the conductive member is electrically connected to the detection circuit, and the other end is lapped on the component to be measured so that the component to be measured can rotate relative to the conductive member; wherein, the second detection position is the position on the component to be measured where the conductive member is lapped.

4. The electronic device according to claim 3, wherein The conductive member is a shrapnel or a spring; the component to be measured is a cylinder or a cylindrical body made of a conductor material.

5. The electronic device according to claim 3, wherein The component to be measured is a gear, and the gear is in transmission connection with the rotating shaft; Wherein, the second detection position is formed on the convex teeth of the gear.

6. The electronic device according to claim 2, wherein A notch is provided on the component to be measured so that the resistance value between the first detection position and the second detection position shows an increasing or decreasing trend when the component to be measured rotates no more than one week.

7. The electronic device according to claim 2, wherein A conductor is provided on the component to be measured, and the conductor extends in the circumferential direction of the component to be measured; wherein, the first detection position and the second detection position are respectively formed on the conductor.

8. The electronic device according to claim 2, wherein The electronic device further includes a circuit board assembled in the housing, and the detection circuit is provided on the circuit board; Wherein, the detection circuit has a first connection terminal and a second connection terminal, the first connection terminal is electrically connected to the first detection position through a wire, and the second connection terminal is electrically connected to the second detection position through a conductive member.

9. A foldable electronic device, characterized in that, The electronic device includes: A housing including a first housing and a second housing capable of relative rotation; A rotating shaft located between the first housing and the second housing; the first housing is rotationally connected to the second housing through the rotating shaft; and A detection circuit; Wherein, a first detection position and a second detection position are provided on the rotating shaft; the resistance between the first detection position and the second detection position changes as the rotating shaft rotates; the first detection position and the second detection position are respectively used for electrically connecting with the detection circuit; the detection circuit is configured to obtain an electrical signal between the first detection position and the second detection position, and obtain the folding angle of the electronic device according to the electrical signal.

10. The electronic device according to claim 9, wherein A plurality of convex teeth are provided on the rotating shaft and are sequentially distributed along the circumferential direction of the rotating shaft; wherein, the second detection position is formed on any one of the convex teeth on the rotating shaft.

11. The electronic device according to claim 10, wherein, A notch is provided on the rotating shaft, and the notch is located between two adjacent convex teeth, so that the resistance value between the first detection position and the second detection position shows an increasing or decreasing trend when the rotating shaft rotates no more than one week.

12. The electronic device according to claim 9, characterized in that, A conductor is provided on the rotating shaft, and the conductor extends in the circumferential direction of the rotating shaft; wherein, the first detection position and the second detection position are respectively formed on the conductor.

13. A detection method for an electronic device, characterized in that, The electronic device is the electronic device according to any one of claims 1-12; Wherein, the detection method includes: obtaining the folding angle of the first housing and the second housing according to the electrical signal obtained by the detection circuit.

14. A foldable electronic device, characterized in that, The electronic device includes a processor and a memory that are coupled to each other, wherein, The processor is configured to execute the computer program stored in the memory to execute the detection method according to claim 13.