A kind of code nail gun control system with intrinsic safety attribute and control method thereof
By introducing intrinsic safety protection circuits and baffle protection circuits into the code nail gun, the touch chip and baffle protection switch are used to detect the status of the nail port and nail board, and generate an alarm signal, which solves the risk of misfiring of the code nail gun and improves the Use safety.
Patent Information
- Application Number
- CN202210237382.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-11
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-03-11
AI Technical Summary
If the existing nail gun cannot sense the nail gun when touching the nail port, it will be at risk of injuring people and cannot meet safety precautions.
A code nail gun control system with intrinsic safety attributes is designed, including the main control chip, motor driving circuit, battery charging circuit, intrinsic safety protection circuit and baffle protection circuit. The nail port is detected by touching the chip and baffle protection switch. and the state of the nail board, an alarm signal is generated to alert the operator to prevent accidental shooting.
It effectively prevents the nail gun from accidentally firing, improves the safety of use, and reminds the operator to avoid accidental contact through alarm signals, which enhances the safety of the nail gun.
Smart Images

Figure CN114589659B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of nail guns, and in particular to a nail gun control system with intrinsic safety properties and a control method thereof. Background Art
[0002] With the advancement of science and technology and the development of society, people have higher and higher requirements for safety in life and work. In order to meet people's needs in work and life, the safety of nail guns needs to be further improved. However, the biggest defect of traditional nail guns is that once the nail gun loses its protection, it may harm people. Therefore, traditional nail guns can no longer meet the requirements of safety precautions. Once they are used by criminals, the consequences are unimaginable.
[0003] In recent years, with the development of computer technology, more and more new technologies are also changing the safety issues of nail guns. For example, electric nail guns use a baffle-type protection proximity switch and add a manual control protection. The extra layer of protection plays a role in strengthening protection.
[0004] However, if the nail gun has a nail shooting opening that is touched by a hand or other part of a human body, the nail gun in the prior art cannot sense it, and there is a risk of injuring the human body. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a code nail gun control system with intrinsic safety properties to solve the problem of accidental injury caused by accidentally touching the nail shooting port of the code nail gun in the prior art.
[0006] The technical solution adopted by the present invention to solve the above-mentioned problem is: a code nail gun control system with intrinsically safe properties, including a main control chip U1, a motor drive circuit and a battery charging circuit connected to the main control chip U1, and also including an intrinsically safe protection circuit and a baffle protection circuit. The intrinsically safe protection circuit includes a capacitor board S3 arranged next to the nail shooting port of the code nail gun and a touch chip U6 for detecting the trigger state of the capacitor board S3. The touch chip U6 is connected to the main control chip U1, and the main control chip U1 is connected to the alarm signal circuit. When the capacitor board S3 is touched, the touch chip U6 provides a trigger signal for the alarm signal circuit; the baffle protection circuit includes a baffle protection switch P5 arranged next to the nail shooting board of the code nail gun, and the baffle protection switch P5 is connected to the main control chip U1. When the nail shooting board of the code nail gun applies pressure, the baffle trigger signal is generated and output to the main control chip U1 through the baffle protection switch P5.
[0007] Compared with the prior art, the advantages of the present invention are: while setting the baffle protection circuit, an intrinsically safe protection circuit is added to prevent the nail gun from accidentally firing when someone touches the nail shooting port of the nail gun; an alarm signal circuit is used to warn whether the nail gun is accidentally touched, reminding the operator to perform corresponding operations, thereby improving the safety of using the nail gun.
[0008] Preferably, the battery charging circuit is connected to a battery Battery, the battery Battery is connected to a first voltage stabilizing circuit via a main switch S2, and the first voltage stabilizing circuit is connected to a power supply terminal of the main control chip U1.
[0009] In this way, the main switch S2 can be disconnected first and then the battery can be charged to ensure charging efficiency. At the same time, the operation of the entire nail gun can be directly controlled through the main switch S2; the first voltage stabilizing circuit stabilizes the voltage of the battery at the voltage required by the power supply end of the main control chip U1.
[0010] Preferably, the battery charging circuit is connected to a charging power source VCC, and the charging power source VCC is connected to a power supply terminal of the main control chip U1 through a second voltage stabilizing circuit.
[0011] In this way, the charging power supply VCC directly supplies power to the main control chip U1 through the second voltage stabilizing circuit, ensuring that the nail gun can be directly driven to work in the charging state; the second voltage stabilizing circuit stabilizes the voltage of the battery Battery at the voltage required by the power supply end of the main control chip U1.
[0012] Preferably, the main control chip U1 is connected to a battery voltage data detection circuit, the battery voltage data detection circuit includes a resistor R23, a resistor R24 and a capacitor C17, the positive electrode of the battery Battery is connected in series with resistor R23 and resistor R24, the capacitor C17 is connected in parallel across the resistor R24, the connecting end of the resistor R23 and the resistor R24 is connected to the battery voltage data detection terminal D8030, and the battery voltage data detection terminal D8030 is connected to the main control chip U1.
[0013] In this way, the battery voltage value is first determined by the battery voltage data detection circuit to prevent the battery voltage from being too low to drive the nail gun to work normally, causing damage to the nail gun.
[0014] Preferably, the main control chip U1 is connected to a motor stop circuit, which includes a photoelectric switch U5 arranged on the side of the spring inside the nail gun. When the compression spring of the nail gun motor blocks the photoelectric switch U5, a motor stop signal is output through the photoelectric switch U5.
[0015] In this way, when the motor is working to compress the spring inside the nail gun, the photoelectric switch U5 is triggered to output a motor stop signal to indicate that the storage of the spring elastic potential energy has reached the requirement, which can protect the motor and prevent the motor from running all the time.
[0016] Preferably, the alarm signal circuit includes an LED light indication circuit for displaying whether the nail shooting port of the nail gun is accidentally touched.
[0017] In this way, the working status of the motor, the battery power status, whether the nail gun nailing port is accidentally touched, etc. can be displayed through the LED indicator light through the LED light indication circuit.
[0018] Preferably, the alarm signal circuit includes a buzzer circuit for displaying whether the nail shooting port of the nail gun is accidentally touched.
[0019] In this way, through the buzzer circuit, when the battery power is too low or the nail shooting port of the nail gun is accidentally touched, a sound alarm message is issued.
[0020] Preferably, the battery charging circuit includes a charging chip U3, an electronic switching circuit is provided between the charging chip U3 and the battery Battery, the electronic switching circuit includes a transistor Q5 and a field effect transistor Q6, the battery connection end of the charging chip U3 is connected to the drain of the field effect transistor Q6, the source of the field effect transistor Q6 is connected to the positive electrode of the battery Battery, the gate of the field effect transistor Q6 is connected to the drain of the field effect transistor Q6 through a resistor R4, the gate of the field effect transistor Q6 is connected to the collector of the transistor Q5, the emitter of the transistor Q5 is grounded, and the base of the transistor Q5 is connected to the charging power supply VCC through a resistor R5.
[0021] In this way, the battery can be stably charged through the transistor Q5 and the field effect transistor Q6, preventing abnormal charging signals from directly acting on the battery and causing damage to the battery.
[0022] Preferably, the motor drive circuit includes a transistor Q28, a transistor Q25 and a first field effect transistor, the motor drive signal terminal Y0 of the main control chip U1 is connected to the base of the transistor Q28 through a resistor R60, the emitter of the transistor Q28 is grounded, the base of the transistor Q28 is connected to the emitter of the transistor Q28 through a resistor R61, the collector of the transistor Q28 is connected to the base of the transistor Q25 through a resistor R52, the collector of the transistor Q28 is connected to the cathode of the diode D11 through a resistor R62, and is grounded through a capacitor C40, the collector of the transistor Q25 is connected to the cathode of the diode D11 through a resistor R62, and is grounded through a capacitor C40, the collector of the transistor Q25 is connected to the cathode of the diode D11 through a resistor R62, and is grounded through a capacitor C40, the collector of the transistor Q25 is connected to the cathode of the diode D11 through a resistor R 7 is grounded, the emitter of the transistor Q25 is connected to the cathode of the diode D11, the anode of the diode D11 is connected to the anode of the battery Battery, the collector of the transistor Q25 is connected to the gate of the first field effect transistor through the resistor R51, the source of the first field effect transistor is grounded, the drain of the first field effect transistor is connected to the anode of the diode D2, the cathode of the diode D2 is connected to the anode of the battery Battery, the anode of the battery Battery is connected to the anode drive terminal MOTOR-P+ of the motor, and the drain of the first field effect transistor is connected to the cathode drive terminal MOTOR-P- of the motor.
[0023] In this way, the motor drive signal sent by the main control chip U1 is amplified by transistors Q28 and Q25, and then the negative drive terminal MOTOR-P- of the motor is pulled down to a low-level signal through the first field effect transistor, thereby realizing the driving of the motor.
[0024] The present invention also provides another technical solution to solve the above problem: a control method of a code nail gun control system with intrinsic safety properties, comprising the following steps:
[0025] Step 1, turn on the power, the main control chip U1 is powered on and reset, the main control chip U1 detects the voltage signal value of the battery voltage data detection terminal D8030, if the voltage signal value of the voltage data detection terminal D8030 is greater than the working voltage, the main control chip U1 drives the LED light indicator circuit in the alarm signal circuit to light up green, and enters step 2; if the voltage signal value of the voltage data detection terminal D8030 is between the critical low voltage and the working voltage, the main control chip U1 drives the LED light indicator circuit in the alarm signal circuit to light up red, and drives the buzzer circuit in the alarm signal circuit to work; if the voltage signal value of the voltage data detection terminal D8030 is lower than the critical low voltage, the main control chip U1 drives the LED light indicator circuit in the alarm signal circuit to light up red;
[0026] Step 2: Start the baffle protection switch P5 and the handle start switch S1, and the main control chip U1 drives the motor to work. After the main control chip U1 detects that the signal at the motor stop signal terminal X3 becomes a low level signal, the driving motor stops working;
[0027] Among them, in step 2, if the main control chip U1 detects that the intrinsic safety protection signal terminal X4 becomes a low level signal, the main control chip U1 drives the buzzer circuit in the alarm signal circuit to work, drives the LED light indicator circuit in the alarm signal circuit to light up red, and drives the motor to stop working.
[0028] Compared with the prior art, the advantages of the present invention are: by first analyzing the battery voltage, the code nail gun is driven to work after the battery voltage reaches the requirement, thereby ensuring that the code nail gun can operate stably; and then sending a corresponding alarm signal to remind the operator if the nail shooting port of the code nail gun is accidentally touched, thereby improving the safety of using the code nail gun. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 The present invention is a circuit diagram of a code nail gun control system with intrinsic safety properties. DETAILED DESCRIPTION
[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0031] Embodiment 1
[0032] like Figure 1 As shown, this embodiment relates to a code nail gun control system with intrinsic safety properties, including a main control chip U1, a motor drive circuit and a battery charging circuit connected to the main control chip U1, and also includes an intrinsic safety protection circuit and a baffle protection circuit.
[0033] The intrinsic safety protection circuit includes a capacitor board S3 disposed next to the nail gun's nailing port and a touch chip U6 for detecting the triggering state of the capacitor board S3. The touch chip U6 is connected to the main control chip U1. The specific circuit is as follows:
[0034] The ground terminal (first pin) of the touch chip U6 is grounded, the charge collection capacitor input terminal (second pin) of the touch chip U6 is grounded through the capacitor, the sensitivity capacitor input terminal (third pin) of the touch chip U6 is grounded through the capacitor, the first touch detection terminal (fourth pin) of the touch chip U6 is grounded through the series resistor R21 and the capacitor C16, the second touch detection terminal (fifth pin) of the touch chip U6 is connected to the capacitor single board S3 through the resistor R22, the sensing key output terminal (sixth pin) of the touch chip U6 is connected to the intrinsic safety protection signal terminal X4 through the resistor R26, the intrinsic safety protection signal terminal X4 is connected to the power supply terminal of the main control chip U1 through the resistor R16, the mode setting terminal (seventh pin) of the touch chip U6 is connected to the power supply terminal of the main control chip U1, the power supply terminal (eighth pin) of the touch chip U6 is connected to the power supply terminal of the main control chip U1, and the power supply terminal of the touch chip U6 is connected to the sensing key output terminal of the touch chip U6 through the resistor R25.
[0035] In the above circuit, the main control chip U1 is connected to the alarm signal circuit. When the capacitor board S3 is touched, the touch chip U6 provides a trigger signal to the alarm signal circuit. In actual use, the capacitor board S3 is embedded in the nail shooting port of the nail gun, and then one side of the capacitor board is connected to the touch chip U6 set inside the nail gun through a wire. In this embodiment, the touch chip U1 is an SC01 touch chip.
[0036] During actual operation, if the operator accidentally touches the capacitor board at the nail shooting port of the nail gun, or other metal, or other people touch the capacitor board at the nail shooting port of the nail gun, the capacitance value of the capacitor board will change. At this time, the touch chip can sense the signal change, causing the intrinsic safety protection signal terminal X4 of the touch chip to change from the original high level to a low level signal. After the main control chip U1 receives the signal change, it controls the alarm signal to send out an alarm message, thereby improving the operator's safety in using the nail gun.
[0037] The baffle protection circuit includes a baffle protection switch P5 disposed next to the nail gun nail plate, and the baffle protection switch P5 is connected to the main control chip U1. The specific circuit is as follows:
[0038] One end of the baffle protection switch P5 is connected to the power supply end of the main control chip U1 through the resistor R3, and one end of the baffle protection switch P5 is connected to the baffle protection signal end X2, the baffle protection signal end X2 is connected to the main control chip U1, and the other end of the baffle protection switch P5 is grounded.
[0039] When the nail plate of the code nail gun applies pressure, the baffle trigger signal is generated and output to the main control chip U1 through the baffle protection switch P5. When the code nail gun needs to nail, the nail plate will be pressed against the object to be nailed, and the code nail gun will be pushed to apply pressure to the nail plate, thereby triggering the baffle protection switch P5 to start.
[0040] The main control chip U1 is mainly used for logic control, and in this embodiment, it is the MM32F003tw chip. The power supply end of the main control chip U1 can be connected from the battery, but for the stability of the entire voltage, it is best to convert the battery through a voltage stabilizing circuit before connecting it to the power supply end of the main control chip U1. Specifically, the battery is connected to the first voltage stabilizing circuit through the main switch S2, and the first voltage stabilizing circuit is connected to the power supply end of the main control chip U1. The overall connection circuit is as follows:
[0041] The battery charging circuit is connected to the battery Battery, the positive electrode of the battery Battery is connected to the positive electrode of the diode D1 through the main switch S2, the negative electrode of the battery Battery is grounded, the negative electrode of the diode D1 is connected to the input end of the voltage stabilizing chip U2, the output end of the voltage stabilizing chip U2 is connected to the power supply end of the main control chip U1, and the ground end of the voltage stabilizing chip U2 is grounded.
[0042] During the battery discharge process, the battery is stabilized by the voltage regulator chip U1 and then used to drive the main control chip U1 to ensure voltage stability so that the main control chip U1 can work stably. At the same time, the main switch S2 can cut off the power supply of all circuits inside the entire nail gun with one click, which plays a protective role. During the battery charging process, the main switch S2 can be disconnected first and then the battery can be charged to ensure charging efficiency.
[0043] The power supply end of the main control chip U1 can also be connected from the charging power supply VCC. However, for the stability of the entire voltage, it is best to convert the charging power supply VCC through a voltage stabilizing circuit before connecting it to the power supply end of the main control chip U1. Specifically, the charging power supply VCC is connected to the power supply end of the main control chip U1 through a second voltage stabilizing circuit. The specific circuit is as follows:
[0044] The battery charging circuit is connected to the charging power supply VCC, the charging power supply VCC is connected to the positive electrode of the diode D5, the negative electrode of the diode D5 is connected to the input end of the voltage stabilizing chip U4, the output end of the voltage stabilizing chip U4 is connected to the power supply end of the main control chip U1, and the ground end of the voltage stabilizing chip U4 is grounded.
[0045] When charging the battery, the voltage of the charging power supply VCC can be directly stabilized into the working voltage required by the main control chip U1 through the added voltage stabilizing chip U4, so that the nail gun can be directly driven to work in the charging state.
[0046] In the above process, the voltage stabilizing chip U2 and the voltage stabilizing chip U4 are both HT7533S, the charging power supply VCC is 5V, and the voltage of the power supply end of the main control chip U1 is 3.3V.
[0047] The charging power source VCC can be inputted through the USB interface. At the same time, in order to detect whether the charging power source VCC has voltage input, a charging input voltage detection circuit is also provided. The charging input voltage detection circuit includes resistors R9 and R10. The specific circuit is as follows:
[0048] The charging power source VCC is connected in series with resistors R9 and R10 and grounded. The connection end of the resistors R9 and R10 is connected to the charging input detection end X0. The charging input detection end X0 is connected to the main control chip U1.
[0049] When powered by a battery, the main control chip U1 only needs to detect whether there is voltage at the charging input detection terminal X0 to determine whether the charging power supply is connected to the battery charging circuit.
[0050] In this embodiment, the main control chip U1 is connected to a motor stop circuit, which includes a photoelectric switch U5 arranged on the side of the spring in the nail gun. When the nail gun motor compresses the spring, the motor stop signal is output through the photoelectric switch U5. The specific circuit is as follows:
[0051] The main control chip U1 is connected to the emitter of the transistor Q7, and the main control chip U1 is connected to the positive input terminal of the photocoupler U5 through the resistor R14. The negative input terminal of the photocoupler U5 is grounded. The output collector of the photocoupler U5 is connected to the base of the transistor Q7 through the resistor R19. The output emitter of the photocoupler U5 is grounded. The collector of the transistor Q7 is grounded through the resistor R20. The collector of the transistor Q7 is connected to the power supply terminal of the main control chip U1 through the resistor R15. The collector of the transistor Q7 is connected to the motor stop signal terminal X3, and the motor stop signal terminal X3 is connected to the main control chip U1.
[0052] When the motor is working to compress the spring inside the nail gun, the motor stop signal is triggered to indicate that the storage of the spring's elastic potential energy has reached the requirement, which can protect the spring and avoid damage to the spring caused by excessive compression of the spring.
[0053] The alarm signal circuit includes an LED light indication circuit, which includes a light emitting diode P2 for indicating whether the nail gun is working properly, and the light emitting diode P2 is connected to the main control chip U1. In this embodiment, the light emitting diode P2 is a red and green two-color diode, and the specific LED light indication circuit is as follows:
[0054] The common end of the red-green dual-color diode is connected to the power supply end of the main control chip U1, the red pin of the red-green dual-color diode is connected to the main control chip U1 through a resistor R30, and the green pin of the red-green dual-color diode is connected to the main control chip U1 through a resistor R31.
[0055] The red and green two-color diode in the LED light indicator circuit can not only display the working status of the motor, but also the battery power status and whether the nail gun nailing port is accidentally touched.
[0056] Furthermore, the alarm signal circuit also includes a buzzer circuit, which includes a transistor Q4 and a buzzer P1. The main control chip U1 is connected to the buzzer P1 through the transistor Q4, and the buzzer P1 is connected to the positive electrode of the battery. The specific circuit connection is as follows:
[0057] The buzzer drive signal terminal Y1 of the main control chip U1 is connected to the base of the transistor Q4 through the resistor R12, the emitter of the transistor Q4 is grounded, the collector of the transistor Q4 is connected to one end of the buzzer P1, and the other end of the buzzer P1 is connected to the positive electrode of the battery Battery through the resistor R8.
[0058] The buzzer circuit can sound an alarm when the battery is too low or the nail gun's nailing port is accidentally touched.
[0059] In this embodiment, the main control chip U1 is also connected to a handle start circuit, which includes a handle start switch S1 and a resistor R13. The movable end of the handle start switch S1 is connected to the power supply end of the main control chip U1 through the resistor R13, one of the fixed ends of the handle start switch S1 is grounded, and the movable end of the handle start switch S1 is connected to the handle start signal end X5, and the handle start signal end X5 is connected to the main control chip U1. Through the handle start circuit, the effect of manual start is achieved, which is easy to operate.
[0060] The battery charging circuit includes a charging chip U3, and the specific circuit is as follows:
[0061] The battery temperature detection input terminal (first pin) of the charging chip U3 is grounded through a resistor R18, and is connected to the charging power source VCC through a resistor R17. An external input interface P6 is also connected in parallel to both ends of the resistor R18, and the external input interface P6 can be connected to a thermistor. When the entire ambient temperature drops or rises, the resistance value of the thermistor changes, and then the voltage value detected by the battery temperature detection input terminal of the charging chip U3 also changes. If the detected voltage value is less than 45% of the input voltage or greater than 80% of the input voltage, it is determined that the temperature is too low or too high, and the charging function is suspended at this time.
[0062] The charging current monitoring terminal (second pin) of the charging chip U3 is grounded through the resistor R11. In the pre-charging stage, the voltage of this pin is modulated at 0.1V; in the constant current charging stage, the voltage of this pin is fixed at 1V. In the charging state, the voltage V of this pin is measured, and the charging current can be estimated by the formula: I = V / R11*1200.
[0063] The ground terminal (third pin) of the charging chip U3 is grounded.
[0064] The power supply terminal (the fourth pin) of the charging chip U3 is connected to the charging power supply VCC, and the charging power supply VCC is grounded through the capacitor C3.
[0065] The battery connection terminal (fifth pin) of the charging chip U3 is connected to the positive electrode of the battery and grounded through the capacitor C7. In this circuit, a battery switch circuit is also connected between the battery connection terminal of the charging chip U3 and the positive electrode of the battery. The specific circuit is as follows:
[0066] The battery connection end of the charging chip U3 is connected to the drain of the field effect transistor Q6, the source of the field effect transistor Q6 is connected to the positive electrode of the battery Battery, the gate of the field effect transistor Q6 is connected to the drain of the field effect transistor Q6 through the resistor R4, the gate of the field effect transistor Q6 is connected to the collector of the transistor Q5, the emitter of the transistor Q5 is grounded, and the base of the transistor Q5 is connected to the charging power supply VCC through the resistor R5.
[0067] The battery can be stably charged through the transistor Q5 and the field effect transistor Q6 to prevent abnormal charging signals from directly acting on the battery and causing damage to the battery. The transistor Q5 and the field effect transistor Q6 form an electronic switch circuit. When charging, the field effect transistor Q6 is turned on to charge the battery. When not charging, the field effect transistor Q6 is turned off to separate the battery from the battery charging circuit to prevent the battery from leaking. The main switch S2 is turned off, which will shut down the motor drive circuit for safety protection.
[0068] The battery charging completion indication terminal (sixth pin) of the charging chip U3 is connected to the negative electrode of the battery charging completion indicator D4 through the resistor R1, and the positive electrode of the battery charging completion indicator D4 is connected to the charging power supply VCC. This pin is usually in a high impedance state, and is pulled down to a low level when the battery is fully charged. The battery charging completion indicator D4 can be displayed using a green LED, and the green light turns on when charging is completed.
[0069] The charging status indicator terminal (the seventh pin) of the charging chip U3 is connected to the negative electrode of the charging status indicator D3 through the resistor R2, and the positive electrode of the charging status indicator D3 is connected to the charging power supply VCC. This pin is in a low level state when charging the battery Battery, and the second light emitting diode works at this time. Specifically, the charging status indicator D3 can be displayed using a red LED, and a red light is displayed when charging. In this embodiment, this pin is also connected to the charging status indicator terminal X1, and the charging status indicator terminal X1 is connected to the main control chip U1.
[0070] The chip enable input terminal (pin 8) of the charging chip U3 is connected to the charging power source VCC. When this pin is in a high level state, the charging chip U3 is in a normal working state.
[0071] Among them, the charging chip U3 is a TP4056 charging chip.
[0072] In this embodiment, the motor driving circuit includes a transistor Q28, a transistor Q25 and a first field effect transistor.
[0073] The motor drive signal terminal Y0 of the main control chip U1 is connected to the base of the transistor Q28 through the resistor R60, the emitter of the transistor Q28 is grounded, the base of the transistor Q28 is connected to the emitter of the transistor Q28 through the resistor R61, the collector of the transistor Q28 is connected to the base of the transistor Q25 through the resistor R52, the collector of the transistor Q28 is connected to the cathode of the diode D11 through the resistor R62, and is grounded through the capacitor C40, the collector of the transistor Q25 is grounded through the resistor R7, the emitter of the transistor Q25 is connected to The cathode of the diode D11 is connected, the anode of the diode D11 is connected to the anode of the battery Battery, the collector of the transistor Q25 is connected to the gate of the first field effect transistor through the resistor R51, the source of the first field effect transistor is grounded, the drain of the first field effect transistor is connected to the anode of the diode D2, the cathode of the diode D2 is connected to the anode of the battery Battery, the anode of the battery Battery is connected to the anode drive terminal MOTOR-P+ of the motor, and the drain of the first field effect transistor is connected to the negative drive terminal MOTOR-P- of the motor.
[0074] The motor drive signal sent by the main control chip U1 is amplified by transistors Q28 and Q25, and then the negative drive terminal MOTOR-P- of the motor is pulled down to a low-level signal through the first field effect transistor, thereby realizing the driving of the motor.
[0075] The first field effect transistor includes a field effect transistor Q1 and a field effect transistor Q2, and the field effect transistor Q1 and the field effect transistor Q2 are connected in parallel to achieve current expansion and can be used to drive a large current motor.
[0076] In this embodiment, the main control chip U1 is connected to a battery voltage data detection circuit, which includes a resistor R23, a resistor R24 and a capacitor C17. The positive electrode of the battery Battery is connected in series with the resistor R23 and the resistor R24, and the capacitor C17 is connected in parallel to both ends of the resistor R24. The connection end of the resistor R23 and the resistor R24 is connected to the battery voltage data detection end D8030, and the battery voltage data detection end D8030 is connected to the main control chip U1.
[0077] The battery voltage value is first determined through the battery voltage data detection circuit to prevent the nail gun from being damaged when the battery is low.
[0078] Embodiment 2
[0079] A control method for a nail gun control system with intrinsic safety properties comprises the following steps:
[0080] Step 1: Turn on the power supply, the main control chip U1 is powered on and reset, and the main control chip U1 detects the voltage signal value of the battery voltage data detection terminal D8030.
[0081] If the voltage signal value of the voltage data detection terminal D8030 is greater than the working voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up green, indicating that the battery voltage is normal, and enters step 2.
[0082] If the voltage signal value of the voltage data detection terminal D8030 is between the critical low voltage and the working voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up red, and drives the buzzer circuit in the alarm signal circuit to work, then warning the user that the battery needs to be charged.
[0083] If the voltage signal value of the voltage data detection terminal D8030 is lower than the critical low voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up red, reminding the user that the battery must be charged before the nail gun can be used.
[0084] In this embodiment, the operating voltage is 3.3V to 4.2V, and the critical low voltage is 2.5V.
[0085] Step 2: Start the baffle protection switch P5 and the handle start switch S1, the main control chip U1 drives the motor to work, and the motor compresses the spring inside the nail gun. After the main control chip U1 detects that the motor stop signal terminal X3 signal becomes a low-level signal, the drive motor stops working, and the motor returns to its original position by inertia after stopping. The piston shrapnel in the nail gun fires and shoots nails under the action of the elastic potential energy of the spring.
[0086] Among them, in step 2, if the main control chip U1 detects that the intrinsic safety protection signal terminal X4 becomes a low level signal, the main control chip U1 drives the buzzer to work, drives the LED indicator circuit in the alarm signal circuit to light up red, and drives the motor to stop working.
[0087] In the above process, after the motor starts, the timer that records the single running time of the motor will also work. If the motor compresses the spring but does not change the signal at the motor stop signal terminal X3, the timer will count down for 0.5 seconds, that is, after the motor runs for 0.5 seconds, the main control chip U1 will also drive the motor to stop automatically. At the same time, through the timing protection of the timer, it can be ensured that the gun is only fired once, and the motor of the code nail gun will not run and fire continuously, which protects the motor of the code nail gun and the battery.
[0088] Furthermore, after the code nail gun is nailed, the operator is not using the code nail gun, and the main control chip U1 starts the buzzer circuit every 1 minute to make the buzzer sound twice to remind the user to turn off the power switch. After three reminders, no more reminders will be given.
[0089] The beneficial effects of the present invention are as follows: while setting a baffle protection circuit, an intrinsically safe protection circuit is added to prevent the nail gun from accidentally firing when someone touches the nail shooting port of the nail gun; an alarm signal circuit is used to warn whether the nail gun is accidentally touched, and the operator is reminded to perform corresponding operations, thereby improving the safety of using the nail gun.
[0090] The above description shows and describes several preferred embodiments of the present invention, but as mentioned above, it should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention concept described herein through the above teachings or the technology or knowledge of the relevant field. Changes and variations made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.
[0091] Although the disclosure is disclosed as above, the protection scope of the disclosure is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A code nail gun control system with intrinsic safety properties, including a main control chip U1, a motor drive circuit connected to the main control chip U1, and a battery charging circuit, characterized in that: It also includes intrinsically safe protection circuits and baffle protection circuits. The intrinsic safety protection circuit includes a capacitor board S3 arranged next to the nail shooting port of the nail gun and a touch chip U6 for detecting the trigger state of the capacitor board S3. The touch chip U6 is connected to the main control chip U1, and the main control chip U1 is connected to the alarm signal circuit. When the capacitor board S3 is touched, the touch chip U6 provides a trigger signal for the alarm signal circuit. The baffle protection circuit includes a baffle protection switch P5 disposed next to the nail plate of the code nail gun, and the baffle protection switch P5 is connected to the main control chip U1. When the nail plate of the code nail gun applies pressure, the baffle trigger signal is generated and output to the main control chip U1 through the baffle protection switch P5; The main control chip U1 is connected to a motor stop circuit, which includes a photoelectric switch U5 arranged on the side of the spring in the nail gun. When the compression spring of the nail gun motor blocks the photoelectric switch U5, the motor stop signal is output through the photoelectric switch U5.
2. The intrinsically safe nail gun control system according to claim 1, characterized in that: The battery charging circuit is connected to a battery, and the battery is connected to a first voltage stabilizing circuit via a main switch S2 , and the first voltage stabilizing circuit is connected to a power supply terminal of the main control chip U1 .
3. The intrinsically safe control system for a nail gun according to claim 2, characterized in that: The battery charging circuit is connected to a charging power source VCC, and the charging power source VCC is connected to a power supply terminal of the main control chip U1 through a second voltage stabilizing circuit.
4. The intrinsically safe control system for a nail gun according to claim 3, characterized in that: The main control chip U1 is connected to a battery voltage data detection circuit, which includes a resistor R23, a resistor R24 and a capacitor C17. The positive electrode of the battery is connected in series with the resistor R23 and the resistor R24, and the capacitor C17 is connected in parallel to both ends of the resistor R24. The connection end of the resistor R23 and the resistor R24 is connected to the battery voltage data detection terminal D8030, and the battery voltage data detection terminal D8030 is connected to the main control chip U1.
5. The intrinsically safe control system for a nail gun according to claim 1, characterized in that: The alarm signal circuit includes an LED light indication circuit for indicating whether the nail shooting port of the nail gun is accidentally touched.
6. The intrinsically safe control system for a nail gun according to claim 5, characterized in that: The alarm signal circuit includes a buzzer circuit for displaying whether the nail shooting port of the nail gun is accidentally touched.
7. The intrinsically safe control system for a nail gun according to claim 6, characterized in that: The battery charging circuit includes a charging chip U3. An electronic switch circuit is provided between the charging chip U3 and the battery. The electronic switch circuit includes a transistor Q5 and a field effect transistor Q6. The battery connection end of the charging chip U3 is connected to the drain of the field effect transistor Q6, the source of the field effect transistor Q6 is connected to the positive electrode of the battery, the gate of the field effect transistor Q6 is connected to the drain of the field effect transistor Q6 through the resistor R4, the gate of the field effect transistor Q6 is connected to the collector of the transistor Q5, the emitter of the transistor Q5 is grounded, and the base of the transistor Q5 is connected to the charging power supply VCC through the resistor R5.
8. The intrinsically safe control system for a nail gun according to claim 7, characterized in that: The motor drive circuit includes a transistor Q28, a transistor Q25 and a first field effect transistor. The motor drive signal terminal Y0 of the main control chip U1 is connected to the base of the transistor Q28 through the resistor R60, the emitter of the transistor Q28 is grounded, the base of the transistor Q28 is connected to the emitter of the transistor Q28 through the resistor R61, the collector of the transistor Q28 is connected to the base of the transistor Q25 through the resistor R52, the collector of the transistor Q28 is connected to the cathode of the diode D11 through the resistor R62, and is grounded through the capacitor C40, the collector of the transistor Q25 is grounded through the resistor R7, The emitter of transistor Q25 is connected to the cathode of diode D11, the anode of diode D11 is connected to the anode of battery, the collector of transistor Q25 is connected to the gate of the first field effect transistor through resistor R51, the source of the first field effect transistor is grounded, the drain of the first field effect transistor is connected to the anode of diode D2, the cathode of diode D2 is connected to the anode of battery, the anode of battery is connected to the anode drive terminal MOTOR-P+ of motor, and the drain of the first field effect transistor is connected to the cathode drive terminal MOTOR-P- of motor.
9. A control method for a code nail gun control system with intrinsic safety properties based on any one of claims 4 to 8, characterized in that: The steps include: Step 1: Turn on the power supply, reset the main control chip U1, and detect the voltage signal value of the battery voltage data detection terminal D8030. If the voltage signal value of the voltage data detection terminal D8030 is greater than the working voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up green, and enters step 2; If the voltage signal value of the voltage data detection terminal D8030 is between the critical low voltage and the working voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up red, and drives the buzzer circuit in the alarm signal circuit to work; If the voltage signal value of the voltage data detection terminal D8030 is lower than the critical low voltage, the main control chip U1 drives the LED indicator circuit in the alarm signal circuit to light up red; Step 2: Start the baffle protection switch P5 and the handle start switch S1, and the main control chip U1 drives the motor to work. After the main control chip U1 detects that the signal at the motor stop signal terminal X3 becomes a low level signal, the driving motor stops working; Among them, in step 2, if the main control chip U1 detects that the intrinsic safety protection signal terminal X4 becomes a low level signal, the main control chip U1 drives the buzzer circuit in the alarm signal circuit to work, drives the LED light indicator circuit in the alarm signal circuit to light up red, and drives the motor to stop working.
