Capacitive joystick and electronic device

By using a capacitive joystick structure, which utilizes the rotational symmetry of a metal dielectric and a receiving electrode to form a capacitor, the problem of low detection accuracy of Hall sensors and carbon film sensors in external environments is solved, and accurate and linear detection of the joystick rotation angle is achieved.

CN224536471UActive Publication Date: 2026-07-21CHIPSEMI SEMICON (NINGBO) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
CHIPSEMI SEMICON (NINGBO) CO LTD
Filing Date
2025-06-16
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing joystick detection methods, such as Hall sensors, are susceptible to external magnetic interference, while carbon film sensors suffer from contact wear and low detection accuracy, making it difficult to achieve accurate linear detection under the influence of external environments.

Method used

The system employs a capacitive joystick structure. By adding a metal dielectric to the rocker arm structure and forming a capacitor with the receiving plate on the circuit board, the relative rotational symmetry of the metal dielectric and the receiving plate offsets the changes in capacitance signal caused by tilting under the influence of the external environment, thus achieving accurate detection of the rotation angle.

Benefits of technology

This effectively avoids the impact of external magnetic interference and device wear on the test results, ensuring the accuracy and linearity of the joystick rotation angle test results under changes in the external environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224536471U_ABST
    Figure CN224536471U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of joy stick, disclose a kind of capacitive joy stick and electronic equipment.The utility model discloses capacitive joy stick, including: rocker, rocker arm structure, base, circuit board and processor;In the case where rocker swings, rotating portion rotates relative to base and drives rocker arm structure to rotate;Rocker arm structure further includes: the metal medium synchronous rotation with rotating portion;Circuit board and metal medium are oppositely arranged in the axial direction of rotating portion, and a plurality of receiving electrode plates are provided on circuit board;Metal medium and receiving electrode plate are oppositely arranged, and the relative area of metal medium and receiving electrode plate is rotationally symmetrical relative to the axis of rotating portion, when rocker arm structure rotates, the relative area between metal medium and at least one receiving electrode plate changes;Processor is used to carry out corner detection to rocker according to the capacitance signal change of the capacitance formed by receiving electrode plate and metal medium. Avoid the influence of external factors on detection result, improve detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of joystick technology, and in particular to a capacitive joystick and electronic device. Background Technology

[0002] Joysticks, as a common electronic module, are widely used in production and daily life, such as push rods in medical equipment, gear shift levers in vehicles, and joysticks in game design. During use, joysticks require sensors to detect their rotation angle. Common detection methods include Hall effect sensors and carbon film sensors.

[0003] However, Hall effect sensors are susceptible to external magnetic interference and the relationship between signal and distance is nonlinear; carbon film sensors suffer from contact wear and low detection accuracy. Utility Model Content

[0004] The purpose of this utility model embodiment is to provide a capacitive joystick and electronic device, which detects the rotation angle of the joystick by forming a capacitor. By changing the relative positional relationship of the transmitting plate, receiving plate and metal medium forming the capacitor, a more accurate linear detection result can be obtained even when the joystick is tilted due to external environmental influences.

[0005] To solve the above-mentioned technical problems, embodiments of this utility model provide a capacitive joystick, including: a rocker arm, a rocker structure, a base, a circuit board, and a processor; the rocker arm passes through the rocker structure, and the rocker structure rotates following the swing of the rocker arm; the rocker structure includes a rocker arm body in contact with the rocker arm, and a rotating part extending away from the rocker arm body along the rocker arm body; when the rocker arm swings, the rotating part rotates relative to the base, causing the rocker structure to rotate; the rocker structure further includes: a metal medium that rotates synchronously with the rotating part; the circuit board and the metal medium are axially opposite to each other in the rotating part, and a plurality of receiving plates are disposed on the circuit board; the metal medium and the receiving plates are opposite to each other, and the relative areas of the metal medium and the receiving plates are rotationally symmetrical with respect to the axis of the rotating part; when the rocker structure rotates, the relative area between the metal medium and at least one of the receiving plates changes; the processor is used to detect the rotation angle of the rocker arm based on the change in the capacitance signal of the capacitor formed by the receiving plates and the metal medium.

