Calibration device, its control method, and master control terminal

By obtaining the dead zone and boundary position detection values of the gamepad joystick, using the fitting function to calculate the actual linear curve and store the correction data, the cumbersome and time-consuming problem of the gamepad correction process is solved, and efficient rocker correction and linear output are achieved, improving the user experience.

CN116236771BActive Publication Date: 2025-07-25GOERTEK INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310251182.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2025-07-25
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

In the prior art, the gamepad needs to measure and match the output values of the angle sensor at different angles of the rocker before leaving the factory, resulting in a cumbersome correction process and long time, which affects the factory efficiency.

Method used

By obtaining the sensor detection value when the gamepad rocker is in dead zone and boundary positions, using the fitting function to calculate the actual linear curve, and matching it with the actual output value range of the gamepad, the correction data is stored for rapid correction.

Benefits of technology

The efficiency of gamepad rocker correction is improved, and the number of times the angle sensor output value is measured at different angles of the rocker is reduced, ensuring that the sensor linearly outputs the corresponding actual value, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116236771B_ABST
    Figure CN116236771B_ABST
Patent Text Reader

Abstract

The present invention provides a calibration device, a control method thereof, and a main control terminal. The calibration device first obtains the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position; and obtains the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position; then calculates the dead zone detection value and the boundary detection value through a first fitting function and matches them with the sensor output linear curve to obtain the actual linear curve; finally, after matching the actual linear curve with the actual output value range of the game controller, calibration data is obtained, and the first fitting function and the calibration data are stored in the game controller. The present invention aims to improve the calibration efficiency of the joystick of the game controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gamepad calibration, and particularly relates to a calibration device, a control method thereof, and a main control terminal. Background Art

[0002] With the improvement of the technological level, games have gradually become the main means of entertainment for people. Among them, the gamepad is an important tool for users to play games. An angle sensor for detecting the tilt angle of the joystick on the gamepad is provided therein. In actual design, a capacitive or inductive angle sensor is often used to eliminate the offset problem caused by the thin-film resistor angle sensor. However, the linearity of the output value of the above angle sensor is not good. In order to ensure the user experience during use, before each gamepad leaves the factory, it is necessary to measure the output values of the angle sensor at different angles of the joystick through a testing machine and match them with the actual output values of the gamepad, and finally form a corresponding mapping table and store it in the gamepad. The above calibration process is very troublesome and time-consuming, seriously affecting the production efficiency of the gamepad. Summary of the Invention

[0003] The main object of the present invention is to provide a calibration device, a control method thereof, and a main control terminal, aiming to improve the calibration efficiency of the joystick of the gamepad.

[0004] To achieve the above object, a control method of a calibration device proposed by the present invention includes:

[0005] Obtaining the dead zone detection value output by the sensor module of the gamepad when the joystick of the gamepad is in the dead zone position; and obtaining the boundary detection value output by the sensor module of the gamepad when the joystick of the gamepad is in the boundary position;

[0006] Calculating the dead zone detection value and the boundary detection value through a first fitting function and matching them with the sensor output linear curve to obtain the actual linear curve;

[0007] After matching the actual linear curve with the actual output value range of the gamepad, calibration data is obtained, and the first fitting function and the calibration data are stored in the gamepad.

[0008] Optionally, the calibration device includes a driving component. The step of obtaining the dead zone detection value output by the sensor module of the gamepad when the joystick of the gamepad is in the dead zone position is specifically:

[0009] Controlling the driving component to pull the joystick of the gamepad so that the joystick of the gamepad is in the boundary position;

[0010] Control the driving component to drive the joystick of the gamepad to rotate a preset angle around the boundary position, and obtain the boundary detection value output by the sensor module of the gamepad.

[0011] Optionally, the calibration device includes a driving component. The step of obtaining the boundary detection value output by the sensor module of the gamepad when the joystick of the gamepad is at the boundary position is specifically as follows:

[0012] Control the driving component to pull the joystick of the gamepad so that the joystick of the gamepad is in an inclined position;

[0013] Control the driving component to disengage from the joystick of the gamepad so that the joystick of the gamepad returns from the inclined position to the centered position, and when the joystick of the gamepad is in the centered position, obtain the dead zone detection value output by the sensor module of the gamepad.

[0014] Optionally, the step of obtaining the boundary detection value output by the sensor module of the gamepad when the joystick of the gamepad is at the boundary position further includes:

[0015] Control the driving component to pull the joystick of the gamepad so that the joystick of the gamepad is in a second inclined position; wherein, the second inclined position is a position where the joystick of the gamepad is inclined by a preset angle relative to the centered position;

