Isolation driving circuit and charging and discharging controller

By using passive devices to replace active power devices in the isolated driving circuit, the problems of large standby power and high cost in the prior art are solved, and a low-cost and low-power isolated driving circuit is realized, which is suitable for large-scale applications.

CN119420342APending Publication Date: 2025-02-11BEIJING EPSOLAR TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411460445.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The existing isolation drive circuit has a large standby power and high cost, which is not conducive to large-scale and widespread application.

Method used

The passive device is used to replace the active power device on the output side, and the low-level or high-level output of the passive device output module is realized through the on- or off of the optocoupler.

Benefits of technology

It reduces standby power and cost, realizes a low-cost isolated drive circuit, is conducive to large-scale applications, and improves the reliability and safety of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420342A_ABST
    Figure CN119420342A_ABST
Patent Text Reader

Abstract

The invention provides an isolation driving circuit and a charging and discharging controller, and relates to the technical field of photovoltaic charging and discharging, and the isolation driving circuit comprises a photoelectric coupler, an input module, a control module and an output module. The output module is a passive device; under the condition that the first control signal provided by the control module is low level, the photoelectric coupler is turned off, and the output module outputs a low level value; under the condition that the first control signal provided by the control module is a high level and the input signal provided by the input module is a high level, the photoelectric coupler is conducted, and the output module outputs a high level value; under the condition that the first control signal provided by the control module is high level and the input signal provided by the input module is low level, the photoelectric coupler is turned off, and the output module outputs a low level value; on the basis of optimizing the circuit structure, a passive device is adopted to replace an active power device on the output side, so that the technical problems that in the prior art, standby power is large, cost is high, and large-scale application is not facilitated are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic charging and discharging, and in particular to an isolation driving circuit and a charging and discharging controller. Background Art

[0002] The isolation drive circuit is usually implemented using a photocoupler with logic output. A photocoupler is a device that converts optical signals into electrical signals and can achieve electrical isolation.

[0003] In the prior art, the input end of the optocoupler with logic output is usually directly controlled by a single chip microcomputer or a gate circuit, and the output end directly drives the power device.

[0004] The inventors have found through research that this type of isolation drive circuit has a large standby power and a high cost, which is not conducive to large-scale and extensive applications. Summary of the invention

[0005] The purpose of the present invention is to provide an isolation drive circuit and a charge and discharge controller, which uses passive devices to replace active power devices on the output side to alleviate the technical problems existing in the prior art, such as large standby power, high cost, and being unfavorable for large-scale application.

[0006] In a first aspect, an embodiment of the present invention provides an isolation driving circuit, including a photocoupler, an input module, a control module and an output module; the output module is a passive device;

[0007] The first input end of the photoelectric coupler is connected to the control module, the second input end of the photoelectric coupler is connected to the input module, and the output end of the photoelectric coupler is connected to the output module;

[0008] When the first control signal provided by the control module is at a low level, the photoelectric coupler is turned off, and the output module outputs a low level value;

[0009] When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a high level, the photoelectric coupler is turned on and the output module outputs a high level value;

[0010] When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a low level, the photoelectric coupler is turned off and the output module outputs a low level value.

[0011] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation of the first aspect, wherein one end of the control module is connected to the charge and discharge module;

[0012] When the working state of the charging and discharging module is normal, the first control signal is at a high level;

[0013] When the working state of the charging and discharging module is abnormal, the first control signal is at a low level.

[0014] In combination with the first aspect, the embodiment of the present invention provides a second possible implementation of the first aspect, wherein the other end of the control module is connected to a pin of the single-chip microcomputer;

[0015] When a preset charging condition is triggered, under the action of a second control signal from the pin, determining whether the working state of the isolation drive circuit is normal;

[0016] If the input signal is at a high level and the second control signal is at a low level, or the input signal is at a low level and the second control signal is at a high level, the working state of the isolation drive circuit is normal;

[0017] If the input signal is at a high level and the second control signal is at a high level, or the input signal is at a low level and the second control signal is at a low level, the working state of the isolation drive circuit is abnormal.

[0018] In combination with the first aspect, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the output module includes a first output module, a second output module and an output driving power supply; the first output module is connected to the collector of the photoelectric coupler, the second output module is connected to the emitter of the photoelectric coupler, and the output driving power supply is respectively connected to the first output module and the second output module.

