Patent Description:
For an electronic device having a flexibly foldable screen, in a case that a rotating action needs to be performed on the electronic device to meet demands such as human-computer interaction and function expansion, it is necessary to detect a folding angle accurately.

The prior art provides a scheme to detect a folding angle by using a light emitter and a receiver. As shown in <FIG>, a first foldable main body <NUM>, a second foldable main body <NUM>, a light emitter <NUM>, and a plurality of light receivers <NUM> arranged at intervals are used to determine a folding angle. The first foldable main body <NUM> is rotationally connected to the second foldable main body <NUM>; the light emitter <NUM> is fixed relative to the first foldable main body <NUM>; the plurality of light receivers <NUM> are fixed relative to the second foldable main body <NUM>; the light emitter <NUM> can be selectively matched with one of the plurality of light receivers <NUM>; and a processing unit is configured to: determine a target light receiver that is currently matched with the light emitter, and determine a folding angle of an electronic device with a foldable screen based on preset position information of the light receiver and the light emitter.

The existing light sensor-based scheme requires a great quantity of light receivers. However, because space of a rotating shaft is limited, a quantity of light receivers that can be disposed is limited. In addition, in a case that a great quantity of light receivers are used, costs are increased; and in a case that the great quantity of light receivers are disposed on a relatively small rotating shaft, difficulty in design is increased, and a great quantity of detection port resources of a central processing unit (Central Processing Unit, CPU) chip are occupied.

In summary, an existing method for detecting a folding angle of an electronic device has the problems of high costs, great design difficulty, and high occupation of detection port resources.

<CIT> discloses a rotary shaft assembly, electronic equipment and a method for detecting the opening angle of the electronic equipment. The rotary shaft assembly comprises a first rotary shaft and an adjustable capacitor, and the adjustable capacitor is electrically connected with a controller of the electronic equipment and comprises a first pole piece and a second pole piece, wherein the first rotary shaft is used for driving the first pole piece to rotate so that the overlapping area of the first pole piece and the second pole piece can be changed; and the adjustable capacitor outputs different capacitances according to the different overlapping areas, and the controller detects the opening angle of a display end according to the different capacitances. The capacitances output by the adjustable capacitor are changed through the rotary shaft, so that the corresponding relationship of the opening angle of the display end and the capacitances output by the adjustable capacitor is established, the generated capacitances and stored values are compared and subjected to logic computing through the controller where the stored values corresponding to the opening angle of the display end are stored, the stored values corresponding to the capacitances are determined, and finally the opening angle of the display end is determined.

<CIT> relates to a slide mobile phone including a main body and a slider, comprising: a capacitance sensing electrode installed in the main body; a ground electrode installed at the main body opposite side of the slider; a capacitance sensor that uses the capacitance sensing electrode and the ground electrode as the input terminal, and sends out an open output signal when the capacitance sensing electrode detects the ground electrode and; a function control means that receives the open output signal of the capacitance sensor and operates the functions of the mobile phone. Compared to the conventional Hall sensor method, the price is low because it does not require a magnet, and it does not malfunction due to the electromagnetic waves of the mobile phone itself or the magnetic fields of the speaker and antenna provided inside the mobile phone.

<CIT> discloses a detection device, a detection method and an electronic apparatus. The detection device is arranged at the rotation component of the electronic apparatus, wherein the rotation component includes a first rotation body and a second rotation body, wherein the first rotation body can rotate relative to the second rotation body. The detection device comprises a first polar plate, an electric conduction component and a detector; the first polar plate is arranged at the first end surface of the first rotation body; first electric field line distribution is formed between the first polar and a ground pole; the electric conduction component is arranged at the second end surface of the second rotation body; when the electric conduction component rotates relative to the first rotation body with the second rotation body, the first polar plate will output a first capacitance change parameter with the change of the first electric field line distribution; and the detector is used for obtaining the angle of the rotation of the second rotation body relative to the first rotation body based on the first capacitance change parameter.

