Interphone charging protection socket circuit
By designing a walkie-talkie charging protection socket circuit containing a microcontroller, the function of automatic charging and manual charging after discharging is realized, and the problem that the walkie-talkie battery cannot automatically resume charging after discharging is solved in the existing technology, ensuring that The power of the intercom is stable and sufficient.
Patent Information
- Application Number
- CN202411723751.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-18
AI Technical Summary
The existing walkie-talkie charging protection socket cannot automatically resume charging after being discontinued, resulting in continuous power consumption of the walkie-talkie battery when it is not in use, and it is difficult for staff to pay attention to the battery status at all times, which is prone to insufficient power.
A walkie-talkie charging protection socket circuit including a microcontroller is designed, and the automatic charging recovery function of the microcontroller and the added power-on button are realized to manually or automatically recover charging after power-off protection.
The walkie-talkie battery is automatically recharged after being discharging, avoiding the continuous power consumption of the battery when it is not in use, reducing the risk that staff should always pay attention to the battery status, and ensuring that the walkie-talkie is fully charged when needed.
Smart Images

Figure CN119482855A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of circuits, in particular to a charging protection socket circuit for an intercom. Background Art
[0002] Since most subway stations are built underground, the signal is affected, so the staff in the subway stations mostly use walkie-talkies for communication. However, during the charging process of the current walkie-talkies, although sockets with anti-overcharging function have been purchased, they still get damaged during actual use. In addition, in the existing charging protection sockets, the walkie-talkies cannot automatically resume charging after the charging is disconnected. When not in use, the walkie-talkies will continue to consume power, and the staff in the subway stations cannot always pay attention to the battery status of the walkie-talkies. Therefore, when the walkie-talkies are needed, they may be out of power. Summary of the invention
[0003] The present invention overcomes the deficiencies of the prior art and provides a charging protection socket circuit for an intercom.
[0004] In order to achieve the above purpose, a walkie-talkie charging protection socket circuit is designed, including a single-chip microcomputer, wherein the pin 1 of the single-chip microcomputer is divided into two paths, which are respectively connected to the cathode of light-emitting diode 6 and the cathode of light-emitting diode 7, and the anode of light-emitting diode 6 and the anode of light-emitting diode 7 are combined and connected to one end of resistor 13, and the other end of resistor 13 is connected to +3.3V voltage, the pin 2 of the single-chip microcomputer is divided into two paths, which are respectively connected to one end of button 1 and one end of capacitor 14, and the other end of button 1 and the other end of capacitor 14 are combined and grounded, and the pin 3 of the single-chip microcomputer is divided into two paths, which are respectively connected to the cathode of light-emitting diode 6 and the cathode of light-emitting diode 7. The cathode of photodiode 5, the cathode of light-emitting diode 3, the anode of light-emitting diode 5 and the anode of light-emitting diode 3 are combined and connected to one end of resistor 10. The other end of resistor 10 is connected to +3.3V voltage. Pins 5 and 6 of the microcontroller are combined and connected to one end of ferrite bead 2 and one end of capacitor 15. The other end of ferrite bead 2 is connected to 3.3V voltage. The other end of capacitor 15 is grounded. Pin 7 of the microcontroller is grounded. Pin 8 of the microcontroller is connected to pin 3 of the program burning port. Pin 9 of the microcontroller is connected to pin 2 of the program burning port. Pin 1 of the microcontroller is connected to pin 2 of the program burning port. Pin 1 is connected to the cathode of light-emitting diode 8, the anode of light-emitting diode 8 is connected to one end of resistor 14, the other end of resistor 14 is connected to 3.3V voltage, pin 15 of the single-chip computer is connected to one end of resistor 11, the other end of resistor 11 is connected to one end of capacitor 13, the base of transistor 1, and one end of resistor 12, the other end of capacitor 13, the emitter of transistor 1, and the other end of resistor 12 are combined and grounded together, the collector of transistor 1 is connected to the anode of diode 4 and port 1 of relay 1, port 4 of relay 1 is connected to one end of resistor 4, and resistor The other end of four is combined with the cathode of diode four and connected to +5V voltage together, port 2 of relay one is connected to signal interface four, port 5 of relay one is connected to signal interface one, one end of resistor one, and one end of resistor six respectively, pin 16 of the microcontroller is connected to pin 10 of the control chip, pin 18 of the microcontroller is connected to pin 8 of the control chip, pin 18 of the microcontroller is connected to pin 8 of the control chip, pin 19 of the microcontroller is connected to pin 6 of the control chip, pin 20 of the microcontroller is connected to pin 9 of the control chip, and pin 20 of the microcontroller is grounded.
[0005] Pin No. 1 of the control chip is respectively connected to one end of capacitor nine and one end of ferrite bead one, the other end of capacitor nine is grounded, and the other end of ferrite bead one is connected to +3.3V voltage, pin No. 2 of the control chip is respectively connected to one end of resistor three and one end of capacitor ten, and the other end of resistor three is respectively connected to one end of resistor two and signal interface three, pin No. 3 of the control chip is respectively connected to one end of resistor five and one end of capacitor eleven, and the other end of resistor five is respectively connected to the other end of resistor two, signal interface two, one end of varistor one and ground, the other end of capacitor eleven is combined with the other end of capacitor ten and grounded together, and pin No. 4 of the control chip is respectively connected to one end of resistor five and one end of capacitor eleven. Pin No. 1 is respectively connected to one end of resistor nine, one end of capacitor twelve, and one end of resistor eight. The other end of resistor eight is connected to one end of resistor seven, and the other end of resistor seven is connected to the other end of resistor six. Pin No. 5 of the control chip is respectively connected to the other end of resistor nine, the other end of capacitor twelve and grounded. The other end of varistor one is respectively connected to the other end of resistor one and the anode of diode one, the cathode of diode one is connected to the anode of diode two, the cathode of diode two is respectively connected to one end of capacitor seven and one end of inductor two, the other end of capacitor seven is grounded, the other end of inductor two is respectively connected to one end of capacitor eight and the power module, and the other end of capacitor eight is grounded.
[0006] The power module comprises a power chip and a voltage stabilizing chip. The other end of the inductor 2 is connected to the No. 4 pin of the power chip. The No. 1 pin of the power chip is respectively connected to one end of the inductor 1, one end of the capacitor 1, one end of the capacitor 2, one end of the capacitor 3, the No. 1 pin of the voltage stabilizing chip, and the No. 3 pin of the voltage stabilizing chip, and outputs a +5V voltage. The other end of the inductor 1 is respectively connected to the No. 5 pin of the power chip and the No. 6 pin of the power chip. The other end of the capacitor 1 is grounded, the other end of the capacitor 2 is grounded, the other end of the capacitor 3 is grounded, the No. 2 pin of the power chip is grounded, the No. 2 pin of the voltage stabilizing chip is grounded, the No. 5 pin of the voltage stabilizing chip is respectively connected to one end of the capacitor 4, one end of the capacitor 5, and one end of the capacitor 6, and outputs a +3.3V voltage. The other end of the capacitor 4, the other end of the capacitor 5, and the other end of the capacitor 6 are combined and grounded together.
[0007] Pin No. 4 of the program burning port is connected to a 3.3V voltage, and pin No. 1 of the program burning port is grounded.
[0008] The model of the single chip microcomputer is STC8H1K08-36I-QFN20.
[0009] The model of the relay 1 is 973-5VDC-SL-A.
[0010] The model of the control chip is BL0942.
[0011] The model of the power chip is BP8523D, and the model of the voltage regulator chip is ME6211C33M5G-N.
[0012] Compared with the prior art, the present invention improves on the basis of the existing walkie-talkie charging protection socket circuit, realizes the automatic charging recovery function through the design of a single-chip microcomputer, and adds a power recovery button for manually restoring the charging function after power failure protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a circuit diagram of the present invention. DETAILED DESCRIPTION
[0014] The present invention will be further described below with reference to the accompanying drawings.
[0015] like Figure 1As shown, pin 1 of the single-chip computer U4 is divided into two paths, which are respectively connected to the cathode of the light-emitting diode D6 and the cathode of the light-emitting diode D7. The anode of the light-emitting diode D6 and the anode of the light-emitting diode D7 are combined and connected to one end of the resistor R13. The other end of the resistor R13 is connected to a +3.3V voltage. Pin 2 of the single-chip computer U4 is divided into two paths, which are respectively connected to one end of the button SW1 and one end of the capacitor C14. The other end of the button SW1 and the other end of the capacitor C14 are combined and grounded. Pin 3 of the single-chip computer U4 is divided into two paths, which are respectively connected to the cathode of the light-emitting diode D5 and the cathode of the light-emitting diode D3. The light-emitting diode D5 is connected to the cathode of the light-emitting diode D4. The anode of 5 and the anode of light-emitting diode D3 are combined and connected to one end of resistor R10. The other end of resistor R10 is connected to +3.3V voltage. Pin 5 and pin 6 of microcontroller U4 are combined and connected to one end of ferrite bead FB2 and one end of capacitor C15. The other end of ferrite bead FB2 is connected to 3.3V voltage. The other end of capacitor C15 is grounded. Pin 7 of microcontroller U4 is grounded. Pin 8 of microcontroller U4 is connected to pin 3 of program burning port J1. Pin 9 of microcontroller U4 is connected to pin 2 of program burning port J1. Pin 11 of microcontroller U4 is connected to the cathode of light-emitting diode D8. The anode of the diode D8 is connected to one end of the resistor R14, and the other end of the resistor R14 is connected to a 3.3V voltage. The No. 15 pin of the single-chip computer U4 is respectively connected to one end of the resistor R11, and the other end of the resistor R11 is respectively connected to one end of the capacitor C13, the base of the transistor Q1, and one end of the resistor R12. The other end of the capacitor C13, the emitter of the transistor Q1, and the other end of the resistor R12 are combined and grounded together. The collector of the transistor Q1 is respectively connected to the anode of the diode D4 and the No. 1 port of the relay K1. The No. 4 port of the relay K1 is connected to one end of the resistor R4, and the other end of the resistor R4 is connected to the base of the transistor Q1. The cathodes of the diode D4 are combined and connected to the +5V voltage together, the port 2 of the relay K1 is connected to the signal interface TP4, the port 5 of the relay K1 is respectively connected to the signal interface TP1, one end of the resistor R1, and one end of the resistor R6, the pin 16 of the single-chip microcomputer U4 is connected to the pin 10 of the control chip U3, the pin 18 of the single-chip microcomputer U4 is connected to the pin 8 of the control chip U3, the pin 18 of the single-chip microcomputer U4 is connected to the pin 8 of the control chip U3, the pin 19 of the single-chip microcomputer U4 is connected to the pin 6 of the control chip U3, the pin 20 of the single-chip microcomputer U4 is connected to the pin 9 of the control chip U3, and the pin 20 of the single-chip microcomputer U4 is grounded.
[0016] Pin No. 1 of the control chip U3 is respectively connected to one end of capacitor C9 and one end of ferrite bead FB1, the other end of capacitor C9 is grounded, and the other end of ferrite bead FB1 is connected to +3.3V voltage, pin No. 2 of the control chip U3 is respectively connected to one end of resistor R3 and one end of capacitor C10, the other end of resistor R3 is respectively connected to one end of resistor R2 and signal interface TP3, pin No. 3 of the control chip U3 is respectively connected to one end of resistor R5 and one end of capacitor C11, the other end of resistor R5 is respectively connected to the other end of resistor R2, signal interface TP2, one end of varistor TVR1 and ground, the other end of capacitor C11 is combined with the other end of capacitor C10 and grounded together, and the control chip U3 Pin No. 4 is respectively connected to one end of resistor R9, one end of capacitor C12, and one end of resistor R8. The other end of resistor R8 is connected to one end of resistor R7. The other end of resistor R7 is connected to the other end of resistor R6. Pin No. 5 of control chip U3 is respectively connected to the other end of resistor R9 and the other end of capacitor C12 and grounded. The other end of varistor TVR1 is respectively connected to the other end of resistor R1 and the anode of diode D1. The cathode of diode D1 is connected to the anode of diode D2. The cathode of diode D2 is respectively connected to one end of capacitor C7 and one end of inductor L2. The other end of capacitor C7 is grounded. The other end of inductor L2 is respectively connected to one end of capacitor C8 and the power module. The other end of capacitor C8 is grounded.
[0017] The power supply module includes a power supply chip U2 and a voltage regulator chip U1. The other end of the inductor L2 is connected to pin 4 of the power supply chip U2. Pin 1 of the power supply chip U2 is respectively connected to one end of the inductor L1, one end of the capacitor C1, one end of the capacitor C2, one end of the capacitor C3, pin 1 of the voltage regulator chip U1, and pin 3 of the voltage regulator chip U1, and outputs a +5V voltage. The other end of the inductor L1 is respectively connected to pin 5 of the power supply chip U2 and pin 6 of the power supply chip U2. The other end of the capacitor C1 is grounded, the other end of the capacitor C2 is grounded, the other end of the capacitor C3 is grounded, pin 2 of the power supply chip U2 is grounded, pin 2 of the voltage regulator chip U1 is grounded, pin 5 of the voltage regulator chip U1 is respectively connected to one end of the capacitor C4, one end of the capacitor C5, and one end of the capacitor C6, and outputs a +3.3V voltage. The other end of the capacitor C4, the other end of the capacitor C5, and the other end of the capacitor C6 are combined and grounded together. In this embodiment, the power module converts the power supply voltage into a power supply voltage for the control chip U3, the single-chip microcomputer U4, and a plurality of light-emitting diodes to work.
[0018] Pin 4 of the program burning port J1 is connected to a 3.3V voltage, and pin 1 of the program burning port J1 is grounded. Since subway control rooms are mostly designed to be installed in underground environments, which can easily cause circuit instability, since the circuit of this embodiment has a built-in program burning port, the circuit protection triggering conditions can be customized and adjusted according to the actual situation of the user, such as the time interval for restoring charging after power failure, the current of the protection circuit and other parameters.
[0019] In this embodiment, the model of the single chip microcomputer U4 is STC8H1K08-36I-QFN20, the model of the relay K1 is 973-5VDC-SL-A, the model of the control chip U3 is BL0942, the model of the power chip U2 is BP8523D, and the model of the voltage regulator chip U1 is ME6211C33M5G-N.
[0020] In this embodiment, the current and voltage in the circuit are used to determine whether the battery of the intercom is full during the charging process. When the battery of the intercom is determined to be full, the protection device will automatically disconnect the power supply to prevent overcharging of the battery, thereby ensuring the safe use of electricity in the subway and ensuring the operation of the subway. The single-chip microcomputer controls a certain time interval to resume charging, thereby solving the problem that the on-duty personnel do not need to pay attention to whether to manually start charging for a long time and easily forget to cause long-term power outages without charging. Pin 6 of the U3 control chip, CF1 power status output, is configured by a register and connected to pin 19 of the U4 single-chip microcomputer. When the current and voltage are detected to be lower than the preset value, the charging is disconnected. At the same time, when the power-off time is greater than the preset time value, the charging is automatically resumed.
[0021] This embodiment is suitable for charging protection of small power batteries such as subway walkie-talkies. Taking into account the instability of old batteries of some models of subway walkie-talkies, they are not fully charged after the protection power is cut off. Because a button SW1 is added in this embodiment as a power-on reset switch, the charging of the walkie-talkie battery is physically restored by pressing the button SW1.
Claims
1. A walkie-talkie charging protection socket circuit, including a single-chip microcomputer, characterized in that: Pin 1 of the single-chip computer (U4) is divided into two paths, which are respectively connected to the cathode of light-emitting diode 6 (D6) and the cathode of light-emitting diode 7 (D7). The anode of light-emitting diode 6 (D6) and the anode of light-emitting diode 7 (D7) are combined and connected to one end of resistor 13 (R13). The other end of resistor 13 (R13) is connected to a +3.3V voltage. Pin 2 of the single-chip computer (U4) is divided into two paths, which are respectively connected to one end of button 1 (SW1) and one end of capacitor 14 (C14). The other end of button 1 (SW1) and the other end of capacitor 14 (C14) are combined and grounded. Pin 3 of the single-chip computer (U4) is divided into two paths, which are respectively connected to the cathode of light-emitting diode 5 (D5) and the cathode of light-emitting diode 3 (D3). The anode of light-emitting diode 5 (D5) and the anode of light-emitting diode 3 (D3) are combined. Then, one end of resistor 10 (R10) is connected together, and the other end of resistor 10 (R10) is connected to +3.3V voltage. Pins 5 and 6 of the microcontroller (U4) are combined and connected together to one end of ferrite bead 2 (FB2) and one end of capacitor 15 (C15). The other end of ferrite bead 2 (FB2) is connected to 3.3V voltage. The other end of capacitor 15 (C15) is grounded. Pin 7 of the microcontroller (U4) is grounded. Pin 8 of the microcontroller (U4) is connected to pin 3 of terminal 1 (J1). Pin 9 of the microcontroller (U4) is connected to pin 2 of terminal 1 (J1). Pin 11 of the microcontroller (U4) is connected to the cathode of light-emitting diode 8 (D8). The anode of light-emitting diode 8 (D8) is connected to one end of resistor 14 (R14). The other end of resistor 14 (R14) is connected to 3.3V voltage, pin 15 of the microcontroller (U4) is connected to one end of resistor 11 (R11), the other end of resistor 11 (R11) is connected to one end of capacitor 13 (C13), the base of transistor 1 (Q1), and one end of resistor 12 (R12), the other end of capacitor 13 (C13), the emitter of transistor 1 (Q1), and the other end of resistor 12 (R12) are combined and grounded together, the collector of transistor 1 (Q1) is connected to the anode of diode 4 (D4) and port 1 of relay 1 (K1), port 4 of relay 1 (K1) is connected to one end of resistor 4 (R4), the other end of resistor 4 (R4) and the cathode of diode 4 (D4) are combined and connected to +5V voltage. Pressure, the No. 2 port of relay one (K1) is connected to the signal interface four (TP4), the No. 5 port of relay one (K1) is respectively connected to the signal interface one (TP1), one end of resistor one (R1), and one end of resistor six (R6), the No. 16 pin of the single-chip computer (U4) is connected to the No. 10 pin of the control chip (U3), the No. 18 pin of the single-chip computer (U4) is connected to the No. 8 pin of the control chip (U3), the No. 18 pin of the single-chip computer (U4) is connected to the No. 8 pin of the control chip (U3), the No. 19 pin of the single-chip computer (U4) is connected to the No. 6 pin of the control chip (U3), the No. 20 pin of the single-chip computer (U4) is connected to the No. 9 pin of the control chip (U3), and the No. 20 pin of the single-chip computer (U4) is grounded. .
2. The intercom charging protection socket circuit according to claim 1, characterized in that: Pin 1 of the control chip (U3) is respectively connected to one end of capacitor nine (C9) and one end of ferrite bead one (FB1), the other end of capacitor nine (C9) is grounded, and the other end of ferrite bead one (FB1) is connected to a +3.3V voltage. Pin 2 of the control chip (U3) is respectively connected to one end of resistor three (R3) and one end of capacitor ten (C10), and the other end of resistor three (R3) is respectively connected to one end of resistor two (R2) and signal interface three (TP3). Pin 3 of the control chip (U3) is respectively connected to one end of resistor five (R5) and one end of capacitor eleven (C11), and the other end of resistor five (R5) is respectively connected to the other end of resistor two (R2), signal interface two (TP2), one end of varistor one (TVR1) and grounded. The other end of capacitor eleven (C11) and the other end of capacitor ten (C10) are combined and grounded together. Pin No. 4 is respectively connected to one end of resistor nine (R9), one end of capacitor twelve (C12), and one end of resistor eight (R8). The other end of resistor eight (R8) is connected to one end of resistor seven (R7). The other end of resistor seven (R7) is connected to the other end of resistor six (R6). Pin No. 5 of the control chip (U3) is respectively connected to the other end of resistor nine (R9), the other end of capacitor twelve (C12) and grounded. The other end of varistor one (TVR1) is respectively connected to the other end of resistor one (R1) and the anode of diode one (D1). The cathode of diode one (D1) is connected to the anode of diode two (D2). The cathode of diode two (D2) is respectively connected to one end of capacitor seven (C7) and one end of inductor two (L2). The other end of capacitor seven (C7) is grounded. The other end of inductor two (L2) is respectively connected to one end of capacitor eight (C8) and the power module. The other end of capacitor eight (C8) is grounded.
3. The intercom charging protection socket circuit according to claim 1, characterized in that: The power module comprises a power chip (U2) and a voltage regulator chip (U1). The other end of the second inductor (L2) is connected to the No. 4 pin of the power chip (U2). The No. 1 pin of the power chip (U2) is respectively connected to one end of the inductor (L1), one end of the capacitor (C1), one end of the capacitor (C2), one end of the capacitor (C3), the No. 1 pin of the voltage regulator chip (U1), and the No. 3 pin of the voltage regulator chip (U1), and outputs a +5V voltage. The other end of the inductor (L1) is respectively connected to the No. 5 pin of the power chip (U2), the No. 6 pin of the power chip ( The other end of capacitor one (C1) is grounded, the other end of capacitor two (C2) is grounded, the other end of capacitor three (C3) is grounded, pin 2 of the power chip (U2) is grounded, pin 2 of the voltage regulator chip (U1) is grounded, pin 5 of the voltage regulator chip (U1) is respectively connected to one end of capacitor four (C4), one end of capacitor five (C5), and one end of capacitor six (C6), and outputs a +3.3V voltage, and the other end of capacitor four (C4), the other end of capacitor five (C5), and the other end of capacitor six (C6) are combined and grounded together.
4. The intercom charging protection socket circuit according to claim 1, characterized in that: Pin 4 of the wiring terminal 1 (J1) is connected to a 3.3V voltage, and pin 1 of the wiring terminal 1 (J1) is grounded.
5. The intercom charging protection socket circuit according to claim 1, characterized in that: The model of the single chip microcomputer (U4) is STC8H1K08-36I-QFN20.
6. The intercom charging protection socket circuit according to claim 1, characterized in that: The model of the relay 1 (K1) is 973-5VDC-SL-A.
7. The intercom charging protection socket circuit according to claim 1, characterized in that: The model of the control chip (U3) is BL0942.
8. The intercom charging protection socket circuit according to claim 1, characterized in that: The model of the power chip (U2) is BP8523D, and the model of the voltage regulator chip (U1) is ME6211C33M5G-N.