[0019] In combination with the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the first output module includes a capacitor C1;

[0020] The collector of the photoelectric coupler is connected to the positive electrode of the output driving power supply and one end of the capacitor C1 respectively, and the other end of the capacitor C1 is connected to the negative electrode of the output driving power supply.

[0021] In combination with the first aspect, the embodiment of the present invention provides a fifth possible implementation of the first aspect, wherein the second output module includes a resistor R2, a diode D1, a resistor R6, a resistor R3 and a transistor Q2;

[0022] The emitter of the photoelectric coupler is connected to one end of the resistor R2, the other end of the resistor R2 is respectively connected to the positive electrode of the diode D1, the base of the transistor Q2 and one end of the resistor R6, the other end of the resistor R6 is connected to the negative electrode of the output drive power supply, the negative electrode of the diode D1 is respectively connected to the emitter of the transistor Q2 and one end of the resistor R3, the other end of the resistor R3 is a level output end, connected to the charge and discharge module, and the collector of the transistor Q2 is connected to the negative electrode of the output drive power supply.

[0023] In combination with the first aspect, the embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the control module includes a resistor R1 and a power supply VCC;

[0024] One end of the resistor R1 is connected to the power supply VCC, and the other end of the resistor R1 is connected to the anode input pin of the photocoupler; wherein the first control signal and the second control signal are input from the anode input pin of the photocoupler.

[0025] In combination with the first aspect, the embodiment of the present invention provides a seventh possible implementation of the first aspect, wherein the input module includes a resistor R4, a resistor R5 and a transistor Q1;

[0026] The cathode input pin of the photocoupler is connected to the collector of the transistor Q1, the base of the transistor Q1 is respectively connected to one end of the resistor R4 and one end of the resistor R5, the emitter of the transistor Q1 and the other end of the resistor R5 are grounded, and the other end of the resistor R4 is connected to the input signal.

[0027] In a second aspect, an embodiment of the present invention further provides a charge and discharge controller, comprising the isolation drive circuit as described above, and also comprising a single chip microcomputer and a charge and discharge module respectively connected to the isolation drive circuit.

[0028] In combination with the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the isolation drive circuit outputs a target level value under the action of a first control signal and an input signal; wherein the first control signal is generated based on the working state of the charge and discharge module, the input signal is generated based on a preset charging condition trigger, and the target level value corresponds to the first control signal;

[0029] The charging and discharging module charges the battery and / or the load under the action of the level value output by the output module in the isolation drive circuit;

[0030] When the preset charging condition is triggered, the isolation driving circuit determines whether the working state is normal under the action of the second control signal obtained from the pin of the single chip microcomputer and the input signal.

[0031] The embodiment of the present invention provides an isolation drive circuit and a charge and discharge controller, which turns on or off the photoelectric coupler in cooperation with the input module and the control module, so that the output module composed of passive devices can output the corresponding level value. By adopting low-cost transistor output photoelectric coupler elements and circuit design, that is, replacing active power devices with passive devices, compared with the application of active power devices on the output side, a low-cost isolation drive circuit is realized, which is conducive to large-scale application.

[0032] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0033] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 It is a schematic diagram of a traditional logic output isolation drive circuit structure;

[0036] Figure 2 A structural block diagram of an isolation drive circuit provided by an embodiment of the present invention;

[0037] Figure 3 A schematic diagram of an isolation drive circuit structure provided by an embodiment of the present invention;

[0038] Figure 4 A schematic diagram of the circuit structure of a charge and discharge controller provided in an embodiment of the present invention.

[0039] Icon: 10-isolation drive circuit; 20-single chip microcomputer; 30-charge and discharge module; 11-control module; 12-input module; 13-first output module; 14-second output module. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.

[0041] Existing isolation drive circuits are usually implemented using optocouplers with logic outputs. However, optocouplers with logic outputs are relatively expensive and are not suitable for large-scale applications.

[0042] Here, a logic output optocoupler, such as Figure 1 As shown:

[0043] Pin a is the positive pole of the input signal. When the external circuit provides a positive voltage to pin a, it can be regarded as receiving a high-level signal. Pin c is the negative pole of the input signal. When the external circuit provides a negative voltage or ground to pin c, it can be regarded as receiving a low-level signal. Pin f is the power supply on the isolated output side, which can provide a positive voltage for the output circuit. Pin d is the power ground on the isolated output side, which is usually grounded and can provide a negative voltage or ground to the output circuit. Pin e is the isolated output, which is used to output the drive voltage.

