WO2023216418A1 - Bow-and-arrow system for shooting simulation, and simulation method for arrow shooting - Google Patents

Bow-and-arrow system for shooting simulation, and simulation method for arrow shooting Download PDF

Info

Publication number
WO2023216418A1
WO2023216418A1 PCT/CN2022/107389 CN2022107389W WO2023216418A1 WO 2023216418 A1 WO2023216418 A1 WO 2023216418A1 CN 2022107389 W CN2022107389 W CN 2022107389W WO 2023216418 A1 WO2023216418 A1 WO 2023216418A1
Authority
WO
WIPO (PCT)
Prior art keywords
arrow
bow
speed
arrow shaft
angle
Prior art date
Application number
PCT/CN2022/107389
Other languages
French (fr)
Chinese (zh)
Inventor
曾胜财
Original Assignee
厦门青凤鸾智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 厦门青凤鸾智能科技有限公司 filed Critical 厦门青凤鸾智能科技有限公司
Publication of WO2023216418A1 publication Critical patent/WO2023216418A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F41WEAPONS
    • F41BWEAPONS FOR PROJECTING MISSILES WITHOUT USE OF EXPLOSIVE OR COMBUSTIBLE PROPELLANT CHARGE; WEAPONS NOT OTHERWISE PROVIDED FOR
    • F41B5/00Bows; Crossbows
    • F41B5/14Details of bows; Accessories for arc shooting
    • F41B5/1484Bows with special adaptations or devices for special purposes
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • A63F13/245Constructional details thereof, e.g. game controllers with detachable joystick handles specially adapted to a particular type of game, e.g. steering wheels

