Pluggable control rod module installation correction method and correction system thereof

By using an analog-to-digital converter and filtering processing, the pluggable joystick module installation system solves the problems of joystick center offset and jitter, achieving adaptive correction and reducing maintenance costs.

CN121995894APending Publication Date: 2026-05-08CHICONY ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHICONY ELECTRONICS CO LTD
Filing Date
2024-11-01
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing game joysticks are prone to center shift or jitter during use, and when replacing the switches, users need to bring their own tools for disassembly and manual calibration, resulting in high technical barriers and maintenance costs. Furthermore, modular joysticks are only compatible with kits provided by the manufacturer and are not compatible with modules from other manufacturers.

Method used

The calibration system, which uses a pluggable control lever module, converts the analog voltage of the potentiometer into a numerical value through an analog-to-digital converter and performs filtering and calculation. It detects the jitter status of the control lever data and adaptively calibrates pluggable control lever modules of different axis specifications, reducing the technical threshold and maintenance costs.

Benefits of technology

It realizes the adaptive correction of pluggable control lever modules with different shaft specifications, which reduces the technical threshold and maintenance costs, avoids energy waste due to accidental operation, and improves compatibility and ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121995894A_ABST
    Figure CN121995894A_ABST
Patent Text Reader

Abstract

The invention provides a method for correcting installation of a pluggable control rod module, which is applied to a game controller and comprises a connecting interface, an analog-to-digital converter and a controller, the analog-to-digital converter is electrically connected with the connecting interface, and the controller is electrically connected with the analog-to-digital converter. The correction method comprises the following steps: when the connection interface is electrically connected with the pluggable control rod module, the analog-to-digital converter converts analog voltage of a potentiometer of the pluggable control rod module into a numerical value, and in a power-on state, the controller judges whether the numerical value of the analog-to-digital converter is within a preset range; if the numerical value of the analog-to-digital converter is within the preset range, the controller performs filtering calculation processing on the numerical value of the analog-to-digital converter and then outputs control rod data; and the controller detects the jitter state of the control rod data to serve as the basis of the shutdown state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an electronic device, and more particularly to a calibration method and calibration system for mounting a pluggable control lever module. Background Technology

[0002] Currently, most mainstream original control levers on the market use carbon control lever shafts, which often cause center offset or vibration after a period of use. When users want to replace the shaft themselves, they need to bring their own tools to disassemble and manually adjust the range and center value, which increases the technical threshold and maintenance cost.

[0003] To accommodate custom replacement needs on game controllers, some manufacturers have designed modular controllers, allowing users to change the controller length and physical button configuration themselves. However, the controller module is only compatible with the kits provided by that manufacturer and is not compatible with modules from other manufacturers. Summary of the Invention

[0004] This invention proposes a calibration method and system for installing a pluggable control lever module, thereby addressing the problems of existing technologies.

[0005] In some embodiments of the present invention, the pluggable joystick module installation calibration system proposed in this invention is applied to a game controller. It includes a connection interface, an analog-to-digital converter (ADC), and a controller. The controller is electrically connected to the ADC, and the ADC is electrically connected to the connection interface. When the connection interface is electrically connected to the pluggable joystick module, the ADC converts the analog voltage of the potentiometer of the pluggable joystick module into a numerical value. In the power-on state, the controller filters and processes the numerical value from the ADC and outputs joystick data, thereby detecting the jitter state of the joystick data as a basis for determining the power-off state.

[0006] In some embodiments of the present invention, the calibration method for installing a pluggable joystick module proposed in this invention is applied to a game controller, which includes a connection interface, an analog-to-digital converter (ADC), and a controller. The ADC is electrically connected to the connection interface, and the controller is electrically connected to the ADC. The calibration method for installing a pluggable joystick module includes the following steps: when the connection interface is electrically connected to the pluggable joystick module, the ADC converts the analog voltage of the potentiometer of the pluggable joystick module into a numerical value. In the power-on state, the controller determines whether the numerical value of the ADC falls within a preset range. If the numerical value of the ADC falls within the preset range, the controller performs filtering and calculation processing on the numerical value of the ADC and outputs the joystick data. The controller also detects the jitter state of the joystick data as a basis for the power-off state.

[0007] In summary, the technical solution of this invention has significant advantages and beneficial effects compared with the prior art. This invention modularizes the joystick portion of the game controller into a pluggable joystick module, and the calibration method and system can adaptively calculate and match pluggable joystick modules with different axis specifications, thus reducing the technical threshold and maintenance costs. Furthermore, the controller can determine whether the pluggable joystick module is in the power-on or power-off state when installed on the game controller based on the numerical range and jitter state of the analog-to-digital converter.

[0008] The above description will be given in detail below with reference to the embodiments, and a further explanation of the technical solution of the present invention will be provided. Attached Figure Description

[0009] To make the above and other objects, features, advantages and embodiments of the present invention more apparent and understandable, the accompanying drawings are described below:

[0010] Figure 1A This is a perspective view of a game controller according to some embodiments of the present invention;

