External firing range setting and warning circuit

By designing external firing and alarm circuits, the problem that operators in the self-propelled anti-aircraft gun system is difficult to judge the shooting direction of the artillery, and the voice prompt function and automatic volume adjustment are realized, which improves shooting safety and operation convenience.

CN222460449UActive Publication Date: 2025-02-11CHINESE PEOPLES LIBERATION ARMY ARMY ARTILLERY & AIR DEFENSE ACAD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421307042.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2025-02-11
Estimated Expiration
2034-06-07

AI Technical Summary

Technical Problem

The existing self-propelled anti-aircraft gun system lacks the function of setting the direction of the artillery, which makes it difficult for operators to quickly and accurately determine the direction of the artillery shooting, which may lead to the misfire of firing shells and increase the risk of shooting accidents.

Method used

Design an external firing circuit assembly and alarm circuit, including a microcontroller, power board, data acquisition board and audible alarm circuit, collect the angle of the artillery through the data acquisition board, and play the voice promptly to prompt the gunner to prohibit firing shells in the prohibited area, and Adjust the output volume in different environments through the automatic gain control function.

Benefits of technology

Effectively remind the gunner whether the gun is located in the safe firing boundary, reduce the risk of shooting accidents, reduce the operating burden, and ensure that the operator can clearly hear the warning sound in a high-noise environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222460449U_ABST
    Figure CN222460449U_ABST
Patent Text Reader

Abstract

The utility model discloses an external firing range setting and alarm circuit, which comprises a single chip microcomputer, a power panel, a data acquisition board and a sound alarm circuit, the power panel is connected to a power pin of the single chip microcomputer, the data acquisition board is connected to an input pin of the single chip microcomputer, and the sound alarm circuit is connected to an output pin of the single chip microcomputer; the voice alarm circuit comprises a voice chip storing voice information and a voice amplification circuit, the input of the voice chip is connected to an output pin of the single-chip microcomputer through a built-in SPI serial communication interface, and the output of the voice chip is connected with the voice amplification circuit. The voice amplifying circuit comprises an audio power amplifier, and a gain adjusting pin of the audio power amplifier is connected with a capacitor; according to the invention, the output volume can be automatically adjusted under different environments and sound conditions, so that an operator can clearly hear the warning sound when the environment noise is relatively high, and the concentration degree is not influenced by too loud sound.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of circuit design, in particular to an external firing range setting and alarm circuit. Background Art

[0002] The collection and warning of the azimuth and elevation angles of the gun is an important function of the modern artillery system. At present, a certain type of self-propelled anti-aircraft gun lacks the function of setting the azimuth firing range. Whether the gun fires beyond the firing range depends entirely on the operator. However, due to the confined and narrow operating space inside the weapon and the limited external observation field, it is difficult for the operator to quickly and accurately judge the actual firing direction of the gun. In a tense situation, the gun may be mistakenly fired into the prohibited firing area, resulting in a shooting accident. Therefore, the alarm circuit can be used to promptly remind the gunner whether the gun is within the safe firing range to ensure shooting safety and reduce the gunner's operating burden. At the same time, when the weapon is working normally, the noise in the operating cabin is high, and the operator is concentrating. How to adjust the output volume in different environments and ensure that the operator can clearly hear the prompt sound without affecting the operator's attention is a consideration in the design of the warning circuit. Utility Model Content

[0003] The technical problem to be solved by the utility model is how to provide an alarm circuit with strong sound warning effect.

[0004] The utility model solves the above technical problems through the following technical means:

[0005] The utility model proposes an external shooting range setting and alarm circuit, the circuit comprises a single chip microcomputer, a power supply board, a data acquisition board and a sound alarm circuit, the power supply board is connected to the power pin of the single chip microcomputer, the data acquisition board is connected to the input pin of the single chip microcomputer, and the sound alarm circuit is connected to the output pin of the single chip microcomputer;

[0006] The sound alarm circuit includes a voice chip storing voice information and a voice amplification circuit. The input of the voice chip is connected to the output pin of the single-chip microcomputer via a built-in SPI serial communication interface. The output of the voice chip is connected to the voice amplification circuit. The voice amplification circuit includes an audio power amplifier and a gain adjustment pin of the audio power amplifier is connected to a capacitor.

