A handle controller with USB interface

By designing a handle controller with a USB interface and using the spindle rotation mechanism and the top rotation mechanism to output control signals, it solves the problems of short life and poor convenience of traditional handle controllers, achieves convenient connection and multi-function control, and meets the needs of PC or industrial control. Convenient communication needs of the machine.

CN113296572BActive Publication Date: 2024-09-10SHANGHAI SIBO MANDE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110686931.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-21
Publication Date
2024-09-10
Estimated Expiration
2041-06-21

AI Technical Summary

Technical Problem

Traditional joystick controllers have a short lifespan and lack of convenience. They cannot be hot-swapped and cannot meet the needs for convenient connection with PCs or industrial computers in some applications.

Method used

A USB interface handle controller is designed, which uses a spindle rotation mechanism, a top rotation mechanism and a button switch. It outputs control signals through the USB interface and connects other components through the expansion interface to achieve convenient plug-in and multi-function control.

Benefits of technology

It realizes the control signal output proportional to the action angle of the handle controller, supports the conversion of switching signals into serial signal transmission, and facilitates connection and disassembly through the USB interface, which enhances the convenience and flexibility of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113296572B
    Figure CN113296572B
Patent Text Reader

Abstract

The present invention provides a multi-axis handle controller with a USB interface, which relates to the technical field of handle controllers, including: a shell, the bottom of which is connected to a bottom cover, a main circuit board is arranged inside the bottom cover, the main circuit board is connected to the bottom of the shell through a plurality of first screws, and a USB interface is arranged at the bottom of the main circuit board; a spindle rotation mechanism is arranged inside the shell, the bottom of the spindle rotation mechanism is inserted into two semicircular concave portions in the shell, and passes through the central through hole of the shell; a spindle reset mechanism is sleeved on the outside of the spindle rotation mechanism; a top rotation mechanism is connected to the top of the spindle rotation mechanism through a second screw; and a button switch is arranged on the top of the top rotation mechanism. The beneficial effect is that a control signal proportional to the action angle of the handle controller can be output, a switch signal can be output, the control signal is converted into a serial signal, and transmitted through a standard USB interface, and other components are connected through an expansion interface to form a control component, and the USB interface is convenient for plugging and unplugging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of handle controllers, and in particular to a handle controller with a USB interface. Background Art

[0002] A handle controller is a main control device commonly used in automation equipment, engineering vehicles, and desktop instruments. It is used to adjust various variables such as position, speed, direction, and volume. Traditional handle controllers mainly use potentiometers as core components. By swinging the handle, the resistance of the potentiometer changes corresponding to the angle, and the output voltage signal also changes accordingly. Due to the relatively short life of this type of handle controller, non-contact technology has been increasingly used in handle controllers to replace traditional potentiometers in recent years.

[0003] The handle controller usually outputs analog signals such as voltage or current. However, in some special applications, the handle controller will be connected to a PC or industrial computer as a substitute for common input devices. However, the handle controller and the device are mostly fixedly connected by a data cable, which cannot be disassembled and replaced, does not support hot plugging, and lacks convenience. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a handle controller with a USB interface, comprising:

[0005] A housing, the bottom of the housing is connected to a bottom cover, a main circuit board is arranged inside the bottom cover, the main circuit board is connected to the bottom of the housing through a plurality of first screws, and a USB interface is arranged at the bottom of the main circuit board;

[0006] A main shaft rotating mechanism is arranged inside the shell, the bottom of the main shaft rotating mechanism is inserted into two semicircular recesses inside the shell, and the top of the main shaft rotating mechanism passes through the shell through a central through hole at the top of the shell;

[0007] A spindle resetting mechanism is disposed in the housing and sleeved on the outside of the spindle rotating mechanism;

[0008] A top rotating mechanism is arranged on the top of the housing, and the bottom of the top rotating mechanism is connected to the top of the main shaft rotating mechanism through a second screw;

[0009] A button switch is arranged on the top of the top rotating mechanism.

[0010] Preferably, the housing comprises:

[0011] An upper cover is sleeved on the outside of a dust cover, and the top of the spindle rotating mechanism is passed through the center through hole on the top of the dust cover;

[0012] An upper bracket, wherein the bottom of the dust cover is sleeved on the outer side of the circular structure at the top of the upper bracket;

[0013] An upper body, the top of which is sleeved on the outer side of the bottom of the upper bracket;

[0014] A lower cover, which is sleeved on the outer side of the bottom of the upper body;

[0015] A lower body is provided, the bottom of the lower body is connected to the top of the main circuit board, and the lower body and the main circuit board are connected to the bottom of the upper body through a first screw.

[0016] Preferably, the upper cover, the dust cover, the upper bracket, the upper body and the lower cover are fixedly connected by a plurality of third screws.