[0044] When pin a receives a high level signal, Figure 1 The MOS tube x in the circuit will be turned on, thus forming a path between the f pin and the e pin (that is, the f pin and the e pin are connected). At this time, the e pin will output the voltage of the f pin, that is, a high level. This high level can be used to drive external circuits, such as turning on power devices such as MOS tubes.

[0045] When pin a receives a low level signal, Figure 1 The MOS tube y in the circuit will be turned on, thereby forming a path between the d pin and the e pin (i.e., the d pin and the e pin are connected), and the e pin will output the voltage of the d pin, i.e., a low level. The external power device can be turned off in response to the low level, and the external power device can include a MOS tube.

[0046] With respect to the optocoupler with logic output as mentioned above, the inventors of the present disclosure have found through actual testing that the optocoupler with logic output can only be effectively turned on when the input current is 6.5-10mA; and when the optocoupler with logic output is working, the power supply on the f pin side also needs to consume 2mA of working current.

[0047] In practical applications, microcontrollers are used in conjunction with photocouplers. Usually, the maximum current that each pin of a microcontroller used in conjunction with a photocoupler can provide is usually 15mA, and the total output current of all pins cannot exceed 80mA. Therefore, when the number of photocouplers exceeds a certain value, the microcontroller used in conjunction with it cannot drive the excess photocouplers. For example, a microcontroller with 48 pins has 38 ordinary input / output pins. If the input current of a photocoupler is 8mA, the number of photocouplers that this microcontroller can drive is 80÷8=10, that is, it can only drive a maximum of 10 photocouplers. If the number of photocouplers is 11, the microcontroller cannot complete the drive.

[0048] In order to solve at least the above-mentioned technical problems, an embodiment of the present invention provides an isolation drive circuit and a charge and discharge controller, which optimizes the circuit design of the input end and the control end. While realizing low-power input current control, passive devices can be used on the output side of the optocoupler to replace active power devices to achieve the effect of reducing standby power and cost, and can be widely used.

[0049] The following is a detailed description through examples.

[0050] Figure 2 A structural block diagram of an isolation drive circuit provided by an embodiment of the present invention.

[0051] like Figure 2 As shown, the isolation driving circuit includes a photoelectric coupler, an input module, a control module and an output module; the output module is a passive device;

[0052] The first input end of the photoelectric coupler is connected to the control module, the second input end of the photoelectric coupler is connected to the input module, and the output end of the photoelectric coupler is connected to the output module;

[0053] When the first control signal provided by the control module is at a low level, the photoelectric coupler is turned off, and the output module outputs a low level value;

[0054] When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a high level, the photoelectric coupler is turned on and the output module outputs a high level value;

[0055] When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a low level, the photoelectric coupler is turned off and the output module outputs a low level value.

[0056] In a preferred embodiment of practical application, the photoelectric coupler is turned on or off in cooperation with the input module and the control module, so that the output module composed of passive devices can output the corresponding level value. By adopting low-cost transistor output photoelectric coupler elements and circuit design, that is, replacing active power devices with passive devices, a low-cost isolation drive circuit is realized compared to the application of active power devices on the output side, which is conducive to large-scale application, optimizes circuit design, and reduces circuit complexity.

[0057] In some embodiments, the isolation drive circuit can also be Figure 3 As shown, it includes a control module 11, an input module 12 and an output module; the output module includes a first output module 13, a second output module 14 and an output drive power supply PV; the first output module 13 is connected to the collector C of the photoelectric coupler, the second output module 14 is connected to the emitter E of the photoelectric coupler, and the output drive power supply PV is connected to the first output module 13 and the second output module 14 respectively.

[0058] Among them, the control module 11 includes a resistor R1 and a power supply VCC; one end of the resistor R1 is connected to the power supply VCC, and the other end of the resistor R1 is connected to the anode input pin of the photocoupler; here, the first control signal and the second control signal are input from the anode input pin of the photocoupler.

[0059] It should be noted that the power supply VCC may include but is not limited to a 3.3V power supply.

