An infrared analog combat method based on adaptive control
By using infrared transmitters and signal receivers for adaptive control in live-action shooting games, the problem of signal instability caused by environmental interference is solved, stable signal transmission and dynamic adjustment are achieved, and the realism and interactivity of the game are enhanced.
Patent Information
- Application Number
- CN202510483332.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2045-04-17
AI Technical Summary
In existing real-person shooting games, data transmission relies on radio signals or visible light signals, which are easily affected by environmental interference, resulting in unstable transmission, affecting the realism and experience of the game. At the same time, the lack of consideration for environmental factors limits the diversity and fun of the game.
An infrared transmitter is used as the signal transmitter, and the transmission distance and type are controlled according to the virtual scene parameters. The signal receiver is used for adaptive correction, and the transmission power is adjusted in real time in combination with the radiation transmission model to achieve stable signal transmission and dynamic adjustment.
It improves the realism and interactivity of the game, enhances the simulation and accuracy of the battle process, ensures the stability and reliability of signal transmission, and enhances the user's sense of immersion and experience.
Smart Images

Figure CN119971469B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of real shooting games, and specifically relates to an infrared simulation battle method based on adaptive control. BACKGROUND
[0002] In the existing real shooting game technology, the battle simulation often relies on radio signals or visible light signals for data transmission. This method is easily disturbed by the environment, leading to unstable data transmission and affecting the realism and experience of the game. At the same time, the traditional battle simulation method lacks consideration of environmental factors and cannot dynamically adjust the transmission and reception of signals according to the changes in the virtual scene, thereby limiting the diversity and interest of the game. In order to solve the above problems, the present application proposes an infrared simulation battle method based on adaptive control, which can realize stable transmission of battle signals and dynamically adjust the transmission and reception of signals according to the changes in the virtual scene, thereby improving the realism and experience of the game. SUMMARY
[0003] To solve the above problems in the prior art, the present application provides an infrared simulation battle method based on adaptive control, and the purpose of the present application can be achieved by the following technical scheme:
[0004] S1: A signal transmitter is arranged in the simulation battle weapon, and the signal transmitter is used to emit weapon coding signals;
[0005] S2: The signal transmitter is an infrared emitter, and the emission distance and emission type of the signal transmitter are controlled by a constant current source current according to the virtual scene parameters in the weapon coding signals;
[0006] S3: A signal receiver is arranged in the simulation battle wearable device, and the signal receiver adaptively corrects the received weapon coding signals to obtain virtual scene receiving signals according to a virtual scene signal attenuation module;
[0007] S4: The wearable device triggers a signal feedback mechanism according to the virtual scene receiving signals.
[0008] Specifically, the data packet structure of the weapon coding signal is weapon protocol version number, weapon identification code, damage value, damage addition type, timestamp, check code, and virtual scene parameter.
[0009] Specifically, the virtual scene parameters in the weapon coding signal are set according to a preset virtual scene; the virtual scene parameters are environmental light intensity, shelter material, weather factor, ground material, atmospheric model, aerosol parameter, and spectral range, and the preset virtual scene adjusts the visual effect of the display interface according to the virtual scene parameters.
[0010] Specifically, the transmission distance of the signal transmitter is set to a basic distance according to a weapon identification code in the weapon coding signal, and an environmental basic distance is obtained by performing environmental compensation on the basic distance through an ambient light intensity in the virtual scene parameters; a transmission type of the signal transmitter is set according to a damage value and a damage addition type in the weapon coding signal.
[0011] Specifically, the virtual scene signal attenuation module constructs a path loss equation based on physical modeling of a three-dimensional infrared scene through weather factors and barrier materials in the virtual scene parameters.
[0012]
[0013] wherein Pr(d) is a received power, Pt is a transmitted power, Gt is a transmission antenna gain, Gr is a reception antenna gain, λ is a wavelength, d is a distance between a transmitter and a receiver, L is a system loss related to atmospheric conditions, and ta is an atmospheric transmittance, which is positively correlated with weather factors in the virtual scene parameters;
[0014] According to the preset virtual scene setting, corresponding virtual scene parameters are set, specifically including an atmospheric model, aerosol parameters and a spectral range;
[0015] A spectral transmittance curve and an integral average transmittance are obtained through radiation calculation by a radiation transmission model; a transmittance data set under different visibilities and water vapor amounts is generated according to the radiation transmission model, a regression analysis model is constructed through the transmittance data set, and the model is adjusted in real time based on the regression analysis model to feed back the transmitted power.
[0016] Specifically, the radiation transmission model simulates and captures line tail attenuation characteristics to obtain an approximate coefficient in a line tail region of an infrared spectrum through the distribution of poles and zeros; an accurate coefficient is obtained by combining a fast Fourier transform with an iterative optimization process to process a main peak and a neighboring region in a spectral center of the infrared spectrum; the approximate coefficient and the accurate coefficient are smoothly transitioned through interpolation in the spectral center and the line tail region, and a transmittance curve of the entire infrared spectrum is obtained.
[0017] Specifically, the wearable device carries a decoding device, receives a signal through a signal receiver and outputs a decoded virtual scene receiving signal to a display interface, and updates a battle state according to a damage value, a damage addition type and a timestamp in the virtual scene receiving signal.
[0018] Specifically, the wearable device further has a vibration feedback module, which reminds a user through vibration when a damage value indicated by the received weapon coding signal exceeds a preset threshold; and the wearable device can display a corresponding weapon icon and a remaining ammunition amount according to a weapon identification code in the virtual scene receiving signal.
[0019] Specifically, the signal feedback mechanism decodes the received weapon coding signal through a signal receiver, the decoding process includes
[0020] The signal receiver detects a low-level pilot code for frame synchronization, and performs adaptive gain control on the signal, and then cancels interference noise through band-pass filtering;
[0021] The hierarchical decoding is performed to obtain a hierarchical decoding result;
[0022] Based on the hierarchical decoding result, data is sent to a vibration feedback module and a visual feedback module.
[0023] Specifically, the hierarchical decoding includes checking data integrity, extracting a weapon identification code, and comparing preset weapon library parameters; applying a dynamic weighting algorithm to analyze damage values; calling an atmospheric transmission rate data set according to virtual scene parameters, and calculating real-time path loss through interpolation.
[0024] The present application has the following advantages:
[0025] The infrared simulation battle method based on adaptive control provided by the present application realizes high simulation and interactivity in the battle process. First, a signal transmitter is arranged in the simulation battle game gun, and an infrared emitter is used to control the emission distance and type according to the virtual scene parameters in the weapon coding signal, so that the weapon use in the battle is closer to the real scene. Second, the signal receiver in the wearable device can adaptively correct the received weapon coding signal according to the virtual scene signal attenuation module, further improving the accuracy of the simulation battle. Third, the wearable device triggers a signal feedback mechanism according to the virtual scene receiving signal, including visual and vibration feedback, so that the user can perceive the battle state in real time, enhancing the immersion and interactivity of the game. In addition, the transmission rate data set under different conditions is obtained by radiation calculation through a radiation transmission model, and a regression analysis model is constructed to adjust the emission power in real time, so that the signal transmission in the battle process is more stable and reliable. BRIEF DESCRIPTION OF DRAWINGS
[0026] In order to facilitate the understanding of those skilled in the art, the present application will be further described below with reference to the accompanying drawings.
[0027] Figure 1 The flowchart of the infrared simulation battle method based on adaptive control of the present application. DETAILED DESCRIPTION
[0028] In order to further illustrate the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the specific embodiments, structures, features and effects according to the present application are described in detail below with reference to the accompanying drawings and preferred embodiments.
[0029] Please refer to Figure 1 An infrared simulation combat method based on adaptive control, comprising:
[0030] S1: A signal transmitter is arranged in a game gun for simulation combat, and the signal transmitter is used to emit a weapon code signal;
[0031] S2: The signal transmitter is an infrared transmitter, and a constant current source current controls the transmission distance and transmission type of the signal transmitter according to a virtual scene parameter in the weapon code signal;
[0032] S3: A signal receiver is arranged in a wearable device for simulation combat, and the signal receiver performs adaptive correction on the received weapon code signal to obtain a virtual scene receiving signal according to a virtual scene signal attenuation module;
[0033] S4: The wearable device triggers a signal feedback mechanism according to the virtual scene receiving signal.
[0034] Specifically, the data packet structure of the weapon code signal is a weapon protocol version number, a weapon identification code, a damage value, a damage addition type, a timestamp, a check code, and a virtual scene parameter.
[0035] Specifically, the virtual scene parameter in the weapon code signal is set according to a preset virtual scene; the virtual scene parameter is an ambient light intensity, an obstacle material, a weather factor, a ground material, an atmospheric model, an aerosol parameter, and a spectral range, and the preset virtual scene adjusts the visual effect of a display interface according to the virtual scene parameter.
[0036] Specifically, the transmission distance of the signal transmitter sets a basic distance according to the weapon identification code in the weapon code signal, and performs environmental compensation on the basic distance according to the ambient light intensity in the virtual scene parameter to obtain an environmental basic distance; and the transmission type of the signal transmitter is set according to the damage value and the damage addition type in the weapon code signal.
[0037] Specifically, the virtual scene signal attenuation module is based on physical modeling of a three-dimensional infrared scene, and constructs a path loss equation through the weather factor and the obstacle material in the virtual scene parameter.
[0038] ,
[0039] wherein, P r (d) is the received power, P t is the transmission power, G t is the transmission antenna gain, and G rFor receiving antenna gain, λ is wavelength, d is the distance between transmitter and receiver, L is system loss related to atmospheric conditions, t a For atmospheric transmittance, it is positively correlated with atmospheric absorption, scattering, weather factors in virtual scene parameters;
[0040] According to the preset virtual scene setting, the corresponding virtual scene parameters are set, including atmospheric model, aerosol parameters, geometric parameters and spectral range;
[0041] The spectral transmittance curve and integral average transmittance are obtained by radiation calculation through the radiation transfer model; the transmittance data set under different visibility and water vapor content is generated according to the radiation transfer model, and the regression analysis model is constructed through the transmittance data set, and the emission power is adjusted in real time based on the regression analysis model.
[0042] In this embodiment, the tail region of the distance spectrum is 0.05 cm -1 outside the center of the spectrum, and its Padé approximation model is calculated in advance. Diagonal Padé approximation (i.e. the order of numerator and denominator polynomials is equal) is selected to balance the approximation accuracy and computational complexity; the Padé coefficients are stored as a lookup table (LUT) to avoid real-time repeated calculation. Although the pre-calculated spectrum requires a large storage space (such as 1KB order per spectrum), it can significantly improve the subsequent analysis efficiency; within 0.05 cm -1 from the center of the spectrum, high-precision numerical integration or fast algorithm (fast Fourier transform combined with iterative optimization) is directly used to process the main peak and adjacent area to ensure the resolution of the core spectrum; double-precision floating-point operation is used for the main peak, and the pre-calculated Padé approximation coefficients are called for the tail region to realize seamless connection through interpolation or extrapolation.
[0043] In this embodiment, the emission power is adjusted in real time based on the transmittance to ensure the stability of the signal strength at the receiving end. The formula is expressed as:
[0044] ,
[0045] Where P target is the target receiving power, L path is the path loss, P tx is the transmission power, is the transmittance;
[0046] The transmittance data set under different visibility and water vapor content is generated by MODTRAN; a multiple linear model is constructed:
[0047] ,
[0048] Where W is the water vapor content, V is the visibility, and θ is the zenith angle; a, b, and c are model coefficients; d is the distance between the transmitter and the receiver;
[0049] The power is dynamically adjusted using a PID algorithm or fuzzy logic.
[0050] Specifically, the radiation transmission model approximates the line tail attenuation characteristics by the distribution of poles and zeros in the line tail region of the infrared spectrum to obtain approximation coefficients; in the center of the infrared spectrum, the main peak and the adjacent region are processed by fast Fourier transform combined with iterative optimization to obtain accurate coefficients; the approximation coefficients and the accurate coefficients are smoothly transitioned by interpolation in the center of the spectrum and the line tail region to obtain the transmittance curve of the entire infrared spectrum.
[0051] Specifically, the wearable device carries a decoding device, receives signals through a signal receiver and outputs a decoded virtual scene receiving signal to a display interface, and updates the battle state according to the damage value, damage bonus type and timestamp in the virtual scene receiving signal.
[0052] Specifically, the wearable device also has a vibration feedback module, which reminds the user by vibration when the damage value indicated by the received weapon code signal exceeds a preset threshold; the wearable device can display the corresponding weapon icon and the remaining ammunition according to the weapon identification code in the virtual scene receiving signal.
[0053] Specifically, the signal feedback mechanism decodes the received weapon code signal through a signal receiver, and the decoding process is as follows:
[0054] S101: The signal receiver detects a low-level pilot code for frame synchronization, and performs adaptive gain control on the signal, and then cancels interference noise through band pass filtering;
[0055] S102: Hierarchical decoding: check data integrity, extract weapon identification code, compare preset weapon library parameters; apply dynamic weighting algorithm to analyze damage value; call atmospheric transmittance dataset according to virtual scene parameters, and calculate real-time path loss by interpolation;
[0056] S103: Based on the hierarchical decoding result, the data is sent to the vibration feedback module and the visual feedback module.
[0057] In this embodiment, the receiving end realizes frame synchronization by detecting a 9ms low-level pilot code, and then performs adaptive gain control:
[0058] ,
[0059] Wherein, α is the atmospheric attenuation coefficient, d represents the actual combat distance, which is the distance between the transmitter and the receiver; AGC gain is the adaptive gain control value, P ref is the preset reference power value, P rxis the actual received power value.
[0060] The interference cancellation technology is used to perform band-pass filtering on the superimposed signal (center frequency 38kHz, bandwidth ±5kHz) to eliminate the interference of environmental infrared noise.
[0061] The layered decoding architecture uses a three-stage layered processing model:
[0062] Physical layer decoding: Verify data integrity through CRC-16 check (the check range covers the weapon protocol version number to the check code field);
[0063] Logical layer analysis: Extract weapon identification codes, compare preset weapon library parameters, and apply dynamic weighting algorithms when analyzing damage values:
[0064] , D actual is the actual damage value received, D base is the base damage value set based on the weapon identification code, S material It represents the attenuation rate of the obstruction, which is a negative number, and β is the compensation coefficient of the obstruction material;
[0065] Scene layer reconstruction: Call the atmospheric transmittance dataset generated by MODTRAN according to the virtual scene parameters, and calculate the real-time path loss by interpolation:
[0066] ,in, The multiple regression model constructed by visibility V and water vapor W is used to calculate L path is the path loss value, L sys is the inherent loss value of the system, d is the distance between the transmitter and the receiver, and λ is the wavelength of infrared light;
[0067] Based on the hierarchical decoding results, a fuzzy PID controller is used to adjust the transmit power:
[0068] ,
[0069] Where ΔP tx To adjust the transmission power, the error signal e(t) = P target -P rx , P target is the target received power, P rx is the actual received power, parameter (K p ,K i ,K d ) Dynamically adjust according to the combat environment (urban environment: 0.8, 0.05, 0.1; jungle environment: 1.2, 0.1, 0.2);
[0070] The vibration feedback module adopts ESA1016 linear motor, and vibration intensity and damage value are in piecewise linear relationship:
[0071] wherein, A vib is vibration intensity, D actual is the actual damage value received by the wearable device, HP max is the maximum health value of the wearable device, and g represents the slope of the piecewise function, different slope values are preset according to the weapon type and damage level, so that the user can clearly perceive attacks of different intensities.
[0072] The visual feedback integrates an OpenGL ES 3.0 rendering engine; the receiving window of the signal receiver is set to ±500 ms, and a sliding window algorithm is used to eliminate expired data packets; and the weapon identification code is verified by a SHA-256 hash chain to ensure the legality of the equipment.
[0073] The computer storage medium of the embodiment of the application can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component.
[0074] The computer-readable signal medium can include a data signal propagating in a baseband or as a part of a carrier wave, in which a computer-readable program code is carried. Such a propagating data signal can take various forms, including but not limited to electromagnetic signals, optical signals or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or component.
[0075] The computer readable media on which the program code can be carried by any suitable medium, including but not limited to wireless, wired, optical fiber cable, RF, and the like, or any suitable combination of these. Computer program code for carrying out operations of the present application can be written in one or more programming languages, or combinations of languages, including object oriented, such as Java, Smalltalk, C++, and conventional procedural, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0076] The above description is only the preferred embodiment of the present application, and is not intended to limit the present application in any form. Although the present application has been disclosed as above with the preferred embodiment, it is not intended to limit the present application, and any person skilled in the art can make some changes or modifications to the equivalent embodiments within the scope of the technical solution of the present application, without departing from the technical solution of the present application. Any simple modification, equivalent change and modification of the above embodiments, which does not depart from the technical solution of the present application, and is based on the technical essence of the present application, still belongs to the scope of the technical solution of the present application.
Claims
1. An infrared analog battle method based on adaptive control, characterized in that, The application relates to a virtual scene signal transmission method and device. S1: a signal transmitter is arranged in a game gun for simulating a battle, and the signal transmitter is used for emitting a weapon code signal; S2: the signal transmitter is an infrared emitter, and a constant current source current controls the emission distance and the emission type of the signal transmitter according to a virtual scene parameter in the weapon code signal; S3: a signal receiver is arranged in a wearable device for simulating a battle, and the signal receiver carries out self-adaptive correction on the received weapon code signal according to a virtual scene signal attenuation module to obtain a virtual scene receiving signal; The virtual scene signal attenuation module is based on physical modeling of a three-dimensional infrared scene, and a path loss equation is constructed through weather factors and shelter material in the virtual scene parameter; , where P r (d) is the received power, P t is the transmitted power, G t is the transmitted antenna gain, G r is the received antenna gain, λ is the wavelength, d is the distance between the transmitter and the receiver, L is the system loss related to atmospheric conditions, т a is the atmospheric transmittance, which forms a positive correlation mapping with the weather factor in the virtual scene parameters; According to a preset virtual scene setting, an atmospheric model, an aerosol parameter and a spectral range in the corresponding virtual scene parameter are set; Radiation calculation is carried out through a radiation transmission model to obtain a spectral transmittance curve and an integral average transmittance; a transmittance data set under different visibility and water vapor content is generated according to the radiation transmission model, a regression analysis model is constructed through the transmittance data set, and model adjustment emission power is fed back in real time based on the regression analysis model; S4: the wearable device triggers a signal feedback mechanism according to the virtual scene receiving signal.
2. The method of claim 1, wherein, The data packet structure of the weapon code signal is a weapon protocol version number, a weapon identification code, a damage value, a damage addition type, a timestamp, a check code and a virtual scene parameter.
3. The method of claim 1, wherein, The virtual scene parameter in the weapon code signal is set according to a preset virtual scene; the virtual scene parameter is environmental light intensity, shelter material, weather factors, ground material, an atmospheric model, an aerosol parameter and a spectral range; and the preset virtual scene adjusts the visual effect of a display interface according to the virtual scene parameter.
4. The method of claim 2, wherein, The emission distance of the signal transmitter is set as a basic distance according to the weapon identification code in the weapon code signal, and environmental compensation is carried out on the basic distance through the environmental light intensity in the virtual scene parameter to obtain an environmental basic distance; and the emission type of the signal transmitter is set according to the damage value and the damage addition type in the weapon code signal.
5. The method of claim 1, wherein, The radiation transmission model simulates the capture of tail attenuation characteristics through the distribution of poles and zeros in the tail area of an infrared spectrum to obtain an approximate coefficient; the main peak and the adjacent area are processed through fast Fourier transform and iterative optimization in the center of the infrared spectrum to obtain an accurate coefficient; the approximate coefficient and the accurate coefficient are smoothly transitioned through interpolation in the center and the tail area to obtain a transmittance curve of the entire infrared spectrum.
6. The method of claim 1, wherein, The wearable device carries a decoding device, receives signals through the signal receiver, and outputs the decoded virtual scene receiving signal to a display interface; meanwhile, the battle state is updated according to the damage value, the damage addition type and the timestamp in the virtual scene receiving signal.
7. The method of claim 1, wherein, The wearable device also has a vibration feedback module, which reminds the user through vibration when the damage value indicated by the received weapon code signal exceeds a preset threshold; and the wearable device can display corresponding weapon icons and remaining ammunition according to the weapon identification code in the virtual scene receiving signal.
8. The method of claim 1, wherein, The signal feedback mechanism decodes the received weapon code signal through a signal receiver, and the decoding process includes The signal receiver detects a low-level pilot code for frame synchronization, performs adaptive gain control on the signal, and then performs band-pass filtering to eliminate interference noise; Layered decoding is performed to obtain a layered decoding result; Data is sent to a vibration feedback module and a visual feedback module based on the layered decoding result.
9. The method of claim 8, wherein, The layered decoding includes checking data integrity, extracting a weapon identification code, and comparing preset weapon library parameters; a dynamic weighting algorithm is applied to analyze damage values; the analysis accuracy is adjusted according to the environmental light intensity and the shielding material in the virtual scene parameters, and an atmospheric transmittance data set corresponding to an atmospheric model is called to calculate real-time path loss through interpolation.
Citation Information
Patent Citations
Wireless digital twin modeling and virtualization simulation testing method for data link communication equipment
CN118713768A
Laser weapon simulation system for combat scene simulation
CN119043080A