[0006] An embodiment of this utility model also provides an electronic device, including the capacitive joystick described above.

[0007] Compared to existing technologies, this embodiment of the invention detects the joystick rotation angle by adding a metal dielectric to the rocker arm structure, which, together with the receiving plate on the circuit board, forms a capacitor. This avoids the influence of external magnetic interference or device wear on the detection results. Furthermore, the metal dielectric and the receiving plate are positioned opposite each other, and their relative areas are rotationally symmetrical with respect to the axis of the rotating part. This allows for mutual compensation between the capacitor signals formed by the receiving plate and the metal dielectric when the joystick tilts due to external environmental influences, thus offsetting the influence of the tilted capacitor signal and obtaining a more accurate detection result.

[0008] In addition, the metal medium includes a metal body and an extension connected to the metal body; the circuit board is also provided with an emitting electrode plate; the metal body and the emitting electrode plate are disposed opposite to each other, and the extension plate and the receiving electrode plate are disposed opposite to each other, and the relative areas of the extension plate and the receiving electrode plate are rotationally symmetrical with respect to the axis of the rotating part.

[0009] In addition, there are multiple extensions, which extend along the metal body in different directions. The multiple extensions are evenly distributed around the metal body, and the interval between any two adjacent extensions is the same.

[0010] In addition, the receiving plates are evenly distributed around the transmitting plate, and the number of receiving plates is determined based on the number of extensions.

[0011] In addition, the receiving electrode plate includes a first receiving unit and a second receiving unit, which are alternately arranged around the transmitting electrode plate. The number of the first receiving unit and the second receiving unit is the same, and the number of the first receiving unit and the second receiving unit is equal to the number of the extension.

[0012] In addition, the processor is used to perform rotation angle detection on the joystick based on the sum of the first capacitance signal formed by the transmitting electrode and the first receiving unit, and the sum of the second capacitance signal formed by the transmitting electrode and the second receiving unit.

[0013] In addition, the circuit board includes a first surface and a second surface, and the first surface is provided with the emitting electrode plate and the receiving electrode plate; the circuit board is also provided with a first pin of the emitting electrode plate and a second pin of the receiving electrode plate; the first pin and the second pin are both located on the first surface or the second surface, or the first pin and the second pin are located on different surfaces of the circuit board.

[0014] In addition, a first grounding element is provided between the transmitting electrode plate and the receiving electrode plate, and the transmitting electrode plate, the receiving electrode plate and the first grounding element are not connected to each other.

[0015] In addition, the receiving electrode is disposed around the transmitting electrode, and a second grounding component is disposed around the receiving electrode. The receiving electrode and the second grounding component are not connected to each other.

[0016] In addition, the number of the extensions is three. Attached Figure Description

[0017] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0018] Figure 1 This is an exploded structural diagram of the capacitive joystick according to an embodiment of this solution;

[0019] Figure 2 This is a cross-sectional structural diagram of the capacitive joystick according to an embodiment of this solution;

[0020] Figure 3 This is a schematic diagram of a capacitor structure for a capacitive joystick according to an embodiment of this solution;

[0021] Figure 4 This is a schematic diagram of the capacitor principle of a capacitor structure for a capacitive joystick according to an embodiment of this solution;

[0022] Figure 5 This is a schematic diagram of another capacitor structure for the capacitive joystick according to an embodiment of this solution;

[0023] Figure 6 This is a schematic diagram of the capacitor principle of another capacitor structure of the capacitive joystick according to an embodiment of this solution;

[0024] Figure 7 This is a schematic diagram of a receiving electrode structure of a capacitive joystick according to an embodiment of this solution;

[0025] Figure 8 This is a schematic diagram of a receiving electrode and a transmitting electrode structure of a capacitive joystick according to an embodiment of this solution;