<CIT> relates to the technical field of display, and in particular relates to a folding type display device and a method for determining the overturning angle of the display device, for solving the problem that for the folding structure in the prior art, blocking is caused to the inner sides of spliced areas, consequently, the visual angle of observation is reduced. The display device provided by the invention comprises at least two display panels, wherein the at least two display panels are sequentially spliced together through connecting parts; the connecting parts are positioned on the spliced areas of any two adjacent display panels, each connecting part at least comprises a first match part arranged on the first display panel and a second match part arranged on the second display panel; the first match part and the second match part are of half round structures, and the first match part and the second match part are in matched sliding at the outer side of the spliced area, and thus the folding of the display device is realized. With the folding type display device, the problem that the visual angle of observation is reduced can be solved, the overturning at any angle can be realized, and the overturned display panels are stably fixed.

<CIT> provides folding screen electronic equipment and a folding angle determination method, the folding screen electronic equipment comprises a first folding main body, a second folding main body, a light emitter and a plurality of light receivers arranged at intervals, and the first folding main body and the second folding main body are rotatably connected; the light emitter is fixedly arranged relative to the first folding main body; the plurality of light receivers are fixedly arranged relative to the second folding main body, and one of the plurality of light receivers can be selectively matched with the light emitter; the processing unit is used for determining a target light receiver matched with the light emitter at present and determining the folding angle of the folding screen electronic equipment according to preset position information of the light receiver and the light emitter. According to the embodiment of the invention, the folding angle of the folding screen electronic equipment is detected by adopting an optical scheme, and the folding angle can be reliably detected, so that the folding screen electronic equipment can carry out differentiated UI display according to the folding angle, the interference of electromagnetism or a magnet is avoided, and the condition of false triggering can be avoided.

Embodiments of the present disclosure provides an electronic device, to resolve the problems of high costs, great design difficulty, and high occupation of detection port resources of a method for detecting a folding angle of an electronic device in the relat art.

To resolve the foregoing problems, the embodiments of the present disclosure are implemented as follows:
An embodiment of the present disclosure provides an electronic device according to the independent claim.

According to the technical solution of the present disclosure, a first detection part is fixed relative to one of two foldable main bodies; a second detection part is fixed relative to the other one of the two foldable main bodies; a detection loop is formed when the first detection part is switchably connected to a plurality of capacitors of the second detection part; and a relative angle between the first foldable main body and the second foldable main body is detected by the first detection part and the second detection part. Therefore, costs and space occupation can be reduced; and design difficulty can be decreased. In addition, detection for any angle can be realized, which improves detection performance.

The following clearly and completely describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

An embodiment of the present disclosure provides an electronic device. As shown in <FIG> and <FIG>, the electronic device includes:.

The electronic device in this embodiment of the present disclosure includes the first foldable main body <NUM>, the second foldable main body <NUM> disposed on a side of the first foldable main body <NUM>, the rotating shaft <NUM> disposed between the first foldable main body <NUM> and the second foldable main body <NUM>, and the detection assembly <NUM>.

The electronic device may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), a mobile Internet device (MID), a wearable device, or the like.

The first foldable main body <NUM> is rotationally connected to the second foldable main body <NUM> by the rotating shaft <NUM>. The first foldable main body <NUM> and the second foldable main body <NUM> may not be particularly distinguished. As shown in <FIG>, a left foldable main body is the first foldable main body, and a right foldable main body is the second foldable main body; or the left foldable main body is the second foldable main body, and the right foldable main body is the first foldable main body. This embodiment of the present disclosure is described by using an example in which the left foldable main body is the first foldable main body and the right foldable main body is the second foldable main body. A case in which the left foldable main body is the second foldable main body and the right foldable main body is the first foldable main body is similar to the above case.

The detection assembly <NUM> includes a first detection part <NUM> and a second detection part <NUM>. The two detection parts are disposed at different positions. For example, the first detection part <NUM> is fixed relative to the first foldable main body <NUM>, and the second detection part <NUM> is fixed relative to the second foldable main body <NUM>; or the first detection part <NUM> is fixed relative to the second foldable main body <NUM>, and the second detection part <NUM> is fixed relative to the first foldable main body <NUM>.

