Communication circuit with power supply state detection function

By designing a communication circuit with power supply status detection function and using the USB interface to detect voltage signals, the problem of difficult to determine the power supply status of the electric toothbrush is solved, and troubleshooting is achieved without disassembly, reducing production and maintenance costs.

CN222339422UActive Publication Date: 2025-01-10GENTING HEALTH TECH (YANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420914172.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2025-01-10
Estimated Expiration
2034-04-29

AI Technical Summary

Technical Problem

In the production testing and user use of electric toothbrushes, it is difficult to intuitively determine whether the power supply status is normal, especially because its waterproof design cannot be reused after disassembly, resulting in an increase in production and maintenance costs.

Method used

A communication circuit with power supply state detection function was designed. By combining comparison circuits, switch circuits, main control circuits and power supply circuits, the voltage signal is detected using the USB interface to determine the battery charging status, avoiding disassembly and reducing production and maintenance costs.

Benefits of technology

By detecting voltage signals, the battery charging status can be determined without disassembly, which reduces the production and maintenance costs of the product and improves the troubleshooting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222339422U_ABST
    Figure CN222339422U_ABST
Patent Text Reader

Abstract

The utility model discloses a communication circuit with a power supply state detection function, and the output end of a comparison circuit is connected with a power supply circuit through a USB interface, and the output end of the comparison circuit is connected with the input end of a switching circuit; the output end of the switching circuit is connected with the input end of the main control circuit; the power supply end of the main control circuit is connected with the power supply circuit, and the data transmission end of the main control circuit is connected with external equipment through the USB interface; and the output end of the power supply circuit is connected with the main control circuit. When the main control circuit can be connected with an external device through the USB interface for data transmission, it is proved that the main control circuit is in an uncharged state at the moment, and when the main control circuit cannot be connected with the external device through the USB interface for data transmission, the main control circuit is in a charged state at the moment, and it is avoided that when the electric toothbrush breaks down, the main control circuit cannot be charged. And the machine needs to be disassembled for troubleshooting work, so that the production and maintenance cost of the product is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of power supply detection, in particular to a communication circuit with a power supply state detection function. Background Art

[0002] As electric toothbrushes become more popular, production capacity is expanding, and the problems encountered during production testing and actual use by users are increasing. After a problem occurs, it is difficult to intuitively determine whether the power supply status of the machine is normal by disassembling the machine. Since toothbrushes are basically IPX7 waterproof, they can hardly be reused after disassembly, which greatly increases the production and maintenance costs of the product. Utility Model Content

[0003] Based on this, it is necessary to propose a communication circuit with a power supply status detection function to address the above problems.

[0004] A communication circuit with a power supply status detection function, comprising:

[0005] a comparison circuit, wherein the output end is connected to the power supply circuit through the USB interface, and the output end is connected to the input end of the switch circuit, and is used to receive a first voltage signal output by the USB interface when the USB interface is connected to the power supply circuit, and output a second voltage signal to the switch circuit; and is used to receive a third voltage signal output by the USB interface when the USB interface is not connected to the power supply circuit, and output a fourth voltage signal to the switch circuit;

[0006] The switch circuit, the output end of which is connected to the input end of the main control circuit, is used to receive the second voltage signal and output the first level signal to the main control circuit; or receive the fourth voltage signal and output the second level signal to the main control circuit;

[0007] The main control circuit, the power supply end is connected to the power supply circuit, and the data transmission end is connected to the external device through the USB interface, and is used to receive the first level signal and stop sending data to the external device through the USB interface; or receive the second level signal and send data to the external device through the USB interface;

[0008] The power supply circuit, whose output end is connected to the main control circuit, is used to supply power to the main control circuit.

[0009] In one embodiment, the comparison circuit includes: an operational amplifier;

[0010] The in-phase input terminal of the operational amplifier is connected to an external power supply, the inverting input terminal is connected to a power supply circuit through the USB interface, and the output terminal is connected to the input terminal of the switch circuit.

[0011] In one embodiment, the switch circuit includes: a transistor, a first resistor and a second resistor;

[0012] The base of the transistor is connected to the output end of the comparison circuit, the collector of the transistor is connected to one end of the first resistor and the input end of the main control circuit, and the emitter of the transistor is grounded;

[0013] The other end of the first resistor is connected to an external power supply;

[0014] One end of the second resistor is connected to the base of the transistor, and the other end is grounded.

[0015] In one embodiment, the main control circuit includes: a control chip and a diode;

[0016] The input end of the control chip is connected to the output end of the switching circuit; the power supply end of the control chip is connected to the output end of the power supply circuit; the communication end of the control chip is connected to the anode of the diode, and the cathode of the diode is connected to the external device through the USB interface.

[0017] In one embodiment, the power supply circuit includes: a power chip;

[0018] The input end of the power chip is connected to an external power source, and the output end is connected to a power supply end of the main control circuit.

[0019] In one embodiment, the power supply circuit further includes: a third resistor, a fourth resistor and a fifth resistor;

[0020] One end of the third resistor is connected to the positive rotation end of the power chip, and the other end is grounded;

[0021] One end of the fourth resistor is connected to the inverting end of the power chip, and the other end is grounded;

[0022] One end of the fifth resistor is connected to the positive rotation end of the power chip, and the other end is connected to the main control circuit.

[0023] In one embodiment, the communication circuit with power supply status detection function further includes: a sixth resistor and a seventh resistor;

[0024] One end of the sixth resistor is connected to the external power supply, and the other end is connected to the non-inverting input terminal of the operational amplifier;

[0025] One end of the seventh resistor is connected to the non-inverting input terminal of the operational amplifier, and the other end is grounded.

[0026] In one embodiment, the communication circuit with power supply status detection function further includes: an eighth resistor and a ninth resistor;

[0027] One end of the eighth resistor is connected to the inverting input terminal of the operational amplifier, and the other end is connected to the power supply circuit through a USB interface;

[0028] One end of the ninth resistor is connected to the inverting input terminal of the operational amplifier, and the other end is grounded.

[0029] In one embodiment, the communication circuit with power supply status detection function further includes: a tenth resistor and an eleventh resistor;

[0030] The tenth resistor is connected between the ninth resistor and the inverting input terminal of the operational amplifier;

[0031] One end of the eleventh resistor is connected to the inverting input terminal of the operational amplifier, and the other end of the eleventh resistor is connected to the output terminal of the operational amplifier.

[0032] In one embodiment, the communication circuit with power supply status detection function further includes: a twelfth resistor and a thirteenth resistor;

[0033] The connection of the twelfth resistor is between the comparison circuit and the switch circuit;

[0034] The thirteenth resistor is connected to one end of the twelfth resistor close to the switch circuit, and the other end is grounded.

[0035] Implementing the embodiments of the present utility model will have the following beneficial effects:

[0036] The present application receives the first voltage signal output by the USB interface and outputs the second voltage signal to the switch circuit when the USB interface is connected to the power supply circuit through the comparison circuit; receives the third voltage signal output by the USB interface and outputs the fourth voltage signal to the switch circuit when the USB interface is not connected to the power supply circuit; the switch circuit receives the second voltage signal and outputs the first level signal to the main control circuit; or receives the fourth voltage signal and outputs the second level signal to the main control circuit; the main control circuit receives the first level signal and stops sending data to the external device through the USB interface; or receives the second level signal and sends data to the external device through the USB interface; the power supply circuit supplies power to the main control circuit. When the main control circuit can connect to the external device through the USB interface and perform data transmission, it proves that the main control circuit is in an uncharged state at this time. When the main control circuit cannot connect to the external device through the USB interface and perform data transmission, the main control circuit is in a charged state at this time, which avoids the need to disassemble the machine for troubleshooting when the electric toothbrush fails, and reduces the production and maintenance costs of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] in:

[0039] Figure 1 is a structural block diagram of a communication circuit with a power supply status detection function in one embodiment;

[0040] Figure 2 is a structural block diagram of a communication circuit with a power supply status detection function in another embodiment;

[0041] Figure 3 FIG. 4 is a circuit diagram of a communication circuit with a power supply status detection function in one embodiment. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0043] With the popularity of electric toothbrushes, production capacity is expanding, and the problems encountered during production testing of electric toothbrushes and the problems encountered by users in actual use are increasing. After the problem occurs, it is difficult to intuitively determine whether the power supply status of the machine is normal by disassembling the machine. Since toothbrushes are basically IPX7 waterproof, they can basically not be reused after disassembly, which greatly increases the production and maintenance costs of the product. In order to solve the above technical problems, the present application provides a communication circuit with a power supply status detection function, such as Figure 1As shown, it includes: a comparison circuit 10, a switch circuit 20, a main control circuit 30 and a power supply circuit 40, wherein the output end of the comparison circuit 10 is connected to the power supply circuit 40 through a USB interface, and the output end is connected to the input end of the switch circuit 20, and is used for receiving a first voltage signal output by the USB interface when the USB interface is connected to the power supply circuit 40, and outputting a second voltage signal to the switch circuit 20; when the USB interface is not connected to the power supply circuit 40, receiving a third voltage signal output by the USB interface, and outputting a fourth voltage signal to the switch circuit 20; the output end of the switch circuit 20 is connected to the main control circuit 3 0 is connected to the input end of the main control circuit 30, for receiving the second voltage signal and outputting the first level signal to the main control circuit 30; or receiving the fourth voltage signal and outputting the second level signal to the main control circuit 30; the power supply end of the main control circuit 30 is connected to the power supply circuit 40, and the data transmission end is connected to the external device through the USB interface, for receiving the first level signal and stopping sending data to the external device through the USB interface; or receiving the second level signal and sending data to the external device through the USB interface; the output end of the power supply circuit 40 is connected to the main control circuit 30, for supplying power to the main control circuit 30. The present application receives the first voltage signal output by the USB interface and outputs the second voltage signal to the switch circuit when the USB interface is connected to the power supply circuit through the comparison circuit; receives the third voltage signal output by the USB interface and outputs the fourth voltage signal to the switch circuit when the USB interface is not connected to the power supply circuit; the switch circuit receives the second voltage signal and outputs the first level signal to the main control circuit; or receives the fourth voltage signal and outputs the second level signal to the main control circuit; the main control circuit receives the first level signal and stops sending data to the external device through the USB interface; or receives the second level signal and sends data to the external device through the USB interface; the power supply circuit supplies power to the main control circuit. When the main control circuit can connect to the external device through the USB interface and perform data transmission, it proves that the main control circuit is in an uncharged state at this time. When the main control circuit cannot connect to the external device through the USB interface and perform data transmission, the main control circuit is in a charged state at this time, which avoids the need to disassemble the machine for troubleshooting when the electric toothbrush fails, and reduces the production and maintenance costs of the product.

