A multi-continuous electric shock control system and method
By controlling the voltage stabilization and image processing detection of the electric shock circuit through the processor, the electric shock control system realizes multiple bursts and accurate detection, solves the problem of insufficient multiple firing opportunities and accuracy of the electric shock control system in the existing technology, and improves the firing rate. Efficiency and accuracy.
Patent Information
- Application Number
- CN202410763546.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-14
AI Technical Summary
The existing electric shock control system has problems such as insufficient multiple firing opportunities, fixed needle and electrode directions, insufficient uniformity, and the need for the transmitter to be placed vertically, making it difficult to use effectively in complex environments.
The processor generates a voltage-stabilized signal to freely switch the on-off and positive and negative electrodes of the electric shock circuit to achieve multiple bursts and precise control of the electric shock needle in the magazine. It combines image processing to detect the installation status of the magazine to improve firing efficiency and accuracy.
It achieves the subduing effect of any two electric shock needles in the magazine, improves the number of firings and efficiency, and improves the accuracy and efficiency of magazine detection through image processing, ensuring the effectiveness of multi-series electric shock control.
Smart Images

Figure CN118362007B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric shock control, and in particular to a multiple electric shock control system and method. Background Art
[0002] At present, the target can be temporarily incapacitated by installing electric shock bombs or tear gas bombs. The electric shock bomb has only one or two firing opportunities. During each firing, two electric shock pins are fired at the same time, one up and one down, with fixed positions. The electrodes of the electric shock pins are fixed, such as the positive pole on the top and the negative pole on the bottom.
[0003] However, the existing electric shock control has the following disadvantages: 1. There are only one or two firing opportunities. When the environment is complex, there is no other opportunity if the target is not hit, and the two electric shock needles are fired at the same time; 2. The aiming position is relatively fixed, such as the back position. After the upper needle hits, the lower needle is easy to lose; 3. When firing, the transmitter needs to be placed vertically; 4. The direction of the electric shock needle electrode is fixed, and the control force is not as good as the high voltage that can change the direction of the electrode.
[0004] Therefore, in order to overcome the above technical problems, the present invention provides a multi-burst click control system and method. Summary of the invention
[0005] The present invention provides a multi-continuous electric shock control system and method, which is used to enable the control system to have a stable working environment through a voltage-stabilizing signal generated by a processor, and to freely switch the on-off and positive and negative poles of the electric shock circuit according to the signal of the processor, so as to achieve the function of producing a uniform effect on any two electric shock pins of the magazine, thereby effectively improving the firing times and firing efficiency of the single-shot bullet.
[0006] A multi-continuous electric shock control system, comprising:
[0007] A voltage stabilization module, used to generate a voltage stabilization signal based on the processor, and control the high-voltage module to generate high voltage and perform voltage stabilization processing on the high voltage according to the voltage stabilization signal;
[0008] The electric shock circuit working state control module is used to generate a circuit control signal based on the processor when the voltage is in a stable state, and control the high-voltage circuit switching module to adjust the working state of multiple electric shock circuits according to the circuit control signal;
[0009] The magazine firing control module is used to determine that the electric shock circuit is in an operating state based on the working state, detect the status information of the magazine based on the magazine firing and detection module, and control the firing of the magazine based on the control signal of the processor, and when the magazine is fired, push the electric shock pin in the magazine to fire.
[0010] Preferably, a multi-electric shock control system, a voltage stabilizing module, comprises:
[0011] Processor, high-voltage module, high-voltage module boost component, high-voltage module driver and power supply;
[0012] The power supply output end is connected to the input end of the high-voltage module boost component, the output end of the high-voltage module boost component is connected to the input end of the high-voltage module, and the output end of the high-voltage module is connected to the input end of the processor;
[0013] The output end of the processor is connected to the input end of the high-voltage module driver, and the output end of the high-voltage module driver is connected to the input end of the high-voltage module boost component.
[0014] Preferably, a multi-electric shock control system, a voltage stabilizing module, comprises:
[0015] A high voltage generation control unit, used to output a system voltage based on a power supply, and to perform a boost operation on the system voltage according to a high voltage module boost component, and to output a high voltage based on the high voltage module;
[0016] The voltage stabilization control unit is used to generate a voltage stabilization signal based on the processor, and drive the voltage stabilization signal to the high-voltage module boost component according to the high-voltage module drive to perform voltage stabilization processing on the high voltage output by the high-voltage module.
[0017] Preferably, a multi-continuous electric shock control system, an electric shock circuit working state control module, comprises:
[0018] The high voltage circuit switching module includes: a high voltage circuit switching circuit and a circuit switching control circuit
[0019] Based on the high-voltage circuit switching module, the high-voltage circuit is turned on or off;
[0020] When the high-voltage circuit is turned on and the voltage is in a stable state, a circuit control signal is generated based on the processor;
[0021] Based on the loop switching control loop reads the circuit control signal, and adjusts the working state of the electric shock circuit according to the reading result.
[0022] Preferably, a multi-shot firing control system, a magazine firing control module, comprises:
[0023] Magazine firing and detection module, wherein the magazine firing and detection module comprises: a magazine firing drive, a magazine pusher and a magazine detection device;
[0024] Wherein, the output end of the processor is connected to the input end of the magazine firing drive;
[0025] The output end of the magazine firing drive is connected to the input end of the magazine pusher;
[0026] The output end of the magazine pusher is connected to the input end of the magazine detection device;
[0027] The output end of the magazine detection device is connected to the input end of the processor.
[0028] Preferably, a multi-shot electric shock control system, a magazine firing module, comprises:
[0029] A state detection unit, used for detecting whether a magazine is installed based on a magazine firing and a magazine detection device in a detection module when the electric shock circuit is in an operating state;
[0030] A firing control unit, which is used to, when the detection result shows that the magazine has been installed, drive the magazine to fire based on the control signal of the receiving processor, and control the magazine to fire according to the control signal of the processor, and at the same time, drive the electric striker in the magazine to fire based on the magazine pusher;
[0031] The state detection unit is also used to detect whether the electric needle in the magazine has been fired based on the magazine detection device after the magazine pusher has pushed the electric needle in the magazine to fire.
[0032] Preferably, in a multiple electric shock control system, in the state detection unit, the detection module is also used for:
[0033] After the click needle is fired, whether the click needle hits is determined based on the electric shock pulse. The specific determination method includes:
[0034] When two or more magazines are fired, the processor detects the output port of the high-voltage module to determine whether the target is hit;
[0035] These include: when two magazines hit the target, the target is shocked with high voltage at a frequency of 22HZ. During the first pulse, magazine 1 is positive and magazine 2 is negative. During the second pulse, magazine 1 is negative and magazine 2 is positive, and the cycle continues.
[0036] When three magazines hit the target, the target is shocked with high voltage at a frequency of 33HZ. During the first pulse, magazine 1 is positive, and the other two are negative. During the second pulse, magazine 2 is positive, and the others are negative. During the third pulse, magazine 3 is positive, and the others are negative, and the cycle repeats.
[0037] When four magazines hit the target, the target is shocked with high voltage at a frequency of 44HZ. During the first pulse, magazine 1 is positive, and the other two are negative. During the second pulse, magazine 2 is positive, and the others are negative. During the third pulse, magazine 3 is positive, and the others are negative. During the fourth pulse, magazine 3 is positive, and the others are negative, and the cycle repeats.
[0038] When 5 or more magazines hit the target, the target is shocked with high voltage at a frequency of 44HZ. In the first pulse, magazine 1 is positive and the other two are negative. In the second pulse, magazine 2 is positive and the rest are negative. In the third pulse, magazine 3 is positive and the rest are negative. In the fourth pulse, magazine 3 is positive and the rest are negative. Magazine 5 and magazine 1 have the same output, magazine 6 and magazine 2 have the same output, magazine 7 and magazine 3 have the same output, magazine 8 and magazine 4 have the same output, and the cycle continues.
[0039] Preferably, in a multi-shot electric shock control system, in a state detection unit, a magazine detection device is used to detect whether a magazine is installed, including:
[0040] An image acquisition subunit, used to acquire a target image of the magazine installation position;
[0041] An image processing subunit is used to perform pixel grayscale processing on the target image of the magazine installation position to obtain a grayscale target image;
[0042] A feature reading subunit is used to read the pixel distribution feature of the grayscale target image and determine the color block in the grayscale target image according to the pixel distribution feature;
[0043] The labeling subunit is used to obtain different color blocks in the grayscale target image, and perform color labeling on the grayscale target image based on the different color blocks to obtain the color area corresponding to each color block;
[0044] The target area to be inspected acquisition subunit is used to calculate the area of each color area and mark the color area with the largest area to obtain the target area to be inspected;
[0045] The sample image acquisition subunit is used to retrieve a first sample image corresponding to when a magazine is installed in the magazine installation position, and at the same time, retrieve a second sample image corresponding to when a magazine is not installed in the magazine installation position;
[0046] The overlap calculation subunit is used to calculate a first overlap between the target area to be inspected and the first sample image, and calculate a second overlap between the target area to be inspected and the second sample image;
[0047] Comparison subunit, used to:
[0048] comparing the first overlap degree with the second overlap degree to determine whether the magazine is installed;
[0049] When the first overlap degree is greater than the second overlap degree, it is determined that the magazine is installed in the magazine installation position;
[0050] When the first overlap degree is less than the second overlap degree, it is determined that no magazine is installed in the magazine installation position;
[0051] When the first overlap degree is equal to the second overlap degree, it is impossible to determine whether a magazine is installed at the magazine installation position, and it is determined that a malfunction occurs in the installation of the pistol magazine;
[0052] The alarm subunit is used to perform an alarm operation when a malfunction occurs in the installation of the pistol magazine.
[0053] A multiple-continuous electric shock control method, comprising:
[0054] Step 1: Generate a voltage stabilization signal based on the processor, and control the high-voltage module to generate high voltage and perform voltage stabilization processing on the high voltage according to the voltage stabilization signal;
[0055] Step 2: When the voltage is in a stable state, a circuit control signal is generated based on the processor, and the high-voltage circuit switching module is controlled according to the circuit control signal to adjust the working state of the multi-channel electric shock circuit;
[0056] Step 3: When it is determined based on the working status that the electric shock circuit is in operation, the status information of the magazine is detected based on the magazine firing and detection module, and the firing magazine is controlled based on the control signal of the processor, and when the magazine is fired, the electric shock pin in the magazine is pushed to fire.
[0057] Compared with the prior art, the present invention has the following beneficial effects:
[0058] 1. The voltage-stabilizing signal generated by the processor enables the control system to have a stable working environment. By freely switching the on / off and positive and negative poles of the electric shock circuit according to the signal of the processor, any two electric shock pins in the magazine can produce a uniform effect, effectively improving the firing times and firing efficiency of the click bullet.
[0059] 2. By collecting the target image of the magazine installation position and performing pixel grayscale processing, it is beneficial to realize the extraction of color blocks based on the grayscale target image, effectively improving the efficiency of color distinction, and by color marking different color blocks, the color area corresponding to the same color block can be obtained, and then by determining the color area with the largest area of the color block as the target area to be inspected, the area of the inspection area is effectively shortened, thereby improving the efficiency of the magazine detection device in determining whether the magazine is installed. By determining the first overlap between the target area to be inspected and the first sample image, and the second overlap between the target area to be inspected and the second sample image, and comparing them, the accuracy and rationality of the magazine detection device in determining whether the magazine is installed are achieved, effectively ensuring the effectiveness of the magazine multi-shot control.
[0060] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0061] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0063] Figure 1 This is a structural diagram of a multiple-continuous electric shock control system in an embodiment of the present invention;
[0064] Figure 2 It is a structural diagram of a voltage stabilizing module in a multi-continuous electric shock control system in an embodiment of the present invention;
[0065] Figure 3 It is a structural diagram of a magazine firing control module in a multi-shot firing control system according to an embodiment of the present invention;
[0066] Figure 4 This is a flow chart of a multiple-continuous electric shock control method in an embodiment of the present invention;
[0067] Figure 5 This is a block diagram of a high-voltage circuit switching module in an embodiment of the present invention. DETAILED DESCRIPTION
[0068] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0069] In one embodiment, a multi-continuous electric shock control system is provided, such as Figure 1 As shown, including:
[0070] A voltage stabilization module, used to generate a voltage stabilization signal based on the processor 1, and control the high-voltage module 2 to generate high voltage and perform voltage stabilization processing on the high voltage according to the voltage stabilization signal;
[0071] The electric shock circuit working state control module is used to generate a circuit control signal based on the processor 1 when the voltage is in a stable state, and control the high-voltage circuit switching module 3 to adjust the working state of multiple electric shock circuits according to the circuit control signal;
[0072] The magazine firing control module is used to determine that the electric shock circuit is in an operating state based on the working state, detect the status information of the magazine based on the magazine firing and detection module 4, and control the firing of the magazine based on the control signal of the processor 1, and when the magazine is fired, push the electric shock pin in the magazine to fire.
[0073] In this embodiment, the voltage stabilization signal may be a PWM signal, and the PWM signal controls the generation of a high voltage of 500-2000V.
[0074] In this embodiment, the high-voltage module is controlled by a PWM signal generated by a processor to generate a high voltage of 500-2000V. The processor generates a PWM signal that is driven through the high-voltage module to the high-voltage module boost component (including a boost transformer, a high-voltage capacitor, etc.) to produce a high voltage voltage. The processor module changes the output of the PWM signal by detecting the generated high voltage voltage so that the high-voltage output is stable at a value.
[0075] In this embodiment, the high-voltage circuit switching module can freely switch the on / off and positive and negative poles of the 8-way electric shock circuit according to the signal of the processor module. Figure 5 As shown, any two electric shock pins of the magazine can produce a uniform effect. Each electric shock circuit switching module consists of two high-voltage circuit switches and a circuit switching control circuit. The high-voltage circuit can be turned on and off. After the high-voltage circuit is turned on, the high voltage can output the positive or negative pole to the magazine output port through the high-voltage circuit switch. The switch is made by detecting the status of magazine installation and firing. The purpose is to prevent other magazines from firing when individual magazines miss, thereby improving the fault tolerance rate.
[0076] In this embodiment, the magazine firing and detection module can detect whether the magazine is installed, whether the magazine has been fired, and other status information and feedback to the processor module. It has 8 identical modules, corresponding to 8 magazines. It is composed of a magazine firing drive, a magazine pusher and a magazine detection. The magazine can be fired according to the signal sent by the processor module. After the magazine is fired, the electric shock pin in the magazine is pushed to fire.
[0077] In this embodiment, there are multiple magazines, and each magazine produces an electric shock pin after firing, and one electric shock pin corresponds to only one electrode (one electric shock circuit).
[0078] The working principle and beneficial effects of the above technical solution are: the voltage-stabilizing signal generated by the processor enables the control system to have a stable working environment, and the on-off and positive and negative poles of the electric shock circuit are freely switched according to the signal of the processor, so that any two electric shock pins of the magazine can produce a uniform effect, thereby effectively improving the number of click bullet firings and the firing efficiency.
[0079] In one embodiment, the voltage regulator module, such as Figure 2 As shown, including:
[0080] Processor 1, high-voltage module 2, high-voltage module boost component 21, high-voltage module driver 22 and power supply 5;
[0081] The output end of the power supply 5 is connected to the input end of the high-voltage module boost component 21, the output end of the high-voltage module boost component 21 is connected to the input end of the high-voltage module 2, and the output end of the high-voltage module 2 is connected to the input end of the processor 1;
[0082] The output end of the processor 1 is connected to the input end of the high-voltage module driver 22 , and the output end of the high-voltage module driver 22 is connected to the input end of the high-voltage module boost component.
[0083] The working principle and beneficial effects of the above technical solution are: outputting the system voltage based on the power supply 5, and boosting the system voltage according to the high-voltage module boosting component 21, and outputting the high voltage based on the high-voltage module 2; generating a voltage stabilization signal based on the processor 1, and driving the voltage stabilization signal to the high-voltage module boosting component 21 according to the high-voltage module driver 22 to perform voltage stabilization on the high voltage output by the high-voltage module 2, thereby ensuring the stability of the voltage and laying the foundation for the subsequent electric shock bullet work.
[0084] In one embodiment, the voltage stabilizing module includes:
[0085] A high voltage generation control unit, used to output a system voltage based on the power supply 5, and to perform a boost operation on the system voltage according to the high voltage module boost component 21, and to output a high voltage based on the high voltage module 2;
[0086] The voltage stabilization control unit is used to generate a voltage stabilization signal based on the processor 1, and drive the voltage stabilization signal to the high-voltage module boost component 21 according to the high-voltage module driver 22 to perform voltage stabilization processing on the high voltage output by the high-voltage module 2.
[0087] The working principle and beneficial effects of the above technical solution are: outputting the system voltage according to the power supply, and boosting the system voltage according to the high-voltage module boost component, based on the high-voltage module outputting high voltage, generating a voltage stabilization signal according to the processor, and driving the voltage stabilization signal to the high-voltage module boost component according to the high-voltage module drive to perform voltage stabilization on the high voltage output by the high-voltage module, thereby ensuring the stability of the voltage and laying the foundation for subsequent electric shock bullet work.
[0088] In one embodiment, the electric shock circuit working state control module includes:
[0089] The high-voltage circuit switching module 3 includes: a high-voltage circuit switching circuit and a circuit switching control circuit;
[0090] Based on the high-voltage circuit switching module, the high-voltage circuit is turned on or off;
[0091] When the high-voltage circuit is turned on and the voltage is in a stable state, a circuit control signal is generated based on processor 1;
[0092] Based on the loop switching control loop reads the circuit control signal, and adjusts the working state of the electric shock circuit according to the reading result.
[0093] The working principle and beneficial effects of the above technical solution are: the high-voltage circuit switching module can freely switch the on / off and positive and negative poles of the 8-way electric shock circuit according to the signal of the processor. The function of any two electric shock pins in the magazine producing a uniform effect is achieved. Each electric shock circuit switching module is composed of two high-voltage circuit switches and a circuit switching control circuit. The high-voltage circuit can be turned on and off. After the high-voltage circuit is turned on, the high voltage can output the positive or negative pole to the magazine output port through the high-voltage circuit switch, and the on / off and positive and negative poles of the electric shock circuit (that is, the working state of the electric shock circuit) are freely switched according to the signal of the processor, so as to achieve the function of any two electric shock pins in the magazine producing a uniform effect, effectively improving the number of click bullet firings and the firing efficiency.
[0094] In one embodiment, Figure 3 As shown, the magazine firing control module includes:
[0095] The magazine firing and detection module 4 includes: a magazine firing drive 41, a magazine pusher 42 and a magazine detection device 43;
[0096] Wherein, the output end of the processor 1 is connected to the input end of the magazine firing drive 41;
[0097] The output end of the magazine firing drive 41 is connected to the input end of the magazine pusher 42;
[0098] The output end of the magazine pusher 42 is connected to the input end of the magazine detection device 43;
[0099] An output end of the magazine detection device 43 is connected to an input end of the processor 1 .
[0100] The magazine firing module mentioned above comprises:
[0101] A state detection unit, used for detecting whether a magazine is installed based on the magazine firing and magazine detection device 43 in the detection module 4 when the electric shock circuit is in operation;
[0102] The firing control unit is used for, when the detection result shows that the magazine has been installed, receiving the control signal of the processor 1 based on the magazine firing drive 41, and controlling the magazine to fire according to the control signal of the processor 1, and at the same time, pushing the electric striker in the magazine to fire based on the magazine pusher 42;
[0103] The state detection unit is also used to detect whether the electric needle in the magazine has been fired based on the magazine detection device 43 after the magazine pusher 42 has pushed the electric needle in the magazine to fire.
[0104] The working principle and beneficial effects of the above technical solution are: the magazine is fired by a signal sent by the processor, and when the magazine is fired, the electric firing pin in the magazine is pushed to fire, thereby improving the effectiveness and intelligence of magazine firing detection.
[0105] In one embodiment, in the state detection unit, the detection module 4 is further used for:
[0106] After the click needle is fired, whether the click needle hits is determined based on the electric shock pulse. The specific determination method includes:
[0107] When two or more magazines are fired, the processor 1 detects the output port of the high-voltage module 2 to determine whether the target is hit;
[0108] It includes: when two magazines hit the target, the target is shocked with high voltage at a frequency of 22HZ, in the first pulse, magazine 1 is positive and magazine 2 is negative, in the second pulse, magazine 1 is negative and magazine 2 is positive, and so on, among which, when two magazines hit the target, the pulse diagram is as shown in the following table;
[0109]
[0110] When three magazines hit the target, the target is shocked with high voltage at a frequency of 33HZ. In the first pulse, magazine 1 is positive, and the other two are negative. In the second pulse, magazine 2 is positive, and the others are negative. In the third pulse, magazine 3 is positive, and the others are negative. This cycle repeats. When three magazines hit the target, the pulse diagram is as shown in the following table;
[0111]
[0112] When four magazines hit the target, the target is shocked with high voltage at a frequency of 44HZ. In the first pulse, magazine 1 is positive, and the other two are negative. In the second pulse, magazine 2 is positive, and the others are negative. In the third pulse, magazine 3 is positive, and the others are negative. In the fourth pulse, magazine 3 is positive, and the others are negative. This cycle repeats. When four magazines hit the target, the pulse diagram is as shown in the following table;
[0113]
[0114] When 5 or more magazines hit the target, the target is shocked with high voltage at a frequency of 44HZ. In the first pulse, magazine 1 is positive and the other two are negative. In the second pulse, magazine 2 is positive and the others are negative. In the third pulse, magazine 3 is positive and the others are negative. In the fourth pulse, magazine 3 is positive and the others are negative. Magazine 5 has the same output as magazine 1, magazine 6 has the same output as magazine 2, magazine 7 has the same output as magazine 3, and magazine 8 has the same output as magazine 4. This cycle repeats. When 5 or more magazines hit the target, the pulse diagram is as follows:
[0115]
[0116] As mentioned above, when the electric shock needle is launched, the high voltage is first used to determine whether it is lost. If it is lost, the high voltage of this port will not be output.
[0117] If the electric shock needle is lost during the electric shock process,
[0118] When only two magazines have been fired, the processor sounds an alarm requiring the magazines to be reloaded.
[0119] When firing 3 or more magazines, if the stun pin of one magazine is lost, the subduing effect will not be affected. It will only reduce the shock frequency. After firing 3 magazines, the frequency will increase to 33HZ, and after firing 4 magazines, the frequency will increase to 44HZ. This will offset the effect of reducing the shock frequency caused by the lost magazine stun pin.
[0120] The working principle and beneficial effects of the above technical solution are as follows: by detecting the high voltage voltage at the output end of the high voltage module, it is judged that one magazine is one electrode, and a loop will be formed only when two or more magazines (electrodes) hit the target. The high voltage output voltage can be judged according to the logic of the pulse diagram. When the target is hit, the voltage will decrease, and the voltage will not change after the target is lost. The logic of the pulse diagram is that there is only one positive level each time (5-8 and 1-4 are counted as the same), and the processor detects the high voltage output voltage at the same time when issuing this logic. When this pulse is positive, the high voltage output voltage does not decrease, which means that the electric needle has not hit; it can effectively and accurately detect whether the electric needle has hit, thereby improving the efficiency and accuracy of detecting whether the electric needle has hit.
[0121] In one embodiment, in the state detection unit, detecting whether the magazine is installed based on the magazine detection device 43 includes:
[0122] An image acquisition subunit, used to acquire a target image of the magazine installation position;
[0123] An image processing subunit is used to perform pixel grayscale processing on the target image of the magazine installation position to obtain a grayscale target image;
[0124] A feature reading subunit is used to read the pixel distribution feature of the grayscale target image and determine the color block in the grayscale target image according to the pixel distribution feature;
[0125] The labeling subunit is used to obtain different color blocks in the grayscale target image, and perform color labeling on the grayscale target image based on the different color blocks to obtain the color area corresponding to each color block;
[0126] The target area to be inspected acquisition subunit is used to calculate the area of each color area and mark the color area with the largest area to obtain the target area to be inspected;
[0127] The sample image acquisition subunit is used to retrieve a first sample image corresponding to when a magazine is installed in the magazine installation position, and at the same time, retrieve a second sample image corresponding to when a magazine is not installed in the magazine installation position;
[0128] The overlap calculation subunit is used to calculate a first overlap between the target area to be inspected and the first sample image, and calculate a second overlap between the target area to be inspected and the second sample image;
[0129] Comparison subunit, used to:
[0130] comparing the first overlap degree with the second overlap degree to determine whether the magazine is installed;
[0131] When the first overlap degree is greater than the second overlap degree, it is determined that the magazine is installed in the magazine installation position;
[0132] When the first overlap degree is less than the second overlap degree, it is determined that no magazine is installed in the magazine installation position;
[0133] When the first overlap degree is equal to the second overlap degree, it is impossible to determine whether a magazine is installed at the magazine installation position, and it is determined that a malfunction occurs in the installation of the pistol magazine;
[0134] The alarm subunit is used to perform an alarm operation when a malfunction occurs in the installation of the pistol magazine.
[0135] In this embodiment, the grayscale target image may be an image obtained by performing pixel grayscale processing on the target image.
[0136] In this embodiment, the color labeling is used to distinguish color blocks of different colors.
[0137] In this embodiment, the alarm operation may include one or more of light, sound, and vibration.
[0138] The working principle and beneficial effects of the above technical solution are as follows: by collecting the target image of the magazine installation position and performing pixel grayscale processing, it is beneficial to realize the extraction of color blocks based on the grayscale target image, effectively improving the efficiency of color distinction, and by color marking different color blocks, the color area corresponding to the same color block can be obtained, and then by determining the color area with the largest area of the color block as the target area to be inspected, the area of the inspection area is effectively shortened, thereby improving the efficiency of the magazine detection device in determining whether the magazine is installed, by determining the first overlap between the target area to be inspected and the first sample image, and the second overlap between the target area to be inspected and the second sample image, and comparing them, the accuracy and rationality of the magazine detection device in determining whether the magazine is installed is achieved, effectively ensuring the effectiveness of the magazine multi-shot control.
[0139] In one embodiment, a multiple-continuous electric shock control method, such as Figure 4 As shown, including:
[0140] Step 1: Generate a voltage stabilization signal based on the processor, and control the high-voltage module to generate high voltage and perform voltage stabilization processing on the high voltage according to the voltage stabilization signal;
[0141] Step 2: When the voltage is in a stable state, a circuit control signal is generated based on the processor, and the high-voltage circuit switching module is controlled according to the circuit control signal to adjust the working state of the multi-channel electric shock circuit;
[0142] Step 3: When it is determined based on the working status that the electric shock circuit is in operation, the status information of the magazine is detected based on the magazine firing and detection module, and the firing magazine is controlled based on the control signal of the processor, and when the magazine is fired, the electric shock pin in the magazine is pushed to fire.
[0143] The working principle and beneficial effects of the above technical solution are: the voltage-stabilizing signal generated by the processor enables the control system to have a stable working environment, and the on-off and positive and negative poles of the electric shock circuit are freely switched according to the signal of the processor, so that any two electric shock pins of the magazine can produce a uniform effect, thereby effectively improving the number of click bullet firings and the firing efficiency.
[0144] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A multi-continuous electric shock control system, It is characterized in that include: A voltage stabilization module, used to generate a voltage stabilization signal based on the processor (1), and to control the high-voltage module (2) to generate high voltage and perform voltage stabilization processing on the high voltage according to the voltage stabilization signal; The electric shock circuit working state control module is used to generate a circuit control signal based on the processor (1) when the voltage is in a stable state, and control the high-voltage circuit switching module to adjust the working state of multiple electric shock circuits according to the circuit control signal; The magazine firing control module is used to determine that the electric shock circuit is in an operating state based on the working state, detect the state information of the magazine based on the magazine firing and detection module, and control the firing of the magazine based on the control signal of the processor (1), and when the magazine is fired, push the electric shock pin in the magazine to fire; Among them, the voltage stabilizing module includes: A processor (1), a high-voltage module (2), a high-voltage module boost component (21), a high-voltage module driver (22), and a power supply (5); The output end of the power supply (5) is connected to the input end of the high-voltage module boost component (21), the output end of the high-voltage module boost component (21) is connected to the input end of the high-voltage module (2), and the output end of the high-voltage module (2) is connected to the input end of the processor (1); The output end of the processor (1) is connected to the input end of the high-voltage module driver (22), and the output end of the high-voltage module driver (22) is connected to the input end of the high-voltage module boost component.
2. A multiple electric shock control system according to claim 1, It is characterized in that Voltage regulator module, including: A high voltage generation control unit, used for outputting a system voltage based on a power supply (5), performing a boost operation on the system voltage according to a high voltage module boost component (21), and outputting a high voltage based on the high voltage module (2); A voltage stabilization control unit is used to generate a voltage stabilization signal based on a processor (1), and drive the voltage stabilization signal to a high-voltage module boost component (21) according to a high-voltage module drive (22) to perform voltage stabilization processing on the high voltage output by the high-voltage module (2).
3. A multiple electric shock control system according to claim 1, It is characterized in that The electric shock circuit working state control module includes: The high-voltage circuit switching module includes: a high-voltage circuit switching circuit and a circuit switching control circuit; Based on the high-voltage circuit switching module, the high-voltage circuit is turned on or off; When the high-voltage circuit is turned on and the voltage is in a stable state, a circuit control signal is generated based on the processor (1); Based on the loop switching control loop reads the circuit control signal, and adjusts the working state of the electric shock circuit according to the reading result.
4. A multiple electric shock control system according to claim 3, It is characterized in that Magazine firing control module, including: A magazine firing and detection module, wherein the magazine firing and detection module comprises: a magazine firing drive (41), a magazine pusher (42) and a magazine detection device (43); Wherein, the output end of the processor (1) is connected to the input end of the magazine firing drive (41); The output end of the magazine firing drive (41) is connected to the input end of the magazine pusher (42); The output end of the magazine pusher (42) is connected to the input end of the magazine detection device (43); The output end of the magazine detection device (43) is connected to the input end of the processor (1).
5. A multiple electric shock control system according to claim 4, It is characterized in that Magazine firing control module, including: A state detection unit, used for detecting whether a magazine is installed based on a magazine detection device (43) in the magazine firing and detection module when the electric shock circuit is in an operating state; A firing control unit, which is used for, when the detection result shows that the magazine has been installed, receiving a control signal from the processor (1) based on the magazine firing drive (41), and controlling the magazine to fire according to the control signal from the processor (1), and at the same time, pushing the electric striker in the magazine to fire based on the magazine pusher (42); The state detection unit is also used to detect whether the electric shock needle in the magazine has been fired based on the magazine detection device (43) after the magazine pusher (42) has pushed the electric shock needle in the magazine to fire.
6. A multiple electric shock control system according to claim 5, It is characterized in that In the state detection unit, the magazine firing and detection module is also used for: After the electric shock needle is fired, the electric shock pulse is used to determine whether the electric shock needle has hit the target. The specific determination method includes: When two or more magazines are fired, the processor (1) detects the output port of the high-voltage module (2) to determine whether the target is hit; These include: when two magazines hit the target, the target is shocked with high voltage at a frequency of 22HZ. During the first pulse, magazine 1 is positive and magazine 2 is negative. During the second pulse, magazine 1 is negative and magazine 2 is positive, and the cycle continues. When three magazines hit the target, the target is shocked with high voltage at a frequency of 33HZ. During the first pulse, magazine 1 is positive and the other two are negative. During the second pulse, magazine 2 is positive and the others are negative. During the third pulse, magazine 3 is positive and the others are negative, and the cycle repeats. When four magazines hit the target, the target is shocked with high voltage at a frequency of 44HZ. In the first pulse, magazine 1 is positive and the other three are negative. In the second pulse, magazine 2 is positive and the rest are negative. In the third pulse, magazine 3 is positive and the rest are negative. In the fourth pulse, magazine 4 is positive and the rest are negative, and the cycle continues.
7. A multiple electric shock control system according to claim 5, It is characterized in that In the state detection unit, whether the magazine is installed is detected based on the magazine detection device (43), including: An image acquisition subunit, used to acquire a target image of the magazine installation position; An image processing subunit is used to perform pixel grayscale processing on the target image of the magazine installation position to obtain a grayscale target image; A feature reading subunit is used to read the pixel distribution feature of the grayscale target image and determine the color block in the grayscale target image according to the pixel distribution feature; The labeling subunit is used to obtain different color blocks in the grayscale target image, and perform color labeling on the grayscale target image based on the different color blocks to obtain the color area corresponding to each color block; The target area to be inspected acquisition subunit is used to calculate the area of each color area and mark the color area with the largest area to obtain the target area to be inspected; The sample image acquisition subunit is used to retrieve a first sample image corresponding to when a magazine is installed in the magazine installation position, and at the same time, retrieve a second sample image corresponding to when a magazine is not installed in the magazine installation position; The overlap calculation subunit is used to calculate a first overlap between the target area to be inspected and the first sample image, and calculate a second overlap between the target area to be inspected and the second sample image; Comparison subunit, used to: comparing the first overlap degree with the second overlap degree to determine whether the magazine is installed; When the first overlap degree is greater than the second overlap degree, it is determined that the magazine is installed in the magazine installation position; When the first overlap degree is less than the second overlap degree, it is determined that no magazine is installed in the magazine installation position; When the first overlap degree is equal to the second overlap degree, it is impossible to determine whether a magazine is installed at the magazine installation position, and it is determined that a malfunction occurs in the installation of the pistol magazine; The alarm subunit is used to perform an alarm operation when a malfunction occurs in the installation of the pistol magazine.
8. A multiple-continuous electric shock control method, based on the multiple-continuous electric shock control system according to claim 1, It is characterized in that include: Step 1: Based on the processor (1), a voltage stabilization signal is generated, and according to the voltage stabilization signal, a high-voltage module (2) is controlled to generate high voltage and perform voltage stabilization processing on the high voltage; Step 2: When the voltage is in a stable state, a circuit control signal is generated based on the processor (1), and the high-voltage circuit switching module is controlled according to the circuit control signal to adjust the working state of the multi-channel electric shock circuit; Step 3: When it is determined based on the working state that the electric shock circuit is in an operating state, the state information of the magazine is detected based on the magazine firing and detection module, and the firing of the magazine is controlled based on the control signal of the processor (1), and when the magazine is fired, the electric shock pin in the magazine is pushed to fire.