Definitions

  • the present invention relates to the field of shooting simulation, and in particular, to a bow and arrow system for simulating shooting and a simulation method for bow and arrow shooting.
  • a kind of bow and arrow product that simulates shooting which usually includes a bow and arrow device and a simulation device.
  • the simulation device simulates the flight trajectory of the arrow shaft and simulates the target effect, so that users can enjoy an experience close to real archery. without being restricted by occasion.
  • simulated shooting usually uses coarse-grained virtual simulation, and only performs rough empirical conversions based on the tension or pressure of the bow and arrow.
  • the principle is similar to the ancient soldiers who can shoot as far as the number of stones of the bow and arrow. Using this method is very inaccurate. It does not consider the quality of the arrow, the actual flight speed of the arrow, and the flight angle. It lacks authenticity and the effect of virtual simulation is not very good.
  • some use multi-point sampling, and even measure the force value and convert it into acceleration the sampling frequency is not high enough to accurately calculate the accurate data of acceleration, and in the calculation of converting acceleration into speed, due to insufficient sampling, The distortion of data is very serious, resulting in unreality of virtual reality and poor user experience.
  • Acceleration sensors are also used to test the acceleration of arrows and then calculate the speed of the arrow. This solution requires increasing the acceleration sampling frequency in order to restore the speed of the arrow as much as possible. After the acceleration per unit time is obtained, the integral accumulation algorithm can be used to finally obtain the speed value of the arrow. That is, the sampling frequency requirement is high and the calculation method is complicated; due to the performance limitations of the acceleration sensor, accurate data cannot be measured and will reach its Data cap for testing.
  • the angle of the arrow there are six-axis sensors or nine-axis sensors, which basically only use the sensor's three-axis accelerometer (measuring acceleration at the same time) and angular velocity sensor (ie: gyroscope) to measure the angle.
  • the focus is on acceleration and angular velocity; and because the sensor is not placed on the arrow or bowstring, the real acceleration is not measured.
  • Some real bows and arrows even have a longer range (the elasticity of the bowstring is relatively large), resulting in the acceleration sensor measurement Failure (basic measurement range exceeded).
  • the scene used is usually a flat game (X-Y axis)
  • it basically only uses the gyroscope to measure the angular velocity (Y-axis declination), without considering the elevation angle (spatial position) of the magnetic induction sensor (ie: electronic compass) based on the Z-axis. ), causing distortion in the simulation.
  • Traditional angle positioning requires the use of aurora gyroscopes or optical base stations or multi-pupil cameras to ensure that the angle is corrected during long-term use.
  • the usage scenarios are limited and require equipment and networks to be arranged in advance. It is not suitable for mobile application scenarios and greatly increases the hardware cost. difficulty and cost of use.
  • the main purpose of the present invention is to overcome the above-mentioned defects in the prior art and propose a bow and arrow shooting simulation system and a bow and arrow shooting simulation method, which greatly enhance the real effect and provide a better experience.
  • a simulated shooting bow and arrow system including a bow and arrow device and a simulation device.
  • the bow and arrow device is provided with a bow handle, a bow string, an arrow shaft and a cylinder. Both ends of the bow string are fixedly connected to both ends of the bow handle, and the cylinder is fixed to the bow handle. The middle part and one end of it are closed, the arrow shaft is slidably installed in the barrel, and the end is provided with a through hole for the bow wire to pass through, and the arrow shaft is provided with a number of induction grooves; it is characterized in that: the bow and arrow device also includes There is a speed sensor, an aiming sensor, a main control module and a data transmission device.
  • the speed sensor is installed on the cylinder to detect the induction groove information of the arrow shaft.
  • the aiming sensor is installed on the cylinder to detect the arrow shaft in real time.
  • Sensing data the main control module is connected to the speed sensor, aiming sensor and data transmission device to calculate the off-string speed and Euler angle data when off-string based on the sensing slot information and sensing data and send it to the simulation device; the simulation The device obtains the elevation angle of the arrow shaft based on the Euler angle data, corrects the elevation angle based on the off-string speed and the set target distance, and then simulates the flight path of the arrow shaft based on the off-string speed and the corrected elevation angle and determines the target position.
  • the speed sensor includes an infrared sensor.
  • the arrow shaft is provided with several induction slots near the end.
  • the infrared sensor is installed near the other end of the barrel to detect induction slot information.
  • the main control module is connected to the infrared sensor.
  • the sensors are connected to calculate the off-string speed based on the passage time and distance intervals of several induction slots; or, the speed sensor uses a Hall sensor, and the induction slot of the arrow shaft is equipped with a magnet, and the arrow is detected by the Hall sensor.
  • Sensing slot information of the rod the main control module is connected to the Hall sensor to calculate the string-off speed based on the passage time and distance interval of several sensing slots.
  • the aiming sensor adopts a nine-axis sensor or a six-axis sensor, a three-axis geomagnetic sensor or a three-axis acceleration sensor, a three-axis gyroscope and a three-axis geomagnetic sensor.
  • the Euler angle data includes a heading angle and a roll angle. and pitch angle.
  • the data transmission device is a Bluetooth module or a WIFI module or a radio frequency module.
  • the simulation device is a virtual reality device.
  • a simulation method for bow and arrow shooting characterized in that, applied to the bow and arrow system for simulated shooting, it includes the following steps:
  • the speed sensor detects the induction groove information of the arrow shaft, and the aiming sensor detects the sensing data of the arrow shaft.
  • the main control module calculates the string-leaving speed based on the passage time and distance interval of several induction grooves. According to the sensing The Euler angle data when leaving the string is obtained from the data and sent to the simulation device;
  • the simulation device obtains the elevation angle of the arrow shaft based on the Euler angle data, and corrects the elevation angle based on the off-string speed and the set target distance;
  • the simulation device simulates the flight trajectory of the arrow shaft based on the off-string speed and the corrected elevation angle, and determines the target position based on the coordinates of the bullseye.
  • the aiming sensor adopts a nine-axis fusion algorithm, uses the angle value of the gyroscope for calculation when the aiming sensor moves quickly, and combines the parameters of the geomagnetometer and accelerometer for correction when the aiming sensor moves at low speed. , while using neighborhood filtering and Kalman filtering to improve the bumps and stuttering during angle correction, to obtain the sensing data.
  • a 1/2 * g * ⁇ z ⁇ 2 / V ⁇ 2
  • b ⁇ z
  • c a – ⁇ y
  • ⁇ z is the difference between the starting coordinate and the bullseye coordinate on the Z axis
  • ⁇ z c1 - a1
  • ⁇ y is the difference between the starting coordinate and the bullseye coordinate on the Y axis
  • ⁇ y c2 - a2
  • g the acceleration due to gravity.
  • the flight trajectory of the arrow shaft is simulated according to the off-string speed and the corrected elevation angle as described in step 3), specifically: setting the starting coordinates (a1, a2) and target coordinates (b1, b2) of the arrow shaft ), the flight trajectory expression is as follows:
  • V is the off-string velocity of the arrow shaft
  • t is the flight time of the arrow shaft
  • angle is the corrected elevation angle
  • g is the acceleration of gravity.
  • a speed sensor, an aiming sensor, a main control module and a data transmission device are provided on the bow and arrow device.
  • the speed sensor detects the induction groove information of the arrow shaft
  • the aiming sensor detects the sensing data of the arrow shaft in real time.
  • the control module calculates the string-leaving speed and the Euler angle data when leaving the string based on the induction slot information and sensor data and sends it to the simulation device.
  • the simulation device obtains the elevation angle of the arrow shaft based on the Euler angle data, and calculates the arrow shaft elevation angle based on the string-leaving speed and the set value.
  • the elevation angle is corrected by fixing the target distance, and then the flight trajectory of the arrow shaft is simulated based on the off-string speed and the corrected elevation angle and the target position is determined, which greatly enhances the real effect and provides a better experience.
  • the speed sensor uses an infrared sensor.
  • the induction slot information is detected by the infrared sensor.
  • the main control module calculates the distance from the string based on the passage time and distance interval of the several induction slots.
  • Speed the off-string speed calculated by this direct measurement is the true flight speed of the arrow shaft.
  • the data is accurate and lays a good data foundation for the subsequent flight trajectory algorithm; when applied in the market, there is no need to add any traces on the bowstring or arrow shaft. Add other auxiliary sensor accessories to avoid user discomfort during operation and defects caused by collisions during arrow recovery.
  • infrared sensors are cheap, low-cost, cost-effective, and have obvious economic effects.
  • the aiming sensor uses a nine-axis sensor to obtain the aiming angle data corresponding to the moment when the arrow shaft leaves the string, and uses a nine-axis fusion algorithm to calculate the angle value of the gyroscope when the aiming sensor moves quickly, and when the aiming sensor moves at a low speed,
  • the parameters of the geomagnetometer and accelerometer are combined for correction, and neighborhood filtering and Kalman filtering are used to improve the bumpy and stuck sensor data during angle correction, reducing hardware costs and installation difficulty.
  • the simulation device of the present invention can adjust the angle of the arrow according to the shape of the arrow shaft.
  • the off-string speed and the set target distance automatically calculate the elevation correction value to correct the elevation angle, thereby simulating the true flight trajectory of the arrow shaft, which greatly enhances the real effect and can be used as a simulator for professional training.
  • Figure 1 is a structural diagram of the bow and arrow device of the present invention
  • Figure 2 is a partial enlarged view of Figure 1;
  • FIG. 3 is the system module diagram of the present invention
  • Figure 5 is an exploded view of the actual flight angle of the arrow shaft of the present invention.
  • Figure 6 is a schematic diagram (10 meters) of the simulated flight trajectory of the simulation device of the present invention.
  • Figure 7 is a schematic diagram of the simulated flight trajectory (20 meters) of the simulation device of the present invention.
  • Figure 8 is a schematic diagram of the simulated flight trajectory of the simulation device of the present invention (30 meters);
  • connection should be understood in a broad sense.
  • connection or integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediary; it can also be an internal connection between two components; it can be a wireless connection or a wired connection connect.
  • connection or integral connection
  • connection or integral connection
  • connection can be a mechanical connection or an electrical connection
  • it can be a direct connection or an indirect connection through an intermediary
  • it can also be an internal connection between two components
  • it can be a wireless connection or a wired connection connect.
  • plural means two or more unless otherwise specified.
  • “And/or” describes the association of associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character “/” generally indicates that the related objects are an "or” relationship.
  • a simulated shooting bow and arrow system includes a bow and arrow device and a simulation device 90.
  • the bow and arrow device is provided with a bow handle 10, a bow string 20, an arrow shaft 30, a cylinder 40, a speed sensor 50, and an aiming sensor 60. , main control module 70 and data transmission device 80, etc. Both ends of the bow string 20 are fixedly connected to both ends of the bow handle 10 .
  • the cylinder 40 is fixed at the middle part of the bow handle 10. It is a hollow structure with one end closed and an opening provided at the other end.
  • the arrow shaft 30 is slidably installed in the barrel 40, and its end is located outside the barrel 40 and is provided with a through hole 32 for the bow wire to pass through.
  • the arrow shaft 30 is provided with a plurality of induction grooves 31 near the end. The induction grooves 31 are arranged along the length direction of the arrow shaft 30 .
  • the speed sensor 50 is installed on the barrel 40 to detect the induction groove information of the arrow shaft 30 .
  • the speed sensor 50 includes an infrared sensor.
  • the infrared sensor can be fixed on the cylinder 40 through the shell and is close to the other end of the cylinder 40.
  • a corresponding hole is provided on the cylinder 40 to make way for the infrared sensor.
  • the transmitting end and the receiving end are arranged toward the inside of the barrel 40.
  • the transmitting end is used to emit infrared light to the arrow shaft 30 respectively, and the receiving end is used to receive the reflected signal.
  • the emitted signal is the trigger level, which becomes a standard high and low level after being shaped by the comparison circuit. signal, the accuracy of the feedback time interval reaches 0.01ms.
  • the outer periphery of the induction groove 31 on the arrow shaft 30 is coated with a color or substance that can absorb infrared light, such as black. That is, when the infrared light emitted by the infrared sensor hits the induction slot 31, it can be absorbed, and the receiving end cannot receive the reflected signal, thereby realizing the detection of the induction slot 31.
  • the number and distance of the induction slots 31 can be set as needed.
  • the number can be two, three or even more, preferably three.
  • the speed sensor 50 can also use a Hall sensor, and a magnet can be provided in the induction groove 31 of the arrow shaft 30.
  • the Hall sensor can detect the time point when each induction groove 31 of the arrow shaft 30 passes.
  • the off-string velocity is calculated in the same way as for infrared sensors.
  • This invention uses an infrared sensor to detect speed, instead of performing indirect conversion based on the measured force, and does not need to use the mass of the arrow shaft to convert acceleration; it also avoids high-frequency sampling of acceleration and converts it into speed through time integration, using this direct measurement.
  • the data obtained by this method are more accurate and cost-effective, laying a good data foundation for subsequent flight trajectory algorithms.
  • the aiming sensor 60 is installed on the barrel 40 to detect the sensing data of the arrow shaft 30 in real time. Specifically, the aiming sensor 60 uses a nine-axis sensor to obtain X-Y-Z axis data, which may include three-axis acceleration, three-axis angular velocity, three-axis magnetic field data, etc., and obtains corresponding aiming angle data at the moment the arrow shaft 30 leaves the string, as Subsequent flight trajectory calculation provides real angle information. In practical applications, the aiming sensor can also use a six-axis sensor and a three-axis geomagnetic sensor, or a three-axis acceleration sensor, a three-axis gyroscope, and a three-axis geomagnetic sensor.
  • the deviation of the origin position of the magnetic induction sensor caused by the different geomagnetism of users around the world is taken into account (that is, the reset of the electronic compass to ensure that it can be recalibrated at different positions).
  • the velocity in the vertical direction can be decomposed through the angle of elevation. In this way, during the flight of the arrow, there will be a perfect parabolic flight trajectory, which more realistically reflects the effect of the arrow being shot out. Virtual reality (simulation) ) effect can be achieved.
  • the main control module 70 is connected to the speed sensor 50, the aiming sensor 60 and the data transmission device 80. It can calculate the string-leaving speed according to the time interval when the infrared sensor detects the adjacent sensing slots 31 and the distance interval between the adjacent sensing slots 31. And the Euler angle data is obtained after processing according to the sensing data detected by the aiming sensor 60 , and the off-string velocity and Euler angle data are sent to the simulation device 90 through the data transmission device 80 .
  • the main control module 70 can use STM32, and the Euler angle data can include heading angle, roll angle, pitch angle, etc.
  • the data transmission device 80 is a Bluetooth module, a WIFI module, a radio frequency module, etc., preferably a Bluetooth module (BK3431q).
  • the simulation device 90 obtains the elevation angle of the arrow shaft 30 based on the Euler angle data, corrects the elevation angle based on the off-string speed and the set target distance, and then simulates and determines the flight path of the arrow shaft 30 based on the off-string speed and the corrected elevation angle. Target location.
  • the simulation device 90 of the present invention is a virtual reality device (VR), which can receive relevant data sent from the data transmission device 80 and use Unity3d to simulate the flight trajectory of the arrow shaft 30 through the off-string speed and the corrected elevation angle.
  • VR virtual reality device
  • the present invention also proposes a bow and arrow shooting simulation method, which is applied to the above-mentioned bow and arrow simulation shooting system. See Figure 4, which includes the following steps:
  • the speed sensor 50 is used to detect the induction groove 31 of the arrow shaft 30, and the aiming sensor 60 is used to detect the sensing data of the arrow shaft 30 in real time.
  • the main control module 70 calculates it based on the passage time and distance interval of several induction grooves 31.
  • the Euler angle data when leaving the string is obtained according to the sensing data and sent to the simulation device 90;
  • the aiming sensor 60 adopts a nine-axis fusion algorithm. When the aiming sensor 60 moves quickly, it uses the angle value of the gyroscope for calculation, and when the aiming sensor 60 moves at a low speed, it combines the parameters of the geomagnetometer and accelerometer for correction. It also uses neighborhood filtering and Kalman filtering is used to improve the bumps and stucks during angle correction to obtain sensing data.
  • the main control module 70 processes the sensing data to obtain Euler angle data, including heading angle, roll angle, pitch angle, etc.
  • Kalman filtering is an algorithm that allows the obtained data to continuously approach the actual data. It mainly fuses the state variables with the observed variables to obtain data close to the real data, and then uses it as the state variable of the next process, and then combines it with the state variable of the next process. The observed variables are fused, and so on, the final data will be very close to the real data.
  • Neighborhood filtering Smoothing filtering in the spatial domain is generally performed using the simple averaging method, which is to find the average brightness value of adjacent pixel points.
  • the size of the neighborhood is directly related to the smoothing effect. The larger the neighborhood, the better the smoothing effect. However, if the neighborhood is too large, the smoothing will cause greater loss of edge information, thus making the output image blurred, so it needs to be selected appropriately. The size of the neighborhood.
  • the present invention uses a nine-axis sensor to measure and calculate the flight angle of the arrow shaft, and uses an accelerometer to detect the direction of gravity; and then uses an accelerometer and a gyroscope to obtain a more accurate inclination of the equipment and the ground plane, where acceleration has a significant impact on general vibration and Mechanical noise is very sensitive, and a gyroscope is used to smooth the output of the accelerometer; however, the gyroscope accumulates errors, and a magnetometer is used to correct the problem that the axial data perpendicular to the ground always drifts.
  • the simulation device 90 obtains the elevation angle of the arrow shaft 30 based on the Euler angle data, and corrects the elevation angle based on the off-string speed and the set target distance.
  • vector R is the true flight angle of arrow shaft 30 as detected by aiming sensor 60.
  • the X-axis is the horizontal direction
  • the Y-axis is the direction perpendicular to the horizontal direction
  • the Z-axis is the axial direction.
  • X, Y, and Z are the angles between the vector R and the X, Y, and Z axes respectively
  • Rx, Ry, and Rz are the projections of the vector R on the X, Y, and Z axes, respectively.
  • Rxz is the projection of the vector R on the XZ plane
  • Ryz is the upper projection of the vector R on the YZ plane
  • Rxy is the upper projection of the inertial force vector R on the XY plane.
  • Ayz is the angle between the projection Ryz of the vector R on the YZ plane and the Z axis
  • Axz is the angle between the projection Rxz of the vector R on the XZ plane and the Z axis.
  • the Y-axis is the direction perpendicular to the horizontal direction, which is the horizontal flight direction of the arrow
  • the Z-axis is the axial direction, which is the vertical flight direction of the arrow.
  • the simulation device 90 can automatically calculate the elevation correction value according to the off-string speed of the arrow shaft 30 and the set target distance to correct the elevation angle.
  • the angle correction value angle2 is calculated based on the off-string velocity and the set target distance, and then the angle correction value is The angle2 and the elevation angle angle1 are superimposed to obtain the corrected elevation angle.
  • angle angle1+angle2.
  • Vz V* cos(angle2)
  • Vy V* sin(angle2)
  • ⁇ z is the coordinate difference between the starting coordinate and the target coordinate on the z-axis
  • ⁇ y is the coordinate difference between the starting coordinate and the target coordinate on the Y-axis
  • Vz is the velocity component of V in the Z-axis direction
  • Vy is V is the velocity component in the Y-axis direction
  • g is the acceleration due to gravity.
  • the simulation device 90 simulates the flight trajectory of the arrow shaft 30 based on the off-string speed and the corrected elevation angle and determines the target position in combination with the coordinates of the bullseye.
  • the flight trajectory of the arrow shaft 30 is simulated based on the off-string speed and the corrected elevation angle, specifically: setting the starting coordinates (a1, a2) and the target coordinates (b1, b2) of the arrow shaft 30, there is the following relationship:
  • Vy V* sin(angle)
  • Vy * t + 1/2 * g * t ⁇ 2 ⁇ y
  • V is the off-string speed of the arrow shaft 30
  • Vz is the component of the off-string speed V on the z-axis
  • Vy is the component of the off-string speed V on the y-axis
  • t is the flight time of the arrow shaft 30
  • angle is the corrected elevation angle.
  • g is the acceleration due to gravity.
  • the simulation device 90 simulates the flight trajectory of the arrow shaft 30, and then associates it with the target coordinates (such as a target, etc.) in the space scene to obtain the target position and create the effect of the arrow shaft 30 flying and hitting the target.
  • the simulation device of the present invention is also equipped with a network interaction function, so that the user can have an archery competition with friends across space at any place.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Gyroscopes (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

A bow-and-arrow system for shooting simulation, and a simulation method for arrow shooting. The bow-and-arrow system comprises a bow-and-arrow apparatus and a simulation apparatus (90). The bow-and-arrow apparatus is provided with a bow grip (10), a bowstring (20), an arrow shaft (30) and a cylinder body (40), wherein the arrow shaft (30) slidably passes through the cylinder body (40), and the tail end of the arrow shaft (30) is provided with a through hole (32) for the bowstring (20) to pass through; and the arrow shaft (30) is provided with several sensing grooves (31). The bow-and-arrow apparatus further comprises a speed measurement sensor (50), a sighting sensor (60), a main control module (70) and a data transmission apparatus (80), wherein the speed measurement sensor (50) detects information of the sensing grooves (31) in the arrow shaft (30); the sighting sensor (60) detects sensing data of the arrow shaft (30) in real time; and the main control module (70) respectively performs calculation according to the information of the sensing grooves (31) and the sensing data, so as to obtain the speed of the arrow shaft (30) when leaving the bowstring (20) and Euler angle data when the arrow shaft (30) leaves the string, and sends said speed and the Euler angle data to the simulation apparatus (90). The simulation apparatus (90) obtains an elevation angle of the arrow shaft (30) according to the Euler angle data, corrects the elevation angle according to said speed and a set range, then simulates the flight trajectory of the arrow shaft (30) according to said speed and the corrected elevation angle, and determines a hit position on a target.

Description

一种仿真射击的弓箭系统和弓箭射击的仿真方法A bow and arrow shooting simulation system and a bow and arrow shooting simulation method 技术领域Technical field
本发明涉及射击仿真领域,特别是指一种仿真射击的弓箭系统和弓箭射击的仿真方法。The present invention relates to the field of shooting simulation, and in particular, to a bow and arrow system for simulating shooting and a simulation method for bow and arrow shooting.
背景技术Background technique
目前,市场上的射箭体验,需要通过特定的场地和设备才可以体验到射箭训练的乐趣,这给人们带来了一定的不便,为了让人们可以在不同场合进行射箭娱乐和训练,出现了一种模拟射击的弓箭产品,其通常包括弓箭装置和仿真装置,通过采集弓箭装置的相关参数经仿真装置仿真箭杆的飞行轨迹并模拟中靶效果,使得用户既可以享受到接近于真实射箭的体验而不受场合的限制。Currently, the archery experience on the market requires specific venues and equipment to experience the fun of archery training, which brings some inconvenience to people. In order to allow people to have archery entertainment and training on different occasions, a new method has emerged. A kind of bow and arrow product that simulates shooting, which usually includes a bow and arrow device and a simulation device. By collecting relevant parameters of the bow and arrow device, the simulation device simulates the flight trajectory of the arrow shaft and simulates the target effect, so that users can enjoy an experience close to real archery. without being restricted by occasion.
目前,模拟射击通常采用粗粒度的虚拟仿真,只在弓箭的拉力或者压力基础上进行粗略的凭经验的换算,原理类似古代的士兵可以拉开多少石的弓箭,就可以射多远的距离。采用这种方式是非常不准确的,它并没有考量箭矢的质量和箭矢真实的飞行速度以及飞行仰角等,欠缺了真实性,虚拟仿真的效果不是很好。有的虽然采用了多点采样,甚至测算力量值并转换为加速度,但由于采样的频率不够高,无法精确计算出加速度的准确数据,以及在加速度转换为速度的计算方面,由于采样的不够导致数据的失真很严重,造成虚拟现实的不真实性,用户体验感差。 At present, simulated shooting usually uses coarse-grained virtual simulation, and only performs rough empirical conversions based on the tension or pressure of the bow and arrow. The principle is similar to the ancient soldiers who can shoot as far as the number of stones of the bow and arrow. Using this method is very inaccurate. It does not consider the quality of the arrow, the actual flight speed of the arrow, and the flight angle. It lacks authenticity and the effect of virtual simulation is not very good. Although some use multi-point sampling, and even measure the force value and convert it into acceleration, the sampling frequency is not high enough to accurately calculate the accurate data of acceleration, and in the calculation of converting acceleration into speed, due to insufficient sampling, The distortion of data is very serious, resulting in unreality of virtual reality and poor user experience.
也有采用加速度传感器来测试箭的加速度,再推算出箭的速度。这种方案需增加加速度的采样频率,才能尽可能的还原出箭的速度。待得到单位时间的加速度后,可使用积分累加算法最终得出箭的速度值,即采样频率要求较高,计算方法比较复杂;由于加速度传感器的性能限制,无法测得准确的数据,会达到其测试的数据上限。Acceleration sensors are also used to test the acceleration of arrows and then calculate the speed of the arrow. This solution requires increasing the acceleration sampling frequency in order to restore the speed of the arrow as much as possible. After the acceleration per unit time is obtained, the integral accumulation algorithm can be used to finally obtain the speed value of the arrow. That is, the sampling frequency requirement is high and the calculation method is complicated; due to the performance limitations of the acceleration sensor, accurate data cannot be measured and will reach its Data cap for testing.
技术问题technical problem
在获取箭矢的角度方面,有使用六轴传感器或九轴传感器,其基本都只使用了传感器的三轴加速度计(同时测量加速度)和角速度传感器(即:陀螺仪),用于测量角度,关注的重点是加速度和角速度;并且由于传感器并没有放在箭矢上或者弓弦上,并未测量到真实的加速度,甚至有的真实弓箭的射程比较远(弓弦的弹力比较大),导致加速度传感器测量失败(超过基本测量的量程)。再者,由于使用的场景通常是平面的游戏(X-Y 轴),所以基本只是利用陀螺仪测角速度(Y 轴偏角),没有考量磁感应传感器(即:电子罗盘)基于 Z 轴的仰角(空间位置),使得仿真存在失真。传统的角度定位需要用到极光陀螺仪或者光学基站或者多瞳摄像头,才能保证长时间使用中的角度得到校正,使用场景有限,需要提前布置设备和网络,不适合移动应用场景,大大增加了硬件的使用难度以及成本。In terms of obtaining the angle of the arrow, there are six-axis sensors or nine-axis sensors, which basically only use the sensor's three-axis accelerometer (measuring acceleration at the same time) and angular velocity sensor (ie: gyroscope) to measure the angle. The focus is on acceleration and angular velocity; and because the sensor is not placed on the arrow or bowstring, the real acceleration is not measured. Some real bows and arrows even have a longer range (the elasticity of the bowstring is relatively large), resulting in the acceleration sensor measurement Failure (basic measurement range exceeded). Furthermore, since the scene used is usually a flat game (X-Y axis), it basically only uses the gyroscope to measure the angular velocity (Y-axis declination), without considering the elevation angle (spatial position) of the magnetic induction sensor (ie: electronic compass) based on the Z-axis. ), causing distortion in the simulation. Traditional angle positioning requires the use of aurora gyroscopes or optical base stations or multi-pupil cameras to ensure that the angle is corrected during long-term use. The usage scenarios are limited and require equipment and networks to be arranged in advance. It is not suitable for mobile application scenarios and greatly increases the hardware cost. difficulty and cost of use.
技术解决方案Technical solutions
本发明的主要目的在于克服现有技术中的上述缺陷,提出一种仿真射击的弓箭系统和弓箭射击的仿真方法,大大增强了真实效果,体验感更佳。 The main purpose of the present invention is to overcome the above-mentioned defects in the prior art and propose a bow and arrow shooting simulation system and a bow and arrow shooting simulation method, which greatly enhance the real effect and provide a better experience.
本发明采用如下技术方案:The present invention adopts the following technical solutions:
一种仿真射击的弓箭系统,包括弓箭装置和仿真装置,该弓箭装置设有弓柄、弓弦、箭杆和筒体,该弓弦两端与弓柄两端固定连接,该筒体固定于弓柄中部且其一端封闭,该箭杆可滑动地穿设于筒体内且其末端设有通孔以供弓线穿过,箭杆上设有若干感应槽;其特征在于:所述弓箭装置还包括有测速传感器、瞄准传感器、主控模块和数据传输装置,该测速传感器安装于筒体上以检测所述箭杆的感应槽信息,该瞄准传感器安装于筒体上以实时检测所述箭杆的传感数据,该主控模块与测速传感器、瞄准传感器和数据传输装置相连以根据感应槽信息和传感数据计算得到离弦速度和离弦时的欧拉角数据并发送至仿真装置;该仿真装置根据欧拉角数据得到箭杆的仰角,并根据离弦速度和设定靶距对仰角进行修正,再根据离弦速度和修正后的仰角仿真箭杆的飞行轨迹并确定中靶位置。 A simulated shooting bow and arrow system, including a bow and arrow device and a simulation device. The bow and arrow device is provided with a bow handle, a bow string, an arrow shaft and a cylinder. Both ends of the bow string are fixedly connected to both ends of the bow handle, and the cylinder is fixed to the bow handle. The middle part and one end of it are closed, the arrow shaft is slidably installed in the barrel, and the end is provided with a through hole for the bow wire to pass through, and the arrow shaft is provided with a number of induction grooves; it is characterized in that: the bow and arrow device also includes There is a speed sensor, an aiming sensor, a main control module and a data transmission device. The speed sensor is installed on the cylinder to detect the induction groove information of the arrow shaft. The aiming sensor is installed on the cylinder to detect the arrow shaft in real time. Sensing data, the main control module is connected to the speed sensor, aiming sensor and data transmission device to calculate the off-string speed and Euler angle data when off-string based on the sensing slot information and sensing data and send it to the simulation device; the simulation The device obtains the elevation angle of the arrow shaft based on the Euler angle data, corrects the elevation angle based on the off-string speed and the set target distance, and then simulates the flight path of the arrow shaft based on the off-string speed and the corrected elevation angle and determines the target position.
优选的,所述测速传感器包括红外传感器,所述箭杆靠近末端设有若干个感应槽,该红外传感器安装于靠近所述筒体另一端的位置以检测感应槽信息,该主控模块与红外传感器相连以根据若干个感应槽通过的时长以及距离间隔计算得到所述离弦速度;或者,所述测速传感器采用霍尔传感器,所述箭杆的感应槽设有磁铁,通过霍尔传感器检测箭杆的感应槽信息, 所述主控模块与霍尔传感器相连以根据若干个感应槽通过的时长以及距离间隔计算得到所述离弦速度。 Preferably, the speed sensor includes an infrared sensor. The arrow shaft is provided with several induction slots near the end. The infrared sensor is installed near the other end of the barrel to detect induction slot information. The main control module is connected to the infrared sensor. The sensors are connected to calculate the off-string speed based on the passage time and distance intervals of several induction slots; or, the speed sensor uses a Hall sensor, and the induction slot of the arrow shaft is equipped with a magnet, and the arrow is detected by the Hall sensor. Sensing slot information of the rod, the main control module is connected to the Hall sensor to calculate the string-off speed based on the passage time and distance interval of several sensing slots.
优选的,所述瞄准传感器采用九轴传感器或六轴传感器和三轴地磁传感器或三轴加速度传感器、三轴陀螺仪和三轴地磁传感器,所述欧拉角数据包括有航向角、横滚角和俯仰角。 Preferably, the aiming sensor adopts a nine-axis sensor or a six-axis sensor, a three-axis geomagnetic sensor or a three-axis acceleration sensor, a three-axis gyroscope and a three-axis geomagnetic sensor. The Euler angle data includes a heading angle and a roll angle. and pitch angle.
优选的,所述数据传输装置为蓝牙模块或 WIFI 模块或射频模块。 Preferably, the data transmission device is a Bluetooth module or a WIFI module or a radio frequency module.
优选的,所述仿真装置为虚拟现实设备。 Preferably, the simulation device is a virtual reality device.
一种弓箭射击的仿真方法,其特征在于,应用于所述的一种仿真射击的弓箭系统中,包括如下步骤: A simulation method for bow and arrow shooting, characterized in that, applied to the bow and arrow system for simulated shooting, it includes the following steps:
1)射箭时,通过测速传感器检测箭杆的感应槽信息,通过瞄准传感器检测箭杆的传感数据,主控模块根据若干个感应槽通过的时长以及距离间隔计算得到离弦速度,根据传感数据得到离弦时的欧拉角数据并发送至仿真装置; 1) When shooting an arrow, the speed sensor detects the induction groove information of the arrow shaft, and the aiming sensor detects the sensing data of the arrow shaft. The main control module calculates the string-leaving speed based on the passage time and distance interval of several induction grooves. According to the sensing The Euler angle data when leaving the string is obtained from the data and sent to the simulation device;
2)仿真装置根据欧拉角数据得到箭杆的仰角,并根据离弦速度和设定的靶距对仰角进行修正;2) The simulation device obtains the elevation angle of the arrow shaft based on the Euler angle data, and corrects the elevation angle based on the off-string speed and the set target distance;
3)仿真装置根据离弦速度和修正后的仰角仿真箭杆的飞行轨迹并结合靶心的坐标确定中靶位置。 3) The simulation device simulates the flight trajectory of the arrow shaft based on the off-string speed and the corrected elevation angle, and determines the target position based on the coordinates of the bullseye.
优选的,步骤 1)中,所述瞄准传感器采用九轴融合算法,在瞄准传感器快速移动时采用陀螺仪的角度值进行运算,并在瞄准传感器低速运动中结合地磁计和加速计的参数进行校正,同时采用邻域滤波以及卡尔曼滤波来改进角度校正时的颠簸卡顿,得到所述传感数据。 Preferably, in step 1), the aiming sensor adopts a nine-axis fusion algorithm, uses the angle value of the gyroscope for calculation when the aiming sensor moves quickly, and combines the parameters of the geomagnetometer and accelerometer for correction when the aiming sensor moves at low speed. , while using neighborhood filtering and Kalman filtering to improve the bumps and stuttering during angle correction, to obtain the sensing data.
优选的,步骤 2)中,所述根据离弦速度和设定的靶距对仰角进行修正,具体为根据离弦速度和设定的靶距计算角度修正值 angle2,再将角度修正值 angle2 与仰角 angle1 叠加得到所述修正后的仰角 angle=angle1+angle2。 Preferably, in step 2), the elevation angle is corrected based on the off-string speed and the set target distance, specifically calculating the angle correction value based on the off-string speed and the set target distance. angle2, and then compare the angle correction value angle2 with the elevation angle angle1 is superimposed to obtain the corrected elevation angle angle=angle1+angle2.
优选的,设定箭杆的起始坐标(a1,a2),靶心坐标(c1,c2),箭杆的离弦速度为 V,根据下式求解所述角度修正值 angle2: Preferably, set the starting coordinates of the arrow shaft (a1, a2), the bullseye coordinates (c1, c2), the off-string speed of the arrow shaft as V, and solve the angle correction value angle2 according to the following formula:
tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a)tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a)
其中, a = 1/2 * g *Δz^2 / V^2,b = Δz,c = a –Δy,Δz 为起始坐标和靶心坐标在 Z 轴上的差值且Δz = c1 - a1,Δy 为起始坐标和靶心坐标在 Y 轴上的差值Δy = c2 - a2,g 为重力加速度。 Where, a = 1/2 * g *Δz^2 / V^2, b = Δz, c = a –Δy, Δz is the difference between the starting coordinate and the bullseye coordinate on the Z axis and Δz = c1 - a1, Δy is the difference between the starting coordinate and the bullseye coordinate on the Y axis Value Δy = c2 - a2, g is the acceleration due to gravity.
优选的,步骤 3)中所述根据离弦速度和修正后的仰角仿真所述箭杆的飞行轨迹,具体为:设定箭杆的起始坐标(a1,a2),目标坐标(b1,b2),飞行轨迹表达式参见如下: Preferably, the flight trajectory of the arrow shaft is simulated according to the off-string speed and the corrected elevation angle as described in step 3), specifically: setting the starting coordinates (a1, a2) and target coordinates (b1, b2) of the arrow shaft ), the flight trajectory expression is as follows:
b1 = Vz * t + a1b1 = Vz * t + a1
b2 = Vy * t + 1/2 * g * t^2 + a2b2 = Vy * t + 1/2 * g * t^2 + a2
其中,Vz 为离弦速度 V 在 z 轴上分量且 Vz = V * cos(angle),Vy 离弦速度 V 在 y 轴上分量且 Vy = V * sin(angle),V 为箭杆的离弦速度,t 为箭杆飞行的时间,angle 为修正后的仰角,g 为重力加速度。Where, Vz is the component of the off-string velocity V on the z-axis and Vz = V * cos(angle), Vy is the component of the off-string velocity V on the y-axis and Vy = V * sin(angle), V is the off-string velocity of the arrow shaft, t is the flight time of the arrow shaft, angle is the corrected elevation angle, and g is the acceleration of gravity.
有益效果beneficial effects
由上述对本发明的描述可知,与现有技术相比,本发明具有如下有益效果:  From the above description of the present invention, it can be seen that compared with the prior art, the present invention has the following beneficial effects:
1、本发明中,在弓箭装置上设置测速传感器、瞄准传感器、主控模块和数据传输装置, 通过测速传感器检测所述箭杆的感应槽信息,瞄准传感器实时检测箭杆的传感数据,主控模块根据感应槽信息和传感数据计算得到离弦速度和离弦时的欧拉角数据并发送至仿真装置, 仿真装置根据欧拉角数据得到箭杆的仰角,并根据离弦速度和设定靶距对仰角进行修正,再根据离弦速度和修正后的仰角仿真箭杆的飞行轨迹并确定中靶位置,大大增强了真实效果, 体验感更佳。 1. In the present invention, a speed sensor, an aiming sensor, a main control module and a data transmission device are provided on the bow and arrow device. The speed sensor detects the induction groove information of the arrow shaft, and the aiming sensor detects the sensing data of the arrow shaft in real time. The control module calculates the string-leaving speed and the Euler angle data when leaving the string based on the induction slot information and sensor data and sends it to the simulation device. The simulation device obtains the elevation angle of the arrow shaft based on the Euler angle data, and calculates the arrow shaft elevation angle based on the string-leaving speed and the set value. The elevation angle is corrected by fixing the target distance, and then the flight trajectory of the arrow shaft is simulated based on the off-string speed and the corrected elevation angle and the target position is determined, which greatly enhances the real effect and provides a better experience.
2、本发明中,测速传感器采用红外传感器,箭杆靠近末端设有若干个感应槽,通过红外传感器检测感应槽信息,该主控模块根据若干个感应槽通过的时长以及距离间隔计算得到离弦速度,采用这种直接测量计算得到的离弦速度即为箭杆的真实飞行速度,数据准确,为后续的飞行轨迹算法奠定了良好的数据基础;在市场应用时,无需在弓弦或箭杆上增加其它辅助传感器配件,避免造成用户操作时的不适和箭杆飞行回收时的碰撞导致的不良,且红外传感器价格低廉,成本低,性价比高,经济效果明显。 2. In the present invention, the speed sensor uses an infrared sensor. There are several induction slots near the end of the arrow shaft. The induction slot information is detected by the infrared sensor. The main control module calculates the distance from the string based on the passage time and distance interval of the several induction slots. Speed, the off-string speed calculated by this direct measurement is the true flight speed of the arrow shaft. The data is accurate and lays a good data foundation for the subsequent flight trajectory algorithm; when applied in the market, there is no need to add any traces on the bowstring or arrow shaft. Add other auxiliary sensor accessories to avoid user discomfort during operation and defects caused by collisions during arrow recovery. In addition, infrared sensors are cheap, low-cost, cost-effective, and have obvious economic effects.
3、本发明中,瞄准传感器采用九轴传感器获取箭杆离弦瞬间对应的瞄准角度数据,利用九轴融合算法在瞄准传感器快速移动时采用陀螺仪的角度值进行运算,并在瞄准传感器低速运动中结合地磁计和加速计的参数进行校正,同时采用邻域滤波以及卡尔曼滤波来改进角度校正时的颠簸卡顿得到传感数据,降低硬件成本和安装难度。 3. In the present invention, the aiming sensor uses a nine-axis sensor to obtain the aiming angle data corresponding to the moment when the arrow shaft leaves the string, and uses a nine-axis fusion algorithm to calculate the angle value of the gyroscope when the aiming sensor moves quickly, and when the aiming sensor moves at a low speed, The parameters of the geomagnetometer and accelerometer are combined for correction, and neighborhood filtering and Kalman filtering are used to improve the bumpy and stuck sensor data during angle correction, reducing hardware costs and installation difficulty.
4、真实射箭中,在不同箭速,不同靶距下弓箭射出时的仰角都不一样,用户需要调整瞄准器以对准靶心,本发明为了模拟真实的射箭体验,仿真装置可根据箭杆的离弦速度和设定的靶距自动计算仰角修正值以对仰角进行修正,从而模拟出箭杆真实的飞行轨迹,大大增强了真实效果,且可作为专业训练的模拟器。4. In real archery, the elevation angles of bows and arrows when shot are different at different arrow speeds and target distances. The user needs to adjust the sight to align with the bullseye. In order to simulate a real archery experience, the simulation device of the present invention can adjust the angle of the arrow according to the shape of the arrow shaft. The off-string speed and the set target distance automatically calculate the elevation correction value to correct the elevation angle, thereby simulating the true flight trajectory of the arrow shaft, which greatly enhances the real effect and can be used as a simulator for professional training.
附图说明Description of the drawings
图 1 为本发明弓箭装置结构图; Figure 1 is a structural diagram of the bow and arrow device of the present invention;
图 2 为图 1 的局部放大图;Figure 2 is a partial enlarged view of Figure 1;
图 3 为本发明系统模块图Figure 3 is the system module diagram of the present invention
图 4 本发明方法流程图; Figure 4 Flow chart of the method of the present invention;
图 5 为本发明箭杆真实飞行角度分解图; Figure 5 is an exploded view of the actual flight angle of the arrow shaft of the present invention;
图 6 为本发明仿真装置的模拟的飞行轨迹示意图(10 米);Figure 6 is a schematic diagram (10 meters) of the simulated flight trajectory of the simulation device of the present invention;
图 7 为本发明仿真装置的模拟的飞行轨迹示意图(20 米);Figure 7 is a schematic diagram of the simulated flight trajectory (20 meters) of the simulation device of the present invention;
图 8 本发明仿真装置的模拟的飞行轨迹示意图(30 米);Figure 8 is a schematic diagram of the simulated flight trajectory of the simulation device of the present invention (30 meters);
其中: in:
10、弓柄,20、弓弦,30、箭杆,31、感应槽,32、通孔,40、筒体,50、测速传感器,60、瞄准传感器,70、主控模块,80、数据传输装置,90、仿真装置。 10. Bow handle, 20. Bow string, 30. Arrow shaft, 31. Sensing groove, 32. Through hole, 40. Cylinder, 50. Speed sensor, 60. Aiming sensor, 70. Main control module, 80. Data transmission device ,90. Simulation device.
以下结合附图和具体实施例对本发明作进一步详述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明的实施方式Embodiments of the invention
以下通过具体实施方式对本发明作进一步的描述。 The present invention will be further described below through specific embodiments.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。 In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description. It does not indicate or imply that the device or element referred to must have a specific orientation or a specific orientation. construction and operation, and therefore should not be construed as limitations of the invention. Furthermore, the terms “first”, “second” and “third” are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。 In the description of the present invention, it should be noted that, unless otherwise clearly stated and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, it can be a fixed connection or a detachable connection. Connection, or integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediary; it can also be an internal connection between two components; it can be a wireless connection or a wired connection connect. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
在本发明中的描述中,需要说明的是,术语“上”、“下”、“一侧”、“另一侧”、“一端”、“另一端”、“边”、“相对”、“四角”、“周边”、““口”字结构”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的结构具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。 In the description of the present invention, it should be noted that the terms "upper", "lower", "one side", "other side", "one end", "other end", "side", "opposite", The orientations or positional relationships indicated by "four corners", "periphery", "mouth" structure, etc. are based on the orientations or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying. The structures referred to have a specific orientation, are constructed and operate in a specific orientation and are therefore not to be construed as limitations of the invention.
另外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”, 描述关联对象的关联关系,表示可以存在三种关系,例如,A 和/或 B,可以表示:单独存在A,同时存在 A 和 B,单独存在 B 这三种情况。字符“/”一般表示前后关联对象是一种“或” 的关系。 In addition, in the description of this application, "plurality" means two or more unless otherwise specified. "And/or" describes the association of associated objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the related objects are an "or" relationship.
参见图 1-图 3,一种仿真射击的弓箭系统,包括弓箭装置和仿真装置 90,该弓箭装置设有弓柄 10、弓弦 20、箭杆 30、筒体 40、测速传感器 50、瞄准传感器 60、主控模块 70 和数据传输装置 80 等。该弓弦 20 两端与弓柄 10 两端固定连接。该筒体 40 固定于弓柄 10 中部, 其为中空结构且其一端封闭,另一端设有开口。该箭杆 30 可滑动地穿设于筒体 40 内,且其末端位于筒体 40 外并设有通孔 32 以供弓线穿过,箭杆 30 靠近末端设有若干感应槽 31,该若干个感应槽 31 为沿箭杆 30 长度方向排列,。 Referring to Figures 1 to 3, a simulated shooting bow and arrow system includes a bow and arrow device and a simulation device 90. The bow and arrow device is provided with a bow handle 10, a bow string 20, an arrow shaft 30, a cylinder 40, a speed sensor 50, and an aiming sensor 60. , main control module 70 and data transmission device 80, etc. Both ends of the bow string 20 are fixedly connected to both ends of the bow handle 10 . The cylinder 40 is fixed at the middle part of the bow handle 10. It is a hollow structure with one end closed and an opening provided at the other end. The arrow shaft 30 is slidably installed in the barrel 40, and its end is located outside the barrel 40 and is provided with a through hole 32 for the bow wire to pass through. The arrow shaft 30 is provided with a plurality of induction grooves 31 near the end. The induction grooves 31 are arranged along the length direction of the arrow shaft 30 .
该测速传感器 50 安装于筒体 40 上以检测箭杆 30 的感应槽信息。具体的,测速传感器50 包括红外传感器,该红外传感器可通过壳体固定于筒体 40 上且靠近筒体 40 另一端,筒体40 上开设有对应的孔以让位红外传感器,该红外传感器的发射端和接收端朝向筒体 40 内部设置,利用发射端分别向箭杆 30 发射红外光,利用接收端接收反射信号,该发射信号为触发电平其通过比较电路整形后成为标准的高低电平信号,反馈时间间隔的精度达到 0.01ms。箭杆 30 上的感应槽 31 外周涂有能吸收红外光的颜色或物质,例如黑色。即红外传感器发出的红外光射至感应槽 31 上时,可被吸收,则接收端接收不到反射信号,从而实现检测感应槽31。 The speed sensor 50 is installed on the barrel 40 to detect the induction groove information of the arrow shaft 30 . Specifically, the speed sensor 50 includes an infrared sensor. The infrared sensor can be fixed on the cylinder 40 through the shell and is close to the other end of the cylinder 40. A corresponding hole is provided on the cylinder 40 to make way for the infrared sensor. The transmitting end and the receiving end are arranged toward the inside of the barrel 40. The transmitting end is used to emit infrared light to the arrow shaft 30 respectively, and the receiving end is used to receive the reflected signal. The emitted signal is the trigger level, which becomes a standard high and low level after being shaped by the comparison circuit. signal, the accuracy of the feedback time interval reaches 0.01ms. The outer periphery of the induction groove 31 on the arrow shaft 30 is coated with a color or substance that can absorb infrared light, such as black. That is, when the infrared light emitted by the infrared sensor hits the induction slot 31, it can be absorbed, and the receiving end cannot receive the reflected signal, thereby realizing the detection of the induction slot 31.
本发明中,感应槽 31 的数量和距离间隔可根据需要设定,例如数量可为两个、三个甚至更多,优选为 3 个。利用红外传感器可检测到每个感应槽 31 经过的时间点,从而得到通过其中两个相邻感应槽 31 的时长 T,T=t1-t2,而相邻感应槽 31 的距离间隔 S 已知,因此,可根据 V=S/T 计算得到箭杆 30 的离弦速度即箭杆 30 的真实飞行速度。实际应用中,测速传感器50 也可采用霍尔传感器,则可在箭杆 30 的感应槽 31 设有磁铁,通过霍尔传感器可检测箭杆30 的每个感应槽 31 经过的时间点,箭杆离弦速度的计算方法与红外传感器相同。 In the present invention, the number and distance of the induction slots 31 can be set as needed. For example, the number can be two, three or even more, preferably three. The infrared sensor can be used to detect the time point when each induction slot 31 passes, thereby obtaining the time period T of two adjacent induction slots 31, T=t1-t2, and the distance interval S of the adjacent induction slots 31 is known, Therefore, the off-string speed of the arrow shaft 30, that is, the true flight speed of the arrow shaft 30, can be calculated according to V=S/T. In practical applications, the speed sensor 50 can also use a Hall sensor, and a magnet can be provided in the induction groove 31 of the arrow shaft 30. The Hall sensor can detect the time point when each induction groove 31 of the arrow shaft 30 passes. The off-string velocity is calculated in the same way as for infrared sensors.
本发明利用红外传感器检测速度,不是根据测量的力量进行间接换算,也无需采用箭杆的质量来换算加速度;也避开了高频采样加速度并通过时间的积分转换为速度,采用这种直接测量方式得到的数据更为准确,性价比高,为后续的飞行轨迹算法奠定了良好的数据基础, 同时,在市场应用时,无需在弓弦或箭杆上增加任何辅助传感器配件,避免造成用户操作时的不适和箭杆飞行回收时的碰撞导致的不良,且红外传感器价格低廉,成本低,经济效果明显!瞄准传感器 60 安装于筒体 40 上以实时检测箭杆 30 的传感数据。具体的,瞄准传感器60 采用九轴传感器,获取 X-Y-Z 轴的数据,可包括有三轴加速度、三轴角速度、三轴磁场数据等,在箭杆 30 离弦的瞬间,获得对应的瞄准角度数据,为后续的飞行轨迹计算,提供真实的角度信息。实际应用中,瞄准传感器还可采用六轴传感器和三轴地磁传感器,或者采用三轴加速度传感器、三轴陀螺仪和三轴地磁传感器。 This invention uses an infrared sensor to detect speed, instead of performing indirect conversion based on the measured force, and does not need to use the mass of the arrow shaft to convert acceleration; it also avoids high-frequency sampling of acceleration and converts it into speed through time integration, using this direct measurement. The data obtained by this method are more accurate and cost-effective, laying a good data foundation for subsequent flight trajectory algorithms. At the same time, when used in the market, there is no need to add any auxiliary sensor accessories to the bow string or arrow shaft to avoid causing user errors during operation. Discomfort and defects caused by collision during flight recovery of the arrow shaft, and the infrared sensor is cheap, low-cost, and has obvious economic effects! The aiming sensor 60 is installed on the barrel 40 to detect the sensing data of the arrow shaft 30 in real time. Specifically, the aiming sensor 60 uses a nine-axis sensor to obtain X-Y-Z axis data, which may include three-axis acceleration, three-axis angular velocity, three-axis magnetic field data, etc., and obtains corresponding aiming angle data at the moment the arrow shaft 30 leaves the string, as Subsequent flight trajectory calculation provides real angle information. In practical applications, the aiming sensor can also use a six-axis sensor and a three-axis geomagnetic sensor, or a three-axis acceleration sensor, a three-axis gyroscope, and a three-axis geomagnetic sensor.
本发明中,考虑到全球各地用户的地磁不同造成的磁感应传感器原点位置的偏离(即: 电子罗盘的复位,以保证在不同位置可以重新校准)。在计算重力角速度时,通过仰角可以分解出垂直方向的速度,这样在箭矢飞行的过程中,才有一个抛物线的完美飞行轨迹,更真实的反应了箭矢射出去的效果,虚拟现实(仿真)的效果才可以实现。 In the present invention, the deviation of the origin position of the magnetic induction sensor caused by the different geomagnetism of users around the world is taken into account (that is, the reset of the electronic compass to ensure that it can be recalibrated at different positions). When calculating the angular velocity of gravity, the velocity in the vertical direction can be decomposed through the angle of elevation. In this way, during the flight of the arrow, there will be a perfect parabolic flight trajectory, which more realistically reflects the effect of the arrow being shot out. Virtual reality (simulation) ) effect can be achieved.
主控模块 70 与测速传感器 50、瞄准传感器 60 和数据传输装置 80 相连,其可根据红外传感器获取检测到相邻感应槽 31 的时间间隔以及相邻感应槽 31 的距离间隔计算得到离弦速度,以及根据瞄准传感器 60 检测的传感数据进行处理后得到欧拉角数据,并通过数据传输装置 80 将离弦速度和欧拉角数据发送至仿真装置 90。本发明中,主控模块 70 可采用 STM32, 欧拉角数据可包括有航向角、横滚角和俯仰角等。数据传输装置 80 为蓝牙模块或 WIFI 模块或射频模块等,优选为蓝牙模块(BK3431q)。 The main control module 70 is connected to the speed sensor 50, the aiming sensor 60 and the data transmission device 80. It can calculate the string-leaving speed according to the time interval when the infrared sensor detects the adjacent sensing slots 31 and the distance interval between the adjacent sensing slots 31. And the Euler angle data is obtained after processing according to the sensing data detected by the aiming sensor 60 , and the off-string velocity and Euler angle data are sent to the simulation device 90 through the data transmission device 80 . In the present invention, the main control module 70 can use STM32, and the Euler angle data can include heading angle, roll angle, pitch angle, etc. The data transmission device 80 is a Bluetooth module, a WIFI module, a radio frequency module, etc., preferably a Bluetooth module (BK3431q).
该仿真装置 90 根据欧拉角数据得到箭杆 30 的仰角,并根据离弦速度和设定靶距对仰角进行修正,再根据离弦速度和修正后的仰角仿真箭杆 30 的飞行轨迹并确定中靶位置。本发明的仿真装置 90 为虚拟现实装置(VR),其可接收来自数据传输装置 80 的发送的相关数据,并使用 Unity3d 来通过离弦速度和修正后的仰角来仿真箭杆 30 的飞行轨迹。 The simulation device 90 obtains the elevation angle of the arrow shaft 30 based on the Euler angle data, corrects the elevation angle based on the off-string speed and the set target distance, and then simulates and determines the flight path of the arrow shaft 30 based on the off-string speed and the corrected elevation angle. Target location. The simulation device 90 of the present invention is a virtual reality device (VR), which can receive relevant data sent from the data transmission device 80 and use Unity3d to simulate the flight trajectory of the arrow shaft 30 through the off-string speed and the corrected elevation angle.
基于此,本发明还提出一种弓箭射击的仿真方法,应用于上述的一种仿真射击的弓箭系统中,参见图 4,包括如下步骤: Based on this, the present invention also proposes a bow and arrow shooting simulation method, which is applied to the above-mentioned bow and arrow simulation shooting system. See Figure 4, which includes the following steps:
1)射箭时,通过测速传感器 50 检测箭杆 30 的感应槽 31,通过瞄准传感器 60 实时检测箭杆 30 的传感数据,主控模块 70 根据若干个感应槽 31 通过的时长以及距离间隔计算得到离弦速度,根据传感数据得到离弦时的欧拉角数据并发送至仿真装置 90; 1) When shooting an arrow, the speed sensor 50 is used to detect the induction groove 31 of the arrow shaft 30, and the aiming sensor 60 is used to detect the sensing data of the arrow shaft 30 in real time. The main control module 70 calculates it based on the passage time and distance interval of several induction grooves 31. As for the velocity of leaving the string, the Euler angle data when leaving the string is obtained according to the sensing data and sent to the simulation device 90;
该步骤中,利用红外传感器可检测到每个感应槽 31 经过的时间点,从而得到通过其中两个相邻感应槽 31 的时长 T,T=t1-t2,而相邻感应槽 31 的距离间隔 S 已知,因此,主控模块70 可根据 V=S/T 计算得到离弦速度即箭的真实飞行速度。 In this step, the infrared sensor can be used to detect the time point when each induction slot 31 passes, thereby obtaining the time length T of two adjacent induction slots 31, T=t1-t2, and the distance between the adjacent induction slots 31 is S is known, therefore, the main control module 70 can calculate the off-string speed, that is, the true flight speed of the arrow, based on V=S/T.
瞄准传感器 60 采用九轴融合算法,在瞄准传感器 60 快速移动时采用陀螺仪的角度值进行运算,并在瞄准传感器 60 低速运动中结合地磁计和加速计的参数进行校正,同时采用邻域滤波以及卡尔曼滤波来改进角度校正时的颠簸卡顿,得到传感数据。主控模块 70 根据传感数据进行处理得到欧拉角数据,包括航向角、横滚角和俯仰角等。 The aiming sensor 60 adopts a nine-axis fusion algorithm. When the aiming sensor 60 moves quickly, it uses the angle value of the gyroscope for calculation, and when the aiming sensor 60 moves at a low speed, it combines the parameters of the geomagnetometer and accelerometer for correction. It also uses neighborhood filtering and Kalman filtering is used to improve the bumps and stucks during angle correction to obtain sensing data. The main control module 70 processes the sensing data to obtain Euler angle data, including heading angle, roll angle, pitch angle, etc.
其中,卡尔曼滤波就是让得到数据不停逼近实际数据的算法,其主要将状态变量与观测变量进行数据融合得到接近真实数据的数据,然后作为下一过程的状态变量,再与下一过程的观测变量进行融合,如此往复,最后的数据就会非常接近真实数据。 Among them, Kalman filtering is an algorithm that allows the obtained data to continuously approach the actual data. It mainly fuses the state variables with the observed variables to obtain data close to the real data, and then uses it as the state variable of the next process, and then combines it with the state variable of the next process. The observed variables are fused, and so on, the final data will be very close to the real data.
邻域滤波:空间域的平滑滤波一般采用简单平均法进行,就是求邻近像元点的平均亮度值。邻域的大小与平滑的效果直接相关,邻域越大平滑的效果越好,但邻域过大,平滑会使边缘信息损失的越大,从而使输出的图像变得模糊,因此需合理选择邻域的大小。 Neighborhood filtering: Smoothing filtering in the spatial domain is generally performed using the simple averaging method, which is to find the average brightness value of adjacent pixel points. The size of the neighborhood is directly related to the smoothing effect. The larger the neighborhood, the better the smoothing effect. However, if the neighborhood is too large, the smoothing will cause greater loss of edge information, thus making the output image blurred, so it needs to be selected appropriately. The size of the neighborhood.
本发明对箭杆的飞行角度使用九轴传感器进行测量和计算,使用加速度计来检测重力方向;再使用加速度计和陀螺仪来得到更准确的设备和地平面的倾角,其中加速度对一般震动和机械噪声很敏感,使用陀螺仪来使加速度计的输出更平滑;但是陀螺仪会累计误差,这时使用磁力计来纠正垂直于地面这个轴向数据总是漂移的问题。 The present invention uses a nine-axis sensor to measure and calculate the flight angle of the arrow shaft, and uses an accelerometer to detect the direction of gravity; and then uses an accelerometer and a gyroscope to obtain a more accurate inclination of the equipment and the ground plane, where acceleration has a significant impact on general vibration and Mechanical noise is very sensitive, and a gyroscope is used to smooth the output of the accelerometer; however, the gyroscope accumulates errors, and a magnetometer is used to correct the problem that the axial data perpendicular to the ground always drifts.
2)仿真装置 90 根据欧拉角数据得到箭杆 30 的仰角,并根据离弦速度和设定的靶距对仰角进行修正。 2) The simulation device 90 obtains the elevation angle of the arrow shaft 30 based on the Euler angle data, and corrects the elevation angle based on the off-string speed and the set target distance.
参见图 5,假设矢量 R 是瞄准传感器 60 检测到的箭杆 30 的真实飞行角度。其中 X 轴为水平方向,Y 轴为与水平方向垂直的方向,Z 轴为轴向方向。X,Y,Z 分别是矢量 R 与 X 轴、Y 轴、Z 轴的夹角;Rx、Ry、Rz 分别是矢量 R 在 X 轴、Y 轴、Z 轴上的投影。则有 Referring to Figure 5, assume that vector R is the true flight angle of arrow shaft 30 as detected by aiming sensor 60. The X-axis is the horizontal direction, the Y-axis is the direction perpendicular to the horizontal direction, and the Z-axis is the axial direction. X, Y, and Z are the angles between the vector R and the X, Y, and Z axes respectively; Rx, Ry, and Rz are the projections of the vector R on the X, Y, and Z axes, respectively. then there is
cosX = cos(Axr) = Rx / RcosX = cos(Axr) =Rx/R
cosY = cos(Ayr) = Ry / RcosY = cos(Ayr) =Ry/R
cosZ = cos(Azr) = Rz / RcosZ = cos(Azr) =Rz/R
以上三个公式通常称作方向余弦,体现了单位向量 r(长度为 1 的向量)和 R 向量具有相同的方向。并且还有如下关系式: The above three formulas are often called directional cosines and reflect that the unit vector r (a vector of length 1) and the R vector have the same direction. And there is also the following relationship:
cos²X+cos²Y+cos²Z=1cos²X+cos²Y+cos²Z=1
进一步的,Rxz 为矢量 R 在 XZ 平面上的投影,Ryz 为矢量 R 在 YZ 平面的上投影,Rxy 为惯性力矢量 R 在 XY 平面的上投影。Ayz 是矢量 R 在 YZ 平面上投影 Ryz 与 Z 轴的夹角,Axz 为矢量 R 在 XZ 平面上投影 Rxz 与 Z 轴的夹角。本发明中,获取的角度是矢量 R 在 YZ 轴上的投影的夹角,即为仰角 angle1=Ayz。其中,Y 轴为与水平方向垂直的方向即箭的水平飞行方向, Z 轴为轴向方向即箭的竖直飞行方向。 Further, Rxz is the projection of the vector R on the XZ plane, Ryz is the upper projection of the vector R on the YZ plane, and Rxy is the upper projection of the inertial force vector R on the XY plane. Ayz is the angle between the projection Ryz of the vector R on the YZ plane and the Z axis, and Axz is the angle between the projection Rxz of the vector R on the XZ plane and the Z axis. In the present invention, the obtained angle is the angle between the projection of the vector R on the YZ axis, which is the elevation angle angle1=Ayz. Among them, the Y-axis is the direction perpendicular to the horizontal direction, which is the horizontal flight direction of the arrow, and the Z-axis is the axial direction, which is the vertical flight direction of the arrow.
真实射箭中,在不同箭速,不同靶距下箭杆 30 射出时的仰角都不一样,用户需要调整瞄准器以对准靶心。本发明中,为了模拟真实的射箭体验,仿真装置 90 可根据箭杆 30 的离弦速度和设定的靶距自动计算仰角修正值以对仰角进行修正。 In real archery, the elevation angle of the arrow shaft 30 when shooting is different at different arrow speeds and different target distances. The user needs to adjust the sight to align with the target. In the present invention, in order to simulate a real archery experience, the simulation device 90 can automatically calculate the elevation correction value according to the off-string speed of the arrow shaft 30 and the set target distance to correct the elevation angle.
本发明中,根据离弦速度和设定的靶距计算角度修正值 angle2,再将角度修正值 angle2与仰角 angle1 叠加得到修正后的仰角 angle=angle1+angle2。 In the present invention, the angle correction value angle2 is calculated based on the off-string velocity and the set target distance, and then the angle correction value is The angle2 and the elevation angle angle1 are superimposed to obtain the corrected elevation angle. angle=angle1+angle2.
设定箭杆 30 的起始坐标(a1,a2),靶心坐标(c1,c2),箭杆 30 的离弦速度为 V,则有如下关系式: Set the starting coordinates of the arrow shaft 30 (a1, a2), the bullseye coordinates (c1, c2), and the off-string speed of the arrow shaft 30 as V, then there is the following relationship:
Δz = c1 - a1;Δz = c1 - a1;
Δy = c2 - a2;Δy = c2 - a2;
Vz = V * cos(angle2);Vz = V* cos(angle2);
Vy = V * sin(angle2);Vy = V* sin(angle2);
Vy * t + 1/2 * g * t^2 = Δy;Vy * t + 1/2 * g *t^2 = Δy;
Vz * t = Δz;Vz * t = Δz;
t = Δz / Vz;t = Δz / Vz;
其中,Δz 为起始坐标和靶心坐标在 z 轴上的坐标差值;Δy 为起始坐标和靶心坐标在 Y 轴上的坐标差值;Vz 为 V 在 Z 轴方向上的速度分量;Vy 为 V 在 Y 轴方向上的速度分量;g 为重力加速度。 Among them, Δz is the coordinate difference between the starting coordinate and the target coordinate on the z-axis; Δy is the coordinate difference between the starting coordinate and the target coordinate on the Y-axis; Vz is the velocity component of V in the Z-axis direction; Vy is V is the velocity component in the Y-axis direction; g is the acceleration due to gravity.
满足如下关系式: Satisfy the following relationship:
(V * sin(angle2)) * Δx / (V * cos(angle2)) + 1/2 * g * Δz^2 / (V^2*cos(angle2)^2) = Δy (V* sin(angle2)) * Δx / (V * cos(angle2)) + 1/2 * g * Δz^2 / (V^2*cos(angle2)^2) = Δy
tan(angle2) * Δz + 1/2 * g * Δz^2 / (V^2*cos(angle2)^2) = Δy tan(angle2) * Δz + 1/2 * g * Δz^2 / (V^2*cos(angle2)^2) = Δy
进一步得到: Further get:
tan(angle2) * Δz + 1/2 * g * (Δz^2 / V^2) * (1 + tan(angle2)^2) = Δy。 tan(angle2) * Δz + 1/2 * g * (Δz^2 / V^2) * (1 + tan(angle2)^2) = Δy.
设 a = 1/2 * g *Δz^2 / V^2,b = Δz,c = a –Δy,则有: Let a = 1/2 * g *Δz^2 / V^2, b = Δz, c = a –Δy, then there is:
tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a) tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a)
令 d = tan(angle2) ,则 angle2 = arctan(d)。 Let d = tan(angle2) , then angle2 = arctan(d).
3)仿真装置 90 根据离弦速度和修正后的仰角仿真箭杆 30 的飞行轨迹并结合靶心的坐标确定中靶位置。 3) The simulation device 90 simulates the flight trajectory of the arrow shaft 30 based on the off-string speed and the corrected elevation angle and determines the target position in combination with the coordinates of the bullseye.
根据离弦速度和修正后的仰角仿真箭杆 30 的飞行轨迹,具体为:设定箭杆 30 的起始坐标(a1,a2),目标坐标(b1,b2),则有如下关系式: The flight trajectory of the arrow shaft 30 is simulated based on the off-string speed and the corrected elevation angle, specifically: setting the starting coordinates (a1, a2) and the target coordinates (b1, b2) of the arrow shaft 30, there is the following relationship:
Vz = V * cos(angle)Vz = V* cos(angle)
Vy = V * sin(angle)Vy = V* sin(angle)
Vy * t + 1/2 * g * t^2 = ΔyVy * t + 1/2 * g * t^2 = Δy
Vz * t = ΔzVz * t = Δz
则飞行轨迹表达式参见如下: Then the flight trajectory expression is as follows:
b1 = Vz * t + a1b1 = Vz * t + a1
b2 = Vy * t + 1/2 * g * t^2 + a2b2 = Vy * t + 1/2 * g * t^2 + a2
其中,V 为箭杆 30 的离弦速度,Vz 为离弦速度 V 在 z 轴上分量,Vy 离弦速度 V 在 y 轴上分量, t 为箭杆 30 飞行的时间,angle 为修正后的仰角,g 为重力加速度。 Among them, V is the off-string speed of the arrow shaft 30, Vz is the component of the off-string speed V on the z-axis, Vy is the component of the off-string speed V on the y-axis, t is the flight time of the arrow shaft 30, and angle is the corrected elevation angle. , g is the acceleration due to gravity.
该步骤中仿真装置 90 将箭杆 30 的飞行轨迹仿真出来,再与空间场景中的靶心坐标(如靶子等)进行关联,即得到中靶位置,并做出箭杆 30 飞行射中靶心的效果,参见图 6-图 8。本发明的仿真装置还设有联网互动的功能,以使用户可以在任意场所,跨越空间和朋友来一场射箭比赛。 In this step, the simulation device 90 simulates the flight trajectory of the arrow shaft 30, and then associates it with the target coordinates (such as a target, etc.) in the space scene to obtain the target position and create the effect of the arrow shaft 30 flying and hitting the target. , see Figure 6-Figure 8. The simulation device of the present invention is also equipped with a network interaction function, so that the user can have an archery competition with friends across space at any place.
上述仅为本发明的具体实施方式,但本发明的设计构思并不局限于此,凡利用此构思对本发明进行非实质性的改动,均应属于侵犯本发明保护范围的行为。The above are only specific embodiments of the present invention, but the design concept of the present invention is not limited thereto. Any non-substantive changes to the present invention using this concept shall constitute an infringement of the protection scope of the present invention.