The second detection part <NUM> includes a plurality of capacitors <NUM> that are disposed at intervals in a rotating direction of the first foldable main body <NUM> and the second foldable main body <NUM>. When the first foldable main body <NUM> rotates clockwise, the second foldable main body <NUM> may rotate clockwise or counterclockwise. Distances between all adjacent capacitors <NUM> may be the same or different. All capacitances of the capacitors <NUM> are different. The capacitors <NUM> may be pF-grade capacitors.

Owing to a position relationship between the first detection part <NUM> and the second detection part <NUM> and rotational connection that is between the first foldable main body <NUM> and the second foldable main body <NUM> and that is implemented by the rotating shaft <NUM>, the first detection part <NUM> can be switchably connected to the plurality of capacitors <NUM>. In a case that the first detection part <NUM> is connected to one of the capacitors <NUM>, the first detection part <NUM> is conducted with the second detection part <NUM> to form the detection loop.

After the detection loop is formed, the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> can be detected by the detection assembly <NUM>. Each capacitor <NUM> may correspond to a folding angle between the first foldable main body <NUM> and the second foldable main body <NUM>. When the first detection part <NUM> is conducted with the second detection part <NUM>, the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> can be determined based on a capacitor <NUM> that is connected to the first detection part <NUM>.

According to the above structure, a first detection part is fixed relative to one of two foldable main bodies; a second detection part is fixed relative to the other one of the two foldable main bodies; and a detection loop for detecting the relative angle between the first foldable main body and the second foldable main body is formed when the first detection part is switchably connected to a plurality of capacitors of the second detection part. Therefore, costs and space occupation can be reduced; and design difficulty can be decreased. In addition, detection for any angle can be realized, which improves detection performance.

In an embodiment of the present disclosure, as shown in <FIG> and <FIG>, the first foldable main body <NUM> is fixed relative to the rotating shaft <NUM>, the second foldable main body <NUM> is rotationally mounted on the rotating shaft <NUM>, the first detection part <NUM> is mounted on the first foldable main body <NUM> or the rotating shaft <NUM>, and the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>.

The first foldable main body <NUM> may be fixed relative to and connected to the rotating shaft <NUM>, and the second foldable main body <NUM> is rotationally mounted on the rotating shaft <NUM>. Because the first foldable main body <NUM> is fixed relative to the rotating shaft <NUM>, the second foldable main body <NUM> can rotate relative to the first foldable main body <NUM>. In this case, a form of a structure in which the first detection part <NUM> is fixed relative to one of the two foldable main bodies, and the second detection part <NUM> is fixed relative to the other one of the two foldable main bodies is as follows: The first detection part <NUM> is mounted on the first foldable main body <NUM>, and the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>; or the first detection part <NUM> is mounted on the rotating shaft <NUM>, and the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>.

For a case in which the first detection part <NUM> is mounted on the first foldable main body <NUM>, the first detection part <NUM> may be disposed on an end surface, connected to the rotating shaft <NUM>, of the first foldable main body <NUM>, or disposed in the first foldable main body <NUM>, provided that the first detection part <NUM> can protrude from the first foldable main body <NUM> and be connected to the second detection part <NUM>. Accordingly, for a case in which the first detection part <NUM> is mounted on the rotating shaft <NUM>, in a case that the first detection part <NUM> is an elastic component, the first detection part <NUM> may be disposed at any position of the rotating shaft <NUM>, thereby being connected to the second detection part <NUM>.

For a case in which the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>, the plurality of capacitors <NUM> included by the second detection part <NUM> may be disposed on an end surface, in contact with the rotating shaft <NUM>, of the second detection part <NUM>. Alternatively, a cylinder sleeving the rotating shaft <NUM> is disposed in the second foldable main body <NUM>, the plurality of capacitors <NUM> are disposed in a circumferential direction of the cylinder, such that the first detection part <NUM> can be switchably connected to the plurality of capacitors <NUM> in a rotating process of the second foldable main body <NUM>.

It should be noted that the distances between all the adjacent capacitors <NUM> may be the same or different. Capacitances of all the capacitors <NUM> are different. In a case that the distances between all the adjacent capacitors <NUM> are the same, capacitances between all the adjacent capacitors <NUM> may increase or decrease at a preset gradient.

