CN105262358A - Bidirectional grid connected inverter - Google Patents

Bidirectional grid connected inverter Download PDF

Info

Publication number
CN105262358A
CN105262358A CN201510776788.XA CN201510776788A CN105262358A CN 105262358 A CN105262358 A CN 105262358A CN 201510776788 A CN201510776788 A CN 201510776788A CN 105262358 A CN105262358 A CN 105262358A
Authority
CN
China
Prior art keywords
output
formula
neural net
centerdot
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510776788.XA
Other languages
Chinese (zh)
Inventor
张宇
方陈
刘舒
张志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Shanghai Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Shanghai Electric Power Co Ltd
Priority to CN201510776788.XA priority Critical patent/CN105262358A/en
Publication of CN105262358A publication Critical patent/CN105262358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention discloses a bidirectional grid connected inverter, including a power supply Udc, a capacitor C and three inversion circuits. The capacitor C and the three inversion circuits are connected in parallel with the power supply Udc. The inversion circuits are provided with three paths of inductors L, capacitors R, inductors L1, resistors R1 and alternating current power supplies connected in series therebtween, and a capacitor C1 is connected in parallel between each capacitor C1 and each inductor L1. The alternating current power supplies comprise Ua, Ub and Uc. According to the invention, as the traditional PID control strategy exerts obvious limitation on the control of voltage, current and power of an inverter, an advanced intelligent control theory is adopted for timely measuring and controlling a large-power and high-voltage bidirectional grid connected inverter system; and a nonlinear prediction model which is achieved by applying a RBF neural network has advantages of fast convergence rate, prevention of convergence at a local extreme point and concise network structure, thereby further improving the dynamic response characteristic of the system.

Description