Claims (10)

  1. 一种仿真射击的弓箭系统,包括弓箭装置和仿真装置,该弓箭装置设有弓柄、弓弦、箭杆和筒体,该弓弦两端与弓柄两端固定连接,该筒体固定于弓柄中部且其一端封闭,该箭杆可滑动地穿设于筒体内且其末端设有通孔以供弓线穿过,箭杆上设有若干感应槽;其特征在于:所述弓箭装置还包括有测速传感器、瞄准传感器、主控模块和数据传输装置,该测速传感器安装于筒体上以检测所述箭杆的感应槽信息,该瞄准传感器安装于筒体上以实时检测所述箭杆的传感数据,该主控模块与测速传感器、瞄准传感器和数据传输装置相连以根据感应槽信息和传感数据计算得到离弦速度和离弦时的欧拉角数据并发送至仿真装置;该仿真装置根据欧拉角数据得到箭杆的仰角,并根据离弦速度和设定靶距对仰角进行修正,再根据离弦速度和修正后的仰角仿真箭杆的飞行轨迹并确定中靶位置。A simulated shooting bow and arrow system, including a bow and arrow device and a simulation device. The bow and arrow device is provided with a bow handle, a bow string, an arrow shaft and a cylinder. Both ends of the bow string are fixedly connected to both ends of the bow handle, and the cylinder is fixed to the bow handle. The middle part and one end of it are closed, the arrow shaft is slidably installed in the barrel, and the end is provided with a through hole for the bow wire to pass through, and the arrow shaft is provided with a number of induction grooves; it is characterized in that: the bow and arrow device also includes There is a speed sensor, an aiming sensor, a main control module and a data transmission device. The speed sensor is installed on the cylinder to detect the induction groove information of the arrow shaft. The aiming sensor is installed on the cylinder to detect the arrow shaft in real time. Sensing data, the main control module is connected to the speed sensor, aiming sensor and data transmission device to calculate the off-string speed and Euler angle data when off-string based on the sensing slot information and sensing data and send it to the simulation device; the simulation The device obtains the elevation angle of the arrow shaft based on the Euler angle data, corrects the elevation angle based on the off-string speed and the set target distance, and then simulates the flight path of the arrow shaft based on the off-string speed and the corrected elevation angle and determines the target position.
  2. 如权利要求 1 所述的一种仿真射击的弓箭系统,其特征在于:所述测速传感器包括红外传感器,该红外传感器安装于靠近所述筒体另一端的位置以检测感应槽信息,该主控模块与红外传感器相连以根据若干个感应槽通过的时长以及距离间隔计算得到所述离弦速度;或者,所述测速传感器采用霍尔传感器,所述箭杆的感应槽设有磁铁,通过霍尔传感器检测箭杆的感应槽信息,所述主控模块与霍尔传感器相连以根据若干个感应槽通过的时长以及距离间隔计算得到所述离弦速度。A simulated shooting bow and arrow system as claimed in claim 1, characterized in that: the speed sensor includes an infrared sensor, and the infrared sensor is installed near the other end of the cylinder to detect induction slot information, and the main control The module is connected to an infrared sensor to calculate the off-string speed based on the passage time and distance intervals of several induction slots; or, the speed sensor uses a Hall sensor, and the induction slot of the arrow shaft is equipped with a magnet, and the speed is measured through the Hall sensor. The sensor detects the induction slot information of the arrow shaft, and the main control module is connected to the Hall sensor to calculate the string-leaving speed based on the passage time and distance interval of several induction slots.
  3. 如权利要求 1 所述的一种仿真射击的弓箭系统,其特征在于:所述瞄准传感器采用九轴传感器,所述欧拉角数据包括有航向角、横滚角和俯仰角。A bow and arrow system for simulated shooting according to claim 1, characterized in that: the aiming sensor adopts a nine-axis sensor, and the Euler angle data includes a heading angle, a roll angle and a pitch angle.
  4. 如权利要求 1 所述的一种仿真射击的弓箭系统,其特征在于:所述数据传输装置为蓝牙模块或 WIFI 模块或射频模块。A simulated shooting bow and arrow system according to claim 1, characterized in that the data transmission device is a Bluetooth module, a WIFI module or a radio frequency module.
  5. 如权利要求 1 所述的一种仿真射击的弓箭系统,其特征在于:所述仿真装置为虚拟现实设备。A bow and arrow system for simulated shooting according to claim 1, characterized in that: the simulation device is a virtual reality device.
  6. 一种弓箭射击的仿真方法,其特征在于,应用于权利要求 1-5 中任一项所述的一种仿真射击的弓箭系统中,包括如下步骤: A method for simulating bow and arrow shooting, characterized in that it is applied to a simulated shooting bow and arrow system according to any one of claims 1-5, and includes the following steps:
    1)射箭时,通过测速传感器检测箭杆的感应槽信息,通过瞄准传感器实时检测箭杆的传感数据,主控模块根据若干个感应槽通过的时长以及距离间隔计算得到离弦速度,根据传感数据得到离弦时的欧拉角数据并发送至仿真装置; 1) When shooting an arrow, the speed sensor detects the induction groove information of the arrow shaft, and the aiming sensor detects the sensing data of the arrow shaft in real time. The main control module calculates the string-leaving speed based on the passage time and distance interval of several induction grooves. The Euler angle data when leaving the string is obtained from the sensed data and sent to the simulation device;
    2)仿真装置根据欧拉角数据得到箭杆的仰角,并根据离弦速度和设定的靶距对仰角进行修正; 2) The simulation device obtains the elevation angle of the arrow shaft based on the Euler angle data, and corrects the elevation angle based on the off-string speed and the set target distance;
    3)仿真装置根据离弦速度和修正后的仰角仿真箭杆的飞行轨迹并结合靶心的坐标确定中靶位置。3) The simulation device simulates the flight trajectory of the arrow shaft based on the off-string speed and the corrected elevation angle, and determines the target position based on the coordinates of the bullseye.
  7. 如权利要求 6 所述的一种弓箭射击的仿真方法,其特征在于,步骤 1)中,所述瞄准传感器采用九轴融合算法,在瞄准传感器快速移动时采用陀螺仪的角度值进行运算,并在瞄准传感器低速运动中结合地磁计和加速计的参数进行校正,同时采用邻域滤波以及卡尔曼滤波来改进角度校正时的颠簸卡顿,得到所述传感数据。A simulation method for bow and arrow shooting according to claim 6, characterized in that in step 1), the aiming sensor adopts a nine-axis fusion algorithm, and when the aiming sensor moves quickly, the angle value of the gyroscope is used for calculation, and The sensing data is obtained by combining the parameters of the geomagnetometer and accelerometer during the low-speed movement of the aiming sensor, and using neighborhood filtering and Kalman filtering to improve the bumps and freezes during angle correction.
  8. 如权利要求 6 所述的一种弓箭射击的仿真方法,其特征在于,步骤 2)中,所述根据离弦速度和设定的靶距对仰角进行修正,具体为根据离弦速度和设定的靶距计算角度修正值angle2,再将角度修正值 angle2 与仰角 angle1 叠加得到所述修正后的仰角angle=angle1+angle2。A simulation method for bow and arrow shooting according to claim 6, characterized in that in step 2), the elevation angle is corrected according to the string departure speed and the set target distance, specifically according to the string departure speed and the set target distance. Calculate the angle correction value angle2 for the target distance, and then adjust the angle correction value The superposition of angle2 and elevation angle1 yields the corrected elevation angle angle=angle1+angle2.
  9. 如权利要求 8 所述的一种弓箭射击的仿真方法,其特征在于,设定箭杆的起始坐标(a1,a2),靶心坐标(c1,c2),箭杆的离弦速度为 V,根据下式求解所述角度修正值 angle2: A simulation method for bow and arrow shooting as claimed in claim 8, characterized in that the starting coordinates of the arrow shaft (a1, a2), the bullseye coordinates (c1, c2) are set, and the off-string speed of the arrow shaft is V, Solve the angle correction value angle2 according to the following formula:
    tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a)tan(angle2) = (-b ± (b^2 - 4*a*c)^0.5) / (2*a)
    其中, a = 1/2 * g *Δz^2 / V^2,b = Δz,c = a –Δy,Δz 为起始坐标和靶心坐标在 Z 轴上的差值且Δz = c1 - a1,Δy 为起始坐标和靶心坐标在 Y 轴上的差值Δy = c2 - a2,g 为重力加速度。where, a = 1/2 * g *Δz^2 / V^2, b = Δz, c = a –Δy, Δz is the difference between the starting coordinate and the bullseye coordinate on the Z axis and Δz = c1 - a1, Δy is the starting coordinate and the bullseye coordinate Difference on Y axis Δy = c2 - a2, g are the acceleration due to gravity.
  10. 如权利要求 6 所述的一种弓箭射击的仿真方法,其特征在于:步骤 3)中所述根据离弦速度和修正后的仰角仿真所述箭杆的飞行轨迹,具体为:设定箭杆的起始坐标(a1,a2), 目标坐标(b1,b2),飞行轨迹表达式参见如下: A simulation method for bow and arrow shooting according to claim 6, characterized in that: in step 3), the flight trajectory of the arrow shaft is simulated according to the off-string speed and the corrected elevation angle, specifically: setting the arrow shaft The starting coordinates (a1, a2), target coordinates (b1, b2), and the flight trajectory expression are as follows:
    b1 = Vz * t + a1b1 = Vz * t + a1
    b2 = Vy * t + 1/2 * g * t^2 + a2b2 = Vy * t + 1/2 * g * t^2 + a2
    其中,Vz 为离弦速度 V 在 z 轴上分量且 Vz = V * cos(angle),Vy 离弦速度 V 在 y 轴上分量且 Vy = V * sin(angle),V 为箭杆的离弦速度,t 为箭杆飞行的时间,angle 为修正后的仰角,g 为重力加速度。Among them, Vz is the component of the off-string velocity V on the z-axis and Vz = V * cos(angle), Vy is the off-string velocity V has a component on the y-axis and Vy = V * sin(angle), V is the off-string velocity of the arrow shaft, t is the flight time of the arrow shaft, angle is the corrected elevation angle, and g is the acceleration due to gravity.