[0011] Figure 1B This is a circuit block diagram of a correction system according to some embodiments of the present invention;

[0012] Figure 2 This is a schematic diagram of a jitter state according to some embodiments of the present invention;

[0013] Figure 3 This is a schematic diagram of the initial range of the X and Y axes of a pluggable control lever module according to some embodiments of the present invention;

[0014] Figures 4A to 4D This is a schematic diagram of an adaptive correction according to some embodiments of the present invention; and

[0015] Figure 5 , Figure 6 This is a flowchart of a calibration method for installing a pluggable control lever module according to some embodiments of the present invention.

[0016] To make the above and other objects, features, advantages and embodiments of the present invention more apparent and understandable, the appended symbols are explained as follows:

[0017] 100: Game Controller

[0018] 110: Pluggable control lever module

[0019] 120: Arrow keys

[0020] 130: Function Key

[0021] 200: Calibration System

[0022] 210: Potentiometer

[0023] 220: Controller

[0024] 221: Analog-to-digital converter

[0025] 230: Connection Interface

[0026] 250: Wireless communication unit

[0027] 260: Power Unit

[0028] 270: Switching Unit

[0029] 290: Host side

[0030] 300: Initial range

[0031] 310: Origin position

[0032] 410: Zero Angle

[0033] 420: Preset Angle

[0034] 430:Maximum angle

[0035] 440a: Initial maximum range value

[0036] 440b: Preset position

[0037] 440c: Update maximum range value

[0038] 440d: Maximum position

[0039] 500, 600: Calibration Method

[0040] A1, A2: Location

[0041] S501~S513, S601~S608: Steps Detailed Implementation

[0042] To provide a more detailed and complete description of the invention, reference can be made to the accompanying drawings and the various embodiments described below, in which the same numbers represent the same or similar elements. Furthermore, well-known elements and steps are not described in the embodiments to avoid unnecessarily limiting the invention.

[0043] Please refer to Figure 1A This is a game controller 100, applicable to video games or widely used in related technical fields. The pluggable joystick module 110 of this technology allows for significant technological advancements and has broad industrial applicability. The following will be paired with... Figure 1A This section will explain the specific implementation of the game controller 100.

[0044] It should be understood that the game controller 100 can be implemented in various ways. Figure 1A The following description provides a comprehensive explanation of one or more embodiments. However, the art can be practiced without these specific details. In other examples, known structures and apparatuses are shown in block diagram form for the effective description of these embodiments. The term "by way of example" as used herein means "as an example, instance, or illustration." Any embodiment described herein as "by way of example" should not be construed as preferred or superior to other embodiments.

[0045] Figure 1A This is a perspective view of a game controller 100 according to an embodiment of the present invention. Figure 1A As shown, the game controller 100 includes a pluggable joystick module 110, directional keys 120, and function keys 130. For example, the pluggable joystick module 110 may be a pluggable analog joystick module. Although Figure 1A There are two pluggable control lever modules 110, but this does not limit the invention. In practice, there may be one or more pluggable control lever modules 110. Similarly, the number of function keys 130 can also be flexibly selected according to the application at the time.

[0046] During disassembly and assembly, the user can manually remove or disconnect the pluggable joystick module 110 from the game controller 100, or reinstall the pluggable joystick module 110 (e.g., the original pluggable joystick module or a new pluggable joystick module) onto the game controller 100.

[0047] In order to Figure 1A The circuit architecture of the calibration system 200 of the game controller 100 will be further explained below. Please refer to [the relevant documentation / reference]. Figures 1A to 1B , Figure 1B This is a circuit block diagram of a calibration system 200 according to some embodiments of the present invention. The calibration system 200 can be disposed in the circuit of a game controller 100, and the circuit of the game controller 100 includes a connection interface 230. The calibration system 200 includes a controller 220 and an analog-to-digital converter 221. The controller 220 is electrically connected to the analog-to-digital converter 221, such as... Figure 1BAs shown, controller 220 includes analog-to-digital converter 221, but the invention is not limited thereto. In some embodiments, controller 220 and analog-to-digital converter 221 may be separately disposed in the circuit. Architecturally, connection interface 230 is electrically connected to analog-to-digital converter 221, and controller 220 can be communicatively connected to host terminal 290 when game controller 100 is communicatively connected to host terminal 290. For example, host terminal 290 may be a computer, mobile phone, or game console, etc., connection interface 230 may be a pin, connector, electrical connector, or other element for electrically connecting pluggable joystick module 110, and controller 220 may be a microcontroller.

[0048] In this embodiment, the game controller 100 can communicate with the host terminal 290 via a wired and / or wireless connection. For example, one end of the game controller 100 has a connector interface, one end of an electrical connection cable is connected to the connector interface of the game controller 100, and the other end of the electrical connection cable is connected to the interface of the host terminal 290. The game controller 100 transmits information and obtains power from the host terminal 290 through the electrical connection cable.