[0017] Preferably, a semicircular recess is respectively provided inside the upper body and the lower body.

[0018] Preferably, the spindle rotation mechanism comprises:

[0019] A main shaft with a spherical bottom, the semicircular concave inside the upper body and the semicircular concave inside the lower body wrap the bottom of the main shaft, and the top of the main shaft passes through the central through hole on the top of the dust cover and is connected to the bottom of the top rotating mechanism;

[0020] A first annular magnetic steel is disposed in the bottom of the main shaft;

[0021] A stop pin, the thick shaft diameter part of the stop pin is stuck in the corresponding semi-cylindrical grooves inside the upper body and the lower body, and the thin shaft diameter part of the stop pin is inserted into the groove on the side of the bottom of the main shaft.

[0022] Preferably, the spindle reset mechanism comprises:

[0023] A circlip, inserted into a circlip groove on the main shaft;

[0024] A gland is sleeved on the outer side of the main shaft, and the top of the gland is connected to the bottom of the retaining spring;

[0025] A spring is sleeved on the outside of the main shaft, and the top of the spring is connected to the bottom of the gland;

[0026] A slider is sleeved on the outer side of the main shaft, the top of the slider is connected to the bottom of the spring, and the top of the slider is inserted into the groove at the bottom of the upper body.

[0027] Preferably, the top rotating mechanism comprises:

[0028] A connecting shaft, a rotating seat is sleeved on the outer side of the thin shaft diameter portion at the top of the connecting shaft, and a handle base plate is sleeved on the outer side of the thin shaft diameter portion at the bottom of the connecting shaft;

[0029] Two pins are fastened relatively to the rotating seat and the connecting shaft respectively;

[0030] A torsion spring, wherein two torsion spring arms of the torsion spring cross-clamp two pins;

[0031] Two torsion spring baffles, the inner circle of each torsion spring baffle is lined on the inner circle of the torsion spring, and the arm of each torsion spring baffle is lined on the outside of two torsion spring arms of the torsion spring;

[0032] A plurality of support columns are provided between the rotating seat and the handle base plate;

[0033] A handle is sleeved on the outer side of the rotating seat and connected to the rotating seat through a plurality of fourth screws. A second annular magnetic steel is arranged inside the handle.

[0034] Preferably, the rotating seat, the supporting column and the handle base plate are fixedly connected by a plurality of fifth screws.

[0035] Preferably, the top rotating mechanism further includes a circuit board support plate and a top circuit board, the circuit board support plate is connected to the top of the connecting shaft, and the top circuit board is arranged inside the circuit board support plate.

[0036] Preferably, the bottom of the bottom cover is provided with a plurality of small holes adapted to the bottom bumps of the main circuit board and the USB interface, and the bottom bumps of the main circuit board and the USB interface pass through the bottom of the bottom cover through the small holes.

[0037] The above technical solution has the following advantages or beneficial effects: it can output a control signal proportional to the action angle of the handle controller, can output a switching signal, convert the control signal into a serial signal, transmit it through a standard USB interface, connect other components through an expansion interface to form a control component, and the USB interface is easy to plug and unplug. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is an exploded view of the structure of the handle controller in a preferred embodiment of the present invention;

[0039] Figure 2 This is a cross-sectional view of the handle controller in a preferred embodiment of the present invention;

[0040] Figure 3 The electrical schematic diagram of the top circuit board in the preferred embodiment of the present invention;

[0041] Figure 4 The electrical schematic diagram of the USB interface circuit of the main circuit board in the preferred embodiment of the present invention;

[0042] Figure 5 The electrical schematic diagram of the voltage stabilizing circuit of the main circuit board in the preferred embodiment of the present invention;

[0043] Figure 6 The electrical schematic diagram of the single-chip minimum system circuit of the main circuit board in the preferred embodiment of the present invention;

[0044] Figure 7The electrical schematic diagram of the angle sensing circuit of the main circuit board in the preferred embodiment of the present invention;

[0045] Figure 8 The electrical schematic diagram of the internal interface circuit of the main circuit board in the preferred embodiment of the present invention;

[0046] Fig. 9 This is an electrical schematic diagram of the external expansion port circuit of the main circuit board in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0047] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.

[0048] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a handle controller with a USB interface is provided. Figure 1 , Figure 2 As shown, including:

[0049] A housing 1, the bottom of the housing 1 is connected to a bottom cover 2, a main circuit board 21 is arranged inside the bottom cover 2, the main circuit board 21 is connected to the bottom of the housing 1 through a plurality of first screws 22, and a USB interface 23 is arranged at the bottom of the main circuit board 21;