[0016] Control the driving component to drive the joystick of the gamepad to rotate a preset angle around the inclined position, and obtain the second dead zone detection value output by the sensor module of the gamepad;

[0017] The step of matching the dead zone detection value and the boundary detection value after calculation by the first fitting function with the sensor output linear curve to obtain the actual linear curve further includes:

[0018] Calculate the second linear dead zone detection value by calculating the second dead zone detection value through the first fitting function;

[0019] After matching the actual linear curve with the actual output value range of the gamepad, obtain calibration data, and the step of storing the first fitting function and the calibration data in the gamepad further includes;

[0020] Store the second linear dead zone detection value in the gamepad.

[0021] Optionally, the number of sensor modules of the gamepad is multiple. The step of matching the dead zone detection value and the boundary detection value after calculation by the first fitting function with the sensor output linear curve to obtain the actual linear curve is specifically as follows:

[0022] Determine the dead zone detection value and the boundary detection value corresponding to each sensor module;

[0023] After the dead zone detection value and the boundary detection value corresponding to each sensor module are calculated by the first fitting function corresponding to itself, they are then matched with the corresponding sensor output linear curve to obtain the corresponding actual linear curve;

[0024] The step of matching the actual linear curve with the actual output value range of the gamepad, obtaining calibration data, and storing the first fitting function and the calibration data in the gamepad is specifically as follows:

[0025] Match each of the actual linear curves with the actual output value of the gamepad to obtain the corresponding calibration data, and store the first fitting function and the calibration data in the gamepad.

[0026] Optionally, the step of determining the boundary detection value corresponding to each sensor module is specifically as follows:

[0027] Obtain the detection direction corresponding to each sensor module;

[0028] Set the boundary detection value in each detection direction as the boundary detection value corresponding to the corresponding sensor module.

[0029] Optionally, the step of calculating the dead zone detection value and the boundary detection value by the first fitting function and then matching them with the sensor output linear curve to obtain the actual linear curve is specifically as follows:

[0030] After the dead zone detection value and the boundary detection value are calculated by the first fitting function, a linear dead zone detection value and a linear boundary detection value are obtained;

[0031] On the sensor output linear curve, set the curve between the dead zone detection point corresponding to the linear dead zone detection value and the boundary detection point corresponding to the linear boundary detection value as the actual linear curve;

[0032] The step of matching the actual linear curve with the actual output value range of the gamepad, obtaining calibration data, and storing the first fitting function and the calibration data in the gamepad is specifically as follows:

[0033] Match the actual linear curve with the actual output value range of the gamepad to establish a corresponding first linear mapping relationship, and store the actual linear curve, the first fitting function, and the first linear mapping relationship in the gamepad.

[0034] Optionally, before the step of calculating the dead zone detection value and the boundary detection value through the first fitting function and then matching them with the sensor output linear curve to obtain the actual linear curve, the method further includes:

[0035] Obtaining the detection values output by the sensor module of the gamepad when the joysticks of multiple gamepads are at each tilt angle;

[0036] Obtaining actual detection values by processing the multiple detection values corresponding to each tilt angle according to a preset data processing method;

[0037] Generating a corresponding tilt angle - detection mean value curve based on the multiple actual detection values and the corresponding multiple tilt angles;

[0038] Performing function fitting on the tilt angle - detection mean value curve to obtain the sensor output linear curve and determining the corresponding first fitting function.

[0039] The present invention further provides a main control terminal, including:

[0040] A memory;

[0041] A processor, a calibration device control program stored on the memory and executed by the processor, and when the calibration device control program is executed by the processor, it implements the calibration device control method as described above.

[0042] The present invention further provides a calibration device, including the main control terminal as described above.

[0043] In the method of the present invention, the calibration device first obtains the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position; and obtains the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position; then calculates the dead zone detection value and the boundary detection value through a first fitting function and matches them with the sensor output linear curve to obtain the actual linear curve; finally, after matching the actual linear curve with the actual output value range of the game controller, calibration data is obtained, and the first fitting function and the calibration data are stored in the game controller. It can be understood that since the sensor output linear curve is a linear output, for each game controller, a corresponding linear detection value can be obtained according to the detection value of the sensor module and the first fitting function, and then the corresponding actual output value can be obtained through the first linear mapping relationship. Therefore, through the above settings, only the R & D personnel need to obtain the corresponding first fitting function and the sensor output linear curve during the R & D period. During production, according to the above first fitting function and the sensor output linear curve, it is only necessary to detect the boundary detection value and the dead zone detection value output by the sensor module of the game controller to complete the calibration of the game controller, so that the game controller can linearly output the corresponding actual value according to the above calibration data and the first fitting function when the sensor module outputs different values. There is no need to measure the values output by the angle sensor at different angles of the joystick again, and the present invention effectively improves the calibration efficiency of the game controller joystick. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on the structures shown in these drawings without creative efforts.

