Diode existence detection circuit and system and power supply equipment
By designing the diode detection circuit of the comparison unit and the voltage divider unit, the diode detection process is simplified, the problems of complex and cost in the prior art are solved, and high accuracy and low cost diode detection are achieved.
Patent Information
- Application Number
- CN202411425250.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-14
AI Technical Summary
In the prior art, diode detection methods are complex, costly, and require a variety of signal processing, including isolation, voltage division and filtering, resulting in increased circuit complexity and cost.
A diode presence detection circuit is designed, including a comparison unit and a voltage divider unit. The control guide signal of the power supply device is received by the comparison unit to compare with the preset comparison voltage, generate a detection signal, and perform the detection signal through the voltage divider unit. Voltage division is sent directly to the control input of the power supply device to perform diode existence detection, simplifying judgment logic, and reducing circuit complexity.
The accuracy and stability of diode detection are achieved, the circuit cost is reduced, the judgment logic is simplified, signal sampling is avoided, and the detection reliability is improved.
Smart Images

Figure CN119310363A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicle charging and discharging, and in particular to a diode existence detection circuit, system and power supply equipment. Background Art
[0002] The power supply equipment (such as a charging pile) is connected to the power-consuming equipment through a control pilot circuit. The control pilot function signal (CP) in the control pilot circuit can monitor the interaction between the power supply equipment and the power-consuming equipment. The control pilot circuit mainly uses a pulse width modulation signal (PWM) with a frequency of 1KHZ for communication. If there is a diode on the control pilot circuit of the power supply equipment in a connected state, that is, when the power supply equipment is connected to a power-consuming equipment containing a diode, the negative voltage loop of the PWM signal is disconnected, otherwise it is the opposite. Since the power supply equipment reacts differently to different types of connected power-consuming equipment, it becomes particularly important to detect the diode when the charging equipment is connected to the power-consuming equipment.
[0003] In the prior art, the diode detection architecture usually consists of two parts: signal processing and sampling. Before the PWM signal is input for sampling, it needs to undergo a series of processing including isolation, voltage division, filtering, etc., so that the signal to be tested is in a suitable state to be sampled by the AC charging pile, and then judged by the microcontroller. The existing detection method requires multiple processing of the PWM signal, and the circuit is complex and the cost is high. Summary of the invention
[0004] The purpose of the present application is to provide a diode existence detection circuit, system and power supply equipment to improve the accuracy of the diode existence detection circuit in view of the deficiencies in the above-mentioned prior art.
[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0006] In a first aspect, an embodiment of the present application provides a diode existence detection circuit, the circuit comprising: a comparison unit and a voltage division unit;
[0007] The input end of the comparison unit is used to connect to the voltage output end of the power supply device, the output end of the comparison unit is connected to the input end of the voltage divider unit, and the voltage output end of the power supply device is also connected to the load to be charged;
[0008] The output end of the voltage dividing unit is used to connect to the control input end of the power supply device;
[0009] The comparison unit is used to receive a control guidance signal output by the voltage output terminal of the power supply device, compare the control guidance signal with a preset comparison voltage, generate a first detection signal according to the comparison result, and output the first detection signal to the voltage divider unit, wherein the first detection signal is used to indicate whether there is a diode in the load;
[0010] The voltage dividing unit is used to divide the first detection signal to obtain a voltage dividing signal, and send the voltage dividing signal to the control input terminal of the power supply device, so that the power supply device detects whether there is a diode in the load according to the voltage dividing signal.
[0011] Optionally, the comparison unit includes: a first voltage dividing module and a voltage comparison module;
[0012] The positive input terminal of the voltage comparison module is connected to the first voltage dividing module, the negative input terminal of the voltage comparison module is connected to the voltage output terminal of the power supply device, the output terminal of the voltage comparison module is connected to the input terminal of the voltage dividing unit, and the power input terminal of the voltage comparison module is connected to an external power supply;
[0013] The first voltage dividing module is used to provide a preset comparison voltage to the voltage comparing module.
[0014] Optionally, the comparison unit further includes: a filtering module;
[0015] One end of the filter module is connected to the power input end of the voltage comparison module, and the other end of the filter module is grounded;
[0016] The filtering module is used to filter the noise of the external power supply.
[0017] Optionally, the first voltage dividing module includes: a first resistor and a second resistor;
[0018] One end of the first resistor is connected to one end of the second resistor, and one end of the first resistor is connected to the positive input end of the voltage comparison module;
[0019] The other end of the first resistor is used to be connected to the negative electrode of the external power supply, and the other end of the second resistor is grounded.
[0020] Optionally, the filtering module includes: a first filtering capacitor and a second filtering capacitor;
[0021] One end of the first filter capacitor is connected to the positive electrode of the external power supply and the positive power input terminal of the voltage comparison module respectively, and the other end of the first filter capacitor is grounded;
[0022] One end of the second filter capacitor is respectively connected to the negative electrode of the external power supply and the negative power input terminal of the voltage comparison module, and the other end of the second filter capacitor is grounded.
[0023] Optionally, the voltage dividing unit includes: a first diode and a second voltage dividing module;
[0024] The anode of the first diode is connected to the output end of the comparison unit, and the cathode of the first diode is connected to the first end of the second voltage divider module;
[0025] The second end of the second voltage dividing module is grounded, and the third end of the second voltage dividing module is connected to the control input end of the power supply device.
[0026] Optionally, the second voltage dividing module includes: a fourth resistor and a fifth resistor;
[0027] One end of the fourth resistor is connected to the cathode of the first diode, the other end of the fourth resistor is connected to one end of the fifth resistor, the other end of the fifth resistor is grounded, and the other end of the fourth resistor is connected to the control input end of the power supply device.
[0028] In a second aspect, an embodiment of the present application further provides a power supply device, comprising the diode existence detection circuit, microcontroller and control guidance unit described in the first aspect.
[0029] Optionally, the input end of the microcontroller serves as the control input end of the power supply device; the input end of the microcontroller is used to receive a voltage divider signal output by a voltage divider unit in the diode existence detection circuit, and analyze and process the voltage divider signal to determine whether there is a diode in the load.
[0030] In a third aspect, an embodiment of the present application further provides a diode existence detection system, the diode existence detection system comprising: the power supply device described in the second aspect and a load to be charged.
[0031] The beneficial effects of this application are:
[0032] The present application provides a diode existence detection circuit, system and power supply device. By connecting the input end of the comparison unit to the voltage output end of the power supply device, a control guidance signal output by the voltage output end of the power supply device when the power supply device is connected to the load to be charged can be received, and then the control guidance signal is compared with the preset comparison voltage, and a first detection signal is generated according to the comparison processing result, and the first detection signal is output to the voltage divider unit, so that the voltage divider unit divides the first detection signal to obtain a voltage divider signal, and sends the voltage divider signal to the control input end of the power supply device, so that the power supply device detects whether there is a diode in the load according to the voltage divider signal. Then, the existence of the diode is judged in two stages by the comparison unit and the voltage divider unit, firstly, a detection is performed by the comparison unit, and then the first detection signal is shaped by the voltage divider unit to meet the input requirements of the control input end of the power supply device, and finally the final detection result is obtained by the power supply device. The whole process does not require signal sampling and processing, the judgment logic is simple, the circuit cost is reduced, and the stability of the detection is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A schematic diagram of the structure of a diode presence detection circuit provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the structure of a power supply device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0040] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0041] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0042] Figure 1 A schematic diagram of a diode presence detection circuit provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the diode existence detection circuit may include: a comparison unit 100 and a voltage dividing unit 200 .
[0043] like Figure 1 As shown, the input end of the comparison unit 100 is used to connect to the voltage output end of the power supply device, the output end of the comparison unit 100 is connected to the output end of the voltage divider unit 200, the voltage output end of the power supply device is also connected to the load to be charged, and the output end of the voltage divider unit 200 is used to connect to the control input end of the power supply device.
[0044] The power supply device may be a charging pile, and the load to be charged may include different loads such as electric vehicles and simulated charging loads.
[0045] Optionally, when the loads to be charged connected to the power supply device are different, the control pilot signals output from the voltage output terminal of the power supply device are different. This is because after the load to be charged is connected to the power supply device, it can divide the PWM signal output by the power supply device, so that the power supply device outputs the divided PWM signal from the voltage output terminal, and this divided PWM signal is used as the control pilot signal. Therefore, when the power supply device is connected to different loads to be charged, the control pilot signals output from the voltage output terminal of the power supply device are different.
[0046] Optionally, the comparison unit 100 can receive the control pilot signal output from the voltage output terminal of the power supply device, and compare the control pilot signal with a preset comparison voltage. Specifically, the voltage value of the control pilot signal can be compared with the preset comparison voltage to obtain a comparison result, and a first detection signal is generated according to the comparison result and output to the voltage division unit 200 connected to the comparison unit 100.
[0047] Among them, the first detection signal can indicate whether there is a diode in the load to be charged connected to the power supply device, and the first detection signal can include a forward voltage value and a negative voltage value.
[0048] Optionally, if the voltage value of the control pilot signal is represented by U2 and the preset comparison voltage is represented by U3, the comparison result can include greater than or less than. Specifically, it can be that the voltage value of the control pilot signal is greater than the preset comparison voltage, that is, U2>U3, or the voltage value of the control pilot signal is less than the preset comparison voltage, that is, U2<U3.
[0049] Optionally, a first detection signal Uo is generated according to the comparison result. Specifically, if U2>U3, the first detection signal is a negative voltage value, for example, Uo = -12V; if U2<U3, the first detection signal is a positive voltage value, for example, Uo = +12V. Among them, if the first detection signal is a negative voltage value, it means that there is no diode in the load to be charged connected to the power supply device, and the load to be charged connected to the power supply device is other load devices except electric vehicles; if the first detection signal is a positive voltage value, it means that there is a diode in the load to be charged connected to the power supply device, and the load to be charged connected to the power supply device is an electric vehicle.
[0050] Optionally, after the comparison unit 100 generates a first detection signal, the first detection signal is sent to the voltage divider unit 200. After receiving the first detection signal, the voltage divider unit 200 can divide the first detection signal to obtain a voltage divider signal, and send the voltage divider signal to the control input end of the power supply device, so that the power supply device can detect whether there is a diode in the load according to the voltage divider signal. Specifically, if the control input end of the power supply device receives the voltage divider signal, it means that the load to be charged connected to the power supply device contains a diode, and the load to be charged connected to the power supply device is an electric vehicle; if the control input end of the power supply device does not receive the voltage divider signal, it means that there is no diode in the load to be charged connected to the power supply device, and the load to be charged connected to the power supply device is other load equipment that is not an electric vehicle.
[0051] The voltage-divided signal obtained by the voltage-dividing unit 200 satisfies the voltage input range of the control input terminal of the power supply device. For example, if the voltage input range of the control input terminal of the power supply device is 0V to 3.3V, the voltage of the voltage-divided signal is within 0V to 3.3V. The control input terminal of the power supply device can adopt GPIO input, and there is no need to sample the voltage-divided signal.
[0052] In this embodiment, by connecting the input end of the comparison unit to the voltage output end of the power supply device, a control guidance signal output by the voltage output end of the power supply device when the power supply device is connected to the load to be charged can be received, and then the control guidance signal is compared with the preset comparison voltage, and a first detection signal is generated according to the comparison processing result, and the first detection signal is output to the voltage divider unit, so that the voltage divider unit divides the first detection signal to obtain a voltage divider signal, and sends the voltage divider signal to the control input end of the power supply device, so that the power supply device detects whether there is a diode in the load according to the voltage divider signal. The existence of the diode is judged in two stages by the comparison unit and the voltage divider unit, firstly a detection is performed by the comparison unit, and then the first detection signal is shaped by the voltage divider unit to meet the input requirements of the control input end of the power supply device, and finally the power supply device obtains the final detection result. The whole process does not require signal sampling and processing, the judgment logic is simple, the circuit cost is reduced, and the stability of the detection is improved.
[0053] Figure 2 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the comparison unit 100 may include: a first voltage dividing module 101 and a voltage comparison module 102 .
[0054] like Figure 2As shown, the positive input terminal of the voltage comparison module 102 can be connected to the first voltage divider module 101, the negative input terminal of the voltage comparison module 102 can be connected to the voltage output terminal of the power supply device to receive the control guidance signal output from the voltage output terminal of the power supply device, the output terminal of the voltage comparison module 102 can be connected to the input terminal of the voltage divider unit 200, and the power input terminal of the voltage comparison module 102 can be connected to an external power supply, which can supply power to the voltage comparison module.
[0055] Optionally, the first voltage dividing module 101 may provide a preset comparison voltage to the voltage comparing module 102 . Specifically, the preset comparison voltage may be input into the voltage comparing module 102 through the positive input terminal of the voltage comparing module 102 .
[0056] Continue as Figure 2 As shown, the comparison unit 100 may further include: a filtering module 103.
[0057] like Figure 2 As shown, one end of the filter module 103 can be connected to the power input end of the voltage comparison module 102, and the other end of the filter module 103 can be grounded, wherein the filter module 103 can filter the noise of the external power supply, thereby providing a stable power supply to the voltage comparison module 102.
[0058] Figure 3 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the first voltage dividing module 101 may include: a first resistor 1011 and a second resistor 1012 .
[0059] like Figure 3 As shown, one end of the first resistor 1011 can be connected to one end of the second resistor 1012, and one end of the first resistor 1011 can be connected to the positive input end of the voltage comparison module 102, the other end of the first resistor 1011 can be connected to the negative pole of the external power supply, and the other end of the second resistor 1012 can be grounded.
[0060] Optionally, the negative power supply can be divided by the first resistor and the second resistor to obtain a preset comparison voltage. Specifically, the preset comparison voltage U3 = (-12 -0) * R2 / (R1 + R2), where R1 is the resistance of the first resistor, R2 is the resistance of the second resistor, and the voltage of the negative power supply is -12V.
[0061] Continue as Figure 3 As shown, the filter module 103 may include a first filter capacitor 1031 and a second filter capacitor 1032 .
[0062] like Figure 3As shown, one end of the first filter capacitor 1031 can be connected to the positive electrode of the external power supply and the positive power input terminal of the voltage comparison module 102, respectively, and the other end of the first filter capacitor 1031 can be grounded. One end of the second filter capacitor 1032 can be connected to the negative electrode of the external power supply and the negative power input terminal of the voltage comparison module 102, respectively, and the other end of the second filter capacitor 1032 can be grounded. Among them, the negative electrode of the external power supply can provide a voltage of -12V, and the positive electrode of the external power supply can provide a voltage of +12V.
[0063] In this embodiment, the positive power supply is filtered by the first filter capacitor, and the negative power supply is filtered by the second filter capacitor, so that the power supply input to the voltage comparison module is more stable.
[0064] Figure 4 A schematic diagram of another diode presence detection circuit provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the voltage dividing unit 200 may include: a first diode 201 and a second voltage dividing module 202 .
[0065] like Figure 4 As shown, the anode of the first diode 201 can be connected to the output end of the comparison unit 100, and the cathode of the first diode 201 can be connected to the first end of the second voltage divider module 202. The second end of the second voltage divider module 202 is grounded, and the third end of the second voltage divider module 202 can be connected to the control input end of the power supply device, and the voltage division signal can be transmitted to the control input end of the power supply device through the third end of the second voltage divider module 202.
[0066] Continue to refer to Figure 4 The second voltage divider module 202 mentioned above may include: a fourth resistor 2020 and a fifth resistor 2021.
[0067] like Figure 4 As shown, the anode of the first diode 201 can be connected to the output end of the comparison unit 100. Specifically, the anode of the first diode 201 can be connected to the output end of the voltage comparison module 102 of the comparison unit 100, and the cathode of the first diode 201 can be connected to one end of the fourth resistor 2020. Then, the first detection signal output by the voltage comparison module 102 can be input into the voltage divider unit 200 through the first diode 201.
[0068] Optionally, since the first diode 201 is unidirectionally conductive, the first detection signal may include a forward voltage value and a negative voltage value. Therefore, only the forward voltage value +12V in the first detection signal can be input into the voltage divider unit 200 through the first diode 201 for voltage division processing. At this time, the negative voltage value of the first detection signal output by the comparison unit 100 is isolated.
[0069] Continue to refer to Figure 4 The other end of the fourth resistor 2020 can be connected to one end of the fifth resistor 2021, the other end of the fifth resistor 2021 can be grounded, and the other end of the fourth resistor 2020 can be connected to the control input end of the power supply device, and the voltage divided signal after dividing the forward voltage value of the first detection signal is output through the other end of the fourth resistor 2020.
[0070] Optionally, since the control input terminal of the power supply device is the input port GPIO of the microcontroller described below, and the input voltage range of the microcontroller port is between 0 and 3.3V, in order to protect the microcontroller, the fourth resistor and the fifth resistor are used to divide the voltage of the first detection signal output by the comparison unit to be within the input voltage range of the input port GPIO of the microcontroller, so that the microcontroller can judge the divided voltage signal to determine whether there is a diode in the load to be charged connected to the power supply device.
[0071] The embodiment of the present application further provides a power supply device 300, Figure 5 A schematic diagram of a power supply device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the power supply device 300 includes the diode existence detection circuit in the above-mentioned specific implementation, a microcontroller 301 and a control guidance unit 302.
[0072] like Figure 5 As shown, the output end of the microcontroller 301 is connected to one end of the control guidance unit 302, the other end of the control guidance unit 302 can be connected to the input end of the diode existence detection circuit, and the output end of the diode existence detection circuit can be connected to the input end of the microcontroller 301. Specifically, the other end of the control guidance unit 302 can be connected to the input end of the comparison unit 100 in the diode existence detection circuit, and the output end of the voltage dividing unit 200 can be connected to the input end of the microcontroller 301.
[0073] Optionally, the microcontroller 301 can output a +12 and / or ±12V PWM signal based on the power supply device, and the control guidance unit 302 can process the PWM signal based on the connection status between the power supply device and the load to be charged and the type of the load to be charged, and output a control guidance signal corresponding to the connection status and the type of the load to be charged, and output the control guidance signal to the diode existence detection circuit. The voltage divider unit 200 in the diode existence detection circuit can output a voltage divider signal to the microcontroller, and the microcontroller analyzes and processes the voltage divider signal to determine whether there is a diode in the load.
[0074] Optionally, the input end of the microcontroller can serve as a control input end of the power supply device, and the input end of the microcontroller can be used to receive a voltage divider signal output by the voltage divider unit 200 in the diode presence detection circuit, and analyze and process the voltage divider signal to determine whether there is a diode in the load.
[0075] In this embodiment, the microcontroller uses GPIO input, which eliminates the need for analog sampling and has simple judgment logic, thus saving microcontroller resources and programming difficulty.
[0076] An embodiment of the present application further provides a diode existence detection system, which may include the aforementioned power supply device and a load to be charged.
[0077] Optionally, the voltage output terminal of the power supply device may be connected to a load to be charged. When the power supply device is connected to the load to be charged, the voltage output terminal of the power supply device may output different voltages of control guidance signals according to different connected loads to be charged, and the diode existence detection circuit in the power supply device may compare and process the control guidance signals output by the power supply device, thereby determining whether there is a diode in the load to be charged connected to the power supply device.
[0078] Optionally, the principle of the voltage comparison module 102 is as follows:
[0079] Optionally, according to the requirements for diode presence detection in GB / T 18487.1-2023, before the power supply device turns on the AC power supply circuit, it is necessary to detect the presence of the diode at least once from state X (X=1, 2, 3) to state X' or during state X'. Since there is a load to be charged with a diode, such as an electric vehicle, the diode in the electric vehicle can only pass the forward voltage but not the negative voltage. Therefore, in the control pilot signal output from the voltage output terminal of the power supply device, only the forward voltage will pass through the diode, and then be divided by the resistor in the electric vehicle to produce an amplitude change. Among them, state 1 refers to the state in which the power supply device is not connected to the load to be charged; state 2 refers to the state in which the power supply device is connected to the load to be charged, but the power supply device is not ready to charge; state 3 refers to the state in which the power supply device is connected to the load to be charged, but the power supply device is not ready to charge, and the load to be charged is ready to charge; state 1' does not appear under normal circumstances; state 2' refers to the state in which, after the power supply device is connected to the load to be charged, the power supply device is ready to charge, but the load to be charged is not ready to charge; state 3' refers to the state in which, after the power supply device is connected to the load to be charged, both the power supply device and the load to be charged are ready to charge.
[0080] Optionally, when there is a diode in the load to be charged, the voltage value of the control guide signal output by the voltage output terminal of the power supply device in the 2' state is a +9V PWM signal or a -12V PWM signal, and the voltage value of the control guide signal output by the voltage output terminal of the power supply device in the 3' state is a +6V PWM signal or a -12V PWM signal; when there is no diode in the load to be charged, the voltage value of the control guide signal output by the voltage output terminal of the power supply device in the 2' state is a ±9V PWM signal, and the voltage value of the control guide signal output by the voltage output terminal of the power supply device in the 3' state is a ±6V PWM signal.
[0081] The voltage value at the voltage output terminal of the power supply device can be a waveform of +12V, +9V or +6V, but the voltage value of -12V will not change due to the voltage division effect of the resistor. Therefore, when the charging process is in state 1', state 2', state 3', the voltage value at the voltage output terminal of the power supply device always has a voltage value of -12V. If there is no diode in the load to be charged, the positive and negative voltages in the ±12V waveform signal output from the voltage output terminal of the power supply device will reach the load to be charged, and will be divided by the resistors in the load to be charged. The voltage value at the voltage output terminal of the power supply device is a waveform of ±9V or ±6V, which is significantly different from the voltage value when there is a diode in the above-mentioned load to be charged. Only the nominal value is used as an example for explanation here, and the voltage at the voltage output terminal of the power supply device can be within the specified maximum and minimum value range.
[0082] In the comparison unit 100 in the diode presence detection circuit, it is only necessary to set the comparison voltage of the positive input terminal of the voltage comparison module 102 to the middle value between -12V and -9V, that is, the preset comparison voltage is -10.5V. According to the principle of the voltage comparison module 102, for the positive input terminal voltage U3, the negative input terminal voltage U2 and the output voltage Uo of the voltage comparison module 102, if U3>U2, Uo=+12V; if U3<U2, Uo=-12V. Therefore, the positive waveform of the control pilot signal output from the voltage output terminal of the power supply device obtains a negative voltage value of -12V through the comparison unit 100; the negative waveforms with amplitudes of -9V and -6V also obtain a negative voltage value of -12V through the comparison unit 100; only the negative waveform with amplitude of -12V obtains a positive voltage value of +12V through the comparison unit 100. It can be obtained that: when the power supply device is connected to a load to be charged that includes a diode, the control guide signal output by the power supply device can obtain a ±12V waveform via the comparison unit 100; when the power supply device is connected to a load to be charged that does not include a diode, the control guide signal output by the power supply device can obtain a waveform with a regulated voltage amplitude of -12V via the comparison unit 100.
[0083] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0084] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.
[0085] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A diode presence detection circuit, characterized in that: include: Comparison unit and voltage divider unit; The input end of the comparison unit is used to connect to the voltage output end of the power supply device, the output end of the comparison unit is connected to the input end of the voltage divider unit, and the voltage output end of the power supply device is also connected to the load to be charged; The output end of the voltage dividing unit is used to connect to the control input end of the power supply device; The comparison unit is used to receive a control guidance signal output by the voltage output terminal of the power supply device, compare the control guidance signal with a preset comparison voltage, generate a first detection signal according to the comparison result, and output the first detection signal to the voltage divider unit, wherein the first detection signal is used to indicate whether there is a diode in the load; The voltage dividing unit is used to divide the first detection signal to obtain a voltage dividing signal, and send the voltage dividing signal to the control input terminal of the power supply device, so that the power supply device detects whether there is a diode in the load according to the voltage dividing signal.
2. The diode presence detection circuit according to claim 1, characterized in that: The comparison unit includes: a first voltage dividing module and a voltage comparison module; The positive input terminal of the voltage comparison module is connected to the first voltage dividing module, the negative input terminal of the voltage comparison module is connected to the voltage output terminal of the power supply device, the output terminal of the voltage comparison module is connected to the input terminal of the voltage dividing unit, and the power input terminal of the voltage comparison module is connected to an external power supply; The first voltage dividing module is used to provide a preset comparison voltage to the voltage comparing module.
3. The diode presence detection circuit according to claim 2, characterized in that: The comparison unit further includes: a filtering module; One end of the filter module is connected to the power input end of the voltage comparison module, and the other end of the filter module is grounded; The filtering module is used to filter the noise of the external power supply.
4. The diode presence detection circuit according to claim 2, characterized in that: The first voltage dividing module includes: a first resistor and a second resistor; One end of the first resistor is connected to one end of the second resistor, and one end of the first resistor is connected to the positive input end of the voltage comparison module; The other end of the first resistor is used to be connected to the negative electrode of the external power supply, and the other end of the second resistor is grounded.
5. The diode presence detection circuit according to claim 3, characterized in that: The filtering module includes: a first filtering capacitor and a second filtering capacitor; One end of the first filter capacitor is connected to the positive electrode of the external power supply and the positive power input terminal of the voltage comparison module respectively, and the other end of the first filter capacitor is grounded; One end of the second filter capacitor is respectively connected to the negative electrode of the external power supply and the negative power input terminal of the voltage comparison module, and the other end of the second filter capacitor is grounded.
6. The diode presence detection circuit according to claim 1, characterized in that: The voltage dividing unit comprises: a first diode and a second voltage dividing module; The anode of the first diode is connected to the output end of the comparison unit, and the cathode of the first diode is connected to the first end of the second voltage divider module; The second end of the second voltage dividing module is grounded, and the third end of the second voltage dividing module is connected to the control input end of the power supply device.
7. The diode presence detection circuit according to claim 6, characterized in that: The second voltage dividing module includes: a fourth resistor and a fifth resistor; One end of the fourth resistor is connected to the cathode of the first diode, the other end of the fourth resistor is connected to one end of the fifth resistor, the other end of the fifth resistor is grounded, and the other end of the fourth resistor is connected to the control input end of the power supply device.
8. A power supply device, characterized in that: It comprises the diode existence detection circuit, microcontroller and control guidance unit as described in any one of claims 1 to 7.
9. The power supply device according to claim 8, characterized in that: The input end of the microcontroller serves as the control input end of the power supply device; the input end of the microcontroller is used to receive the voltage division signal output by the voltage division unit in the diode existence detection circuit, and analyze and process the voltage division signal to determine whether there is a diode in the load.
10. A diode presence detection system, characterized in that: The diode existence detection system comprises: the power supply device according to claim 8 and a load to be charged.