[0049] In some embodiments, the game controller 100 may also be wirelessly connected to the host device 290. For example, the game controller 100 further includes a wireless communication unit 250 and a power unit 260 (e.g., a battery). The wireless communication unit 250 is disposed in a circuit and electrically connected to the controller 220, and transmits signals to the host device 290.

[0050] For example, the wireless communication unit may be a Bluetooth transceiver module or an RF transceiver, but the present invention is not limited thereto. The power unit 260 is a rechargeable battery to provide power to the game controller 100.

[0051] It should be understood that, in the embodiments and claims, the description involving "electrical connection" can refer to a component being indirectly electrically coupled to another component through other components, or a component being directly electrically connected to another component without needing to go through other components. For example, the analog-to-digital converter 221 is directly electrically connected to the connection interface 230, or the analog-to-digital converter 221 is indirectly connected to the connection interface 230 through lines and / or components.

[0052] The controller 220 detects whether the pluggable joystick module 110 is installed in the game controller 100 and is in either a powered-on or powered-off state. When the connection interface 230 is electrically connected to the pluggable joystick module 110, the analog-to-digital converter 221 converts the analog voltage of the potentiometer 210 of the pluggable joystick module 110 into a numerical value (e.g., a digital value in the range of 0 to 4096). In the powered-on state, the controller 220 filters and processes the numerical value from the analog-to-digital converter 221 and outputs the joystick data to avoid jitter in the pluggable joystick module 110. The controller 220 then detects the jitter state of the joystick data as a basis for determining the powered-off state. For example, the aforementioned powered-on state can be represented as the game controller 100 operating in a powered-on state. In some embodiments, the powered-on state means that the game controller 100 has power and the input function is operating normally, and the controller 220 can convert the trigger signal into an input signal.

[0053] Specifically, when the game controller 100 is connected to the host 290 and the pluggable joystick module 110 is installed in the game controller 100 and in normal use, in order to prevent jitter, the firmware of the controller 220 filters and calculates the value of the analog-to-digital converter 221, and then converts the value of the analog-to-digital converter 221 to output the joystick data with the center point value.

[0054] Regarding the filtering calculations described above, for example, the filtering calculations can be debouncing filtering and / or amplitude limiting filtering. In practice, debouncing filtering is always used to smooth data to reduce noise and jitter, but the stronger the smoothing effect, the more likely it is to affect the rate of return. Amplitude limiting filtering is used to remove extreme variations or outliers in the signal of the analog-to-digital converter 221 and limit them to a specific range, but it affects the resolution. In some embodiments of the present invention, the controller 220 combines debouncing filtering and amplitude limiting filtering in the filtering calculations to avoid the debouncing filtering calculations affecting the rate of return, and also to avoid the amplitude limiting filtering affecting the resolution.

[0055] Debouncing filtering can be implemented using the following difference equation to create a first-order low-pass filter: y[n]=∝·x[n]+(1-α)·y[n-1], where y[n] is the output signal value at time point n, x[n] is the input signal value at time point n, and α is a constant between 0 and 1, called the filter's adaptability parameter, which controls the smoothing effect. Generally, the closer α is to 1, the stronger the filter's effect, but the greater the delay.

[0056] The mathematical formula for amplitude limiting filtering can be expressed as:

[0057]

[0058] Where y[n] is the output signal value at time point n, x[n] is the input signal value at time point n, and A is the limit range, that is, the maximum value allowed for the signal.

[0059] After the user manually removes the pluggable control lever module 110, the voltage level of the analog-to-digital converter 221 exceeds the set value of the aforementioned filtering calculation due to the connection interface 230 (e.g., mounting pins) being left unattended, causing the control lever data to jitter. In practice, besides the mounting pins of the connection interface 230, jitter can also occur due to wear and tear on the pluggable control lever module 110 over long-term use or poor contact of the electrical connectors.

[0060] For example, such as Figure 2 As shown, if the control lever data fluctuates, the origin position of the pluggable control lever module 110, when it is not moved, will fluctuate between positions A1 and A2. The coordinates of position A1 are, for example, (-0.00392, -0.06667), and the coordinates of position A2 are, for example, (0.02745, -0.04314), but the present invention is not limited to these values.

[0061] In some embodiments of the present invention, when the joystick data exhibits jitter, the controller 220 detects the voltage change of the joystick data within a predetermined unit time. If the voltage change of the joystick data within the predetermined unit time meets a preset voltage change condition, the controller 220 switches the power-on state to the power-off state. In some embodiments, the game controller 100 further includes a switching unit 270 (e.g., a switch circuit). The switching unit 270 is electrically connected to the power unit 260, and the controller 220 is electrically connected to the switching unit 270. The controller 220 can be used to turn the switching unit 270 on or off to switch the control power (power-on / power-off state). In practice, the aforementioned power-off state can be represented as the game controller 100 being in a power-off state (that is, the pluggable joystick module 110, the directional keys 120, and the function keys 130 are all turned off). For example, the power-off state can be the game controller 100 stopping operation, and the controller 220 not performing the function operation of converting input signals. In other words, controller 220 does not convert the trigger signal of game controller 100 into an input signal; or, the aforementioned power-off state can be to only disable the operation of part of game controller 100, for example, disabling the input function of pluggable joystick module 110, while the input functions of directional keys 120 and function keys 130 remain operational. In this way, controller 220 can switch game controller 100 to power-on or power-off state based on the jitter state of the joystick data. This saves power to game controller 100 and avoids accidental operation.

