A high-voltage pulse power supply system for an electric shock device and its control method
Through the combination of voltage stabilization module, boost module and high-voltage energy storage module, feedback control and PWM wave control are used to solve the controllability and output stability of the shock high-voltage pulse power supply system, and the reliability and high-voltage shock effect of the shock are achieved.
Patent Information
- Application Number
- CN202410710908.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2044-06-04
AI Technical Summary
The high-voltage pulse power supply system of existing shocks has problems such as poor controllability, unsatisfactory output voltage and poor control time, and cannot effectively follow the changes in the high-voltage pulse output.
The combination of voltage stabilization module, boost module and high-voltage energy storage module is adopted to control the working state of the boost module through feedback control mechanism and pulse width modulation PWM wave, ensuring that the shock can reach the required high-voltage voltage within the specified time and provide stable power when needed.
The reliability and consistency of the shock absorber is achieved, ensuring that the shock absorber can produce a strong shock effect, and isolate the interference of the boost circuit when the high-voltage output is output, providing sufficient energy reserves to meet the shock demand.
Smart Images

Figure CN118500204B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy storage control, and particularly relates to a high-voltage pulse power supply system for an electric shock device and a control method thereof. Background Art
[0002] The function of the high-voltage pulse power supply for an electric shock device is to generate high-voltage electrical pulses for electrocuting or repelling a target. The role of the high-voltage pulse power supply is to provide powerful electric shock energy for multiple fields such as self-defense, protection, law enforcement, security, outdoor exploration, agriculture, and animal husbandry to enhance people's safety and quality of life. However, for existing electric shock devices, a transformer adds a set of feedback windings to form self-excited oscillation to control the boost of the triode; a PwM boost chip is used, and the transformer does not have a feedback winding and uses the flyback circuit principle to boost the voltage.
[0003] Prior art one, application number: CN 202310846003.6 discloses a pulse power supply, including a pulse power supply module and a current guiding module; the pulse power supply module is used to provide voltage for an external electroplating bath; the current guiding module is arranged between the pulse power supply module and the external electroplating bath, and the current guiding module is used to cut off the reverse current flowing from the pulse power supply module to the external electroplating bath. Although by arranging the current guiding module between the pulse power supply module and the electroplating bath, it is possible to avoid the problem that the insoluble anode of the electroplating bath repeatedly flows through the reverse current to generate hydrogen evolution corrosion, which affects the service life of the insoluble anode, due to the continuous positive and negative pole swapping of the electrodes in pulse electroplating. However, the method of boosting voltage by self-excited oscillation of the transformer feedback winding has a simple circuit but poor controllability, and the output voltage is not ideal enough to effectively meet the high-voltage requirements of the electric shock device.
[0004] Prior art two, application number: CN 202311408104.1 discloses a Buck pulse power supply circuit, including a power supply, two MOS transistors, an inductor, a capacitor, and four diodes. In this circuit, a resistor is connected in parallel with the third diode and is connected in series with the capacitor between the two poles of the power supply. The first and fourth diodes are connected in parallel and are connected in parallel with the circuit formed by the inductor and the second MOS transistor to form a connection between the two poles of the power supply. One end of the second diode is connected between the first MOS transistor and the positive pole of the power supply, and the other end is connected between the inductor and the second MOS transistor to achieve the output regulation of the pulse current. Although compared with the prior art, it is possible to reduce the inductor current ripple, thereby reducing the switching frequency of the high-frequency switching transistor when outputting high-frequency pulse current. However, the structure is relatively simple, resulting in inaccurate boost results.
[0005] Prior Art Three, Application Number: CN 201510368114.6 discloses a mobile power supply with self - defense function, including a housing, a power supply component and a self - defense component. The housing is a hollow cylinder. The power supply component and the self - defense component are arranged inside the housing. The power supply component includes a battery pack and a control circuit board. The upper surface of the housing is provided with a USB output hole, a Micro input hole and a power switch key. The USB output hole, the Micro input hole and the power switch key are all connected to the battery pack through the control circuit board. The self - defense component includes a composite pulse generator, a power amplifier, a step - up transformer and a high - voltage electrode. The high - voltage electrode protrudes from the lower surface of the housing in the form of a metal column. The lower end of the side of the housing is provided with an electric shock switch, a sliding groove and an electrode sliding rod. The electrode sliding rod passes through the sliding groove and is connected to the tail of the high - voltage electrode. Although it integrates a mobile power supply and an electric shock self - defense device, it is simple to use, convenient to carry and has stronger practicability, bringing great convenience to users. However, it uses a step - up chip, with poor control timeliness and cannot effectively follow the change of high - voltage pulse output.
[0006] Currently, Prior Art One, Prior Art Two and Prior Art Three have problems that the circuit using the self - excited oscillation step - up method of the transformer feedback winding is simple, but the controllability is poor and the output voltage is not ideal; using a step - up chip, the control timeliness is poor and it cannot effectively follow the change of high - voltage pulse output. Therefore, the present invention provides a high - voltage pulse power supply system for an electric shock device and its control method. When the high - voltage output is performed, the step - up circuit can be isolated without interfering with the output voltage. After the high - voltage output is completed, the energy of the energy storage module can be immediately released. Summary of the Invention
[0007] In order to solve the above - mentioned technical problems, the present invention provides a control method for a high - voltage pulse power supply for an electric shock device, including the following steps:
[0008] Control the voltage of the power input of the electric shock device, adjust the change of the power input voltage according to the high - voltage demand, and stabilize the output voltage;
[0009] According to the electric shock timing sequence, boost the output voltage to the high - voltage level and keep it stable; store electrical energy and release the power when needed to provide power for the pulsed electric shock of the electric shock device.
[0010] According to the electric shock logic timing sequence, high - voltage and regulated voltage, simultaneously provide pulse - width modulation PWM waves with different duty cycles and frequencies for the boost module to control the working state of the boost module, adjust the output of the boost module according to system requirements; and is also responsible for stopping the pulse - width modulation PWM output and turning on the release circuit to control the start and end of the electric shock and the release of the power of the high - voltage energy storage module.
[0011] Preferably, the process of controlling the voltage of the power input of the electric shock device includes the following steps:
[0012] Detect the voltage of the input power supply, voltage changes, and whether there are faults in the power supply; according to the high-voltage voltage requirements of the electric shock device, through a feedback control mechanism, adjust the change of the output voltage and stabilize the output voltage;
[0013] Compare the voltage output by the input power supply monitoring sub-module with the set stable voltage value, and perform control operations according to the comparison result; the control operations include if the voltage of the input power supply is too high or too low compared to the set stable voltage value, adjust the voltage of the power supply to make it close to the set stable voltage value; when the input power supply voltage exceeds the set stable voltage range, turn off the power switch and stop the power output; when there are faults or abnormalities in the input power supply, trigger an alarm or a fault signal to notify the operator for handling;
[0014] According to the comparison result, the voltage stabilizing module will issue corresponding control signals to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilizing module increases the control signal to increase the voltage of the input power supply.
[0015] Preferably, the process of stabilizing the output voltage includes the following steps:
[0016] Implement the input power supply monitoring sub-module to detect the voltage of the input power supply and transfer the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module to compare the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is too high or too low compared to the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result;
[0017] Implement the control signal adjustment sub-module to receive the control signal issued by the comparator control sub-module and adjust the voltage of the input power supply according to the magnitude of the control signal; the digital control regulator transfers the adjusted control signal to the input power supply to adjust the output voltage of the input power supply through the control signal;
[0018] The output voltage of the input power supply changes according to the adjustment of the control signal. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transfers the detection result to the digital control regulator; the digital control regulator adjusts the control signal again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage.
[0019] Preferably, the process of boosting voltage and energy storage includes the following steps:
[0020] Control the switch of the step-up transformer to boost the input voltage to the required high voltage, which consists of a logic gate circuit, a driver chip, or a microcontroller; boost the input voltage to the required high voltage, which consists of one or more coils, and convert the input voltage into a high-voltage output voltage through magnetic coupling;
[0021] Temporarily store energy and smooth the output voltage waveform; control the direction of current flow to prevent energy from flowing back to the input power supply;
[0022] Upon the instruction of the controller module, release the stored electrical energy when electric shock is needed; the controller module determines when to release the electrical energy according to the requirements of the electric shock logic timing sequence. The controller module will send a corresponding signal to the high-voltage energy storage module to initiate the electrical energy release process; upon receiving the electrical energy release signal, the high-voltage energy storage module transfers the stored electrical energy to the boost module through an internal switch.
[0023] Preferably, the process of transferring the stored electrical energy to the boost module includes the following steps:
[0024] During the charging stage, the storage and control sub-module starts to charge and store the electrical energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conducting state, and the current flows from the positive terminal to the negative terminal of the diode. The direction of current flow is from the input power supply to the storage and control sub-module, and the electrical energy is stored in the capacitor or energy storage element.
[0025] During the boosting stage, when the drive circuit sub-module closes the boost transformer switch, the boost transformer sub-module starts to work and boosts the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state, preventing the current from flowing back.
[0026] During the maintaining stage, the storage and control sub-module is responsible for maintaining the stability of the output voltage; the diode in the storage and control sub-module remains in the cut-off state, and the direction of current flow is still from the input power supply to the boost transformer.
[0027] Preferably, the process of providing electrical energy for the pulsed electric shock of the electric shock device includes the following steps:
[0028] The high-voltage energy storage module releases the stored electrical energy when electric shock is needed upon the instruction of the controller module; the controller module determines when to release the electrical energy according to the requirements of the electric shock logic timing sequence. The controller module will send a corresponding signal to the high-voltage energy storage module to initiate the electrical energy release process;
[0029] Upon receiving the electrical energy release signal, the high-voltage energy storage module transfers the stored electrical energy to the boost module through an internal switch.
[0030] Preferably, the process of electrical energy release includes the following steps:
[0031] Generate the electric shock logic timing sequence, determine the start and end times of the electric shock, and control the working state of the boost module;
[0032] Generate PWM signals with different duty cycles and frequencies to control the working state and output voltage of the boost module;
[0033] Control the power release of the high-voltage energy storage module, turn on or off the switch to control the start and end of the electric shock, and the power release of the high-voltage energy storage module.
[0034] Preferably, the process of controlling the working state of the boost module includes the following steps:
[0035] Program and configure the photoelectric sensor, and the photoelectric sensor detects whether the control switch of the electric shock device is touched;
[0036] The controller module monitors the signal generated by the photoelectric sensor, and judges the conditions for starting and ending the electric shock according to the change of the signal of the photoelectric sensor; for example, when the signal of the photoelectric sensor meets a specific threshold or trigger condition, it is judged that the electric shock starts; when the signal of the photoelectric sensor no longer meets the condition, it is judged that the electric shock ends;
[0037] Control the start and end of the electric shock operation according to the judged start and end conditions;
[0038] According to the determined start and end times, generate an electric shock logic timing signal through the state machine. The electric shock logic timing signal is a series of pulse signals used to control the working state of different parts of the electric shock device.
[0039] Preferably, generating the electric shock logic timing signal through the state machine includes: defining a series of states to represent different stages or states of the electric shock logic, defining the states of electric shock start, electric shock in progress, and electric shock end; according to the requirements of the electric shock logic, determining the conversion conditions between states based on the input trigger signal; according to the determined states and conversion conditions, designing the state conversion logic using the state table. In the state of electric shock in progress, if the set duration is reached or the end trigger signal is received, the state is converted to the electric shock end state.
[0040] A high-voltage pulse power supply system for an electric shock device provided by the present invention includes:
[0041] A voltage stabilization module, which is responsible for controlling the voltage of the power input of the electric shock device, adjusting the change of the power input voltage according to the high-voltage demand, and stably outputting the voltage;
[0042] A boost module, which is responsible for boosting the voltage output by the voltage stabilization module to a high voltage according to the electric shock timing and keeping it stable;
[0043] A high-voltage energy storage module, which is responsible for storing electrical energy and releasing power when needed to provide power for the pulsed electric shock of the electric shock device;
[0044] The controller module is responsible for providing pulse width modulation (PWM) waves with different duty cycles and frequencies to the boost module according to the electric shock logic timing, high voltage and regulated voltage, controlling the working state of the boost module and adjusting the output of the boost module according to system requirements. It is also responsible for stopping the pulse width modulation (PWM) output and opening the release circuit to control the start and end of the electric shock and the release of electricity from the high-voltage energy storage module.
[0045] The present invention ensures that the subsequent boost module can reach the required high voltage within the specified time, provides a stable power supply, and ensures the reliability and consistency of the stun gun. The boost module increases the low voltage to meet the stun gun's demand for high voltage; it provides sufficient high voltage so that the stun gun can produce a strong electric shock effect. When a large amount of electrical energy is required during electric shock, the high-voltage energy storage module provides sufficient energy reserves to ensure that the stun gun can provide a continuous and strong electric shock effect. The controller module controls the working state of the boost module and adjusts the output of the boost module according to system requirements; stops the pulse width modulation PWM output and opens the release circuit to control the start and end of the electric shock, as well as the release of the high-voltage energy storage module; it achieves precise control of the stun gun to ensure the safety and effectiveness of the stun gun.
[0046] 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 particularly pointed out in the written description, claims, and drawings.
[0047] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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:
[0049] Figure 1 This is a block diagram of a high-voltage pulse power supply system for an electric shock device in Embodiment 1 of the present invention;
[0050] Figure 2 This is a schematic diagram of a high-voltage pulse power supply system for an electric shock device in Embodiment 2 of the present invention;
[0051] Figure 3 The voltage stabilizing module in Embodiment 3 of the present invention;
[0052] Figure 4 This is a block diagram of the input power monitoring submodule in Example 4 of the present invention;
[0053] Figure 5It is the block diagram of the boost module in Embodiment 5 of the present invention;
[0054] Figure 6 It is the block diagram of the storage and control sub-module in Embodiment 6 of the present invention;
[0055] Figure 7 It is the block diagram of the high-voltage energy storage module in Embodiment 7 of the present invention;
[0056] Figure 8 It is the block diagram of the controller module in Embodiment 8 of the present invention;
[0057] Figure 9 It is the block diagram of the timing control sub-module in Embodiment 9 of the present invention;
[0058] Figure 10 It is the flowchart of the high-voltage pulse power supply control method for an electric shock device in Embodiment 10 of the present invention. Detailed implementation manners
[0059] The following describes the preferred embodiments of the present invention with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only for the purpose of illustrating and explaining the present invention, and are not used to limit the present invention.
[0060] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms "a", "the", and "said" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0061] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0062] Embodiment 1: As Figure 1 shown, the embodiment of the present invention provides a high-voltage pulse power supply system for an electric shock device, comprising:
[0063] A voltage stabilizing module, which is responsible for controlling the voltage of the power input of the stun gun, adjusting the change of the power input voltage according to the high-voltage demand, and stably outputting the voltage;
[0064] A boost module, which is responsible for boosting the voltage output by the voltage stabilizing module to a high voltage according to the stun timing and keeping it stable;
[0065] A high-voltage energy storage module, which is responsible for storing electrical energy and releasing the electrical energy when needed to provide electrical energy for the pulsed stun of the stun gun;
[0066] A controller module, which is responsible for providing pulse-width modulation PWM waves with different duty cycles and frequencies for the boost module according to the stun logic timing, high-voltage and regulated voltage, controlling the working state of the boost module, and adjusting the output of the boost module according to the system requirements; it is also responsible for stopping the pulse-width modulation PWM output and turning on the release circuit to control the start and end of the stun, and the release of the electrical energy of the high-voltage energy storage module.
[0067] The working principle and beneficial effects of the above technical solutions are as follows: The voltage stabilizing module of this embodiment controls the voltage of the power input of the stun gun, adjusts the change of the power input voltage according to the high-voltage demand, and stably outputs the voltage; the boost module is responsible for boosting the voltage output by the voltage stabilizing module to a high voltage according to the stun timing and keeping it stable; the high-voltage energy storage module stores electrical energy and releases the electrical energy when needed to provide electrical energy for the pulsed stun of the stun gun; the controller module provides pulse-width modulation PWM waves with different duty cycles and frequencies for the boost module according to the stun logic timing, high-voltage and regulated voltage, controls the working state of the boost module, and adjusts the output of the boost module according to the system requirements; it is also responsible for stopping the pulse-width modulation PWM output and turning on the release circuit to control the start and end of the stun, and the release of the electrical energy of the high-voltage energy storage module (for the specific principle, please refer to the appendix Figure 2 ). The above solutions ensure that the subsequent boost module can reach the required high voltage within the specified time, provide a stable power supply, ensure the reliability and consistency of the stun gun, and the boost module raises the low voltage to meet the high-voltage demand of the stun gun; provide sufficient high voltage to enable the stun gun to produce a powerful stun effect. The high-voltage energy storage module provides sufficient energy reserve when a large amount of electrical energy is needed during stun, ensuring that the stun gun can provide a continuous and powerful stun effect. The controller module controls the working state of the boost module, adjusts the output of the boost module according to the system requirements; stops the pulse-width modulation PWM output and turns on the release circuit to control the start and end of the stun, and the release of the electrical energy of the high-voltage energy storage module; realizes precise control of the stun gun, ensuring the safety and effectiveness of the stun gun.
[0068] In summary, through the coordinated work of various modules in this embodiment, the high-voltage pulse power supply system can stably output high-voltage voltage and provide sufficient power when needed to realize the function of the stun gun; ensure that the stun gun can reliably and stably generate high-voltage pulses to meet the needs of self-defense, protection, law enforcement, safety, etc. The high-voltage energy storage voltage can stably reach the voltage within the specified time, maximize the guarantee that the energy storage voltage reaches the required power, and the voltage value of the energy storage voltage can be controlled at any time. When the high voltage is output, the boost circuit can be isolated without interfering with the output voltage. After the high voltage output is completed, the energy of the energy storage module can be released immediately.
[0069] This embodiment is designed to form a high voltage for the electric shock device. It is necessary to cooperate with the high-voltage pulse electric shock sequence to boost the voltage. The maximum electric shock frequency of the electric shock circuit is 44HZ, that is, a 23ms period; the power supply needs to reserve a certain redundancy value to boost the voltage to the required voltage, which is expected to be within 10mS and stable within this voltage fluctuation range; when the electric shock sequence is activated, stop boosting the voltage and wait for the sequence to end. The electric shock sequence action time is within 1MS. After the sequence ends, it will be boosted to the required voltage again within the specified time and stabilized within the voltage fluctuation range.
[0070] Example 2: Figure 2 As shown, on the basis of Example 1, the high-voltage pulse power supply system for the electric shock device provided in the embodiment of the present invention is further provided with a microprocessor U1, pins 1, 2 and 3 of the microprocessor U1 are connected to the GND end, pins 4 and 5 are empty, pins 6 and 7 are connected to the anode of the diode D1, pins 8 and 9 are connected to one end of the inductor L1, the positive electrode of the capacitor EC1 and the input power supply, the other end of the inductor L1 is connected to the anode of the diode D1, the negative electrode of the capacitor EC1 is connected to the GND end, pin 10 is connected to one end of the resistor R3, the other end of the resistor R3 is connected to the GND end, pin 11 is connected to the positive electrode of the capacitor C1, the negative electrode of the capacitor C1 is connected to the GND end, pin 12 is connected to the positive electrode of the capacitor C2, the negative electrode of the capacitor C2 is connected to the GND end, pins 13 and 14 are connected to the GND end; the cathode of the diode D1 is connected to the cathode of the resistor R1 One end and the input end of the inductor L3, the other end of the resistor R1 is connected to one end of the resistor R2, the other end of the resistor R2 is connected to the GND end, the negative electrode of the capacitor EC2 is connected to the GND end, the positive electrode of the capacitor EC2 is connected to the system voltage end V_SYS, the other input end of the inductor L3 is connected to the cathode of the diode Q2, the anode of the diode Q2 is connected to one end of the resistor R4 and the boost drive module, the other end of the resistor R4 is connected to the GND end, the output end of the inductor L3 is connected to the positive electrode of the diode D6, the negative electrode of the diode D6 is connected to the positive electrode of the capacitor C3 and the positive electrode of the diode D4, the other output end of the inductor L3 is connected to the negative electrode of the capacitor C3, one end of the resistor R6 and the negative electrode of the diode Q4, the other end of the resistor R6 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the high-voltage power supply end V_HV, and the negative electrode of the diode Q4 is connected to the high-voltage energy storage module.
[0071] The working principle and beneficial effects of the above technical solution are as follows: The purpose of this embodiment is to generate high-voltage pulses, and the working principle is as follows: After being filtered and adjusted by inductor L1 and capacitor EC1, the input power supply forms an oscillation circuit through the coupling of capacitor C2 and inductor L3; the microprocessor U1 may control the boost drive module through the control signal of the pin to make it work at an appropriate time to generate a high-voltage output; when the boost drive module works, the coupling of inductor L3 and capacitor C3 forms a resonance circuit, and through the rectification of diode D6 and diode D4, the high-voltage output is supplied to the load or used for the function of the stun gun. This embodiment generates a high-voltage pulse power supply system that can be operated through a control signal to generate a high-voltage output to meet the working requirements of the stun gun.
[0072] Embodiment 3: As Figure 3 shown, on the basis of Embodiment 1, the voltage stabilization module provided by the embodiment of the present invention includes:
[0073] The input power supply monitoring sub-module is responsible for detecting the voltage, voltage change of the input power supply, and whether there is a fault in the power supply; according to the requirements of the stun gun for the high-voltage, through the feedback control mechanism, it adjusts the change of the output voltage and stabilizes the output voltage;
[0074] The comparator control sub-module is responsible for comparing the voltage output by the input power supply monitoring sub-module with the set stable voltage value, and performing control operations according to the comparison result; the control operations include if the voltage of the input power supply is higher or lower than the set stable voltage value, adjusting the voltage of the power supply to make it close to the set stable voltage value; when the voltage of the input power supply exceeds the set stable voltage range, turning off the power switch to stop the power output; when there is a fault or abnormality in the input power supply, triggering an alarm or a fault signal to notify the operator for handling;
[0075] The control signal adjustment sub-module is responsible for issuing corresponding control signals according to the comparison result, and the voltage stabilization module adjusts the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilization module increases the control signal to increase the voltage of the input power supply.
[0076] The working principle and beneficial effects of the above technical solution are as follows: The input power supply monitoring sub-module of this embodiment detects the voltage, voltage change of the input power supply, and whether there is a fault in the power supply; according to the requirements of the stun gun for high-voltage, through the feedback control mechanism, it adjusts the change of the output voltage and stabilizes the output voltage; the comparator control sub-module compares the voltage output by the input power supply monitoring sub-module with the set stable voltage value, and performs control operations according to the comparison result; the control operations include if the voltage of the input power supply is higher or lower than the set stable voltage value, adjusting the voltage of the power supply to make it close to the set stable voltage value; when the input power supply voltage exceeds the set stable voltage range, turning off the power switch and stopping the power output; when there is a fault or abnormality in the input power supply, triggering an alarm or a fault signal to notify the operator for processing; the control signal adjustment sub-module, according to the comparison result, the voltage stabilization module issues corresponding control signals to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilization module increases the control signal to increase the voltage of the input power supply. The input power supply monitoring sub-module of the above solution detects the voltage, voltage change and fault condition of the input power supply, understands the state of the power supply in real time, obtains the power supply state information, ensures the stability and reliability of the input power supply, provides accurate power supply information, and provides a basis for subsequent control operations; the feedback control mechanism enables the output voltage to work stably according to the requirements, meets the requirements of the stun gun for high-voltage, ensures that the voltage stabilization module can provide a stable output voltage, and provides a stable input for the subsequent boost module. The comparator control sub-module makes corresponding adjustments and controls according to the deviation of the power supply voltage to ensure that the voltage of the input power supply is within the stable range; ensures that the output voltage of the voltage stabilization module can always be within the set stable voltage range and meets the requirements of the high-voltage pulse power supply. The control signal adjustment sub-module increases the control signal according to the low voltage condition of the input power supply to increase the voltage of the power supply, ensures that the voltage of the input power supply can be adjusted in a timely manner and remains within the stable voltage range, and meets the requirements of the high-voltage pulse power supply.
[0077] In summary, this embodiment ensures that the voltage stabilization module can provide a stable output voltage, meeting the requirements of the high-voltage pulse power supply system for power supply stability and reliability; by monitoring the power supply state, performing feedback control, comparing and adjusting the voltage, these sub-modules work together to ensure the normal operation of the voltage stabilization module, provide a stable input for the subsequent boost module and high-voltage energy storage module, and realize the normal operation and performance output of the high-voltage pulse power supply system.
[0078] Embodiment 4: As Figure 4 shown, on the basis of Embodiment 3, the input power supply monitoring sub-module provided by the embodiment of the present invention includes:
[0079] The device interaction unit is responsible for implementing the input power supply monitoring sub-module to detect the voltage of the input power supply and transfer the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module to compare the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is higher or lower than the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result;
[0080] The voltage adjustment unit is responsible for implementing that the control signal adjustment sub-module receives the control signal sent by the comparator control sub-module and adjusts the voltage of the input power supply according to the magnitude of the control signal; the digital control regulator transfers the adjusted control signal to the input power supply to adjust the output voltage of the input power supply through the control signal;
[0081] The feedback loop unit is responsible for the output voltage of the input power supply to change according to the adjustment of the control signal. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transfers the detection result to the digital control regulator; the digital control regulator adjusts the control signal again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage.
[0082] The working principle and beneficial effects of the above technical solution are as follows: The device interaction unit of this embodiment realizes that the input power supply monitoring sub-module detects the voltage of the input power supply and transmits the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module and compares the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is higher or lower than the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result; the voltage adjustment unit realizes that the control signal adjustment sub-module receives the control signals issued by the comparator control sub-module and adjusts the voltage of the input power supply according to the magnitude of the control signals; the digital control regulator transmits the adjusted control signals to the input power supply and adjusts the output voltage of the input power supply through the control signals; the output voltage of the input power supply in the feedback loop unit changes according to the adjustment of the control signals. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transmits the detection results to the digital control regulator; the digital control regulator adjusts the control signals again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage. The device interaction unit of the above solution obtains the actual voltage information of the input power supply, providing a basis for subsequent comparison and adjustment; providing accurate input power supply voltage information, providing a basis for the control and regulation of the voltage stabilization module. The digital control regulator interacts with the comparator control sub-module to continuously monitor the difference between the voltage of the input power supply and the set stable voltage, judge the state of the input power supply, and determine whether adjustment and control are required. The control signal adjustment unit changes the output voltage of the input power supply according to the control signals issued by the comparator control sub-module to achieve the regulation of the output voltage of the input power supply, making it close to the set stable voltage value. The feedback loop unit continuously detects the output voltage of the input power supply and transmits the detection results to the digital control regulator to implement a feedback control mechanism, enabling the voltage stabilization module to promptly sense the changes in the power supply and achieve precise regulation of the output voltage by adjusting the control signals.
[0083] In summary, this embodiment ensures that the voltage stabilization module can achieve stable control of the output voltage of the input power supply. By continuously monitoring and comparing the voltage of the input power supply and adjusting the control signals to regulate the output voltage, the voltage stabilization module can ensure that the output voltage is always within the set stable voltage range, meeting the requirements of the high-voltage pulse power supply system for power supply stability and reliability, and ensuring the normal operation and performance output of the system.
[0084] Embodiment 5: As Figure 5 shown, based on Embodiment 1, the boost module provided by the embodiment of the present invention includes:
[0085] The drive circuit sub-module is responsible for controlling the switch of the boost transformer to boost the input voltage to the required high voltage, and is composed of a logic gate circuit, a drive chip or a microcontroller;
[0086] The step-up transformer sub-module is responsible for boosting the input voltage to the required high voltage. It consists of one or more coils and converts the input voltage into a high-voltage output voltage through magnetic coupling.
[0087] The storage and control sub-module is responsible for temporarily storing energy, smoothing the output voltage waveform, controlling the direction of current flow, and preventing energy from flowing back to the input power supply.
[0088] The working principle and beneficial effects of the above technical solution are as follows: The drive circuit sub-module of this embodiment controls the switch of the step-up transformer to boost the input voltage to the required high voltage. It is composed of a logic gate circuit, a drive chip, or a microcontroller. The step-up transformer sub-module boosts the input voltage to the required high voltage. It consists of one or more coils and converts the input voltage into a high-voltage output voltage through magnetic coupling. The storage and control sub-module stores energy, smooths the output voltage waveform, controls the direction of current flow, and prevents energy from flowing back to the input power supply. The drive circuit sub-module of the above solution is composed of a logic gate circuit, a drive chip, or a microcontroller, etc., and is responsible for controlling the switch of the step-up transformer to boost the input voltage to the required high voltage, achieving precise control of the step-up transformer, ensuring that the output voltage meets the design requirements, providing a stable and efficient drive signal, realizing the step-up function, and providing a stable high-voltage output for the subsequent high-voltage power supply system. The step-up transformer sub-module realizes the conversion from the input voltage to the high-voltage output voltage, realizes the step-up function, provides a stable high-voltage output, and meets the requirements of the stun gun for the high-voltage pulse power supply. The storage and control sub-module realizes the storage and release of energy, as well as the smooth adjustment of the output voltage, provides a stable high-voltage output, ensures that the stun gun can work normally, and protects the input power supply from the influence of energy backflow.
[0089] In summary, this embodiment realizes the function of the step-up module, that is, boosts the input voltage to the required high voltage and maintains a stable output. Through the precise control of the drive circuit sub-module, the voltage conversion of the step-up transformer sub-module, and the energy storage and output regulation of the storage and control sub-module, the step-up module can provide a stable and efficient high-voltage output, meet the requirements of the stun gun for the high-voltage pulse power supply, ensure the normal operation of the stun gun, and improve its reliability and safety.
[0090] Example 6: As Figure 6 shown, based on Example 5, the storage and control sub-module provided by the embodiment of the present invention includes:
[0091] The charging stage unit is responsible for, during the charging stage, starting the charging of the storage and control sub-module, storing electrical energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conducting state, and the current will flow from the positive terminal to the negative terminal of the diode. The direction of current flow is from the input power supply to the storage and control sub-module, storing electrical energy into the capacitor or energy storage element;
[0092] The boosting stage unit is responsible for, during the boosting stage, when the drive circuit sub-module closes the boosting transformer switch, the boosting transformer sub-module starts to work, boosting the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state, preventing the backflow of current;
[0093] The maintaining stage unit is responsible for, during the maintaining stage, the storage and control sub-module is responsible for maintaining the stability of the output voltage; the diode in the storage and control sub-module remains in the cut-off state, and the direction of current flow is still from the input power supply to the boosting transformer.
[0094] The working principle and beneficial effects of the above technical solution are as follows: In the charging stage of the charging stage unit of this embodiment, the storage and control sub-module starts to charge and store electrical energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conducting state, and the current will flow from the positive terminal to the negative terminal of the diode. The direction of current flow is from the input power supply to the storage and control sub-module, storing electrical energy into the capacitor or energy storage element; in the boosting stage of the boosting stage unit, when the drive circuit sub-module closes the boosting transformer switch, the boosting transformer sub-module starts to work, boosting the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state, preventing the backflow of current; in the maintaining stage of the maintaining stage unit, the storage and control sub-module is responsible for maintaining the stability of the output voltage; the diode in the storage and control sub-module remains in the cut-off state, and the direction of current flow is still from the input power supply to the boosting transformer. The charging stage unit of the above solution effectively converts the input electrical energy into stored energy, provides an energy source for the subsequent boosting stage, provides a stable energy supply for the boosting module, and ensures the reliability and stability of the boosting process. The boosting stage unit realizes the conversion from the input voltage to the high-voltage output voltage, transfers the energy from the boosting transformer to the output end, provides a stable high-voltage output, and meets the requirements of the boosting module for the high-voltage pulse power supply. The maintaining stage unit maintains the stability of the output voltage, prevents voltage fluctuations and noise interference, ensures the normal operation of the boosting module, provides a stable and efficient high-voltage output, meets the requirements of the stun gun for the high-voltage pulse power supply, and protects the subsequent circuit from the influence of unstable voltage.
[0095] In summary, the charging stage unit of this embodiment realizes the storage of energy, the boosting stage unit realizes the conversion of the input voltage to the high-voltage output voltage, and the maintaining stage unit realizes the maintenance of the stability of the output voltage; it is to realize the function of the boosting module, provide a stable high-voltage output for the subsequent high-voltage power supply system, ensure the normal operation of the stun gun, and protect the safety and reliability of the input power supply and the subsequent circuit.
[0096] Embodiment 7: As Figure 7 shown, based on Embodiment 1, the high-voltage energy storage module provided by the embodiment of the present invention includes:
[0097] The electric energy release sub-module is responsible for the high-voltage energy storage module to release the stored electric energy when an electric shock is needed according to the instruction of the controller module; the controller module judges when the electric energy needs to be released according to the electric shock logic timing requirement, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the electric energy release process;
[0098] The electric energy transfer sub-module is responsible for receiving the electric energy release signal, and the high-voltage energy storage module transfers the stored electric energy to the boosting module through an internal switch.
[0099] The working principle and beneficial effects of the above technical solution are: the electric energy release sub-module of this embodiment, the high-voltage energy storage module releases the stored electric energy when an electric shock is needed according to the instruction of the controller module; the controller module judges when the electric energy needs to be released according to the electric shock logic timing requirement, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the electric energy release process; the electric energy transfer sub-module receives the electric energy release signal, and the high-voltage energy storage module transfers the stored electric energy to the boosting module through an internal switch. The electric energy release sub-module of the above solution realizes the accurate release of the electric energy of the high-voltage energy storage module, meets the precise control requirements of the stun gun for the release of electric energy, ensures that the high-voltage pulse power supply system provides a stable high-voltage pulse electric shock according to the set timing and requirements, and ensures the accuracy and reliability of the electric shock. The electric energy transfer sub-module ensures that the electric energy stored in the high-voltage energy storage module can be effectively transferred to the boosting module to meet the requirements of the boosting module for the high-voltage power supply, provides a stable high-voltage output, meets the requirements of the stun gun for the high-voltage pulse power supply, and ensures the stability and reliability of the electric shock.
[0100] In summary, the electric energy release sub-module of this embodiment realizes the accurate release of electric energy, meeting the precise control requirements of the stun gun for the release of electric energy; the electric energy transfer sub-module realizes the effective transfer of electric energy, ensuring that the electric energy stored in the high-voltage energy storage module can be supplied to the boosting module for boosting operation; realizing the function of the high-voltage pulse power supply system, providing a stable high-voltage pulse electric shock output, meeting the requirements of the stun gun, and ensuring the accuracy, stability and reliability of the electric shock.
[0101] Embodiment 8: As Figure 8As shown, based on Embodiment 1, the controller module provided by the embodiment of the present invention includes:
[0102] A timing control sub-module, responsible for generating the electroshock logic timing, determining the start and end times of the electroshock, and controlling the working state of the boost module;
[0103] A pulse width modulation generation sub-module, responsible for generating pulse width modulation PWM signals with different duty cycles and frequencies, for controlling the working state and output voltage of the boost module;
[0104] A release circuit control sub-module, responsible for controlling the power release of the high-voltage energy storage module, turning on or off the switch to control the start and end of the electroshock, and the power release of the high-voltage energy storage module.
[0105] The working principle and beneficial effects of the above technical solution are as follows: The timing control sub-module of this embodiment generates the electroshock logic timing, determines the start and end times of the electroshock, and controls the working state of the boost module; the pulse width modulation generation sub-module generates pulse width modulation PWM signals with different duty cycles and frequencies, for controlling the working state and output voltage of the boost module; the release circuit control sub-module controls the power release of the high-voltage energy storage module, turns on or off the switch to control the start and end of the electroshock, and the power release of the high-voltage energy storage module. The timing control sub-module of the above solution can ensure that the electroshocker performs electroshock operations according to a predetermined timing, realizing precise control of the electroshock. The technical effect of the timing control sub-module is to ensure that the electroshock operations of the electroshocker are carried out according to the specified timing, realizing accurate control of the high-voltage pulse. The pulse width modulation generation sub-module adjusts the output voltage of the boost module as needed, realizing precise regulation of the high-voltage pulse. The technical effect of the pulse width modulation generation sub-module is to realize precise control of the output voltage of the boost module to meet the requirements of high-voltage in different application scenarios. The release circuit control sub-module ensures that the start and end times of the electroshock are accurately controllable, and releases the power of the high-voltage energy storage module when needed, providing power support for the pulse electroshock of the electroshocker. The technical effect of the release circuit control sub-module is to ensure the accuracy and controllability of the electroshock operation, as well as the power management of the high-voltage energy storage module.
[0106] In summary, these sub-modules of this embodiment achieve precise control of the electroshock timing, precise regulation of the high-voltage output, and effective management of the power of the high-voltage energy storage module. Through the functions of the controller module, it can ensure that the electroshocker performs electroshock operations according to a predetermined timing, and adjusts the high-voltage output according to the requirements, so as to achieve a more reliable, safe and efficient operation of the electroshocker, meeting the requirements of different application scenarios.
[0107] Embodiment 9: As Figure 9 shown, based on Embodiment 8, the timing control sub-module provided by the embodiment of the present invention includes:
[0108] The sensor programming and configuration unit is responsible for programming and configuring the optoelectronic sensor, which detects whether the control switch of the stun gun is touched.
[0109] The controller module monitors the signals generated by the optoelectronic sensor and determines the conditions for starting and ending the electric shock based on the changes in the signals of the optoelectronic sensor. For example, when the signal of the optoelectronic sensor meets a specific threshold or trigger condition, it is determined that the electric shock starts; when the signal of the optoelectronic sensor no longer meets the condition, it is determined that the electric shock ends.
[0110] The electric shock operation control unit is responsible for controlling the start and end of the electric shock operation according to the determined start and end conditions.
[0111] The signal generation unit is responsible for generating the electric shock logic timing signal through the state machine according to the determined start and end times. The electric shock logic timing signal is a series of pulse signals used to control the working states of different parts of the stun gun.
[0112] Among them, generating the electric shock logic timing signal through the state machine includes: First, a series of states need to be defined to represent different stages or states of the electric shock logic. For example, states such as electric shock start, electric shock in progress, and electric shock end can be defined; according to the requirements of the electric shock logic, the conversion conditions between states are determined based on the input trigger signal; according to the determined states and conversion conditions, the state transition logic is designed using the state table. For example, in the state of electric shock in progress, if the set duration is reached or the end trigger signal is received, the state can be transitioned to the electric shock end state.
[0113] The working principle and beneficial effects of the above technical solution are as follows: The sensor programming and configuration unit of this embodiment programs and configures the photoelectric sensor, and the photoelectric sensor detects whether the control switch of the stun gun is touched; the controller module monitors the signal generated by the photoelectric sensor, and judges the conditions for starting and ending the electric shock according to the change of the signal of the photoelectric sensor; for example, when the signal of the photoelectric sensor meets a specific threshold or trigger condition, it is judged that the electric shock starts; when the signal of the photoelectric sensor no longer meets the condition, it is judged that the electric shock ends; the electric shock operation control unit controls the start and end of the electric shock operation according to the judged start and end conditions; the signal generation unit generates an electric shock logic timing signal through a state machine according to the determined start and end times, and the electric shock logic timing signal is a series of pulse signals used to control the working states of different parts of the stun gun; among them, generating the electric shock logic timing signal through a state machine includes: First, a series of states need to be defined to represent different stages or states of the electric shock logic. For example, states such as the start of the electric shock, the ongoing electric shock, and the end of the electric shock can be defined; according to the requirements of the electric shock logic, the conversion conditions between states are determined based on the input trigger signal; according to the determined states and conversion conditions, a state transition logic is designed using a state table. For example, in the ongoing electric shock state, if the set duration is reached or an end trigger signal is received, a state transition can be made to the end of the electric shock state. The sensor programming and configuration unit of the above solution enables the photoelectric sensor to accurately detect the touch signal and convert it into an electrical signal and transmit it to the controller module; the controller module can judge the conditions for starting and ending the electric shock according to the change of the signal of the photoelectric sensor, realizing an accurate judgment of the conditions for starting and ending the electric shock. The electric shock operation control unit realizes the accurate control of the electric shock operation, ensures that the electric shock is carried out at the appropriate time, and stops after the end condition is met. The signal generation unit generates a series of pulse signals to ensure that the stun gun works according to the predetermined timing, realizing the precise control of the stun gun.
[0114] In summary, the significance of these units in this embodiment lies in realizing the automatic control and precision of the electric shock operation, and improving the accuracy and reliability of the electric shock operation. By using a photoelectric sensor to detect the touch signal and make a judgment, combined with a state machine to generate a timing signal, it can ensure that the electric shock operation is carried out at the correct time and stops after the predetermined conditions are met, avoiding misjudgment and inaccuracy in manual operation, and improving the efficiency and safety of the electric shock operation.
[0115] Embodiment 10: As Figure 10 shown, on the basis of Embodiments 1-9, the high-voltage pulse power supply control method for a stun gun provided by an embodiment of the present invention includes the following steps:
[0116] S100: Control the voltage of the power supply input of the stun gun, adjust the change of the voltage of the power supply input according to the high-voltage requirement, and stably output the voltage;
[0117] S200: Boost the output voltage to a high voltage according to the electric shock timing sequence and maintain stability; store electrical energy and release the electrical energy when needed to provide electrical energy for the pulsed electric shock of the electric shock device.
[0118] S300: According to the electric shock logic timing sequence, high voltage, and regulated voltage, simultaneously provide PWM waves with different duty cycles and frequencies to the boost module to control the working state of the boost module, adjust the output of the boost module according to system requirements; also responsible for stopping the PWM output and turning on the release circuit to control the start and end of the electric shock and the release of the electrical energy of the high-voltage energy storage module.
[0119] The working principle and beneficial effects of the above technical solutions are as follows: In this embodiment, first, the voltage of the power input of the electric shock device is controlled, the change of the power input voltage is adjusted according to the high-voltage demand, and the output voltage is stabilized; secondly, according to the electric shock timing sequence, the output voltage is boosted to a high voltage and maintained stable; store electrical energy and release the electrical energy when needed to provide electrical energy for the pulsed electric shock of the electric shock device; finally, according to the electric shock logic timing sequence, high voltage, and regulated voltage, simultaneously provide PWM waves with different duty cycles and frequencies to the boost module to control the working state of the boost module, adjust the output of the boost module according to system requirements; also responsible for stopping the PWM output and turning on the release circuit to control the start and end of the electric shock and the release of the electrical energy of the high-voltage energy storage module. The above solution ensures that the subsequent boost module can reach the required high voltage within the specified time, provide a stable power supply, ensure the reliability and consistency of the electric shock device, the boost module raises the low voltage to meet the high-voltage demand of the electric shock device; provide sufficient high voltage to enable the electric shock device to produce a powerful electric shock effect. The high-voltage energy storage module provides sufficient energy reserve when a large amount of electrical energy is required during the electric shock, ensuring that the electric shock device can provide a continuous and powerful electric shock effect. The controller module controls the working state of the boost module, adjusts the output of the boost module according to system requirements; stops the PWM output and turns on the release circuit to control the start and end of the electric shock and the release of the electrical energy of the high-voltage energy storage module; realizes precise control of the electric shock device, ensuring the safety and effectiveness of the electric shock device.
[0120] In summary, this embodiment can stably output a high voltage and provide sufficient electrical energy when needed to realize the function of the electric shock device; ensure that the electric shock device can reliably and stably generate high-voltage pulses to meet the needs of self-defense, protection, law enforcement, safety, etc. The high-voltage energy storage voltage can stably reach the voltage within the specified time, maximize the guarantee that the energy storage voltage reaches the required electrical energy, and the voltage value of the energy storage voltage can be controlled at any time. When the high-voltage output is performed, the boost circuit can be isolated without interfering with the output voltage. After the high-voltage output is completed, the energy of the energy storage module can be immediately released.
[0121] This embodiment is designed to generate high voltage for the stun gun and needs to boost the voltage in coordination with the high-voltage pulse shock timing. The maximum shock frequency of the shock circuit is 44HZ, that is, a 23ms cycle; the power supply needs to boost the voltage to the required voltage within a certain reserved redundancy value, which is expected to be within 10mS and stabilize within this voltage fluctuation range; when the shock sequence takes effect, the voltage boosting stops and waits for the sequence to end. The shock sequence action time is within 1MS. After the sequence ends, the voltage is boosted to the required voltage again within the specified time and stabilized within the voltage fluctuation range.
[0122] Embodiment 11: On the basis of Embodiment 10, the process of controlling the voltage of the power supply input to the stun gun provided by the embodiment of the present invention includes the following steps:
[0123] S101: Detect the voltage of the input power supply, voltage changes, and whether there is a fault in the power supply; according to the requirements of the stun gun for high-voltage, adjust the change of the output voltage through a feedback control mechanism and stabilize the output voltage;
[0124] S102: Compare the voltage output by the input power supply monitoring sub-module with the set stable voltage value, and perform control operations according to the comparison result; the control operations include if the voltage of the input power supply is higher or lower than the set stable voltage value, adjust the voltage of the power supply to make it close to the set stable voltage value; when the input power supply voltage exceeds the set stable voltage range, turn off the power switch and stop the power output; when there is a fault or abnormality in the input power supply, trigger an alarm or a fault signal to notify the operator for processing;
[0125] S103: According to the comparison result, the voltage stabilization module will issue corresponding control signals to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilization module increases the control signal to increase the voltage of the input power supply.
[0126] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the voltage, voltage change, and whether there is a fault in the input power supply are first detected; according to the requirements of the stun gun for high-voltage, the change of the output voltage is adjusted through a feedback control mechanism, and the output voltage is stabilized; secondly, the voltage output by the input power supply monitoring sub-module is compared with the set stable voltage value, and control operations are performed according to the comparison result; the control operations include if the voltage of the input power supply is higher or lower than the set stable voltage value, adjusting the voltage of the power supply to make it close to the set stable voltage value; when the voltage of the input power supply exceeds the set stable voltage range, the power switch is turned off to stop the power output; when there is a fault or abnormality in the input power supply, an alarm or fault signal is triggered to notify the operator for handling; finally, according to the comparison result, the voltage stabilizing module issues corresponding control signals to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilizing module increases the control signal to increase the voltage of the input power supply. The above solution detects the voltage, voltage change, and fault conditions of the input power supply, understands the state of the power supply in real time, obtains the power supply state information, ensures the stability and reliability of the input power supply, provides accurate power supply information, and provides a basis for subsequent control operations; the feedback control mechanism enables the output voltage to work stably according to requirements, meets the requirements of the stun gun for high-voltage, ensures that the voltage stabilizing module can provide a stable output voltage, and provides a stable input for the subsequent boost module. According to the deviation of the power supply voltage, corresponding adjustments and controls are made to ensure that the voltage of the input power supply is within the stable range; ensure that the output voltage of the voltage stabilizing module can always be within the set stable voltage range, meeting the requirements of the high-voltage pulse power supply. According to the low voltage situation of the input power supply, the control signal is increased to increase the voltage of the power supply, ensuring that the voltage of the input power supply can be adjusted in a timely manner and maintained within the stable voltage range, meeting the requirements of the high-voltage pulse power supply.
[0127] In summary, this embodiment can provide a stable output voltage, meeting the requirements of the high-voltage pulse power supply system for power supply stability and reliability; by monitoring the power supply state, performing feedback control, comparing and adjusting the voltage, the normal operation of the voltage stabilizing module is ensured, providing a stable input for the subsequent boost module and high-voltage energy storage module, and realizing the normal operation and performance output of the high-voltage pulse power supply system.
[0128] Embodiment 12: On the basis of Embodiment 10, the process of stabilizing the output voltage provided by the embodiment of the present invention includes the following steps:
[0129] S1011: Implement the input power supply monitoring sub-module to detect the voltage of the input power supply and transfer the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module to compare the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is higher or lower than the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result;
[0130] S1012: Implement the control signal adjustment sub-module to receive the control signals issued by the comparator control sub-module and adjust the voltage of the input power supply according to the magnitude of the control signals; the digital control regulator transfers the adjusted control signals to the input power supply to adjust the output voltage of the input power supply through the control signals;
[0131] S1013: The output voltage of the input power supply changes according to the adjustment of the control signals. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transfers the detection results to the digital control regulator; the digital control regulator adjusts the control signals again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage.
[0132] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, the input power supply monitoring sub-module is implemented to detect the voltage of the input power supply and transfer the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module to compare the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is higher or lower than the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result; second, the control signal adjustment sub-module is implemented to receive the control signals issued by the comparator control sub-module and adjust the voltage of the input power supply according to the magnitude of the control signals; the digital control regulator transfers the adjusted control signals to the input power supply to adjust the output voltage of the input power supply through the control signals; finally, the output voltage of the input power supply changes according to the adjustment of the control signals. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transfers the detection results to the digital control regulator; the digital control regulator adjusts the control signals again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage. The above solution monitors the voltage condition of the input power supply in real time for subsequent adjustment and control; obtains accurate input voltage information to provide basic data for subsequent control adjustment. The output voltage of the input power supply is changed by adjusting the control signals, and the input power supply is accurately adjusted according to the actual situation to achieve a stable output voltage. The change of the output voltage is fed back in real time for further adjustment by the digital control regulator to maintain the stability of the output voltage and avoid the impact of too high or too low voltage on the equipment.
[0133] In summary, the significance of the entire process of this embodiment lies in achieving a stable voltage supply for electrical equipment to ensure the normal operation of the equipment. Through continuous monitoring, comparison, and adjustment, the output voltage can be precisely controlled to prevent voltage fluctuations from damaging the equipment and improve the stability and reliability of the equipment.
[0134] Embodiment 13: On the basis of Embodiment 10, the step-up and energy storage process provided by the embodiment of the present invention includes the following steps:
[0135] S201: Control the switch of the step-up transformer to step up the input voltage to the required high voltage, which is composed of a logic gate circuit, a drive chip, or a microcontroller; step up the input voltage to the required high voltage, which is composed of one or more coils, and convert the input voltage into a high-voltage output voltage through magnetic coupling;
[0136] S202: Temporarily store energy and smooth the output voltage waveform; control the direction of current flow to prevent energy from flowing back to the input power supply;
[0137] S203: Release the stored electrical energy when an electric shock is required according to the instruction of the controller module; the controller module judges when to release the electrical energy according to the electric shock logic timing requirement, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the electrical energy release process; upon receiving the electrical energy release signal, the high-voltage energy storage module transfers the stored electrical energy to the step-up module through the internal switch.
[0138] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the switch of the step-up transformer is controlled to boost the input voltage to the required high voltage. It consists of a logic gate circuit, a driver chip, or a microcontroller; the input voltage is boosted to the required high voltage by one or more coils, and the input voltage is converted into a high-voltage output voltage through magnetic coupling; energy is stored to smooth the output voltage waveform; the direction of current flow is controlled to prevent energy from flowing back to the input power supply. According to the instructions of the controller module, the stored electrical energy is released when an electric shock is needed; the controller module judges when to release the electrical energy according to the requirements of the electric shock logic timing sequence, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the electrical energy release process; the electrical energy transfer sub-module receives the signal to release the electrical energy, and the high-voltage energy storage module transfers the stored electrical energy to the step-up module through the internal switch. The above solution is composed of a logic gate circuit, a driver chip, or a microcontroller, etc., which is responsible for controlling the switch of the step-up transformer to boost the input voltage to the required high voltage, achieving precise control of the step-up transformer, ensuring that the output voltage meets the design requirements, providing a stable and efficient drive signal, realizing the step-up function, and providing a stable high-voltage output for the subsequent high-voltage power supply system. It realizes the conversion from the input voltage to the high-voltage output voltage, realizes the step-up function, provides a stable high-voltage output, and meets the requirements of the electric shocker for the high-voltage pulse power supply. It realizes the storage and release of energy, as well as the smooth adjustment of the output voltage, provides a stable high-voltage output, ensures that the electric shocker can work normally, and protects the input power supply from the influence of energy backflow; the electrical energy release sub-module realizes the accurate release of the electrical energy of the high-voltage energy storage module, meets the precise control requirements of the electric shocker for the release of electrical energy, ensures that the high-voltage pulse power supply system provides a stable high-voltage pulse electric shock according to the set timing sequence and requirements, and ensures the accuracy and reliability of the electric shock. The electrical energy transfer sub-module ensures that the electrical energy stored in the high-voltage energy storage module can be effectively transferred to the step-up module to meet the requirements of the step-up module for the high-voltage power supply, provides a stable high-voltage output, meets the requirements of the electric shocker for the high-voltage pulse power supply, and ensures the stability and reliability of the electric shock.
[0139] In summary, this embodiment realizes the function of boosting voltage, that is, boosting the input voltage to the required high voltage and maintaining a stable output. Through the precise control of the drive circuit sub-module, the voltage conversion of the boost transformer sub-module, and the energy storage and output regulation of the storage and control sub-module, the boost module can provide a stable and efficient high-voltage output, meet the requirements of the stun gun for the high-voltage pulse power supply, ensure the normal operation of the stun gun, and improve its reliability and safety. The electric energy release sub-module of this embodiment realizes the accurate release of electric energy, meeting the precise control requirements of the stun gun for electric energy release; the electric energy transfer sub-module realizes the effective transfer of electric energy, ensuring that the electric energy stored in the high-voltage energy storage module can be supplied to the boost module for boosting operation; realizing the function of the high-voltage pulse power supply system, providing a stable high-voltage pulse shock output, meeting the requirements of the stun gun, and ensuring the accuracy, stability and reliability of the shock.
[0140] Embodiment 14: On the basis of Embodiment 13, the process of transferring the stored electric energy to the boost module provided by the embodiment of the present invention includes the following steps:
[0141] S2031: In the charging stage, the storage and control sub-module starts to charge and store electric energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conducting state, and the current flows from the positive terminal of the diode to the negative terminal. The direction of current flow is from the input power supply to the storage and control sub-module, and the electric energy is stored in the capacitor or energy storage element.
[0142] S2032: In the boosting stage, when the drive circuit sub-module closes the boost transformer switch, the boost transformer sub-module starts to work and boosts the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state, preventing the backflow of current.
[0143] S2033: In the maintaining stage, the storage and control sub-module is responsible for maintaining the stability of the output voltage; the diode in the storage and control sub-module is still in the cut-off state, and the direction of current flow is still from the input power supply to the boost transformer.
[0144] The working principle and beneficial effects of the above technical solution are as follows: In the charging stage of this embodiment, the storage and control sub-module starts charging to store electrical energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conduction state, and the current will flow from the positive terminal to the negative terminal of the diode. The direction of current flow is from the input power supply to the storage and control sub-module, and the electrical energy is stored in the capacitor or energy storage element. Secondly, in the boosting stage, when the driving circuit sub-module closes the switch of the boost transformer, the boost transformer sub-module starts to work to boost the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state to prevent the backflow of current. Finally, in the maintaining stage, the storage and control sub-module is responsible for maintaining the stability of the output voltage; the diode in the storage and control sub-module is still in the cut-off state, and the direction of current flow is still from the input power supply to the boost transformer. The above solution stores electrical energy through charging to provide an energy source for subsequent boosting, effectively utilizes electrical energy, and avoids energy waste. The voltage is increased through the working principle of the transformer to meet the requirements of specific electrical equipment for high-voltage power supplies, providing a stable high-voltage power supply to meet the working requirements of the equipment. By controlling the direction of current flow and adjusting the working state of the storage and control sub-module, the stability of the output voltage is maintained, ensuring the stability of the output voltage and avoiding damage to the equipment caused by voltage fluctuations.
[0145] In summary, the significance of the entire process of this embodiment lies in realizing the effective transfer and boosting conversion of electrical energy to meet the requirements of the equipment for high-voltage power supplies. By storing, boosting, and stabilizing the output voltage, a stable high-voltage power supply can be provided to ensure the normal operation of the equipment. At the same time, by controlling the current and working state, the effective utilization of electrical energy can be achieved, improving the energy utilization efficiency.
[0146] Embodiment 15: On the basis of Embodiment 10, the process of providing power for the pulsed electric shock of the electric shocker provided by the embodiment of the present invention includes the following steps:
[0147] S204: The high-voltage energy storage module releases the stored electrical energy through the instruction of the controller module when an electric shock is needed; the controller module judges when to release the electrical energy according to the requirements of the electric shock logic timing sequence, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the process of releasing electrical energy;
[0148] S205: After receiving the signal to release electrical energy, the high-voltage energy storage module transfers the stored electrical energy to the boost module through the internal switch.
[0149] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, first, the high-voltage energy storage module releases the stored electrical energy according to the instruction of the controller module when electric shock is needed; the controller module judges when to release the electrical energy according to the requirements of the electric shock logic timing sequence, and the controller module will send a corresponding signal to the high-voltage energy storage module to start the electrical energy release process; secondly, upon receiving the electrical energy release signal, the high-voltage energy storage module transfers the stored electrical energy to the boost module through an internal switch. The above solution accurately judges when to release the electrical energy according to the requirements of the electric shock logic timing sequence, and sends a signal to the high-voltage energy storage module to start the electrical energy release process, controlling the timing and frequency of the electric shock to ensure that the electric shock device can release electrical energy as needed. The stored electrical energy is transferred to the boost module, enabling it to boost the electrical energy to a high enough voltage level to generate a pulsed electric shock and transmit a strong enough current pulse to the target object to achieve the electric shock effect.
[0150] In summary, the significance of the entire process of this embodiment lies in providing sufficient power for the electric shock device to generate a high-energy pulsed electric shock; by controlling the release timing and frequency of the electrical energy, and transferring the electrical energy to the boost module for voltage boosting, it can ensure that the electric shock device can generate a high-voltage pulse when needed, achieving an effective electric shock effect on the target object; it has important significance in the safety protection and warning system.
[0151] Embodiment 16: On the basis of Embodiment 10, the process of power release provided by the embodiment of the present invention includes the following steps:
[0152] S301: Generate an electric shock logic timing sequence, determine the start and end times of the electric shock, and control the working state of the boost module;
[0153] S302: Generate pulse width modulation (PWM) signals with different duty cycles and frequencies to control the working state and output voltage of the boost module;
[0154] S303: Control the power release of the high-voltage energy storage module, turn on or off the switch to control the start and end of the electric shock, and the power release of the high-voltage energy storage module.
[0155] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, an electric shock logic timing sequence is generated to determine the start and end times of the electric shock and control the working state of the boost module; Pulse Width Modulation (PWM) signals with different duty cycles and frequencies are generated to control the working state and output voltage of the boost module; The power release of the high-voltage energy storage module is controlled, and the switch is turned on or off to control the start and end of the electric shock and the power release of the high-voltage energy storage module. The above solution can ensure that the electric shock device performs electric shock operations according to a predetermined timing sequence, achieving precise control of the electric shock. The technical effect of the timing control sub-module is to ensure that the electric shock operations of the electric shock device are carried out according to the specified timing sequence, achieving accurate control of the high-voltage pulse. The output voltage of the boost module is adjusted as needed to achieve precise regulation of the high-voltage pulse. The technical effect of the pulse width modulation generation sub-module is to achieve precise control of the output voltage of the boost module to meet the requirements of high-voltage for different application scenarios. Ensure that the start and end times of the electric shock are accurately controllable, and release the power of the high-voltage energy storage module when needed to provide power support for the pulsed electric shock of the electric shock device. The technical effect of the release circuit control sub-module is to ensure the accuracy and controllability of the electric shock operation and the power management of the high-voltage energy storage module.
[0156] In summary, this embodiment realizes precise control of the electric shock timing, precise regulation of the high-voltage output, and effective management of the power of the high-voltage energy storage module. Through the functions of the controller module, it can ensure that the electric shock device performs electric shock operations according to a predetermined timing sequence and adjusts the high-voltage output according to requirements, thereby achieving a more reliable, safe, and efficient operation of the electric shock device and meeting the needs of different application scenarios.
[0157] Embodiment 17: On the basis of Embodiment 16, the process of controlling the working state of the boost module provided by the embodiment of the present invention includes the following steps:
[0158] S3011: Program and configure the photoelectric sensor, and the photoelectric sensor detects whether the control switch of the electric shock device is touched;
[0159] The controller module monitors the signal generated by the photoelectric sensor and judges the conditions for starting and ending the electric shock according to the change of the signal of the photoelectric sensor. For example, when the signal of the photoelectric sensor meets a specific threshold or trigger condition, it is judged that the electric shock starts; when the signal of the photoelectric sensor no longer meets the condition, it is judged that the electric shock ends;
[0160] S3012: Control the start and end of the electric shock operation according to the judged start and end conditions;
[0161] S3013: Generate an electric shock logic timing signal through a state machine according to the determined start and end times. The electric shock logic timing signal is a series of pulse signals used to control the working states of different parts of the electric shock device;
[0162] Among them, generating the electric shock logic timing signal through the state machine includes: First, a series of states need to be defined to represent different stages or states of the electric shock logic. For example, states such as electric shock start, in-progress electric shock, and electric shock end can be defined; according to the requirements of the electric shock logic, determine the conversion conditions between states based on the input trigger signal; according to the determined states and conversion conditions, design the state conversion logic using a state table. For example, in the in-progress electric shock state, if the set duration is reached or an end trigger signal is received, a state conversion can be made to the electric shock end state.
[0163] The working principle and beneficial effects of the above technical solution are as follows: In this embodiment, the photoelectric sensor is first programmed and configured to detect whether the control switch of the electric shock device is touched; the controller module monitors the signal generated by the photoelectric sensor and judges the conditions for starting and ending the electric shock according to the change of the signal of the photoelectric sensor. For example, when the signal of the photoelectric sensor meets a specific threshold or trigger condition, it is judged that the electric shock starts; when the signal of the photoelectric sensor no longer meets the condition, it is judged that the electric shock ends. Secondly, according to the judged start and end conditions, control the start and end of the electric shock operation. Finally, according to the determined start and end times, generate the electric shock logic timing signal through the state machine. The electric shock logic timing signal is a series of pulse signals used to control the working states of different parts of the electric shock device. Among them, generating the electric shock logic timing signal through the state machine includes: First, a series of states need to be defined to represent different stages or states of the electric shock logic. For example, states such as electric shock start, in-progress electric shock, and electric shock end can be defined; according to the requirements of the electric shock logic, determine the conversion conditions between states based on the input trigger signal; according to the determined states and conversion conditions, design the state conversion logic using a state table. For example, in the in-progress electric shock state, if the set duration is reached or an end trigger signal is received, a state conversion can be made to the electric shock end state. The above solution configures the working parameters of the photoelectric sensor to detect the touch of the control switch, monitors the touch state of the electric shock device in real time, and provides a trigger condition for subsequent electric shock control. According to the change of the signal of the photoelectric sensor, accurately judge the start and end conditions of the electric shock, control the start and stop of the electric shock operation according to the actual situation, and ensure that the electric shock device performs an electric shock at an appropriate time. According to the determined start and end conditions, generate a series of pulse signals to control the working states of different parts of the electric shock device, and precisely control the working state of the electric shock device according to the predetermined logic timing, realizing the start, duration, and end of the electric shock.
[0164] In summary, the significance of the entire process of this embodiment lies in achieving precise control over the working state of the boost module through the detection of the photoelectric sensor and the control of the state machine. By accurately judging the conditions for the start and end of the electric shock and generating corresponding timing signals, the working state of the electric shock device can be controlled, ensuring the accuracy and reliability of the electric shock operation. This is of great significance in safety protection and warning systems, ensuring the accurate triggering and control of the electric shock operation.
[0165] Obviously, those skilled in the art can make various modifications and variations 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 equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A control method for a high-voltage pulse power supply used in an electric shock device, characterized in that, Designed to form the high voltage of the electric shock device, it needs to cooperate with the high-voltage pulse electric shock sequence to boost the voltage. The maximum electric shock frequency of the electric shock circuit is 44HZ, that is, 23ms cycle; the power supply needs to reserve a redundant value to boost the voltage to the required voltage, which is expected to be within 10mS and within this voltage fluctuation range; when the electric shock sequence acts, stop boosting the voltage and wait for the sequence to end. The action time of the electric shock sequence is within 1MS. After the sequence ends, it will be boosted to the required voltage again within the specified time and stabilized within the voltage fluctuation range; The following steps are involved: Control the voltage of the power input of the defibrillator, adjust the change of the power input voltage according to the high voltage demand, and stabilize the output voltage; According to the electric shock sequence, the output voltage is boosted to a high voltage and kept stable; the electric energy is stored and released when needed to provide power for the pulse electric shock of the electric shock device; According to the electric shock logic timing, high voltage and regulated voltage, it provides pulse width modulation (PWM) waves with different duty cycles and frequencies to the boost module, controls the working state of the boost module, and adjusts the output of the boost module according to system requirements. It is also responsible for stopping the pulse width modulation (PWM) output and opening the release circuit to control the start and end of the electric shock, as well as the release of the power of the high-voltage energy storage module. The process of controlling the voltage of the power input of the electric shock device includes the following steps: Detect the voltage of the input power supply, voltage changes, and whether there is a fault in the power supply; according to the demand of the electric shock device for high voltage, adjust the change of the output voltage through the feedback control mechanism and stabilize the output voltage; Compare the voltage output by the input power monitoring submodule with the set stable voltage value, and perform control operations according to the comparison result; the control operation includes adjusting the voltage of the power supply to make it close to the set stable voltage value if the voltage of the input power supply is higher or lower than the set stable voltage value; When the input power voltage exceeds the set stable voltage range, the power switch is turned off to stop the power output; when there is a fault or abnormality in the input power, an alarm or fault signal is triggered to notify the operator to handle it; According to the comparison result, the voltage stabilizing module will send out a corresponding control signal to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilizing module increases the control signal to increase the voltage of the input power supply; The process of boosting and storing energy includes the following steps: Control the switch of the step-up transformer to step up the input voltage to the required high voltage voltage, which is composed of a logic gate circuit, a driver chip or a microcontroller; Step up the input voltage to the required high voltage voltage, which is composed of one or more coils, and convert the input voltage into a high voltage output voltage through magnetic coupling; Temporarily store energy and smooth the output voltage waveform; control the flow direction of current to prevent energy from flowing back to the input power supply; Through the instructions of the controller module, the stored electrical energy is released when electric shock is needed; The controller module determines when to release electric energy based on the electric shock logic timing requirements. The controller module will send a corresponding signal to the high-voltage energy storage module to start the electric energy release process. After receiving the electric energy release signal, the high-voltage energy storage module transfers the stored electric energy to the boost module through the internal switch.
2. The high-voltage pulse power supply control method for an electric shock device according to claim 1, characterized in that, The process of stabilizing the output voltage includes the following steps: The input power supply monitoring sub-module detects the voltage of the input power supply and transmits the detected voltage value to the digital control regulator; the digital control regulator interacts with the comparator control sub-module to compare the voltage value of the input power supply with the set stable voltage value; if the voltage of the input power supply is higher or lower than the set stable voltage value, the comparator control sub-module will issue corresponding control signals according to the comparison result. The control signal adjustment sub-module receives the control signals sent by the comparator control sub-module and adjusts the voltage of the input power supply according to the magnitude of the control signals; the digital control regulator transmits the adjusted control signals to the input power supply and adjusts the output voltage of the input power supply through the control signals. The output voltage of the input power supply changes according to the adjustment of the control signals. Through continuous feedback loops, the input power supply monitoring sub-module continuously detects the output voltage and transmits the detection results to the digital control regulator; the digital control regulator adjusts the control signals again according to the difference between the actual output voltage of the input power supply and the set stable voltage value to achieve precise regulation of the output voltage.
3. The high-voltage pulse power supply control method for an electric shock device according to claim 1, characterized in that, The process of transferring the stored electrical energy to the boost module includes the following steps: In the charging stage, the storage and control sub-module starts charging to store electrical energy. When the forward bias voltage of the diode in the storage and control sub-module is greater than its forward voltage drop, the diode will enter the conducting state, and the current flows from the positive terminal to the negative terminal of the diode. The direction of current flow is from the input power supply to the storage and control sub-module to store electrical energy in the capacitor or energy storage element. In the boosting stage, when the drive circuit sub-module closes the boost transformer switch, the boost transformer sub-module starts to work to boost the input voltage to the required high voltage. At this time, when the reverse bias voltage of the diode is greater than its rated reverse voltage, the diode in the storage and control sub-module is in the cut-off state to prevent the backflow of current. In the maintaining stage, the storage and control sub-module is responsible for maintaining the stability of the output voltage. The diode in the storage and control sub-module remains in the cut-off state, and the direction of current flow is still from the input power supply to the boost transformer.
4. The high-voltage pulse power supply control method for an electric shock device according to claim 1, characterized in that, The process of providing electrical energy for the pulsed electric shock of the electric shock device includes the following steps: The high-voltage energy storage module releases the stored electrical energy when an electric shock is needed through the instruction of the controller module; the controller module judges when to release electrical energy according to the electric shock logic timing requirements, and the controller module will send corresponding signals to the high-voltage energy storage module to start the electrical energy release process. Upon receiving the electrical energy release signal, the high-voltage energy storage module transfers the stored electrical energy to the boost module through an internal switch.
5. The high-voltage pulse power supply control method for an electric shock device according to claim 1, characterized in that, The process of electrical energy release includes the following steps: Generate the electric shock logic timing to determine the start and end times of the electric shock and control the working state of the boost module. Generate pulse width modulation (PWM) signals with different duty cycles and frequencies to control the working state and output voltage of the boost module. Control the electrical energy release of the high-voltage energy storage module, turn on or off the switch to control the start and end of the electric shock and the release of the electrical energy of the high-voltage energy storage module.
6. The high-voltage pulse power supply control method for an electric shock device according to claim 5, characterized in that, The process of controlling the working state of the boost module includes the following steps: Program the photoelectric sensor to detect whether the control switch of the stun gun is touched; The controller module monitors the signals generated by the photoelectric sensor, and judges the conditions for starting and ending the shock according to the changes in the photoelectric sensor signals; when the photoelectric sensor signal meets the threshold or trigger condition, it is judged that the shock starts; when the photoelectric sensor signal no longer meets the condition, it is judged that the shock ends; Control the start and end of the shock operation according to the judged start and end conditions; According to the determined start and end times, generate a shock logic timing signal through a state machine. The shock logic timing signal is a series of pulse signals used to control the working states of different parts of the stun gun.
7. The high-voltage pulse power supply control method for an electric shock device according to claim 6, characterized in that, Among them, Generating the shock logic timing signal through a state machine includes: defining a series of states to represent different stages or states of the shock logic, defining the states of shock start, shock in progress, and shock end; according to the requirements of the shock logic, determining the transition conditions between states based on the input trigger signal; according to the determined states and transition conditions, designing the state transition logic using a state table. In the state of shock in progress, if the set duration is reached or an end trigger signal is received, a state transition is made to the shock end state.
8. A high-voltage pulse power supply system for an electric shock device, characterized in that, Designed to form the high voltage of the stun gun, it needs to cooperate with the high-voltage pulse shock timing to boost the voltage. The highest shock frequency of the shock circuit is 44HZ, that is, a 23ms cycle; the power supply needs to boost the voltage within the reserved redundancy value to the required voltage, which is expected to be within 10mS, and within this voltage fluctuation range; when the shock timing acts, stop boosting the voltage, wait for the timing to end, the shock timing acts for within 1MS, and after the timing ends, boost the voltage to the required voltage again within the specified time and stabilize it within the voltage fluctuation range; includes: A voltage stabilizing module, which is responsible for controlling the voltage of the power supply input of the stun gun, adjusting the change of the power supply input voltage according to the high-voltage demand, and stabilizing the output voltage; A boosting module, which is responsible for boosting the voltage output by the voltage stabilizing module to the high voltage according to the shock timing and maintaining stability; A high-voltage energy storage module, which is responsible for storing electrical energy and releasing the power when needed to provide power for the pulse shock of the stun gun; The controller module is responsible for providing pulse width modulation PWM waves with different duty cycles and frequencies for the boosting module according to the shock logic timing, high voltage, and stabilized voltage, controlling the working state of the boosting module, and adjusting the output of the boosting module according to the system requirements; it is also responsible for stopping the pulse width modulation PWM output and turning on the release circuit to control the start and end of the shock, and the release of the power of the high-voltage energy storage module; The voltage stabilizing module includes: An input power supply monitoring sub-module, which is responsible for detecting the voltage of the input power supply, voltage changes, and whether there are faults in the power supply; according to the high-voltage demand of the stun gun, adjusting the change of the output voltage through a feedback control mechanism and stabilizing the output voltage; A comparator control sub-module, which is responsible for comparing the voltage output by the input power supply monitoring sub-module with the set stable voltage value, and performing control operations according to the comparison result; the control operations include if the voltage of the input power supply is higher or lower than the set stable voltage value, adjusting the voltage of the power supply to make it close to the set stable voltage value; When the input power supply voltage exceeds the set stable voltage range, turn off the power switch and stop the power output; When there is a fault or abnormality in the input power supply, trigger an alarm or a fault signal to notify the operator for handling; The control signal adjustment sub-module is responsible for, according to the comparison result, the voltage stabilization module will issue corresponding control signals to adjust the voltage of the input power supply; specifically, when the voltage of the input power supply is low, the voltage stabilization module increases the control signal to increase the voltage of the input power supply; The boost module includes: The drive circuit sub-module is responsible for controlling the switch of the boost transformer to boost the input voltage to the required high voltage, which is composed of logic gate circuits, drive chips or microcontrollers; The boost transformer sub-module is responsible for boosting the input voltage to the required high voltage, which is composed of one or more coils, and converts the input voltage into a high voltage output voltage through magnetic coupling; The storage and control sub-module is responsible for temporarily storing energy, smoothing the output voltage waveform; controlling the flow direction of the current to prevent the energy from flowing back to the input power supply.
Citation Information
Patent Citations
Mobile power supply with self-defense function
CN106329591A
Pulse power supply
CN117134647A
Buck pulse power supply circuit
CN117394681A
High-voltage pulse power supply
CN103872941A
Control circuit of digital pulse igniter
CN113655751A