A multifunctional design method and device for a handle trigger

By dynamically dividing the active range of the handle trigger and setting the target sampling frequency as the power switching frequency, the problems of the multi-functional requirements and high power consumption of the handle trigger in different game scenarios are solved, and flexible adaptability and low power consumption are achieved.

CN115554693BActive Publication Date: 2025-09-26HISENSE VISUAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211287990.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2025-09-26
Estimated Expiration
2042-10-20

AI Technical Summary

Technical Problem

Existing controller triggers are difficult to flexibly adapt to multi-functional requirements in different gaming scenarios, and have problems with high power consumption and increased heat.

Method used

By dynamically dividing the active range of the handle trigger according to the requirements of the virtual scene and setting the target sampling frequency as the power switching frequency, partitioned acquisition of signal data and efficient control of the power supply can be achieved.

Benefits of technology

The handle trigger achieves multifunctional adaptability and low power consumption in different scenarios, reduces heat generation, extends battery life, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115554693B_ABST
    Figure CN115554693B_ABST
Patent Text Reader

Abstract

The present application relates to the field of virtual display technology, and provides a multifunctional design method and device for a handle trigger. In view of the different requirements for the precision of the handle trigger control function in different scenarios, the active range of the handle trigger can be flexibly divided into multiple active intervals according to the multifunctional requirements of the handle trigger in the current scenario, thereby realizing control functions of the handle trigger with different degrees of precision; at the same time, according to the number of active intervals, the target sampling frequency within the active range of the handle trigger is dynamically determined to ensure that the signal data of the sensor in each active interval is collected, and the target sampling frequency is set to the switching frequency of the power supply, so as to realize the function of turning on the power supply during data collection and turning off the power supply after data collection is completed, thereby reducing the power consumption of the handle and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual display technology and provides a multifunctional design method and device for a handle trigger. Background Art

[0002] With the continuous development of virtual reality (VR) and augmented reality (AR) technologies, people have higher and higher requirements for visual senses, which has promoted the birth of head-mounted virtual display devices such as VR and AR (such as AR glasses, VR glasses, etc.).

[0003] At present, virtual display equipment has been involved in many industries such as industrial manufacturing, information technology, medical care, insurance, petrochemicals, electricity, railways, education and scientific research, and has been widely used in various business scenarios such as remote maintenance, after-sales service, facility inspection, medical care, demonstration teaching, supervision and inspection, and audit and inspection.

[0004] Virtual reality displays have become a key application in 3D gaming in recent years, as they offer users an immersive and engaging experience. To enhance game control, these displays are often equipped with dedicated controllers, which allow users to manipulate the game screen using triggers.

[0005] However, different game scenarios require different control accuracy of the handle, which requires the handle trigger to support multiple functions to flexibly adapt to the needs of different scenarios. At the same time, considering that the handle is generally in direct contact with the user's hand skin, the heat of the handle may increase hand sweat and affect the gaming experience. Therefore, while realizing the multi-function of the handle trigger, it is also necessary to avoid generating excessive heat. Summary of the Invention

[0006] The embodiments of the present application provide a multifunctional design method and device for a handle trigger, which are used to reduce the power consumption of a multifunctional handle.

[0007] In one aspect, an embodiment of the present application provides a multifunctional design method for a handle trigger, which is applied to a handle that interacts with a virtual display device. The method includes:

[0008] receiving a number of active intervals sent by a virtual display device, where the number of active intervals is obtained by dividing the active range of the handle trigger according to the multifunctional requirements of the handle trigger by the virtual display device in accordance with the currently running virtual scene;

[0009] determining a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and setting the target sampling frequency as the switching frequency of a power supply to reduce power consumption;

[0010] According to the target sampling frequency, collecting signal data of the sensor within the active range of the handle trigger;

[0011] The signal data is sent to the virtual display device, so that the virtual display device partitions the signal data according to the number of the active intervals and determines the signal data of the active interval corresponding to each function.

[0012] On the other hand, an embodiment of the present application provides a multifunctional design method for a handle trigger, which is applied to a virtual display device that interacts with a handle. The method includes:

[0013] Dividing the active travel of the handle trigger into multiple active intervals according to the multifunctional requirements of the currently running virtual scene on the handle trigger;

[0014] Sending the number of the active intervals to the handle, so that the handle determines a target sampling frequency within the active range of the handle trigger according to the number of the active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption;

[0015] receiving signal data of a sensor within the active range of the handle trigger, which is sent by the handle and collected according to the target sampling frequency;

[0016] The signal data is partitioned according to the number of the active intervals, and signal data of the active interval corresponding to each function is determined.

[0017] On the other hand, an embodiment of the present application provides a multifunctional design method for a handle trigger, including:

[0018] According to the multifunctional requirements of the handle trigger in the current application scenario, the active travel of the handle trigger is divided into multiple active intervals;

[0019] determining a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and setting the target sampling frequency as the switching frequency of a power supply to reduce power consumption;

[0020] According to the target sampling frequency, collecting signal data of the sensor within the active range of the handle trigger;

[0021] After partitioning the signal data according to the number of the active intervals, signal data of the active interval corresponding to each function is determined.

[0022] On the other hand, an embodiment of the present application provides a multifunctional handle for interacting with a virtual display device, comprising a handle body and a movable trigger, one end of the trigger being fixed to the handle body via a rotating shaft, a magnet being placed on the other end of the trigger located within the handle body, the magnet moving with the movement of the trigger, a printed circuit board being provided at the opposite end of the magnet, the printed circuit board being integrated with a processor, a memory, and a sensor, the processor, the memory, and the sensor being connected via a bus;