[0062] For example, the aforementioned preset voltage change condition can be a preset threshold voltage change within a predetermined unit time. If the voltage change of the control lever data within the predetermined unit time is greater than the preset threshold voltage change within the predetermined unit time, the controller 220 will switch from the power-on state to the power-off state. In practice, the aforementioned predetermined unit time and / or threshold voltage change can be manually set by the user or preset by the manufacturer based on experimental data.

[0063] After the pluggable joystick module 110 is unplugged, the controller 220 is set to the power-off state. In this embodiment, the power-off state means that the connection interface 230 is not electrically connected to the potentiometer 210. If the user reinstalls the pluggable joystick module 110 on the game controller 100 (e.g., a new pluggable joystick module or the original pluggable joystick module), and then the user manually powers on the game controller 100, the game controller 100 communicates with the host terminal 290. The firmware of the controller 220 detects the range of values ​​of the analog-to-digital converter 221 and the jitter state of the joystick data to determine whether the pluggable joystick module 110 is installed.

[0064] Specifically, in some embodiments of the present invention, after the power-off state is switched back to the power-on state, the controller 220 detects the range of the values ​​of the analog-to-digital converter 221 and the jitter state of the control lever data to confirm whether the connection interface 230 is electrically connected to the pluggable control lever module 110.

[0065] If the firmware of controller 220 detects abnormalities in the range of values ​​of analog-to-digital converter 221 and the jitter state of the joystick data, and determines that the pluggable joystick module 110 is damaged, non-compliant, or not installed, controller 220 will remain in the off state. For example, if the range of values ​​of analog-to-digital converter 221 exceeds a preset range, controller 220 will remain in the off state. Or, for example, if the range of values ​​of analog-to-digital converter 221 exceeds a preset range and the voltage frequency of the joystick data jitter exceeds a preset voltage jitter frequency (times / second), controller 220 will determine that there is an abnormality. In practice, the aforementioned preset range and / or preset voltage jitter frequency can be manually set by the user or preset by the manufacturer based on experimental data.

[0066] Conversely, if the controller 220 determines that the range of the analog-to-digital converter 221's value and the voltage frequency of the control lever data jitter are normal, the controller 220 repeats the actions performed in the power-on state. For example, in the power-on state, the controller 220 performs filtering and calculation on the value of the analog-to-digital converter 221 and outputs control lever data, thereby detecting the jitter state of the control lever data as the basis for determining the power-off state.

[0067] On the other hand, once the controller 220 detects that the pluggable joystick module 110 is correctly installed in the game controller 100, that is, the connection interface 230 is electrically connected to the pluggable joystick module 110, the controller 220 can begin adaptive correction. For example, the correct installation of the pluggable joystick module 110 can determine for the controller 220 that the value range of the analog-to-digital converter 221 is within 0 to 4096, or that the jitter of the joystick data is normal. Then, when the user triggers the pluggable joystick module 110, the controller 220 performs adaptive correction.

[0068] Regarding adaptive correction, in some embodiments of the present invention, the controller 220 uses the center point value of the analog-to-digital converter 221 as a reference and sets the initial range 300 of the X and Y axes of the pluggable control lever module 110. In practice, for example, such as... Figure 3 As shown, the initial range of both the X and Y axes is between +32767 and -32767. The left and right movement of the pluggable control lever module 110 is the X-axis, and the up and down movement is the Y-axis. The center point value of the analog-to-digital converter 221 can represent the origin position 310 when the pluggable control lever module 110 is not moving.

[0069] Next, please refer to the following: Figure 1B , Figures 4A to 4D The controller 220 sets the initial maximum range value to be less than the data output range of the maximum angle of the pluggable control lever module 110. For example, the voltage resolution of the analog-to-digital converter 221 is 12 bits (0 to 4096). If the X-axis of the pluggable control lever module 110 moves to the maximum angle 430, that is, the maximum position 440d that the pluggable control lever module 110 can be moved to (e.g., moved to the rightmost end of the X-axis), the analog-to-digital converter 221 detects a value of 3000, and the controller 220 sets the initial maximum range value of the X-axis to 2700. However, the present invention is not limited to this example value. Thus, before the pluggable control lever module 110 is moved from the zero angle 410 to the maximum angle 430, for example, if the pluggable control lever module 110 moves to the preset angle 420 (corresponding to the preset position 440b), the actual control lever data obtained by the controller 220 will first reach the initial maximum range value 440a, and the maximum value of the output control lever data will be converted to 16 bits by the analog-to-digital converter 221. Therefore, when the pluggable joystick module 110 is moved to the preset angle 420 but before reaching the maximum angle 430, the output of the joystick data can reach its maximum value. Even if the pluggable joystick module 110 experiences a center shift, the problem of the joystick data output range in a certain direction in the game not reaching its maximum value when the user pushes the pluggable joystick module 110 to its maximum angle can still be avoided.