Two-way combining inverter
Technical field
The present invention relates to a kind of two-way combining inverter, it provide a kind of adopt the Adaptive PID Control algorithm of genetic algorithm to apply to control non-linear and variable element high-power, high-tension two-way combining inverter and based on RTW technological development control routine; It is a kind of bikini IPM inverter structure, and the feature of this inverter to use withstand voltage lower IPM smart power device, composition high-voltage inverter.
Background technology
Non-linear and the variation parameter characteristics of high-power, two-way combining inverter makes to adopt traditional PID to control to be difficult to obtain good control effects.Artificial neural net under certain conditions can arbitrary accuracy Approximation of Arbitrary Nonlinear Function and have stronger self study, self adaptation, self organization ability.It is loaded down with trivial details and the rate height construction cycle that reports an error is long that the line code programming of traditional PID control method has programming.
Summary of the invention
For adapting to uncertainty, non-linear and time variation that most of modern controlled device has, the invention discloses a kind of two-way combining inverter, adopt the Adaptive PID Control strategy of variable element, artificial neural net is combined with PID control law, the Nonlinear Prediction Models that application RBF neural realizes, there is fast convergence rate, can avoid converging on Local Extremum and the succinct advantage of network configuration, thus can improve the dynamic response characteristic of system.
In order to achieve the above object, technical scheme of the present invention is: a kind of two-way combining inverter, comprises power supply U dc, with power supply U dcelectric capacity C in parallel and three road inverter circuits, be provided with inductance L, electric capacity R, inductance L that three tunnels are connected in series between inverter circuit 1, resistance R 1and AC power, electric capacity R, inductance L 1between be parallel with electric capacity C 1; Described AC power comprises U a, U b, U c.
According to Kirchoff s voltage current law and three-phase voltage source type PWM combining inverter operation principle, two-way combining inverter based on the Mathematical Modeling of switch function is:
c du d c d t = Σ k = a , b , c i 1 k S k - i d c
L di 1 k d t + R 1 i 1 k = u c k - u d c ( s k - 1 3 Σ n = a , b , c s n )
u sk=u dc*s k
i 2k=i 1k-i ck
Σ k = a , b , c u k = Σ k = a , b , c i 1 k = Σ k = a , b , c i c k = Σ k = a , b , c i 2 k = 0
u c k = 1 / c 2 * ∫ i c k d t = u s k + L di i k d t + Ri 1 k = u k - ( L di i k d t + Ri 1 k )
Described two-way combining inverter utilizes adaptive PID Control to control, described adaptive PID Control is based on RBF neural Nonlinear Prediction Models, comprise Neural network PID, NNC, learning algorithm, RBF forecast model and controlled device, neural net NNC is BP neural net, neural net NNI is RBF neural, and PID controller directly carries out closed-loop control to controlled device.
The method that described PID Controlling model is set up is:
Assuming that in kth time iterative process, the deviation of J controller is:
e J(k)=r J(k)-y J(k)J=1,2,3,N
For J controller, the incremental digital PID of its classics controls formula and can be expressed as follows:
u J ·(k)=u · J(k-1)+W J1(k)·e J(k)-W J2(k)·e J(k-1)+W J3(k)·e J(k-2)
Wherein: W J 1 ( k ) = K P J + K I J · T s + K D J T s ;
W J 2 ( k ) = K P J + 2 · K D J T s ;
W J 3 ( k ) = K D J T s ;
In above formula, K pJ, K iJ, K dJbeing respectively the ratio of J Neural network PID adjuster, integration, differential coefficient, is also discretization variable; W j1(k), W j2(k), W j3k () is respectively the weight function of J Neural network PID; T sfor controlling the sampling period.
The method of the control of described neural net NNC is:
By W j0(k), W j1(k), W j2when () is considered as the adjustable coefficient depending on system running state k, formula (2) can be described as nonlinear function, can with neural net NNC by training and learning to find an Optimal Control rule;
Neural net NNC is 13 layers of BP neural net, and its mathematic(al) representation is:
u J(k)=f(u J(k-1),W J1(k),W J2(k),W J3(k),e J(k),e J(k-1),e J(k-2))
Neural net NNC has 4 input nodes, 6 hidden nodes, 3 output nodes; Input node corresponds to selected system running state amount, 3 adjustable parameters of the corresponding PID controller of output node difference, W j0(k), W j1(k), W j2(k); Due to PID controller coefficient W j0(k), W j1(k), W j2k () can not be negative value, so the neuronic excitation function of output layer gets the Sigmoid function of non-negative, and the excitation function of hidden layer neuron gets the Sigmoid function of Symmetrical; Choose the following parameters of J controller:
X J=[r J(k),y J(k),e J(k),1]
The output of J neural net NNC input layer is
O J j ( 1 ) ( k ) = x J j ( k ) j = 1 , 2 , .... , M
In formula: for the output node of input layer; M is the number of input variable;
The hidden layer input of neural net NNC, output are
n J i ( 2 ) ( k ) = Σ j = 1 M w i j ( 2 ) ( k ) · O J j ( 1 ) ( k ) O J i ( 2 ) ( k ) = f ( n J i ( 2 ) ( k ) ) i = 1 , 2 , ... Q
In formula: for hidden layer weight coefficient; F () is excitation function,
f(·)=tanhx=(e x-e -x)/(e x+e -x);
Input layer, hidden layer, the output layer of superscript (1), (2), (3) difference correspondence;
Input, the output of the output layer of J neural net NNC are
n J l ( 3 ) ( k ) = Σ i = 1 Q w j l ( 3 ) O J i ( 2 ) ( k ) O J l ( 3 ) ( k ) = g ( n J l ( 3 ) ( k ) ) l = 1 , 2 , 3 O J 1 ( 3 ) ( k ) = W J 1 ( k ) O J 2 ( 3 ) ( k ) = W J 2 ( k ) O J 3 ( 3 ) ( k ) = W J 3 ( k )
In formula, for output layer weight coefficient, excitation function is:
g(·)=(1+tanh(x))/2=e x/(e x-e -x)
Assuming that the performance index function getting J NNC is Quadratic Function Optimization be:
J J ( k ) = 1 2 ( r J ( k ) - y J ( k ) ) 2
In formula: r jk () is system reference input; y jk output that () is system;
With the weight coefficient of steepest descent method corrective networks, namely press J j(k), to the negative gradient direction search adjustment of weight coefficient, and add the Inertia that 1 makes search Fast Convergent global minima, then have:
w l j ( 3 ) ( k ) = w l j ( 3 ) ( k - 1 ) + η ( k ) · ∂ J J ( k ) ∂ w l j ( 3 ) ( k ) + α · Δw l j ( 3 ) ( k - 1 )
In formula: η (k) is learning rate, α is inertia coeffeicent;
∂ J J ( k ) ∂ w l j ( 3 ) ( k ) = ∂ J J ∂ y ( k ) · ∂ y ( k ) ∂ u ( k ) · ∂ u ( k ) ∂ O l ( 3 ) ( k ) ·
∂ O l ( 3 ) ( k ) ∂ n l ( 3 ) ( k ) · ∂ n l ( 3 ) ( k ) ∂ w l j ( 3 ) ( k )
Due to the unknown, for obtaining good control effects, should adopt the prediction output valve of forecast model replace ;
Can be in the hope of by above formula
∂ u ( k ) ∂ O 1 ( 3 ) ( k ) = e ( k ) - e ( k - 1 ) ∂ u ( k ) ∂ O 2 ( 3 ) ( k ) = e ( k ) ∂ u ( k ) ∂ O 3 ( 3 ) ( k ) = e ( k ) - 2 e ( k - 1 ) + e ( k - 2 )
The weight coefficient computing formula that therefore can obtain neural net NNC output layer is
G ' [*] in formula=g (x) [1-g (x)]
According to above-mentioned projectional technique, the computing formula that can obtain hidden layer weight coefficient is
Δw i j ( 2 ) ( k ) = η ( k ) δ i ( 2 ) O j ( 1 ) ( k ) + αΔw i j ( 2 ) ( k - 1 ) δ i ( 2 ) = f ′ [ n i ( 2 ) ( k ) ] Σ l = 1 3 δ l ( 3 ) w l i ( 3 ) ( k ) i = 1 , 2 , 3... , Q
In formula, f ' []=[1-f 2(x)]/2.
The control method of described neural net NNI is: set up a generator system MISO non linear system and describe
y(k)=f[u(k-1),y(k-1),y(k-2)];
Adopt 1 Nonlinear Prediction Models of 3 layers of RBF neural NNI as non-linear controlled device three-phase more than hydraulic generator with 3 input nodes, 5 hidden layer nodes and 1 output node;
Choose X=[u (k-1), y (k-1), y (k-2)] tfor the input vector of Nonlinear Prediction Models neural net NNI, form the radial basis vector H=[h of the RBF neural of neural net NNI 1, h 2..., h j..., h m] t, wherein, Gaussian bases
h j ( x ) = exp ( - | | X - C j | | 2 2 b j 2 ) j = 1 , 2 , ... , m
In formula: C jfor the center vector of j node, C j=[c j1, c j2..., c ji..., c jn] t; Wherein, i=l, 2.., n; b jfor the base width parameter of node, and for being greater than the number of zero;
The output of RBF neural NNI is
In formula, W jfor hidden layer neuron and the neuronic connection weight of output layer;
The performance index function of neural net NNI is taken as Quadratic Function Optimization:
J 1 = 1 2 [ y ( k ) - y m ( k ) ] 2
In formula: y (k) is system output; y mk () is neural network identification output;
According to gradient descent method, the iterative algorithm exporting power, node center and node sound stage width parameter is
w j(k)=w j(k-1)+η′(k)[y(k)-y m(k)]h j+α′[w j(k-1)-w j(k-2)]
Δb j = [ y ( k ) - y m ( k ) ] w j h j | | x - C j | | 2 b j 3
b j(k)=b j(k-1)η′(k)Δb j+α′[b j(k-1)-b j(k-2)]
Δc j i = [ y ( k ) - y m ( k ) ] w j x j - c j i b j 2
c ji(k)=c ji(k-1)+η′(k)Δc ji+α′[c ji(k-1)-c ji(k-2)]
In formula: η ' (k) is learning rate; α ' is inertia coeffeicent;
The output of controlled device to the derivative algorithm of control inputs is
∂ y ( k ) ∂ u ( k ) ≈ ∂ y ^ m ( k ) ∂ u ( k ) = Σ j = 1 m w j h j c j i - x 1 b j 2
X in formula 1=u (k).
Described RBF forecast model is by the electric current of Sample AC side and line voltage, and line voltage obtains the output angle controlled through phase-locked loop, DC voltage utilize after comparing with reference voltage RBF algorithm to grid-connected tracking power, divided by line voltage U dqafter obtain the reference signal I of desired output electric current dq, be input to RBF controller with after the shaft current after sample conversion, obtain controlling PWM output signal after computing.
The simulation model of described two-way combining inverter comprises AC voltage detection module, DC voltage detection module, phase-detection, coordinate transformation module, outer shroud voltage control module and inner ring current control module, by detecting rectifier bridge DC voltage U dcwith given voltage compare, the error signal obtained obtains given value of current value after outer voltage controller RBF computing, flows into inductive current i by detecting inversion AC abc, obtain current i through coordinate transform d, i q, comparing with given value of current value, by obtaining the modulating wave of controller after RBF computing and synthesis, after modulating wave and triangular carrier compare, obtaining the switching signal of IGBT.
Beneficial effect of the present invention: special two-way combining inverter is due to the uncertainty of energy density and spatial and temporal distributions and non-linear, traditional PID control strategy is adopted to create fairly obvious limitation for the control of the voltage of inverter, electric current, power, therefore adopt advanced Intelligent Control Theory, carrying out real-tune TT & C for high-power, the two-way grid-connected inverter system of high voltage is a preferred technical scheme.But, after adopting modern Intelligent Control Theory, for the operational capability of embedded control system and microprocessor system and hardware resource by proposing higher requirement, novel digital signal processor DSP must be adopted as core processor, and the control variables for system carries out observing and controlling at a high speed.High-power, the two-way combining inverter self adaptation PlD of high voltage based on RBF (radial basis) Neural Network Based Nonlinear forecast model control; Utilize simulinkRTW technological development control routine, build after simulation model adjustment obtains suitable parameters and change into control routine, have the advantages that fast Development obtains control effects; Based on the optimal design of the inverter of genetic algorithm
Accompanying drawing explanation
Fig. 1 is the Neural Network PID Control System that the present invention is based on RBF neural forecast model.
Fig. 2 is the input variable of NNC neural net of the present invention.
Fig. 3 is the output schematic diagram of NNC neural net of the present invention.
Fig. 4 is the main circuit topology figure of the two-way combining inverter of the present invention.
Fig. 5 is that the digital signal processor algorithm of the two-way combining inverter of the present invention controls.
Fig. 6 the present invention is based on the two-way grid-connected control principle drawing of RBF.
Embodiment
The present invention is specifically described below by drawings and Examples.
A kind of two-way combining inverter, as shown in Figure 1, Figure 2, shown in Fig. 3, Fig. 4 and Fig. 5, comprises power supply U dc, with power supply U dcelectric capacity C in parallel and three road inverter circuits, be provided with inductance L, electric capacity R, inductance L that three tunnels are connected in series between inverter circuit 1, resistance R 1and AC power, electric capacity R, inductance L 1between be parallel with electric capacity C 1; Described AC power comprises U a, U b, U c.
Different from adopting the combining inverter of inductor filter, adopt the topological structure of LCL type filter to exchange outlet side and add electric capacity and inductance.Assuming that do not consider that combining inverter DC bus both end voltage fluctuates, three-phase power grid voltage is symmetrical and stable, and main circuit switch components and parts are regarded as Ideal switch.According to Kirchoff s voltage current law and three-phase voltage source type PWM combining inverter operation principle, two-way combining inverter based on the Mathematical Modeling of switch function is:
c du d c d t = Σ k = a , b , c i 1 k S k - i d c
L di 1 k d t + R 1 i 1 k = u c k - u d c ( S k - 1 3 Σ n = a , b , c s n )
u sk=u dc*s k
i 2k=i 1k-i ck
Σ k = a , b , c u k = Σ k = a , b , c i 1 k = Σ k = a , b , c i c k = Σ k = a , b , c i 2 k = 0
u c k = 1 / c 2 * ∫ i c k d t = u s k + L di i k d t + Ri 1 k = u k - ( L di i k d t + Ri 1 k )
Based on the adaptive PID Control overall structure of RBF neural Nonlinear Prediction Models
Two-way combining inverter utilizes adaptive PID Control to control, described adaptive PID Control is based on RBF neural Nonlinear Prediction Models, comprise Neural network PID, NNC, learning algorithm, RBF forecast model and controlled device, neural net NNC is BP neural net, neural net NNI is RBF neural, and PID controller directly carries out closed-loop control to controlled device.Based on the overall structure block diagram of high-power, high voltage city underground, the light rail motor-car special I PM inverter adaptive PID Control of RBF neural Nonlinear Prediction Models as Fig. 1.In Fig. 1, neural net NNC is BP neural net, and it is according to the running status of system, regulates the parameter of PID controller, to reaching the profile error of controller parameter.PID controller directly carries out closed-loop control to controlled device, and KI, KD are on-line tuning.Neural net NNI is a RBF neural, as the Nonlinear Prediction Models of non-linear controlled device-high-power, the two-way combining inverter of high voltage.
Adaptive PID Control controls to give full play to the Neural Network PID control that the self adaptation of neural net, non-linear mapping capability and learning ability can form the very strong Parameter adjustable of a kind of adaptive ability, for improving the response speed of controlled system, for nerve network control system, generally need to carry out identification to the characteristic of controlled system, because of the nonlinear characteristic of controlled device, therefore set up the Nonlinear Prediction Models based on neural net.Utilize simulinkRTW technological development control routine, build after simulation model adjustment obtains suitable parameters and change into control routine, have the advantages that fast Development obtains control effects.
Based on the structure of the pid control parameter adaptive controller of BP neural net
First suppose that the deviation of J controller can be expressed as follows in kth time iterative process:
e J(k)=r J(k)-y J(k)J=1,2,3,N
For J controller, the incremental digital PID of its classics controls formula and can be expressed as follows:
u J ·(k)=u J ·(k-1)+W J1(k)·e J(k)-W J2(k)·e J(k-1)+W J3(k)·e J(k-2)
Wherein: W J 1 ( k ) = K P J + K I J · T s + K D J T s ;
W J 2 ( k ) = K P J + 2 · K D J T s ;
W J 3 ( k ) = K D J T s ;
In formula, KPJ, KIJ, KDJ are respectively ratio, integration, the differential coefficient of J Neural network PID adjuster, are also discretization variablees; WJ1 (k), WJ2 (k), WJ3 (k) are respectively the weight function of J Neural network PID; Ts is for controlling the sampling period, and when adopting discrete control, this parameter is a very important controlled quentity controlled variable.
The method of the control of described neural net NNC is: by W j0(k), W j1(k), W j2when () is considered as the adjustable coefficient depending on system running state k, formula (2) can be described as nonlinear function, can with neural net NNC by training and learning to find an Optimal Control rule;
Neural net NNC is 13 layers of BP neural net, and its mathematic(al) representation is:
u J(k)=f(u J(k-1),W J1(k),W J2(k),W J3(k),e J(k),e J(k-1),e J(k-2))
Neural net NNC has 4 input nodes, 6 hidden nodes, 3 output nodes; Input node corresponds to selected system running state amount, 3 adjustable parameters of the corresponding PID controller of output node difference, W j0(k), W j1(k), W j2(k); Due to PID controller coefficient W j0(k), W j1(k), W j2k () can not be negative value, so the neuronic excitation function of output layer gets the Sigmoid function of non-negative, and the excitation function of hidden layer neuron gets the Sigmoid function of Symmetrical; Choose the following parameters of J controller:
X J=[r J(k),y J(k),e J(k),1]
The output of J neural net NNC input layer is
O J j ( 1 ) ( k ) = x J j ( k ) j = 1 , 2 , .... , M
In formula: for the output node of input layer; M is the number of input variable;
The hidden layer input of neural net NNC, output are
n J i ( 2 ) ( k ) = Σ j = 1 M w i j ( 2 ) ( k ) · O J j ( 1 ) ( k ) O J i ( 2 ) ( k ) = f ( n J i ( 2 ) ( k ) ) i = 1 , 2 , ... Q
In formula: for hidden layer weight coefficient; F () is excitation function,
f(·)=tanhx=(e x-e -x)/(e x+e -x);
Input layer, hidden layer, the output layer of superscript (1), (2), (3) difference correspondence;
Input, the output of the output layer of J neural net NNC are
n J l ( 3 ) ( k ) = Σ i = 1 Q w j l ( 3 ) O J i ( 2 ) ( k ) O J l ( 3 ) ( k ) = g ( n J l ( 3 ) ( k ) ) l = 1 , 2 , 3 O J 1 ( 3 ) ( k ) = W J 1 ( k ) O J 2 ( 3 ) ( k ) = W J 2 ( k ) O J 3 ( 3 ) ( k ) = W J 3 ( k )
In formula, for output layer weight coefficient, excitation function is:
g(·)=(1+tanh(x))/2=e x/(e x-e -x)
Assuming that the performance index function getting J NNC is Quadratic Function Optimization be:
J J ( k ) = 1 2 ( r J ( k ) - y J ( k ) ) 2
In formula: r jk () is system reference input; y jk output that () is system;
With the weight coefficient of steepest descent method corrective networks, namely press J j(k), to the negative gradient direction search adjustment of weight coefficient, and add the Inertia that 1 makes search Fast Convergent global minima, then have:
w l j ( 3 ) ( k ) = w l j ( 3 ) ( k - 1 ) + η ( k ) · ∂ J J ( k ) ∂ w l j ( 3 ) ( k ) + α · Δw l j ( 3 ) ( k - 1 )
In formula: η (k) is learning rate, α is inertia coeffeicent;
∂ J J ( k ) ∂ w l j ( 3 ) ( k ) = ∂ J J ( k ) ∂ y ( k ) · ∂ y ( k ) ∂ u ( k ) · ∂ u ( k ) ∂ O l ( 3 ) ( k ) ·
∂ O l ( 3 ) ( k ) ∂ n l ( 3 ) ( k ) · ∂ n l ( 3 ) ( k ) ∂ w l j ( 3 ) ( k )
Due to the unknown, for obtaining good control effects, should adopt the prediction output valve of forecast model replace
Can be in the hope of by above formula
∂ u ( k ) ∂ O 1 ( 3 ) ( k ) = e ( k ) - e ( k - 1 ) ∂ u ( k ) ∂ O 2 ( 3 ) ( k ) = e ( k ) ∂ u ( k ) ∂ O 3 ( 3 ) ( k ) = e ( k ) - 2 e ( k - 1 ) + e ( k - 2 )
The weight coefficient computing formula that therefore can obtain neural net NNC output layer is
G ' [*] in formula=g (x) [1-g (x)]
According to above-mentioned projectional technique, the computing formula that can obtain hidden layer weight coefficient is
Δw i j ( 2 ) ( k ) = η ( k ) δ i ( 2 ) O j ( 1 ) ( k ) + αΔw i j ( 2 ) ( k - 1 ) δ i ( 2 ) = f ′ [ n i ( 2 ) ( k ) ] Σ l = 1 3 δ l ( 3 ) w l i ( 3 ) ( k ) i = 1 , 2 , 3... , Q
In formula, f ' []=[1-f 2(x)]/2.
For convergence speedup speed, native system adopts the learning algorithm becoming learning rate, according to the size of convergence process medial error, and online adaptive ground regularized learning algorithm speed, the size of η (k).For improving the performance of system, adopt Nonlinear Prediction Models pair carry out on-line identification and prediction.High-power in native system, the two-way combining inverter of high voltage
The control method of described neural net NNI is: set up high-power, a high voltage two-way combining inverter MISO non linear system and describe
y(k)=f[u(k-1),y(k-1),y(k-2)];
Adopt 1 Nonlinear Prediction Models of 3 layers of RBF neural NNI as non-linear controlled device three-phase more than hydraulic generator with 3 input nodes, 5 hidden layer nodes and 1 output node;
Choose X=[u (k-1), y (k-1), y (k-2)] tfor the input vector of Nonlinear Prediction Models neural net NNI, form the radial basis vector H=[h of the RBF neural of neural net NNI 1, h 2..., h j..., h m] t, wherein, Gaussian bases
h j ( x ) = exp ( - | | X - C j | | 2 2 b j 2 ) j = 1 , 2 , ... , m
In formula: C jfor the center vector of j node, C j=[c j1, c j2..., c ji..., c jn] t; Wherein, i=l, 2.., n; b jfor the base width parameter of node, and for being greater than the number of zero;
The output of RBF neural NNI is
In formula, W jfor hidden layer neuron and the neuronic connection weight of output layer;
The performance index function of neural net NNI is taken as Quadratic Function Optimization:
J 1 = 1 2 [ y ( k ) - y m ( k ) ] 2
In formula: y (k) is system output; y mk () is neural network identification output;
According to gradient descent method, the iterative algorithm exporting power, node center and node sound stage width parameter is
w j(k)=w j(k-1)+η′(k)[y(k)-y m(k)]h j+α′[w j(k-1)-w j(k-2)]
Δb j = [ y ( k ) - y m ( k ) ] w j h j | | x - C j | | 2 b j 3
b j(k)=b j(k-1)η′(k)Δb j+α′[b j(k-1)-b j(k-2)]
Δc j i = [ y ( k ) - y m ( k ) ] w j x j - c j i b j 2
c ji(k)=c ji(k-1)+η′(k)Δc ji+α′[c ji(k-1)-c ji(k-2)]
In formula: η ' (k) is learning rate; α ' is inertia coeffeicent;
The output of controlled device to the derivative algorithm of control inputs is
∂ y ( k ) ∂ u ( k ) ≈ ∂ y ^ m ( k ) ∂ u ( k ) = Σ j = 1 m w j h j c j i - x 1 b j 2
X in formula 1=u (k).
Based on the two-way cutting-in control mode of RBF
RBF forecast model adopts combining inverter structure as described in Figure 6, by electric current and the line voltage of Sample AC side, line voltage obtains the output angle controlled through phase-locked loop pll, DC voltage utilize after comparing with reference voltage RBF algorithm to grid-connected tracking power, divided by the Ud of line voltage, obtain the reference signal Idq of desired output electric current after Uq, be input to RBF controller with after the dq shaft current after sample conversion, obtain controlling PWM output signal after computing.
Emulation and control block diagram
As shown in Figure 5, the simulation model of two-way combining inverter mainly contains AC voltage detection module, DC voltage detection module, phase-detection and coordinate transformation module, outer shroud voltage control module, inner ring current control module, by detecting rectifier bridge DC voltage U dcwith given voltage compare, the error signal obtained obtains given value of current value after outer voltage controller RBF computing, flows into inductive current i by detecting inversion AC abc, obtain i through coordinate transform d, i q, comparing with given value of current value, by obtaining the modulating wave of controller after RBF computing and synthesis, after modulating wave and triangular carrier compare, obtaining the switching signal of IGBT.So just reach the object of control.
For adapting to uncertainty, non-linear and time variation that most of modern controlled device has, the Adaptive PID Control strategy of variable element should be adopted.Artificial neural net is combined with PID control law, gives full play to the Neural Network PID control that the self adaptation of neural net, non-linear mapping capability and learning ability can form the very strong Parameter adjustable of a kind of adaptive ability.For improving the response speed of controlled system, for nerve network control system, generally needing to carry out identification to the characteristic of controlled system, because of the nonlinear characteristic of controlled device, setting up the Nonlinear Prediction Models based on neural net.The Nonlinear Prediction Models that application RBF neural realizes, has fast convergence rate, can avoid converging on Local Extremum and the succinct advantage of network configuration, thus can improve the dynamic response characteristic of system.
It is loaded down with trivial details and the rate height construction cycle that reports an error is long that line code programming has programming, and by utilizing real-time code Core Generator case (RTW) Simulink module map to be automatically converted to C code, through rewriting on a small quantity and adding real time control machine system, can from Simulink module transitions to VC Integrated Development Environment, thus achieve the seamless link of design phase and implementation phase, eliminate the tedious work writing model code and Simulation Control code in VC, and greatly facilitate secondary development and the integration of system.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.