[0007] Further, the output pin of the voice chip is connected to one end of the sliding resistor W1 via the ceramic capacitor YC7, the mute port of the voice chip is connected to the other end of the sliding resistor W1 via the ceramic capacitor YC6, and the external clock port of the voice chip is connected to the other end of the sliding resistor W1;

[0008] The sliding end of the sliding resistor W1 is connected to the voice amplifying circuit.

[0009] Furthermore, a resistor R13 is connected between the reverse input terminal and the forward input terminal of the audio power amplifier, and the resistor R13 is connected to the sliding end of the sliding resistor W1 via the resistor R12; one end of the resistor R14 connected in series with the ceramic capacitor YC13 is connected to the output terminal of the audio power amplifier, and the other end is grounded; one end of the ceramic capacitor YC14 is connected to the bypass port of the audio power amplifier, and the other end is grounded; the speaker is connected in parallel between the output terminal and the ground terminal of the audio power amplifier via the ceramic capacitor YC12.

[0010] Furthermore, a power circuit is wired on the power board, an angle acquisition interface is wired on the data acquisition board, and the power board is installed separately from the data acquisition board.

[0011] Furthermore, the power supply circuit includes a switching voltage regulator, capacitors C1 and C2 are connected in parallel and connected between an input pin and a ground pin of the switching voltage regulator, and a diode D1 is connected at both ends of the capacitor C1; one end of the inductor L1 is connected to a cathode of the diode D2 and then connected to an output pin of the switching voltage regulator, a capacitor C3 is connected between the other end of the inductor L1 and an anode of the diode D2, a positive electrode of the capacitor C3 is connected to a feedback pin of the switching voltage regulator, and a capacitor C4 is connected in parallel to the capacitor C3.

[0012] Furthermore, the reset pin of the single-chip microcomputer is connected to a reset circuit, which includes a capacitor C100 and a resistor R100, one end of the capacitor C100 is connected to one end of the resistor R100, the button SW1 is connected in parallel to both ends of the capacitor C100 and grounded through the resistor R100, and one end of the resistor R100 is connected to the reset pin of the single-chip microcomputer.

[0013] Furthermore, the external crystal oscillator pin of the single-chip microcomputer is connected to a crystal oscillator circuit, and the crystal oscillator circuit includes a crystal oscillator Y1. The crystal oscillator Y1 is bridged between the crystal oscillator input pin XTAL1 and the crystal oscillator output pin XTAL2 of the internal high-gain inverting amplifier of the single-chip microcomputer. Capacitors C101 and C102 are connected between the crystal oscillator Y1 pin and the ground to form an oscillation feedback circuit; the crystal oscillator circuit is arranged close to pins XTAL1 and XTAL2.

[0014] Furthermore, the input pins of the single-chip microcomputer are connected to a storage circuit, the storage circuit includes an AT24C16 storage chip, and the SCL pin and SDA pin of the AT24C16 storage chip are connected to the input pins P11 and P12 of the single-chip microcomputer.

[0015] The advantages of the utility model are:

[0016] (1) The utility model is provided with a data acquisition board for collecting the angle of the artillery. When the artillery enters the prohibited firing area, a voice prompt is played through the provided sound alarm circuit to remind the gunner not to fire shells in the area, and an audio power amplifier is provided in the sound alarm circuit. The voltage gain is adjusted by adding a capacitor between the gain adjustment pins of the audio power amplifier. The utility model has a built-in automatic gain control function, which can automatically adjust the output volume under different environmental and sound conditions, ensuring that when the environmental noise is high, the operator can clearly hear the warning sound without affecting the concentration due to excessive sound, thereby improving the adaptability of the system.

[0017] Additional aspects and advantages of the present invention will be given in part in the following description and in part will become apparent from the following description or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a structural schematic diagram of the sound alarm circuit in the embodiment of the utility model;

[0019] Figure 2 It is a pin diagram of the single chip microcomputer in the embodiment of the utility model;

[0020] Figure 3 It is a structural schematic diagram of the power supply circuit in the embodiment of the utility model;

[0021] Figure 4 It is a structural schematic diagram of a reset circuit in an embodiment of the utility model;