In the above structure, the first foldable main body is fixed relative to the rotating shaft; the second foldable main body can rotate related to the rotating shaft; and the first detection part disposed on the first foldable main body or the rotating shaft can be switchably connected to the plurality of capacitors by rotating the second foldable main body. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

As shown in <FIG>, in a case in which the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>, the electronic device further includes a circuit board <NUM>. A through hole is formed in the circuit board <NUM>, the rotating shaft <NUM> penetrates the through hole, the plurality of capacitors <NUM> are disposed on the circuit board <NUM> at intervals in the circumferential direction of the rotating shaft <NUM>, the circuit board <NUM> is fixed relative to the second foldable main body <NUM>, and the first detection part <NUM> is fixed relative to the first foldable main body <NUM>.

In this embodiment, the electronic device further includes the circuit board <NUM>. The circuit board <NUM> may be a printed circuit board (PCB). A through hole may be formed in the circuit board <NUM>. The rotating shaft <NUM> is connected to the circuit board <NUM> by penetrating the through hole. The capacitors <NUM> may be disposed on the circuit board <NUM> at intervals in the circumferential direction of the rotating shaft <NUM>. Because the circuit board <NUM> is fixed relative to the second foldable main body <NUM>, rotation of the second foldable main body <NUM> can drive the circuit board <NUM> to rotate. The first detection part <NUM> can be switchably connected to the plurality of capacitors <NUM> in a rotating process of the circuit board <NUM>, where the first detection part <NUM> is fixed relative to the first foldable main body <NUM>. Because the first foldable main body <NUM> is fixed relative to the rotating shaft <NUM>, the first detection part <NUM> may be disposed on the first foldable main body <NUM> or the rotating shaft <NUM>.

The circuit board <NUM> may be circular or of other shapes. The through hole is formed in a central position or other positions of the circuit board. When the circuit board is connected to the rotating shaft <NUM>, the rotating shaft <NUM> may penetrate the through hole in the circuit board, thereby mounting the circuit board on the rotating shaft <NUM>.

An angle corresponding to each capacitor <NUM> may be determined according to a layout of the plurality of capacitors <NUM>, such that when the first detection part <NUM> is in contact with the capacitor <NUM>, a corresponding angle between the two foldable main bodies can be determined. In this embodiment, the plurality of capacitors <NUM> are disposed on the circuit board <NUM> at intervals in the circumferential direction of the rotating shaft <NUM>. Optionally, the plurality of capacitors <NUM> may be disposed around the rotating shaft <NUM> by one circle. For a case in which each capacitor <NUM> may correspond to one angle, in a process of rotating the second foldable main body <NUM> relative to the rotating shaft <NUM>, the first detection part <NUM> can be switchably connected to the plurality of capacitors <NUM>. The detection loop can be formed when the first detection part <NUM> is connected to the capacitor <NUM>. Therefore, the angle between the two foldable main bodies can be detected.

When the capacitors <NUM> are disposed at intervals in the circumferential direction of the rotating shaft <NUM>, a circumference corresponding to the rotating shaft <NUM> may be divided into equal parts or different arcs. For a case in which the circumference corresponding to the rotating shaft <NUM> is divided into different arcs, a length of each arc is required for determining an angle corresponding to each capacitor <NUM>. For a case in which the circumference corresponding to the rotating shaft <NUM> is divided into equal parts, arcs corresponding to all the adjacent capacitors <NUM> are equal. In this case, the capacitances of all the adjacent capacitors <NUM> may increase or decrease at a preset gradient. Accordingly, angles corresponding to all the adjacent capacitors <NUM> may increase or decrease by a preset angle difference, such that differences between the angles corresponding to all the adjacent capacitors <NUM> are equal.