[0060] In some embodiments, the input module 12 includes a resistor R4, a resistor R5 and a transistor Q1; the cathode input pin of the photocoupler is connected to the collector of the transistor Q1, the base of the transistor Q1 is respectively connected to one end of the resistor R4 and one end of the resistor R5, the emitter of the transistor Q1 and the other end of the resistor R5 are grounded, and the other end of the resistor R4 is connected to the input signal.

[0061] In addition, the first output module 13 includes a capacitor C1; the collector of the photoelectric coupler is connected to the positive electrode of the output driving power supply and one end of the capacitor C1 respectively, and the other end of the capacitor C1 is connected to the negative electrode of the output driving power supply.

[0062] The capacitor C1 plays the role of bypass and decoupling.

[0063] In some embodiments, the second output module 14 includes a resistor R2, a diode D1, a resistor R6, a resistor R3 and a transistor Q2;

[0064] The emitter of the photoelectric coupler is connected to one end of the resistor R2, the other end of the resistor R2 is respectively connected to the positive electrode of the diode D1, the base of the transistor Q2 and one end of the resistor R6, the other end of the resistor R6 is connected to the negative electrode of the output drive power supply, the negative electrode of the diode D1 is respectively connected to the emitter of the transistor Q2 and one end of the resistor R3, the other end of the resistor R3 is the level output end, which is connected to the charge and discharge module, and the collector of the transistor Q2 is connected to the negative electrode of the output drive power supply.

