Mobile power supply device and misconnection detection method
By using the power carrier signal to perform encoding and matching detection on the DC output and input interface of the mobile power supply device, the problem of interface misconnection caused by user error is solved, and automatic prevention of misconnection and power protection is achieved.
Patent Information
- Application Number
- CN202210701451.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2042-06-20
AI Technical Summary
Existing outdoor mobile power supply devices are prone to plug one end of the adapter on the vehicle charging output interface due to user errors and plug the other end on the DC charging input interface, causing the power supply to charge and discharge while charging, and continuously consume the battery power until the battery is exhausted, causing losses and risks.
A mobile power supply device is designed to output a coded power carrier signal on the DC output interface, and set up a power carrier signal receiving circuit on the DC input interface to determine whether the received power carrier signal is the same as the output signal. If the same, it is judged that the interface is connected incorrectly and the charging and discharge will be automatically stopped.
It effectively prevents waste of power and risks caused by misconnection of the interface. Through automatic detection and prevention of misconnection, it ensures the safe and efficient use of the power supply.
Smart Images

Figure CN115113102B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile power supplies, and in particular to a mobile power supply device and a misconnection detection method. Background Art
[0002] Outdoor mobile power supplies generally have a car charger output interface and a car charger input interface, and are respectively adapted to the corresponding adapter cables. Existing outdoor mobile power supplies have a potential misuse problem, that is, the user mistakenly plugs one end of the adapter cable into the car charger output interface and the other end into the DC charging input interface, causing the power supply to charge and discharge at the same time, continuously consuming battery power until the power is exhausted, causing losses and risks. Summary of the invention
[0003] In view of the above problems, a mobile power supply device and a misconnection detection method are provided to at least solve the misconnection problem of the mobile power supply device.
[0004] According to one aspect of the present invention, there is provided a mobile power supply device, comprising: a first interface for connecting to an external load; a second interface for connecting to an external power supply; a controller configured to generate a first signal carrying a first code; a DC-DC converter, the output end of the DC-DC converter being connected to the first interface; a charger, the input end of the charger being connected to the second interface; a power carrier signal generating circuit, the input end of the power carrier signal generating circuit being connected to the controller, the output end of the power carrier signal generating circuit being connected to the first interface, the power carrier signal generating circuit being configured to receive the first signal, and generate a first power carrier signal carrying the first code according to the first signal; and a power carrier signal receiving circuit, the input end of the power carrier signal receiving circuit being connected to the second interface, the output end of the power carrier signal receiving circuit being connected to the controller, the power carrier signal receiving circuit being configured to obtain a second power carrier signal from a DC signal received by the second interface, obtain a second signal according to the second power carrier signal, and send the second signal to the controller, wherein the controller is configured to obtain a second code from the second signal, and to determine whether the first interface and the second interface are connected according to the second code and the first code.
[0005] In some embodiments, the mobile power supply device further includes a battery, and the battery is connected to an input end of the DC-DC converter and an output end of the charger.
[0006] In some embodiments, the controller is used to determine that the first interface and the second interface are connected when the second code is the same as the first code.
[0007] In some embodiments, the controller is used to send the first signal to the power carrier signal generating circuit again when the second code is the same as the first code, and determine whether the second code carried by the second signal received again is the same as the first code.
[0008] In some embodiments, the mobile power supply device further includes a first switch, which is disposed between the output end of the DC-DC converter and the first interface, and when the controller determines that the first interface and the second interface are connected, the first switch is disconnected.
[0009] In some embodiments, the controller is used to generate prompt information when the first interface and the second interface are connected.
[0010] In some embodiments, the first code is a binary code, and the first signal is a pulse width modulation signal.
[0011] In some embodiments, the controller includes a random number generator for generating a random number including the first code.
[0012] In some embodiments, the first signal is a first pulse sequence, the first pulse sequence includes pulses corresponding to the first coded bits, the first coded bits take a first value, the corresponding pulses in the first pulse sequence have a first duration, the first coded bits take a second value, and the corresponding pulses in the first pulse sequence have a second duration.
[0013] In some embodiments, the power carrier signal generating circuit includes: a first resistor, a second resistor, a second switch and a first capacitor, wherein the first resistor and the first capacitor are connected in parallel between the first interface and the first node, the second resistor and the second switch are connected in series between the first node and the ground, and the second switch is turned on in response to the pulses of the first pulse sequence.
[0014] In some embodiments, the power carrier signal receiving circuit includes: a DC isolation circuit and a shaping circuit, the DC isolation circuit is configured to obtain the second power carrier signal from the DC signal received by the second interface, and the shaping circuit is configured to obtain the second signal based on the second power carrier signal.
[0015] In some embodiments, the shaping circuit is configured to determine whether the voltage of the second power carrier signal is within a predetermined range, and in response to determining that the voltage of the second power carrier signal is within the predetermined range, the shaping circuit outputs a high level.
[0016] In some embodiments, the DC blocking circuit includes a second capacitor, and the shaping circuit includes: a first comparator, a second comparator and an NOR gate, the first comparator is configured to compare the voltage of the second power carrier signal with a first reference voltage, the second comparator is configured to compare the voltage of the second power carrier signal with a second reference voltage, the first reference voltage is greater than the second reference voltage, the output end of the first comparator is connected to the first input end of the NOR gate, the output end of the second comparator is connected to the second input end of the NOR gate, and the output end of the NOR gate is connected to the controller.
[0017] According to another aspect of the present invention, a misconnection detection method for a mobile power device is provided. The mobile power device includes a first interface and a second interface, the first interface is used to provide power to an external load, and the second interface is used to connect to an external power source. The misconnection detection method includes: outputting a first DC signal carrying a first power carrier signal through the first interface; receiving a second DC signal from the second interface, and obtaining a second power carrier signal from the second DC signal; judging whether the first power carrier signal and the second power carrier signal are the same; and judging that the first interface and the second interface are erroneously directly connected when the first power carrier signal and the second power carrier signal are the same.
[0018] In some embodiments, the misconnection detection method further includes: generating a first signal carrying a first code, generating the first power carrier signal carrying the first code based on the first signal; and obtaining a second signal from the second power carrier signal, and obtaining a second code from the second signal. The first power carrier signal and the second power carrier signal are the same including: the second code is the same as the first code.
[0019] In some embodiments, the misconnection detection method further includes: when the first power carrier signal and the second power carrier signal are the same, outputting the first DC signal carrying the first power carrier signal again through the first interface, and determining whether the second power carrier signal carried by the second DC signal received again is the same as the first power carrier signal.
[0020] In the scheme of the embodiment of the present invention, based on the power carrier communication technology, a first power carrier signal carrying a first code is loaded on the first DC signal output by the DC output interface, and a power carrier signal receiving circuit is set at the DC input interface. The power carrier signal receiving circuit is used to detect the second power carrier signal from the second DC signal input to the DC input interface, and obtain the second code from the second power carrier signal. When the second code is the same as the first code, the controller determines that the DC input interface and the DC output interface are connected. Based on the power carrier communication technology, the present invention loads the identification data to the DC output interface and identifies it at the DC input interface. When the DC output interface and the DC input interface are connected incorrectly, the charging and discharging will be automatically stopped, and the automatic anti-mistake will be prevented to prevent unnecessary power waste and risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 It is an exemplary structural block diagram of a mobile power supply device provided in an embodiment of the present application.
[0023] Figure 2 An exemplary circuit diagram of a power carrier signal generating circuit is shown.
[0024] Figure 3 An exemplary circuit diagram of a power carrier signal receiving circuit is shown.
[0025] Figure 4 is an exemplary structural block diagram of a controller.
[0026] Figure 5 It is an exemplary structural block diagram of another mobile power supply device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment 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 making creative work are within the scope of protection of the present invention.
[0028] Figure 11 is an exemplary structural block diagram of a mobile power supply device provided in an embodiment of the present application. The mobile power supply device 10 includes: a first interface 131, a second interface 121, a battery 100, a controller 110, a charger 120, a DC-DC converter 130, a DC-AC converter 160, a power carrier signal generating circuit 140, a power carrier signal receiving circuit 150, and a charger 170.
[0029] The battery 100 is used to provide electrical energy. The battery 100 is a secondary battery (also called a rechargeable battery or storage battery), for example, a lithium-ion battery. The first interface 131 is used to connect to an external load, such as an electrical device. The second interface 121 is used to connect to an external power supply, such as a DC power supply. The input end of the DC-to-DC converter 130 is connected to the battery 100, and the output end is connected to the first interface 131. The first interface 131 is a DC output interface 131. The DC output interface 131 is used to provide DC power, such as 12V DC power, to an external load. In some embodiments, the DC output interface 131 can be connected to the cigarette lighter interface of the car through an adapter cable to charge the car battery, and the DC output interface 131 is also called the cigarette lighter output interface. The DC-to-DC converter 130 may include a boost circuit and a buck circuit for converting the voltage provided by the battery 100 into a target voltage. In some embodiments, the DC-to-DC converter 130 can also provide 5V DC power to the outside through a USB interface. The DC-to-AC converter 160 is used to convert the DC power provided by the battery 100 into a target AC power, such as 220V AC power. The DC-to-AC converter 160 includes an inverter. The input end of the DC-to-AC converter 160 is connected to the battery 100, and the output end is connected to the AC output interface 161. The DC output interface 131 and the AC output interface 161 can be used to power power tools, mobile phone chargers, etc. The output end of the charger 120 is connected to the battery 100, and the input end of the charger 120 is connected to the second interface 121, and the second interface 121 is a DC input interface 121. When the DC input interface 121 is connected to an external DC power source, the charger 120 can charge the battery 100. The charger 170 is connected to the battery 100 and the AC input interface 171. When the AC input interface 171 is connected to an external AC power source, the charger 170 can charge the battery 100. In some embodiments, the charger 120 and the charger 170 can be set as the same module. The controller 110 is, for example, a battery management system (BMS), and the controller 110 may be implemented as a microcontroller unit (MCU), an application specific integrated circuit (ASIC), or the like.
[0030] The power carrier signal generating circuit 140 and the power carrier signal receiving circuit 150 are used to detect whether the DC output interface 131 and the DC input interface 121 are connected incorrectly. For example, the DC output interface 131 and the DC input interface 121 are connected incorrectly. Figure 1 The connecting line 300 is connected.
[0031] The controller 110 can control the working modes of the DC-DC converter 130, the DC-AC converter 160, the charger 120, and the charger 170. For example, the charging method and the discharging method of the battery 100 are controlled. The controller 110 has pins 111 and 112. Pin 111 is connected to the input end of the power carrier signal generating circuit 140. Pin 112 is connected to the output end of the power carrier signal receiving circuit 150. The controller 110 is configured to generate a first signal carrying a first code. In some embodiments, the first code is a binary number, and the first code includes a plurality of bits.
[0032] Figure 4 is a block diagram of the controller 110. Figure 4 As shown, the controller 110 includes a processor 113, a random number generator 114 and a timer 115. The random number generator 114 can generate a multi-bit random number, such as a 32-bit binary random number. The first code is generated based on the random number provided by the random number generator 114. For example, the first code is the lower 12 bits or lower 8 bits of the 32-bit random number provided by the random number generator 114. It can be understood that the number of bits of the first code is not limited. The timer 115 generates a first signal according to the clock signal and the first code. The first signal is a pulse width modulation (PWM) signal. For example, the first signal is a first pulse sequence, including a plurality of pulses. The pulses of the first pulse sequence correspond to the bits of the first code, and the width of each pulse of the first pulse sequence is modulated according to the value of the bit corresponding to the pulse. The bit value of the first code is a first value, and the corresponding pulse in the first pulse sequence has a first duration (first pulse width), and the bit value of the first code is a second value, and the corresponding pulse in the first pulse sequence has a second duration (second pulse width). The first value and the second value are 1 and 0, respectively. Between adjacent pulses is a low level of a predetermined duration. For example, if the i-th bit of the first code is 1, the pulse width of the i-th pulse in the first pulse sequence is 100 milliseconds (i.e., 100 milliseconds of high level), if the i-th bit of the first code is 0, the pulse width of the i-th pulse in the first pulse sequence is 200 milliseconds (i.e., 200 milliseconds of high level), and there is a 10 millisecond low level between adjacent pulses. Different pulse widths are achieved by the timer 115 according to the bit value.
[0033] The input end of the power carrier signal generating circuit 140 is connected to the pin 111 of the controller 110, and the output end of the power carrier signal generating circuit 140 is connected to the DC output interface 131. The power carrier signal generating circuit 140 is configured to receive the first signal and generate a first power carrier signal carrying the first code based on the first signal. The first power carrier signal is an AC signal, which is loaded on the DC signal (e.g., DC voltage) output by the DC-DC converter 130. Figure 2 FIG. 1 shows a circuit diagram of a power carrier signal generating circuit 140. Figure 2 As shown, the power carrier signal generating circuit 140 includes a first resistor R1, a second resistor R2, a first capacitor C1 and a second switch S2. The first resistor R1 and the first capacitor C1 are connected in parallel between the first node N1 and the second node N2, the second node N2 is connected to the DC output interface 131, and the second resistor R2 and the second switch S2 are connected in series between the first node N1 and the ground. The second switch S2 is, for example, a triode, the base of which receives the first signal output by the pin 111 of the controller 110, the emitter of which is connected to the first node N1, and the collector of which is grounded. In response to the high level of the first signal, the second switch S2 is turned on, and in response to the low level of the first signal, the second switch S2 is turned off. That is, in response to the pulses of the first pulse sequence, the second switch S2 is turned on, and in response to the low level between the pulses, the second switch S2 is turned off. The first end of the first capacitor C1 is connected to the first node N1, and the second end is connected to the second node N2, and the second node N2 serves as the output end of the power carrier signal generating circuit 140. The first capacitor C1 allows high-frequency signals to pass. The width of the pulse and the duration of the low level between pulses make the first power carrier signal generated by the on and off of the second switch S2 a high-frequency signal, which is loaded onto the DC voltage output by the DC-DC converter 130 through the first capacitor C1. It can be understood that the first power carrier signal generating circuit 140 can also have other implementation forms.
[0034] Figure 2 The figure also shows the feedback voltage FB of the DC-DC converter 130. A fourth resistor R4 and a fifth resistor R5 are provided between the output terminal of the DC-DC converter 130 and the ground. The fourth resistor R4 and the fifth resistor R5 are voltage-dividing resistors, and the feedback voltage FB is proportional to the output voltage of the DC-DC converter 130. The DC-DC converter 130 makes the output DC voltage a target value based on the feedback voltage FB.
[0035] The input end of the power carrier signal receiving circuit 150 is connected to the DC input interface 121, and the output end of the power carrier signal receiving circuit 150 is connected to the pin 112 of the controller 110. The power carrier signal receiving circuit 150 is configured to detect a second power carrier signal from the DC voltage received by the DC input interface 121. If the second power carrier signal cannot be detected from the DC voltage received by the DC input interface 121, it can be determined that the DC output interface 131 and the DC input interface 121 are not connected to each other. If the second power carrier signal is detected from the DC voltage received by the DC input interface 121, the power carrier signal receiving circuit 150 obtains a second signal according to the second power carrier signal, and sends the second signal to the controller 110. When the DC output interface 131 and the DC input interface 121 are connected, the second signal and the first signal have the same form, for example, a pulse width modulation signal. The controller 110 obtains the second code carried by the second signal from the second signal, and determines whether the second code is the same as the first code. In response to determining that the second code is the same as the first code, the controller 110 determines that the DC output interface 131 and the DC input interface 121 are connected to each other.
[0036] Figure 3 An exemplary circuit diagram of a power carrier signal receiving circuit 150 is shown. The power carrier signal receiving circuit 150 includes: a DC isolation circuit 151 and a shaping circuit 152. The DC isolation circuit 151 is configured to obtain a second power carrier signal from a DC signal received by the DC input interface 121. The shaping circuit 152 is configured to convert the second power carrier signal into a second signal. In some embodiments, the shaping circuit 152 is configured to determine whether the voltage of the second power carrier signal is within a predetermined range. In response to determining that the voltage of the second power carrier signal is within the predetermined range, the shaping circuit outputs a high level.
[0037] The DC isolation circuit 151 includes a second capacitor C2. The second capacitor C2 can filter out DC voltage and low-frequency AC signals and allow high-frequency AC signals to pass through. The DC input interface 121 includes a positive electrode and a negative electrode. The first electrode of the second capacitor C2 is connected to the positive electrode of the DC input interface 121. The second capacitor C2 filters out the DC signal and retains the second power carrier signal. The power carrier signal receiving circuit 150 also includes a transient suppression diode TVS, which is arranged between the second electrode of the second capacitor C2 and the ground for rapid overvoltage protection. The power carrier signal receiving circuit 150 also includes a third capacitor C3 and a third resistor R3. The third capacitor C3 and the third resistor R3 are both arranged between the second electrode of the second capacitor C2 and the ground.
[0038] The exemplary shaping circuit 152 includes: a first comparator Com1, a second comparator Com2 and a NOR gate 153. The first comparator Com1 includes a first input terminal, a second input terminal and an output terminal. The first input terminal is the positive input terminal of the first comparator Com1, and the second input terminal is the negative input terminal of the first comparator Com1. The first input terminal is connected to the second pole of the second capacitor C2, and the second input terminal receives the first reference voltage Vref1. The first reference voltage Vref1 is obtained by, for example, voltage division by the sixth resistor R6 and the seventh resistor R7. When the voltage of the second power carrier signal is greater than the first reference voltage Vref1, the first comparator Com1 outputs a high level, and when the voltage of the second power carrier signal is less than the first reference voltage Vref1, the first comparator Com1 outputs a low level. The second comparator Com2 includes a first input terminal, a second input terminal and an output terminal. The first input terminal is the positive input terminal of the second comparator Com2, and the second input terminal is the negative input terminal of the second comparator Com2. The second input terminal is connected to the second pole of the second capacitor C2, and the first input terminal receives the second reference voltage Vref2. The second reference voltage Vref2 is obtained by voltage division of the eighth resistor R8 and the ninth resistor R9. When the voltage of the second power carrier signal is greater than the second reference voltage Vref2, the second comparator Com2 outputs a low level, and when the voltage of the second power carrier signal is less than the second reference voltage Vref2, the second comparator Com2 outputs a high level. The first reference voltage Vref1 is greater than the second reference voltage Vref2. The output end of the first comparator Com1 is connected to the first input end of the NOR gate 153, the output end of the second comparator Com2 is connected to the second input end of the NOR gate 153, and the output end of the NOR gate 153 is connected to the pin 112 of the controller 110. The second power carrier signal is a signal that changes with time. When the voltage of the second power carrier signal is greater than the second reference voltage Vref2 and less than the first reference voltage Vref1, the NOR gate 153 outputs a high level. That is, when the voltage of the second power carrier signal is within the preset range (Vref1, Vref2), the NOR gate 153 outputs a high level; when the voltage of the second power carrier signal is outside the preset range (Vref1, Vref2), the NOR gate 153 outputs a low level. Through the shaping circuit 152, the second power carrier signal is changed from an AC signal to a pulse sequence consisting of high and low levels, that is, a second pulse sequence. The second pulse sequence is an exemplary form of the second signal. By using two voltage comparators to perform interval comparison, only pulses with amplitudes close to the first power carrier signal generated by the power carrier signal generating circuit 140 will trigger the NOR gate 153 to output a high level.
[0039] The controller 110 receives the second signal through the pin 112. Figure 4As shown, the pulse width of each pulse in the second signal is obtained by the ICP capture function of the timer 115 to determine the value of the corresponding bit, thereby converting the second signal into a second code. The timer 115 sends the second code to the processor 113. The timer 115 also counts the number of pulses, that is, counts the number of bits of the second code. The processor 113 knows the number of bits of the first code, and when the number of bits of the second signal reaches a predetermined number, the second code can be formed, and the predetermined number is, for example, the number of bits of the first code. The processor 113 compares whether the first code and the second code are the same. When the processor 113 determines that the first code and the second code are the same, the processor 113 determines that the DC output interface 131 and the DC input interface 121 are connected incorrectly, and the user uses the charging cable incorrectly, causing self-discharge. In some embodiments, when the processor 113 determines that the first code and the second code are the same, the controller 110 sends the first signal to the power carrier signal generating circuit 140 again, the power carrier signal generating circuit 140 generates the first power carrier signal again, and the controller 110 determines whether the second code received again is the same as the first code. Through the two sending-verification processes, misjudgment can be avoided.
[0040] In some embodiments, the controller 110 sends a first signal at a certain frequency. For example, the controller 110 sends a first signal to the power carrier signal generating circuit 140 every 2 seconds. The power carrier signal generating circuit 140 generates a first power carrier signal. The controller 110 determines whether the second code is the same as the first code at a certain frequency.
[0041] In some embodiments, the mobile power supply device further includes a first switch S1, which is arranged between the output end of the DC-DC converter 130 and the DC output interface 131. When power is supplied to the outside through the DC-DC converter 130, the first switch is turned on. When the controller 110 determines that the DC output interface 131 and the DC input interface 121 are incorrectly connected, the controller 110 sends a signal, and the first switch S1 is disconnected to achieve the purpose of protection. For example, the first end of the first switch is connected to the output end of the DC-DC converter 130 and the output end of the power carrier signal generating circuit 140, and the second end is connected to the DC output interface 131. By such a setting, when the first switch S1 is disconnected, neither the DC-DC converter 130 nor the power carrier signal generating circuit 140 is connected to the DC output interface 131.
[0042] In some embodiments, the mobile power supply device 10 further includes a display screen. The display screen is used to display the power level of the battery 100. When the controller 110 determines that the DC output interface 131 and the DC input interface 121 are incorrectly connected, the controller 110 causes the display screen to display a prompt message to remind the user that the self-discharge occurs due to incorrect use of the charging cable. The form of the prompt message is not limited.
[0043] In some embodiments, the mobile power supply device 10 further includes an LED light. When the controller 110 determines that the DC output interface 131 and the DC input interface 121 are incorrectly connected, the controller 110 causes the LED light to issue a prompt message, such as flashing the LED light.
[0044] In some embodiments, the mobile power supply device 10 further includes a speaker. When the controller 110 determines that the DC output interface 131 and the DC input interface 121 are incorrectly connected, the controller 110 causes the speaker to emit a prompt voice.
[0045] Figure 5 FIG. 1 is an exemplary structural block diagram of another mobile power supply device provided in an embodiment of the present application. Figure 5 In the illustrated embodiment, the mobile power device 10 includes: a controller 110, a charger 120, a DC-DC converter 130, a DC-AC converter 160, a power carrier signal generating circuit 140, a power carrier signal receiving circuit 150, a power bus 101, and a charger 170. The mobile power device 10 does not include a battery for supplying power to external electrical devices. The mobile power device 10 is connected to a battery pack 20, the battery pack 20 includes a battery 200, the mobile power device 10 serves as a control device for the battery pack 20, and the charging and discharging of the battery 200 is realized by the mobile power device 10. The mobile power device 10 includes an interface 102, the battery pack 20 includes an interface 201, and the power bus 101 of the mobile power device 10 is connected to the battery 200 through the interface 102 and the interface 201.
[0046] The present application also provides a misconnection detection method for a mobile power device. The mobile power device is, for example, the mobile power device 10 of the above embodiment. The mobile power device includes a first interface and a second interface, the first interface is used to provide power to an external load, and the second interface is used to connect to an external power source. The first interface is a power output interface, and the second interface is a power input interface. The misconnection detection method is executed by a controller 110, a power carrier signal generating circuit 140, and a power carrier signal receiving circuit 150. The misconnection detection method includes: outputting a first DC signal carrying a first power carrier signal through a first interface; receiving a second DC signal from a second interface, and obtaining a second power carrier signal from the second DC signal; judging whether the first power carrier signal and the second power carrier signal are the same; when the first power carrier signal and the second power carrier signal are the same, judging that the first interface and the second interface are erroneously directly connected. In one embodiment, the specific steps of the misconnection detection method are as follows. The controller 110 generates a first signal carrying a first code; the power carrier signal generating circuit 140 generates a first power carrier signal carrying the first code based on the first signal; the DC-DC converter 130 outputs a first DC signal through the first interface, so that the first power carrier signal is loaded on the first DC signal; the power carrier signal receiving circuit 150 receives a second DC signal from the second interface and obtains a second power carrier signal from the second DC signal; the power carrier signal receiving circuit 150 obtains a second signal from the second power carrier signal; the controller 110 obtains a second code from the second signal; and in response to determining that the second code is the same as the first code, the controller 110 determines that the first interface and the second interface are directly connected. In some embodiments, the misconnection detection method further includes: when the first power carrier signal and the second power carrier signal are the same, outputting the first DC signal carrying the first power carrier signal again through the first interface, and determining whether the second power carrier signal carried by the second DC signal received again is the same as the first power carrier signal.
[0047] In the scheme of the embodiment of the present invention, based on the power carrier communication technology, a power carrier signal carrying a first code is loaded on the DC voltage output by the DC output interface, and a power carrier signal receiving circuit is set at the DC input interface. The power carrier signal receiving circuit is used to detect the power carrier signal from the DC voltage input to the DC input interface, and obtain the second code from the power carrier signal. When the second code is the same as the first code, the controller determines that the DC input interface and the DC output interface are connected. Based on the power carrier communication technology, the present invention loads the identification data to the discharge end and identifies it at the charging end. When the discharge end and the charging end are connected incorrectly, the charging and discharging will be automatically stopped, and the automatic foolproofing will be prevented to prevent unnecessary power waste and risks. The mobile power supply device and the misconnection detection method of the present invention use the power carrier technology to detect the self-discharge problem of the power supply caused by the wrong plugging during the use of the mobile power supply device. The power carrier signal generating circuit 140 and the power carrier signal receiving circuit 150 use fewer devices, and use the timer and random number generator of the controller to generate the first code and the first signal. The hardware implementation cost and software implementation cost are low, simple and efficient, durable and reliable.
[0048] It should be noted that in the description of the present invention, the terms "first" and "second" are only used to facilitate the description of different components or names, and cannot be understood as indicating or implying a sequential relationship, relative importance, or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0050] It should be noted that although the specific embodiments of the present invention are described in detail in conjunction with the accompanying drawings, it should not be understood as limiting the scope of protection of the present invention. Within the scope described in the claims, various modifications and variations that can be made by those skilled in the art without creative work still belong to the scope of protection of the present invention.
[0051] The examples of the embodiments of the present invention are intended to concisely illustrate the technical features of the embodiments of the present invention so that those skilled in the art can intuitively understand the technical features of the embodiments of the present invention, and are not intended to be improper limitations of the embodiments of the present invention.
[0052] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A mobile power supply device, include: A first interface, used for connecting to an external load; The second interface is used to connect to an external power source; A controller configured to generate a first signal carrying a first code; a DC-DC converter, wherein an output end of the DC-DC converter is connected to the first interface; A charger, wherein an input end of the charger is connected to the second interface; a power carrier signal generating circuit, wherein an input end of the power carrier signal generating circuit is connected to the controller, an output end of the power carrier signal generating circuit is connected to the first interface, and the power carrier signal generating circuit is configured to receive the first signal and generate a first power carrier signal carrying the first code according to the first signal; as well as a power carrier signal receiving circuit, wherein the input end of the power carrier signal receiving circuit is connected to the second interface, the output end of the power carrier signal receiving circuit is connected to the controller, the power carrier signal receiving circuit is configured to obtain a second power carrier signal from a DC signal received by the second interface, obtain a second signal according to the second power carrier signal, and send the second signal to the controller, The controller is further configured to obtain a second code from the second signal, and determine whether the first interface and the second interface are connected according to the second code and the first code.
2. The mobile power supply device according to claim 1, in, The mobile power supply device also includes a battery, which is connected to the input end of the DC-DC converter and the output end of the charger.
3. The mobile power supply device according to claim 1, in, The controller is used for determining that the first interface is connected to the second interface when the second code is the same as the first code.
4. The mobile power supply device according to claim 1, in, The controller is used for sending the first signal to the power carrier signal generating circuit again when the second code is the same as the first code, and determining whether the second code carried by the second signal received again is the same as the first code.
5. The mobile power supply device according to claim 1, in, The mobile power supply device also includes a first switch, which is arranged between the output end of the DC-DC converter and the first interface. When the controller determines that the first interface and the second interface are connected, the first switch is disconnected.
6. The mobile power supply device according to claim 1, in, The controller is used to generate prompt information when the first interface and the second interface are connected.
7. The mobile power supply device according to claim 1, in, The first code is a binary code, and the first signal is a pulse width modulation signal.
8. The mobile power supply device according to claim 7, in, The controller includes a random number generator for generating a random number including the first code.
9. The mobile power supply device according to claim 7, in, The first signal is a first pulse sequence, the first pulse sequence includes pulses corresponding to the first coded bits, the first coded bits take a first value, the corresponding pulses in the first pulse sequence have a first duration, the first coded bits take a second value, and the corresponding pulses in the first pulse sequence have a second duration.
10. The mobile power supply device according to claim 9, in, The power carrier signal generating circuit includes: a first resistor, a second resistor, a second switch and a first capacitor, wherein the first resistor and the first capacitor are connected in parallel between the first interface and the first node, the second resistor and the second switch are connected in series between the first node and the ground, and the second switch is turned on in response to the pulses of the first pulse sequence.
11. The mobile power supply device according to claim 9, in, The power carrier signal receiving circuit includes: a DC isolation circuit and a shaping circuit, the DC isolation circuit is configured to obtain the second power carrier signal from the DC signal received by the second interface, and the shaping circuit is configured to obtain the second signal based on the second power carrier signal.
12. The mobile power supply device according to claim 11, in, The shaping circuit is configured to determine whether the voltage of the second power carrier signal is within a predetermined range. In response to determining that the voltage of the second power carrier signal is within the predetermined range, the shaping circuit outputs a high level.
13. The mobile power supply device according to claim 11, in, The DC blocking circuit includes a second capacitor, and the shaping circuit includes: a first comparator, a second comparator and a NOR gate. The first comparator is configured to compare the voltage of the second power carrier signal with a first reference voltage, the second comparator is configured to compare the voltage of the second power carrier signal with a second reference voltage, the first reference voltage is greater than the second reference voltage, The output end of the first comparator is connected to the first input end of the NOR gate, the output end of the second comparator is connected to the second input end of the NOR gate, and the output end of the NOR gate is connected to the controller.
14. A misconnection detection method for a mobile power supply device, the mobile power supply device comprising a first interface and a second interface, the first interface being used to provide power to an external load, the second interface being used to connect to an external power source, the misconnection detection method include: Outputting a first direct current signal carrying a first power carrier signal through the first interface; receiving a second DC signal from the second interface, and obtaining a second power carrier signal from the second DC signal; Determining whether the first power carrier signal and the second power carrier signal are the same; When the first power carrier signal and the second power carrier signal are the same, it is determined that the first interface and the second interface are erroneously directly connected.
15. The misconnection detection method according to claim 14, It is characterized in that Also includes: Generate a first signal carrying a first code, and generate the first power carrier signal carrying the first code based on the first signal; as well as obtain a second signal from the second power carrier signal, obtain a second code from the second signal, The first power carrier signal and the second power carrier signal being the same includes: the second encoding being the same as the first encoding.
16. The misconnection detection method according to claim 14, It is characterized in that Also includes: When the first power carrier signal is identical to the second power carrier signal, the first DC signal carrying the first power carrier signal is output again through the first interface, and it is determined whether the second power carrier signal carried by the second DC signal received again is identical to the first power carrier signal.
Citation Information
Patent Citations
Circuit for automatically detecting power supply interface and method of detecting safety grating power supply interface
CN104849607A
Error wiring detector for air conditioner
CN1444047A