The following uses a specific embodiment to describe the case in which the plurality of capacitors <NUM> divide the circumference corresponding to the rotating shaft <NUM> into equal parts. As shown in <FIG>, when the second foldable main body <NUM> rotates around the rotating shaft <NUM>, the circuit board <NUM> rotates around the rotating shaft <NUM> by a same angle under the driving of the second foldable main body <NUM>, and the first detection part <NUM> is disposed on the first foldable main body <NUM> or the rotating shaft <NUM>, and can be switchably connected to the plurality of capacitors <NUM> disposed on the circuit board <NUM>, thereby determining the angle between the two foldable main bodies. When a quantity of the capacitors <NUM> is N, and the N capacitors <NUM> are sequentially disposed at intervals on a <NUM>° circumference, a corresponding relation between the capacitors <NUM> and angles can be established. For example, when N is <NUM>, the quantity of the capacitors <NUM> is <NUM>, and an angle corresponding to the capacitor <NUM> is (<NUM>/N)*(a-<NUM>), where a is a number in the <NUM> capacitors <NUM>. For details, refer to the following table:.

For example, the following can be learned according to the corresponding relation in the table: When it is detected that a capacitance of the capacitor <NUM> is <NUM>, it can be determined according to the corresponding relation that a corresponding number is <NUM>, and that a corresponding folding angle is <NUM>°. Details about other cases are not described herein again.

It should be noted that, a number and a corresponding angle of a capacitor may be determined in the following process: First, determine, as <NUM>, a number of a capacitor corresponding to <NUM>° on the circumference corresponding to the rotating shaft; then, determine lengths of arcs between the capacitor and the other capacitors; obtain central angles corresponding to the lengths of the arcs; determine the central angles as angles corresponding to the other capacitors; and sequentially determine capacitor numbers in ascending order of the angles, where the capacitor numbers are positively correlated with the angles, and capacitances of the capacitors are positively correlated with the capacitor numbers.

For a case in which the plurality of capacitors <NUM> divide the circumference corresponding to the rotating shaft <NUM> into different arcs, the lengths of the arcs between adjacent capacitors <NUM> may increase sequentially. In this case, differences between angles corresponding to the adjacent capacitors <NUM> increase sequentially. In this case, the capacitors <NUM> may also be numbered one by one. To facilitate memorization, it may be specified that the capacitances of the capacitors <NUM> sequentially increase or decrease in an extending direction of the arcs; or a corresponding relation between the capacitances of the capacitors <NUM> and numbers is established, for example, a capacitor <NUM> whose capacitance is greater has a greater number. In a case that the capacitor <NUM> is in contact with the first detection part <NUM>, a number is determined based on an obtained capacitance. Then, the angle between the two foldable main bodies is determined.

In the above structure, the circuit board is disposed on the rotating shaft, and the plurality of capacitors are disposed on the circuit board in the circumferential direction of the rotating shaft, and are driven to rotate when the second foldable main body rotates around the rotating shaft, such that the first detection part can be switchably connected to the plurality of capacitors. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

Optionally, in an embodiment of the present disclosure, as shown in <FIG> and <FIG>, the first foldable main body <NUM> can rotate relative to the rotating shaft <NUM>, the second foldable main body <NUM> can rotate relative to the rotating shaft <NUM>, the first detection part <NUM> is mounted on the first foldable main body <NUM>, and the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>.

In this embodiment, both the first foldable main body <NUM> and the second foldable main body <NUM> can rotate relative to the rotating shaft <NUM>. In this case, the first detection part <NUM> is mounted on the first foldable main body <NUM>, and the second detection part <NUM> is fixedly connected to the second foldable main body <NUM>.

In a process in which only the first foldable main body <NUM> rotates relative to the rotating shaft <NUM>, the first detection part <NUM> disposed on the first foldable main body <NUM> rotates with the first foldable main body <NUM>, and is switchably connected to the plurality of capacitors <NUM> disposed on the second foldable main body <NUM> in sequence. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

In a process in which only the second foldable main body <NUM> rotates relative to the rotating shaft <NUM>, the plurality of capacitors <NUM> disposed on the second foldable main body <NUM> rotate with the second foldable main body <NUM>, the first detection part <NUM> disposed on the first foldable main body <NUM> is kept stationary, the plurality of capacitors <NUM> are sequentially connected to the first detection part <NUM>. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

In a process in which both the first foldable main body <NUM> and the second foldable main body <NUM> rotate relative to the rotating shaft <NUM>, the plurality of capacitors <NUM> disposed on the second foldable main body <NUM> rotate with the second foldable main body <NUM>, the first detection part <NUM> disposed on the first foldable main body <NUM> rotates with the first foldable main body <NUM>, the first detection part <NUM> is switchably connected to the plurality of capacitors <NUM> in sequence. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