[0023] The sensor is used to sense the change in magnetic flux of the magnet as it moves with the trigger after power is applied;

[0024] The memory stores a computer program, and the processor performs the following operations according to the computer program:

[0025] receiving a number of active intervals sent by the virtual display device, where the number of active intervals is obtained by dividing the active range of the trigger according to the multifunctional requirements of the trigger by the virtual display device in accordance with the currently running virtual scene;

[0026] determining a target sampling frequency within the trigger's active range according to the number of active intervals, and setting the target sampling frequency as a switching frequency of a power supply to reduce power consumption;

[0027] collecting signal data of the sensor within the active range of the trigger according to the target sampling frequency;

[0028] The signal data is sent to the virtual display device, so that the virtual display device partitions the signal data according to the number of the active intervals and determines the signal data of the active interval corresponding to each function.

[0029] On the other hand, an embodiment of the present application provides a virtual display device for interacting with a handle, including a processor, a memory, and a display screen, wherein the processor, the memory, and the display screen are connected via a bus:

[0030] The display screen is used to display the virtual scene currently running on the virtual display device;

[0031] The memory stores a computer program, and the processor performs the following operations according to the computer program:

[0032] Dividing the active travel of the handle trigger into multiple active intervals according to the multifunctional requirements of the currently running virtual scene on the handle trigger;

[0033] Sending the number of the active intervals to the handle, so that the handle determines a target sampling frequency within the active range of the handle trigger according to the number of the active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption;

[0034] receiving signal data of a sensor within the active range of the handle trigger, which is sent by the handle and collected according to the target sampling frequency;

[0035] The signal data is partitioned according to the number of the active intervals, and signal data of the active interval corresponding to each function is determined.

[0036] On the other hand, an embodiment of the present application provides a gaming device, including a virtual display device and a handle, wherein the virtual display device interacts with the handle:

[0037] The virtual display device divides the active travel of the handle trigger into a plurality of active intervals according to the multifunctional requirements of the handle trigger of the currently running virtual scene, and sends the number of the active intervals to the handle;

[0038] The handle determines a target sampling frequency within the range of the handle trigger according to the number of the active intervals, collects signal data of a sensor within the range of the handle trigger according to the target sampling frequency, and transmits the signal data to the virtual display device; and at the same time, sets the target sampling frequency to a switching frequency of a power supply to reduce power consumption;

[0039] The virtual display device receives the signal data, partitions the signal data according to the number of the active intervals, and determines the signal data of the active interval corresponding to each function.

[0040] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable a computer device to execute the multi-functional design method of the handle trigger provided in the embodiment of the present application.

[0041] In the multi-functional design method and device of a handle provided in the embodiment of the present application, taking into account the different degrees of precision of control of the handle trigger in different scenarios, it supports dynamically setting the number of active intervals within the active range of the handle trigger for different scenarios to achieve control functions with different degrees of precision. At the same time, the target sampling frequency within the active range of the handle trigger is dynamically determined according to the number of active intervals to ensure that the signal data of the sensor in each active interval is collected, and the target sampling frequency is set to the switching frequency of the power supply to achieve the function of turning on the power supply during data collection and turning off the power supply after data collection is completed, thereby reducing the power consumption of the handle. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] Figure 1 A schematic diagram of an application scenario of a handle and a virtual display device provided in an embodiment of the present application;

[0044] Figure 2A A schematic diagram of the external structure of a handle provided in an embodiment of the present application;

[0045] Figure 2B A schematic diagram of the internal structure of the handle provided in an embodiment of the present application;

[0046] Figure 2C A schematic diagram of the movement relationship between the handle trigger and the magnet provided in an embodiment of the present application;

[0047] Figure 3 A circuit diagram for detecting the position of a trigger within its active range using a HALL sensor provided in an embodiment of the present application;

[0048] Figure 4 This is an overall architecture diagram of the multifunctional design method for the handle trigger provided in an embodiment of the present application;

[0049] Figure 5 A flowchart of a multifunctional design method for a handle trigger implemented on the handle side provided in an embodiment of the present application;

[0050] Figure 6 Flowchart of a method for determining acquisition frequency and switching frequency provided in an embodiment of the present application;

[0051] Figure 7 A flowchart of a multifunctional design method for a handle trigger implemented on a virtual display device side according to an embodiment of the present application;

[0052] Figure 8 A flowchart of the method for interacting with a virtual display device and a handle provided in an embodiment of the present application;

[0053] Figure 9A A schematic diagram of the multi-function sampling of a simple scenario handle trigger provided by an embodiment of the present application;

[0054] Figure 9B A schematic diagram of the multi-function sampling of the handle trigger in complex scenarios provided by an embodiment of the present application;

[0055] Figure 10A flow chart of a multifunctional design method for a handle trigger provided in an embodiment of the present application;

[0056] Figure 11 A structural diagram of a multifunctional handle provided in an embodiment of the present application;

[0057] Figure 12 A structural diagram of a virtual display device provided in an embodiment of the present application;

[0058] Figure 13 A schematic diagram of a gaming device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of the technical solutions of this application, but not all of them. Based on the embodiments described in this application document, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the technical solutions of this application.

[0060] Because technologies such as VR and AR can bring users an immersive experience that is as if they are in the game and are very interesting, they are widely used in the field of 3D games.

[0061] In the gaming field, virtual display devices such as AR and VR are generally used together with handles. AR, VR and other virtual display devices are used to display virtual game screens. Users control the game screens by operating the handles, and achieve an immersive experience through the interaction between the two.

