Infrared simulation battle method based on adaptive control
By adopting infrared simulation combat methods based on adaptive control in real-life shooting games, the problem of unstable combat signal transmission in the existing technology is solved, and the stable transmission and dynamic adjustment of signals are achieved, improving the realism and experience of the game.
Patent Information
- Application Number
- CN202510483332.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-04-17
Smart Images

Figure CN119971469A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of real-person shooting games, and in particular relates to an infrared simulation combat method based on adaptive control. Background Art
[0002] In existing live-action shooting game technologies, battle simulations often rely on radio signals or visible light signals for data transmission. This method is easily affected by environmental interference, resulting in unstable data transmission, which affects the realism and experience of the game. At the same time, traditional battle simulation methods lack consideration of environmental factors and cannot dynamically adjust the transmission and reception of signals according to changes in virtual scenes, thereby limiting the diversity and fun of the game. In order to solve the above problems, the present invention proposes an infrared simulation battle method based on adaptive control, which can achieve stable transmission of battle signals and dynamically adjust the transmission and reception of signals according to changes in virtual scenes, thereby improving the realism and experience of the game. Summary of the invention
[0003] In order to solve the above problems existing in the prior art, the present invention provides an infrared simulation combat method based on adaptive control. The purpose of the present invention can be achieved through the following technical solutions: S1: a signal transmitter is set in a gun used in a simulated battle, wherein the signal transmitter is used to transmit a weapon coding signal; S2: The signal transmitter is an infrared transmitter, and the transmission distance and transmission type of the signal transmitter are controlled by controlling the current of a constant current source according to the virtual scene parameters in the weapon coding signal; S3: a signal receiver is set in the wearable device for simulating combat, and the signal receiver adaptively corrects the received weapon coding signal according to the virtual scene signal attenuation module to obtain a virtual scene receiving signal; S4: The wearable device triggers a signal feedback mechanism according to a signal received from the virtual scene.
[0004] Specifically, the data packet structure of the weapon coding signal includes a weapon protocol version number, a weapon identification code, a damage value, a damage bonus type, a timestamp, a checksum, and virtual scene parameters.
[0005] Specifically, the virtual scene parameters in the weapon coding signal are set according to a preset virtual scene; the virtual scene parameters include ambient light intensity, obstruction material, weather factors, surface material, atmospheric model, aerosol parameters, and spectral range, and the preset virtual scene adjusts the visual effect of the display interface according to the virtual scene parameters.
[0006] Specifically, the transmission distance of the signal transmitter sets a basic distance according to the weapon identification code in the weapon coding signal, and the basic distance is environmentally compensated by the ambient light intensity in the virtual scene parameters to obtain the environmental basic distance; the transmission type of the signal transmitter is set according to the damage value and damage bonus type in the weapon coding signal.
[0007] Specifically, the virtual scene signal attenuation module is based on the physical modeling of the three-dimensional infrared scene, and constructs the path loss equation through the weather factors and the material of the obstruction in the virtual scene parameters: , Among them, Pr(d) is the received power, Pt is the transmitted power, Gt is the transmitting antenna gain, Gr is the receiving antenna gain, λ is the wavelength, d is the distance between the transmitter and the receiver, L is the system loss related to the atmospheric conditions, тa is the atmospheric transmittance, and it is positively correlated with the weather factors in the virtual scene parameters. According to the preset virtual scene, corresponding virtual scene parameters are set, including the atmospheric model, aerosol parameters, and spectral range; The spectral transmittance curve and the integrated average transmittance are obtained by performing radiation calculation using a radiation transfer model; a transmittance data set under different visibilities and water vapor amounts is generated according to the radiation transfer model, a regression analysis model is constructed using the transmittance data set, and the emission power is adjusted based on a real-time feedback model of the regression analysis model.
[0008] Specifically, the radiation transfer model captures the attenuation characteristics of the line tail through the distribution simulation of poles and zeros in the line tail region of the infrared spectrum to obtain the approximate coefficient; in the center of the infrared spectrum, the main peak and the adjacent area are processed by fast Fourier transform combined with iterative optimization to obtain the precise coefficient; through interpolation in the center of the spectrum and the line tail region, the approximate coefficient and the precise coefficient are smoothly transitioned to obtain the transmittance curve of the entire infrared spectrum.
[0009] Specifically, the wearable device carries a decoding device, receives signals through a signal receiver and outputs the decoded virtual scene reception signal to a display interface, and updates the battle status according to the damage value, damage bonus type and timestamp in the virtual scene reception signal.
[0010] Specifically, 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; the wearable device can display the corresponding weapon icon and remaining ammunition according to the weapon identification code in the virtual scene receiving signal.
[0011] Specifically, the signal feedback mechanism decodes the received weapon coding signal through a signal receiver, and the decoding process includes: The signal receiver detects the low-level pilot code for frame synchronization, performs adaptive gain control on the signal, and then offsets the interference noise through bandpass filtering; Performing layered decoding to obtain a layered decoding result; The data is sent to the vibration feedback module and the visual feedback module based on the hierarchical decoding result.
[0012] Specifically, the layered decoding includes: verifying data integrity, extracting weapon identification codes, and comparing preset weapon library parameters; applying a dynamic weighting algorithm to analyze damage values; calling the atmospheric transmittance data set according to virtual scene parameters, and calculating real-time path loss through interpolation.
[0013] The beneficial effects of the present invention are: Through the infrared simulation battle method based on adaptive control provided by the present invention, a high degree of simulation and interactivity in the battle process is achieved. First, by setting a signal transmitter in the gun used in the simulated battle, and using an infrared transmitter to control the transmission distance and type according to the virtual scene parameters in the weapon coding signal, the use of weapons in the battle is closer to the real scene. Secondly, 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 simulated battle. Furthermore, the wearable device triggers the signal feedback mechanism according to the virtual scene reception signal, including visual and vibration feedback, so that the user can perceive the battle status in real time, enhancing the immersion and interactivity of the game. In addition, the radiation transmission model is used to perform radiation calculation, and the transmittance data set under different conditions is obtained, and a regression analysis model is constructed to adjust the transmission power in real time, so that the signal transmission in the battle process is more stable and reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0015] Figure 1 The present invention is a flowchart of an infrared simulation combat method based on adaptive control. DETAILED DESCRIPTION
[0016] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0017] See also Figure 1 , an infrared simulation combat method based on adaptive control, comprising: S1: a signal transmitter is set in a gun used in a simulated battle, wherein the signal transmitter is used to transmit a weapon coding signal; S2: The signal transmitter is an infrared transmitter, and the transmission distance and transmission type of the signal transmitter are controlled by controlling the current of a constant current source according to the virtual scene parameters in the weapon coding signal; S3: a signal receiver is set in the wearable device for simulating combat, and the signal receiver adaptively corrects the received weapon coding signal according to the virtual scene signal attenuation module to obtain a virtual scene receiving signal; S4: The wearable device triggers a signal feedback mechanism according to a signal received from the virtual scene.
[0018] Specifically, the data packet structure of the weapon coding signal includes a weapon protocol version number, a weapon identification code, a damage value, a damage bonus type, a timestamp, a checksum, and virtual scene parameters.
[0019] Specifically, the virtual scene parameters in the weapon coding signal are set according to a preset virtual scene; the virtual scene parameters include ambient light intensity, obstruction material, weather factors, surface material, atmospheric model, aerosol parameters, and spectral range, and the preset virtual scene adjusts the visual effect of the display interface according to the virtual scene parameters.
[0020] Specifically, the transmission distance of the signal transmitter sets a basic distance according to the weapon identification code in the weapon coding signal, and the basic distance is environmentally compensated by the ambient light intensity in the virtual scene parameters to obtain the environmental basic distance; the transmission type of the signal transmitter is set according to the damage value and damage bonus type in the weapon coding signal.
[0021] Specifically, the virtual scene signal attenuation module is based on the physical modeling of the three-dimensional infrared scene, and constructs the path loss equation through the weather factors and the material of the obstruction in the virtual scene parameters: , Among them, P r (d) is the received power, P t is the transmission power, G t is the transmitting antenna gain, G r is the receiving antenna gain, λ is the wavelength, d is the distance between the transmitter and the receiver, L is the system loss related to the atmospheric conditions, т a is the atmospheric transmittance, which is positively correlated with the atmospheric absorption, scattering, and weather factors in the virtual scene parameters; According to the preset virtual scene, corresponding virtual scene parameters are set, including the atmospheric model, aerosol parameters, geometric parameters, and spectral range; The spectral transmittance curve and the integrated average transmittance are obtained by performing radiation calculation using a radiation transfer model; a transmittance data set under different visibilities and water vapor amounts is generated according to the radiation transfer model, a regression analysis model is constructed using the transmittance data set, and the emission power is adjusted based on a real-time feedback model of the regression analysis model.
[0022] In this embodiment, the distance from the center of the spectrum is 0.05 cm -1 The Padé approximation model is pre-calculated for the tail region outside the line. The diagonal Padé approximation (i.e., the numerator and denominator polynomials have equal orders) 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 calculations. Although the pre-calculated spectrum requires a large storage space (e.g., 1KB per spectrum), it can significantly improve the efficiency of subsequent analysis; in the center of the spectrum 0.05 cm -1 In the image, high-precision numerical integration or fast algorithm (fast Fourier transform combined with iterative optimization) is directly used to process the main peak and the adjacent areas to ensure the resolution of the core spectral lines. Double-precision floating-point operations are used for the main peak, and the pre-calculated Padé approximation coefficients are called for the line tail area to achieve seamless connection through interpolation or extrapolation.
[0023] In this embodiment, the transmit power is adjusted based on real-time feedback of transmittance to ensure stable signal strength at the receiving end. The formula is: , Among them, P target is the target received power, L path is the path loss, P tx is the transmission power, is the transmittance; Generate transmittance data sets under different visibility and water vapor content through MODTRAN; build a multivariate linear model: , Where W is the amount of water vapor, V is visibility, θ is the zenith angle; a, b, c are model coefficients; d is the distance between the transmitter and the receiver; Dynamically adjust power using PID algorithm or fuzzy logic.
[0024] Specifically, the radiation transfer model captures the attenuation characteristics of the line tail through the distribution simulation of poles and zeros in the line tail region of the infrared spectrum to obtain the approximate coefficient; in the center of the infrared spectrum, the main peak and the adjacent area are processed by fast Fourier transform combined with iterative optimization to obtain the precise coefficient; through interpolation in the center of the spectrum and the line tail region, the approximate coefficient and the precise coefficient are smoothly transitioned to obtain the transmittance curve of the entire infrared spectrum.
[0025] Specifically, the wearable device carries a decoding device, receives signals through a signal receiver and outputs the decoded virtual scene reception signal to a display interface, and updates the battle status according to the damage value, damage bonus type and timestamp in the virtual scene reception signal.
[0026] Specifically, 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; the wearable device can display the corresponding weapon icon and remaining ammunition according to the weapon identification code in the virtual scene receiving signal.
[0027] Specifically, the signal feedback mechanism decodes the received weapon coding signal through a signal receiver, and the decoding process includes: S101: The signal receiver detects the low-level pilot code for frame synchronization, performs adaptive gain control on the signal, and then offsets interference noise through bandpass filtering; S102: Perform layered decoding: verify data integrity, extract weapon identification codes, and compare preset weapon library parameters; apply dynamic weighting algorithm to analyze damage values; call the atmospheric transmittance data set according to virtual scene parameters, and calculate real-time path loss through interpolation; S103: Sending data to the vibration feedback module and the visual feedback module based on the hierarchical decoding result.
[0028] In this embodiment, the receiving end realizes frame synchronization by detecting the 9ms low-level pilot code, and then performs adaptive gain control: , Where α 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 rx is the actual received power value.
[0029] The interference cancellation technology is used to perform bandpass filtering (center frequency 38kHz, bandwidth ±5kHz) on the superimposed signal to eliminate the interference of environmental infrared noise.
[0030] The layered decoding architecture uses a three-order layered processing model: Physical layer decoding: Verify data integrity through CRC-16 check (the check range covers the weapon protocol version number to the check code field); Logical layer analysis: extract weapon identification codes, compare preset weapon library parameters, and apply dynamic weighting algorithms when analyzing damage values: , D actual is the actual damage value received, Dbase is the basic 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; 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: ,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; Based on the hierarchical decoding results, a fuzzy PID controller is used to adjust the transmit power: , Where ΔP tx is the adjusted transmit 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 adjusted according to the combat environment (urban environment: 0.8, 0.05, 0.1; jungle environment: 1.2, 0.1, 0.2); The vibration feedback module uses the ESA1016 linear motor, and the vibration intensity and damage value are in a piecewise linear relationship: , where A vib is the vibration intensity, D actual The actual damage value received by the wearable device, HP max is the maximum health of the wearable device, g represents the slope of the piecewise function, and different slope values are preset according to the weapon type and damage level to ensure that the user can clearly perceive attacks of different intensities.
[0031] Visual feedback integrates the OpenGL ES 3.0 rendering engine; the receiving window of the signal receiver is set to ±500ms, and a sliding window algorithm is used to eliminate expired data packets; the weapon identification code verifies the legitimacy of the equipment through a SHA-256 hash chain.
[0032] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
[0033] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0034] The program code included on the computer readable medium can be transmitted with any appropriate medium, including but not limited to wireless, electric wire, optical cable, RF, etc., or any suitable combination of the above. The computer program code for performing the operation of the present invention can be written in one or more programming languages or their combinations, and the programming language includes object-oriented programming languages-such as Java, Smalltalk, C++, and also includes conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, 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 it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0035] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. An infrared simulation combat method based on adaptive control, characterized in that: include: S1: a signal transmitter is set in a gun used in a simulated battle, wherein the signal transmitter is used to transmit a weapon coding signal; S2: The signal transmitter is an infrared transmitter, and the transmission distance and transmission type of the signal transmitter are controlled by controlling the current of a constant current source according to the virtual scene parameters in the weapon coding signal; S3: a signal receiver is set in the wearable device for simulating combat, and the signal receiver adaptively corrects the received weapon coding signal according to the virtual scene signal attenuation module to obtain a virtual scene receiving signal; S4: The wearable device triggers a signal feedback mechanism according to a signal received from the virtual scene.
2. The method according to claim 1, characterized in that: The data packet structure of the weapon coding signal includes a weapon protocol version number, a weapon identification code, a damage value, a damage bonus type, a timestamp, a checksum, and virtual scene parameters.
3. The method according to claim 1, characterized in that The virtual scene parameters in the weapon coding signal are set according to a preset virtual scene; the virtual scene parameters include ambient light intensity, obstruction material, weather factors, surface material, atmospheric model, aerosol parameters, and spectral range, and the preset virtual scene adjusts the visual effect of the display interface according to the virtual scene parameters.
4. The method according to claim 2, characterized in that: The transmission distance of the signal transmitter sets a basic distance according to the weapon identification code in the weapon coding signal, and the basic distance is environmentally compensated by the ambient light intensity in the virtual scene parameters to obtain the environmental basic distance; the transmission type of the signal transmitter is set according to the damage value and damage addition type in the weapon coding signal.
5. The method according to claim 1, characterized in that The virtual scene signal attenuation module is based on the physical modeling of the three-dimensional infrared scene, and constructs the path loss equation through the weather factors and the material of the obstruction in the virtual scene parameters: , Among them, P r (d) is the received power, P t is the transmission power, G t is the transmitting antenna gain, G r is the receiving antenna gain, λ is the wavelength, d is the distance between the transmitter and the receiver, L is the system loss related to the atmospheric conditions, т a is the atmospheric transmittance, which is positively correlated with the weather factors in the virtual scene parameters; According to the preset virtual scene settings, the atmospheric model, aerosol parameters, and spectral range in the corresponding virtual scene parameters are set; The spectral transmittance curve and the integrated average transmittance are obtained by performing radiation calculation using a radiation transfer model; a transmittance data set under different visibilities and water vapor amounts is generated according to the radiation transfer model, a regression analysis model is constructed using the transmittance data set, and the emission power is adjusted based on a real-time feedback model of the regression analysis model.
6. The method according to claim 5, characterized in that The radiation transmission model captures the attenuation characteristics of the line tail by simulating the distribution of poles and zeros in the line tail region of the infrared spectrum to obtain approximate coefficients; in the center of the infrared spectrum, the main peak and the adjacent area are processed by fast Fourier transform combined with iterative optimization to obtain precise coefficients; and the approximate coefficients and the precise coefficients are smoothly transitioned between the center and the line tail region by interpolation to obtain the transmittance curve of the entire infrared spectrum.
7. The method according to claim 1, characterized in that The wearable device carries a decoding device, receives signals through a signal receiver and outputs the decoded virtual scene reception signal to a display interface, and updates the battle status according to the damage value, damage bonus type and timestamp in the virtual scene reception signal.
8. The method according to claim 1, characterized in that: 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; the wearable device can display the corresponding weapon icon and remaining ammunition according to the weapon identification code in the signal received by the virtual scene.
9. The method according to claim 1, characterized in that: The signal feedback mechanism decodes the received weapon coding signal through a signal receiver, and the decoding process includes: The signal receiver detects the low-level pilot code for frame synchronization, performs adaptive gain control on the signal, and then offsets the interference noise through bandpass filtering; Performing layered decoding to obtain a layered decoding result; The data is sent to the vibration feedback module and the visual feedback module based on the hierarchical decoding result.
10. The method according to claim 9, characterized in that The layered decoding includes: verifying data integrity, extracting weapon identification codes, and comparing preset arsenal parameters; applying a dynamic weighted algorithm to analyze damage values; adjusting the analysis accuracy based on the ambient light intensity and the material of the obstruction in the virtual scene parameters, and calling the atmospheric transmittance data set corresponding to the atmospheric model to calculate the real-time path loss through interpolation.
Citation Information
Patent Citations
Laser link loss calculating method under complex weather
CN102571202A
Wireless digital twin modeling and virtualization simulation testing method for data link communication equipment
CN118713768A
Laser weapon simulation system for combat scene simulation
CN119043080A
Mixed reality high-simulation battlefield first aid training platform and training method using same
US20230244299A1