[0045] Figure 1 It is a schematic flowchart of an embodiment of the control method of the calibration device of the present invention;

[0046] Figure 2 It is a schematic flowchart of another embodiment of the control method of the calibration device of the present invention;

[0047] Figure 3 It is a schematic flowchart of still another embodiment of the control method of the calibration device of the present invention;

[0048] Figure 4 It is a schematic diagram of the detection values corresponding to the output of a sensor module of a game controller when the joystick is at different tilt angles.

[0049] The realization, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0051] It should be noted that all the directional indications (such as up, down, left, right, front, back,...) in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions among the components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly.

[0052] In the present invention, unless otherwise clearly defined and limited, terms such as "connection" and "fixation" shall be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements or the interaction relationship between two elements, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0053] In addition, in the present invention, descriptions such as "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions appears to be contradictory or unable to be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.

[0054] With the improvement of technology level, games have gradually become the main means of entertainment for people. Among them, the game controller is an important tool for users to play games. An angle sensor for detecting the tilt angle of the joystick on the game controller is provided therein. In actual design, a capacitive or inductive angle sensor is often used to eliminate the offset problem caused by the thin-film resistor angle sensor. However, the linearity of the output value of the above angle sensor is not good. In order to ensure the user's feel during use, before each game controller leaves the factory, it is necessary to measure the values output by the angle sensor at different angles of the joystick through a testing machine and make corresponding matches with the actual output values of the game controller, and finally form a corresponding mapping table and store it in the game controller. The above calibration process is very troublesome and time-consuming, seriously affecting the production efficiency of game controllers.

[0055] For this reason, the present invention proposes a control method for a calibration device. It can be understood that the calibration device further includes a main control terminal for executing the following method, a mounting seat for placing the game controller to be calibrated, and a wired / wireless communication module for establishing a communication connection with the game controller. Among them, the main control terminal can be implemented by a main controller, such as an MCU, a DSP (Digital Signal Process, digital signal processing chip), an FPGA (Field Programmable Gate Array, programmable logic gate array chip), a PLC, etc. The wired communication module can be implemented by a CAN communication module, a LIN communication module, an RS485 communication module, etc. The wired communication module is electrically connected to the main control terminal and establishes a communication connection with the game controller to be calibrated through a corresponding communication bus to realize data exchange between the main control terminal and the game controller. The wireless communication module can be implemented by a WiFi communication module, a 4G / 5G communication module, a Bluetooth communication module, etc. The wireless communication module is electrically connected to the main control terminal and establishes a communication connection with the game controller to be calibrated through a corresponding wireless communication network to realize data exchange between the main control terminal and the game controller. In addition, an input component connected to the main control terminal can be provided on the calibration device, and the input component can be implemented by at least one of a keyboard, a touch screen, a mouse, etc. to convert the user's operation actions into corresponding trigger signals and output them to the main control terminal.

[0056] In an embodiment of the present invention, referring to Figure 1 , the control method of the calibration device includes:

[0057] Step S10, obtaining the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position; and obtaining the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position;

[0058] In this embodiment, the calibration device can control the game controller to be in the dead zone position to obtain the dead zone detection value output by the sensor module in the current game controller. The calibration device can also pull the joystick to the boundary position, that is, the maximum angle at which the joystick can tilt, and when the game controller is in the boundary position, obtain the corresponding value output by the internal sensor module. It can be understood that generally, a plurality of sensor modules for detecting the tilt angles of the joystick in different directions are included in the game controller. The calibration device can pull the joystick to the boundary position in the corresponding direction according to the direction detected by the current sensor module. For example, if the directions detected by the sensor module in the current game controller are tilting to the left and tilting to the right, then the calibration device will pull the joystick to tilt to the left to be in the boundary position and tilt to the right to be in the boundary position, so that the internal main control terminal can obtain the two boundary detection values corresponding to the sensor module.

[0059] Step S20: Calculate the dead zone detection value and the boundary detection value through the first fitting function and match them with the sensor output linear curve to obtain the actual linear curve;

[0060] Step S30: After matching the actual linear curve with the actual output value range of the game controller, obtain the calibration data and store it in the game controller.

[0061] It should be understood that in an embodiment of the present invention, with reference to Figure 3 , before step S20, the method further includes:

[0062] Step S40: Obtain the detection values output by the sensor module of the game controller when the joysticks of multiple game controllers are at each tilt angle;

[0063] Step S50: Obtain the actual detection value according to the preset data processing method for the multiple detection values corresponding to each tilt angle;

[0064] Step S60: Generate a corresponding tilt angle-detection mean value curve according to the multiple actual detection values and the corresponding multiple tilt angles;

[0065] Step S70: Perform function fitting on the tilt angle-detection mean value curve to obtain the sensor output linear curve and determine the corresponding first fitting function.

[0066] In this embodiment, the above steps S40 - S70 can be completed by R & D personnel in the laboratory during R & D. The R & D personnel can set multiple game controllers on the mounting base of the calibration device, and obtain the values output by the sensor module corresponding to the joystick of each game controller when it is tilted to different angles through the calibration device. Then, for the multiple detected values corresponding to each tilt angle, the actual detected value is obtained according to a preset data processing method. For example, the maximum value and the minimum value are removed, and the remaining detected values are averaged to obtain the actual detected value corresponding to each angle. Finally, the multiple actual detected values and the corresponding multiple tilt angles are used to generate a corresponding tilt angle - detection mean value curve, and the tilt angle - detection mean value curve is curve - fitted to obtain a sensor output linear curve, and the corresponding first fitting function is determined.

[0067] Specifically, referring to Figure 4 , taking Figure 4 the sensor module used to detect the tilt angle in the left - right direction of the joystick as an example, among which, Figure 4 the multiple tilt angle - detected value curves in Figure 4 are the tilt angle - detected value curves of the sensor module of each game controller. The abscissa is the tilt angle, the negative region is the tilt to the left, and the integer region is the tilt angle to the right. The ordinate is the detected value output by the sensor. After the R & D personnel determine the actual detected value corresponding to each angle according to the multiple tilt angle - detected value curves according to the above steps, a tilt angle - detection mean value curve will be obtained. Then, the tilt angle - detection mean value curve is curve - fitted to be a linear curve, that is, the sensor output linear curve. And the corresponding fitting function, that is, the first fitting function, is obtained. For example, referring to Figure 4 , currently on the tilt angle - detection mean value curve, the detection mean value corresponding to a 10° tilt to the right is 2300. After this value is calculated by the first fitting function, it is the detected value corresponding to a 10° tilt to the right on the sensor output linear curve, that is, 3450. After completing the above steps, the R & D personnel can pre - store the first fitting function and the sensor output linear curve in the main control terminal so that the test device can calibrate the joysticks of all game controllers according to the first fitting function and the sensor output linear curve on the production line.

[0068] It can be understood that there are multiple sensor modules in the game controller for detecting the tilt angles in different directions of the joystick. The R & D personnel can repeat the above - mentioned test steps for different sensor modules of the game controller to obtain the first fitting function and the sensor output linear curve corresponding to each sensor module.

[0069] It should be understood that due to certain deviations in the structures of the joysticks of different gamepads and the accuracies of the sensor modules, there may be certain deviations in the measurement ranges when the sensor modules detect the left - right tilt angles. For example, when the current joystick tilts to the left, it can only tilt by 20 degrees, but when tilting to the right, it can tilt by 23 degrees. Therefore, in order to ensure that users can have a good linear experience when using the joystick to tilt left or right. In this embodiment, when the gamepad is calibrated by the calibration device on the production line, step S20 is specifically as follows:

[0070] The dead - zone detection value and the boundary detection value are calculated through the first fitting function to obtain the linear dead - zone detection value and the linear boundary detection value;

[0071] On the sensor output linear curve, the curve between the dead - zone detection point corresponding to the linear dead - zone detection value and the boundary detection point corresponding to the linear boundary detection value is set as the actual linear curve;

[0072] Step S30 is specifically as follows:

[0073] The actual linear curve is matched with the actual output value range of the gamepad to establish a corresponding first - order linear mapping relationship, and the first fitting function and the first - order linear mapping relationship are stored in the gamepad.

[0074] Specifically, still referring to Figure 4 , taking the sensor module used to detect the tilt angle of the joystick in the left - right direction in Figure 4 as an example for illustration, the boundary detection values of the current sensor module are 4100 and 1500, that is, when tilting to the left to the boundary position, the detection value output by the sensor module is 1500, and when tilting to the right to the boundary position, the detection value output by the sensor module is 4100. At the same time, the dead - zone detection value of the current sensor module is 2250. Then the main control terminal will calculate 4100, 1500, and 2250 through the first fitting function to obtain the detection values corresponding to the above - mentioned sensor output linear curve, that is, 4100, 1750, and 3000.