[0062] like Figure 1 The figure shows an application scenario in the gaming field provided by an embodiment of the present application. Players control the game screen of the virtual display device by operating the multi-function trigger on the handle and physically react to changes in the game screen, thereby experiencing an immersive experience that is as close as if they were in the game and enhancing the fun of the game. During the game, the virtual game screen of the virtual display device can also be projected onto the TV using the advantage of the large screen of the TV, which is more entertaining.

[0063] At present, there are two main ways to implement the multi-functional design of a handle trigger: one is a button-type design, which assigns two parameter values ​​0 and 1 within the active range of the trigger, and the two parameter values ​​represent a function respectively. This design method is simple, stable, and practical, but it implements fewer functions, and the control precision of the handle trigger is low, which makes it difficult to meet the multi-functional requirements of the handle trigger in complex scenarios; the other is a multi-interval design, which divides the active range of the handle trigger into multiple active intervals, and different active intervals are used to implement different functions, thereby meeting the multi-functional requirements of the handle trigger in complex scenarios. However, since the divided active intervals are fixed, the multi-functional design of the handle trigger is inflexible, and it is necessary to detect in real time which active interval the handle trigger moves to, resulting in high power consumption.

[0064] In view of this, the embodiments of the present application provide a multifunctional design method and device for a handle trigger. In view of the different multifunctional requirements of the handle trigger in different scenarios, the active range of the handle trigger is flexibly divided into multiple active intervals according to the functional requirements of the handle trigger in the current scenario, so as to realize the control functions of the handle trigger with different degrees of precision; at the same time, according to the number of active intervals, the target sampling frequency within the active range of the handle trigger is dynamically determined to ensure that the signal data of the sensor in each active interval is collected, and the target sampling frequency is set to the switching frequency of the power supply, so as to realize the function of turning on the power supply during data collection and turning off the power supply after data collection is completed, thereby reducing the power consumption of the handle and improving the user experience.

[0065] Compared with the button-type design, the embodiment of the present application can meet the multi-functional requirements of the handle trigger in complex scenarios. At the same time, compared with the fixed multi-interval design, the flexibility of the multi-functional design of the handle trigger is improved, and the sampling frequency and switching frequency are set by the number of active intervals divided by the active stroke of the handle trigger, so as to realize the functions of turning on the power during signal acquisition and turning off after the signal acquisition is completed, thereby reducing the power consumption of the handle, reducing heat generation, and increasing the service life of the handle.

[0066] In order to clearly describe the embodiments of the present application, the structure of the handle is introduced below.

[0067] Generally, the handle includes a handle body and a movable trigger, and one or more triggers are arranged on the handle body. Figure 2A The figure shows the appearance of the handle provided in the embodiment of the present application. Figure 2A In the present invention, the hand applies pressure to the trigger, causing the trigger to extend and retract within the handle body, and the distance the trigger extends and retracts within the handle body varies depending on the magnitude of the pressure. The maximum distance the trigger can extend and retract within the handle body is recorded as the active travel of the handle trigger.

[0068] The internal structure of the handle is as follows Figure 2BAs shown in FIG, one end of the trigger is fixed to the handle body through a rotating shaft, and a magnet is placed on the other end of the trigger located inside the handle body. A printed circuit board (PCB) is provided at the opposite end of the magnet, and a sensor is integrated on the PCB. The magnet moves with the movement of the trigger, as shown in FIG. Figure 2C As shown in the figure, when the trigger moves deeper into its travel (the direction of movement is indicated by the thick dashed line), the magnet moves closer to the sensor (also indicated by the thick dashed line). According to the principle of electromagnetic induction, when the upper electromagnetic core is subjected to stress, the magnetic flux changes, and the output voltage signal also changes. Therefore, the change in the voltage signal sensed by the sensor can be used to determine the change in magnetic flux, and thus the change in the position of the handle trigger within the handle body.

[0069] Typically, the sensor in the handle is a Hall sensor. The reason why a Hall sensor is used to detect the position change of the trigger within the active range of the handle body instead of infrared, ultrasonic or radar sensors is because:

[0070] (1) Infrared, ultrasonic, or radar sensors all detect the position of the trigger within its travel range by the time or energy relationship between the transmitted and reflected signals. However, the travel range of the trigger is an arc trajectory, which does not guarantee that the trigger moves at the same level. This makes it difficult for the signal sent from a fixed point to return to the sending position after reflection. In other words, it is difficult to find an accurate relationship between the transmitted and reflected signals to determine the position of the reflection point (i.e., the trigger), resulting in low detection accuracy. The HALL sensor detects the position of the trigger within its travel range by changes in magnetic flux and is less affected by the travel trajectory.

[0071] (2) Sensors such as infrared waves, ultrasonic waves, or radars experience some loss in the transmitted and received reflected signals, making them suitable for long-distance positioning scenarios. However, in gaming scenarios, the trigger's travel is generally within 5 mm, and the space is limited. This means that the maximum and minimum travels for trigger position detection are relatively fixed and small. Within such a short travel range, the impact of signal loss becomes very significant, resulting in low trigger position positioning accuracy. The HALL sensor can generally detect a distance of about 10 mm, which is close to the trigger's travel range and has a high sensitivity.

[0072] (3) The HALL sensor can sense the change of magnetic flux through the change of voltage signal. The generation of magnetic flux requires the power supply of the handle to power the magnet. Therefore, when detecting the position change of the trigger within the active range through the change of magnetic flux, the position detection can also be combined with the power consumption of the power supply.