[0070] In some embodiments, the preset position 440b may be 1 / 2 or 1 / 3 of the maximum position 440d, but the present invention is not limited thereto.

[0071] Next, when the controller 220 determines that the actual control lever data has exceeded the initial maximum range value, for example, when the pluggable control lever module 110 moves between the preset position 440b and the maximum position 440d, that is, when the control lever data exceeds the preset angle 420 but is less than the maximum angle 430, the controller 220 begins to update the initial maximum range value. For example, when the controller 220 determines that the actual control lever data output has reached the maximum value, the controller 220 begins to continuously update the initial maximum range values ​​of the X and Y axes. When the pluggable control lever module 110 completes rotation to the maximum angle on the X and Y axes, that is, the maximum position that the X and Y axes can move to, the maximum range value is updated, that is, the updated maximum range value 440c corresponding to when the pluggable control lever module 110 rotates to the maximum angle replaces the initial maximum range value 440a. In other words, before the control lever data exceeds the initial maximum range and before the pluggable control lever module 110 moves to its maximum angle (e.g., before moving to the rightmost end of the X-axis), the controller 220 updates the initial maximum range value based on the movement angle of the pluggable control lever module 110. After the pluggable control lever module 110 moves to its maximum angle, the controller 220 updates the maximum range value 440c and replaces the initial maximum range value 440a.

[0072] Therefore, since different types of pluggable joystick modules have different analog-to-digital converter value ranges, the controller 220 of the present invention can map and convert the value to the maximum value of 16 bits of the joystick data output. The game controller 100 using the calibration system 200 of the present invention can be matched with commercially available carbon model or Hall effect sensor joystick switches, and the calibration when replacing the switches is automated, so that users do not need to manually calibrate the center point and operating range after replacing the pluggable joystick module 110.

[0073] The calibration system 200 of the present invention can adaptively calibrate the shaft specification matching range of commercially available original pluggable control lever modules 110. As long as the shaft of the original pluggable control lever module 110 is supported, it can be calibrated, thus solving the current situation where modular control lever kits on the market are incompatible with each other.

[0074] To further explain the method applied to the aforementioned correction system 200, please also refer to... Figures 1A to 5 , Figure 5 This is a flowchart of a calibration method 500 for installing a pluggable control lever module 110 according to an embodiment of the present invention. Figure 5As shown, the calibration method 500 for installing the pluggable control lever module 110 includes steps S501 to S513 (it should be understood that, unless otherwise specified, the order of the steps mentioned in this embodiment can be adjusted as needed, and they can even be executed simultaneously or partially simultaneously).

[0075] In step S501, the game controller 100 is powered on. In step S502, the controller 220 initializes the value of the analog-to-digital converter 221. Next, the analog voltage of the potentiometer 210 of the pluggable joystick module 110 is converted into a numerical value via the analog-to-digital converter 221. In step S503, in the powered-on state, the controller 220 performs filtering and calculation on the value of the analog-to-digital converter 221 and outputs the joystick data. In step S504, the controller 220 determines whether the value of the analog-to-digital converter 221 is normal. For example, the controller 220 detects the jitter state of the joystick data as a basis for determining the powered-off state. In some embodiments, the jitter state is determined in the following three ways: 1. If the voltage level of the analog-to-digital converter 221 exceeds the set value of the filtering calculation, the controller 220 switches the power-on state to the power-off state; 2. If the voltage change of the control lever data within a predetermined unit time meets the preset voltage change condition, the controller 220 switches the power-on state to the power-off state; 3. If the voltage frequency of the jitter state of the control lever data exceeds the preset voltage jitter frequency (times / second), the controller 220 switches the power-on state to the power-off state.

[0076] If the controller 220 determines in step S504 that the value of the analog-to-digital converter 221 is abnormal, in step S505, the controller 220 determines that the pluggable control lever module 110 is in a control lever removal state. The control lever removal state includes situations such as removal of the pluggable control lever module 110, poor contact, or malfunction. In step S506, the controller 220 switches the power-on state to the power-off state. In some embodiments of the present invention, the controller 220 detects the voltage change of the control lever data within a predetermined unit time. If the voltage change of the control lever data within the predetermined unit time is greater than a preset threshold voltage change within the predetermined unit time, the controller 220 switches the power-on state to the power-off state.

[0077] In some embodiments of the present invention, after the power-off state is switched back to the power-on state, the controller 220 detects the range of the values ​​of the analog-to-digital converter 221 and the jitter state of the control lever data to confirm whether the analog-to-digital converter 221 is electrically connected to the pluggable control lever module 110 (e.g., electrically connected via the connection interface 230).