[0065] In practical applications, one end of the control module 11 is connected to the charge and discharge module ( Figure 3 The first control signal is connected to the charging and discharging module (not shown); when the working state of the charging and discharging module is normal, the first control signal is at a high level; when the working state of the charging and discharging module is abnormal, the first control signal is at a low level; the corresponding first control signal can be fed back according to the working state, thereby ensuring the reliability and safety of the isolation drive circuit.

[0066] It can be understood that, according to the working state of the charging and discharging module of the external circuit, the control module 11 can provide the first control signal with different level values.

[0067] For example, when the first control signal is at a low level, the anode input pin of the photocoupler U1 is at a low level, the photocoupler U1 is turned off, and no matter whether the level value of the input signal is high or low, the level output terminal outputs a low level; so that when an external circuit fails, the embodiment of the present invention can turn off the enable control in time;

[0068] When the first control signal is at a high level and the input signal is at a high level, the power supply VCC is connected to the GND of the first control signal through the resistor R1, the input pin of the transistor output photocoupler U1 and the collector and emitter of the transistor Q1. At this time, the photocoupler U1 is turned on. When the photocoupler U1 is turned on, the positive electrode of the output drive power supply PV_12V passes through the CE electrode of the photocoupler, the resistor R2, the diode D1 and the resistor R3, so that the level output terminal outputs the voltage PV_12V, and the level output terminal PV_CTL signal outputs a high level, thereby turning on the output of the isolation drive circuit;

[0069] When the first control signal is at a high level and the input signal is at a low level, the base voltage of the transistor Q1 is 0, the collector and emitter of the transistor Q1 are cut off, the input end of the transistor output photocoupler U1 has no conduction loop (disconnected), the output end of the photocoupler U1 is disconnected, and when the crystal photocoupler U1 is disconnected, the diode D1 plays a reverse cutoff role, and the output drive power supply PV_12V provides a bias current to the transistor Q2 through the resistor R3, the emitter and base of the transistor Q2, and the resistor R6. The emitter and collector of the transistor are turned on, and the output drive power supply PV_12V is connected to the negative electrode PV of the output drive power supply through the resistor R3, so that the level output end outputs a low level and the purpose of closing the output of the isolation drive circuit is achieved;

[0070] Among them, resistor R5 plays a pull-down role; resistor R4 plays an input current limiting role; the input current of the transistor output optocoupler U1 is amplified by transistor Q1, which plays a role in reducing the input current; the HFE of transistor Q1 is to reduce the multiple of the input current, realize low-power input current control, external circuit fault signal enable control and detect the working state of the isolation drive circuit device through the feedback state of the input signal, thereby improving reliability and safety.

[0071] As another optional embodiment, the other end of the control module is connected to a pin of the single chip microcomputer;

[0072] When the preset charging condition is triggered, under the action of the second control signal from the pin, it is determined whether the working state of the isolation drive circuit is normal;

[0073] If the input signal is at a high level and the second control signal is at a low level, or the input signal is at a low level and the second control signal is at a high level, the working state of the isolation drive circuit is normal;

[0074] If the input signal is at a high level and the second control signal is at a high level, or the input signal is at a low level and the second control signal is at a low level, the working state of the isolation drive circuit is abnormal.

[0075] The embodiment of the present invention can identify whether there is an abnormality in the current isolation drive circuit according to the level value of the second control signal and the input signal, that is, one or some components fail, and the isolation drive circuit is abnormal at this time;

[0076] Exemplarily, when the input signal is at a high level, the transistor Q1 and the photocoupler U1 are turned on, and the second control signal is the forward diode voltage drop of the photocoupler U1, which is at a low level; at this time, it can be known that when the preset charging condition is triggered, the input signal is normally turned on, and the photocoupler U1 is normally turned on. At this time, the status of each device in the isolation drive circuit is normal; when the input signal is at a low level, the transistor Q1 and the photocoupler U1 are cut off, and the second control signal is pulled up to the voltage value of the power supply VCC through the resistor R1, such as 3.3V, which is a high level; at this time, it can be known that when the preset charging condition is not triggered, the input signal is normally turned off, and the photocoupler U1 is also normally turned off. At this time, the status of each device in the isolation drive circuit is normal; by analogy, the situation where there is an abnormal device status in the isolation drive circuit is similar to the above scheme, and will not be repeated here.

[0077] Among them, the preset charging condition can be understood as the charging operation trigger condition of the pre-set charging and discharging module, which may include the control instruction generated by the user's trigger operation on the target control, which triggers the input signal trigger generation of the microcontroller, or when the remaining power state of the battery to be charged and / or the load in the charging and discharging module reaches a preset power threshold, the input signal trigger generation of the microcontroller is triggered.

[0078] It should be noted that the DC current gain of the transistor Q1 in the input module of the embodiment of the present invention is at least 100 times. For example, the input current of the transistor output optocoupler is also calculated as 8mA, and the input current of the microcontroller is 8mA÷100=0.08mA, 80÷0.08=1000, which is far more than the above calculation that only 10 optocouplers can be driven, and almost meets the driving capacity of the microcontroller with ordinary IO configuration within 1000, which reduces the driving power consumption of the microcontroller, reduces the input current of the input signal, and achieves a significant increase in the number of optocoupler drives.

[0079] When there is an input signal and the optocoupler is turned on, the collector and emitter of the internal optocoupler transistor are turned on. Because the collector is connected to the driving power supply, a high-level signal is output. When the optocoupler is not turned on, the collector and emitter of the internal optocoupler transistor are disconnected, and under the action of the second output module, it has the effect of pulling down the output of a low-level signal.

[0080] The output module of the transistor output photocoupler used in the embodiment of the present invention is a passive device. The output module does not need an additional power supply and does not need an operating current. Only the collector and emitter generate leakage current. When the photocoupler is not turned on, there is only 100nA of leakage current loss. The 2mA operating current of the isolation drive circuit of the logic output in the prior art is not required. The leakage current of the isolation drive circuit in the present application differs by 20 times from the operating current of the isolation drive circuit, thereby achieving the purpose of reducing the power consumption of the drive circuit.

[0081] In the embodiment of the present invention, the phototransistor inside the photocoupler is turned on to output a high level. When the phototransistor inside the photocoupler is turned off, a low level output is achieved through an external transistor combination, thereby achieving the output of logic high and low levels, which is used to control the opening and closing of power devices inside the device and realize functional requirements within the device.

[0082] On the basis of the above-mentioned embodiments, the isolation driving circuit provided by the embodiments of the present invention can be applied to the charge and discharge controller for protecting the circuit. The charge and discharge controller is a device for controlling the charge and discharge of the battery in the photovoltaic power generation system; the photovoltaic charge and discharge controller usually has three ports, the PV port is connected to the photovoltaic panel as energy input; the BAT port is connected to the battery to charge the battery or supply power to the load; the LOAD port is connected to the load to supply power to the electrical equipment.

[0083] As an optional embodiment, Figure 4 As shown, the charge and discharge controller includes the isolation drive circuit 10 as described above, and also includes a single chip microcomputer 20 and a charge and discharge module 30 respectively connected to the isolation drive circuit 10;

[0084] The isolation driving circuit 10 outputs a target level value under the action of a first control signal and an input signal; wherein the first control signal is generated based on the working state of the charge and discharge module 30, the input signal is triggered to be generated based on a preset charging condition, and the target level value corresponds to the first control signal;

[0085] The charging and discharging module 30 charges the battery and / or the load under the action of the level value output by the output module in the isolation driving circuit 10;

[0086] When the preset charging condition is triggered, the isolation driving circuit 10 determines whether the working state is normal under the action of the second control signal and the input signal obtained from the pin of the single chip microcomputer 20.

[0087] In practical applications, ARM or DSP type of microcontrollers can be used. Figure 4 The above is only an example and is not limited to this;

[0088] In an embodiment of the present invention, the input signal MCU_Onoff signal of the isolation drive circuit is directly controlled by the single chip microcomputer; when the preset charging condition or the load opening condition is met, the input signal MCU_Onoff signal is set to a high level, and the level output terminal PV_CTL signal outputs a high level at this time, and the charge and discharge module can turn on the charging power MOS tube or the load power MOS tube according to the high level output; when the charging condition or the load closing condition is not met, the input signal MCU_Onoff signal is set to a low level, and the level output terminal PV_CTL signal outputs a low level at this time, and the charge and discharge module can turn off the charging power MOS tube or the load power MOS tube according to the low level output, thereby achieving the purpose of isolation control and level conversion.

[0089] On the basis of the aforementioned embodiment, the first control signal Fault_close can be connected to the open-drain output of the comparator in the charge-discharge module that plays a role in load drive protection; when the charge-discharge module is in normal working condition, the comparator is open-drained and output, and the first control signal Fault_close is pulled up to the high level of the power supply VCC through the resistor R1, and the first control signal Fault_close has no effect on the switch control of the input signal MCU_Onoff, and the output level control is realized according to the level value of the input signal MCU_Onoff in the aforementioned embodiment; when there is an abnormality in the working state of the charge-discharge module, the first control signal Fault_close is set to a low level, at this time, the anode input pin of the photocoupler U1 is a low level, and the photocoupler U1 cannot be turned on, regardless of whether the input signal MCU_Onoff is a high level or a low level, the level output terminal PV_CTL signal outputs a low level, which plays a role in fault closing or enabling control.

[0090] As an optional embodiment, the second control signal Fault_close signal can also be obtained through a pin of the single-chip microcomputer, and is used to determine whether there is an abnormal state in the isolation drive circuit according to the feedback state of the input signal MCU_Onoff signal and the high and low level states of the second control signal Fault_close;

[0091] When the input signal MCU_Onoff is at a high level, the transistor Q1 and the photocoupler U1 are turned on, and the second control signal Fault_close is the forward diode voltage drop of the photocoupler U1, which is at a low level; at this time, it can be determined that the input signal MCU_Onoff is indeed in the on state, the isolation drive circuit is determined to be in the on state, and the isolation drive circuit is in a normal state without abnormal components;

[0092] When the input signal MCU_Onoff is at a low level, the transistor Q1 and the photocoupler U1 are turned off, and the second control signal Fault_close is pulled up to the voltage of the power supply VCC through the resistor R1, such as 3.3V, and is at a high level; at this time, it can be judged that the input signal MCU_Onoff is indeed in the off state, the isolation drive circuit is indeed in the off state, and the isolation drive circuit is in a normal state without abnormal components;

[0093] On the contrary, the abnormal working state of the isolation driving circuit can be identified according to the input signal and the second control signal, which will not be described in detail here.

[0094] The charge and discharge controller provided in the embodiment of the present invention uses an isolation drive circuit designed with low-cost components and circuits, which is conducive to large-scale application. At the same time, the isolation drive circuit realizes low-power input current control, fault signal feedback and enable control by optimizing the circuit design of the input module and the control module, thereby improving the reliability and safety of the system. In addition, by optimizing the circuit design, it is possible to control the opening and closing of the power device without an additional circuit, simplifying the circuit design and reducing the cost.

[0095] The charge and discharge controller provided in the embodiment of the present invention has the same technical features as the isolation drive circuit provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.

[0096] In the description of the embodiments of the present invention, 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 an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0097] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0098] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods 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, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0100] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0101] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the aforementioned embodiments, those of ordinary skill in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed by the present invention, or can easily conceive of changes, or make equivalent replacements for some of the technical features therein. Such modifications, changes 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, and should all be covered within the protection scope of the present invention.