[0073] Optionally, in an embodiment of the present application, the HALL sensor uses an analog output HALL sensor, which reduces the use of control devices, saves processor resources, and has lower costs compared to a digital output HALL sensor.

[0074] The circuit diagram of using the HALL sensor to detect the position of the trigger within the active range is as follows Figure 3 As shown, the printed circuit board of the handle mainly integrates a power integrated circuit (Power IC), a Hall sensor integrated circuit (HALL IC) and a control integrated circuit (Controller IC).

[0075] Among them, the Power IC includes a power supply terminal (Vcc), a ground terminal (GND), an enable terminal (EN) and an output terminal (OUT). The enable terminal (EN) of the Power IC is connected to the general-purpose input / output interface (GPIO) of the Controller IC, the output terminal (OUT) is connected to the power supply terminal (Vcc) of the HALL IC, and the output terminal (OUT) of the HALL IC is connected to the analog-to-digital converter (ADC) of the Controller IC. Through active control of the HALL IC, the HALL IC can convert the continuously output power signal into a high and low level square wave signal. In this way, during the operation of the handle, the power of the HALL IC is periodically turned on / off according to the periodic collection of the magnetic flux of the HALL sensor by the Controller IC. When the handle is dormant, the power of the HALL IC is turned off, that is, the power is turned on only when the ADC sampling time is required, thereby effectively reducing the operating current of the entire machine and reducing power consumption.

[0076] Based on the external and internal structure of the above-mentioned handle, taking the interaction scene between the handle and the virtual display device as an example, the overall architecture diagram of the multifunctional design of the handle trigger provided by the embodiment of the present application is as follows: Figure 4As shown, the virtual display device obtains the multi-functional requirements of the handle trigger based on the scene information, and determines the number of active intervals that the handle trigger activity range should be divided into based on the requirements, and transmits the number wirelessly to the handle. The handle calculates the sampling frequency of the sensor within the activity range based on the number of received active intervals, and collects the signal data (i.e., voltage) of the sensor based on the calculated sampling frequency; when the sensor is a HALL sensor with analog output, the signal data is an analog signal, and after passing through the ADC, a digital signal is obtained, and the digital signal is wirelessly transmitted to the virtual display device; at the same time, the switching frequency of the power supply is set according to the calculated sampling frequency to obtain power supply information (i.e., high and low level information of the power supply). After the virtual display device receives the signal data sent by the handle, it partitions the signal data according to the number of active intervals to obtain the voltage signal corresponding to each active interval, and the handle trigger of each active interval can realize a scene function, thereby realizing the multi-functional design of the handle trigger. This design can flexibly adjust the number of active intervals divided by the handle trigger's active travel according to specific application scenarios, which can meet the needs of complex scenarios for handle trigger control functions of different degrees of precision. At the same time, the sampling frequency and switching frequency can dynamically change according to the number of active intervals, meeting the balance between the multi-functional requirements of the handle trigger and the power consumption of the handle in different scenarios.

[0077] See also Figure 5 , which is a flow chart of a multifunctional design method for a handle trigger on the handle side provided in an embodiment of the present application. The process mainly includes the following steps:

[0078] S501: Receive the number of active intervals sent by the virtual display device. The number of active intervals is obtained by dividing the active range of the handle trigger according to the multi-functional requirements of the handle trigger of the currently running virtual scene.

[0079] S502: Determine a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and set the target sampling frequency as the switching frequency of the power supply to reduce power consumption.

[0080] In the embodiment of the present application, the active range of the handle trigger is divided into multiple active intervals, each active interval corresponds to a scene function, and the active interval where the handle is located is detected by the signal data of the sensor. In S502, in order to ensure that the signal data of each active interval can be collected, the target sampling frequency within the active range of the handle trigger is determined according to the number of active intervals; at the same time, in order to reduce the power consumption of the handle, the target sampling frequency is set to the switching frequency of the power supply. For the specific implementation of S502, see Figure 6 , mainly includes the following steps:

[0081] S5021: Determine a maximum sampling time interval within the active travel of the handle trigger according to the total time corresponding to the active travel of the handle trigger and the number of active intervals.

[0082] In S5021, the movable stroke of the handle trigger is fixed. Given the moving speed of the trigger, the total time corresponding to the movable stroke is also fixed.

[0083] Assume that the total time corresponding to the active stroke of the handle trigger is T, unit: millisecond (ms), and the number of active intervals divided by the active stroke is m. In order to ensure that the signal data of the handle trigger in each active interval can be collected, the maximum sampling time interval within the active stroke is t = T / m.

[0084] S5022: Determine the minimum sampling frequency based on the maximum sampling time interval to ensure that signal data of each activity interval can be collected.

[0085] In S5022 , according to the relationship between time and frequency f=1 / t, the minimum sampling frequency corresponding to the maximum sampling time interval t can be obtained. The minimum sampling frequency ensures that the signal data of each active interval can be collected.

[0086] S5023: Determine the minimum sampling frequency as the target sampling frequency within the active range of the handle trigger, and set the target sampling frequency as the switching frequency of the power supply to reduce power consumption.

[0087] In S5023, considering that the fewer the sampling times, the lower the power consumption, the minimum sampling frequency is determined as the target sampling frequency within the active range of the handle trigger, and the target sampling frequency is set to the switching frequency of the power supply, so that the power supply is turned on when data is collected, and the power supply is turned on and off when data collection is completed, thereby reducing the average power consumption of the power supply and extending the battery life.