[0078] If the controller 220 determines in step S504 that the value of the analog-to-digital converter 221 is normal, in step S507, the controller 220 sets the pluggable joystick module 110 to the joystick input state. That is, the controller 220 inputs the value of the analog-to-digital converter 221 and / or the joystick data to the host terminal 290 (e.g., computer, game console, etc.). For example, the controller 220 converts the trigger signal into an input signal and transmits it to the host terminal 290.

[0079] In step S508, the controller 220 determines whether the center point value of the analog-to-digital converter is within a preset center range. In practice, the aforementioned preset center range can be manually set by the user or preset by the manufacturer based on experimental data.

[0080] If, in step S508, the controller 220 determines that the center point value of the analog-to-digital converter is not within the preset center range, it indicates that the pluggable joystick module 110 may be pressed, malfunctioning, worn, or have poor contact. In step S509, the controller 220 stops adaptive correction, and in step S510, the controller 220 disables the pluggable joystick module 110 to prevent accidental pressing. In some embodiments, the controller 220 disables the input function of the pluggable joystick module 110, while the input functions of the directional keys 120 and function keys 130 operate normally. Alternatively, in some embodiments, the input functions of the pluggable joystick module 110, the directional keys 120, and the function keys 130 of the game controller 100 are all disabled.

[0081] If, in step S508, the controller 220 determines that the center point value of the analog-to-digital converter is within a preset center range, it indicates that the origin position of the pluggable control lever module 110 is normal or the center offset is within a reasonable range that can be corrected. In step S511, the controller 220 performs adaptive correction. In some embodiments of the present invention, when the controller 220 is powered on and the analog-to-digital converter 221 is electrically connected to the potentiometer 210 of the pluggable control lever module 110, the controller 220 performs adaptive correction to expand the initial maximum range value based on the detected center point value of the analog-to-digital converter 221. The controller 220 sets the initial maximum range value to be less than the data output range of the maximum angle of the pluggable control lever module 110, so that before the pluggable control lever module is moved to the maximum angle, the actual control lever data obtained by the controller 220 will reach the initial maximum range value first. When the controller 220 determines that the actual control lever data has exceeded the initial maximum range value, the controller 220 starts to update the initial maximum range value. For example, when the pluggable joystick module 110 moves between the preset position 440b and the maximum position 440d, that is, when the joystick data exceeds the preset angle 420 and is less than the maximum angle 430, the controller 220 begins to update the initial maximum range value. For example, the controller 220 continuously updates the initial maximum range values ​​of the X and Y axes. When the pluggable joystick module 110 completes rotation of the X and Y axes to the maximum angle 430, that is, the maximum position 440d that the X and Y axes can move to, the maximum range value is updated, that is, the updated maximum range value 440c corresponding to when the pluggable joystick module 110 rotates to the maximum angle 430 replaces the initial maximum range value 440a.

[0082] After the adaptive correction is completed, in step S512, the controller 220 outputs the range of data, that is, the maximum range value after the update. In step S513, the controller 220 uses the control lever data (e.g., position movement data) corresponding to the pluggable control lever module 110.

[0083] On the other hand, after step S504 is normal, the controller 220 detects that the value range of the analog-to-digital converter 221 is between 0 and 4096, or there is no jitter. The controller 220 determines that the pluggable joystick module 110 is correctly installed in the game controller 100, and the controller 220 can start the adaptive correction from step S507 to step S513.

[0084] To further explain the method applied to the aforementioned correction system 200, please also refer to... Figures 1A to 6 , Figure 6 This is a flowchart of a calibration method 600 for installing a pluggable control lever module 110 according to an embodiment of the present invention. Figure 6As shown, the calibration method 600 for installing the pluggable joystick module 110 includes steps S601 to S608 (it should be understood that, unless otherwise specified, the order of the steps mentioned in this embodiment can be adjusted according to actual needs, and they can even be executed simultaneously or partially simultaneously). In this embodiment, the calibration method 600 for installing the pluggable joystick module 110 can be regarded as an installation method (i.e., a power-on / off calibration method for the pluggable joystick module 110 during installation). The pluggable joystick module 110 installed on the game controller 100 can be calibrated to a power-on or power-off state according to the actual situation.

[0085] Specifically, when the connection interface 230 is electrically connected to the pluggable control lever module 110, the controller 220 determines whether the value of its analog-to-digital converter 221 falls within a preset range, wherein the analog-to-digital converter 221 of the controller 220 is electrically connected to the connection interface 230; if the value of the analog-to-digital converter 221 falls within the preset range, the controller 220 performs filtering and calculation processing on the value of the analog-to-digital converter 221 and outputs the control lever data; the controller 220 detects the jitter state of the control lever data as the basis for the power-off state, which will be described in detail below with steps S601 to S608.

[0086] In step S601, the game controller 100 is communicatively connected to the host terminal 290, and the game controller 100 is powered. In some embodiments, the game controller 100 can be communicatively connected to the host terminal 290 via a wired and / or wireless connection.