Each capacitor <NUM> may correspond to a folding angle between the first foldable main body <NUM> and the second foldable main body <NUM>. When the first detection part <NUM> is conducted with the second detection part <NUM>, the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> can be determined based on a capacitor <NUM> that is connected to the first detection part <NUM>.

In the above structure, it is specified that the first foldable main body and the second foldable main body rotate relative to the rotating shaft; and the first detection part is switchably connected to the plurality of capacitors by rotating the second foldable main body and/or the first foldable main body. Therefore, the detection loop can be formed to detect the relative angle between the two foldable main bodies.

Optionally, in an embodiment of the present disclosure, as shown in <FIG>, the first detection part <NUM> includes a conductive spring plate <NUM>, the conductive spring plate <NUM> is provided with a protruding part, and the protruding part is switchably connected to the plurality of capacitors <NUM>.

In this embodiment, the first detection part <NUM> includes the conductive spring plate <NUM> that is provided with the protruding part; and the conductive spring plate <NUM> is switchably connected to the plurality of capacitors <NUM> through the protruding part. For example, the first foldable main body <NUM> is rotationally connected to the second foldable main body <NUM> by the rotating shaft <NUM>; the first detection part <NUM> is fixed relative to one of the two foldable main bodies; and the plurality of capacitors <NUM> are fixed relative to the other one of the two foldable main bodies. Therefore, the conductive spring plate <NUM> can be switchably connected to the plurality of capacitors <NUM> in sequence through the protruding part.

The conductive spring plate provided with the protruding part can be conveniently connected to the capacitor when the conductive spring plate is disposed at any position. Therefore, the position of the conductive spring plate is diversified.

The second detection part <NUM> further includes a plurality of conductive parts <NUM>, each of the conductive parts <NUM> is connected to one of the capacitors <NUM>, and in a case that the protruding part is connected to one of the conductive parts <NUM>, the conductive spring plate <NUM>, the conductive part <NUM>, and the capacitor <NUM> are conducted with one another to form the detection loop.

The second detection part <NUM> includes the plurality of capacitors <NUM> and the plurality of conductive parts <NUM>. Each conductive part <NUM> may include a copper-exposed region. A quantity of the capacitors <NUM> is the same as a quantity of the conductive parts <NUM>. Each capacitor <NUM> is correspondingly connected to one conductive part <NUM>. When the first detection part <NUM> is switchably connected to the plurality of capacitors <NUM> to form the detection loop, the protruding part of the conductive spring plate <NUM> is connected to one conductive part <NUM>. Specifically, the protruding part is connected to the copper-exposed region of the conductive part <NUM>. Because the conductive part <NUM> is correspondingly connected to one capacitor <NUM>, the conductive spring plate <NUM> can be connected to the capacitor <NUM>. Therefore, the conductive spring plate <NUM>, the conductive part <NUM>, and the capacitor <NUM> form the detection loop. This enables the conductive spring plate <NUM> to be switchably connected to the plurality of capacitors <NUM> in sequence.

The conductive spring plate <NUM> may be a metal spring plate. Optionally, the conductive spring plate <NUM> is an antenna spring plate. Connection between the conductive spring plate <NUM> and the conductive part <NUM> is implemented via contact between the metal spring plate and the copper-exposed region.

In the above structure, the conductive spring plate, the conductive part, and the capacitor are conducted to form the detection loop. Therefore, in a case that the conductive spring plate is in contact with the conductive part, the conductive spring plate can be switchably connected to the plurality of capacitors in sequence.

Optionally, in an embodiment of the present disclosure, as shown in <FIG>, each capacitor <NUM> is grounded. Forming of the detection loop can be guaranteed by setting the capacitor <NUM> to be grounded.

Optionally, in an embodiment of the present disclosure, as shown in <FIG>, <FIG>, and <FIG> to <FIG>, the detection loop further includes a capacitance reader <NUM> and a controller <NUM> connected to the capacitance reader <NUM>. The capacitance reader <NUM> obtains a current capacitance of one of the capacitors <NUM> that is connected to the first detection part <NUM>, and the controller <NUM> stores a target capacitance and obtains the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> based on the current capacitance and the target capacitance.