[0022] Figure 5 It is a structural schematic diagram of a crystal oscillator circuit in an embodiment of the utility model;

[0023] Figure 6 It is a structural schematic diagram of a storage circuit in an embodiment of the utility model;

[0024] Figure 7 This is a design diagram of the angle acquisition interface in the embodiment of the utility model;

[0025] Figure 8 This is a timing diagram of angle acquisition in an embodiment of the utility model. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the utility model clearer, the technical solution in the embodiments of the utility model will be clearly and completely described below in combination with the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0027] like Figure 1 As shown, an embodiment of the utility model proposes an external shooting range setting and alarm circuit, the circuit includes a single-chip microcomputer, a power board, a data acquisition board and a sound alarm circuit, the power board is connected to the power pin of the single-chip microcomputer, the data acquisition board is connected to the input pin of the single-chip microcomputer, and the sound alarm circuit is connected to the output pin of the single-chip microcomputer;

[0028] The sound alarm circuit includes a voice chip storing voice information and a voice amplification circuit. The input of the voice chip is connected to the output pin of the single-chip microcomputer via a built-in SPI serial communication interface. The output of the voice chip is connected to the voice amplification circuit. The voice amplification circuit includes an audio power amplifier and a gain adjustment pin of the audio power amplifier is connected to a capacitor.

[0029] Specifically, this embodiment sets a data acquisition board for collecting artillery angles. When the artillery enters a prohibited firing area, a voice prompt is played through a sound alarm circuit to remind the gunner not to fire artillery shells in the area. An audio power amplifier is set in the sound alarm circuit. A capacitor is added between the gain adjustment pins of the audio power amplifier to adjust the voltage gain. It has a built-in automatic gain control function and can automatically adjust the output volume under different environmental and sound conditions, thereby improving the consistency of sound quality and achieving a realistic sound effect with a strong warning effect.

[0030] Specifically, the output pin AUout of the voice chip is connected to one end of the sliding resistor W1 via the ceramic capacitor YC7, the mute port Amcap of the voice chip is connected to the other end of the sliding resistor W1 via the ceramic capacitor YC6, and the external clock port Xclk of the voice chip is connected to the other end of the sliding resistor W1;

[0031] A resistor R13 is connected between the reverse input terminal and the forward input terminal of the audio power amplifier, and the resistor R13 is connected to the sliding end of the sliding resistor W1 via the resistor R12; one end of the resistor R14 connected in series with the ceramic capacitor YC13 is connected to the output terminal of the audio power amplifier, and the other end is grounded; one end of the ceramic capacitor YC14 is connected to the bypass port Bypass of the audio power amplifier, and the other end is grounded; the speaker is connected in parallel between the output terminal and the ground terminal of the audio power amplifier via the ceramic capacitor YC12.

[0032] It should be noted that the model of the voice chip in this embodiment is ISD4002. This model of chip adopts direct analog storage technology, has good sound quality, and the voice information is stored in the internal FLASH. It is not lost when the power is off, and no special voice development tools are required. It can store up to 600 voice segments. This design selects a single-chip storage time of 2 minutes of voice recording and playback chip ISD4002-120. The chip has a built-in SPI serial communication interface. Taking the 80C52 microcontroller as an example, it is connected to the pins P20 to P25 of the 80C52 microcontroller, such as Figure 2 As shown in the figure, the voice chip has an automatic squelch function, the output end can drive a 5K load, the on-chip adjustment-free clock is selected, and the external clock input end Xclk is grounded. The recording signal differential input ends Ain- and Ain+ are not used, the input data is latched at the rising edge of the clock signal, and the data is output at the falling edge of the clock signal.

[0033] The audio power amplifier in the voice amplification circuit uses the LM386 amplifier, which has low power consumption, low distortion and simple integration. A 0.1uf ceramic capacitor is added between the gain adjustment pin 1 and the gain adjustment pin 8 to adjust the voltage gain. It has a built-in automatic gain control function, which can automatically adjust the output volume under different environments and sound conditions to improve the consistency of sound quality. The operating voltage range is 4-12V and there are few peripheral components.