[0050] A spindle rotating mechanism 3 is arranged inside the housing 1, the bottom of the spindle rotating mechanism 3 is inserted into two semicircular recesses inside the housing 1, and the top of the spindle rotating mechanism 3 passes through the housing 1 through a central through hole at the top of the housing 1;

[0051] A spindle reset mechanism 4 is disposed in the housing 1 and sleeved on the outside of the spindle rotation mechanism 3;

[0052] A top rotating mechanism 5 is arranged on the top of the housing 1, and the bottom of the top rotating mechanism 5 is connected to the top of the main shaft rotating mechanism 3 through a second screw 6;

[0053] A button switch 7 is disposed on the top of the top rotating mechanism 5 .

[0054] Specifically, in this embodiment, the button switch 7 can be a trigger switch or a toggle switch for providing a switch signal, and the bottom cover 2 is used to protect the main circuit board 21 .

[0055] In a preferred embodiment of the present invention, the housing 1 comprises:

[0056] An upper cover 11 is sleeved on the outside of a dust cover 12, and the top of the spindle rotating mechanism 3 is passed through the center through hole on the top of the dust cover 12;

[0057] An upper bracket 13, the bottom of the dust cover 12 is sleeved on the outer side of the circular structure at the top of the upper bracket 13;

[0058] An upper body 14, the top of which is sleeved on the outer side of the bottom of the upper bracket 13;

[0059] A lower cover 15, which is sleeved on the outer side of the bottom of the upper body 14;

[0060] A lower body 16 , the bottom of the lower body 16 is connected to the top of the main circuit board 21 , and the lower body 16 and the main circuit board 21 are connected to the bottom of the upper body 14 through a first screw 22 .

[0061] Specifically, in this embodiment, the upper bracket 13 is a plastic part below the upper circle, and the size of its square structure matches the square concave part above the upper body 14. The upper bracket 13 can be clamped on the upper part of the upper body 14 through the square structure. The dust cover 12 is a rubber part with a multi-layer tower-shaped structure to prevent external water and dust from entering the inside of the handle controller. The dust cover 12 is put on the spindle rotation mechanism 3 from the top by using the center through hole on the dust cover 12, and the bottom of the dust cover 12 is put on the outside of the upper circular structure of the upper bracket 13, and the lower cover 15 is put on the outside of the upper body 14 from the bottom.

[0062] In a preferred embodiment of the present invention, the upper cover 11 , the dust cover 12 , the upper bracket 13 , the upper body 14 and the lower cover 15 are fixedly connected by a plurality of third screws 17 .

[0063] In a preferred embodiment of the present invention, a semicircular recess is respectively formed inside the upper body 14 and the lower body 16 .

[0064] In a preferred embodiment of the present invention, the spindle rotation mechanism 3 comprises:

[0065] A main shaft 31 with a spherical bottom, the semicircular concave inside the upper body 14 and the semicircular concave inside the lower body 16 wrap the bottom of the main shaft 31, the top of the main shaft 31 passes through the central through hole at the top of the dust cover 12, and is connected to the bottom of the top rotating mechanism 5;

[0066] A first annular magnetic steel 32 is disposed in the bottom of the main shaft 31;

[0067] A stop pin 33 , the thick shaft diameter portion of the stop pin 33 is stuck in the corresponding semi-cylindrical grooves inside the upper body 14 and the lower body 16 , and the thin shaft diameter portion of the stop pin 33 is inserted into the groove on the bottom side of the main shaft 31 .

[0068] Specifically, in this embodiment, the main shaft 31 is a hollow stainless steel shaft-shaped part with a spherical bottom, the upper body 14 is a special shaped plastic part with an upper and lower circle, and the lower body 16 is an oblate plastic part. The upper body 14 and the lower body 16 each have a semicircular recess inside the interior that matches the size of the spherical structure at the bottom of the main shaft 31. The upper body 14 and the lower body 16 wrap the spherical structure at the bottom of the main shaft 31 from the upper and lower directions respectively through the semicircular recessed structure, so that the main shaft cannot move in the axial direction, but can swing around the center of the spherical structure. The stop pin 33 is a stainless steel shaft-shaped part with a layer of steps. The axis of the stop pin 33 points to the center of the spherical structure at the bottom of the main shaft 31. The thick shaft diameter part of the stop pin 33 is stuck in the corresponding semi-cylindrical grooves inside the upper body 14 and the lower body 16, so that the stop pin 33 cannot move, and the thin shaft diameter part of the stop pin 33 is inserted into the groove on the side of the spherical structure at the bottom of the main shaft 31, so that the main shaft 31 cannot rotate circumferentially when swinging.

[0069] In a preferred embodiment of the present invention, the spindle reset mechanism 4 includes:

[0070] A retaining ring 41 is inserted into a retaining ring groove on the main shaft 31;