[0044] In one embodiment, Figure 2 and Figure 3 As shown, the comparison circuit 10 includes: an operational amplifier U10; wherein the non-inverting input terminal of the operational amplifier U10 is connected to an external power supply, the inverting input terminal is connected to the power supply circuit 40 through the USB interface, and the output terminal is connected to the input terminal of the switch circuit 20.

[0045] In one embodiment, Figure 3 As shown, the switch circuit 20 includes: a transistor U9, a first resistor R44 and a second resistor R46; wherein, the base of the transistor U9 is connected to the output end of the comparison circuit 10, the collector of the transistor U9 is connected to one end of the first resistor R44 and the input end of the main control circuit 30, and the emitter of the transistor U9 is grounded; the other end of the first resistor R44 is connected to an external power supply; one end of the second resistor R46 is connected to the base of the transistor U9, and the other end is grounded.

[0046] In one embodiment, Figure 3 As shown, the main control circuit 30 includes: a control chip U1 and a diode D1; wherein the input terminal GPIO1 of the control chip U1 is connected to the output terminal of the switch circuit 20; the power supply terminal GPIO2 of the control chip U1 is connected to the output terminal of the power supply circuit 40; the communication terminal UART-TX of the control chip U1 is connected to the anode of the diode D1, and the cathode of the diode D1 is connected to the external device through the USB interface.

[0047] In one embodiment, Figure 3 As shown, the power supply circuit 40 includes: a power supply chip U22; wherein, the input terminal nINT of the power supply chip U22 is connected to the external power supply, and the output terminal is connected to the power supply terminal of the main control circuit 30.