Claims (8)

1. a two-way combining inverter, is characterized in that, comprises power supply U dc, with power supply U dcelectric capacity C in parallel and three road inverter circuits, be provided with inductance L, electric capacity R, inductance L that three tunnels are connected in series between inverter circuit 1, resistance R 1and AC power, electric capacity R, inductance L 1between be parallel with electric capacity C 1; Described AC power comprises U a, U b, U c.
2. two-way combining inverter according to claim 1, is characterized in that, according to Kirchoff s voltage current law and three-phase voltage source type PWM combining inverter operation principle, two-way combining inverter based on the Mathematical Modeling of switch function is:
c du d c d t = Σ k = a , b , c i 1 k S k - i d c
L di 1 k d t + R 1 i 1 k = u c k - u d c ( s k - 1 3 Σ n = a , b , c s n )
u sk=u dc*s k
i 2k=i 1k-i ck
Σ k = a , b , c u k = Σ k = a , b , c i 1 k = Σ k = a , b , c i c k = Σ k = a , b , c i 2 k = 0
u c k = 1 / c 2 * ∫ i c k d t = u s k + L di i k d t + Ri 1 k = u k - ( L di i k d t + Ri 1 k )
3. two-way combining inverter according to claim 1, it is characterized in that, described two-way combining inverter utilizes adaptive PID Control to control, described adaptive PID Control is based on RBF neural Nonlinear Prediction Models, comprise Neural network PID, NNC, learning algorithm, RBF forecast model and controlled device, neural net NNC is BP neural net, and neural net NNI is RBF neural, and PID controller directly carries out closed-loop control to controlled device.
4. two-way combining inverter according to claim 3, is characterized in that, the method that described PID Controlling model is set up is:
Assuming that in kth time iterative process, the deviation of J controller is:
e J(k)=r J(k)-y J(k)J=1,2,3,N
For J controller, the incremental digital PID of its classics controls formula and can be expressed as follows:
u J · ( k ) = u J · ( k - 1 ) + W J 1 ( k ) · e J ( k ) - W J 2 ( k ) · e J ( k - 1 ) + W J 3 ( k ) · e J ( k - 2 )
Wherein: W J 1 ( k ) = K P J + K I J · T s + K D J T s ;
W J 2 ( k ) = K P J + 2 · K D J T s ;
W J 3 ( k ) = K D J T s ;
In above formula, K pJ, K iJ, K dJbeing respectively the ratio of J Neural network PID adjuster, integration, differential coefficient, is also discretization variable; W j1(k), W j2(k), W j3k () is respectively the weight function of J Neural network PID; T sfor controlling the sampling period.
5. two-way combining inverter according to claim 4, is characterized in that, the method that described PID Controlling model is set up is:
The method of the control of described neural net NNC is:
By W j0(k), W j1(k), W j2when () is considered as the adjustable coefficient depending on system running state k, formula (2) can be described as nonlinear function, can with neural net NNC by training and learning to find an Optimal Control rule;
Neural net NNC is 13 layers of BP neural net, and its mathematic(al) representation is:
u J(k)=f(u J(k-1),W J1(k),W J2(k),W J3(k),e J(k),e J(k-1),e J(k-2))
Neural net NNC has 4 input nodes, 6 hidden nodes, 3 output nodes; Input node corresponds to selected system running state amount, 3 adjustable parameters of the corresponding PID controller of output node difference, W j0(k), W j1(k), W j2(k); Due to PID controller coefficient W j0(k), W j1(k), W j2k () can not be negative value, so the neuronic excitation function of output layer gets the Sigmoid function of non-negative, and the excitation function of hidden layer neuron gets the Sigmoid function of Symmetrical; Choose the following parameters of J controller:
X J=[r J(k),y J(k),e J(k),1]
The output of J neural net NNC input layer is
O J j ( 1 ) ( k ) = x J j ( k ) , j = 1 , 2 , .... , M
In formula: for the output node of input layer; M is the number of input variable;
The hidden layer input of neural net NNC, output are
n J i ( 2 ) ( k ) = Σ j = 1 M w i j ( 2 ) ( k ) · O J j ( 1 ) ( k ) O J i ( 2 ) ( k ) = f ( n J i ( 2 ) ( k ) ) , i = 1 , 2 , ... Q
In formula: for hidden layer weight coefficient; F () is excitation function,
f(·)=tanhx=(e x-e -x)/(e x+e -x);
Input layer, hidden layer, the output layer of superscript (1), (2), (3) difference correspondence;
Input, the output of the output layer of J neural net NNC are
n J l ( 3 ) ( k ) = Σ i = 1 Q w j l ( 3 ) O J i ( 2 ) ( k ) O J l ( 3 ) ( k ) = g ( n J l ( 3 ) ( k ) ) , l = 1 , 2 , 3 O J 1 ( 3 ) ( k ) = W J 1 ( k ) O J 2 ( 3 ) ( k ) = W J 2 ( k ) O J 3 ( 3 ) ( k ) = W J 3 ( k )
In formula, for output layer weight coefficient, excitation function is:
g(·)=(1+tanh(x))/2=e x/(e x-e -x)
Assuming that the performance index function getting J NNC is Quadratic Function Optimization be:
J J ( k ) = 1 2 ( r J ( k ) - y J ( k ) ) 2
In formula: r jk () is system reference input; y jk output that () is system;
With the weight coefficient of steepest descent method corrective networks, namely press J j(k), to the negative gradient direction search adjustment of weight coefficient, and add the Inertia that 1 makes search Fast Convergent global minima, then have:
w l j ( 3 ) ( k ) = w l j ( 3 ) ( k - 1 ) + η ( k ) · ∂ J J ( k ) ∂ w l j ( 3 ) ( k ) + α · Δw l j ( 3 ) ( k - 1 )
In formula: η (k) is learning rate, α is inertia coeffeicent;
∂ J J ( k ) ∂ w l j ( 3 ) ( k ) = ∂ J J ( k ) ∂ y ( k ) · ∂ y ( k ) ∂ u ( k ) · ∂ u ( k ) ∂ O l ( 3 ) ( k ) · ∂ O l ( 3 ) ( k ) ∂ n l ( 3 ) ( k ) · ∂ n l ( 3 ) ( k ) ∂ w l j ( 3 ) ( k )
Due to the unknown, for obtaining good control effects, should adopt the prediction output valve of forecast model replace
Can be in the hope of by above formula
∂ u ( k ) ∂ O 1 ( 3 ) ( k ) = e ( k ) - e ( k - 1 ) ∂ u ( k ) ∂ O 2 ( 3 ) ( k ) = e ( k ) ∂ u ( k ) ∂ O 3 ( 3 ) ( k ) = e ( k ) - 2 e ( k - 1 ) + e ( k - 2 )
The weight coefficient computing formula that therefore can obtain neural net NNC output layer is
G ' [*] in formula=g (x) [1-g (x)]
According to above-mentioned projectional technique, the computing formula that can obtain hidden layer weight coefficient is
Δw i j ( 2 ) ( k ) = η ( k ) δ i ( 2 ) O j ( 1 ) ( k ) + αΔw i j ( 2 ) ( k - 1 ) δ i ( 2 ) = f ′ [ n i ( 2 ) ( k ) ] Σ l = 1 3 δ l ( 3 ) w l i ( 3 ) ( k ) i = 1 , 2 , 3 ... , Q
In formula, f ' []=[1-f 2(x)]/2.
6. two-way combining inverter according to claim 5, is characterized in that, the control method of described neural net NNI is: set up high-power, a high voltage two-way combining inverter MISO non linear system and describe
y(k)=f[u(k-1),y(k-1),y(k-2)];
Adopt 1 Nonlinear Prediction Models of 3 layers of RBF neural NNI as non-linear controlled device three-phase more than hydraulic generator with 3 input nodes, 5 hidden layer nodes and 1 output node;
Choose X=[u (k-1), y (k-1), y (k-2)] tfor the input vector of Nonlinear Prediction Models neural net NNI, form the radial basis vector H=[h of the RBF neural of neural net NNI 1, h 2..., h j..., h m] t, wherein, Gaussian bases
h j ( x ) = exp ( - | | X - C j | | 2 2 b j 2 ) , j = 1 , 2 , ... , m
In formula: C jfor the center vector of j node, C j=[c j1, c j2..., c ji..., c jn] t; Wherein, i=l, 2.., n; b jfor the base width parameter of node, and for being greater than the number of zero;
The output of RBF neural NNI is
In formula, W jfor hidden layer neuron and the neuronic connection weight of output layer;
The performance index function of neural net NNI is taken as Quadratic Function Optimization:
J 1 = 1 2 [ y ( k ) - y m ( k ) ] 2
In formula: y (k) is system output; y mk () is neural network identification output;
According to gradient descent method, the iterative algorithm exporting power, node center and node sound stage width parameter is
w j(k)=w j(k-1)+η′(k)[y(k)-y m(k)]h j+α′[w j(k-1)-w j(k-2)]
Δb j = [ y ( k ) - y m ( k ) ] w j h j | | x - C j | | 2 b j 3
b j(k)=b j(k-1)η′(k)Db j+α′[b j(k-1)-b j(k-2)]
Δc j i = [ y ( k ) - y m ( k ) ] w j x j - c j i b j 2
c ji(k)=c ji(k-1)+η′(k)Dc ji+α′[c ji(k-1)-c ji(k-2)]
In formula: η ' (k) is learning rate; α ' is inertia coeffeicent;
The output of controlled device to the derivative algorithm of control inputs is
∂ y ( k ) ∂ u ( k ) ≈ ∂ y ^ m ( k ) ∂ u ( k ) = Σ j = 1 m w j h j c j i - x 1 b j 2
X in formula 1=u (k).
7. two-way combining inverter according to claim 3, it is characterized in that, described RBF forecast model passes through electric current and the line voltage of Sample AC side, line voltage obtains the output angle controlled through phase-locked loop, DC voltage utilize after comparing with reference voltage RBF algorithm to grid-connected tracking power, divided by line voltage U dqafter obtain the reference signal I of desired output electric current dq, be input to RBF controller with after the shaft current after sample conversion, obtain controlling PWM output signal after computing.
8. two-way combining inverter according to claim 3, it is characterized in that, the simulation model of described two-way combining inverter comprises AC voltage detection module, DC voltage detection module, phase-detection, coordinate transformation module, outer shroud voltage control module and inner ring current control module, by detecting rectifier bridge DC voltage U dcwith given voltage compare, the error signal obtained obtains given value of current value after outer voltage controller RBF computing, flows into inductive current i by detecting inversion AC abc, obtain current i through coordinate transform d, i q, comparing with given value of current value, by obtaining the modulating wave of controller after RBF computing and synthesis, after modulating wave and triangular carrier compare, obtaining the switching signal of IGBT.
CN201510776788.XA 2015-11-11 2015-11-11 Bidirectional grid connected inverter Pending CN105262358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510776788.XA CN105262358A (en) 2015-11-11 2015-11-11 Bidirectional grid connected inverter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510776788.XA CN105262358A (en) 2015-11-11 2015-11-11 Bidirectional grid connected inverter