[0088] S503: Collecting signal data of the sensor within the active range of the handle trigger according to the target sampling frequency.

[0089] After the sensor is powered on, when the position of the handle trigger changes within its range of motion, the magnetic flux sensed by the sensor also changes, causing the output voltage signal to change. Therefore, the change in the voltage signal sensed by the sensor can be used to determine the change in magnetic flux, and thus the change in the position of the handle trigger within the handle body. Therefore, in S503, after determining the target sampling frequency, sampling at this target sampling frequency can generate signal data for multiple active intervals.

[0090] S504: Send the signal data to the virtual display device, so that the virtual display device partitions the signal data according to the number of active intervals and determines the signal data of the active interval corresponding to each function.

[0091] In S504, the handle sends the signal data collected according to the target sampling frequency to the virtual display device. Since the target sampling frequency is determined according to the number of active intervals divided by the active travel of the handle trigger, the virtual display device partitions the received signal data according to the number of active intervals, and can obtain the signal data of the active interval corresponding to each function.

[0092] It should be noted that when the sensor used is a HALL sensor with analog output, in S504, the handle converts the magnetic flux into a digital signal and then sends it to the virtual display device. When the sensor used is a HALL sensor with digital output, in S504, the handle can directly send the magnetic flux to the virtual display device.

[0093] The multifunctional design method of the handle trigger provided in the embodiment of the present application can be completed through the interaction between the handle and the virtual display device. Figure 5 This is a flowchart of the multifunctional design method for the handle trigger on the handle side. For the multifunctional design method for the handle trigger on the virtual display device side, see Figure 7 , the process mainly includes the following steps:

[0094] S701: Divide the active travel of the handle trigger into multiple active intervals according to the multi-functional requirements of the currently running virtual scene on the handle trigger.

[0095] For example, the currently running virtual scene is a shooting scene in a game, and the handle trigger controls the two functions of firing and not firing bullets. Therefore, the active travel of the handle trigger can be divided into two active intervals.

[0096] For another example, the currently running virtual scene is a racing scene in the game. The handle trigger controls the size of the racing car's throttle, and the throttle is divided into 5 levels. Therefore, the activity range of the handle trigger can be divided into 5 activity intervals.

[0097] S702: Send the number of active intervals to the handle, so that the handle determines the target sampling frequency within the active range of the handle trigger according to the number of active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption.

[0098] For a detailed description of this step, please refer to the multi-functional design method for the handle trigger on the handle side, which will not be described in detail here.

[0099] S703: Receive signal data from a sensor within the active range of the handle trigger, which is collected at a target sampling frequency and sent by the handle.

[0100] S704: Partition the signal data according to the number of active intervals, and determine the signal data of the active interval corresponding to each function.

[0101] Since the target sampling frequency is determined by the number of active intervals divided according to the active travel of the handle trigger, when the signal data of the sensor is collected according to the target sampling frequency, it can be guaranteed that the signal data of each active interval is collected. Therefore, in S704, after the virtual display device receives the signal data, it can partition the signal data according to the number of active intervals, and establish a corresponding relationship between the signal data and the active intervals. The handle trigger located in each active interval is used to realize a function in the scene. Therefore, with the help of the corresponding relationship between the active interval and the scene function, the signal data of the active interval corresponding to each function can be obtained.

[0102] The following describes the multifunctional design method of the handle trigger provided by the embodiment of the present application from the perspective of the interaction between the handle and the virtual display device, see Figure 8 , the method mainly includes the following steps:

[0103] S801: The virtual display device divides the active travel of the handle trigger into multiple active intervals according to the multi-functional requirements of the handle trigger in the currently running virtual scene.

[0104] S802: The virtual display device sends the number of active intervals to the handle.

[0105] S803: The handle determines a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption.

[0106] S804: The handle collects signal data from the sensor within the active range of the handle trigger according to the target sampling frequency and sends it to the virtual display device.

[0107] S805: The virtual display device partitions the signal according to the number of active intervals, and determines signal data of the active interval corresponding to each function.

[0108] Optionally, in some embodiments, after the multifunctional design of the handle trigger is completed, that is, after the signal data corresponding to the activity range of each function is determined, the function of the virtual display device can also be implemented based on the real-time operation of the handle. Specifically, the virtual display device obtains the current signal data from the sensor transmitted by the handle, and based on the correspondence between the current signal data and the activity range, determines the target activity range within the activity range of the handle trigger indicated by the current signal data, and implements the function corresponding to the target activity range.

[0109] The multifunctional design method of the handle trigger provided above can be applied to both simple and complex scenarios.

[0110] For example, in a simple scenario, when the handle trigger is used to implement the click confirmation function, that is, it only needs to determine whether the handle trigger moves within the active range. At this time, the host sends the number of active intervals divided by the active range to the handle, and the handle determines the sampling frequency of the current HALL sensor voltage signal based on the number of intervals obtained, ensuring that there will be two levels of 0 and 1 (corresponding to movement and non-movement, respectively) reported to the virtual display device throughout the entire handle trigger range, which can meet the functional requirements of the handle trigger in this simple scenario. Figure 9A shown.

[0111] For example, in complex scenes, the control function of the handle trigger requires a high level of precision. Different positions of the handle trigger in the active range correspond to different functions. Figure 9B When the handle trigger needs to realize 5 functions, the virtual display device divides the active range of the handle trigger into 5 active intervals. The handle adjusts the sampling frequency of the voltage signal of the current HALL sensor according to the number of active intervals to ensure that at least one voltage signal is collected in each active interval.