In addition to the first detection part <NUM> and the second detection part <NUM>, the detection loop further includes the capacitance reader <NUM> and the controller <NUM>. The capacitance reader <NUM> and the controller <NUM> may be disposed on the first foldable main body <NUM>, the second foldable main body <NUM>, or the rotating shaft <NUM>. The capacitance reader <NUM> may be connected to the first detection part <NUM>, and be configured to read, in a case that the first detection part <NUM> is connected to one of the capacitors <NUM>, a capacitance of the current capacitor <NUM> connected to the first detection part <NUM>. The capacitance reader <NUM> may also be connected to each capacitor <NUM>, and be configured to read a capacitance of the current capacitor <NUM> when the capacitor <NUM> is connected to the first detection part <NUM>.

The capacitance reader <NUM> may also be replaced with a voltage capacitance reader. The voltage capacitance reader reads a voltage corresponding to the capacitor <NUM>, to determine the capacitance of the capacitor <NUM>. Then, the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> is obtained.

After obtaining the capacitance of the current capacitor <NUM> connected to the first detection part <NUM>, the capacitance reader <NUM> may send the current capacitance corresponding to the current capacitor <NUM> to the controller <NUM>. The controller <NUM> stores the target capacitance, and can obtain the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> based on the current capacitance corresponding to the current capacitor <NUM> and the target capacitance.

The relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> can be determined based on the current capacitance corresponding to the current capacitor <NUM> and the target capacitance in the following process: Compare the current capacitance with the target capacitance; and in a case that the current capacitance is successfully matched with the target capacitance, determine a relative angle corresponding to the target capacitance as the relative angle that is between the first foldable main body <NUM> and the second foldable main body <NUM> and that corresponds to the current capacitor <NUM>.

As shown in <FIG>, <FIG>, <FIG>, and <FIG> to <FIG>, the plurality of capacitors <NUM> are uniformly disposed at intervals, there are a plurality of target capacitances that are in a one-to-one correspondence with the plurality of capacitors <NUM>, and each of the target capacitances corresponds to one relative angle between the first foldable main body <NUM> and the second foldable main body <NUM>.

As the plurality of capacitors <NUM> are uniformly disposed at intervals, distances between all adjacent capacitors <NUM> are the same. In this case, it may be specified that differences between all the adjacent capacitors <NUM> are the same, such that the capacitances of the plurality of capacitors <NUM> increase sequentially in a specific direction.

A quantity of the target capacitances is equal to the quantity of the capacitors <NUM>, and the target capacitances are in a one-to-one correspondence with the plurality of capacitors <NUM>. In a case that the first detection part <NUM> is connected to one of the capacitors <NUM>, the current capacitance obtained by the capacitance reader <NUM> is compared with the target capacitance corresponding to the current capacitor <NUM>. In a case that the current capacitance is consistent with the target capacitance, a relative angle corresponding to the target capacitance is determined as the relative angle that is between the two foldable main bodies and that corresponds to the current capacitor <NUM>.

In the above structure, in a case that the capacitance of the current capacitor is determined, a relative angle corresponding to the current capacitor is determined based on the relative angle corresponding to the target capacitance.