[0026] Figure 9 This is a schematic diagram of the capacitor structure detecting the state of the capacitive joystick according to an embodiment of this solution;

[0027] Figure 10This is an equivalent structural schematic diagram of the capacitor structure detection state of the capacitive joystick according to the embodiment of this solution.

[0028] Figure 11 This is a schematic diagram illustrating the change of one of the capacitor signals of the capacitive joystick in this embodiment of the solution;

[0029] Figure 12 This is a schematic diagram illustrating the change of another capacitor signal of the capacitive joystick in this embodiment of the solution;

[0030] Figure 13 This is a schematic diagram of the structure of the first and second pins on the circuit board of the capacitive joystick according to the embodiment of this solution;

[0031] Figure 14 This is a three-dimensional structural diagram of the capacitive joystick according to an embodiment of this solution. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the various embodiments of this utility model will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been provided in the various embodiments of this utility model to enable the reader to better understand this utility model. However, the technical solutions claimed by this utility model can be implemented even without these technical details and various changes and modifications based on the following embodiments.

[0033] The division of the following embodiments is for ease of description and should not constitute any limitation on the specific implementation of this utility model. The various embodiments can be combined with or referenced by each other without contradiction.

[0034] Embodiments of this utility model relate to a capacitive joystick, such as... Figure 1 and Figure 2 As shown, where Figure 1 This is an exploded view of a capacitive joystick. Figure 2This is a cross-sectional view of a capacitive joystick. The joystick includes: a base 1, a rocker arm 2, a rocker structure 3, and a housing 8. The base 1 and housing 8 together constitute the external structure of the joystick. The rocker arm 2 cooperates with the rocker structure 3 to change the angle of the rocker arm. Since the joystick needs to rotate in at least two directions, the rocker structure typically includes an upper rocker arm 31 and a lower rocker arm 32. The upper rocker arm 31 and lower rocker arm 32 are fixed to the rocker arm by a pin 21. When the rocker arm 2 rotates in the first direction, it drives the upper rocker arm 31 to rotate. The end of the upper rocker arm 31 has a first pivot 311, which is rotatably fixed to the base 1 and the housing 8. Similarly, when the rocker arm 2 rotates in the second direction, it drives the lower rocker arm 32 to rotate. The end of the lower rocker arm 32 has a second pivot 321, which is rotatably fixed to the base 1 and the housing 8. The first direction and the second direction are perpendicular to each other, and the first and second rotating shafts together constitute the rotating part of the joystick, realizing the rotation of the joystick in any direction. In order to ensure the flexibility of the joystick 2 rotation, a sliding plate 22 is provided in the direction of the joystick 2 near the base 1.

[0035] In addition to rotation control, the joystick also provides button functionality. A button 24 is mounted on the base 1, its position corresponding to that of the lower rocker arm 32. A spring 23 is mounted on the joystick 2 facing the base 1. When a pressing force is applied to the joystick 2 towards the base 1, the joystick 2 compresses the spring 23 and moves towards the base 1, causing the rocker arm structure 3 to move towards the base 1. A portion of the lower rocker arm 32 then contacts the button 24, triggering the button 24.

[0036] In addition, a circuit board is also provided in the joystick. Specifically, a first circuit board 51 is provided for the upper rocker arm 31, and a second circuit board 52 is provided for the lower rocker arm 32. To protect the circuit boards from damage by the external environment, a first protective cover 71 is fitted to the first circuit board 51, covering the outside of the first circuit board 51 and also serving to fix the first circuit board 51. A second protective cover 72 is fitted to the second circuit board 52, covering the outside of the second circuit board 52.