[0112] In the multi-functional design method of a handle provided in an embodiment of the present application, the requirements for the precision of the handle trigger control function are different in different scenarios. The number of active intervals within the active range of the handle trigger can be dynamically determined according to different virtual scenarios to achieve control functions with different precision. At the same time, the target sampling frequency within the active range of the handle trigger is dynamically determined according to the number of active intervals. While ensuring that the signal data of the sensor in each active interval is collected, the target sampling frequency minimizes the number of collections. According to the relationship between the number of sampling times and power consumption, when the target sampling frequency is set to the switching frequency of the power supply, it can be ensured that the power is turned on during data collection and the power is turned off after data collection is completed, thereby reducing the power consumption of the handle and extending the battery life.

[0113] In order to verify that the multifunctional design method of the handle trigger provided in the embodiment of the present application can effectively reduce power consumption, the following is demonstrated with reference to specific data.

[0114] The acquisition period for the Hall sensor's signal data varies across different application scenarios, typically ranging from a few milliseconds to tens of milliseconds. Accordingly, the acquisition frequency varies from tens to hundreds of Hertz (Hz). By flexibly setting the acquisition period, the multifunctional needs of the handle trigger can be met in different application scenarios while also reducing power consumption. Power consumption can be determined by the duty cycle of the acquisition period, which can be calculated from the switching frequency of the Hall power supply.

[0115] Assume that the time from each power-on to the HALL sensor stabilizing output and ADC completion is the acquisition time, recorded as time1. In actual application scenarios, the acquisition time is a fixed number, and the acquisition cycle of the HALL sensor in each active interval is recorded as time2. To ensure that the signal data of the HALL sensor in each active interval can be collected, theoretically t≥time2≥time1, that is, 1 / t≤F≤1 / time1, F=1 / time2, where t is the maximum time interval within the active range of the handle trigger. When the power consumption of the analog output HALL sensor is 5 milliamperes (mA), the total active travel time of the handle trigger is 5ms, which is divided into 5 active intervals, each active interval takes 1ms, that is, t = 1ms, and the acquisition time time1 = 0.5ms. At this time, 1000Hz≤F<2000Hz, if F = 1000Hz, then the acquisition period of the voltage signal of the HALL sensor time2 = 1ms, the period duty cycle D1 = time1 / time2 = 0.5ms / 1ms = 50%, and the power consumption is P1 = 5mA*50% = 2.5mA; if F = 2000Hz, then The acquisition period of the voltage signal of the HALL sensor is time2 = 0.5ms, the period duty cycle D1 = time1 / time2 = 0.5ms / 0.5ms = 100%, the power consumption is P2 = 5mA*100% = 5mA, and the average power consumption difference under the two F values ​​is P2-P1 = 5mA-2.5mA = 2.5mA. It is obvious that the average power consumption is greatly reduced when the sampling frequency is low, that is, when the HALLIC acquisition time time1 remains unchanged, the higher the acquisition frequency, the greater the duty cycle of the power switching cycle, and the greater the average power consumption; the lower the acquisition frequency, the smaller the duty cycle and the smaller the average power consumption.

[0116] It can be seen that the multifunctional design method of the handle trigger provided in the embodiment of the present application flexibly sets the number of active intervals divided by the active stroke of the handle trigger according to the application scenario, thereby adaptively adjusting the switching frequency of the power supply, which can effectively reduce the average power consumption of the power supply, extend the use time of the handle, reduce the heat generated by the handle, and enhance the user's immersive experience.

[0117] In some embodiments, when the processor performance of the controller is high, the virtual display device can directly send the virtual scene information to the controller, and the controller will divide the activity area and the sensor signal data into zones. Figure 10 , mainly includes the following steps:

[0118] S1001: Divide the active travel of the handle trigger into multiple active intervals according to the multi-functional requirements of the handle trigger in the current application scenario.

[0119] S1002: Determine a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and set the target sampling frequency as the switching frequency of the power supply to reduce power consumption.

[0120] S1003: Collect signal data of the sensor within the active range of the handle trigger according to the target sampling frequency.

[0121] S1004: After partitioning the signal data according to the number of active intervals, the signal data of the active interval corresponding to each function is determined.

[0122] It should be noted that the multifunctional design method of the handle trigger provided in the embodiment of the present application is not only suitable for scenarios of interaction with head-mounted virtual display devices such as AR and VR, but can also be applied to handles that interact with two-dimensional display terminals (such as TVs, projectors, etc.).

[0123] Based on the same technical concept, an embodiment of the present application provides a multi-function handle that can interact with a virtual display device, implement the design method in the above embodiment, and achieve the same technical effect.