[0048] In one embodiment, Figure 3 As shown, the power supply circuit 40 also includes: a third resistor R93, a fourth resistor R94 and a fifth resistor R95; wherein, one end of the third resistor R93 is connected to the positive rotation end ISET of the power chip U22, and the other end is grounded; one end of the fourth resistor R94 is connected to the reverse rotation end IEOC of the power chip U22, and the other end is grounded; one end of the fifth resistor R95 is connected to the positive rotation end ISET of the power chip U22, and the other end is connected to the main control circuit 30.

[0049] In one embodiment, Figure 3 As shown, the communication circuit with power supply status detection function is characterized in that it also includes: a sixth resistor R74 and a seventh resistor R75; wherein one end of the sixth resistor R74 is connected to the external power supply, and the other end is connected to the in-phase input terminal of the operational amplifier U10; one end of the seventh resistor R75 is connected to the in-phase input terminal of the operational amplifier U10, and the other end is grounded.

[0050] In one embodiment, Figure 3As shown, the communication circuit with power supply status detection function is characterized in that it also includes: an eighth resistor R76 and a ninth resistor R77; one end of the eighth resistor R76 is connected to the inverting input terminal of the operational amplifier U10, and the other end is connected to the power supply circuit 40 through a USB interface; one end of the ninth resistor R77 is connected to the inverting input terminal of the operational amplifier U10, and the other end is grounded.

[0051] In one embodiment, Figure 3 As shown, the communication circuit with power supply status detection function is characterized in that it also includes: a tenth resistor R73 and an eleventh resistor R78; wherein the tenth resistor R73 is connected between the ninth resistor R77 and the inverting input terminal of the operational amplifier U10; one end of the eleventh resistor R78 is connected to the inverting input terminal of the operational amplifier U10, and the other end is connected to the output terminal of the operational amplifier U10.

[0052] In one embodiment, Figure 3 As shown, the communication circuit with power supply status detection function is characterized in that it also includes: a twelfth resistor R43 and a thirteenth resistor R79; wherein the twelfth resistor R43 is connected between the comparison circuit 10 and the switch circuit 20; the thirteenth resistor R79 is connected to one end of the twelfth resistor R43 close to the switch circuit 20, and the other end is grounded.

[0053] Here’s how this application works:

[0054] like Figure 3 As shown, when the first voltage signal output by VBUS of the power supply circuit 40 is 5V, the reference voltage set by the operational amplifier U10 (voltage comparator) is 3.3V. After voltage comparison by the operational amplifier U10, the second voltage signal output by the output terminal OUT of the operational amplifier U10 is 0V. After passing through the transistor U9, the voltage to the input terminal GPIO1 (INT with interrupt function) of the control chip U1 is a pull-up voltage of 3.3V; at this time, after the control chip U1 recognizes that the first level signal is a high level, it will do two actions. One is to configure the power supply terminal GPIO2 of the control chip U1 to the input state. This configuration will turn on the charging enable of the power chip U22 and power the control chip U1, that is, the product is in the charging state at this time; the second is to turn off the communication terminal UART-TX of the control chip U1 so that it no longer outputs. At this time, the diode D1 is not turned on, and it will not be backflowed to the communication terminal UART-TX port of the control chip U1, thereby damaging the control chip U1.

[0055] When the third voltage signal output by VBUS of the power supply circuit 40 is 5V, after voltage comparison is performed by the operational amplifier U10, the fourth voltage signal output by the output terminal OUT of the operational amplifier U10 is 3.8V. After passing through the transistor U9, the voltage to the input terminal GPIO1 (INT with interrupt function) of the control chip U1 is a pull-up voltage of 0V; at this time, after the control chip U1 recognizes that the second level signal is a low level, it will perform two actions. One is to configure the power supply terminal GPIO2 of the control chip U1 to be a pull-up high level output, and turn off the charging enable of the power chip U22, that is, the product is not charged at this time; the second is to open the communication terminal UART-TX of the control chip U1, so that the communication terminal UART-TX outputs data through the diode D1, and data communication can be realized through the VBUS power line of the USB interface;

[0056] The above disclosure is only a preferred embodiment of the present invention, and certainly cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope covered by the present invention.

Claims