Claims

1. An isolation driving circuit, characterized in that: It includes a photoelectric coupler, an input module, a control module and an output module; the output module is a passive device; The first input end of the photoelectric coupler is connected to the control module, the second input end of the photoelectric coupler is connected to the input module, and the output end of the photoelectric coupler is connected to the output module; When the first control signal provided by the control module is at a low level, the photoelectric coupler is turned off, and the output module outputs a low level value; When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a high level, the photoelectric coupler is turned on and the output module outputs a high level value; When the first control signal provided by the control module is at a high level and the input signal provided by the input module is at a low level, the photoelectric coupler is turned off and the output module outputs a low level value.

2. The isolation driving circuit according to claim 1, characterized in that: One end of the control module is connected to the charge and discharge module; When the working state of the charging and discharging module is normal, the first control signal is at a high level; When the working state of the charging and discharging module is abnormal, the first control signal is at a low level.

3. The isolation driving circuit according to claim 2, characterized in that: The other end of the control module is connected to a pin of the single chip microcomputer; When a preset charging condition is triggered, under the action of a second control signal from the pin, determining whether the working state of the isolation drive circuit is normal; If the input signal is at a high level and the second control signal is at a low level, or the input signal is at a low level and the second control signal is at a high level, the operating state of the isolation drive circuit is normal; If the input signal is at a high level and the second control signal is at a high level, or the input signal is at a low level and the second control signal is at a low level, the working state of the isolation drive circuit is abnormal.