[0034] It should be noted that the single-chip microcomputer in this embodiment is specifically selected from the MCS-51 series 80C52 single-chip microcomputer, which is small in size, low in power consumption, with 8Kb program memory, built-in 8-bit central processing unit, 256 bytes of internal RAM, 8Kb program memory (ROM), 32 bidirectional input / output (I / O) ports, 3 16-bit timers / counters and 5 two-level interrupt structures, 1 UART full-duplex serial communication port, and an on-chip clock oscillation circuit. When designed, the pin VCC is connected to 5V and the GND is grounded.

[0035] In one embodiment, a power circuit is wired on the power board, an angle acquisition interface is wired on the data acquisition board, and the power board is installed separately from the data acquisition board.

[0036] It should be noted that in this embodiment, the power board is designed for wiring separately and is installed in isolation from the data acquisition board to prevent the switching power supply from interfering with other circuits when working, thereby improving the anti-interference ability of the entire circuit.

[0037] Specifically, Figure 3As shown, the power supply circuit includes a switching voltage regulator, capacitors C1 and C2 are connected in parallel and then connected between the input pin 1 and the ground pin 3 of the switching voltage regulator, and a diode D1 is connected at both ends of the capacitor C1; one end of the inductor L1 is connected to the cathode of the diode D2 and then connected to the output pin 2 of the switching voltage regulator, a capacitor C3 is connected between the other end of the inductor L1 and the anode of the diode D2, the positive electrode of the capacitor C3 is connected to the feedback pin FB4 of the switching voltage regulator, and the capacitor C3 is connected in parallel with the capacitor C4.

[0038] In the present embodiment, the power port J1 is used to obtain the working power from the weapon standby power output port, and generates a 5V working power after the power circuit is transformed. The power circuit adopts the special module LM2596 produced by National Semiconductor Corporation of the United States. When designing, a unidirectional diode D1 is added to its input end, which can effectively prevent the circuit from burning due to the reverse connection of the positive and negative poles of the power input end. Once the positive and negative pins of the power input end are reversed, the power supply stops working. And the output end of the power circuit uses a 220uf capacitor C3 and a 0.1uf capacitor C4 for filtering, which can effectively reduce the output voltage ripple and ensure the output stability of the 5V power supply.

[0039] In one embodiment, if Figure 4 As shown, the reset pin of the single-chip microcomputer is connected to a reset circuit, and the reset circuit includes a capacitor C100 and a resistor R100. One end of the capacitor C100 is connected to one end of the resistor R100. The button SW1 is connected in parallel to both ends of the capacitor C100 and grounded through the resistor R100. One end of the resistor R100 is connected to the reset RST pin of the single-chip microcomputer.

[0040] The reset circuit provided in this embodiment adopts two modes: power-on automatic reset and key level reset. Considering that the reset signal input terminal RST pin 1 of 89C52 is high level effective and the time requirement is to last for more than 24 oscillation pulse cycles, Figure 4 The capacitor C100 is selected as 10uf, and the resistance value of the resistor R100 is 10K. After the system is powered on, as long as the rise time of the power supply VCC does not exceed 1ms, the power-on automatic reset can be achieved. The key level reset is used to realize system reinitialization when the power is not cut off. The key SW1 is connected to both ends of the capacitor C100 in parallel, and connected to the ground through the resistor R100. After pressing the key, the RST pin is at a high level. After releasing it, the VCC power supply charges the capacitor C100 through the resistor R100, which can ensure that the high level time of the RST pin is greater than 24 oscillation cycles. To facilitate the system reset operation, SW1 is designed as a double-button parallel connection, one on the circuit board, using an ordinary surface-mounted button, and the other in parallel to the operation panel, so that the system can be easily reset whether in the program debugging stage or during the working process.

[0041] In one embodiment, if Figure 5 As shown, the external crystal oscillator pin of the single-chip microcomputer is connected to a crystal oscillator circuit, and the crystal oscillator circuit includes a crystal oscillator Y1. The crystal oscillator Y1 is bridged between the crystal oscillator input pin XTAL1 and the crystal oscillator output pin XTAL2 of the internal high-gain inverting amplifier of the single-chip microcomputer. Capacitors C101 and C102 are connected between the crystal oscillator Y1 pin and the ground to form an oscillation feedback circuit; the crystal oscillator circuit is arranged close to pins XTAL1 and XTAL2.

