A charging and discharging power detection circuit
By designing a charge and discharge power detection circuit, using the control unit to uniformly control the motor drive module and battery pack power detection, the problem of detection and display in the prior art cannot be centrally controlled, and the cost reduction, structure simplification and convenient operation are achieved Effect.
Patent Information
- Application Number
- CN201910253378.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2039-03-29
AI Technical Summary
In the prior art, the detection and display of ground brush motors, brushless DC motors and battery pack power cannot be detected and controlled by one control unit, resulting in complex operation, high cost and complex equipment structure.
A charging and discharging power detection circuit is designed, including a battery pack, a motor drive module, a power detection module, a power display module, a key control module, a charging and discharging voltage detection module and a control unit. Through this circuit, the control unit can uniformly control the operation status of the motor drive module and the detection and display of the battery pack power.
The detection and display of the operating status of the motor drive module and the battery pack capacity can be controlled by using a control unit, which reduces the cost of equipment production, simplifies the structure, and improves the convenience of operation.
Smart Images

Figure CN111830417B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of current detection, and in particular to a charge and discharge current detection and protection circuit. Background Art
[0002] With the development and continuous progress of society, more and more equipment is now miniaturized, which is not only convenient for transportation but also simple to use. In the prior art, the detection and display of the floor brush motor, the brushless DC motor and the battery pack power are not detected and controlled by a control unit, which not only leads to complicated operation and high cost, but also complex equipment structure. Summary of the invention
[0003] The purpose of the present invention is to provide a charge and discharge power detection and protection circuit to solve the problem that the detection and display of the power of a floor brush motor, a brushless DC motor and a battery pack cannot be detected and controlled by a control unit.
[0004] According to a first aspect, an embodiment of the present invention provides a charge and discharge power detection circuit, a battery pack, a motor drive module, a power detection module, a power display module, a button control module, a charge and discharge voltage detection module and a control unit; a first end of the power detection module is connected to the positive electrode of the battery pack, and a second end is connected to the negative electrode of the battery pack through the charge and discharge voltage detection module, and is used to detect the voltage across the battery pack, and a third end of the power detection module is connected to the control unit, and is used to transmit the detected voltage signal to the control unit; the power display module is connected to the control unit, and is used to receive the power information generated by the voltage signal; the button control module is connected to the control unit, and is used to transmit the acquired button signal to the control unit; a first end of the motor drive module is connected to the positive electrode of the battery pack, a second end is connected to the negative electrode of the battery pack through the charge and discharge voltage detection module, and a third end is connected to the control unit, and the control unit is used to transmit the button signal of the button control module to the motor drive module, and is used to control the running state of the motor drive module.
[0005] In one embodiment, the charge and discharge voltage detection module includes: a first controllable switch, a second controllable switch and a first resistor; the first end of the first controllable switch is connected to the negative electrode of the charging port, the second end is connected to the negative electrode of the battery pack through the first resistor, and the third end is connected to the control unit, and the control unit is used to control the closing state of the first controllable switch; when the first controllable switch is closed, the battery pack is in a charging state; the first end of the second controllable switch is connected to the connection between the first controllable switch and the first resistor, the second end is connected to the motor drive module, and the third end is connected to the control unit, and the control unit is used to control the closing state of the second controllable switch; when the second controllable switch is closed, the battery pack is in a discharging state.
[0006] In one embodiment, the charge and discharge voltage detection module also includes: an amplifier circuit; the first end of the amplifier circuit is connected to the second end of the first resistor, and is used to collect the voltage value of the second end of the first resistor; the second end of the amplifier circuit is connected to the control unit, and is used to transmit the amplified voltage value of the second end of the first resistor to the control unit.
[0007] In one embodiment, the charge and discharge voltage detection module also includes: a charging port; the positive pole of the charging port is connected to the positive pole of the battery pack; the first end of the charge and discharge voltage detection module is connected to the negative pole of the charging port, the second end is connected to the negative pole of the battery pack, and the third end is connected to the control unit, and the control unit is used to control the closed state of the first controllable switch and the second controllable switch of the charge and discharge voltage detection module.
[0008] In one embodiment, the charge and discharge power detection circuit also includes: a protection circuit and a battery protection module; one end of the protection circuit is connected to the charge and discharge voltage detection module for collecting the voltage value of the motor drive module or the battery pack, and the other end is connected to the control unit for transmitting the voltage difference between the collected voltage value of the motor drive module or the battery pack and the comparison voltage value to the control unit, and the control unit is used to control the second controllable switch in the charge and discharge voltage detection module according to the voltage difference; one end of the battery protection module is connected to the battery pack for detecting the voltage signal at both ends of the battery pack, and the other end is connected to the control unit for sending the voltage signal at both ends of the battery pack to the control unit, and the control unit is used to control the second controllable switch in the charge and discharge voltage detection module according to the detected voltage signal.
[0009] In one embodiment, the charge and discharge power detection circuit also includes: a charging port detection module, a first end of the charging port detection module is connected to the positive pole of the charging port, a second end is connected to the negative pole of the charging port, and a third end is connected to the control unit, and the control unit is used to detect whether the charger is inserted into the charging port.
[0010] In one embodiment, the power display module includes: a light emitting diode, and there are three of the light emitting diodes; the button control module includes: a button; the cathodes of the three light emitting diodes are connected to one end of the button and grounded, and the anodes and the other ends of the buttons are connected to the control unit.
[0011] In one embodiment, the battery pack includes: a first power supply, a second power supply, a third power supply, a fourth power supply, a fifth power supply and a sixth power supply connected in series in sequence; the battery protection module includes: a first voltage detection pin connected to the positive pole of the first power supply, for detecting the voltage of the first power supply; a second voltage detection pin connected to the connection between the positive pole of the second power supply and the negative pole of the first power supply, for detecting the voltage of the second power supply; a third voltage detection pin connected to the connection between the positive pole of the third power supply and the negative pole of the second power supply, for detecting the voltage of the third power supply; a fourth voltage detection pin connected to the connection between the positive pole of the fourth power supply and the negative pole of the third power supply, for detecting the voltage of the fourth power supply; a fifth voltage detection pin connected to the connection between the positive pole of the fifth power supply and the negative pole of the fourth power supply, for detecting the voltage of the fifth power supply; a sixth voltage detection pin connected to the connection between the positive pole of the sixth power supply and the negative pole of the fifth power supply and a seventh voltage detection pin connected to the negative pole of the sixth power supply, for detecting the voltage of the sixth power supply.
[0012] According to a second aspect, an embodiment of the present invention further provides an electrical device, comprising: the charge and discharge power detection circuit as described above.
[0013] The beneficial effects of the above technical solution of the present invention are as follows:
[0014] An embodiment of the present invention provides a charge and discharge current detection circuit, comprising: a battery pack, a motor drive module, a power detection module, a power display module, a key control module, a charge and discharge voltage detection module and a control unit; the first end of the power detection module is connected to the positive electrode of the battery pack, the second end is connected to the negative electrode of the battery pack through the charge and discharge voltage detection module, and is used to detect the voltage across the battery pack, and the third end of the power detection module is connected to the control unit, and is used to transmit the detected voltage signal to the control unit; the power display module is connected to the control unit, and is used to receive the power information generated by the voltage signal; the key control module is connected to the control unit, and is used to transmit the acquired key signal to the control unit; the first end of the motor drive module is connected to the positive electrode of the battery pack, the second end is connected to the negative electrode of the battery pack through the charge and discharge voltage detection module, and the third end is connected to the control unit, and the control unit is used to transmit the key signal of the key control module to the motor drive module, and is used to control the running state of the motor drive module. It can be seen that when the motor drive module needs to operate, the control unit transmits the key signal of the key control module to the motor drive module, thereby making the motor drive module operate; during the operation of the motor drive module, the power detection module detects the voltage at both ends of the battery pack, and then transmits the detected voltage signal to the control unit, the control unit generates power information according to the voltage signal, and then transmits the power information to the power display module; in this way, one control unit can be used to control the operating status of the motor drive module, as well as the detection and display of the battery pack power; not only is the equipment manufacturing cost reduced, the structure is simple, but also the operation is convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A diagram showing the structure of a charge and discharge current detection circuit according to an embodiment of the present invention.
[0016] Description of main reference numerals:
[0017] 1-battery pack; 2-motor drive module; 3-power detection module; 4-power display module; 5-button control module; 6-charge and discharge voltage detection module; 7-control unit; 8-charging port; 9-protection circuit; 10-battery protection module; 11-charging port detection module; 12-first controllable switch; 13-second controllable switch; 14-amplification circuit; R1-first resistor; R2-second resistor; R3-third resistor; R4-fourth resistor; R5-first resistor; R6-sixth resistor; R7-seventh resistor Resistor; R8-eighth resistor; R9-ninth resistor; R10-tenth resistor; R11-eleventh resistor; R12-twelfth resistor; R13-thirteenth resistor; R14-fourteenth resistor; R15-fifteenth resistor; R16-sixteenth resistor; R17-seventeenth resistor; R18-eighteenth resistor; R19-nineteenth resistor; R20-twentieth resistor; D1-diode C1-first capacitor; C2-second capacitor; C3-third capacitor; Q1-first transistor; Q2-second transistor. DETAILED DESCRIPTION
[0018] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. 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.
[0019] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0020] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0021] like Figure 1As shown, an embodiment of the present invention provides a charge and discharge current detection circuit, including: a battery pack 1, a motor drive module 2, a power detection module 3, a power display module 4, a key control module 5, a charge and discharge voltage detection module 6 and a control unit 7; the first end of the power detection module 3 is connected to the positive electrode of the battery pack 1, and the second end is connected to the negative electrode of the battery pack 1 through the charge and discharge voltage detection module 6, for detecting the voltage across the battery pack 1, and the third end of the power detection module 3 is connected to the control unit 7, for transmitting the detected voltage signal to the control unit 7; the power display module 4 is connected to the control unit 7, for receiving the power information generated by the voltage signal; the key control module 5 is connected to the control unit 7, for transmitting the acquired key signal to the control unit 7; the first end of the motor drive module 2 is connected to the positive electrode of the battery pack 1, the second end is connected to the negative electrode of the battery pack 1 through the charge and discharge voltage detection module 6, and the third end is connected to the control unit 7, and the control unit 7 is used to transmit the key signal of the key control module 5 to the motor drive module 2, for controlling the running state of the motor drive module 2.
[0022] Through the above circuit structure, when the motor drive module 2 needs to operate, the control unit 7 transmits the key signal of the key control module 5 to the motor drive module 2, so that the motor drive module 2 operates; during the operation of the motor drive module 2, the power detection module 3 detects the voltage at both ends of the battery pack 1, and then transmits the detected voltage signal to the control unit 7, the control unit 7 generates power information according to the voltage signal, and then transmits the power information to the power display module 4; in this way, a control unit 7 can be used to control the operating state of the motor drive module 2, as well as the detection and display of the power of the battery pack 1; not only the equipment manufacturing cost is reduced, the structure is simple, but also the operation is convenient.
[0023] In one embodiment, the power detection module 3 includes: an eighteenth resistor R18 and a nineteenth resistor R19; the eighteenth resistor R18 and the nineteenth resistor R19 are connected, and the control unit 7 is connected to the connection between the eighteenth resistor R18 and the nineteenth resistor R19, and is used to receive the voltage value obtained by the nineteenth resistor R19; and then calculate the remaining power of the battery pack 1 according to the internal program of the control unit 7.
[0024] In one embodiment, the charge and discharge voltage detection module 6 includes: an amplifier circuit 14, a first controllable switch 12, a second controllable switch 13 and a first resistor R1; wherein the first end of the amplifier circuit 14 is connected to the second end of the first resistor R1, for collecting the voltage value of the second end of the first resistor R1, and the second end of the amplifier circuit 14 is connected to the control unit 7, for transmitting the amplified voltage value of the second end of the first resistor R1 to the control unit 7.
[0025] Specifically, the amplifier circuit 14 includes: an amplifier, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9 and a first capacitor C1; the positive input end of the amplifier is connected to the first resistor R1 through the fifth resistor R5, the reverse input end is grounded through the seventh resistor R7, and the output end is connected to the control unit 7 through the ninth resistor R9, the first end is grounded, and the second end is connected to the power supply end of the control unit 7. One end of the sixth resistor R6 is connected to the positive input end of the amplifier, which has a voltage divider function, and the other end is connected to the power supply to provide a bias voltage for the amplifier circuit 14; one end of the eighth resistor R8 is connected to the reverse input end of the amplifier, and the other end is connected to the output end of the amplifier; one end of the first capacitor C1 is connected to the connection between the control unit 76 and the ninth resistor R9, and the other end is grounded. Among them, the fifth resistor R5 is a positive input resistor, the sixth resistor R6 is a voltage divider resistor, the eighth resistor R8 is a feedback resistor of the amplifier circuit 147, and the ninth resistor R9 and the first capacitor C1 play a filtering role;
[0026] The first end of the first controllable switch 12 is connected to the negative electrode of the charging port 8, the second end is connected to the negative electrode of the battery pack 1 through the first resistor R1, and the third end is connected to the control unit 7, which is used to control the closing state of the first controllable switch 12; when the first controllable switch 12 is closed, the battery pack 1 is in a charging state.
[0027] Specifically, the first controllable switch 12 includes: a first NMOS tube, a diode D1, a second resistor R2 and a third resistor R3; the cathode of the diode D1 is connected to the negative electrode of the charging port 8, and the anode is connected to the source of the first NMOS tube; the gate of the first NMOS tube is connected to the anode of the diode D1 and the control unit 7 through the second resistor R2 and the third resistor R3 respectively; the drain of the first NMOS tube is connected to the first resistor R1. Among them, the second resistor R2 and the third resistor R3 play a role in current limiting.
[0028] When the battery pack 1 needs to be charged, the charger is plugged in, and the negative pole of the charging port 8 becomes a low level. At this time, the control unit 7 gives the CHARGE ON pin a high level, because the gate of the first NMOS tube is connected to the anode of the diode D1 and the control unit 7 through the second resistor R2 and the third resistor R3 respectively, the drain is connected to the first resistor R1, and the source is also connected to the anode of the diode D1, so the first NMOS tube is turned on, thereby realizing charging of the battery pack 1; during the charging process, because the current flows from the positive pole of the charging port 8 to the positive pole of the battery pack 1, the negative pole of the battery pack 1 to the first resistor R1, and the first resistor R1 passes through the first NMOS tube to the negative pole of the charging port 8. Therefore, the positive input end of the amplifier circuit 14 receives the voltage of the second end of the first resistor R1 through the fifth resistor R5, and the formula used to calculate the voltage transmitted to the control unit 7 through the output end of the amplifier circuit 14 is:
[0029] V(CURRENT)=V(REF)-V(Isence)*op amp multiple;
[0030] Among them, V (Isence) is the voltage at the second end of the first resistor R1 received by the positive input end of the amplifier circuit 14; V (REF) is the power supply voltage connected to the sixth resistor R6; V (CURRENT) is the voltage transmitted by the amplifier circuit 14 to the control unit 7; the calculation process of the operational amplifier multiple is the existing technology and will not be repeated here.
[0031] In one embodiment, the first end of the second controllable switch 13 is connected to the connection between the first controllable switch 12 and the first resistor R1, the second end is connected to the motor drive module 2, and the third end is connected to the control unit 7, and the control unit 7 is used to control the closing state of the second controllable switch 13; when the second controllable switch 13 is closed, the battery pack 1 is in a discharging state.
[0032] The second controllable switch 13 includes: a second NMOS tube and a fourth resistor R4; the source of the second NMOS tube is connected to the connection between the drain of the second NMOS tube and the first resistor R1, the drain is connected to the motor drive module 2, and the gate is connected to the control unit 7 through the fourth resistor R4.
[0033] When the battery pack 1 supplies power to the motor drive module 2, because the source of the second NMOS tube is connected to the connection between the drain of the second NMOS tube and the first resistor R1, the drain is connected to the motor drive module 2, and the gate is connected to the DISCHARGE pin of the control unit 7 through the fourth resistor R4, the control unit 7 gives the DISCHARGE pin a high level, and the second controllable switch 13 is turned on; in this way, the battery pack 1, the motor drive module 2, the first resistor R1 and the battery pack 1 form a loop, and the current flows from the positive electrode of the battery pack 1 to the negative electrode of the battery pack 1, then through the first resistor R1 to the second controllable switch 13, then from the second controllable switch 13 to the motor drive module 2, and finally to the positive electrode of the battery pack 1; therefore, the positive input end of the amplifier circuit 14 receives the voltage of the second end of the first resistor R1 through the fifth resistor R5, and the formula used to calculate the voltage transmitted to the control unit 7 through the amplifier circuit 14 is:
[0034] V(CURRENT)=V(REF)+V(Isence)*op amp multiple;
[0035] Among them, V (Isence) is the voltage at the second end of the first resistor R1 received by the positive input end of the amplifier circuit 14; V (REF) is the power supply voltage connected to the sixth resistor R6; V (CURRENT) is the voltage transmitted from the output end of the amplifier circuit 14 to the control unit 7; the calculation process of the operational amplifier multiple is the existing technology and will not be repeated here.
[0036] In one embodiment, the charge and discharge power detection circuit also includes: a charging port 8; the positive pole of the charging port 8 is connected to the positive pole of the battery pack 1; the first end of the charge and discharge voltage detection module 6 is connected to the negative pole of the charging port 8, the second end is connected to the negative pole of the battery pack 1, and the third end is connected to the control unit 7, and the control unit 7 is used to control the closed state of the first controllable switch 12 and the second controllable switch 13 of the charge and discharge voltage detection module 6.
[0037] It should be noted that, from the above analysis, if the motor drive module 2 wants to run, not only the second controllable switch 13 needs to be turned on, but the control unit 7 also needs to transmit a key signal to the motor drive module 2 to make the motor drive module 2 run. Only in this way can the motor drive module 2 run.
[0038] Specifically, the motor drive module 2 includes: a floor brush motor and a brushless DC motor; the first end of the floor brush motor is connected to the positive pole of the battery pack 1, the second end is connected to the charge and discharge voltage detection module 6, and the third end is connected to the control unit 7; the first end of the brushless DC motor is connected to the positive pole of the battery pack 1, the second end is connected to the charge and discharge voltage detection module 6, and the third end is connected to the control unit 7 via 6 PWM signal lines.
[0039] In one embodiment, the power display module 4 includes: a light emitting diode, wherein there are three light emitting diodes; the light emitting diode is used to display the power level of the battery pack 1, and when all three light emitting diodes are on, it indicates that the power level of the battery pack 1 is between 70 percent and 100 percent; when two light emitting diodes are on and one light emitting diode is off, it indicates that the power level of the battery pack 1 is between 40 percent and 69 percent; when one light emitting diode is on and two light emitting diodes are off, it indicates that the power level of the battery pack 1 is below 39 percent, including 39 percent.
[0040] The button control module 5 includes: a button; the cathodes of the three light emitting diodes are connected to one end of the button and grounded, and the anodes and the other ends of the button are connected to the control unit 7; the three light emitting diodes are controlled to light up or light off by the button.
[0041] The specific usage of the button is: when the button is pressed once, the three LEDs light up; when the button is pressed twice in a row, the three LEDs go out; when the button is pressed three times in a row, the three LEDs light up, the floor brush motor runs, and the brushless DC motor does not run; when the button is pressed four times in a row, the three LEDs light up, the floor brush motor does not run, and the brushless DC motor runs; when the button is pressed five times in a row, the three LEDs light up, and both the floor brush motor and the brushless DC motor run.
[0042] It should be noted that, without affecting the use of the present invention, the use of the key is not limited to the above method; and the number of light-emitting diodes is not limited to three.
[0043] In one embodiment, the charge and discharge power detection circuit also includes: a protection circuit 9 and a battery protection module 10; one end of the protection circuit 9 is connected to the charge and discharge voltage detection module 6 for collecting the voltage value of the motor drive module 2 or the battery pack 1, and the other end is connected to the control unit 7 for transmitting the voltage difference between the collected voltage value of the motor drive module 2 or the battery pack 1 and the comparison voltage value to the control unit 7, and the control unit 7 is used to control the second controllable switch 13 in the charge and discharge voltage detection module 6 according to the voltage difference.
[0044] Specifically, the protection circuit 9 includes: a comparator, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a second capacitor C2, and a third capacitor C3; the positive input terminal of the comparator is grounded through the tenth resistor R10, the negative input terminal is connected to the first resistor R1 through the eleventh resistor R11, and the output terminal is connected to the control unit 7 through the twelfth resistor R12; one end of the thirteenth resistor R13 is connected to the positive input terminal of the comparator, and the other end is connected to the power supply terminal of the control unit 7; one end of the second capacitor C2 is connected to the negative input terminal of the comparator, and the other end is grounded; one end of the third capacitor C3 is connected to the connection point between the twelfth resistor R12 and the control unit 7, and the other end is grounded. Among them, the tenth resistor R10 and the thirteenth resistor R13 are both voltage-dividing resistors, the eleventh resistor R11 and the second capacitor C2 have a filtering effect, and the twelfth resistor R12 and the third capacitor C3 also have a filtering effect.
[0045] The positive input voltage of the comparator is set as V3, and the voltage at the second terminal of the first resistor R1 is the above-mentioned V(Isence); during the discharge process, when normally supplying power externally, V(Isence) < V3, and the protection circuit transmits a high level to the control unit 7 through INT. When V(Isence) > V3, the protection circuit transmits a low level to the control unit 7 through INT, indicating that a fault has occurred during the operation of the motor drive module 2, and the second controllable switch 13 needs to be disconnected to avoid danger. Among them, V3 = VCC3 * R5 / (R5 + R6), and VCC3 is the voltage of the control unit 7.
[0046] One end of the battery protection module 10 is connected to the battery pack 1 and is used to detect the voltage signal across the battery pack 1, and the other end is connected to the control unit 7 and is used to send the voltage signal across the battery pack 1 to the control unit 7. The control unit 7 is used to control the second controllable switch 13 in the charge and discharge voltage detection module 6 according to the detected voltage signal.
[0047] Specifically, the battery pack 1 includes: a first power supply, a second power supply, a third power supply, a fourth power supply, a fifth power supply and a sixth power supply connected in series in sequence; the battery protection module 10 includes: a first voltage detection pin connected to the positive pole of the first power supply, for detecting the voltage of the first power supply; a second voltage detection pin connected to the connection between the positive pole of the second power supply and the negative pole of the first power supply, for detecting the voltage of the second power supply; a third voltage detection pin connected to the connection between the positive pole of the third power supply and the negative pole of the second power supply, for detecting the voltage of the third power supply; a fourth voltage detection pin connected to the connection between the positive pole of the fourth power supply and the negative pole of the third power supply, for detecting the voltage of the fourth power supply; a fifth voltage detection pin connected to the connection between the positive pole of the fifth power supply and the negative pole of the fourth power supply, for detecting the voltage of the fifth power supply; a sixth voltage detection pin connected to the connection between the positive pole of the sixth power supply and the negative pole of the fifth power supply and a seventh voltage detection pin connected to the negative pole of the sixth power supply, for detecting the voltage of the sixth power supply.
[0048] When the first voltage detection pin detects a fault, it means that the first power supply has a fault; when the second voltage detection pin detects a fault, it means that the second power supply has a fault; when the third voltage detection pin detects a fault, it means that the third power supply has a fault; when the fourth voltage detection pin detects a fault, it means that the fourth power supply has a fault; when the fifth voltage detection pin detects a fault, it means that the fifth power supply has a fault; when the sixth voltage detection pin detects a fault, it means that the sixth power supply has a fault; when the first power supply and / or the second power supply and / or the third power supply and / or the fourth power supply and / or the fifth power supply and / or the sixth power supply fails, the control unit 76 gives a low level to the DISCHARGE pin, the second controllable switch 132 is disconnected, and the battery pack 1 stops supplying power to the outside.
[0049] It should be noted that the number of power sources in the battery pack 1 is not limited to six and can be set according to actual needs.
[0050] In one embodiment, the charge and discharge current detection circuit also includes: a charging port 8 detection module 11, the first end of the charging port 8 detection module 11 is connected to the positive pole of the charging port 8, the second end is connected to the negative pole of the charging port 8, and the third end is connected to the control unit 7, and the control unit 7 is used to detect whether the charger is inserted into the charging port 8.
[0051] Specifically, the charging port 8 detection module 11 includes: a fourteenth resistor R14, one end of the fourteenth resistor R14 is connected to the positive electrode of the charging port 8, and the other end is connected to the negative electrode of the charging port 8; the fourteenth resistor R14 is a pull-up resistor.
[0052] The charging port 8 detection module 11 also includes: a fifteenth resistor R15, a sixteenth resistor R16, a seventeenth resistor R17, a twentieth resistor R20, a first transistor Q1 and a second transistor Q2; the positive electrode of the charging port 8, the fifteenth resistor R15, the sixteenth resistor R16 and the negative electrode of the charging port 8 are connected in sequence; the emitter of the first transistor Q1 is connected to the positive electrode of the charging port 8, and the base of the first transistor Q1 is connected to the connection between the fifteenth resistor R15 and the sixteenth resistor R16; the base of the second transistor Q2 is connected to the collector of the first transistor Q1 through the seventeenth resistor R17, the emitter of the second transistor Q2 is grounded, the collector of the second transistor Q2 is connected to the first control end of the power control module, and one end of the twentieth resistor R20 is connected to the base of the second transistor Q2, and the other end is grounded. Among them, the first transistor Q1 and the second transistor Q2 are PNP transistors and NPN transistors respectively; the fifteenth resistor R15, the sixteenth resistor R16 and the seventeenth resistor R17 play a role of current limiting; when the charging port 8 is plugged into the charger, the negative electrode of the charging port 8 is at a low level, and the base of the first transistor Q1 is at a low level, so the first transistor Q1 is turned on, because the emitter of the first transistor Q1 is connected to the positive electrode of the battery pack 1, and the base of the second transistor Q2 is connected to the collector of the first transistor Q1 through the seventeenth resistor R17, so the base of the second transistor Q2 is at a high level, and because the emitter of the second transistor Q2 is grounded, the second transistor Q2 is turned on, so the collector of the second transistor Q2 is at a low level, and because the CHARGE EN pin of the control unit 7 is connected to the collector of the second transistor Q2, the control unit 7 detects that the CHARGE EN pin is at a low level, indicating that the charger has been plugged into the charging port 8.
[0053] In summary, when the motor needs to run, first, the control unit 7 closes the second controllable switch 13 by giving a high level to the DISCHARGE pin, and then controls the operating states of the floor brush motor and the brushless DC motor with buttons according to actual needs; when the floor brush motor and / or the brushless DC motor is running, the voltage of the battery pack 1 is detected by the power detection module 3, and the LED indicates the power of the battery pack 1; when the floor brush motor and / or the brushless DC motor is running, the voltage at the second end of the first resistor is amplified by the amplifier circuit 14 and then transmitted to the control unit 7; under normal external power supply conditions, in the protection circuit, V(Isence) < V3, and the protection circuit transmits a high level to the control unit 7 through INT; when V(Isence) > V3, the protection circuit transmits a low level to the control unit 7 through INT, indicating that a fault has occurred during the external power supply process of the battery pack 1. At this time, the control unit 7 disconnects the second controllable switch 13 by giving a low level to the DISCHARGE pin; in the battery protection module 10, when the battery protection module 10 detects a fault, the battery protection module 10 transmits the fault signal to the control unit 7, and the control unit 7 then disconnects the second controllable switch 13 by giving a low level to the DISCHARGE pin; thus, the charge and discharge power detection circuit provided by the present invention is protected.
[0054] An embodiment of the present invention further provides an electrical device, including: the charge and discharge power detection circuit according to any one of the above embodiments.
[0055] The above is the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A charge and discharge capacity detection circuit, characterized in that: include: A battery pack (1), a motor drive module (2), a power detection module (3), a power display module (4), a key control module (5), a charge and discharge voltage detection module (6) and a control unit (7); The charge and discharge voltage detection module (6) comprises: a first controllable switch (12), a second controllable switch (13) and a first resistor; The first end of the first controllable switch (12) is connected to the negative electrode of the charging port (8), the second end is connected to the negative electrode of the battery pack (1) via the first resistor, and the third end is connected to the control unit (7), wherein the control unit (7) is used to control the closed state of the first controllable switch (12); When the first controllable switch (12) is closed, the battery pack (1) is in a charging state; The first end of the second controllable switch (13) is connected to the connection point between the first controllable switch (12) and the first resistor, the second end is connected to the motor drive module (2), and the third end is connected to the control unit (7), and the control unit (7) is used to control the closed state of the second controllable switch (13); When the second controllable switch (13) is closed, the battery pack (1) is in a discharging state; The first end of the power detection module (3) is connected to the positive electrode of the battery pack (1), and the second end is connected to the negative electrode of the battery pack (1) through the charge and discharge voltage detection module (6) for detecting the voltage at both ends of the battery pack (1). The third end of the power detection module (3) is connected to the control unit (7) for transmitting the detected voltage signal to the control unit (7); the power detection module (3) comprises two resistors; The power display module (4) is connected to the control unit (7) and is used to receive power information generated by the voltage signal; The key control module (5) is connected to the control unit (7) and is used to transmit the acquired key signal to the control unit (7); The first end of the motor drive module (2) is connected to the positive electrode of the battery pack (1), the second end is connected to the negative electrode of the battery pack (1) via the charge and discharge voltage detection module (6), and the third end is connected to the control unit (7), and the control unit (7) is used to transmit the key signal of the key control module (5) to the motor drive module (2) to control the operating state of the motor drive module (2); The charge and discharge voltage detection module (6) further includes: an amplifier circuit (14); The first end of the amplifier circuit (14) is connected to the second end of the first resistor, and is used to collect the voltage value of the second end of the first resistor; the second end of the amplifier circuit (14) is connected to the control unit (7), and is used to transmit the amplified voltage value of the second end of the first resistor to the control unit (7); The charging and discharging quantity detection circuit further comprises: a charging port (8); The positive electrode of the charging port (8) is connected to the positive electrode of the battery pack (1); The first end of the charge and discharge voltage detection module (6) is connected to the negative electrode of the charging port (8), the second end is connected to the negative electrode of the battery pack (1), and the third end is connected to the control unit (7), and the control unit (7) is used to control the closed state of the first controllable switch (12) and the second controllable switch (13) of the charge and discharge voltage detection module (6); The charge and discharge quantity detection circuit further comprises: a protection circuit (9) and a battery protection module (10); One end of the protection circuit (9) is connected to the charge and discharge voltage detection module (6) for collecting the voltage value of the motor drive module (2) or the battery pack (1), and the other end is connected to the control unit (7) for transmitting the voltage difference between the collected voltage value of the motor drive module (2) or the battery pack (1) and the comparison voltage value to the control unit (7), and the control unit (7) is used to control the second controllable switch (13) in the charge and discharge voltage detection module (6) according to the voltage difference; One end of the battery protection module (10) is connected to the battery pack (1) for detecting voltage signals at both ends of the battery pack (1), and the other end is connected to the control unit (7) for sending the voltage signals at both ends of the battery pack (1) to the control unit (7); the control unit (7) is used to control the second controllable switch (13) in the charge and discharge voltage detection module (6) according to the detected voltage signal.
2. The charge and discharge capacity detection circuit according to claim 1, characterized in that: Also includes: Charging port detection module (11), The first end of the charging port detection module (11) is connected to the positive electrode of the charging port (8), the second end is connected to the negative electrode of the charging port (8), and the third end is connected to the control unit (7), and the control unit (7) is used to detect whether the charger is inserted into the charging port (8).
3. The charge and discharge capacity detection circuit according to claim 2, characterized in that: The power display module (4) comprises: A light emitting diode, wherein the number of the light emitting diodes is three; The button control module (5) comprises: a button; The cathodes of the three light-emitting diodes are all connected to one end of the button and are grounded, and the anodes and the other end of the button are all connected to the control unit (7).
4. The charge and discharge capacity detection circuit according to claim 1, characterized in that: The battery pack (1) comprises: a first power source, a second power source, a third power source, a fourth power source, a fifth power source and a sixth power source which are connected in series in sequence; The battery protection module (10) comprises: a first voltage detection pin connected to the positive electrode of the first power source, and used to detect the voltage of the first power source; A second voltage detection pin connected to the connection point of the positive electrode of the second power supply and the negative electrode of the first power supply, for detecting the voltage of the second power supply; A third voltage detection pin connected to the connection point of the positive electrode of the third power supply and the negative electrode of the second power supply, used for detecting the voltage of the third power supply; A fourth voltage detection pin connected to the connection point of the positive electrode of the fourth power supply and the negative electrode of the third power supply, and used for detecting the voltage of the fourth power supply; a fifth voltage detection pin connected to the connection point of the positive electrode of the fifth power supply and the negative electrode of the fourth power supply, and used for detecting the voltage of the fifth power supply; The sixth voltage detection pin connected to the connection point of the positive electrode of the sixth power supply and the negative electrode of the fifth power supply and the seventh voltage detection pin connected to the negative electrode of the sixth power supply are used to detect the voltage of the sixth power supply.
5. An electrical device, characterized in that: include: A charge and discharge power detection circuit as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Power tool control circuit and its operation method
CN102279365A
Power tool control circuit and its operation method
CN102279367A