[0075] Then it can be determined that the actual linear curve of the sensor module is the curve between the minimum boundary detection value and the dead - zone detection value, and the curve between the dead - zone detection value and the maximum boundary detection value on the sensor output linear curve.

[0076] Taking the actual output value of the game controller as 0 - 255 as an example, where 0 is the value output by the game controller when the joystick is tilted to the left boundary position, 255 is the value output by the game controller when the joystick is tilted to the right boundary position, and 127 is the value when the joystick is in the dead zone. Then for the range of 0 - 127, the detected values on the corresponding actual linear curve are 1750 - 3000. The main control terminal will determine the first linear mapping relationship between these two ranges, that is, 1750 corresponds to 0, 1850 corresponds to 10.16 (which can be rounded to 10), 1950 corresponds to 20.32 (which can be rounded to 20), and so on. Similarly, for the range of 127 - 255, the detected values on the corresponding actual linear curve of 3000 - 4100 follow the same process. It can be understood that during the production line calibration process, the calibration device stores both the first linear mapping relationship corresponding to the curve of 1750 - 3000 and the first linear mapping relationship corresponding to the curve of 3000 - 4100 on the actual curve in the game controller. In actual application, when the user tilts the joystick to the left and the value output by the sensor module of the game controller is calculated to be 1850 after passing through the above first fitting function, the actual value to be output can be determined to be 10 through the corresponding first linear mapping relationship. In this way, through the above settings, it can be ensured that when the user tilts the joystick in any direction, the game controller can ensure a corresponding linear output, improving the user experience.

[0077] In the method of the present invention, the calibration device first obtains the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position; and obtains the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position; then calculates the dead zone detection value and the boundary detection value through the first fitting function and matches them with the sensor output linear curve to obtain the actual linear curve; finally, after matching the actual linear curve with the actual output value range of the game controller, calibration data is obtained, and the first fitting function and the calibration data are stored in the game controller. It can be understood that since the sensor output linear curve is a linear output, for each game controller, a corresponding linear detection value can be obtained according to the detection value of the sensor module and the first fitting function, and then the corresponding actual output value can be obtained through the first linear mapping relationship. Therefore, through the above settings, only the R & D personnel need to obtain the corresponding first fitting function and the sensor output linear curve during the R & D period. During the production line, according to the above first fitting function and the sensor output linear curve, it is only necessary to detect the boundary detection value and the dead zone detection value output by the sensor module of the game controller to complete the calibration of the game controller, so that the game controller can linearly output the corresponding actual value according to the above calibration data and the first fitting function when the sensor module outputs different values. There is no need to measure the values output by the angle sensor at different angles of the joystick again, and the present invention effectively improves the calibration efficiency of the game controller joystick.

[0078] It should be understood that from the above content, the game controller includes a plurality of sensor modules for detecting the tilt angles of the joystick in different directions.

[0079] Therefore, in an embodiment of the present invention, referring to Figure 2 , step S20 is specifically:

[0080] Step S21, determine the dead zone detection value and the boundary detection value corresponding to each sensor module;

[0081] Specifically, the step of determining the boundary detection value corresponding to each sensor module is specifically:

[0082] Obtain the detection direction corresponding to each sensor module;

[0083] Set the boundary detection value in each detection direction as the boundary detection value corresponding to the corresponding sensor module.

[0084] Optionally, the user can preset the number of sensor modules of the game handle to be corrected currently and the directions detected by each sensor module in advance on the master control terminal. Optionally, after the master control terminal establishes a communication connection with the game handle via the communication module, it can obtain the current number of sensor modules and the detected directions corresponding to each sensor module from the game handle. For example, there are two sensor modules set in the current game handle. The first sensor module is used to detect the tilt angle when the joystick tilts in the front-back direction, and the second sensor module is used to detect the tilt angle when the joystick tilts in the left-right direction. After the master control terminal establishes a communication connection with the game handle, it can obtain the above parameters from the game handle. And when obtaining the boundary detection values, set the boundary detection values in each detection direction to the boundary detection values corresponding to the respective sensor modules.

[0085] Step S22: After calculating the dead zone detection values and boundary detection values corresponding to each sensor module through the first fitting function corresponding to itself, match them with the corresponding sensor output linear curve to obtain the corresponding actual linear curve;

[0086] Step S30 specifically is: Match each actual linear curve with the actual output value of the game handle to obtain the corresponding calibration data, and store the actual linear curve, the first fitting function, and the calibration data in the game handle.