[0042] It should be noted that in this embodiment, a crystal oscillator Y1 is connected between the input terminal XTAL1 and the output terminal XTAL2 of the high-gain inverting amplifier inside the 89C52 single-chip microcomputer, and capacitors C101 and C102 are added between the crystal oscillator Y1 pin and the ground to form an oscillation feedback circuit. Specifically, the crystal oscillator Y1 uses a 16MHz crystal oscillator, and C101 and C102 are selected to be 30pF. When designing the circuit board, the crystal oscillator Y1 and capacitors C101 and C102 are placed as close as possible to the XTAL1 and XTAL2 pins of the 89C2051 chip to reduce the distributed capacitance and fully ensure the stability of the crystal oscillator.

[0043] In one embodiment, if Figure 6 As shown, the input pins of the single-chip microcomputer are connected to a storage circuit, and the storage circuit includes an AT24C16 storage chip. The SCL pin and SDA pin of the AT24C16 storage chip are connected to the input pins P11 and P12 of the single-chip microcomputer.

[0044] It should be noted that the memory chip in the present embodiment adopts AT24C32, which has 4096*8 storage spaces (32K EEPROM) inside, which can be used to store 5 groups of azimuth range data that need to be input before shooting, and record the playback address of each voice segment. The AT24C32 can be erased and written 100,000 times. It adopts I2C serial bus, and when powered by 5V power supply, the clock rate is allowed to be as high as 400KHz. The same bus allows 8 chips to be plugged in, and A2, A1, and A0 are used for address recognition. When the address selection bit A2A1A0 sent in the control byte is equal to the A2A1A0 pin setting of the device, the device can be uniquely selected, with software write protection and hardware data protection functions, and 7 pins provide hardware write protection. Among them, the 80C52 single-chip microcomputer adopts P21 and P22 two pins to simulate the I2C bus, and is connected to the memory chip AT24C32 for data communication.

[0045] In one embodiment, if Figures 7 and 8As shown in the figure, this embodiment designs the angle acquisition interface on the data acquisition board, which is used to collect the azimuth and elevation angle of a certain type of anti-aircraft gun. Therefore, the interface design with the weapon system adopts the same type of connection port as the equipment. The specific model of the connection port J3 can be found in the output interface of the weapon equipment. Since the 41-core pins of the original equipment interface are not all used, Figure 7 The acquisition interface design circuit shown only shows the pin connections related to data acquisition in this design, and the unused pins are left floating.

[0046] Among them, the angle acquisition interface includes communication line 1, communication line 2, communication line 3 and data port line. Among them, communication line 1 and communication line 3 are driven by the microcontroller in this design and input to the weapon system, and the 8-bit data port line and communication line 2 are driven by the weapon system and output to the microcontroller.

[0047] This embodiment provides an implementation process: plug the J1 interface into the weapon backup power socket, plug the J3 interface into the artillery data acquisition port, and before communication, the single-chip microcomputer sets the contact line 1 to a high level, the 8-bit data port and the contact line 2 to input, and the contact line 3 to a low level. When data transmission is required, the single-chip microcomputer generates a low-level pulse to the weapon system through the contact line 1. After the weapon system receives the signal, it outputs the first byte of data to the 8-bit data port and sets the level of the contact line 2 to a high level (rising edge). At this time, the external computer can remove the low-level signal of the contact line 1, and then the two parties communicate in parallel mode until all bytes are fully transmitted.

[0048] It should be understood that the angle data of the artillery in this embodiment can also be collected by other means. For example, the angle sensor can be a dual-axis angle sensor for measuring the firing angle of the artillery. This embodiment does not specifically limit this.

[0049] The microcontroller collects the gun azimuth data from the data connection port or angle sensor, obtains the gun barrel position information in real time, and compares it with the firing range data stored in the AT24C32. When the gun enters the prohibited shooting area, the alarm voice playback circuit is started to remind the gunner to stop shooting. When the gun leaves the prohibited shooting area, the voice playback is stopped, and the gunner is reminded again that the gun is not in the prohibited shooting area and can continue to fire. After the voice playback is completed, the ISD4002 chip pulls the INT pin low, and the 80C52 promptly determines whether the P24 pin is low.