[0037] The overall structure of the capacitive joystick is as described above. Based on this, this embodiment proposes a scheme to detect the rotation angle of the joystick 2 by constructing a capacitor. Specifically, the capacitive joystick includes: a joystick 2, a rocker arm structure 3, a base 1, a circuit board, and a processor. The joystick 2 passes through the rocker arm structure 3, and the rocker arm structure 3 rotates following the swing of the joystick 2. The rocker arm structure 3 includes a rocker arm body in contact with the joystick 2, and a rotating part extending away from the rocker arm body. When the joystick swings, the rotating part rotates relative to the base 1, causing the rocker arm structure 3 to rotate. The rocker arm structure 3 also includes: a metal medium that rotates synchronously with the rotating part; a circuit board and the metal medium are axially opposite to each other in the rotating part, and a plurality of receiving plates are provided on the circuit board; the metal medium and the receiving plates are opposite to each other, and the relative areas of the metal medium and the receiving plates are rotationally symmetrical relative to the axis of the rotating part. When the rocker arm structure rotates, the relative area between the metal medium and at least one receiving plate changes; and a processor is used to detect the rotation angle of the joystick based on the change in the capacitance signal of the capacitor formed by the receiving plates and the metal medium.

[0038] Taking the rotation of the rocker arm 2 in the first direction, which drives the upper rocker arm 31 to rotate, as an example, a first metal plate 41 is coaxially rotated at the position of the first rotating shaft 311 of the upper rocker arm 31. The first metal plate 41 is positioned opposite to the first circuit board 51. When the upper rocker arm 31 rotates, the relative area between the first metal plate 41 and at least one receiving electrode plate on the first circuit board 51 changes, thereby realizing the change in the capacitance signal of the capacitor formed by the receiving electrode plate and the first metal plate 41, and realizing the detection of the rotation angle of the rocker arm 2 in the first direction. Similarly, when the rocker arm 2 rotates in the second direction, it drives the lower rocker arm 32 to rotate. A second metal plate 42 is coaxially rotated at the position of the second rotating shaft 321 of the lower rocker arm 32. A capacitor is formed between the second metal plate 42 and the receiving electrode plate on the second circuit board 52, and the capacitance signal changes synchronously, realizing the detection of the rotation angle of the rocker arm 2 in the second direction. The first metal plate 41 and the second metal plate 42 mentioned above are both metal dielectrics that constitute the capacitor. The upper rocker arm 31 and the lower rocker arm 32 are rocker arm structures that rotate in different directions. The metal dielectric can be fixed to the rotating part by a support structure, such as Figure 1 As shown, a first metal sheet 41 is disposed on a first support 61, and a second metal sheet 42 is disposed on a second support 62. The shape of the support structure is consistent with the shape of the metal dielectric to avoid the support structure affecting the signal of the receiving electrode. The metal dielectric can be engraved on the surface of the support structure using laser-direct structuring (LDS). Patterns for the corresponding receiving or transmitting electrodes can also be formed on the circuit board using LDS.

[0039] Furthermore, when the rocker arm 2 tilts, the distance between the metal medium and different receiving plates changes from being identical to a situation where the distance between the metal medium and several receiving plates decreases, while the distance between the metal medium and the remaining receiving plates increases. Since the relative areas of the metal medium and the receiving plates in this embodiment are rotationally symmetrical with respect to the axis of the rotating part, the capacitance signals generated between the metal medium and all receiving plates can be comprehensively considered, thus canceling the influence of the rocker arm tilt on the capacitance signals and improving the accuracy of the rotation angle detection. The specific principle of canceling the tilt problem by comprehensively considering the capacitance signals generated between the metal medium and all receiving plates will be described in detail later.

[0040] Compared to existing technologies, this embodiment of the invention detects the joystick rotation angle by adding a metal dielectric to the rocker arm structure, which, together with the receiving plate on the circuit board, forms a capacitor. This avoids the influence of external magnetic interference or device wear on the detection results. Furthermore, the metal dielectric and the receiving plate are positioned opposite each other, and their relative areas are rotationally symmetrical with respect to the axis of the rotating part. This allows for mutual compensation between the capacitor signals formed by the receiving plate and the metal dielectric when the joystick tilts due to external environmental influences, thus offsetting the influence of the tilted capacitor signal and obtaining a more accurate detection result.

