A system and method for testing the dynamic parameters of a recoil position of a gun
Patent Information
- Application Number
- CN202410031479.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2044-01-09
AI Technical Summary
[0028]本发明与现有技术相比,其显著优点在于:(1)数据采集装置内置锂电池,将电源线作为备选供电方案,提高了测试系统的使用灵活性;(2)数据采集装置内部设计了温度检测控制模块,将内部温度控制在适宜温度范围内,降低了测试系统的温漂,提高了测试系统的环境适应性;(3)上位机软件将参数配置、数据采集以及数据分析功能集成在一起,提高了测试系统的测试效率。
Smart Images

Figure CN117704888B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of artillery testing, and specifically relates to a system and method for testing dynamic parameters of artillery recoil displacement. Background Technology
[0002] As modern artillery demands increasingly higher performance and firing accuracy, its structure and functions are becoming more complex. This also places new demands on artillery testing. Artillery testing technology is integrated into all aspects of artillery research and development and production. It is related to the comprehensiveness and accuracy of artillery performance evaluation and is a key technology for objectively evaluating artillery performance.
[0003] The recoil displacement test is an important test item in the artillery research and development testing phase. Its purpose is mainly to assess the stability of the artillery during firing. At the same time, the recoil displacement is also an important parameter used to evaluate the performance of the artillery recoil mechanism.
[0004] There are many existing methods for testing artillery recoil displacement, including laser CCD testing, high-speed photography, wire displacement testing, and accelerometer testing. Laser CCD testing and high-speed photography are optical methods, which are easily affected by the muzzle flash and smoke from artillery firing, and the installation and deployment of this type of testing equipment is cumbersome. Wire displacement testing methods have too low a frequency response. While accelerometer testing is used, the data acquisition equipment is generally large and heavy, making it inconvenient to use. The process involves data acquisition followed by data export to a computer for analysis, significantly impacting testing efficiency. Summary of the Invention
[0005] The purpose of this invention is to provide a test system and method for testing the dynamic parameters of artillery recoil displacement that is easy to install and deploy, highly mobile, efficient, and adaptable to complex temperature environments.
[0006] The technical solution for achieving the objective of this invention is: a dynamic parameter testing system for artillery recoil displacement, comprising:
[0007] An accelerometer is used to measure the recoil acceleration signal during artillery firing;
[0008] The data acquisition device is used to drive the accelerometer and process the accelerometer signal before sending it to the host computer.
[0009] The host computer is a computer with host computer software installed. It is used to receive and store data uploaded by the data acquisition device and perform numerical integration calculations to calculate the recoil displacement parameter curve of the artillery.
[0010] Furthermore, the accelerometer and the data acquisition device are connected via an IEPE signal line. The data acquisition device has four input channels, each outputting a constant current of 4mA. The host computer and the data acquisition device are connected via a Cat5e network cable.
[0011] Furthermore, the data acquisition device includes: a signal conditioning module, an analog-to-digital conversion module, a main control module, a communication module, a temperature detection and control module, a power supply module, a program storage module, and a program debugging and downloading module, wherein: the signal conditioning module is connected to the accelerometer; the analog-to-digital conversion module is connected to the signal conditioning module; the main control module is connected to the analog-to-digital conversion module, the communication module, the temperature detection and control module, the program storage module, and the program debugging and downloading module.
[0012] Furthermore, the signal conditioning module includes a driving circuit and a filtering circuit, with the signal output port of the driving circuit connected to the signal input port of the filtering circuit.
[0013] In the drive circuit, the power input voltage VIN ranges from 7.6V to 12V. The design uses an LT1317 voltage converter chip U1. VIN is connected to one end of capacitor C1, and the other end of capacitor C1 is connected to GND. VIN is also connected to one end of inductor L1 and pin 6 of U1. The other end of inductor L1 is connected to pin SW of U1 and the positive terminal of diode D1. The negative terminal of diode D1 is connected to one end of resistor R57, and the other end of R57 is connected to the fixed end of a sliding rheostat R5. The sliding contact of resistor R5 is connected to the FB pin of U1 and one end of resistor R58. The other end of resistor R58 is connected to GND. Electrolytic capacitors C2, C3, and C4 are connected in parallel between the output voltage VOUT and GND. Adjusting the sliding rheostat R5 adjusts the output voltage. The output voltage VOUT is connected to one end of resistor R61 and the emitter of transistor Q2. The other end of resistor R61 is connected to the base of transistor Q2 and the emitter of transistor Q6. The collector of transistor Q2 and the base of transistor Q6 are connected in parallel. Simultaneously, one end of resistor R60 is connected, and the other end of resistor R60 is connected to GND. Pin 5 of BNC connector RF1 is connected to the collector of transistor Q6 and connected to the signal output port SIN1. Pins 1, 2, 3, and 4 of BNC connector RF1 are all connected to GND. The BNC connector is used for connecting an external accelerometer. A low-voltage alarm function has been added to the drive circuit. The alarm voltage threshold is set through R1, R2, and R6. VIN is connected to one end of resistor R1 and the emitter of transistor Q1. The other end of resistor R1 is connected to the SHDN pin of U1 and one end of resistor R2. The other end of resistor R2 is connected to the LBI pin of U1 and resistor R6. The other end of resistor R6 is connected to GND and the cathode of alarm lamp LOWPOWER1. Resistor R59 is connected in series between the anode of alarm lamp LOWPOWER1 and the collector of transistor Q1. The base of transistor Q1 is connected to the LBO pin of U1. When the input voltage is lower than the alarm threshold voltage, alarm lamp LOWPOWER1 will light up.
[0014] The filter circuit uses three operational amplifiers (AD8676): U1A, U1B, and U1C. The output signal SIN of the filter circuit is connected to the non-inverting input of U1A through resistor R1A. The non-inverting input of U1A is grounded through capacitor C6A. Its inverting input and output are connected to one end of resistor R1B, and the other end of resistor R1B is connected to the non-inverting input of U1B. The non-inverting input of U1B is grounded through capacitor C2B. One end of capacitor C5B is connected to the junction of resistors R1B and R2B, and the other end is connected to the output of U1B. The output of U1B is also connected to its own inverting input and one end of resistor R1C. The other end of resistor R1C is connected to resistor R2C and capacitor C5C. The other end of resistor R2C is connected to the non-inverting input of U1C. The non-inverting input of U1C is also grounded through capacitor C2C. The other end of capacitor C5C is connected to the output of U1C. At the same time, the inverting input of U1C is also connected to the output of U1C. The output of U1C is the final signal output of the filter circuit. This filter circuit realizes a low-pass filter with a cutoff frequency of 15KHz.
[0015] Furthermore, the analog-to-digital converter chip used is AD7606-4. The interface level control pin VDRIVE, input voltage control pin RANGE, data transmission mode pin SERI, and byte control pin DBO15 of AD7606-4 are externally connected using direct soldering. The AD7606-4 is configured for parallel data transmission mode by connecting the SERI pin to AGND, and the DBO15 pin is used for parallel data transmission and left floating without soldering. The input voltage range is set to ±5V. The RANGE pin is soldered to AGND, and the interface level is set to 3.3V. The VDRIVE pin is soldered to the VCC3V3 power supply pin.
[0016] Furthermore, the main control module uses Xilinx's FPGA chip XC7A35T, with its pin logic level operating at 3.3V, and its external crystal oscillator circuit uses a 50MHz crystal oscillator.
[0017] Furthermore, the communication module selects the RTL8211EG network transceiver PHY chip that supports gigabit network communication, and the network transceiver PHY chip is connected to the FPGA chip of the main control module via a GMII interface.
[0018] Furthermore, the temperature detection and control module includes a temperature detection circuit and a temperature control circuit, wherein:
[0019] The temperature detection circuit uses an SHT40 sensor U20 for temperature detection. The SHT40 sensor U20 communicates with the main control module via IIC communication. The IIC data line IIC_SDA is connected to one end of resistor R116. The other end of resistor R116 is connected to the SDA pin of U20 and one end of capacitor C80. The other end of capacitor C80 is connected to GND. The IIC clock line IIC_SCL is connected to one end of resistor R117. The other end of resistor R117 is connected to the SCL pin of U20 and one end of capacitor C81. The other end of capacitor C81 is connected to GND. In this way, the circuit composed of capacitor C80, capacitor C81, resistor R116, and resistor R117 can improve the anti-interference capability of the IIC data transmission line. In addition, the SDA pin of U20 is connected to one end of pull-up resistor R118, and the other end of pull-up resistor R118 is connected to VCC3V3 power supply. The SCL pin of U20 is connected to one end of pull-up resistor R119, and the other end of pull-up resistor R119 is connected to VCC3V3 power supply. A filter capacitor C82 is added between VCC3V3 power supply and GND.
[0020] The temperature control circuit includes a heating control circuit and a cooling control circuit. In the heating control circuit, the control pin PTC_CON of the main control module is connected to pin 1 of optocoupler U19. Pin 2 of optocoupler U19 is connected to one end of resistor R114, and the other end of resistor R114 is connected to GND. Pin 4 of optocoupler U19 is connected to a positive 12V power supply. Pin 3 of optocoupler U19 is connected to one end of resistor R115, and the other end of resistor R115 is connected to the base of transistor Q10. The emitter of transistor Q10 is connected to GND, and its collector is connected to relay RLY. Pin 1 of the circuit 1 is connected to the positive terminal of the freewheeling diode D6. The negative terminal of the freewheeling diode D6 and pin 4 of the relay RLY1 are connected to the positive 12V power supply. The freewheeling diode provides some protection for the relay RLY1. Pin 2 of the relay RLY1 is connected to the positive 12V power supply, and pin 5 is connected to pin 2 of terminal P5. Pin 1 of terminal P5 is connected to GND. When the temperature rises, terminal P5 supplies power to the PTC device, causing the PTC device to generate heat and raise the temperature of the internal environment of the data acquisition device. In the cooling control circuit, the control pin of the main control module... Pin TEC_CON is connected to pin 1 of optocoupler U21. Pin 2 of optocoupler U21 is connected to one end of resistor R120, and the other end of resistor R120 is connected to GND. Pin 4 of optocoupler U21 is connected to a positive 12V power supply. Pin 3 of optocoupler U21 is connected to one end of resistor R121, and the other end of resistor R121 is connected to the base of transistor Q11. The emitter of transistor Q11 is connected to GND, and its collector is connected to pin 1 of relay RLY2 and the anode of freewheeling diode D7. The cathode of freewheeling diode D7 is connected to pin 4 of relay RLY2. Pin 1 is connected to the positive 12V power supply. The freewheeling diode provides some protection for relay RLY2. Pin 2 of relay RLY2 is connected to the positive 12V power supply. Pin 5 is connected to pin 2 of terminal P6 and pin 2 of terminal P7. Pin 1 of terminals P6 and P7 is connected to GND. When cooling down, terminal P6 supplies power to the TEC device, cooling the side of the TEC device closest to the data acquisition device. The hot side is in close contact with the housing of the data acquisition device. Terminal P7 supplies power to the heat sink on the outside of the housing, cooling the internal environment of the data acquisition device.
[0021] Furthermore, the power module includes a power supply input circuit, a 5V voltage regulator circuit, a ±12V voltage regulator circuit, a 3.3V voltage regulator circuit, and a 1.8V voltage regulator circuit. In the power supply input circuit, pin 4 of the external power input interface DC1, pin 1 of terminal POWERIN1, and pin 1 of terminal POWERIN2 are connected, and then connected to pin 2 of mechanical switch SW1. Pin 3 of mechanical switch SW1 is connected to one end of resistor R141, which also serves as the power input voltage VIN pin. The other end of resistor R141 is connected to... The positive terminal of the power indicator POWERG1 and the negative terminal of the power indicator POWERG1 are connected to GND. Pins 2 and 3 of the external input power interface DC1 and pin 2 of the terminals POWERIN1 and POWERIN2 are also connected to GND. The power module also includes two 8.4V lithium batteries, which are connected to terminals POWERIN1 and POWERIN2 respectively to power the entire data acquisition device, or directly connected to the external power input interface DC1 via an external 8.4V DC power supply to power the data acquisition device.
[0022] A method for testing dynamic parameters of artillery recoil displacement, based on the aforementioned artillery recoil displacement dynamic parameter testing system, includes the following steps:
[0023] Step 1, Install the accelerometer;
[0024] Step 2: Hardware connection of each part of the artillery recoil displacement dynamic parameter testing system;
[0025] Step 3: Power on the data acquisition device and start automatic temperature control;
[0026] Step 4: Start the host computer software and set the parameters;
[0027] Step 5, test the recoil displacement of the artillery.
[0028] Compared with the prior art, the present invention has the following significant advantages: (1) The data acquisition device has a built-in lithium battery and uses the power cord as an alternative power supply scheme, which improves the flexibility of the test system; (2) The data acquisition device is designed with a temperature detection and control module to control the internal temperature within a suitable temperature range, which reduces the temperature drift of the test system and improves the environmental adaptability of the test system; (3) The host computer software integrates parameter configuration, data acquisition and data analysis functions, which improves the test efficiency of the test system. Attached Figure Description
[0029] Figure 1 This is a block diagram of the artillery recoil displacement dynamic parameter testing system.
[0030] Figure 2It is an IEPE output type piezoelectric accelerometer driver circuit.
[0031] Figure 3 This is a schematic diagram of the filter circuit in the signal conditioning module.
[0032] Figure 4 This is the circuit design diagram of the analog-to-digital converter module.
[0033] Figure 5 This is the crystal oscillator circuit diagram for the main control module.
[0034] Figure 6 This is a circuit design diagram for a communication module.
[0035] Figure 7 This is a design diagram of a temperature detection circuit.
[0036] Figure 8 This is a temperature control circuit design diagram.
[0037] Figure 9 This is the circuit design diagram for the power module.
[0038] Figure 10 This is the circuit design diagram for the program storage module.
[0039] Figure 11 This is the circuit design diagram for the program debugging and download module.
[0040] Figure 12 It is a design diagram of the parameter setting interface in the host computer software.
[0041] Figure 13 This is a design diagram of the data acquisition interface in the host computer software.
[0042] Figure 14 This is a design diagram of the data analysis interface in the host computer software.
[0043] Figure 15 This is a flowchart of the method for testing the dynamic parameters of artillery recoil displacement.
[0044] Figure 16 Schematic diagram of the installation of the accelerometer sensor.
[0045] Wherein, 1 represents the muzzle brake; 2 represents the gun barrel; 3 represents the recoil mechanism; 4 represents the magnetic base; and 5 represents the accelerometer.
[0046] Figure 17 This is a flowchart of the temperature control algorithm.
[0047] Figure 18 This is a pop-up window displaying an error message when inputting configuration parameters in the host computer software.
[0048] Figure 19 This is a diagram of the host computer software data acquisition interface in the embodiment.
[0049] Figure 20 This is an enlarged view of the data curves from the host computer software data acquisition interface in the embodiment.
[0050] Figure 21 This is a diagram of the host computer software data analysis interface in the embodiment.
[0051] Figure 22 This is an enlarged view of the data curves in the host computer software data analysis interface of the embodiment. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0053] A dynamic parameter testing system for artillery recoil displacement, its overall block diagram is as follows: Figure 1 As shown, it includes:
[0054] Multiple accelerometers are used to measure the recoil acceleration signal during artillery firing;
[0055] The data acquisition device is used to drive the accelerometer and process the accelerometer signal before sending it to the host computer.
[0056] The host computer is a computer with host computer software installed. It is used to receive and store data uploaded by the data acquisition device and perform numerical integration calculations to calculate the recoil displacement parameter curve of the artillery.
[0057] The accelerometer and the data acquisition device are connected via an IEPE signal line. The data acquisition device has four channels, each outputting a constant drive current of 4mA. The host computer and the data acquisition device are connected via a Cat5e network cable.
[0058] Furthermore, the accelerometer needs to be an IEPE output type accelerometer; in this embodiment, the 1A102E model IEPE output type piezoelectric accelerometer is used.
[0059] Furthermore, the data acquisition device includes: a signal conditioning module, an analog-to-digital conversion module, a main control module, a communication module, a temperature detection and control module, a power supply module, a program storage module, and a program debugging and downloading module, wherein:
[0060] The signal conditioning module, connected to the accelerometer, includes a drive circuit and a filter circuit, the drive circuit being as follows: Figure 2As shown, in a preferred embodiment, the power input voltage VIN ranges from 7.6V to 12V, and the design uses the LT1317 voltage converter chip U1, such as... Figure 2 As shown in (a), VIN is connected to one end of capacitor C1, and the other end of capacitor C1 is connected to GND. VIN is also connected to one end of inductor L1 and pin 6 of U1. The other end of inductor L1 is connected to pin SW of U1 and the positive terminal of diode D1. The negative terminal of diode D1 is connected to one end of resistor R57. The other end of R57 is connected to the fixed end of variable resistor R5. The sliding end of variable resistor R5 is connected to pin FB of U1 and one end of resistor R58. The other end of resistor R58 is connected to GND. Electrolytic capacitors C2, C3, and C4 are connected in parallel between the output voltage VOUT and GND. Adjusting variable resistor R5 adjusts the output voltage. In this implementation scheme, adjusting variable resistor R5 makes the circuit a 24V voltage regulator circuit. Figure 2 As shown in (b), the output voltage VOUT is connected to one end of resistor R61 and the emitter of transistor Q2. The other end of resistor R61 is connected to the base of transistor Q2 and the emitter of transistor Q6. The collector of transistor Q2 and the base of transistor Q6 are connected and simultaneously connected to one end of resistor R60. The other end of resistor R60 is connected to GND. Pin 5 of BNC connector RF1 is connected to the collector of transistor Q6 and to the signal output port SIN1. Pins 1, 2, 3, and 4 of BNC connector RF1 are all connected to GND. The BNC connector is used for connecting an external accelerometer. A low-voltage alarm function has also been added to the drive circuit, such as... Figure 2 As shown in (b), the alarm voltage threshold is set using resistors R1, R2, and R6. VIN is connected to one end of resistor R1 and the emitter of transistor Q1. The other end of resistor R1 is connected to the SHDN pin of U1 and one end of resistor R2. The other end of resistor R2 is connected to the LBI pin of U1 and resistor R6. The other end of resistor R6 is connected to GND and the cathode of the alarm lamp LOWPOWER1. Resistor R59 is connected in series between the anode of the alarm lamp LOWPOWER1 and the collector of transistor Q1. The base of transistor Q1 is connected to the LBO pin of U1. The alarm threshold voltage is set to 7.6V. When the input voltage is below 7.6V, the alarm lamp LOWPOWER1 will light up. The filtering circuit is as follows: Figure 3As shown, three operational amplifiers (AD8676) are used: U1A, U1B, and U1C. The input signal is connected to the non-inverting input of U1A through resistor R1A. The non-inverting input of U1A is grounded through capacitor C6A. Its inverting input and output are connected to one end of resistor R1B, and the other end of resistor R1B is connected to the non-inverting input of U1B. The non-inverting input of U1B is grounded through capacitor C2B. One end of capacitor C5B is connected to the junction of resistors R1B and R2B, and the other end is connected to the output of U1B. The output terminal is also connected to its own inverting input terminal and one end of resistor R1C. The other end of resistor R1C is connected to resistor R2C and capacitor C5C. The other end of resistor R2C is connected to the non-inverting input terminal of U1C. The non-inverting input terminal of U1C is also grounded through capacitor C2C. The other end of capacitor C5C is connected to the output terminal of U1C. At the same time, the inverting input terminal of U1C is also connected to the output terminal of U1C. The output terminal of U1C is the final signal output terminal of the filter circuit. This filter circuit realizes a low-pass filter with a cutoff frequency of 15KHz.
[0061] The analog-to-digital converter module is connected to the output of the signal conditioning module. The circuit diagram of the designed analog-to-digital converter module is shown below. Figure 4 As shown, in a preferred embodiment, the analog-to-digital converter chip used is AD7606-4, with a conversion accuracy of 16 bits, and some configuration pins of AD7606-4 are externally connected, such as... Figure 4 As shown in (b), the interface level control pin VDRIVE, input voltage control pin RANGE, data transmission mode pin SERI, and byte control pin DBO15 of AD7606-4 are externally connected. In this implementation scheme, these pins are configured by direct soldering on the hardware circuit board to save control pin resources of the main control module. AD7606-4 is configured for parallel data transmission mode by connecting the SERI pin to AGND and using the DBO15 pin for parallel data transmission, leaving it floating and not soldered. The input voltage range is set to ±5V. The RANGE pin is soldered to AGND and the interface level is set to 3.3V. The VDRIVE pin is soldered to the VCC3V3 power supply pin. If the operating mode of AD7606-4 needs to be changed, the solder can be melted and the connection replaced.
[0062] The main control module uses a Xilinx XC7A35T FPGA chip, with its pin logic levels operating at 3.3V. Its external crystal oscillator circuit is as follows: Figure 5 As shown, in a preferred embodiment, a 50MHz crystal oscillator is selected, and the main control module is directly connected to the analog-to-digital conversion module, the communication module, the temperature detection and control module, and the program storage module;
[0063] The circuit diagram of the communication module is as follows: Figure 6As shown, the RTL8211EG network transceiver PHY chip, which supports gigabit network communication, is selected as a preferred implementation. The network transceiver PHY chip is connected to the FPGA chip of the main control module via a GMII interface.
[0064] The temperature detection and control module includes temperature detection and control. Its function is to maintain the data acquisition device within a suitable temperature range, ensuring the accuracy of data acquisition and conversion. The temperature detection circuit, for example... Figure 7 As shown; in a preferred embodiment, an SHT40 sensor U20 is used for temperature detection. The SHT40 sensor U20 and the main control module transmit data via IIC communication. The IIC data line IIC_SDA is connected to one end of resistor R116, and the other end of resistor R116 is connected to the SDA pin of U20 and one end of capacitor C80. The other end of capacitor C80 is connected to GND. The IIC clock line IIC_SCL is connected to one end of resistor R117, and the other end of resistor R117 is connected to the SCL pin of U20 and one end of capacitor C81. The other end of capacitor C81 is connected to GND. This circuit, consisting of capacitors C80 and C81, resistors R116 and R117, improves the anti-interference capability of the IIC data transmission line. Additionally, the SDA pin of U20 is connected to one end of pull-up resistor R118, and the other end of pull-up resistor R118 is connected to the VCC3V3 power supply. The SCL pin of U20 is connected to one end of pull-up resistor R119, and the other end of pull-up resistor R119 is connected to the VCC3V3 power supply. A filter capacitor C82 is added between the VCC3V3 power supply and GND. The temperature control circuit is as follows: Figure 8 As shown, the temperature control circuit is as follows: Figure 8 As shown in (a), the control pin PTC_CON of the main control module is connected to pin 1 of optocoupler U19. Pin 2 of optocoupler U19 is connected to one end of resistor R114, and the other end of resistor R114 is connected to GND. Pin 4 of optocoupler U19 is connected to a positive 12V power supply. Pin 3 of optocoupler U19 is connected to one end of resistor R115, and the other end of resistor R115 is connected to the base of transistor Q10. The emitter of transistor Q10 is connected to GND, and its collector is connected to pin 1 of relay RLY1. The positive and negative terminals of the freewheeling diode D6 are connected to pin 4 of relay RLY1, which is connected to a positive 12V power supply. The freewheeling diode provides some protection for relay RLY1. Pin 2 of relay RLY1 is connected to a positive 12V power supply, and pin 5 is connected to pin 2 of terminal P5. Pin 1 of terminal P5 is connected to GND. During temperature rise, terminal P5 supplies power to the PTC device, causing the PTC device to generate heat and raise the internal temperature of the data acquisition device. The cooling control circuit is as follows: Figure 8As shown in (b), the control pin TEC_CON of the main control module is connected to pin 1 of optocoupler U21. Pin 2 of optocoupler U21 is connected to one end of resistor R120, and the other end of resistor R120 is connected to GND. Pin 4 of optocoupler U21 is connected to a positive 12V power supply. Pin 3 of optocoupler U21 is connected to one end of resistor R121, and the other end of resistor R121 is connected to the base of transistor Q11. The emitter of transistor Q11 is connected to GND, and its collector is connected to pin 1 of relay RLY2 and the anode of freewheeling diode D7. The cathode of freewheeling diode D7 is connected to the relay... Pin 4 of relay RLY2 is connected to a positive 12V power supply. The freewheeling diode provides some protection for relay RLY2. Pin 2 of relay RLY2 is connected to a positive 12V power supply. Pin 5 is connected to pin 2 of terminal P6 and pin 2 of terminal P7. Pins 1 of terminals P6 and P7 are connected to GND. When cooling, terminal P6 supplies power to the TEC device, cooling the side of the TEC device closest to the data acquisition device. The hot side is in close contact with the housing of the data acquisition device. Terminal P7 supplies power to the heat sink on the outside of the housing, cooling the internal environment of the data acquisition device.
[0065] Power module, Figure 9 As shown, the power supply for each module inside the data acquisition device includes... Figure 9 (a) shows the power supply input circuit. Figure 9 (b) shows the 5V voltage regulator circuit. Figure 9 (c) shows the ±12V voltage regulator circuit. Figure 9 (c) shows the 3.3V voltage regulator circuit. Figure 9 (e) shows a 1.8V voltage regulator circuit. The power supply input circuit can power the data acquisition device via an external power source and simultaneously charge the internal lithium battery. A 5V voltage regulator circuit connects to the analog-to-digital converter module to power it. A ±12V voltage regulator circuit provides power to the operational amplifier in the filter circuit. The 3.3V and 1.8V voltage regulator circuits power the main control module and the temperature sensor. As a preferred embodiment, the power supply input circuit is as follows: Figure 9As shown in (a), pin 4 of the external power input interface DC1, pin 1 of terminal POWERIN1, and pin 1 of terminal POWERIN2 are connected, and then connected to pin 2 of mechanical switch SW1. Pin 3 of mechanical switch SW1 is connected to one end of resistor R141, which also serves as the power input voltage VIN pin. The other end of resistor R141 is connected to the positive terminal of power indicator POWERG1, and the negative terminal of power indicator POWERG1 is connected to GND. Pins 2 and 3 of external power input interface DC1 and pin 2 of terminals POWERIN1 and POWERIN2 are also connected to GND. The data acquisition device contains two 8.4V lithium batteries, which are connected to terminals POWERIN1 and POWERIN2 respectively to power the entire data acquisition device, improving its mobility. The data acquisition device can also be powered directly by an external 8.4V DC power supply connected to external power input interface DC1.
[0066] The program storage module is used to store the main control module program in the data acquisition device. The selected storage chip is NORFLASH, specifically model N25Q032A13. The circuit diagram is shown below. Figure 10 As shown.
[0067] The program debugging and download module is used to complete the program burning process. The circuit diagram is as follows: Figure 11 As shown, the JTAG method is selected for debugging and downloading.
[0068] Furthermore, the host computer refers to a computer capable of running host computer software, and the computer meets the following requirements: memory greater than 4G and storage capacity greater than 30G.
[0069] Furthermore, the host computer software is developed using QT and MATLAB programming, and the host computer software interface includes... Figure 12 Parameter setting interface Figure 13 Data acquisition interface Figure 14 The data analysis interface is shown below.
[0070] This invention discloses a method for testing dynamic parameters of artillery recoil displacement, the flowchart of which is shown below. Figure 15 As shown, the method includes the following steps:
[0071] Step 1: Install an acceleration sensor in the recoil section of the cannon;
[0072] Accelerometers are inertial devices and have high requirements for operating conditions during use. As a preferred implementation, the 1A102E accelerometer is selected. This sensor can measure acceleration within a range of ±500g and can withstand an acceleration limit of ±1000g with a mass of 5.5g.
[0073] A schematic diagram of the accelerometer sensor installation structure in the recoil section of the artillery is shown below. Figure 16 As shown in the diagram. 1 represents the muzzle brake, 2 represents the gun barrel, 3 represents the recoil mechanism, 4 is the magnetic base, and 5 represents the accelerometer. The accelerometer's testing direction is consistent with the gun's recoil direction. As a preferred embodiment, a 30g magnetic base with a magnetic force of up to 200N is used. The magnetic base and the accelerometer are connected using an M5 thread for a more secure connection.
[0074] In this preferred method, the magnitude of the acceleration experienced by the accelerometer when the magnetic force is at its maximum can be calculated according to Newton's second law:
[0075] F=(m1+m2)·a
[0076] In the formula, F represents the magnetic force, m1 represents the mass of the accelerometer, m2 represents the mass of the magnetic base, and a represents the acceleration value of the accelerometer. Calculations show that the acceleration value at the maximum magnetic force is approximately 580g, which is much less than the limit that the accelerometer can withstand. This has the function of protecting the sensor when the recoil device of the artillery is damaged and the recoil stops suddenly.
[0077] Step 2: Hardware connection of each part of the artillery recoil displacement dynamic parameter testing system;
[0078] Connect the components according to the system block diagram of the artillery recoil displacement dynamic parameter testing system. Connect the acceleration sensor to the data acquisition device via an IEPE signal line, and connect the data acquisition device to the host computer via a Cat5e network cable.
[0079] As a preferred solution, an 8.4V lithium battery is used to power the internal modules of the data acquisition device, with a power cord as an alternative power supply method. This improves the mobility of the data acquisition device and makes the system simpler and more flexible to use.
[0080] Step 3: Power on the data acquisition device and start automatic temperature control;
[0081] After the data acquisition device is powered on, the main control module interacts with the temperature sensor in the temperature detection and control module via IIC communication, and at the same time sends a connection request to the host computer via the communication module.
[0082] As a preferred option, the internal temperature of the data acquisition device is autonomously controlled to ensure that the dynamic parameter testing system for artillery recoil displacement can adapt to an ambient temperature of -40℃ to 50℃, and to keep the internal temperature of the data acquisition device within the range of 17.5℃ to 27.5℃.
[0083] As a preferred solution, a low-complexity temperature control algorithm is proposed, and the algorithm control flowchart is as follows: Figure 17 As shown, dual thresholds are set in the software logic, and three working modes are set for the system: standard mode, heating mode, and cooling mode, so that the temperature is controlled within the range of 17.5℃ to 27.5℃. The upper limit temperature is set at 24℃ and the lower limit temperature is set at 21℃. When the temperature is greater than or equal to 24℃, the cooling mode is activated to start cooling down. When the temperature is less than or equal to 22.5℃, cooling down stops. When the temperature is less than or equal to 21℃, the heating mode is activated. In this mode, when the temperature is greater than or equal to 22.5℃, heating stops.
[0084] Step 4: Start the host computer software and set the parameters;
[0085] After the host computer software starts, it creates a UDP server as the server side, and the data acquisition device communicates with the host computer software as a UDP client. After the software starts, it enters the corresponding interface as needed, such as... Figure 12 Parameter settings interface Figure 13 Data acquisition interface Figure 14 Data analysis interface.
[0086] As a preferred solution, when the data acquisition device has not established a connection with the host computer software, it sends a connection request message to the host computer software every 1 second. The request message flag value is 0x01. After receiving the request message, the host computer software returns a response message 0x02. After receiving the response message, the data acquisition device returns a response confirmation message 0x03 to ensure that the data transmission and reception between the two parties are normal. At this time, the connection status light on the interface will change from red to green.
[0087] The parameter settings of the host computer software include parameters such as the data storage path, sampling rate, and oversampling value;
[0088] As a preferred option, the host computer software can also click the "Get Parameters" button to directly obtain the current parameter information of the data acquisition device. The sampling rate parameter can be directly input via the keyboard, and the oversampling value can be selected via a drop-down menu. A warning will be issued if an incorrect parameter is entered, and the correct parameter range will be explained. Figure 18 As shown, the maximum sampling rate supported is 200KSPS without oversampling, and the maximum sampling rate supported is 100KSPS when oversampling is doubled.
[0089] As a preferred option, the host computer software can perform recoil displacement analysis on historical data. By selecting the previously saved test data using the file selection button, and then clicking to enter the data analysis page, the recoil displacement analysis of the artillery can be performed directly.
[0090] Step 5, Artillery recoil displacement test:
[0091] In the host computer software, click to enter the data acquisition page, select the channel connected to the sensor, enter the acquisition time, and click the "Start Acquisition" button to trigger data acquisition. At this time, the host computer software will receive and save the data uploaded by the data acquisition device, such as... Figure 19 As shown, Figure 20 This is an enlarged view of the data waveform. After data acquisition is complete, the data analysis page is accessed to perform artillery recoil displacement analysis, such as... Figure 21 As shown, Figure 22 This is an enlarged view of the curve of the analysis results.
[0092] As a preferred option, the host computer software saves data files in txt file format, with the data itself stored in hexadecimal format.
[0093] Furthermore, the host computer software integrates data storage and processing to improve the efficiency of artillery recoil displacement testing. The interface layout control is developed using QT software, and the data processing algorithm is written and encapsulated using MATLAB for QT to call.
[0094] Furthermore, when the host computer software processes the saved data, it first performs software filtering on the data. The filtering adopts the Butterworth low-pass filtering algorithm and sets the cutoff frequency to 10KHz to filter out high-frequency signals above 10KHz. Then, the filtered data is judged for zero drift to determine the zero drift deviation. After zero drift processing, it is processed by numerical integration algorithm to finally obtain the recoil displacement data of the artillery.
[0095] Furthermore, the zero-drift deviation determination method is based on test data from the artillery in a static state before firing. First, the state of the artillery is determined by analyzing the magnitude and degree of change of acceleration data. If the acceleration data value changes drastically, the artillery is considered to be in a firing state. Then, a segment of relatively stable static state data before firing is taken, and the mean value of the data is calculated. This mean value is then determined as the zero-drift deviation for this test.
[0096] Furthermore, the specific algorithm for determining the state of the artillery is as follows:
[0097] Starting from the initial location of the data, the difference between two acceleration data points 100 meters apart is used to determine the value. A value less than 1.5 m / s² is considered acceptable. -2 At this point, it is determined that the artillery is still stationary, and then the next set of data is evaluated. When the difference is greater than 1.5 m·s -2 The system determines that the artillery has entered the firing state from the beginning of the set of determination data, and then sets the beginning of the determination data as the state boundary point.
[0098] Furthermore, the zero-drift deviation processing algorithm is as follows:
[0099] When the artillery changes from a stationary state to a firing state, take the 100 data points preceding the state boundary point. If there are fewer than 100 data points, take all the preceding data points and calculate the average of the data points. The average value is the drift error value during this artillery firing. Then, subtract the drift error value from the artillery recoil acceleration data.
[0100] Furthermore, the numerical integration algorithm employs the complex Simpson integration algorithm.
[0101] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0102] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A dynamic parameter testing system for artillery recoil displacement, characterized in that, include: An accelerometer is used to measure the recoil acceleration signal when a cannon is fired. The data acquisition device is used to drive the accelerometer and process the accelerometer signal before sending it to the host computer. The host computer is a computer with host computer software installed. It is used to receive and store data uploaded by the data acquisition device and perform numerical integration calculations to calculate the recoil displacement parameter curve of the artillery. in: The data acquisition device includes: a signal conditioning module, an analog-to-digital conversion module, a main control module, a communication module, a temperature detection and control module, a power supply module, a program storage module, and a program debugging and downloading module, wherein: the signal conditioning module is connected to the accelerometer; the analog-to-digital conversion module is connected to the signal conditioning module; and the main control module is connected to the analog-to-digital conversion module, the communication module, the temperature detection and control module, the program storage module, and the program debugging and downloading module; The main control module uses Xilinx's XC7A35T FPGA chip, which operates its pin logic level at 3.3V, and its external crystal oscillator circuit uses a 50MHz crystal oscillator. The temperature detection and control module includes a temperature detection circuit and a temperature control circuit, wherein: The temperature detection circuit uses an SHT40 sensor U20 for temperature detection. The SHT40 sensor U20 communicates with the main control module via IIC communication. The IIC data line IIC_SDA is connected to one end of resistor R116. The other end of resistor R116 is connected to the SDA pin of U20 and one end of capacitor C80. The other end of capacitor C80 is connected to GND. The IIC clock line IIC_SCL is connected to one end of resistor R117. The other end of resistor R117 is connected to the SCL pin of U20 and one end of capacitor C81. The other end of capacitor C81 is connected to GND. In this way, the circuit composed of capacitor C80, capacitor C81, resistor R116, and resistor R117 can improve the anti-interference capability of the IIC data transmission line. In addition, the SDA pin of U20 is connected to one end of pull-up resistor R118, and the other end of pull-up resistor R118 is connected to VCC3V3 power supply. The SCL pin of U20 is connected to one end of pull-up resistor R119, and the other end of pull-up resistor R119 is connected to VCC3V3 power supply. A filter capacitor C82 is added between VCC3V3 power supply and GND. The temperature control circuit includes a heating control circuit and a cooling control circuit. In the heating control circuit, the control pin PTC_CON of the main control module is connected to pin 1 of optocoupler U19. Pin 2 of optocoupler U19 is connected to one end of resistor R114, and the other end of resistor R114 is connected to GND. Pin 4 of optocoupler U19 is connected to a positive 12V power supply. Pin 3 of optocoupler U19 is connected to one end of resistor R115, and the other end of resistor R115 is connected to the base of transistor Q10. The emitter of transistor Q10 is connected to GND, and its collector is connected to relay RLY. Pin 1 of the circuit 1 is connected to the positive terminal of the freewheeling diode D6. The negative terminal of the freewheeling diode D6 and pin 4 of the relay RLY1 are connected to the positive 12V power supply. The freewheeling diode provides some protection for the relay RLY1. Pin 2 of the relay RLY1 is connected to the positive 12V power supply, and pin 5 is connected to pin 2 of terminal P5. Pin 1 of terminal P5 is connected to GND. When the temperature rises, terminal P5 supplies power to the PTC device, causing the PTC device to generate heat and raise the temperature of the internal environment of the data acquisition device. In the cooling control circuit, the control pin of the main control module... Pin TEC_CON is connected to pin 1 of optocoupler U21. Pin 2 of optocoupler U21 is connected to one end of resistor R120, and the other end of resistor R120 is connected to GND. Pin 4 of optocoupler U21 is connected to a positive 12V power supply. Pin 3 of optocoupler U21 is connected to one end of resistor R121, and the other end of resistor R121 is connected to the base of transistor Q11. The emitter of transistor Q11 is connected to GND, and its collector is connected to pin 1 of relay RLY2 and the anode of freewheeling diode D7. The cathode of freewheeling diode D7 is connected to pin 4 of relay RLY2. Pin 1 is connected to the positive 12V power supply. The freewheeling diode provides some protection for relay RLY2. Pin 2 of relay RLY2 is connected to the positive 12V power supply. Pin 5 is connected to pin 2 of terminal P6 and pin 2 of terminal P7. Pin 1 of terminals P6 and P7 is connected to GND. When cooling down, terminal P6 supplies power to the TEC device, cooling the side of the TEC device closest to the data acquisition device. The hot side is in close contact with the housing of the data acquisition device. Terminal P7 supplies power to the heat sink on the outside of the housing, cooling the internal environment of the data acquisition device.
2. The artillery recoil displacement dynamic parameter testing system according to claim 1, characterized in that, The accelerometer and the data acquisition device are connected via an IEPE signal line. The data acquisition device has four input channels, each outputting a constant current of 4mA. The host computer and the data acquisition device are connected via a Cat5e network cable.
3. The artillery recoil displacement dynamic parameter testing system according to claim 1, characterized in that, The signal conditioning module includes a driving circuit and a filtering circuit, and the signal output port of the driving circuit is connected to the signal input port of the filtering circuit. In the drive circuit, the power input voltage VIN ranges from 7.6V to 12V. An LT1317 voltage converter chip U1 is used. VIN is connected to one end of capacitor C1, and the other end of capacitor C1 is connected to GND. VIN is also connected to one end of inductor L1 and pin 6 of U1. The other end of inductor L1 is connected to pin SW of U1 and the anode of diode D1. The cathode of diode D1 is connected to one end of resistor R57, and the other end of R57 is connected to the fixed end of a variable resistor R5. The sliding contact of resistor R5 is connected to the FB pin of U1 and one end of resistor R58. The other end of resistor R58 is connected to GND. Electrolytic capacitors C2, C3, and C4 are connected in parallel between the output voltage VOUT and GND. Adjusting the sliding rheostat R5 adjusts the output voltage. The output voltage VOUT is connected to one end of resistor R61 and the emitter of transistor Q2. The other end of resistor R61 is connected to the base of transistor Q2 and the emitter of transistor Q6. The collector of transistor Q2 and the base of transistor Q6 are connected in parallel. Simultaneously, one end of resistor R60 is connected, and the other end of resistor R60 is connected to GND. Pin 5 of BNC connector RF1 is connected to the collector of transistor Q6 and connected to the signal output port SIN1. Pins 1, 2, 3, and 4 of BNC connector RF1 are all connected to GND. The BNC connector is used for connecting an external accelerometer. A low-voltage alarm function has been added to the drive circuit. The alarm voltage threshold is set through R1, R2, and R6. VIN is connected to one end of resistor R1 and the emitter of transistor Q1. The other end of resistor R1 is connected to the SHDN pin of U1 and one end of resistor R2. The other end of resistor R2 is connected to the LBI pin of U1 and resistor R6. The other end of resistor R6 is connected to GND and the cathode of alarm lamp LOWPOWER1. Resistor R59 is connected in series between the anode of alarm lamp LOWPOWER1 and the collector of transistor Q1. The base of transistor Q1 is connected to the LBO pin of U1. When the input voltage is lower than the alarm threshold voltage, alarm lamp LOWPOWER1 will light up. The filter circuit uses three operational amplifiers (AD8676): U1A, U1B, and U1C. The output signal SIN of the filter circuit is connected to the non-inverting input of U1A through resistor R1A. The non-inverting input of U1A is grounded through capacitor C6A. Its inverting input and output are connected to one end of resistor R1B, and the other end of resistor R1B is connected to the non-inverting input of U1B. The non-inverting input of U1B is grounded through capacitor C2B. One end of capacitor C5B is connected to the junction of resistors R1B and R2B, and the other end is connected to the output of U1B. The output of U1B is also connected to its own inverting input and one end of resistor R1C. The other end of resistor R1C is connected to resistor R2C and capacitor C5C. The other end of resistor R2C is connected to the non-inverting input of U1C. The non-inverting input of U1C is also grounded through capacitor C2C. The other end of capacitor C5C is connected to the output of U1C. At the same time, the inverting input of U1C is also connected to the output of U1C. The output of U1C is the final signal output of the filter circuit. This filter circuit realizes a low-pass filter with a cutoff frequency of 15KHz.
4. The artillery recoil displacement dynamic parameter testing system according to claim 1, characterized in that, The analog-to-digital converter chip used is AD7606-4. The interface level control pin VDRIVE, input voltage control pin RANGE, data transmission mode pin SERI, and byte control pin DBO15 of AD7606-4 are externally connected using direct soldering. To configure AD7606-4 in parallel data transmission mode, the SERI pin is connected to AGND, and the DBO15 pin is used for parallel data transmission and left floating without soldering. The input voltage range is set to ±5V. The RANGE pin is soldered to AGND, and the interface level is set to 3.3V. The VDRIVE pin is soldered to the VCC3V3 power supply pin.
5. The artillery recoil displacement dynamic parameter testing system according to claim 1, characterized in that, The communication module uses the RTL8211EG network transceiver PHY chip, which supports gigabit network communication. The network transceiver PHY chip is connected to the FPGA chip of the main control module via a GMII interface.
6. The artillery recoil displacement dynamic parameter testing system according to claim 1, characterized in that, The power module includes a power input circuit, a 5V voltage regulator circuit, a ±12V voltage regulator circuit, a 3.3V voltage regulator circuit, and a 1.8V voltage regulator circuit. In the power input circuit, pin 4 of the external power input interface DC1, pin 1 of terminal POWERIN1, and pin 1 of terminal POWERIN2 are connected, and then connected to pin 2 of mechanical switch SW1. Pin 3 of mechanical switch SW1 is connected to one end of resistor R141, which also serves as the power input voltage VIN pin. The other end of resistor R141 is connected to the power indicator. The positive terminal of the POWERG1 indicator light and the negative terminal of the POWERG1 indicator light are connected to GND. Pins 2 and 3 of the external input power interface DC1 and pin 2 of the terminals POWERIN1 and POWERIN2 are also connected to GND. The power module also includes two 8.4V lithium batteries, which are connected to terminals POWERIN1 and POWERIN2 respectively to power the entire data acquisition device, or can be directly connected to the external power input interface DC1 via an external 8.4V DC power supply to power the data acquisition device.
7. A method for testing dynamic parameters of artillery recoil displacement, characterized in that, The artillery recoil displacement dynamic parameter testing system based on any one of claims 1-6 includes the following steps: Step 1, Install the accelerometer; Step 2: Hardware connection of each part of the artillery recoil displacement dynamic parameter testing system; Step 3: Power on the data acquisition device and start automatic temperature control; Step 4: Start the host computer software and set the parameters; Step 5, test the recoil displacement of the artillery.
Citation Information
Patent Citations
Wireless mechanical signal collecting and recording system for artillery
CN113670117A