It should be noted that all the above embodiments are cases implemented in a case that only one first detection part is disposed. Those skilled in the art may also dispose a plurality of first detection parts. In addition, the plurality of first detection parts are disposed in a one-to-one correspondence with the plurality of capacitors; and one first detection part and one capacitor form one detection loop. As shown in <FIG>, the second detection part <NUM> including the plurality of capacitors <NUM> and the plurality of conductive parts <NUM> is disposed on the first foldable main body <NUM>; and the plurality of first detection parts <NUM> are disposed on the rotating shaft <NUM>, extend along an axis of the rotating shaft <NUM>, and are arranged sequentially in the circumferential direction of the rotating shaft <NUM>. The first foldable main body <NUM> can rotate relative to the rotating shaft <NUM>. In this case, the rotating shaft <NUM> is fixed relative to the second foldable main body <NUM>. When the first foldable main body <NUM> rotates relative to the rotating shaft <NUM>, the plurality of conductive parts <NUM> disposed on the first foldable main body <NUM> are sequentially conducted with the plurality of first detection parts <NUM> disposed on the rotating shaft <NUM>, such that the first detection parts <NUM>, the conductive parts <NUM>, and the capacitors <NUM> are conducted to form the detection loop, where each time of conduction corresponds to a unique detection loop. Each detection loop corresponds to a unique first detection part <NUM>, a unique conductive part <NUM>, and a unique capacitor <NUM>. Each first detection part <NUM> may be connected to the capacitance reader <NUM>, such that the capacitance reader <NUM> obtains the current capacitance of the current capacitor <NUM> connected to the first detection part <NUM>. The capacitance reader <NUM> may be connected to the controller <NUM>, such that the controller <NUM> obtains the relative angle between the first foldable main body <NUM> and the second foldable main body <NUM> based on the current capacitance and the target capacitance. Certainly, the plurality of first detection parts may also be disposed in another structure. For example, both the first foldable main body and the second foldable main body can rotate relative to the rotating shaft; the second detection part is disposed on the first foldable main body; and the plurality of first detection parts are disposed on the second foldable main body. There may also be other structural forms which are not enumerated herein.

According to the above embodiments of the electronic device in the present disclosure, a first detection part is fixed relative to one of two foldable main bodies; a second detection part is fixed relative to the other one of the two foldable main bodies; a detection loop is formed when the first detection part is switchably connected to a plurality of capacitors of the second detection part; and a relative angle between the first foldable main body and the second foldable main body is detected by the first detection part and the second detection part. Therefore, costs and space occupation can be reduced; and design difficulty can be decreased. In addition, detection for any angle can be realized, which improves detection performance.

Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments may refer to each other.

Although optional embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they learn the basic inventive concept.

Finally, it should be further noted that, in this specification, relationship terms such as first and second are only used to distinguish an entity or operation from another entity or operation, but do not necessarily require or imply that there is any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise", or any of their variants are intended to cover a non-exclusive inclusion, so that a process, a method, an article, or a terminal device that includes a list of elements not only includes those elements but also includes other elements that are not listed, or further includes elements inherent to such a process, method, article, or terminal device. Without being subject to further limitations, an element defined by a phrase "including a. " does not exclude presence of other identical elements in the process, method, article, or terminal device that includes the very element.

Claim 1:
An electronic device, comprising:
a first foldable main body (<NUM>);
a second foldable main body (<NUM>), disposed on a side of the first foldable main body (<NUM>);
a rotating shaft (<NUM>), disposed between the first foldable main body (<NUM>) and the second foldable main body (<NUM>), wherein the first foldable main body (<NUM>) and the second foldable main body (<NUM>) are rotationally connected to each other by the rotating shaft (<NUM>); and
a detection assembly (<NUM>), configured to detect a relative angle between the first foldable main body (<NUM>) and the second foldable main body (<NUM>),
wherein the detection assembly (<NUM>) comprises a first detection part (<NUM>) and a second detection part (<NUM>), the first detection part (<NUM>) is fixed relative to one of the first foldable main body (<NUM>) or the second foldable main body (<NUM>), and the second detection part (<NUM>) is fixed relative to the other one of the first foldable main body (<NUM>) or the second foldable main body (<NUM>); characterized in that
the second detection part (<NUM>) comprises a plurality of capacitors (<NUM>), wherein the capacitors (<NUM>) are disposed at intervals in a rotating direction of the first foldable main body (<NUM>) and the second foldable main body (<NUM>), capacitances of the capacitors (<NUM>) are different from one another, the first detection part (<NUM>) is switchably connected to the capacitors (<NUM>), and in a case that the first detection part (<NUM>) is connected to one of the capacitors (<NUM>), the first detection part (<NUM>) is conducted with the second detection part (<NUM>) to form a detection loop,
wherein distances between all the adjacent capacitors (<NUM>) are the same, and capacitances between all the adjacent capacitors (<NUM>) increase or decrease at a preset gradient.