PCT/CN2022/107389 2022-05-12 2022-07-22 Bow-and-arrow system for shooting simulation, and simulation method for arrow shooting WO2023216418A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210513993.7 2022-05-12
CN202210513993.7A CN115265270B (en) 2022-05-12 2022-05-12 Bow and arrow system for simulating shooting and bow and arrow shooting simulation method

Publications (1)

Publication Number Publication Date
WO2023216418A1 true WO2023216418A1 (en) 2023-11-16

Family

ID=83759063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107389 WO2023216418A1 (en) 2022-05-12 2022-07-22 Bow-and-arrow system for shooting simulation, and simulation method for arrow shooting

Country Status (2)

Country Link
CN (1) CN115265270B (en)
WO (1) WO2023216418A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101931637B1 (en) * 2018-04-09 2018-12-21 (주)피디케이리미티드 Screen archery simulation system using virtual arrow shooter
CN109550219A (en) * 2018-11-30 2019-04-02 歌尔科技有限公司 A kind of determination method, system and the mobile device of motion information
KR20190093902A (en) * 2018-02-02 2019-08-12 동서대학교 산학협력단 screen archery system
CN211452056U (en) * 2019-12-05 2020-09-08 郭子墨 Intelligent aiming slingshot
CN214223869U (en) * 2021-02-08 2021-09-17 成都拟合未来科技有限公司 Intelligent bow
CN216432681U (en) * 2022-01-06 2022-05-03 厦门金双胜健康科技有限公司 Shooting-simulated bow and arrow

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316551B2 (en) * 2008-11-10 2012-11-27 Gorsuch Timothy M Auto-correcting bow sight
KR101102939B1 (en) * 2008-11-21 2012-01-10 서명운 Screen horse riding and shooting arrow system
KR101201941B1 (en) * 2009-06-18 2012-11-16 (주) 알디텍 System for Analysis of Archery Shooting and Calibration for The Same
US10281232B2 (en) * 2015-07-20 2019-05-07 AccuBow LLC Virtual reality archery training system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190093902A (en) * 2018-02-02 2019-08-12 동서대학교 산학협력단 screen archery system
KR101931637B1 (en) * 2018-04-09 2018-12-21 (주)피디케이리미티드 Screen archery simulation system using virtual arrow shooter
CN109550219A (en) * 2018-11-30 2019-04-02 歌尔科技有限公司 A kind of determination method, system and the mobile device of motion information
CN211452056U (en) * 2019-12-05 2020-09-08 郭子墨 Intelligent aiming slingshot
CN214223869U (en) * 2021-02-08 2021-09-17 成都拟合未来科技有限公司 Intelligent bow
CN216432681U (en) * 2022-01-06 2022-05-03 厦门金双胜健康科技有限公司 Shooting-simulated bow and arrow