[0124] See also Figure 11 The multifunctional handle includes a handle body 1101 and a movable trigger 1102, one end of the trigger 1102 is fixed to the handle body 1101 through a rotating shaft, and a magnet 1103 is placed on the other end of the trigger 1102 located inside the handle body 1101. The magnet 1103 moves with the movement of the trigger 1102, and a printed circuit board 1104 is set at the opposite end of the magnet 1103. The printed circuit board 1104 is integrated with a processor 1104_1, a memory 1104_2 and a sensor 1104_3. The processor 1104_1, the memory 1104_2 and the sensor 1104_3 are connected through a bus (in Figure 11 (represented by thick implementation in the middle) connection;

[0125] The sensor 1104_3 is used to sense the change in magnetic flux of the magnet 1103 as it moves with the trigger 1102 after power is applied;

[0126] The memory 1104_2 stores a computer program, and the processor 1104_1 performs the following operations according to the computer program:

[0127] receiving a number of active intervals sent by the virtual display device, where the number of active intervals is obtained by dividing the active range of the trigger according to the multifunctional requirements of the trigger by the virtual display device in accordance with the currently running virtual scene;

[0128] determining a target sampling frequency within the trigger's active range according to the number of active intervals, and setting the target sampling frequency as a switching frequency of a power supply to reduce power consumption;

[0129] collecting signal data of the sensor within the active range of the trigger according to the target sampling frequency;

[0130] The signal data is sent to the virtual display device, so that the virtual display device partitions the signal data according to the number of the active intervals and determines the signal data of the active interval corresponding to each function.

[0131] Optionally, the processor 1104_1 determines a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and sets the target sampling frequency as a switching frequency of a power supply to reduce power consumption. Specifically, the operations are as follows:

[0132] Determining a maximum sampling time interval within the active travel of the trigger 1102 according to the total time corresponding to the active travel of the trigger 1102 and the number of active intervals;

[0133] Determining a minimum sampling frequency based on the maximum sampling time interval to ensure that signal data of each activity interval can be collected;

[0134] The minimum sampling frequency is determined as the target sampling frequency within the active range of the trigger 1102 , and the target sampling frequency is set as the switching frequency of the power supply to reduce power consumption.

[0135] Based on the same technical concept, an embodiment of the present application provides a virtual display device that can interact with a multi-function handle to implement the design method in the above embodiment and achieve the same technical effect.

[0136] See also Figure 12 The virtual display device includes a processor 1201, a memory 1202 and a display screen 1203, wherein the processor 1201, the memory 1202 and the display screen 1203 are connected via a bus ( Figure 12 (indicated by thick solid lines) connection:

[0137] The display screen 1203 is used to display the virtual scene currently running on the virtual display device;

[0138] The memory 1202 stores a computer program, and the processor 1201 performs the following operations according to the computer program:

[0139] Dividing the active travel of the handle trigger into multiple active intervals according to the multifunctional requirements of the currently running virtual scene on the handle trigger;

[0140] Sending the number of the active intervals to the handle, so that the handle determines a target sampling frequency within the active range of the handle trigger according to the number of the active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption;

[0141] receiving signal data of a sensor within the active range of the handle trigger, which is sent by the handle and collected according to the target sampling frequency;

[0142] The signal data is partitioned according to the number of the active intervals, and signal data of the active interval corresponding to each function is determined.

[0143] Optionally, after determining the signal data of the activity interval corresponding to each function, the processor 1201 further executes:

[0144] Obtaining current signal data of the sensor sent by the handle;

[0145] According to the corresponding relationship between the current signal data and the active interval, a target active interval of the handle trigger within the active stroke indicated by the current signal data is determined, and a function corresponding to the target active interval is implemented.

[0146] It should be noted that Figure 11 and Figure 12 This is merely an example, and the hardware necessary for the controller and virtual display device to execute the steps of the multi-function controller trigger design method provided in the embodiments of this application is shown. Not shown, the controller also includes conventional controller components such as a power supply and a communication interface, and the virtual display device also includes conventional display device components such as a speaker, a receiver, a camera, a power supply, and a communication interface.

[0147] Embodiments of the present application Figure 11 and Figure 12 The processor involved may be a central processing unit (CPU), a general-purpose processor, a graphics processing unit (GPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.

[0148] Based on the same technical concept, the embodiment of the present application provides a gaming device, such as Figure 13As shown, the game device includes a virtual display device 1301 and a handle 1302. The virtual display device 1301 and the handle 1302 interact with each other, and the interaction process is as follows:

[0149] The virtual display device 1301 divides the active range of the handle trigger into a plurality of active intervals according to the multifunctional requirements of the handle trigger in the currently running virtual scene, and sends the number of the active intervals to the handle 1302;

[0150] The handle 1302 determines a target sampling frequency within the range of the handle trigger according to the number of the active intervals, collects signal data of the sensor within the range of the handle trigger according to the target sampling frequency, and sends the signal data to the virtual display device 1301; at the same time, the target sampling frequency is set to the switching frequency of the power supply to reduce power consumption;

[0151] The virtual display device 1301 receives the signal data, partitions the signal data according to the number of the active intervals, and determines the signal data of the active interval corresponding to each function.

[0152] The embodiment of the present application also provides a computer-readable storage medium for storing some instructions. When these instructions are executed, the multifunctional design method of the handle trigger in the aforementioned embodiment can be completed.

[0153] An embodiment of the present application also provides a computer program product for storing a computer program, which is used to execute the multifunctional design method of the handle trigger in the aforementioned embodiment.

[0154] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0155] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0156] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0157] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0158] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A multifunctional design method for a handle trigger, characterized in that: Applied to a handle, the handle interacting with a virtual display device, the method comprising: receiving a number of active intervals sent by a virtual display device, where the number of active intervals is obtained by dividing the active range of the handle trigger according to the multifunctional requirements of the handle trigger by the virtual display device in accordance with the currently running virtual scene; determining a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and setting the target sampling frequency as the switching frequency of a power supply to reduce power consumption; According to the target sampling frequency, collecting signal data of the sensor within the active range of the handle trigger; The signal data is sent to the virtual display device, so that the virtual display device partitions the signal data according to the number of the active intervals and determines the signal data of the active interval corresponding to each function.