[0071] A gland 42 is sleeved on the outer side of the main shaft 31, and the top of the gland 42 is connected to the bottom of the retaining ring 41;

[0072] A spring 43 is sleeved on the outside of the main shaft 31, and the top of the spring 43 is connected to the bottom of the pressure cover 42;

[0073] A slider 44 is sleeved on the outside of the main shaft 31 , the top of the slider 44 is connected to the bottom of the spring 43 , and the top of the slider 44 is inserted into the groove at the bottom of the upper body 14 .

[0074] Specifically, in this embodiment, the slider 44 is a plastic part with a low friction coefficient. The slider 44 is inserted into the main shaft 31 from above. Above the slider 44 are the spring 43, the pressure cover 42 and the retaining spring 41 in sequence. The retaining spring 41 is used to limit the axial movement of the spring 43 and provide initial preload. The pressure cover 42 is used to control the spatial position of the spring 43 to ensure uniform spring force. As the swing angle of the main shaft 31 increases, the compression amount of the spring 43 also increases. When the external force of the main shaft 31 disappears, under the action of the elastic force of the spring 43, the main shaft 31 will return to its initial vertical state.

[0075] In a preferred embodiment of the present invention, the top rotating mechanism 5 comprises:

[0076] A connecting shaft 51, a rotating seat 52 is sleeved on the outer side of the thin shaft diameter portion at the top of the connecting shaft 51, and a handle base plate 53 is sleeved on the outer side of the thin shaft diameter portion at the bottom of the connecting shaft 51;

[0077] Two pins 54 are fastened relatively to the rotating seat 52 and the connecting shaft 51 respectively;

[0078] a torsion spring 55, wherein two torsion spring arms of the torsion spring 55 cross-clamp the two pins 54;

[0079] Two torsion spring baffles 56, the inner circle of each torsion spring baffle 56 is lined on the inner circle of the torsion spring 55, and the arms of each torsion spring baffle 56 are lined on the outside of two torsion spring arms of the torsion spring 55;

[0080] A plurality of support columns 57 are provided between the rotating base 52 and the handle base plate 53;

[0081] A handle 58 is sleeved on the outside of the rotating base 52 and connected to the rotating base 52 via a plurality of fourth screws 8. A second annular magnetic steel 59 is disposed inside the handle 58.

[0082] In a preferred embodiment of the present invention, the rotating seat 52 , the supporting column 57 and the handle base plate 53 are fixedly connected by a plurality of fifth screws 9 .

[0083] Specifically, in this embodiment, the connecting shaft 51 is a hollow shaft-type part with a thick middle part and thin ends. The thin shaft diameter part above it is sleeved with a rotating seat 52. The rotating seat 52 can rotate around the axis of the connecting shaft 51. When the torque applied to the rotating seat 52 to rotate it disappears, the rotating seat 52 will return to its original position under the driving force of the torsion spring 55. The inner ring of the torsion spring baffle 56 is lined with the inner ring of the torsion spring 55 to control the axial clearance. The arm of the torsion spring baffle 56 is lined on the outside of the two torsion spring arms to increase the force area and improve the force condition of the torsion spring arms. The handle bottom plate 53 is an annular part. Due to the limitation of the thickest shaft diameter part in the middle of the connecting shaft 51, the rotating seat 52 can only rotate but cannot move axially. The handle 58 is connected to the rotating seat 52 through two fifth screws 9 and rotates together around the axis of the connecting shaft 51.

[0084] In a preferred embodiment of the present invention, the top rotating mechanism 5 further includes a circuit board support plate 510 and a top circuit board 511 . The circuit board support plate 510 is connected to the top of the connecting shaft 51 , and the top circuit board 511 is disposed inside the circuit board support plate 510 .

[0085] Specifically, in this embodiment, the circuit board support plate 510 is a bowl-shaped part, which is installed on the top of the connecting shaft 51, the top circuit board 511 is a circular PCB board, which is installed inside the circuit board support plate 510, and a Hall sensor chip is welded on the top circuit board 511. The second annular magnetic steel 59 is installed inside the handle 58 and rotates around the axis of the connecting shaft 51 together with the handle 58. When the handle 58 rotates, the magnetic field generated by the second annular magnetic steel 59 rotates synchronously, and the Hall sensor chip on the top circuit board 511 within the magnetic field detects the change of the magnetic field and transmits the change as a voltage signal proportional to the rotation angle.

