Method for protecting software from net inverter start short circuit
Technical field
The present invention relates to a kind of short-circuit protection method from net inverter, specifically a kind of method for protecting software from net inverter start short circuit.
Background technology
It is CN1954470 that State Intellectual Property Office discloses publication number on April 25th, 2007, patent name is the patent of invention of inverter bridge short-circuit protection scheme, inverter bridge short-circuit protection scheme has the three-phase multi-electrical level inverter bridge of three branch roads, each branch road provides the phase in three-phase output, be used for driving inductive load, described three-phase multi-electrical level inverter bridge has " L " individual bus voltage level (L >=3), two in a wherein said L level is minimum negative pole busbar voltage and maximum positive electrode bus voltage, the difference of any intermediate-bus voltage level and other bus voltage level is that the difference of described maximum positive electrode bus voltage and described minimum negative pole busbar voltage is again divided by (L-1), each branch road comprises two and half branch roads: the first half branch roads and the second half branch roads, described the first half branch roads comprise (L-1) individual described maximum positive electrode bus voltage and described switch between output mutually of being connected in series in, described the second half branch roads comprise (L-1) individual described minimum negative pole busbar voltage and described switch between output mutually of being connected in series in, each half branch road comprises: the outermost switch of described (L-1) individual switch, it is exactly the switch that is connected to described maximum positive electrode bus voltage or described minimum negative pole busbar voltage, the inner switch of described (L-1) individual switch, it is exactly to be connected to the described switch of output mutually, if and L > 3, (L-3) the individual intermediate switch that comprises described (L-1) individual switch, its be connected in series in described between inner switch and described outermost switch, wherein: described (L-1) the individual switch of each has mutual conductance, and it is configured to drive by control signal, the mutual conductance having with each outermost switch is lower than the mutual conductance of the described inner switch with half branch road, if and L > 3, each intermediate switch of half branch road has such mutual conductance: it is not more than the mutual conductance facing to the next inner switch of the described mutually series connection that output connects, and be not less than the mutual conductance of the next outer switch of the series connection that faces toward described minimum negative pole busbar voltage or described maximum positive electrode bus voltage connection.There is the difference of essence in technique scheme and this patent.
In the various generation modes such as photovoltaic generation, wind light mutual complementing power generation, family expenses energy-storage system and communication power supply, need inverse of the DC into AC.Output overcurrent and short-circuit protection technology, through development for many years, also become better and approaching perfection day by day, and especially short-circuit protection, adopts hardware lockout to drive conventionally, and software switching-off SPWM signal is realized simultaneously.Sort circuit is applicable to the short-circuit protection of inverter after working properly.But work as load short circuits, start work in the unwitting situation of user, power device of inverter can damage because protection causes overcurrent not in time.
Traditional short-circuit protection scheme can not thoroughly solve short circuit and cause machine breakdown problem; when short circuit is started shooting; output voltage is dragged down approaches zero; in incipient several cycle, output current does not reach hardware trigger threshold values, under control loop effect; the duty ratio of driving power device reaches rapidly maximum; but now power tube has been operated in (SOA) outside safety zone, when hardware protection starts by the time, power tube damages.
Summary of the invention
The object of this invention is to provide a kind of method for protecting software from net inverter start short circuit.The present invention is not increasing under the prerequisite of any cost, thoroughly solves the problem of start damage power tube under output short-circuit state by the mode of software control.
For achieving the above object, the technical solution adopted in the present invention is:
From the method for protecting software of net inverter start short circuit, when inverter startup, adopt open loop control mode, utilize software that PWM duty ratio is made zero, PWM output enable, PWM counting value returns, given sinusoidal wave amplitude makes zero; In start-up course, by the variation of the given sinusoidal wave amplitude of software control, make given sinusoidal wave amplitude by progressively increasing; Software judges according to PWM count value whether start-up course has arrived last cycle that adjusted open loop is controlled, when adjusted open loop has controlled to the zero crossing in last cycle, software is switched to close-loop control mode by inversion output by open loop control mode, and voltage regulates rapidly and stablizes to rated value.
Described given sinusoidal wave amplitude is pressed PWM count value directly proportional to be increased.
In start-up course, by the given current protection threshold values of software segments, utilize master controller MCU to detect in real time the output current of inverter; by output current and the comparison of given current protection threshold values; when output current is greater than given current protection threshold values, block and drive signal, stop the startup to inverter.
When output current is greater than given current protection threshold values, by software-driven master controller, MCU sends alarm signal, by warning device, produces alarm.
Given current protection threshold values maximum is set as 3Irate, and wherein, Irate is the specified output effective value of inverter.
Beneficial effect of the present invention: owing to adopting the above-mentioned method for protecting software from net inverter start short circuit; when starting or in start-up course; while there is short circuit; can avoid the suddenly increase of electric current; thereby there is the sufficient time to solve the problem of short circuit in startup; thereby avoided in start-up course, power tube, because of the phenomenon that overcurrent damages, reaches the object of protection power device.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
Fig. 1 is the software flow pattern from the method for protecting software of net inverter start short circuit;
Fig. 2 is soft start-up process output waveform figure.
Embodiment
As shown in Figure 1, 2, from the method for protecting software of net inverter start short circuit, when inverter startup, adopt open loop control mode, utilize software that PWM duty ratio is made zero, PWM output enable, PWM counting value returns, given sinusoidal wave amplitude makes zero; In start-up course, by the variation of the given sinusoidal wave amplitude of software control, make given sinusoidal wave amplitude by progressively increasing, and given sinusoidal wave amplitude is pressed the increase of PWM count value directly proportional; Software judges according to PWM count value whether start-up course has arrived last cycle that adjusted open loop is controlled, when adjusted open loop has controlled to the zero crossing in last cycle, software is switched to close-loop control mode by inversion output by open loop control mode, and voltage regulates rapidly and stablizes to rated value.
In start-up course; by the given current protection threshold values of software segments; utilize master controller MCU to detect in real time the output current Io of inverter; by output current and given current protection threshold values Ith comparison; when output current Io is greater than given current protection threshold values Ith; block and drive signal, stop the startup to inverter.By software-driven master controller MCU, send alarm signal, by warning device, produce alarm simultaneously.
Start to finish, software is switched to close-loop control mode by inversion output by open loop control mode, and voltage regulates rapidly and stablizes to rated value, if during output short-circuit, now just can utilize traditional short-circuit protection circuit to effectively protect.When short-circuit condition, given current protection threshold values Ith is: Ith >=2*Irate*1.414=2.828Irate, and Ith gets 3Irate, and wherein, Irate is the specified output effective value of inverter.
The above is the preferred embodiment of the present invention; certainly can not limit with this interest field of the present invention; should be understood that; for those skilled in the art; technical scheme of the present invention is modified or is equal to replacement, do not depart from the protection range of technical solution of the present invention.