[0041] In the embodiments of this utility model, the capacitor structure is configured in the following two ways:

[0042] Taking the detection capacitor structure for the rotation of joystick 2 in the first direction as an example, one method of setting up the capacitor structure is as follows: Figure 3 As shown, only the receiving plate 511 is provided on the first circuit board 51, and the first metal sheet 41 acts as the transmitting plate, forming a capacitor with the receiving plate 511. The formation principle of the capacitor structure is as follows. Figure 4 As shown, the first metal sheet serves as the emitting electrode Tx, and the electric field lines point from the emitting electrode Tx to the receiving electrode Rx.

[0043] Another type of capacitor structure is as follows: Figure 5 As shown, a first circuit board 51 is provided with an emitting electrode 512 and a receiving electrode 511. The metal medium includes a metal body and an extension connected to the metal body. The metal body is disposed opposite to the emitting electrode, and the extension is disposed opposite to the receiving electrode. The relative areas of the extension and the receiving electrode are rotationally symmetrical with respect to the axis of the rotating part. Figure 5 That is, the first metal sheet 41 includes a metal body 411 and an extension 412. The principle of capacitor structure formation at this time is as follows: Figure 6 As shown, the electric field lines point from the emitting plate Tx to the first metal sheet, and then return to the receiving plate Rx after being conducted through the first metal sheet.

[0044] In both of the above capacitor structure configurations, the metal dielectric can be understood as consisting of a metal body and an extension connected to the metal body. When only the receiving electrode is set on the circuit board, the metal dielectric acts as the emitting electrode, and the metal body and the circuit board are respectively set as the connection structure for multiple extensions, and the charge of multiple extensions is kept the same. In this case, only one circuit pin needs to be configured for the metal dielectric to realize the circuit connection of multiple extensions, reducing wiring costs.

[0045] The device has multiple extensions, which extend in different directions along the metal body. These extensions are evenly distributed around the metal body, with equal spacing between any two adjacent extensions. For example, with three extensions, they are arranged in a fan-blade pattern around the metal body, with an angle of 120 degrees between adjacent extensions. In this configuration, the metal medium is symmetrical about 120 degrees relative to the axis of the rotating part; that is, the state of the metal medium after rotating 120 degrees is the same as its state before rotation. The number of extensions can be determined based on the joystick's rotation range. If the required rotation range is small, the joystick's anti-tilt capability can be improved by increasing the number of extensions and corresponding receiving plates. If the joystick's rotation detection range needs to be increased, the number of extensions can be appropriately reduced.

[0046] The capacitor structure is approximately circular. As the rocker arm rotates, the area between the metal dielectric and the receiving electrode changes in the same way under the same rotation angle, resulting in a good linear change in the detection results.

[0047] The receiving plates are evenly distributed around the transmitting plates, and the number of receiving plates is determined based on the number of extensions. For example, if there are three extensions, then the number of receiving plates can be set to six, which is twice the number of extensions.

[0048] In addition, the receiving electrode includes a first receiving unit and a second receiving unit, which are alternately arranged around the transmitting electrode. The number of the first receiving unit and the second receiving unit is the same, and the number of the first receiving unit and the second receiving unit is equal to the number of extensions. Figure 7 As shown, when there are three extensions, and only receiving plates are provided on the circuit board, the first receiving unit Rx1 and the second receiving unit Rx2 are alternately arranged. For example... Figure 8As shown, there are three extensions. When the circuit board has a transmitting electrode and a receiving electrode, the first receiving unit Rx1 and the second receiving unit Rx2 are alternately arranged and surround the outer perimeter of the transmitting electrode Tx. Alternatively, the transmitting electrode Tx can be placed on the outer ring, and the alternately arranged first receiving units Rx1 and second receiving units Rx2 can be placed on the inner ring. To avoid electric field interference between the transmitting and receiving electrodes, a first grounding element GND is provided between the transmitting and receiving electrodes (the combination of the first receiving unit Rx1 and the second receiving unit Rx2). The transmitting electrode, the receiving electrode, and the first grounding element are not connected to each other. When the receiving electrode is located outside the transmitting electrode, a second grounding element GND' is provided outside the receiving electrode. The receiving electrode and the second grounding element are not connected to each other. If the transmitting electrode is located outside the receiving electrode, then the second grounding element is located outside the transmitting electrode to reduce electric field interference from the external environment on the outer electrode.