[0086] Specifically, in this embodiment, Figure 3 As shown, U1 is a Hall sensor chip of the MLX90365 model. The first pin of the chip U1 is respectively connected to the voltage input port VCC and one end of the filter capacitor C1. The other end of the filter capacitor C1 is respectively connected to the second pin, the third pin, the fourth pin and the ground port GND of the chip U1. The fifth pin of the chip U1 is respectively connected to the voltage output port OUT and one end of the filter capacitor C3. The other end of the filter capacitor C3 is connected to the ground port GND. The sixth pin, the seventh pin and the eighth pin of the chip are respectively connected to one end of the filter capacitor C2. The other end of the filter capacitor C2 is connected to the ground port GND. The positive terminal of the transient diode TVS is connected to the ground port GND, and the negative terminal is connected to the voltage input port VCC. The chip U1 detects the change of the magnetic field and transmits the change as a voltage signal proportional to the rotation angle. The transient diode TVS is used to suppress the transient high voltage at the power supply end and protect the components of the subsequent stage. The filter capacitors C1 and C2 are respectively used to improve the smoothness of the input power supply and the output signal.

[0087] In a preferred embodiment of the present invention, the bottom of the bottom cover 2 is provided with a plurality of small holes adapted to the bottom protrusion of the main circuit board 21 and the USB interface 23, and the protrusion at the bottom of the main circuit board 21 and the USB interface 23 pass through the bottom of the bottom cover 2 through the small holes.

[0088] Specifically, in this embodiment, the main circuit board 21 is a circular PCB board, which includes a Hall sensor chip, a single-chip microcomputer, a USB interface circuit, a connector, etc. The first annular magnet 32 ​​is installed below the main shaft 31, facing the Hall sensor chip on the main circuit board 21 and incorporating it into its own magnetic field range. The Hall sensor chip on the main circuit board 21 detects the change in the magnetic field of the first annular magnet 32 ​​that swings with the main shaft 31, and transmits the change in the magnetic field in the X and Y axis directions as voltage signals proportional to the swing angle. The single-chip microcomputer on the main circuit board 21 receives and processes the signals transmitted from the button switch 7, the Hall sensor chip of the top circuit board 511, and the Hall sensor chip of the main circuit board 21, respectively, combines and converts the signals into serial signals, and transmits them to the outside through the USB interface 23.

[0089] In a preferred embodiment of the present invention, the USB interface circuit, voltage stabilizing circuit, single-chip minimum system circuit, angle sensor circuit, internal interface circuit and external expansion port circuit on the main circuit board are as follows: Figure 4-9As shown, the single-chip minimum system circuit is respectively connected to the USB interface circuit, the voltage stabilizing circuit, the angle sensor circuit, the internal interface circuit and the external expansion port circuit. The single-chip minimum system circuit adopts the single-chip microcomputer U2 of the STM32F103C8T6 model. The 5th and 6th pins of the single-chip microcomputer U2 are respectively connected to the two ends of the active crystal oscillator Y1, the active crystal oscillator Y1 is connected in parallel with the resistor R8, the four pins of the active crystal oscillator Y1 are respectively connected to the capacitor C11, the capacitor C12 and the ground port GND, the 44th pin of the single-chip microcomputer U2 is connected to the resistor R7, the 20th pin is connected to the resistor R9, the 7th pin is respectively connected to the capacitor C10 and one end of the resistor R6, the 39th pin is respectively connected to the capacitor C13 and one end of the resistor R10, and the other end of the resistor R10 is connected to the resistor R6 The other end of the capacitor C13 is connected in parallel with a bidirectional breakdown diode D5, the 23rd, 35th, 37th and 8th pins of the single-chip microcomputer U2 are connected to the ground GND, the 24th, 36th and 48th pins of the single-chip microcomputer U2 are connected to the capacitor C6, the two ends of the capacitor C6 are connected in parallel with capacitors C7 and C5, the 9th pin of the single-chip microcomputer U2 is respectively connected to the USB interface circuit, the voltage stabilizing circuit and one end of the inductor L4, the other end of the inductor L4 is connected to capacitor C9 and capacitor C8, the 34th and 37th pins of the single-chip microcomputer U2 are respectively connected to the 1st and 2nd pins of the adapter J2, and the single-chip microcomputer minimum system circuit is used to process multi-channel analog and switch signals, and convert them into serial signals, which are transmitted through the USB interface;

[0090] The USB interface circuit uses an ESD diode U5. The 5th pin of the diode U5 is connected to capacitor 27, one end of the resettable fuse F1 and one end of the magnetic bead L1 respectively. The other end of the magnetic bead L1 is connected to a parallel circuit composed of capacitors C1 and C2. The other end of the resettable fuse F1 is connected to the 1st pin of the adapter J1. The 4th pin of the adapter J1 is connected to the magnetic bead L2. The 5th and 6th pins of the adapter J1 are connected to the ground GND. The 2nd pin of the adapter J1 is connected to the 4th pin of the diode U5. The 3rd pin of the adapter J1 is connected to the 6th pin of the diode U5. The 1st and 3rd pins of the diode U5 are connected to the common The 3rd pin and the 2nd pin of the common-mode inductor L3 and the 2nd pin of the diode U5 are connected to the ground port GND, the 4th pin of the common-mode inductor L3 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the 33rd pin of the single-chip computer U2, the 1st pin of the common-mode inductor is connected to the 32nd pin of the single-chip computer U2, the USB interface circuit prevents static electricity from damaging the pins of the single-chip computer U2 through the USB signal line through the ESD diode U5, the common-mode inductor L3 is used to filter out the common-mode high-frequency interference during signal transmission, and the self-recovery fuse F1 is set to prevent the USB host interface from being damaged when a short circuit occurs on the circuit board, and the magnetic beads L1 and L2 are used to filter out high-frequency interference at the power supply end;