[0087] In this embodiment, the first fitting function and the sensor output linear curve corresponding to each sensing module are preset by the R & D personnel in the master control terminal. After the master control terminal executes the above steps to obtain the actual linear curve corresponding to each sensor module, it can match the actual linear curve of each sensor module with the actual output value of the game handle according to the process of the above embodiment, and store them in the storage area for each sensor module in the game handle correspondingly. In this way, through the above settings, the calibration device can achieve the calibration of multiple sensor modules in the game handle.

[0088] In an embodiment of the present invention, the calibration device includes a driving component. The step of obtaining the dead zone detection value output by the sensor module of the game handle when the joystick of the game handle is in the dead zone position specifically is:

[0089] Control the driving component to pull the joystick of the game handle so that the joystick of the game handle is in the boundary position;

[0090] Control the driving component to drive the joystick of the game handle to rotate a preset angle around the boundary position, and obtain the boundary detection value output by the sensor module of the game handle.

[0091] In this embodiment, the driving component can be implemented by a robotic arm or a push rod component. The driving component can drag the joystick of the gamepad under the control of the main control terminal to simulate the action of the user pushing the joystick of the gamepad.

[0092] The main control terminal can control the driving component to pull the joystick of the gamepad with a preset pulling force so that the joystick of the gamepad always remains at the boundary position, that is, the maximum tilt angle. Then, it controls the driving component to drive the joystick of the gamepad to rotate a preset angle around the boundary position, such as 360°, 450°, 720°, etc., and obtains a plurality of boundary detection values output by the gamepad sensor module.

[0093] It can be understood that there are multiple sensor modules in the gamepad for detecting the tilt angles in different directions of the joystick. Taking the example that there are two sensor modules in the gamepad, the first sensor module is responsible for detecting the tilt in the front and back directions of the gamepad, and the second sensor module is responsible for detecting the tilt in the left and right directions of the gamepad. Optionally, a direction detection module for detecting the direction where the joystick is located during rotation can also be set in the calibration device, for example, implemented by an image sensor module. The main control terminal can identify the direction where the current joystick is located according to the image captured by the image sensor module. When the current direction of the joystick is pointing forward and backward, the value output by the first sensor module is used as the boundary detection value of the first sensor module, and when the current direction of the joystick is pointing left and right, the value output by the second sensor module is used as the boundary detection value of the second sensor module. Optionally, the main control terminal can also find the maximum value and / or minimum value among the values output by multiple sensor modules during the rotation of the joystick as the boundary detection value. For example, refer to Figure 4 , Figure 4 The output value of the first sensor module for detecting the left and right directions. Taking the maximum tilt angle of the joystick as 20° as an example, that is, at the boundary position, the tilt angle of the joystick relative to the position perpendicular to the horizontal plane is 20°. During the rotation of the joystick around the boundary position, the main control terminal will find the maximum and minimum values output by this sensor module. For example, the value output by the first sensor module at -20° is 1500, and the maximum value output by the first sensor module at +20° is 3800. Through the above settings, only by pulling the joystick to rotate a preset angle around the boundary position, the boundary detection values output by all sensor modules in the gamepad can be obtained, effectively improving the calibration efficiency.

[0094] In an embodiment of the present invention, the calibration device includes a driving component. The step of obtaining the boundary detection value output by the sensor module of the gamepad when the joystick of the gamepad is at the boundary position is specifically as follows:

[0095] Control the driving component to pull the joystick of the game controller so that the joystick of the game controller is in a tilted position;

[0096] The control driving component is disengaged from the joystick of the game controller so that the joystick of the game controller is restored to the center position from the tilted position, and when the joystick of the game controller is in the center position, the dead zone detection value output by the sensor module of the game controller is obtained.

[0097] In this embodiment, the drive component can be implemented using the same device as in the above embodiment. After the joystick is pulled to a tilted position and maintained for a preset period of time, such as 1S, 5S, etc., the drive component is controlled to disengage from the joystick so that the joystick is restored from the tilted position to the center position. Optionally, the game controller can control the drive component to pull the joystick of the game controller to tilt in different directions, and each time the game controller is restored from the tilted position to the center position, the detection value output by the sensor module of the game controller is obtained, and multiple detection values are processed according to a preset data processing method, such as removing the maximum value and removing the minimum value, and averaging the remaining detection values to obtain a dead zone detection value.

[0098] It is understandable that the joystick of the game controller often vibrates after returning to the center. Optionally, the main control terminal can determine that the joystick is not shaking through the image sensor module in the above embodiment, and then read the value output by the sensor module in the game controller. Optionally, the main control terminal can also determine the current detection value as the dead zone detection value when the joystick is actually returned to the center when the change in the detection value output by the sensor module in the game controller is less than the preset change value.