[0087] In step S602, the controller 220 determines whether the value of the analog-to-digital converter 221 is normal. For example, when the connection interface 230 is electrically connected to the pluggable control lever module 110, the analog-to-digital converter 221 converts the analog voltage of the potentiometer 210 of the pluggable control lever module 110 into a numerical value, and the controller 220 determines whether the value of the analog-to-digital converter 221 falls within a preset range (e.g., 0 to 4096).

[0088] In step S603, if the value of the analog-to-digital converter 221 falls within a preset range, then the pluggable joystick module 110 is installed normally on the game controller 100, and the controller 220 sets the game controller 100 to the power-on state. In some embodiments, the power-on state means that the game controller 100 has power and can convert the trigger signal of the game controller 100 into an input signal.

[0089] In step S604, if the value of the analog-to-digital converter 221 does not fall within a preset range, the installation of the pluggable joystick module 110 on the game controller 100 is abnormal, and the controller 220 sets the game controller 100 to a power-off state. In some embodiments, the power-off state may mean that the game controller 100 stops operating, and the controller 220 does not perform the function of converting input signals. That is, the controller 220 does not convert the trigger signal of the game controller 100 into an input signal; or, the aforementioned power-off state may mean only shutting down part of the operation of the game controller 100, for example, disabling the input function of the pluggable joystick module 110, while the input functions of the directional keys 120 and the function keys 130 operate normally. This saves power to the game controller 100 and avoids accidental touches.

[0090] In step S605, the controller 220 performs filtering calculations on the values ​​from the analog-to-digital converter 221 and outputs control lever data. For example, the filtering calculations can be debouncing filtering and / or amplitude limiting filtering. Debouncing filtering can be implemented using the following difference equation to achieve a first-order low-pass filter: y[n]=∝·x[n]+(1-α)·y[n-1], where y[n] is the output signal value at time point n, x[n] is the input signal value at time point n, and α is a constant between 0 and 1, called the filter's adaptability parameter, which controls the smoothness. Generally, the closer the value of α is to 1, the stronger the filter effect, but the greater the delay. The mathematical expression for amplitude limiting filtering can be expressed as: Where y[n] is the output signal value at time point n, x[n] is the input signal value at time point n, and A is the limit range, that is, the maximum value allowed for the signal.

[0091] In step S606, the controller 220 detects the jitter state of the control lever data as a basis for determining whether it is normal or abnormal. In some embodiments, the jitter state is determined in the following three ways: 1. If the voltage level of the analog-to-digital converter 221 exceeds the set value of the filtering calculation, the controller 220 determines that the jitter state is abnormal; 2. If the voltage change of the control lever data within a predetermined unit time meets the preset voltage change condition, the controller 220 determines that the jitter state is abnormal; 3. If the voltage frequency of the jitter state of the control lever data exceeds the preset voltage jitter frequency (times / second), the controller 220 determines that the jitter state is abnormal.

[0092] In step S607, if the controller 220 determines that the jitter state is normal, the controller 220 remains powered on.

[0093] In step S608, if the controller 220 determines that the jitter state is abnormal, the controller 220 will switch the power-on state to the power-off state.

[0094] In summary, the technical solution of the present invention has significant advantages and beneficial effects compared with the prior art. The present invention modularizes the joystick portion on the game controller 100 into a pluggable joystick module 110, and the calibration methods 500 and 600 and their calibration system 200 for installing the pluggable joystick module 110 can adaptively calculate and match pluggable joystick modules with different axis specifications, thus reducing the technical threshold and maintenance costs. Furthermore, the controller 220 can determine whether the pluggable joystick module 110 is in an on or off state when installed on the game controller 100 based on the numerical range and / or jitter state of the analog-to-digital converter 221.

[0095] Although the present invention has been disclosed above by way of embodiments, it is not intended to limit the present invention. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope defined in the appended claims.

Claims

1. A calibration system for a pluggable control lever module, applied to a game controller, comprising a connection interface, characterized in that, The calibration system installed on the pluggable control lever module includes: An analog-to-digital converter, electrically connected to the connection interface, wherein when the connection interface is electrically connected to a pluggable control lever module, the analog-to-digital converter converts the analog voltage of the potentiometer of the pluggable control lever module into a numerical value; and The controller is electrically connected to the analog-to-digital converter. In the power-on state, the controller performs filtering and calculation on the value of the analog-to-digital converter and outputs control lever data. Then, it detects the jitter state of the control lever data as the basis for determining the power-off state.

2. The calibration system with pluggable control lever module installation as described in claim 1, characterized in that, The controller detects the voltage change of the control lever data within a predetermined unit time. If the voltage change of the control lever data within the predetermined unit time meets a preset voltage change condition, the controller switches the power-on state to the power-off state.

3. The calibration system with a pluggable control lever module as described in claim 1, characterized in that, If the voltage level of the analog-to-digital converter exceeds the set value of the filtering calculation process, the controller will switch the power-on state to the power-off state.