[0091] The voltage stabilization circuit uses a low voltage drop linear voltage regulator U1 of the TPS7B6933DBVR model. The first and third pins of the voltage regulator U1 are respectively connected to the two ends of the capacitor C3, one end of the capacitor C3 is connected to the ground GND, the fourth and fifth pins of the voltage regulator U1 are respectively connected to the two ends of the capacitor C4, one end of the capacitor C4 is connected to the ground GND, and the voltage stabilization circuit is used to achieve a 3.3V stable power supply for the subsequent circuit;

[0092] The angle sensing circuit uses the MLX90333KDC Hall sensor chip U3. The 7th pin of chip U3 is connected to one end of capacitor C15. The other end of capacitor C15 and pins 6 and 8 of chip U3 are connected to the ground GND. Pin 5 of chip U3 is connected to one end of resistor R24. The other end of resistor R24 ​​is connected to pin 11 of microcontroller U2. Capacitor C16 and resistor R11 are connected in parallel between resistor R24 ​​and pin 5 of chip U3. Pins 3 and 2 of chip U3 are connected to one end of capacitor C14. The other end of capacitor C14 is connected to pin 1 of chip U3. Pin 4 of chip U3 is connected to one end of resistor R25. The other end of resistor R25 is connected to pin 13 of microcontroller U2. Capacitor C17 and resistor R12 are connected in parallel between resistor R25 and pin 4 of chip U3. When the magnetic field directly above chip U3 changes, chip U3 can analyze the changes on the X-axis and Y-axis and process them by outputting voltage signals to microcontroller U2.

[0093] In the internal interface circuit, the second pin of the pin header P1 is connected to the ground GND, the third pin is connected to one end of the resistor R26, the other end of the resistor R26 is connected to the 19th pin of the single-chip computer U2, the fourth pin is respectively connected to one end of the capacitor C19, one end of the capacitor C18 and the ground GND, the fifth pin is respectively connected to the resistor R14 and the other end of the capacitor C19, the sixth pin is respectively connected to the resistor R13 and the other end of the capacitor C18. The internal interface circuit is used to transmit the voltage signal output by the chip U1 on the handle 58 and the switch signal output by the button switch 7 installed on the handle 58 to the single-chip computer U2 for processing;

[0094] In the external expansion port circuit, the first pin of the adapter J3 is connected to one end of the resistor R15 and one end of the ESD diode D1 respectively, the other end of the ESD diode D1 is connected to one end of the resistor R16, the other end of the resistor R15 is connected to the other end of the resistor R16, and the two ends of the resistor R16 are also connected in parallel with a capacitor C20, one end of the capacitor C20 is connected to the fifth pin of the operational amplifier U4B, the sixth and seventh pins of the operational amplifier U4B are connected to the fourteenth pin of the microcontroller U2, the second pin of the adapter J3 is connected to one end of the resistor R17 and one end of the ESD diode D2 respectively, the other end of the ESD diode D2 is connected to one end of the resistor R18, and the The other end is connected to the other end of the resistor R18, and the two ends of the resistor R18 are also connected in parallel with a capacitor C21. One end of the capacitor C21 is connected to the third pin of the operational amplifier U4A. The first and second pins of the operational amplifier U4A are connected to the 16th pin of the microcontroller U2. The third and ninth pins of the adapter J3 are respectively connected to the two ends of the ESD diode D4. The third pin of the adapter J3 is respectively connected to one end of the resistor R19 and one end of the ESD diode D3. The other end of the ESD diode D3 is connected to one end of the resistor R20. The other end of the resistor R19 is connected to the other end of the resistor R20. The two ends of the resistor R20 are also connected in parallel with a capacitor C22. One end of the capacitor C22 is connected to the operational amplifier U4A. The 12th pin of the operational amplifier U4D, the 13th pin and the 14th pin of the operational amplifier U4D are connected to the 15th pin of the single-chip computer U2, the 6th pin of the adapter J3 is connected to the ground port GND, the 7th interface of the adapter J3 is connected to the resistor R21 and the capacitor C24 respectively, and the two ends of the resistor C24 are connected in parallel with the ESD diode D6, the 8th pin of the adapter J3 is connected to the resistor R22 and the capacitor C25 respectively, and the two ends of the capacitor C25 are connected in parallel with the ESD diode D7, the 10th pin of the adapter J3 is connected to the resistor R23 and the capacitor C26 respectively, and the two ends of the capacitor C26 are connected in parallel with the ESD diode D8. The external expansion port circuit expands 3 analog quantities and 3 switch quantities. The 3-way analog quantity input is divided by operational amplifiers U4A, U4B and U4D and then transmitted to the single-chip computer U2 for processing. Adapter J3 can also realize the switching of the handle controller function. When the 5th pin and the 6th pin are not short-circuited, the handle controller realizes the standard game handle function. When the 5th pin and the 6th pin are short-circuited, the handle controller realizes the mouse function. At the same time, the power supply end, 3-way analog quantity and 3-way switch quantity of the expansion port are protected by ESD diodes. Through the external expansion port circuit, the handle controller can be connected with other components such as knobs, thumbwheels, switches and even another handle controller to form a control component to achieve more complex control functions.