[0050] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0051] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present utility model, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0052] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. An external firing range setting and alarm circuit, characterized in that: The circuit includes a single-chip microcomputer, a power board, a data acquisition board and a sound alarm circuit, wherein the power board is connected to the power pin of the single-chip microcomputer, the data acquisition board is connected to the input pin of the single-chip microcomputer, and the sound alarm circuit is connected to the output pin of the single-chip microcomputer; The sound alarm circuit includes a voice chip storing voice information and a voice amplification circuit. The input of the voice chip is connected to the output pin of the single-chip microcomputer via a built-in SPI serial communication interface. The output of the voice chip is connected to the voice amplification circuit. The voice amplification circuit includes an audio power amplifier and a gain adjustment pin of the audio power amplifier is connected to a capacitor.

2. The external firing range setting and alarm circuit as claimed in claim 1, characterized in that: The output pin of the voice chip is connected to one end of the sliding resistor W1 via the ceramic capacitor YC7, the mute port of the voice chip is connected to the other end of the sliding resistor W1 via the ceramic capacitor YC6, and the external clock port of the voice chip is connected to the other end of the sliding resistor W1; The sliding end of the sliding resistor W1 is connected to the voice amplifying circuit.

3. The external firing range setting and alarm circuit as claimed in claim 2, characterized in that: A resistor R13 is connected between the reverse input terminal and the forward input terminal of the audio power amplifier, and the resistor R13 is connected to the sliding end of the sliding resistor W1 via the resistor R12; one end of the resistor R14 connected in series with the ceramic capacitor YC13 is connected to the output terminal of the audio power amplifier, and the other end is grounded; one end of the ceramic capacitor YC14 is connected to the bypass port Bypass of the audio power amplifier, and the other end is grounded; the speaker is connected in parallel between the output terminal and the ground terminal of the audio power amplifier via the ceramic capacitor YC12.

4. The external firing range setting and alarm circuit as claimed in claim 1, characterized in that: The power board is wired with a power circuit, the data acquisition board is wired with an angle acquisition interface, and the power board is installed separately from the data acquisition board.

5. The external firing range setting and alarm circuit as claimed in claim 4, characterized in that: The power supply circuit includes a switching voltage regulator, capacitors C1 and C2 are connected in parallel and connected between an input pin and a ground pin of the switching voltage regulator, and a diode D1 is connected at both ends of the capacitor C1; one end of the inductor L1 is connected to a cathode of the diode D2 and then connected to an output pin of the switching voltage regulator, a capacitor C3 is connected between the other end of the inductor L1 and an anode of the diode D2, a positive electrode of the capacitor C3 is connected to a feedback pin of the switching voltage regulator, and a capacitor C4 is connected in parallel to the capacitor C3.

6. The external firing range setting and alarm circuit as claimed in claim 1, characterized in that: The reset pin of the single-chip microcomputer is connected to a reset circuit, which includes a capacitor C100 and a resistor R100. One end of the capacitor C100 is connected to one end of the resistor R100. The button SW1 is connected in parallel to both ends of the capacitor C100 and grounded through the resistor R100. One end of the resistor R100 is connected to the reset pin of the single-chip microcomputer.

7. The external firing range setting and alarm circuit as claimed in claim 1, characterized in that: The external crystal oscillator pin of the single-chip microcomputer is connected to a crystal oscillator circuit, which includes a crystal oscillator Y1. The crystal oscillator Y1 is bridged between the crystal oscillator input pin XTAL1 and the crystal oscillator output pin XTAL2 of the internal high-gain inverting amplifier of the single-chip microcomputer. Capacitors C101 and C102 are connected between the crystal oscillator Y1 pin and the ground to form an oscillation feedback circuit. The crystal oscillator circuit is arranged close to pins XTAL1 and XTAL2.

8. The external firing range setting and alarm circuit as claimed in claim 1, characterized in that: The input pins of the single-chip microcomputer are connected with a storage circuit, and the storage circuit includes an AT24C16 storage chip. The SCL pin and the SDA pin of the AT24C16 storage chip are connected to the input pins P11 and P12 of the single-chip microcomputer.