2. The method according to claim 1, wherein The method of determining a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and setting the target sampling frequency as a switching frequency of a power supply to reduce power consumption, includes: determining a maximum sampling time interval within the active travel of the handle trigger according to the total time corresponding to the active travel of the handle trigger and the number of the active intervals; Determining a minimum sampling frequency based on the maximum sampling time interval to ensure that signal data of each activity interval can be collected; The minimum sampling frequency is determined as the target sampling frequency within the active range of the handle trigger, and the target sampling frequency is set as the switching frequency of the power supply to reduce power consumption.

3. The method according to claim 1 or 2, wherein: The sensor is a Hall sensor. One end of the handle trigger is connected to the handle through a rotating shaft. A magnet is placed on the other end of the handle trigger. The magnet moves with the movement of the handle trigger. The Hall sensor is fixed on a printed circuit board at the opposite end of the magnet. The Hall sensor is used to sense the change in magnetic flux when the magnet moves with the handle trigger after power is turned on.

4. A multifunctional design method for a handle trigger, characterized in that: Applied to a virtual display device, the virtual display device interacts with a handle, and the method includes: Dividing the active travel of the handle trigger into multiple active intervals according to the multifunctional requirements of the currently running virtual scene on the handle trigger; Sending the number of the active intervals to the handle, so that the handle determines a target sampling frequency within the active range of the handle trigger according to the number of the active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption; receiving signal data of a sensor within the active range of the handle trigger, which is sent by the handle and collected according to the target sampling frequency; The signal data is partitioned according to the number of the active intervals, and signal data of the active interval corresponding to each function is determined.

5. The method according to claim 4, wherein After determining the signal data of the activity interval corresponding to each function, the method further includes: Obtaining current signal data of the sensor sent by the handle; According to the corresponding relationship between the current signal data and the active interval, a target active interval of the handle trigger within the active stroke indicated by the current signal data is determined, and a function corresponding to the target active interval is implemented.

6. A multifunctional design method for a handle trigger, characterized in that: include: According to the multifunctional requirements of the handle trigger in the current application scenario, the active travel of the handle trigger is divided into multiple active intervals; determining a target sampling frequency within the active range of the handle trigger according to the number of active intervals, and setting the target sampling frequency as the switching frequency of a power supply to reduce power consumption; According to the target sampling frequency, collecting signal data of the sensor within the active range of the handle trigger; After partitioning the signal data according to the number of the active intervals, signal data of the active interval corresponding to each function is determined.

7. The method according to claim 6, wherein The sensor is a Hall sensor. One end of the handle trigger is connected to the handle through a rotating shaft. A magnet is placed on the other end of the handle trigger. The magnet moves with the movement of the handle trigger. The Hall sensor is fixed on a printed circuit board at the opposite end of the magnet. The Hall sensor is used to sense the change in magnetic flux when the magnet moves with the handle trigger after power is turned on.

8. A multifunctional handle, characterized in that: Used to interact with a virtual display device, comprising a handle body and a movable trigger, one end of the trigger being fixed to the handle body via a rotating shaft, a magnet being placed on the other end of the trigger located within the handle body, the magnet moving with the movement of the trigger, a printed circuit board being provided at the opposite end of the magnet, the printed circuit board being integrated with a processor, a memory, and a sensor, the processor, the memory, and the sensor being connected via a bus; The sensor is used to sense the change in magnetic flux of the magnet as it moves with the trigger after power is applied; The memory stores a computer program, and the processor performs the following operations according to the computer program: receiving a number of active intervals sent by the virtual display device, where the number of active intervals is obtained by dividing the active range of the trigger according to the multifunctional requirements of the trigger by the virtual display device in accordance with the currently running virtual scene; determining a target sampling frequency within the trigger's active range according to the number of active intervals, and setting the target sampling frequency as a switching frequency of a power supply to reduce power consumption; collecting signal data of the sensor within the active range of the trigger according to the target sampling frequency; The signal data is sent to the virtual display device, so that the virtual display device partitions the signal data according to the number of the active intervals and determines the signal data of the active interval corresponding to each function.

9. A virtual display device, characterized in that: Used to interact with the handle, including a processor, a memory and a display screen, wherein the processor, the memory and the display screen are connected via a bus: The display screen is used to display the virtual scene currently running on the virtual display device; The memory stores a computer program, and the processor performs the following operations according to the computer program: Dividing the active travel of the handle trigger into multiple active intervals according to the multifunctional requirements of the currently running virtual scene on the handle trigger; Sending the number of the active intervals to the handle, so that the handle determines a target sampling frequency within the active range of the handle trigger according to the number of the active intervals, and sets the target sampling frequency as the switching frequency of the power supply to reduce power consumption; receiving signal data of a sensor within the active range of the handle trigger, which is sent by the handle and collected according to the target sampling frequency; The signal data is partitioned according to the number of the active intervals, and signal data of the active interval corresponding to each function is determined.

10. A gaming device, characterized in that: The virtual display device and the handle are included, and the virtual display device interacts with the handle: The virtual display device divides the active travel of the handle trigger into a plurality of active intervals according to the multifunctional requirements of the handle trigger of the currently running virtual scene, and sends the number of the active intervals to the handle; The handle determines a target sampling frequency within the range of the handle trigger according to the number of the active intervals, collects signal data of a sensor within the range of the handle trigger according to the target sampling frequency, and transmits the signal data to the virtual display device; and at the same time, sets the target sampling frequency to a switching frequency of a power supply to reduce power consumption; The virtual display device receives the signal data, partitions the signal data according to the number of the active intervals, and determines the signal data of the active interval corresponding to each function.

Citation Information

Patent Citations

  • Input device with force sensor feedback trigger

    CN110709144A

  • Handle trigger adjusting device and handle with same

    CN111346367A