[0049] In addition, the arrangement of multiple receiving plates can increase the signal quantity of the capacitor structure. Under the same rotation angle, the signal change is greater, and the angle detection is more sensitive.

[0050] The following is a detailed explanation of the changes in the capacitance signal when the transmitting plate, receiving plate, and first metal sheet together form a capacitor structure in an embodiment of this utility model. For example... Figure 9 As shown, the first metal sheet rotates clockwise, and one of its extended portions has a directly opposite area with one of the first receiving units Rx1 and one of the second receiving units Rx2 of the receiving electrode. The relative positions of the transmitting electrode, the receiving electrode, and the first metal sheet can be simplified as follows: Figure 10 The equivalent structure shown, when the first metal sheet rotates clockwise, the relative positional change of one of the extensions with one of the first receiving units Rx1 and one of the second receiving units Rx2 is equivalent to the following: Figure 10 The diagram shows the relative positional changes of the first metal plate, the emitting electrode Tx, the first receiving unit Rx1, and the second receiving unit Rx2 during left-right translation. Figure 10 As shown, when the left side moves to the right, the change in the capacitance signal C1 formed between the transmitting plate Tx and the first receiving unit Rx1 is as follows: Figure 11 As shown, C1 increases with clockwise rotation. Simultaneously with the change in C1, the capacitance signal C2 formed between the transmitting plate Tx and the second receiving unit Rx2 changes as follows: Figure 12 As shown, when rotating clockwise, the angle increases and C2 decreases accordingly.

[0051] The capacitance changes of the other extensions also follow the pattern described above. When the metal medium is tilted, taking three extensions as an example, compared to the case without tilt, the distance between one extension and the receiving plate decreases, while the distance between the other two extensions and the receiving plate increases. Alternatively, the distance between one extension and the receiving plate increases, while the distance between the other two extensions and the receiving plate decreases. By detecting the joystick's angle by summing the capacitances formed by all extensions and the receiving plate, the influence of tilt on the capacitance signal can be offset, minimizing the change in capacitance signal caused by the tilt of the metal medium. When the receiving plate includes a first receiving unit and a second receiving unit, the joystick's angle is detected based on the sum of the first capacitance signal formed by the transmitting plate and the first receiving unit, and the sum of the second capacitance signal formed by the transmitting plate and the second receiving unit. That is, the first capacitance signal formed by the first receiving unit is added, and the second capacitance signal formed by the second receiving unit is added; no processing is performed between the first and second capacitance signals.

[0052] Furthermore, the circuit board includes a first surface and a second surface. When an emitter plate and a receiver plate are disposed on the circuit board, the emitter plate and the receiver plate are disposed on the first surface. Simultaneously, the circuit board also has a first pin of the emitter plate and a second pin of the receiver plate. Figure 13 As shown, pin 1 and pin 2 can both be located on the second surface, or both pin 1 and pin 2 can be located on the first surface, or the first and second pins can be located on different surfaces of the circuit board. The number of second pins is determined based on the number of receiving plates. If the circuit board has a first grounding component and a second grounding component, corresponding grounding component pins will also be provided. The order of the pins can be flexibly adjusted according to the wiring configuration.

[0053] Finally, a 3D view of the assembled capacitive joystick is shown below. Figure 14 As shown, the joystick 2 protrudes from the outer casing 8, facilitating user operation. The pins of the first circuit board 51 are exposed outside the first protective cover 71, facilitating electrical connection of the pins. The base 1 has a receiving area for the button 24, the trigger position of which contacts a portion of the lower rocker arm, and the button 24 is located below the contact area of ​​the lower rocker arm.