[0099] It should be understood that, as can be seen from the above content, the joystick will continue to vibrate and tilt after returning to the center, or when the user slightly moves the joystick of the game controller, the game controller will also output at the same time. This can easily affect the user's use and make the user feel that the joystick of the game controller is floating.

[0100] To this end, further, in one embodiment of the present invention, the step of obtaining the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is at the boundary position also includes:

[0101] The control driving component pulls the joystick of the game controller so that the joystick of the game controller is in a second inclined position; wherein the second inclined position is a position where the joystick of the game controller is inclined at a preset angle relative to the center position;

[0102] Control the driving component to drive the joystick of the game controller to rotate around the tilt position by a preset angle, and obtain a second dead zone detection value output by the sensor module of the game controller;

[0103] Step 20 also includes:

[0104] The second dead zone detection value is calculated through the first fitting function to obtain a second linear dead zone detection value;

[0105] Step S30 further includes;

[0106] Store the second linear dead zone detection value in the game controller.

[0107] In this embodiment, the preset angle can be 3°, 4°, or 5°, etc. Specifically, the game controller includes multiple sensor modules for detecting the tilt angles of the joystick in different directions. The main control terminal obtains, according to the same process in the above embodiment, the output value when the joystick is in the second tilted position and facing the direction corresponding to each sensor module as the second linear dead zone detection value. For example, referring to Figure 4 , Figure 4 the output value of the sensor module for detecting the left - right direction. When the joystick tilts left by the preset angle, the output value of the sensor module is 1800; when the joystick tilts right by the preset angle, the output value of the sensor module is 2250. The main control terminal calculates the two second linear dead zone detection values through the first fitting function for the two second linear dead zone detection values and stores them in the game controller.

[0108] It can be understood that the two second linear dead zone detection values must be on the actual linear curve in the above - mentioned embodiment. For the game controller, taking the second linear dead zone detection value corresponding to the left side as an example, as long as the actual value output by the angle sensor, after being calculated by the first fitting function, falls between the second linear dead zone detection value and the dead zone detection value, the actual output value representing the dead zone will still be output to the game console, so that the game console does not act. Or while outputting the actual output value, a corresponding dead zone signal is output to the game console, so that the game console does not make a feedback on the current action of the joystick. In this way, through the above - mentioned calibration settings, it can be ensured that the joystick of the game controller does not drift when not triggered, improving the convenience of users using the game controller.

[0109] In the method of the present invention, the present invention also proposes a main control terminal, including:

[0110] A memory;

[0111] A processor, a calibration device control program stored on the memory and executed by the processor. When the calibration device control program is executed by the processor, it implements the calibration device control method as described in any one of the above.

[0112] It should be noted that since the main control terminal of the present invention includes all the technical solutions of all the embodiments of the above - mentioned calibration device control method, it at least has all the beneficial effects brought by the technical solutions of the embodiments of the above - mentioned calibration device control method, which will not be elaborated one by one here.

[0113] In the method of the present invention, the present invention also provides a calibration device, which includes the main control terminal as described above.

[0114] In this embodiment, the calibration device further includes a driving component, which is used to drive the joystick of the game controller to be calibrated under the control of the main control terminal.

[0115] It should be noted that since the game controller of the present invention includes all the technical solutions of all the embodiments of the above-mentioned main control terminal, it has at least all the beneficial effects brought by the technical solutions of the embodiments of the above-mentioned main control terminal, which will not be elaborated here one by one.

[0116] The above are only optional embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structural transformation made by using the content of the specification and drawings of the present invention under the inventive concept of the present invention, or direct / indirect application in other related technical fields, is included in the patent protection scope of the present invention.

Claims

1. A control method for a calibration device, characterized in that The method includes: Obtaining the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position; and obtaining the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position; Calculating the dead zone detection value and the boundary detection value through a first fitting function and matching them with the linear curve output by the sensor to obtain the actual linear curve; After matching the actual linear curve with the actual output value range of the game controller, obtaining calibration data, and storing the first fitting function and the calibration data in the game controller.

2. The control method of the calibration device according to claim 1, characterized in that, The calibration device includes a driving component. The step of obtaining the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the dead zone position is specifically: Controlling the driving component to pull the joystick of the game controller so that the joystick of the game controller is in the boundary position; Controlling the driving component to drive the joystick of the game controller to rotate a preset angle around the boundary position, and obtaining the boundary detection value output by the sensor module of the game controller.