1. A communication circuit with a power supply status detection function, characterized in that: include: A comparison circuit, the output end of which is connected to the power supply circuit through the USB interface, and the output end is connected to the input end of the switch circuit, and is used to receive a first voltage signal output by the USB interface when the USB interface is connected to the power supply circuit, and output a second voltage signal to the switch circuit; for receiving a third voltage signal output by the USB interface and outputting a fourth voltage signal to the switch circuit when the USB interface is disconnected from the power supply circuit; The switch circuit, the output end of which is connected to the input end of the main control circuit, is used to receive the second voltage signal and output the first level signal to the main control circuit; or receive the fourth voltage signal and output the second level signal to the main control circuit; The main control circuit, the power supply end is connected to the power supply circuit, and the data transmission end is connected to the external device through the USB interface, and is used to receive the first level signal and stop sending data to the external device through the USB interface; or receive the second level signal and send data to the external device through the USB interface; The power supply circuit, whose output end is connected to the main control circuit, is used to supply power to the main control circuit.

2. The communication circuit with power supply status detection function according to claim 1, characterized in that: The comparison circuit comprises: an operational amplifier; The in-phase input terminal of the operational amplifier is connected to an external power supply, the inverting input terminal is connected to a power supply circuit through the USB interface, and the output terminal is connected to the input terminal of the switch circuit.

3. The communication circuit with power supply status detection function according to claim 1, characterized in that: The switch circuit comprises: a transistor, a first resistor and a second resistor; The base of the transistor is connected to the output end of the comparison circuit, the collector of the transistor is connected to one end of the first resistor and the input end of the main control circuit, and the emitter of the transistor is grounded; The other end of the first resistor is connected to an external power supply; One end of the second resistor is connected to the base of the transistor, and the other end is grounded.

4. The communication circuit with power supply status detection function according to claim 1, characterized in that: The main control circuit includes: a control chip and a diode; The input end of the control chip is connected to the output end of the switching circuit; the power supply end of the control chip is connected to the output end of the power supply circuit; the communication end of the control chip is connected to the anode of the diode, and the cathode of the diode is connected to the external device through the USB interface.

5. The communication circuit with power supply status detection function according to claim 1, characterized in that: The power supply circuit comprises: a power supply chip; The input end of the power chip is connected to an external power source, and the output end is connected to a power supply end of the main control circuit.

6. The communication circuit with power supply status detection function according to claim 5, characterized in that: The power supply circuit further includes: a third resistor, a fourth resistor and a fifth resistor; One end of the third resistor is connected to the positive rotation end of the power chip, and the other end is grounded; One end of the fourth resistor is connected to the inverting end of the power chip, and the other end is grounded; One end of the fifth resistor is connected to the positive rotation end of the power chip, and the other end is connected to the main control circuit.

7. The communication circuit with power supply status detection function according to claim 2, characterized in that: Also includes: a sixth resistor and a seventh resistor; One end of the sixth resistor is connected to the external power supply, and the other end is connected to the non-inverting input terminal of the operational amplifier; One end of the seventh resistor is connected to the non-inverting input terminal of the operational amplifier, and the other end is grounded.

8. The communication circuit with power supply status detection function according to claim 2, characterized in that: Also includes: an eighth resistor and a ninth resistor; One end of the eighth resistor is connected to the inverting input terminal of the operational amplifier, and the other end is connected to the power supply circuit through a USB interface; One end of the ninth resistor is connected to the inverting input terminal of the operational amplifier, and the other end is grounded.

9. The communication circuit with power supply status detection function according to claim 8, characterized in that: Also includes: a tenth resistor and an eleventh resistor; The tenth resistor is connected between the ninth resistor and the inverting input terminal of the operational amplifier; One end of the eleventh resistor is connected to the inverting input terminal of the operational amplifier, and the other end of the eleventh resistor is connected to the output terminal of the operational amplifier.

10. The communication circuit with power supply status detection function according to claim 1, characterized in that: Also includes: a twelfth resistor and a thirteenth resistor; The connection of the twelfth resistor is between the comparison circuit and the switch circuit; The thirteenth resistor is connected to one end of the twelfth resistor close to the switch circuit, and the other end is grounded.