Publications (1)

Publication Number Publication Date
CN105262358A true CN105262358A (en) 2016-01-20

Family

ID=55101904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510776788.XA Pending CN105262358A (en) 2015-11-11 2015-11-11 Bidirectional grid connected inverter

Country Status (1)

Country Link
CN (1) CN105262358A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105911865A (en) * 2016-06-08 2016-08-31 中国人民解放军后勤工程学院 Control method of PID controller
CN106099988A (en) * 2016-08-20 2016-11-09 南京理工大学 LCL type photovoltaic combining inverter adaptive control system and control method
CN108258922A (en) * 2018-03-30 2018-07-06 国网安徽省电力公司电力科学研究院 A kind of two-stage pressure-regulating controller of ultra-high-voltage DC generator
CN109188912A (en) * 2018-10-12 2019-01-11 国网浙江省电力有限公司绍兴供电公司 A kind of control method for energy storage device in grid-connected distributed energy resource system
CN110518860A (en) * 2019-08-30 2019-11-29 长安大学 Permanent magnet synchronous motor model predictive control method based on BP neural network and switch list
CN110518847A (en) * 2019-08-30 2019-11-29 长安大学 Surface permanent magnetic Synchronous Machine Models forecast Control Algorithm based on BP neural network
CN110535396A (en) * 2019-08-30 2019-12-03 长安大学 Surface permanent magnetic Synchronous Machine Models forecast Control Algorithm based on BP neural network
CN110855155A (en) * 2019-12-04 2020-02-28 兰州交通大学 Screen grid power supply control method based on model predictive control
CN112947606A (en) * 2021-03-11 2021-06-11 哈尔滨工程大学 Boiler liquid level control system and method based on BP neural network PID predictive control

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105911865A (en) * 2016-06-08 2016-08-31 中国人民解放军后勤工程学院 Control method of PID controller
CN106099988A (en) * 2016-08-20 2016-11-09 南京理工大学 LCL type photovoltaic combining inverter adaptive control system and control method
CN108258922A (en) * 2018-03-30 2018-07-06 国网安徽省电力公司电力科学研究院 A kind of two-stage pressure-regulating controller of ultra-high-voltage DC generator
CN109188912A (en) * 2018-10-12 2019-01-11 国网浙江省电力有限公司绍兴供电公司 A kind of control method for energy storage device in grid-connected distributed energy resource system
CN110535396A (en) * 2019-08-30 2019-12-03 长安大学 Surface permanent magnetic Synchronous Machine Models forecast Control Algorithm based on BP neural network
CN110518847A (en) * 2019-08-30 2019-11-29 长安大学 Surface permanent magnetic Synchronous Machine Models forecast Control Algorithm based on BP neural network
CN110518860A (en) * 2019-08-30 2019-11-29 长安大学 Permanent magnet synchronous motor model predictive control method based on BP neural network and switch list
CN110518847B (en) * 2019-08-30 2021-03-30 长安大学 Surface permanent magnet synchronous motor model prediction control method based on BP neural network
CN110535396B (en) * 2019-08-30 2021-03-30 长安大学 Surface permanent magnet synchronous motor model prediction control method based on BP neural network
CN110518860B (en) * 2019-08-30 2021-05-04 长安大学 Permanent magnet synchronous motor model prediction control method
CN110855155A (en) * 2019-12-04 2020-02-28 兰州交通大学 Screen grid power supply control method based on model predictive control
CN110855155B (en) * 2019-12-04 2021-06-18 兰州交通大学 Screen grid power supply control method based on model predictive control
CN112947606A (en) * 2021-03-11 2021-06-11 哈尔滨工程大学 Boiler liquid level control system and method based on BP neural network PID predictive control