[0095] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.

Claims

1. A handle controller with a USB interface, characterized in that: include: A housing, the bottom of the housing is connected to a bottom cover, a main circuit board is arranged inside the bottom cover, the main circuit board is connected to the bottom of the housing through a plurality of first screws, and a USB interface is arranged at the bottom of the main circuit board; A spindle rotating mechanism is arranged inside the shell, the bottom of the spindle rotating mechanism is inserted into two semicircular recesses inside the shell, and the top of the spindle rotating mechanism passes through the shell through a central through hole at the top of the shell; A spindle resetting mechanism is disposed in the housing and sleeved on the outside of the spindle rotating mechanism; A top rotating mechanism, disposed on the top of the housing, wherein the bottom of the top rotating mechanism is connected to the top of the spindle rotating mechanism via a second screw; A button switch, arranged on the top of the top rotating mechanism; The main circuit board includes a Hall sensor chip, a single-chip microcomputer, a USB interface circuit, and a connector. The first annular magnetic steel is installed below the main shaft, facing the Hall sensor chip on the main circuit board and bringing it into its own magnetic field range. The Hall sensor chip on the main circuit board detects the change of the magnetic field of the first annular magnetic steel that swings with the main shaft, and transmits the change of the magnetic field in the two directions of the X and Y axes as voltage signals proportional to the swing angle. The single-chip microcomputer on the main circuit board receives and processes the signals transmitted from the button switch, the Hall sensor chip on the top circuit board, and the Hall sensor chip on the main circuit board, respectively, combines and converts the signals into serial signals, and transmits them to the outside through the USB interface. The main circuit board also includes a voltage stabilizing circuit, a single-chip computer minimum system circuit, an angle sensing circuit, an internal interface circuit and an external expansion port circuit. The single-chip computer minimum system circuit is respectively connected to the USB interface circuit, the voltage stabilizing circuit, the angle sensing circuit, the internal interface circuit and the external expansion port circuit. The 5th and 6th pins of the single-chip computer U2 in the single-chip computer minimum system circuit are respectively connected to the two ends of the active crystal oscillator Y1, the active crystal oscillator Y1 is connected in parallel with resistor R8, the four pins of the active crystal oscillator Y1 are respectively connected to capacitor C11, capacitor C12 and ground port GND, the 44th pin of the single-chip computer U2 is connected to resistor R7, the 20th pin is connected to resistor R9, the 7th pin is respectively connected to one end of capacitor C10 and resistor R6, the 39th pin is respectively connected to one end of capacitor C13 and resistor R10, and the The other end is connected to the other end of the resistor R6, the two ends of the capacitor C13 are connected in parallel with the bidirectional breakdown diode D5, the 23rd pin, the 35th pin, the 37th pin and the 8th pin of the single-chip microcomputer U2 are connected to the ground port GND, the 24th pin, the 36th pin and the 48th pin of the single-chip microcomputer U2 are connected to the capacitor C6, the two ends of the capacitor C6 are connected in parallel with the capacitor C7 and the capacitor C5, the 9th pin of the single-chip microcomputer U2 is respectively connected to the USB interface circuit, the voltage stabilizing circuit and one end of the inductor L4, the other end of the inductor L4 is connected to the capacitor C9 and the capacitor C8, the 34th pin and the 37th pin of the single-chip microcomputer U2 are respectively connected to the 1st pin and the 2nd pin of the adapter J2, and the single-chip microcomputer minimum system circuit is used to process multi-channel analog and switch quantity signals, and convert them into serial signals, and transmit them through the USB interface; Pin 7 of chip U3 of the angle sensing circuit is connected to one end of capacitor C15, the other end of capacitor C15 and pins 6 and 8 of chip U3 are connected to ground GND, pin 5 of chip U3 is connected to one end of resistor R24, the other end of resistor R24 ​​is connected to pin 11 of microcontroller U2, capacitor C16 and resistor R11 are connected in parallel between resistor R24 ​​and pin 5 of chip U3, pins 3 and 2 of chip U3 are connected to one end of capacitor C14, the other end of capacitor C14 is connected to pin 1 of chip U3, pin 4 of chip U3 is connected to one end of resistor R25, the other end of resistor R25 is connected to pin 13 of microcontroller U2, capacitor C17 and resistor R12 are connected in parallel between resistor R25 and pin 4 of chip U3, when the magnetic field directly above chip U3 changes, chip U3 parses the changes on X-axis and Y-axis and processes them by outputting voltage signals to microcontroller U2.