[0054] Another feasible embodiment of this utility model relates to an electronic device, including the capacitive joystick described above. The electronic device can be a game controller, keyboard, medical device, drone, or similar device. The capacitive joystick serves as an input device to control the electronic device to execute corresponding control commands.

[0055] Compared with related technologies, the electronic device provided in this embodiment of the present invention is equipped with the capacitive joystick provided in the aforementioned embodiment. Therefore, it also has the same technical effects as the aforementioned embodiment, and will not be described in detail here.

[0056] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing the present invention, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A capacitive joystick, characterized in that, include: Joystick, rocker arm structure, base, circuit board, and processor; The rocker arm extends through the rocker arm structure, and the rocker arm structure rotates as the rocker arm swings. The rocker arm structure includes a rocker arm body that contacts the rocker arm, and a rotating part that extends along the rocker arm body in a direction away from the rocker arm body. When the rocker arm swings, the rotating part rotates relative to the base, causing the rocker arm structure to rotate. The rocker arm structure further includes: a metal medium that rotates synchronously with the rotating part; The circuit board and the metal medium are arranged axially opposite to each other in the rotating part, and a plurality of receiving plates are provided on the circuit board; The metal medium is disposed opposite to the receiving electrode, and the relative areas of the metal medium and the receiving electrode are rotationally symmetrical with respect to the axis of the rotating part. When the rocker arm structure rotates, the relative area between the metal medium and at least one of the receiving electrodes changes. The processor is used to detect the rotation angle of the rocker arm based on the change in capacitance signal of the capacitor formed by the receiving plate and the metal dielectric.

2. The capacitive joystick according to claim 1, characterized in that, The metal medium includes a metal body and an extension connected to the metal body; the circuit board is also provided with an emitting electrode. The metal body is disposed opposite to the emitting electrode plate, and the extension is disposed opposite to the receiving electrode plate. The relative areas of the extension and the receiving electrode plate are rotationally symmetrical with respect to the axis of the rotating part.

3. The capacitive joystick according to claim 2, characterized in that, The number of extensions is multiple, and the multiple extensions extend along the metal body in different directions. The multiple extensions are evenly distributed around the metal body, and the interval between any two adjacent extensions is the same.

4. The capacitive joystick according to claim 3, characterized in that, The receiving plates are evenly distributed around the transmitting plate, and the number of receiving plates is determined based on the number of extensions.

5. The capacitive joystick according to claim 4, characterized in that, The receiving electrode plate includes a first receiving unit and a second receiving unit, which are alternately arranged around the transmitting electrode plate. The number of the first receiving unit and the second receiving unit is the same, and the number of the first receiving unit and the second receiving unit is equal to the number of the extension.

6. The capacitive joystick according to claim 5, characterized in that, The processor is configured to perform rotation angle detection on the joystick based on the sum of the first capacitance signal formed by the transmitting electrode and the first receiving unit, and the sum of the second capacitance signal formed by the transmitting electrode and the second receiving unit.

7. The capacitive joystick according to claim 2, characterized in that, The circuit board includes a first surface and a second surface, and the first surface is provided with the emitting electrode plate and the receiving electrode plate; The circuit board is also provided with a first pin of the transmitting electrode and a second pin of the receiving electrode; The first pin and the second pin are both located on the first surface or the second surface, or the first pin and the second pin are located on different surfaces of the circuit board.

8. The capacitive joystick according to claim 1, characterized in that, A first grounding element is provided between the transmitting electrode and the receiving electrode, and the transmitting electrode, the receiving electrode, and the first grounding element are not connected to each other.

9. The capacitive joystick according to any one of claims 1 to 8, characterized in that, The number of extensions is three.

10. An electronic device, characterized in that, include: The capacitive joystick as described in any one of claims 1 to 9.