Charging circuit, charging system, charging method and charging circuit control method
By introducing a comparison module and a logic judgment module into the charging circuit to control the voltage output, the problem that the existing charging protection circuit cannot completely avoid the risk of short circuit is solved, and the safety of the charging device is improved.
Patent Information
- Application Number
- CN202411430160.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-02-14
AI Technical Summary
Existing charging protection circuits cannot completely avoid the risk of short circuits, and in the case of short circuit, it may cause the equipment to overheat or catch fire, posing safety hazards.
A charging circuit is designed, including a first comparison module, a second comparison module, a voltage division module, a logic judgment module and a switch control module. By collecting the electrical signal of the charging interface and comparing it with a preset reference signal, the switch control signal is generated to Control the voltage output to ensure that the voltage is output only when the electrical signal is within the specified range.
It effectively avoids short circuits caused by poor contact with the charging interface, reduces equipment damage and fire risks, and improves the safety of the charging device.
Smart Images

Figure CN119448482A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of charging technology, and in particular to a charging circuit, a charging system, a charging method and a charging circuit control method. Background Art
[0002] When there is foreign matter, water ingress, or poor contact in the charging port, it is easy to cause a short circuit in the charging port. A short circuit in the charging port can easily cause the electronic components on the internal circuit board of the device to overheat or burn, which may cause the device to completely stop working, or even require the motherboard to be replaced. More seriously, a short circuit in the charging port may cause the device or charging cable to overheat, increasing the risk of fire. Especially when charging, if the short circuit is severe, it may cause the device to catch fire.
[0003] The existing charging protection circuit detects whether a short circuit occurs in the charging interface after outputting voltage at the charging end. When a short circuit occurs, the voltage output is disconnected. Although this reduces the short circuit risk to a certain extent, since the charging end has already output voltage before the circuit short-circuits, disconnecting the voltage output when a short circuit occurs will also cause an impact on the charging device, generating a brief spark, posing a safety hazard. The short circuit risk cannot be completely avoided, and it is very easy to damage the plug port of the power supply device and even cause a fire. Summary of the invention
[0004] The present invention provides a charging circuit, a charging system, a charging method and a charging circuit control method to solve the problem that the existing charging protection circuit cannot completely avoid the risk of short circuit and does not take further protection measures for the short circuit.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a charging circuit, including a first comparison module, a second comparison module, a voltage division module, a logic judgment module, a switch control module, a power interface and a first charging interface;
[0006] The power interface is electrically connected to the first comparison module, the second comparison module and the switch control module respectively;
[0007] The input end of the first comparison module is electrically connected to the first charging interface, and the output end of the first comparison module is electrically connected to the input end of the logic judgment module;
[0008] The input end of the second comparison module is electrically connected to the first charging interface, and the output end of the second comparison module is electrically connected to the input end of the logic judgment module;
[0009] The first end of the voltage dividing module is electrically connected to the input end of the first charging interface, the input end of the first comparison module, the input end of the second comparison module and the output end of the switch control module respectively;
[0010] The output end of the logic judgment module is electrically connected to the input end of the switch control module; the output end of the switch control module is electrically connected to the second charging interface.
[0011] The present invention collects the electrical signal of the first charging interface on the charging device through the first comparison module and the second comparison module to compare it with the preset reference signal, and inputs the comparison result into the logic judgment module to confirm whether the first charging interface on the charging device is within the prescribed preset range according to the judgment result, and generates a switch control signal according to the judgment result, and inputs the switch control signal into the switch control module to control the voltage output, so that when the electrical signal of the first charging interface does not meet the preset conditions, no voltage is output. Avoiding the poor contact of the charging interface due to bumps, shaking and other reasons during use, resulting in abnormal connections such as short-circuit connection and open-circuit connection between the charging device and the charging end, the charging path still outputs current, causing damage to the plug port of the power supply equipment, and even causing fire, thereby improving the safety of the charging device.
[0012] Further, the first comparison module includes a first reference module and a first comparator;
[0013] The input end of the first reference module is electrically connected to the power interface, and the output end of the first reference module is electrically connected to the non-inverting input end of the first comparator;
[0014] The inverting input terminal of the first comparator is electrically connected to the first charging interface, and the connection point between the inverting input terminal of the first comparator and the first charging interface is arranged between the first end of the voltage divider module and the first charging interface; the output terminal of the first comparator is electrically connected to the input terminal of the logic judgment module.
[0015] Further, the first reference module includes a first resistor and a second resistor;
[0016] The first end of the first resistor is electrically connected to the power interface; the second end of the first resistor is electrically connected to the first end of the second resistor; and the second end of the second resistor is grounded;
[0017] The second end of the first resistor is electrically connected to the non-inverting input end of the first comparator.
[0018] Further, the second comparison module includes a second reference module and a second comparator;
[0019] The input end of the second reference module is electrically connected to the power interface, and the output end of the second reference module is electrically connected to the inverting input end of the first comparator.
[0020] The non-inverting input terminal of the second comparator is electrically connected to the first charging interface, and the connection point between the non-inverting input terminal of the second comparator and the first charging interface is arranged between the first end of the voltage divider module and the first charging interface; the output terminal of the second comparator is electrically connected to the input terminal of the logic judgment module.
[0021] Further, the second reference module includes a third resistor and a fourth resistor;
[0022] The first end of the third resistor is electrically connected to the power interface; the second end of the third resistor is electrically connected to the first end of the fourth resistor; the second end of the fourth resistor is grounded;
[0023] The second end of the third resistor is electrically connected to the inverting input end of the second comparator;
[0024] Further, the voltage divider module includes a fifth resistor, a first end of the fifth resistor is connected to the first charging interface, and a second end of the fifth resistor is connected to the power interface.
[0025] Further, the power interface includes a first power interface and a second power interface; the second power interface includes a step-down module;
[0026] The first power supply interface is electrically connected to the first reference module, the second reference module and the voltage divider module respectively;
[0027] The output end of the voltage reduction module is electrically connected to the first comparator, the second comparator and the logic judgment module respectively.
[0028] In a second aspect, the present invention provides a charging system, including a charging device and a charging ring;
[0029] The charging ring includes a second charging interface; the charging device includes the charging circuit described above, and the first charging interface of the charging protection circuit is used to be electrically connected to the second charging interface of the charging ring.
[0030] In a third aspect, the present invention provides a charging method, comprising:
[0031] Acquire an electrical signal from the first charging interface, input the electrical signal into the first comparison module and the second comparison module, and acquire a first comparison result and a second comparison result output by the first comparison module and the second comparison module;
[0032] Inputting the first comparison result and the second comparison result into a logic judgment module for logic judgment, and generating a charging switch signal according to the logic judgment result;
[0033] The charging switch signal is input into the switch control module to control the voltage output of the charging device.
[0034] In a fourth aspect, the present invention provides a charging circuit control method, when the first charging interface is short-circuited, comprising:
[0035] Acquire a short-circuit state signal of the first charging interface, input the short-circuit state signal into the first comparison module and the second comparison module, and acquire a first comparison result and a second comparison result output by the first comparison module and the second comparison module;
[0036] Inputting the first comparison result and the second comparison result into a logic judgment module for logic judgment, and generating a charging switch signal according to the logic judgment result;
[0037] The charging switch signal is input into the switch control module to control the charging device to not output voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a module of a charging circuit provided by an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of the structure of a first comparison module provided by an embodiment of the present invention;
[0040] Figure 3 A schematic diagram of the structure of a second comparison module provided by an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of the structure of a voltage divider module provided in an embodiment of the present invention;
[0042] Figure 5 A structural schematic diagram of a logic judgment module provided by an embodiment of the present invention;
[0043] Figure 6 A schematic diagram of a switch control module provided by an embodiment of the present invention;
[0044] Figure 7 A schematic diagram of a voltage reduction module provided by an embodiment of the present invention;
[0045] Figure 8 A schematic diagram of the structure of a charging system provided by an embodiment of the present invention;
[0046] Fig. 9 A schematic diagram of the structure of a charging device provided by an embodiment of the present invention;
[0047] Fig.10 A schematic diagram of the structure of a charging ring provided by an embodiment of the present invention;
[0048] Fig.11 A schematic flow chart of a method for controlling a charging circuit provided by an embodiment of the present invention;
[0049] Fig.12 A schematic diagram of a charging circuit provided by an embodiment of the present invention;
[0050] The reference numerals of the drawings in the specification are as follows:
[0051] 1. First comparison module; 11. First reference module; 111. First resistor; 112. Second resistor; 12. First comparator; 2. Second comparison module; 21. Second reference module; 211. Third resistor; 212. Fourth resistor; 22. Second comparator; 3. Voltage divider module; 31. Fifth resistor; 4. Logic judgment module; 41. Logic judgment element; 5. Switch control module; 51. Sixth resistor; 6. Power interface; 61. First power interface; 62. Second power interface; 63. Step-down module; 7. First charging interface; 8. Charging device; 81. Positive pin; 82. Negative pin; 9. Charging ring; 91. Positive round metal; 92. Negative annular metal. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] Embodiment 1
[0054] Please refer to Figure 1 , Figure 1 A schematic diagram of a charging circuit provided by an embodiment of the present invention, comprising a first comparison module 1, a second comparison module 2, a voltage division module 3, a logic judgment module 4, a switch control module 5, a power interface 6 and a first charging interface 7;
[0055] The power interface 6 is electrically connected to the first comparison module 1, the second comparison module 2 and the switch control module 5 respectively;
[0056] The input end of the first comparison module 1 is electrically connected to the first charging interface 7, and the output end of the first comparison module 1 is electrically connected to the input end of the logic judgment module 4;
[0057] The input end of the second comparison module 2 is electrically connected to the first charging interface 7, and the output end of the second comparison module 2 is electrically connected to the input end of the logic judgment module 4;
[0058] The first end of the voltage dividing module 3 is electrically connected to the input end of the first charging interface 7, the input end of the first comparison module 1, the input end of the second comparison module 2 and the output end of the switch control module 5 respectively;
[0059] The output end of the logic judgment module 4 is electrically connected to the input end of the switch control module 5 ; the output end of the switch control module 5 is electrically connected to the first charging interface 7 .
[0060] In this embodiment, by obtaining the electrical signals of the positive and negative electrodes of the first charging interface 7, the electrical signals are input into the first comparison module 1 and the second comparison module 2 for comparison with the preset first threshold signal and the second threshold signal, and the first comparison result and the second comparison result are obtained. The first comparison result and the second comparison result are input into the logic judgment module 4, and a switch control signal is generated according to the judgment result of the logic judgment module 4, and the switch control signal is input into the switch control module 5 to realize the control of the voltage output according to the state of the first charging interface 7.
[0061] In one embodiment, the positive terminal of the first charging interface 7 is electrically connected to the input terminal of the first comparison module 1, the input terminal of the second comparison module 2, the first terminal of the voltage divider module 3 and the output terminal of the switch control module (5); the negative terminal of the first charging interface is electrically connected to the ground wire.
[0062] In this embodiment, the power interface 6 includes a first power interface 61 and a second power interface 62; the second power interface 62 includes a step-down module 63;
[0063] The first power interface 61 is electrically connected to the first reference module 11, the second reference module 21 and the voltage dividing module 3 respectively;
[0064] The output end of the voltage reduction module 63 is electrically connected to the first comparator 12 , the second comparator 22 and the logic judgment element 41 , respectively.
[0065] In this embodiment, the power interface includes a first power interface 61 and a second power interface 62, wherein the voltage output by the first power interface 61 is the power supply voltage, and the voltage output by the second power interface 62 is the stepped-down voltage. For example, if the power supply is a constant voltage of 5V, the voltage output by the first power interface 61 is 5V, and the voltage output by the second power interface will be less than 5V after being stepped down by the step-down module.
[0066] Please refer to Figure 2 , Figure 2 A schematic structural diagram of a first comparison module 1 provided in an embodiment of the present invention.
[0067] In this embodiment, the first comparison module 1 includes a first reference module 11 and a first comparator 12;
[0068] The input end of the first reference module 11 is electrically connected to the power interface 6, and the output end of the first reference module 11 is electrically connected to the non-inverting input end of the first comparator 12;
[0069] The inverting input terminal of the first comparator 12 is electrically connected to the first charging interface 7, and the connection point between the inverting input terminal of the first comparator 12 and the first charging interface 7 is arranged between the first end of the voltage divider module and the first charging interface 7; the output terminal of the first comparator 12 is electrically connected to the input terminal of the logic judgment module 4.
[0070] In this embodiment, the input end of the first reference module 11 is electrically connected to the first power interface 61, and the first comparator 12 is electrically connected to the second power interface 62. In this embodiment, the inverting input end of the first comparator 12 is respectively connected to the first charging interface 7, the first end of the voltage divider module and the output end of the switch control module 5.
[0071] In this embodiment, the comparator is a circuit that compares an analog voltage signal with a reference voltage. The two inputs of the comparator are analog signals, and the output is a binary signal 0 or 1. When the difference of the input voltage increases or decreases and the positive and negative signs remain unchanged, the output remains constant.
[0072] In this embodiment, the first reference module 11 includes a first resistor 111 and a second resistor 112;
[0073] The first end of the first resistor 111 is electrically connected to the power interface 6; the second end of the first resistor 111 is electrically connected to the first end of the second resistor 112; the second end of the second resistor 112 is grounded;
[0074] The second end of the first resistor 111 is electrically connected to the non-inverting input terminal of the first comparator 12 .
[0075] In this embodiment, the first comparison module 1 includes a first reference module 11 and a first comparator 12. The first reference module 11 is used to set a first threshold signal, that is, to set a first reference voltage. The first comparator 12 is used to determine whether the electrical signal is within the first reference voltage.
[0076] In this embodiment, the first reference module 11 is connected to the first power interface 61, and a voltage source is obtained through the first power interface 61. The voltage source passes through the first resistor 111 and is divided by the second resistor 112 to obtain the output voltage of the first reference module 11. The output voltage of the first reference module 11 is the first threshold signal. The first threshold signal is input to the non-inverting input terminal of the first comparator 12 so that the first comparator 12 determines the size of the first threshold signal and the input signal. When the first threshold signal is greater than the input signal, a high level is output. The input signal is a voltage signal obtained after the power supply is divided by the equivalent resistance of the voltage divider module 3 and the first charging interface 7.
[0077] In this embodiment, the first threshold signal can be adjusted by adjusting the voltage of the voltage source, or the resistance values of the first resistor 111 and the second resistor 112. The first threshold signal is a reference voltage signal of the charging interface. By adjusting the first threshold signal, a reference voltage of the electrical signal of the first charging interface 7 can be adjusted.
[0078] As a specific example of an embodiment of the present invention, the input voltage of the first reference module 11 is 5V. According to the voltage division of the first resistor 111 and the second resistor 112, the voltage signal input to the non-inverting input terminal of the first comparator 12 is 4.9V. At this time, the first reference voltage is 4.9V; if at a certain moment, the voltage signal of the first charging interface 7 exceeds 4.9V, then at this time the electrical signal of the first charging interface 7 exceeds the preset first threshold signal, and the first comparator 12 outputs a low level; if the voltage signal of the first charging interface 7 is lower than 4.9V, then at this time the electrical signal of the first charging interface 7 does not exceed the preset first threshold signal, and the first comparator 12 outputs a high level. As a specific example of an embodiment of the present invention, the input voltage of the first reference module 11 is 5V. According to the voltage division of the first resistor 111 and the second resistor 112, the voltage signal input to the non-inverting input terminal of the first comparator 12 is 4.7. At this time, the first reference voltage is 4.7V; if at a certain moment, the voltage signal of the first charging interface 7 exceeds 4.7V, then at this time the electrical signal of the first charging interface 7 exceeds the preset first threshold signal, and the first comparator 12 outputs a low level; if the voltage signal of the first charging interface 7 is lower than 4.7V, then at this time the electrical signal of the first charging interface 7 does not exceed the preset first threshold signal, and the first comparator 12 outputs a high level.
[0079] Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of a second comparison module 2 provided in an embodiment of the present invention.
[0080] In this embodiment, the second comparison module 2 includes a second reference module 21 and a second comparator 22;
[0081] The input end of the second reference module 21 is electrically connected to the power interface 6, and the output end of the second reference module 21 is electrically connected to the inverting input end of the first comparator 12.
[0082] The non-inverting input terminal of the second comparator 22 is electrically connected to the first charging interface 7, and the connection point between the non-inverting input terminal of the second comparator 22 and the first charging interface 7 is arranged between the first end of the voltage divider module and the first charging interface 7; the output terminal of the second comparator 22 is electrically connected to the input terminal of the logic judgment module 4.
[0083] The second reference module 21 includes a third resistor 211 and a fourth resistor 212;
[0084] The first end of the third resistor 211 is electrically connected to the power interface 6; the second end of the third resistor 211 is electrically connected to the first end of the fourth resistor 212; the second end of the fourth resistor 212 is grounded;
[0085] The second end of the third resistor 211 is electrically connected to the inverting input terminal of the second comparator 22 .
[0086] In this embodiment, the second comparison module 2 includes a second reference module 21 and a second comparator 22. The second reference module 21 is used to set a second threshold signal, that is, to set a second reference voltage. The second comparator 22 is used to determine whether the electrical signal is within the second reference voltage.
[0087] In this embodiment, the input end of the second reference module 21 is electrically connected to the first power interface 61 , and the second comparator 22 is electrically connected to the second power interface 62 .
[0088] In this embodiment, the non-inverting input terminal of the second comparator 22 is connected to the first charging interface 7 , the first terminal of the voltage dividing module 3 , and the output terminal of the switch control module 5 , respectively.
[0089] In this embodiment, the second reference module 21 is connected to the first power interface 61, and a constant voltage source is obtained through the first power interface 61. The voltage source passes through the third resistor 211 and is divided by the fourth resistor 212 to obtain the output voltage of the second reference module 21. The output voltage of the second reference module 21 is the second threshold signal. The second threshold signal is input to the inverting input terminal of the second comparator 22 so that the second comparator 22 determines the size of the second threshold signal and the input electrical signal. When the second threshold signal is less than the input signal, a high level is output. The input signal is a voltage signal obtained after the power supply is divided by the equivalent resistance of the voltage divider module 3 and the first charging interface 7.
[0090] In this embodiment, the second threshold signal can be adjusted by adjusting the voltage of the voltage source, or the resistance values of the third resistor 211 and the fourth resistor 212. The second threshold signal is another reference voltage signal of the charging interface. By adjusting the second threshold signal, another reference voltage of the electrical signal of the first charging interface 7 can be adjusted.
[0091] As a specific example of an embodiment of the present invention, the input voltage of the second reference module 21 is 5V. According to the voltage division of the third resistor 211 and the fourth resistor 212, the voltage signal input to the inverting input terminal of the second comparator 22 is 1.5V. At this time, the second reference voltage is 1.5V; if at a certain moment, the voltage signal of the first charging interface 7 is lower than 1.5V, then the electrical signal of the first charging interface 7 is lower than the preset second threshold signal, and the second comparator 22 outputs a low level; if the voltage signal of the second charging interface is higher than 1.5V, then the electrical signal of the second charging interface is not lower than the preset second threshold signal, and the second comparator 22 outputs a high level.
[0092] As another specific example of an embodiment of the present invention, the input voltage of the second reference module 21 is 5V. According to the voltage division of the third resistor 211 and the fourth resistor 212, the voltage signal input to the inverting input terminal of the second comparator 22 is 1.2V. At this time, the second reference voltage is 1.2V; if at a certain moment, the voltage signal of the first charging interface 7 is lower than 1.2V, then at this time the electrical signal of the first charging interface 7 is lower than the preset second threshold signal, and the second comparator 22 outputs a low level; if the voltage signal of the second charging interface is higher than 1.2V, then at this time the electrical signal of the second charging interface is not lower than the preset second threshold signal, and the second comparator 22 outputs a high level.
[0093] In this embodiment, the first reference voltage of the first reference module 11 is set by a first threshold signal, and the second reference voltage of the second reference module 21 is set by a second threshold signal, so that the voltage standard range of the electrical signal of the first charging interface 7 is set by the two reference voltages. When the electrical signal of the first charging interface 7 is within the voltage standard range, the connection status at the first charging interface 7 is normal; when the electrical signal of the first charging interface 7 is not within the voltage standard range, the connection status at the first charging interface 7 is abnormal.
[0094] Please refer to Figure 4 , Figure 4 A schematic structural diagram of a voltage dividing module 3 provided in an embodiment of the present invention.
[0095] In this embodiment, the voltage dividing module 3 includes a fifth resistor 31 , a first end of the fifth resistor 31 is connected to the first charging interface 7 , and a second end of the fifth resistor 31 is connected to the power interface 6 .
[0096] In this embodiment, the first end of the voltage divider module 3 is electrically connected to the first charging interface 7, and the second end of the voltage divider module 3 is electrically connected to the first power interface 61. By setting the voltage divider module 3, the state of the first charging interface 7 is obtained. At the same time, after the voltage output by the first power interface 61 passes through the voltage divider resistor, the voltage flows to the inverting input terminal of the first comparator 12, the non-inverting input terminal of the second comparator 22, and the first charging interface 7. At this time, if the connection state at the first charging interface 7 is short-circuited, the equivalent resistance Rpogo of the first charging interface 7 is 0. At this time, the inverting input terminal of the first comparator 12 and the non-inverting input terminal of the second comparator 22 are equivalent to connecting to GND, that is, the input voltages of the inverting input terminal of the first comparator 12 and the non-inverting input terminal of the second comparator 22 are both 0V, which is less than the preset second reference voltage and does not meet the preset voltage standard range. At this time, the circuit does not output the charging voltage, so the charging voltage charge_vdd voltage is 0V; if the charging device 8 is disconnected or not connected to the charging end, the equivalent resistance of the first charging interface 7 is infinite. At this time, all the voltages flow to the first comparator 12 and the second comparator 22, which are greater than the preset first reference voltage and do not meet the preset voltage standard range. At this time, the circuit does not output the charging voltage, so the charging voltage charge_vdd voltage is 0V.
[0097] In this embodiment, the first power interface 61 is a constant power and constant voltage. After the voltage output by the first power interface 61 flows to the electrical signal input circuit of the first comparator 12 and the second comparator 22, the voltage signal after voltage division by the fifth resistor 31 and the equivalent resistance of the first charging interface 7 is compared with the preset first threshold signal and the second threshold signal, thereby determining whether the voltage signal is compared with the preset reference voltage. Since the power supply voltage is constant and the resistance value of the fifth resistor 31 is constant, it is possible to determine whether the resistance value of the equivalent resistor is abnormal, thereby determining the connection status of the charging device 8 and the charging end based on the abnormal situation.
[0098] In this embodiment, the preset threshold signal can also be adjusted by adjusting the fifth resistor 31 and the input voltage of the power interface 6 .
[0099] In this embodiment, the logic judgment module 4 includes a logic judgment element 41;
[0100] The first input terminal of the logic judgment element 41 is electrically connected to the output terminal of the first comparison module 1;
[0101] The second input terminal of the logic judgment element 41 is electrically connected to the output terminal of the second comparison module 2;
[0102] The output end of the logic judgment element 41 is electrically connected to the input end of the switch control module 5 .
[0103] In this embodiment, the logic judgment element 41 is an electronic device that generates corresponding output signals according to different states of input signals, including logic gates and triggers. The logic gates include AND gates, OR gates, NOT gates, NAND, NOR, XOR, etc.
[0104] As a specific example in the embodiment of the present invention, the logic judgment element 41 is specifically a logic AND gate.
[0105] Please refer to Figure 5 , Figure 5 A structural diagram of a logic judgment module 4 provided in an embodiment of the present invention.
[0106] In this embodiment, synchronous judgment is performed by inputting the judgment results of the first judgment module and the second judgment module into a logic AND gate. When the results of the first judgment module and the second judgment module are consistent, a high level is output and input into the switch control module 5.
[0107] In this embodiment, the binary signals output by the first comparator 12 and the second comparator 22 are synchronously judged by a logic AND gate. The logic AND gate has two input signals. Only when the two input signals are both 1, the output result of the logic AND gate is 1, that is, when and only when the output levels of the first comparator 12 and the second comparator 22 are both 1, the output of the logic AND gate is a high level 1; otherwise, the logic AND gate outputs a low level 0.
[0108] In this embodiment, when the output level of the logic AND gate is 1, that is, the first comparison result and the second comparison result are consistent, a charging drive signal is generated.
[0109] In this embodiment, when the first comparison result and the second comparison result are consistent, the input signal is within the preset reference range, and the charging device 8 is normally connected to the charging end. At this time, a charging drive signal is generated, the charging path is opened, and the charging voltage is output; when the first comparison result and the second comparison result are inconsistent, the input signal is not within the preset reference range, and the connection between the magnetic charging cable and the finger ring is abnormal. At this time, no charging drive signal is generated and no charging voltage is output, so as to avoid short circuit caused by poor contact of the charging interface, damage to the plug port of the power supply equipment, and even fire.
[0110] In this embodiment, the switch control module 5 includes a MOS tube, a first port of the MOS tube is electrically connected to the output end of the logic judgment module 4, a second port of the MOS tube is electrically connected to the power interface 6, and a third port of the MOS tube is electrically connected to the first charging interface 7.
[0111] In this embodiment, the switch control module 5 is electrically connected to the second power interface 62. Taking the MOS tube as an example, the second port of the MOS tube is connected to the second power interface 62, so that the voltage output by the switch control module is a stepped-down voltage, thereby preventing the switch control module from outputting too high a voltage to the first charging interface, thereby damaging the device. At the same time, the voltage is prevented from being too high and not meeting the first reference voltage preset by the first comparison module, thereby preventing the voltage from being output normally.
[0112] In this embodiment, the switch control module 5 can be a level control switch or a MOS tube. The voltage output of the charging device 8 is controlled by inputting the level signal output by the logic judgment module 4 into the switch control module 5 .
[0113] As a specific example of the embodiment of the present invention, the switch control module 5 includes an NMOS tube.
[0114] Please refer to Figure 6 , Figure 6 A schematic diagram of a switch control module 5 provided in an embodiment of the present invention.
[0115] In this embodiment, the switch control module 5 includes an NMOS tube, the gate of the NMOS tube is connected to the output end of the logic judgment module 4, the source of the NMOS tube is connected to the second power supply interface 62, and the drain of the NMOS tube is connected to the charging input end of the ring finger plate connected to the first charging interface 7.
[0116] In this embodiment, when the logic AND gate outputs a high level, a switch control signal is generated and input into the gate of the NMOS tube, so that the NMOS tube is connected to the charging circuit and outputs a charging voltage. At this time, the charging voltage is less than the preset first reference voltage after voltage division, and greater than the preset second reference voltage, so that the first charging port can charge normally.
[0117] In this embodiment, the switch control module 5 also includes a sixth resistor 51, a first end of the sixth resistor 51 is electrically connected to the gate of the NMOS tube, and the first end of the sixth resistor 51 is also electrically connected to the output end of the logic judgment module 4; the second section of the sixth resistor is electrically connected to the ground line.
[0118] In this embodiment, since the gate of the NMOS tube is very sensitive and easily damaged by electrostatic discharge, the resistor connecting the gate to ground is used to limit the current of electrostatic discharge to prevent static electricity from damaging the gate of the NMOS tube. If the gate of the NMOS tube is not grounded or has no appropriate resistor, the gate may be in a floating state, causing the NMOS tube to malfunction, increasing the noise and uncertainty of the circuit.
[0119] Please refer to Figure 7 , Figure 7 A schematic diagram of a voltage reduction module provided in an embodiment of the present invention.
[0120] In this embodiment, the step-down module includes a diode D1, the input end of the diode is connected to the first power interface 61, and the output end of the diode is electrically connected to the first reference module 11, the second reference module 21 and the voltage divider module 3 respectively;
[0121] In this embodiment, the diode can be used to prevent reverse voltage connection and step down the voltage to prevent the charging interface from being damaged by excessive voltage. At the same time, when the charging device is in a normal connection state, the voltage output through the diode is less than the first reference voltage preset in the first comparison module and greater than the second reference voltage preset in the second comparison module, so that the pogo pin+ and pogo pin- of the first charging interface generate voltage and charge normally.
[0122] In this embodiment, the electrical signal of the first charging interface 7 on the charging device 8 is collected by the first comparison module 1 and the second comparison module 2 to compare with the preset reference signal, and the comparison result is input into the logic judgment module 4 to confirm whether the first charging interface 7 on the charging device 8 is within the prescribed preset range according to the judgment result, and a switch control signal is generated according to the judgment result, and the switch control signal is input into the switch control module 5 to control the voltage output, so as to stop the voltage output when the electrical signal of the first charging interface 7 is not within the prescribed preset range. In the process of use, it is avoided that the charging interface is easily poorly contacted due to bumps, shaking, etc., resulting in abnormal connections such as short-circuit connection and disconnection connection between the charging line and the finger ring, the charging path still outputs current, causing damage to the plug port of the power supply equipment, and even causing fire, thereby improving the safety of the charging device 8.
[0123] Please refer to Figure 8 , Figure 8 A schematic diagram of the structure of a charging system provided by an embodiment of the present invention.
[0124] In this embodiment, the charging system includes a charging device 8 and a charging finger ring 9;
[0125] The charging ring 9 includes a second charging interface; the charging device 8 includes a charging circuit, and the first charging interface 7 of the charging protection circuit is electrically connected to the second charging interface of the charging ring 9.
[0126] Please refer to Fig. 9 and Fig.10 , Fig. 9 A schematic diagram of the structure of a charging device 8 provided in an embodiment of the present invention, Fig.10 This is a schematic diagram of the structure of a charging ring 9 provided in an embodiment of the present invention.
[0127] In this embodiment, the charging device 8 is a magnetic charging cable, which includes a first charging interface 7, and the first charging interface 7 includes a positive pin 81 and a negative pin 82 of a pogopin. The charging finger ring includes a magnetic mother seat, which includes a positive round metal 91 and a negative ring metal 92.
[0128] In this embodiment, the magnetic charging cable is also called a magnet charging cable, a magnetic charging cable, a magnetic charging cable, a magnetic data cable, etc. A magnetic charging cable refers to a charging cable that achieves the charging effect by the attraction of male and female magnets. It is mainly used in electronic products such as smart wearables, 3C digital, smart home, car navigation detection, medical equipment, etc. to achieve charging, signal transmission, etc., and its charging port components include pogo pins.
[0129] In this city, pogopin, or pogopin interface, is a precision connector used in mobile phones and other electronic products, also known as spring pin, mainly used for signal transmission and charging connection. The pogopin interface consists of three basic components: needle shaft, spring, and needle tube. It is pre-pressed by precision instruments to form a spring-type probe, which has a precision spring structure inside.
[0130] In this embodiment, the charging device 8 is connected to the charging finger ring 9 through the pogopin interface. The pogopin and the negative ring metal of the finger ring are a pair of magnets, which are adsorbed when close. During normal adsorption, the positive pin pogopin+ of the pogopin contacts the positive round metal, and the negative pin pogopin- of the pogopin contacts the negative ring metal, so that charging can be carried out.
[0131] In this embodiment, since the volume of the charging finger ring 9 is small, it is not suitable to assemble a complex anti-short circuit, and since the volume of the charging finger ring 9 is small, a magnetic suction method is used for alignment during charging. Although the magnetic suction charging line solves the problem of finger ring charging alignment, in some cases, due to bumps or looseness, when the charging device 8 is adsorbed on the metal of the non-charging interface, or, due to the small volume of the positive round metal 91 and the negative annular metal 92, the positive pin 81 and the negative pin 82 are connected to the negative annular metal 92, it is very easy to cause a short circuit, which is very easy to damage the plug port of the power supply device, and even cause a fire. However, the present invention sets a simple circuit in the charging device 8 to avoid the incompatibility of the complex circuit with the charging finger ring 9 and the charging device 8, and realizes the control of voltage output according to the electrical signal of the charging interface, so as to avoid the poor contact of the charging interface due to bumps, shaking and other reasons during use, resulting in abnormal connections such as short circuit connection and disconnection connection between the charging line and the finger ring, and the charging path still outputs current, causing damage to the plug port of the power supply device, and even causing a fire, thereby improving the safety of the charging device 8.
[0132] The embodiment of the present invention further provides a charging method, which is applied to the charging protection circuit, comprising:
[0133] Acquiring an electrical signal from a first charging interface (7), inputting the electrical signal into the first comparison module (1) and the second comparison module (2), and acquiring a first comparison result and a second comparison result output by the first comparison module (1) and the second comparison module (2);
[0134] Inputting the first comparison result and the second comparison result into a logic judgment module (4) for logic judgment, and generating a charging switch signal according to the logic judgment result;
[0135] The charging switch signal is input into the switch control module (5) to control the voltage output of the charging device.
[0136] In this embodiment, the electrical signals of the positive and negative electrodes of the first charging interface of the charging device are collected and compared with the preset reference signal. According to the consistent judgment result, it is determined that the electrical signals of the positive and negative electrodes of the charging line are within the prescribed preset range to determine whether there is an abnormal connection between the charging line and the finger ring, thereby generating a charging drive signal for charging. When the result is inconsistent, charging is not performed. By collecting the electrical signals of the positive and negative electrodes of the first charging interface of the charging device in real time, the connection status of the first charging interface of the charging device and the charging end is detected in real time, so as to control the charging path and output voltage according to the connection status, so as to avoid the poor contact of the charging interface due to bumps, shaking and other reasons during use, resulting in abnormal connection such as short circuit connection, open circuit connection between the charging line and the finger ring. The charging path still outputs current, causing damage to the plug port of the power supply device, and even causing fire, thereby improving the safety of the magnetic charging cable.
[0137] In this embodiment, the electrical signals of the positive and negative electrodes of the first charging interface of the charging device are collected, and the input signal is obtained according to the electrical signals and the voltage dividing module;
[0138] The input signal is compared with a first threshold signal according to a first comparator; and the input signal is compared with a second threshold signal according to a second comparator.
[0139] In this embodiment, the electrical signals of the positive and negative electrodes of the first charging interface are divided by the voltage divider module to obtain an input signal, and then the input signal is compared with a preset threshold signal to confirm whether the input signal meets the preset voltage signal.
[0140] In this embodiment, the input signal and the first threshold signal are input into the first comparator 12. If the input signal is less than the first threshold signal, the first comparator 12 outputs a high level, otherwise the first comparator 12 outputs a low level; the input signal and the second threshold signal are input into the second comparator 22. If the input signal is greater than the second threshold signal, the second comparator 22 outputs a high level, otherwise the second comparator 22 outputs a low level.
[0141] In this embodiment, the first comparison result and the second comparison result are input into a logic AND gate for synchronization judgment. When the first comparison result and the second comparison result are consistent, the logic AND gate outputs a high level and generates a charging switch signal.
[0142] In this embodiment, when the first comparison result and the second comparison result are both high level, the first comparison result and the second comparison result are consistent, and the logic AND gate outputs a high level; otherwise, the first comparison result and the second comparison result are inconsistent, and the logic AND gate outputs a low level. The output of the logic AND gate is input into the switch control element as a charging switch signal, and when and only when the logic AND gate outputs a high level, the switch control element is turned on and the charging voltage is output.
[0143] In this embodiment, the output of the logic AND gate is input into the gate of the NMOS tube, and a gap turns on the NMOS tube.
[0144] Please refer to Fig.11 , Fig.11 A flow chart of a charging circuit control method provided by an embodiment of the present invention.
[0145] In this embodiment, a flow chart of a control method of a charging circuit is applied to a charging protection circuit. When the first charging interface 7 is short-circuited, the control method includes:
[0146] Acquire a short-circuit state signal of the first charging interface 7, input the short-circuit state signal into the first comparison module 1 and the second comparison module 2, and acquire a first comparison result and a second comparison result output by the first comparison module 1 and the second comparison module 2;
[0147] Inputting the first comparison result and the second comparison result into the logic judgment module 4 for logic judgment, and generating a charging switch signal according to the logic judgment result;
[0148] The charging switch signal is input into the switch control module 5 to control the charging device 8 to not output voltage.
[0149] In this embodiment, the connection status between the charging device 8 and the charging end is determined by collecting the electrical signals of the positive and negative electrodes of the first charging interface 7 of the charging device 8, and a charging drive signal is generated according to the connection status.
[0150] In this embodiment, the electrical signals of the positive and negative electrodes of the first charging interface 7 of the charging device 8 are collected, the connectivity of the first charging interface 7 is determined according to the electrical signals, and the input signal is obtained according to the connectivity, the first resistor and the constant voltage source, so as to confirm whether the input signal is within a preset threshold range, thereby judging whether the magnetic charging cable is in good contact with the finger ring.
[0151] As a specific example of an embodiment of the present invention, when the positive and negative poles (magnetic male socket) of the charging cable are not in good contact with the magnetic female socket of the finger ring, or the positive and negative poles of the charging cable are short-circuited, the charging voltage is not output. The charging voltage is only output when the contact is correct, thereby preventing sparks during charging.
[0152] In this embodiment, the second electrical signal and the third electrical signal output by the first comparison module and the second comparison module are obtained, specifically:
[0153] Inputting the electrical signal and the first threshold signal into the first comparator, if the electrical signal is less than the first threshold signal, the first comparator outputs a high level, otherwise the first comparator outputs a low level;
[0154] The electrical signal and the second threshold signal are input into the second comparator. If the input signal is greater than the second threshold signal, the second comparator outputs a high level, otherwise the second comparator outputs a low level.
[0155] In this embodiment, the first threshold signal and the second threshold signal are preset reference voltage signals.
[0156] In this embodiment, after the electrical signal of the positive and negative electrodes of the first charging interface 7 is input into the circuit with a constant power supply, the voltage signal after voltage division by the fifth resistor and the equivalent resistor of the positive and negative electrodes of the first charging interface 7 is compared with the preset first threshold signal and the second threshold signal to determine whether the voltage signal is within a preset range. Since the power supply voltage is constant and the resistance value of the fifth resistor is constant, it can be determined whether the resistance value of the equivalent resistor is abnormal, thereby determining the connection condition between the charging device 8 and the charging end according to the abnormal condition.
[0157] In this embodiment, the first comparator compares the input signal with the first threshold signal. If the input signal is less than the first threshold signal, the first comparator outputs a high level 1; the second comparator compares the input signal with the second threshold signal. If the input signal is greater than the second threshold signal, the second comparator outputs a high level 1; thereby confirming whether the input signal is within the range of the first threshold signal and the second threshold signal.
[0158] In this embodiment, the second electrical signal and the third electrical signal are input into the logic judgment module for logic judgment, specifically: the level signals output by the first comparator and the second comparator are input into the logic judgment module for logic judgment, thereby outputting a level signal, and controlling the voltage output according to the level signal.
[0159] As a specific example of an embodiment of the present invention, if the logic judgment is a synchronous judgment, the second electrical signal and the third electrical signal are input into the logic judgment module for synchronous judgment, specifically:
[0160] The second electrical signal and the third electrical signal are input into the logic AND gate for synchronous judgment. When the first comparison result and the second comparison result are consistent, the logic AND gate outputs a high level and generates a charging drive signal.
[0161] In this embodiment, it includes:
[0162] When the first comparison result and the second comparison result are both high level, the first comparison result and the second comparison result are consistent, and the logic AND gate outputs a high level;
[0163] Otherwise, the first comparison result and the second comparison result are inconsistent, and the logic AND gate outputs a low level.
[0164] In this embodiment, the binary signals output by the first comparator and the second comparator are synchronously judged through a logic AND gate. The logic AND gate has two input signals. Only when the two input signals are both 1, the output result of the logic AND gate is 1, that is, when and only when the output levels of the first comparator and the second comparator are both 1, the output of the logic AND gate is a high level 1; otherwise, the logic AND gate outputs a low level 0.
[0165] In this embodiment, when the output level of the logic AND gate is 1, that is, the first comparison result and the second comparison result are consistent, the logic judgment module outputs a high level 1 at this time.
[0166] In this embodiment, when the first comparison result and the second comparison result are consistent, the input signal is within the preset reference range, and the magnetic charging cable is normally connected to the finger ring. At this time, a charging drive signal is generated, the charging path is opened, and the charging voltage is output; when the first comparison result and the second comparison result are inconsistent, the input signal is not within the preset reference range, and the magnetic charging cable is abnormally connected to the finger ring. At this time, no charging drive signal is generated and no charging voltage is output, thereby avoiding short circuits caused by poor contact of the charging interface, damage to the plug port of the power supply equipment, and even fire.
[0167] Embodiment 2
[0168] Please refer to Fig.12 , Fig.12 A schematic diagram of the structure of a charging circuit provided by an embodiment of the present invention.
[0169] In this embodiment, the charging protection circuit includes a power interface 6, a first charging interface 7, a first comparison module 1, a second comparison module 2, a fifth resistor 31, a logic judgment element 41 and an NMOS tube;
[0170] The power interface 6 is electrically connected to the first comparison module 1, the second comparison module 2 and the NMOS tube respectively;
[0171] The input end of the first comparison module 1 is electrically connected to the first charging interface 7 , and the output end of the first comparison module 1 is electrically connected to the input end of the logic judgment element 41 ;
[0172] The input end of the second comparison module 2 is electrically connected to the first charging interface 7, and the output end of the second comparison module 2 is electrically connected to the input end of the logic judgment element 41;
[0173] A first end of the fifth resistor 31 is connected to the first charging interface 7 , and a second end 32 of the fifth resistor is connected to the power interface 6 ;
[0174] The output end of the logic judgment element 41 is electrically connected to the gate G of the NOMS tube; the source S of the NOMS tube is electrically connected to the first charging interface, and the drain D of the NMOS tube is electrically connected to the power interface.
[0175] In this embodiment, the power interface 6 includes a first power interface 61 and a second power interface 62, and the second power interface 62 includes a step-down module; wherein the first power interface 61 is electrically connected to the first reference module 11, the second reference module 21 and the voltage divider module 3. The second power interface 62 is electrically connected to the first comparator 12, the second comparator 22, and the gate G of the NOMS tube.
[0176] In this embodiment, the source of the NMOS tube is electrically connected to the first charging interface 7 , and the source of the NMOS tube outputs a charging voltage charge_vdd. When the charging device and the charging end are normally connected, the charging voltage charge_vdd charges the charging end through pogopin+ and pogopin- of the first charging interface 7 .
[0177] In this embodiment, the logic determination element 41 is a logic AND gate.
[0178] In this embodiment, assuming that the constant power supply USB_5V is 5V, the first threshold signal V+ of the first comparator is divided by the first resistor R1 and the second resistor R3 to obtain 4.9V, and the second threshold signal V- of the second comparator is divided by the third resistor R2 and the fourth resistor R4 to obtain 1.5V, taking the magnetic charging cable and the charging ring as an example.
[0179] Please refer to Table 1, which is a logic state table provided by an embodiment of the present invention.
[0180]
[0181] Table 1
[0182] In this embodiment, when the magnetic mother seat on the ring mainboard and the positive and negative poles (pogopin+ and pogopin-) of the pogopin of the magnetic charging cable are not connected, the positive and negative poles (pogopin+ and pogopin-) of the pogopin of the magnetic charging cable can be regarded as open circuit, and the equivalent resistance is infinite, Rpogo=∞; at this time, the input voltage V- of the inverting input terminal of the first comparator 12 and the input voltage V+ of the positive input terminal of the second comparator 22 are the voltage of the constant power supply USB_5V, that is, 5V; at this time, the output out1 of the first comparator 12 is 0, and the output out2 of the second comparator 22 is 1, and the output out1 of the first comparator 12 and the output out2 of the second comparator 22 are input into the two input ports of the logic AND gate to obtain the output chage_vdd_en of the logic AND gate=0, and at this time, chage_vdd_en is input into the gate of the MOS tube, so that Q1 is not turned on, and there is no voltage on pogopin+ and pogo pin-.
[0183] In this embodiment, when the magnetic mother socket on the main board of the ring causes the charging line (pogo pin + and pogo pin-) to short-circuit, the equivalent resistance can be regarded as 0, Rpogo = 0 ohm; at this time, the input voltage V- of the inverting input terminal of the first comparator 12 and the input voltage V+ of the positive input terminal of the second comparator 22 are 0V; the output out1 of the first comparator 12 is 1, and the output out2 of the second comparator 22 is 0. The output out1 of the first comparator 12 and the output out2 of the second comparator 22 are input into the two input ports of the logic AND gate to obtain the output chage_vdd_en of the logic AND gate = 0. At this time, chage_vdd_en is input into the gate of the MOS tube, so that Q1 is not turned on, and there is no voltage on pogo pin + and pogo pin-.
[0184] In this embodiment, when the charging is not performed in the initial state, when the magnetic mother seat on the main board of the ring and the charging cable are correctly connected, the impedance of the equivalent resistance at both ends of the pogo pin is greater than 300k, and the equivalent resistance Rpogo=300k, which is the equivalent resistance of the first charging interface 7; at this time, the input voltage V- of the inverting input end of the first comparator 12 and the input voltage V+ of the non-inverting input end of the second comparator 22 are both divided by R5 and Rpogo to obtain 2.5V; the output out1 of the first comparator 12 is 1, and the output out2 of the second comparator 22 is 1, and the output out1 of the first comparator and the output out2 of the second comparator 22 are input into the two input ports of the logic AND gate to obtain the output chage_vdd_en of the logic AND gate=1, and at this time, chage_vdd_en is input into the gate of the MOS tube, so that Q1 is turned on, pogo pin+ and pogo pin- generate voltage, and charging can be performed normally.
[0185] In this embodiment, the electrical signals of the positive and negative poles of the magnetic charging cable are collected and compared with the preset reference signal. The electrical signals of the positive and negative poles of the charging cable are determined to be within the specified preset range according to the consistent judgment results, so as to judge whether there is an abnormal connection between the charging cable and the finger ring, thereby generating a charging drive signal for charging. When the results are inconsistent, charging is not performed. By collecting the electrical signals of the positive and negative poles of the magnetic charging cable in real time to control the charging path and output voltage, it is avoided that during use, the charging interface is easily contacted due to bumps, shaking, etc., resulting in abnormal connections such as short circuit connection and disconnection connection between the charging cable and the finger ring. The charging path still outputs current, causing damage to the plug port of the power supply device, and even causing a fire, thereby improving the safety of the magnetic charging cable.
[0186] In an embodiment of the present invention, a multi-device access platform processing device is also provided, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the above-mentioned multi-device access platform processing method is implemented.
[0187] In an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned multi-device access platform processing method.
[0188] Exemplarily, the computer program may be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to implement the present invention. One or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the multi-device access platform processing device.
[0189] The multi-device access platform processing device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The multi-device access platform processing device may include, but is not limited to, a processor, a memory, and a display. Those skilled in the art will appreciate that the above components are merely examples of the multi-device access platform processing device and do not constitute a limitation on the multi-device access platform processing device. It may include more or fewer components than the components, or a combination of certain components, or different components. For example, the multi-device access platform processing device may also include input and output devices, network access devices, buses, and the like.
[0190] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the multi-device access platform processing device, and uses various interfaces and lines to connect various parts of the entire multi-device access platform processing device.
[0191] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the multi-device access platform processing device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, a text conversion function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, text message data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0192] Among them, if the module based on the processing of the multi-device access platform is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0193] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A charging circuit, characterized in that: It includes a first comparison module, a second comparison module, a voltage division module, a logic judgment module, a switch control module, a power interface and a first charging interface; The power interface is electrically connected to the first comparison module, the second comparison module and the switch control module respectively; The input end of the first comparison module is electrically connected to the first charging interface, and the output end of the first comparison module is electrically connected to the input end of the logic judgment module; The input end of the second comparison module is electrically connected to the first charging interface, and the output end of the second comparison module is electrically connected to the input end of the logic judgment module; The first end of the voltage divider module is electrically connected to the input end of the first charging interface, the input end of the first comparison module, the input end of the second comparison module and the output end of the switch control module, respectively, and the second end of the voltage divider module is electrically connected to the power interface; The output end of the logic judgment module is electrically connected to the input end of the switch control module; the output end of the switch control module is electrically connected to the first charging interface.
2. A charging circuit as claimed in claim 1, characterized in that: The first comparison module includes a first reference module and a first comparator; The input end of the first reference module is electrically connected to the power interface, and the output end of the first reference module is electrically connected to the non-inverting input end of the first comparator; The inverting input terminal of the first comparator is electrically connected to the first charging interface, and the connection point between the inverting input terminal of the first comparator and the first charging interface is arranged between the first end of the voltage divider module and the first charging interface; the output terminal of the first comparator is electrically connected to the input terminal of the logic judgment module.
3. A charging circuit as claimed in claim 2, characterized in that: The first reference module includes a first resistor and a second resistor; The first end of the first resistor is electrically connected to the power interface; the second end of the first resistor is electrically connected to the first end of the second resistor; and the second end of the second resistor is grounded; The second end of the first resistor is electrically connected to the non-inverting input end of the first comparator.
4. A charging circuit as claimed in claim 3, characterized in that: The second comparison module includes a second reference module and a second comparator; The input end of the second reference module is electrically connected to the power interface, and the output end of the second reference module is electrically connected to the inverting input end of the first comparator. The non-inverting input terminal of the second comparator is electrically connected to the first charging interface, and the connection point between the non-inverting input terminal of the second comparator and the first charging interface is arranged between the first end of the voltage divider module and the first charging interface; the output terminal of the second comparator is electrically connected to the input terminal of the logic judgment module.
5. A charging circuit as claimed in claim 4, characterized in that: The second reference module includes a third resistor and a fourth resistor; The first end of the third resistor is electrically connected to the power interface; the second end of the third resistor is electrically connected to the first end of the fourth resistor; the second end of the fourth resistor is grounded; The second end of the third resistor is electrically connected to the inverting input end of the second comparator.
6. A charging circuit as claimed in claim 1, characterized in that: The voltage divider module includes a fifth resistor, a first end of the fifth resistor is electrically connected to the first charging interface, and a second end of the fifth resistor is electrically connected to the power interface.
7. A charging circuit according to any one of claims 5, characterized in that: The power interface includes a first power interface and a second power interface; the second power interface includes a step-down module; The first power supply interface is electrically connected to the first reference module, the second reference module and the voltage divider module respectively; The output end of the voltage reduction module is electrically connected to the first comparator, the second comparator and the logic judgment module respectively.
8. A charging system, characterized in that: Including charging device and charging ring; The charging ring includes a second charging interface; the charging device includes a charging circuit as described in any one of claims 1 to 7, and the first charging interface of the charging protection circuit is used to be electrically connected to the second charging interface of the charging ring.
9. A charging method, characterized in that: include: Acquire an electrical signal from the first charging interface, input the electrical signal into the first comparison module and the second comparison module, and acquire a first comparison result and a second comparison result output by the first comparison module and the second comparison module; Inputting the first comparison result and the second comparison result into a logic judgment module for logic judgment, and generating a charging switch signal according to the logic judgment result; The charging switch signal is input into the switch control module to control the voltage output of the charging device.
10. A charging circuit control method, characterized in that: When the first charging interface is short-circuited, the control method includes: Acquire a short-circuit state signal of the first charging interface, input the short-circuit state signal into the first comparison module and the second comparison module, and acquire a first comparison result and a second comparison result output by the first comparison module and the second comparison module; Inputting the first comparison result and the second comparison result into a logic judgment module for logic judgment, and generating a charging switch signal according to the logic judgment result; The charging switch signal is input into the switch control module to control the charging device to not output voltage.