2. The handle controller with a USB interface according to claim 1, characterized in that: The housing comprises: An upper cover is sleeved on the outside of a dust cover, and the top of the spindle rotating mechanism is inserted into the central through hole on the top of the dust cover; An upper bracket, wherein the bottom of the dust cover is sleeved on the outside of the circular structure at the top of the upper bracket; An upper body, the top of which is sleeved on the outer side of the bottom of the upper bracket; A lower cover, wherein the lower cover is sleeved on the outer side of the bottom of the upper body; A lower body, the bottom of the lower body is connected to the top of the main circuit board, and the lower body and the main circuit board are connected to the bottom of the upper body through the first screw.

3. The handle controller with a USB interface according to claim 2, characterized in that: The upper cover, the dust cover, the upper bracket, the upper body and the lower cover are fixedly connected by a plurality of third screws.

4. The handle controller with a USB interface according to claim 2, characterized in that: A semicircular recess is respectively provided inside the upper body and the lower body.

5. The handle controller with a USB interface according to claim 4, characterized in that: The spindle rotating mechanism comprises: A main shaft with a spherical bottom, the semicircular concave inside the upper body and the semicircular concave inside the lower body wrap the bottom of the main shaft, and the top of the main shaft passes through the central through hole at the top of the dust cover and is connected to the bottom of the top rotating mechanism; A first annular magnetic steel is disposed in the bottom of the main shaft; A stop pin, the thick shaft diameter portion of the stop pin is stuck in the corresponding semi-cylindrical grooves inside the upper body and the lower body, and the thin shaft diameter portion of the stop pin is inserted into the groove on the side surface of the bottom of the main shaft.

6. The handle controller with a USB interface according to claim 2, characterized in that: The spindle resetting mechanism comprises: A retaining ring is inserted into a retaining ring groove on the main shaft; A gland, sleeved on the outside of the main shaft, the top of the gland connected to the bottom of the retaining spring; A spring is sleeved on the outside of the main shaft, and the top of the spring is connected to the bottom of the gland; A slider is sleeved on the outside of the main shaft, the top of the slider is connected to the bottom of the spring, and the top of the slider is inserted into the groove at the bottom of the upper body.

7. The handle controller with a USB interface according to claim 1, characterized in that: The top rotating mechanism comprises: A connecting shaft, wherein a rotating seat is sleeved on the outer side of the thin shaft diameter portion at the top of the connecting shaft, and a handle base plate is sleeved on the outer side of the thin shaft diameter portion at the bottom of the connecting shaft; Two pins are fastened relatively to the rotating seat and the connecting shaft respectively; a torsion spring, wherein two torsion spring arms of the torsion spring cross-clamp the two pins; Two torsion spring baffles, the inner circle of each torsion spring baffle is lined with the inner circle of the torsion spring, and the arms of each torsion spring baffle are lined with the outer sides of the two torsion spring arms of the torsion spring; A plurality of support columns are disposed between the rotating seat and the handle bottom plate; A handle is sleeved on the outside of the rotating seat and connected to the rotating seat through a plurality of fourth screws. A second annular magnetic steel is arranged inside the handle.

8. The handle controller with a USB interface according to claim 7, characterized in that: The rotating seat, the supporting column and the handle base plate are fixedly connected by a plurality of fifth screws.

9. The handle controller with a USB interface according to claim 7, characterized in that: The top rotating mechanism also includes a circuit board support plate and a top circuit board. The circuit board support plate is connected to the top of the connecting shaft, and the top circuit board is arranged inside the circuit board support plate.

10. The handle controller with a USB interface according to claim 1, characterized in that: The bottom of the bottom cover is provided with a plurality of small holes adapted to the bottom protrusions of the main circuit board and the USB interface, and the protrusions of the bottom of the main circuit board and the USB interface pass through the bottom of the bottom cover through the small holes.