4. The calibration system with a pluggable control lever module as described in claim 1, characterized in that, If the voltage frequency of the jitter state of the control lever data exceeds the preset voltage jitter frequency, the controller determines it to be abnormal and switches the power-on state to the power-off state.

5. The calibration system with a pluggable control lever module as described in claim 1, characterized in that, The calibration system installed on the pluggable control lever module also includes: Power unit; and A switching unit is electrically connected to the power unit, and a controller is electrically connected to the switching unit. The controller turns the switching unit off or on to switch between the off state and the on state.

6. The calibration system with a pluggable control lever module as described in any one of claims 2 to 4, characterized in that, After the power-off state is switched back to the power-on state, the controller detects the range of the values ​​of the analog-to-digital converter and the jitter state of the control lever data to confirm whether the connection interface is electrically connected to the pluggable control lever module.

7. The calibration system with a pluggable control lever module as described in claim 1, characterized in that, The controller uses the center point value of the analog-to-digital converter as a reference and sets the initial maximum range value to be less than the data output range of the maximum angle of the pluggable control lever module, so that the actual control lever data obtained by the controller will reach the initial maximum range value before the pluggable control lever module is moved to the maximum angle.

8. The calibration system with a pluggable control lever module as described in claim 7, characterized in that, When the controller determines that the actual control lever data has exceeded the initial maximum range value, the controller begins to update the initial maximum range value.

9. The calibration system with a pluggable control lever module as described in claim 8, characterized in that, After the pluggable control lever module moves to the maximum angle, the controller updates the maximum range value and replaces the initial maximum range value.

10. The calibration system with a pluggable control lever module as described in claim 1, characterized in that, The controller detects the range of the values ​​of the analog-to-digital converter as the basis for determining the power-off state. If the range of the values ​​of the analog-to-digital converter exceeds a preset range, the controller sets the power-off state.

11. A calibration method for installing a pluggable joystick module, applied to a game controller, comprising a connection interface, an analog-to-digital converter, and a controller, wherein the analog-to-digital converter is electrically connected to the connection interface, and the controller is electrically connected to the analog-to-digital converter, characterized in that... The calibration method for installing the pluggable control lever module includes the following steps: When the connection interface is electrically connected to the pluggable control lever module, the analog-to-digital converter converts the analog voltage of the potentiometer of the pluggable control lever module into a numerical value. In the power-on state, the controller determines whether the numerical value of the analog-to-digital converter falls within a preset range. If the value of the analog-to-digital converter falls within the preset range, the controller performs filtering and calculation on the value of the analog-to-digital converter and then outputs control lever data. as well as The controller detects the jitter state of the control lever data as a basis for determining the power-off state.

12. The calibration method for installing the pluggable control lever module as described in claim 11, characterized in that, The calibration method for installing the pluggable control lever module also includes: In the powered-on state, when the analog-to-digital converter of the controller is electrically connected to the pluggable control lever module, the controller performs adaptive correction to expand the initial maximum range value based on the value of the center point of the analog-to-digital converter. as well as The initial maximum range value is set to be less than the data output range of the maximum angle of the pluggable control lever module, so that the actual control lever data obtained by the controller will reach the initial maximum range value before the pluggable control lever module is moved to the maximum angle.

13. The calibration method for installing the pluggable control lever module as described in claim 12, characterized in that, The calibration method for installing the pluggable control lever module also includes: When the controller determines that the actual control lever data has exceeded the initial maximum range value, the controller begins to update the initial maximum range value.

14. The calibration method for installing the pluggable control lever module as described in claim 12, characterized in that, The calibration method for installing the pluggable control lever module also includes: After the pluggable control lever module moves to the maximum angle, the controller will update the maximum range value and replace the initial maximum range value.

15. The calibration method for installing the pluggable control lever module as described in claim 11, characterized in that, The calibration method for installing the pluggable control lever module also includes: The controller detects the voltage change of the control lever data within a predetermined unit time. If the voltage change of the control lever data within the predetermined unit time meets a preset voltage change condition, the controller switches the power-on state to the power-off state.

16. The calibration method for installing the pluggable control lever module as described in claim 11, characterized in that, The calibration method for installing the pluggable control lever module also includes: If the voltage level of the analog-to-digital converter exceeds the set value of the filtering calculation process, the controller switches the power-on state to the power-off state.

17. The calibration method for installing the pluggable control lever module as described in claim 11, characterized in that, The calibration method for installing the pluggable control lever module also includes: If the voltage frequency of the jitter state of the control lever data exceeds the preset voltage jitter frequency, the controller determines it to be abnormal and switches the power-on state to the power-off state.

18. The calibration method for installing the pluggable control lever module as described in any one of claims 15 to 17, characterized in that, The calibration method for installing the pluggable control lever module also includes: After the power-off state is switched back to the power-on state, the controller detects the range of the values ​​of the analog-to-digital converter and the jitter state of the control lever data to confirm whether the analog-to-digital converter is electrically connected to the pluggable control lever module.