Similar Documents

Publication Publication Date Title
CN105262358A (en) Bidirectional grid connected inverter
CN106230257B (en) A kind of two-way DC converter feedback linearization contragradience sliding-mode control
Chung et al. Integration of a bi-directional DC–DC converter model into a real-time system simulation of a shipboard medium voltage DC system
Lam et al. Primary frequency H∞ control in stand-alone microgrids with storage units: A robustness analysis confirmed by real-time experiments
CN104298809A (en) Nonlinear modeling solving method based on matrix index electromagnetic transient simulation
CN105006839A (en) Weak power grid source load impedance model analysis method of grid-connected power generation system
Hu et al. Maximum power point tracking control of a high power dc-dc converter for PV integration in MVDC distribution grids
Woo et al. D-STATCOM dq axis current reference control applying DDPG algorithm in the distribution system
CN107482677A (en) A kind of photovoltaic combining inverter modified fuzzy sliding mode controlling method based on interference observer
CN106292283A (en) A kind of adaptive fuzzy integral sliding mode control method of photovoltaic combining inverter
CN104298834A (en) Object oriented technology-based direct current system modeling method and fault simulation method
Ramakrishna et al. Radial basis function identifier and pole-shifting controller for power system stabilizer application
CN117097189A (en) Control method of photovoltaic inverter
Dey et al. Large-and small-signal modeling derived loss optimal power loop decoupling mechanism of tab converter
Nademi et al. Implicit finite control set model predictive current control for modular multilevel converter based on IPA-SQP algorithm
CN111697857A (en) Novel MPC control method suitable for single-phase cascade rectifier of direct-current micro-grid
CN106374452A (en) Feedback passive control method for direct current microgrid converters
CN103457274A (en) STATCOM current control method of multi-model fuzzy neural network PI controllers
CN105406749A (en) Design method for robust controller of grid-connected inverter parallel system
CN106099988A (en) LCL type photovoltaic combining inverter adaptive control system and control method
Setiawan et al. Control Strategy Based on Associative Memory Networks for a Grid-Side Converter in On-Grid Renewable Generation Systems Under Generalized Unbalanced Grid Voltage Conditions
CN105353614A (en) Control method for speed-variable frequency-constant double-feed bidirectional tidal power generator system
Kamarposhti et al. The Control of Buck Boost DC-DC Converters for DC Motor Drives on variable DC Voltage by Using Neural Network
Sun et al. Model-Free Moving-Discretized-Control-Set Predictive Control for Three-Phase Dual-Active-Bridge Converters
Weike et al. Fuzzy neural networks and GA based predictive control for active power filter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160120