Also Published As

Publication number Publication date
CN115265270A (en) 2022-11-01
CN115265270B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US9703102B2 (en) Information processing device including head mounted display
US9211439B1 (en) Three dimensional golf swing analyzer
CN109373833B (en) Combined measurement method suitable for initial attitude and speed of spinning projectile
WO2020114293A1 (en) Magnetic side roll-based rotary shell muzzle initial parameter measuring method
US8821306B2 (en) Fitting system for a golf club
CN203763810U (en) Club/racket swinging assisting training device
US20060184336A1 (en) Single/multiple axes six degrees of freedom (6 DOF) inertial motion capture system with initial orientation determination capability
CN111609760B (en) Intelligent sighting telescope shooting time determination method and system
JP6379499B2 (en) Swing measuring method and swing measuring apparatus
WO2005118086A1 (en) A swing diagnosis device for use in ball game sports
CN106823329B (en) A kind of basketball movement trajectory track system
CN102441277A (en) Multi-purpose game controller, system and method with posture sensing function
CN202427156U (en) Multipurpose game controller and multipurpose game system capable of sensing postures
KR20090021407A (en) Apparatus for measuring motion of golf ball and control method thereof
WO2015141173A1 (en) Movement analysis method, movement analysis device, movement analysis system and program
CN103322856A (en) Shooting attitude and micro-motion measuring system based on polarized light/MIMU (Micro Inertial Measurement Unit)
KR20140124338A (en) Improved fitting system for a golf club
CN105300182B (en) A kind of electronic sighting device of information realtime interactive
WO2015109442A1 (en) Multi-node motion measurement and analysis system
WO2016114126A1 (en) Detection device, detection system, motion analysis system, recording medium, and analysis method
WO2023216418A1 (en) Bow-and-arrow system for shooting simulation, and simulation method for arrow shooting
CN110615104A (en) Unmanned aerial vehicle weapon platform stable aiming control method
JP2000356500A (en) Aiming device for light firearms
WO2015141172A1 (en) Movement analysis method, movement analysis device, movement analysis system and program
KR101458134B1 (en) Golf club swing correction apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22941361

Country of ref document: EP

Kind code of ref document: A1