4. The isolation driving circuit according to claim 1, characterized in that: The output module includes a first output module, a second output module and an output driving power supply; the first output module is connected to the collector of the photoelectric coupler, the second output module is connected to the emitter of the photoelectric coupler, and the output driving power supply is connected to the first output module and the second output module respectively.

5. The isolation driving circuit according to claim 4, characterized in that: The first output module includes a capacitor C1; The collector of the photoelectric coupler is connected to the positive electrode of the output driving power supply and one end of the capacitor C1 respectively, and the other end of the capacitor C1 is connected to the negative electrode of the output driving power supply.

6. The isolation driving circuit according to claim 4, characterized in that: The second output module includes a resistor R2, a diode D1, a resistor R6, a resistor R3 and a transistor Q2; The emitter of the photoelectric coupler is connected to one end of the resistor R2, the other end of the resistor R2 is respectively connected to the positive electrode of the diode D1, the base of the transistor Q2 and one end of the resistor R6, the other end of the resistor R6 is connected to the negative electrode of the output drive power supply, the negative electrode of the diode D1 is respectively connected to the emitter of the transistor Q2 and one end of the resistor R3, the other end of the resistor R3 is a level output end, connected to the charge and discharge module, and the collector of the transistor Q2 is connected to the negative electrode of the output drive power supply.

7. The isolation driving circuit according to claim 3, characterized in that: The control module includes a resistor R1 and a power supply VCC; One end of the resistor R1 is connected to the power supply VCC, and the other end of the resistor R1 is connected to the anode input pin of the photocoupler; wherein the first control signal and the second control signal are input from the anode input pin of the photocoupler.

8. The isolation driving circuit according to claim 1, characterized in that: The input module includes a resistor R4, a resistor R5 and a transistor Q1; The cathode input pin of the photocoupler is connected to the collector of the transistor Q1, the base of the transistor Q1 is respectively connected to one end of the resistor R4 and one end of the resistor R5, the emitter of the transistor Q1 and the other end of the resistor R5 are grounded, and the other end of the resistor R4 is connected to the input signal.

9. A charge and discharge controller, characterized in that: It comprises the isolation driving circuit as described in any one of claims 1 to 8, and also comprises a single chip microcomputer and a charging and discharging module respectively connected to the isolation driving circuit.

10. The charge and discharge controller according to claim 9, characterized in that: The isolation driving circuit outputs a target level value under the action of a first control signal and an input signal; wherein the first control signal is generated based on the working state of the charging and discharging module, the input signal is triggered and generated based on a preset charging condition, and the target level value corresponds to the first control signal; The charging and discharging module charges the battery and / or the load under the action of the level value output by the output module in the isolation drive circuit; When the preset charging condition is triggered, the isolation driving circuit determines whether the working state is normal under the action of the second control signal obtained from the pin of the single chip microcomputer and the input signal.

Citation Information

Cited By

  • Control device of power device

    CN120880191A