3. The control method of the calibration device according to claim 1, characterized in that The calibration device includes a driving component. The step of obtaining the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position is specifically: Controlling the driving component to pull the joystick of the game controller so that the joystick of the game controller is in the tilted position; Controlling the driving component to disengage from the joystick of the game controller so that the joystick of the game controller returns from the tilted position to the centered position, and obtaining the dead zone detection value output by the sensor module of the game controller when the joystick of the game controller is in the centered position.

4. The calibration device control method according to claim 3, wherein The step of obtaining the boundary detection value output by the sensor module of the game controller when the joystick of the game controller is in the boundary position further includes: Controlling the driving component to pull the joystick of the game controller so that the joystick of the game controller is in the second tilted position; wherein, the second tilted position is the position where the joystick of the game controller is tilted by a preset angle relative to the centered position; Controlling the driving component to drive the joystick of the game controller to rotate a preset angle around the tilted position, and obtaining the second dead zone detection value output by the sensor module of the game controller. The step of calculating the dead zone detection value and the boundary detection value through a first fitting function and matching them with the linear curve output by the sensor to obtain the actual linear curve further includes: Calculating the second dead zone detection value through the first fitting function to obtain the second linear dead zone detection value; The step of matching the actual linear curve with the actual output value range of the game controller, obtaining calibration data, and storing the first fitting function and the calibration data in the game controller further includes; Storing the second linear dead zone detection value in the game controller.

5. The correction device control method according to claim 1, wherein The number of sensor modules of the game controller is multiple. The step of calculating the dead zone detection value and the boundary detection value through a first fitting function and matching them with the linear curve output by the sensor to obtain the actual linear curve is specifically: Determining the dead zone detection value and the boundary detection value corresponding to each sensor module; After the dead zone detection value and the boundary detection value corresponding to each sensor module are calculated by the corresponding first fitting function, they are then matched with the corresponding sensor output linear curve to obtain the corresponding actual linear curve; The steps of matching the actual linear curve with the actual output value range of the gamepad, obtaining calibration data, and storing the first fitting function and the calibration data in the gamepad are specifically as follows: Match each of the actual linear curves with the actual output value of the gamepad to obtain the corresponding calibration data, and store the first fitting function and the calibration data in the gamepad.

6. The control method of the calibration device according to claim 5, characterized in that, The steps of determining the boundary detection value corresponding to each sensor module are specifically as follows: Obtain the detection direction corresponding to each sensor module; Set the boundary detection value in each of the detection directions as the boundary detection value corresponding to the corresponding sensor module.

7. The control method of the calibration device according to claim 1, characterized in that The steps of calculating the dead zone detection value and the boundary detection value by the first fitting function and then matching them with the sensor output linear curve to obtain the actual linear curve are specifically as follows: The dead zone detection value and the boundary detection value are calculated by the first fitting function to obtain a linear dead zone detection value and a linear boundary detection value; On the sensor output linear curve, set the curve between the dead zone detection point corresponding to the linear dead zone detection value and the boundary detection point corresponding to the linear boundary detection value as the actual linear curve; The steps of matching the actual linear curve with the actual output value range of the gamepad, obtaining calibration data, and storing the first fitting function and the calibration data in the gamepad are specifically as follows: Match the actual linear curve with the actual output value range of the gamepad to establish a corresponding first linear mapping relationship, and store the actual linear curve, the first fitting function, and the first linear mapping relationship in the gamepad.

8. The control method of the calibration device according to claim 1, wherein Before the step of calculating the dead zone detection value and the boundary detection value by the first fitting function and then matching them with the sensor output linear curve to obtain the actual linear curve, the method further includes: Obtain the detection values output by the sensor module of the gamepad when the joysticks of multiple gamepads are at each tilt angle; Obtain the actual detection value according to the multiple detection values corresponding to each tilt angle according to a preset data processing method; Generate a corresponding tilt angle-detection mean curve according to the multiple actual detection values and the corresponding multiple tilt angles; Perform function fitting on the tilt angle-detection mean curve to obtain the sensor output linear curve, and determine the corresponding first fitting function.

9. A master control terminal, characterized in that, Includes: A memory; A processor, a calibration device control program stored on the memory and executed by the processor, where when the calibration device control program is executed by the processor, it implements the calibration device control method according to any one of claims 1-8.

10. A calibration device, including the master control terminal according to claim 9.

Citation Information

Patent Citations

  • Rocker centering dead zone determination method, rocker centering determination method and related device

    CN112800571A

  • Control stick sensitivity adjustment

    US20190126140A1