// Grab.h * ===================================================================== ==== __Grab_Code_Definitions() ===================================================================== ==== */ //#ifdef GRAB_SETTINGS_DEFINED_ON_LOCALFOLDER
#ifndef GRAB_LOCAL_H // The grab array size and type not yet specified
#define GRAB_LOCAL_H 1
/** @name Grab Code Definitions */ //@{ ///grab type //#define GRAB_SHORT //#define GRAB_LONG 1 #define GRAB_DOUBLE 1
// grab array size
#define GRAB_LENGTH 200 ///< Length of Grab Code Array #define GRAB_WIDTH 6 ///< Width of Grab Code Array //@}
#endif
#define GRAB_DEC 10 ///< Decimals - not used // modes
#define GRAB_GO 0 ///< logging data and waiting for trigger to stop
#define GRAB_IDLE 1 ///< waiting for a start signal #define GRAB_TRIG 2 ///< waiting for a trigger point #define GRAB_STOPPED 3 ///< finished logging data #define GRAB_SHOW 4 ///< showing logged data // macros
/// starts waiting for a trigger
#define GrabStart() { grab_index = 0; grab_mode = GRAB_TRIG; } /// goes from triggered to running
#define GrabRun() { grab_index = 0; grab_mode = GRAB_GO; } /// forces a running grab to stop
#define GrabStop() grab_mode = GRAB_STOPPED; /// Clear grab contents - ready to overwrite
#define GrabClear() { grab_index = 0; grab_mode = GRAB_IDLE; } /// Check if Grab has been Triggered
#define GrabTriggered() (grab_mode == GRAB_TRIGGER) /// Check if Grab is Running
#define GrabRunning() (grab_mode == GRAB_GO) /// Check if Grab has stopped
#define GrabStopped() (grab_mode == GRAB_STOPPED) /// Check if Grab data is available
#define GrabAvail() (grab_mode >= GRAB_STOPPED) /// Check if Grab data can be triggered
/// log data macro
#define GrabStore(_loc_,_data_) \
grab_array[grab_index][_loc_] = _data_; /// wrap around storage
#define GrabStep() { grab_index++; \ if (grab_index >= GRAB_LENGTH) \ grab_mode = GRAB_STOPPED; \ } /* ===================================================================== ==== __Exported_Variables() ===================================================================== ======= */ extern int16
grab_mode, ///< Current Grab Mode grab_index, ///< Index into Grab array grab_dec; ///< grab decimation counter #ifdef GRAB_SHORT
extern short
grab_array[GRAB_LENGTH][GRAB_WIDTH]; ///< Grab Array #endif
#ifdef GRAB_LONG extern long
grab_array[GRAB_LENGTH][GRAB_WIDTH]; ///< Grab Array #endif
#ifdef GRAB_DOUBLE extern double
grab_array[GRAB_LENGTH][GRAB_WIDTH]; ///< Grab Array #endif /* ===================================================================== ==== __Exported_Functions() ===================================================================== ======= */ // functions
void GrabDisplay(void); ///< Display the grabbed data for file storage
void GrabInit(void); ///< Initialise the grab data storage array //*}
// end grab.h
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
References
[1] H. M. Rustebakke et al., Electric Utility Systems and Practices, Wiley, 1983. [2] J. D. Glover et al., Power System Analysis and Design, Thomson Learning,
2007
[3] A. R. Bergen, Power System Analysis, Prentice-Hall, 1986
[4] R. H. Lasseter P. Paigi "Microgrid: A conceptual solution" Proc. IEEE
35thAnnu. Power Electron. Spec. Conf. pp. 4285-4290 2004.
[5] R. E. P. N. for the 21st Century “Renewables 2010 Global Status Report” Tech. Rep. 2010
[6] H. Jiayi, J. Chuanwen, and X. Rong, "A review on distributed energy resources and MicroGrid," Renewable and Sustainable Energy Reviews, vol. 12, no. 9, pp. 2472-2483, 2008/12/01/ 2008.
[7] H. L. Robert et al., "Integration of Distributed Energy Resources: The CERTS
MicroGrid Concept," CERTS2003.
[8] Farhangi, H.: ‘The path of the smart grid’, IEEE Power Energy Mag., 2010, 8, (1), pp. 18–28
[9] K. A. Nigim and L. Wei-Jen, "Micro Grid Integration Opportunities and Challenges, " in Power Engineering Society General Meeting, 2007. IEEE, 2007, pp. 1-6.
[10] N. D. Hatziargyriou and A. P. S. Meliopoulos, “Distributed energy sources: Technical challenges,” in Proc. IEEE/PES 2002 Winter Power Meeting, New York, Jan. 27–31, 2002, vol. 2, pp. 1017–1022.
[11] P. Biczel, "Power Electronic Converters in DC Microgrid," in 2007
Compatibility in Power Electronics, 2007, pp. 1-6.
[12] Rocabert, J., Luna, A., Blaabjerg, F., et al.: ‘Control of power converters in AC microgrids’, IEEE Trans. Power Electron., 2012, 27, (11), pp. 4734–4749
[13] Tang, Y., Loh, P., Wang, P., et al.: ‘Exploring inherent damping characteristic of LCL-filters for three-phase grid-connected voltage source inverters’, IEEE
Trans. Power Electron., 2012, 27, (3), pp. 1433–1443
[14] H. Akagi, “New trends in active filters for power conditioning,” IEEE Trans. Ind. Appl.,1996, 32, (6), pp. 1312–1322.
[15] Guerrero, J.M., Vasquez, J.C., Matas, J.: ‘Hierarchical control of droop- controlled AC and DC microgrids—a general approach toward standardization’,
IEEE Trans. Ind. Electron., 2011, 58, (1), pp. 158–172
[16] Olivares, D.E., Mehrizi-Sani, A., Etemadi, A.H., et al.: ‘Trends in microgrid control’, IEEE Trans. Smart Grid, 2014, 5, (4), pp. 1905–1919
[17] Guerrero, J.M., Chandorkar, M., Lee, T., Loh, P.C.: ‘Advanced control architectures for Intelligent microgrids – Part I: decentralized and hierarchical control’, IEEE Trans. Ind. Electron., 2013, 60, (40), pp. 1254–1262
[18] Tsikalakis, A., Hatziargyriou, N.: ‘Centralized control for optimizing microgrids operation’, IEEE Trans. Energy Convers., 2008, 23, (1), pp. 241– 248
[19] Yazdanian, M., Mehrizi-Sani, A.: ‘Distributed control techniques in microgrids’, IEEE Trans. Smart Grid, 2014, 5, (6), pp. 2901–2909
[20] L. Meng, M. Savaghebi, F. Andrade, J. C. Vasquez, J. Guerrero, and M. Graells, “Microgrid central controller development and hierarchical control implementation in the intelligent microgrid lab of Aalborg University,” in Proc.
IEEE. Appl. Power Electron. Conf. Expo., Mar. 2015, pp. 2585–2592.
[21] J. M. Guerrero, N. Berbel, J. Matas, J. L. Sosa, and L. G. de Vicuña, “Control of line-interactive UPS connected in parallel forming a microgrid,” in Proc.
IEEE ISIE, 2007, pp. 2667–2672.
[22] Lopes, J.A.P., Moreira, C.L., Madureira, A.G.: ‘Defining control strategies for microgrids islanded operation’, IEEE Trans. Power Syst., 2006, 21, (2), pp. 916–924
[23] J. M. Guerrero, J. C. Vasquez, J. Matas, J. L. Sosa, and L. G. de Vicuna, “Parallel operation of uninterruptible power supply systems in microgrids,” in
Proc. 2007 Eur. Power Electron. Appl. Conf., pp. 1–9.
[24] Lazzarin, T.B., Bauer, G.A.T., Barbi, I.: ‘A control strategy for parallel operation of single-phase voltage source inverters: analysis, design and experimental results’, IEEE Trans. Ind. Electron., 2013, 60, (6), pp. 2194–2204 [25] Guerrero, J.M., Matas, J., Luis Garcia de, V., et al.: ‘Decentralized control for
parallel operation of distributed generation inverters using resistive output impedance’, IEEE Trans. Ind. Electron., 2007, 54, pp. 994–1004
[26] J. M. Guerrero, J. Matas, L. Garcia de Vicuna, N. Berbel, and J. Sosa, “Wireless-control strategy for parallel operation of distributed generation inverters,” in Proc. IEEE Int. Symp. Ind. Electron., 2005, vol. 2, pp. 845– 850.
[27] Guerrero, J.M., Vasquez, J.C., Matas, J., et al.: ‘Control strategy for flexible microgrid based on parallel line-interactive UPS systems’, IEEE Trans. Ind.
Electron., 2009, 56, (3), pp. 726–736
[28] Guerrero, J.M., Vicuna, L.G.d., Matas, J., et al.: ‘A wireless controller to enhance dynamic performance of parallel inverters in distributed generation systems’, IEEE Trans. Power Electron., 2004, 19, (5), pp. 1205–1213
[29] F. d. Bosio, L. A. d. S. Ribeiro, M. S. Lima, F. Freijedo, J. M. Guerrero, and M. Pastorelli, "Inner current loop analysis and design based on resonant regulators for isolated microgrids," in proc IEEE Power Electron Conf, pp. 1-6,2015. [30] Monfared, M., Golestan, S., Guerrero, J.M.: ‘Analysis, design, and
experimental verification of a synchronous reference frame voltage control for single-phase inverters’, IEEE Trans. Ind. Electron., 2014, 61, (1), pp. 258–269 [31] D. Dong, T. Thacker, R. Burgos, F. Wang, and D. Boroyevich, “On zero
steady-state error voltage control of single-phase PWM inverters with different load types,” IEEE Trans. Power Electron., 2011, 26, (11), pp. 3285–3297. [32] W. Guo, S. Duan, Y. Kang, and J. Chen, “A new digital multiple feedback
control strategy for single-phase voltage-source PWM inverters,” in Proc. Int.
Conf. Elect. Electron. Technol., Aug. 2001, vol. 2, pp. 809–813.
[33] Ind. Appl. Soc. Annu. Meet., 2005, vol. 1, pp. 572–578. [24] P. C. Loh, M. J. Newman, D. N. Zmood, and D. G. Holmes, “Improved transient and steady state voltage regulation for single and three phase uninterruptible power supplies,” in Proc. 32nd IEEE Power Electron. Spec. Conf., Jun. 2001, vol. 2, pp. 498–503
[34] D. N. Zmood, D. G. Holmes, and G. H. Bode, “Stationary frame current regulation of PWM inverters with zero steady-state error,” IEEE Trans. Power
Electron.,18, (3), pp. 814–822.
[35] Li, Y., Vilathgamuwa, D.M., Loh, P.: ‘Design, analysis, and real-time testing of a controller for multibus microgrid system’, IEEE Trans. Power Electron., 2004, 19, (5), pp. 1195–1204.
[36] A. Tuladhar, H. Jin, T. Unger, and K. Mauch, “Parallel operation of single phase inverter modules with no control interconnections,” in Proc. IEEE
APEC’97, vol. 1, Atlanta, GA, Feb. 1997, pp. 94–100.
[37] He, J., Li, Y.W.: ‘An enhanced microgrid load demand sharing strategy’, IEEE
Trans. Power Electron., 2012, 27, (9), pp. 3984–3995
[38] Y. Guan, J. M. Guerrero, M. Savaghebi, J. C. Vasquez, and W. Feng, "A novel harmonic current sharing control strategy for parallel-connected inverters," in
proc IEEE Energy Conv Cong and Exposition (ECCE), pp. 1602-1607,2017
[39] H. Moussa, A. Shahin, J. Martin, B. Nahid-Mobarakeh, S. Pierfederici, and N. Moubayed, “Harmonic power sharing with voltage distortion compensation of droop controlled islanded microgrids,” IEEE Trans. Smart Grid, 2018, 9 (5), pp. 5335–5347.
[40] L. Hongpeng, L. Xiaoxi, Z. Wei, and W. Wei, "An Improved Harmonic Power Sharing Scheme of Paralleled Inverter System," in proc conf International
Power Electronics Conference (ECCE Asia),pp. 2969-2972,2018.
[41] Guerrero, J., de Vicuna, L., Matas, J., et al.: ‘Output impedance design of parallel-connected ups inverters with wireless load-sharing control’, IEEE
Trans. Ind. Electron., 2005, 52, (4), pp. 1126–1135
[42] Li, Y.W., Kao, C.N.: ‘An accurate power control strategy for power electronics- interfaced distributed generation units operating in a low voltage multi bus microgrid’, IEEE Trans. Power Electron., 2009, 24, (12), pp. 2977–2988 [43] De Brabandere, K., Bolsens, B., Van den Keybus, J., et al.: ‘A voltage and
frequency droop control method for parallel inverters’, IEEE Trans. Power
Electron., 2007, 22, (4), pp. 1107–1115.
[44] Li, Y., Li, Y.W.: ‘Power management of inverter interfaced autonomous microgrid based on virtual frequency-voltage frame’, IEEE Trans. Smart Grid, 2011, 2, pp. 30–40.
[45] A. Tuladhar, H. Jin, T. Unger, and K. Mauch, “Control of parallel inverters in distributed AC power system with consideration of line impedance effect,”
IEEE Trans. Ind. Appl., 2000, 36, (1), pp. 131–138.
[46] A. N. R, L. I. U. Z, and L. I. U. J, "Modified Adaptive Virtual Impedance Method to Compensate Mismatched Line Impedances in Microgrids," in proc
IEEE Applied Power Electron, pp. 1109-1114,2019.
[47] H. Akagi, “Classification, terminology, and application of the modular multilevel cascade converter (MMCC),” in Conf. Rec. IEEJ IPEC, Jun. 2010, pp. 508–515.
[48] S. Rivera, S. Kouro, B. Wu, J. I. Leon, J. Rodriguez, and L. G. Franquelo, “Cascaded H-bridge multilevel converter multistring topology for large scale photovoltaic systems,” in Proc. IEEE ISIE, Jun. 27–30, 2011, pp. 1837–1844. [49] J. He, Y. Li, B. Liang, and C. Wang, “Inverse power factor droop control for
decentralized power sharing in series-connected micro-converters based islanding microgrids,” IEEE Trans. Ind. Electron.,2017, 64 (9) , pp. 7444– 7454.
[50] H. Jafarian, S. Bhowmik, and B. Parkhideh, “Hybrid current-\voltagemode control scheme for distributed AC-stacked PV inverter with lowbandwidth communication requirements,” IEEE Trans. Ind. Electron.,2018, 65 (1) , pp. 321–330.
[51] H. Jafarian, B. Parkhideh, J. Enslin, R. Cox, and S. Bhowmik, “On reactive power injection control of distributed grid-tied AC-stacked PV inverter architecture,” in Proc. 2016 IEEE Energy Convers. Congr. Expo., 2016, pp. 1– 6.
[52] P. Wu, Y. Su, J. Shie, and P. Cheng, "A Distributed Control Technique for the Multilevel Cascaded Converter," IEEE Trans Ind App,2019, 55, (2), pp. 1649- 1657.
[53] B. Liang, Y. W. Li, J. He, and C. Wang, “A series-DG based autonomous islanding microgrid,” in Proc. IEEE Appl. Power Electron. Conf. Expo., 2016, pp. 1249–1252.
[54] L. Li et al., "Power factor consistency control for decentralized power sharing in islanded AC microgrids with cascaded inverters," in IECON 2017 - 43rd
Annual Conference of the IEEE Industrial Electronics Society, 2017, pp. 1435-
1440.
[55] Y. Sun et al., “An f-P/Q droop control in cascaded-type microgrid,” IEEE
Trans. Power Syst.,2018, 33 (1), pp. 1136–1138.
[56] L. Li, H. Ye, Z. Liu, H. Han, Y. Sun, and M. Su, "Decentralized economical- sharing scheme for cascaded AC microgrids," in proc conf IEEE Energy Conv
Cong and Expo (ECCE), pp. 3736-3740.
[57] L. Li, Y. Sun, Z. Liu, X. Hou, G. Shi, and M. Su, "A Decentralized Control With Unique Equilibrium Point for Cascaded-Type Microgrid," IEEE Trans
Sust Energy,2019, 10, (1), pp. 324-326, 2019.
[58] L. Li, Y. Sun, H. Han, X. Hou, M. Su, and Z. Liu, "Power factor angle consistency control for decentralised power sharing in cascaded-type microgrid," IET Gen, Trans & Dist, vol. 13, no. 6, pp. 850-857, 2019.
[59] J. He, X. Liu, C. Mu, and C. Wang, "Hierarchical Control of Series-Connected String Converter-Based Islanded Electrical Power System," IEEE Trans Power
Electron, 2020, 35, (1), pp. 359-372.
[60] I. U. Nutkani, C. Teixeira, P. Acuna, and B. Mcgrath, "Series-Cascaded AC Microgrid Topology Integrating Non-Dispatchable Distributed Generation and Storage," in proc conf IEEE 27th International Symposium on Industrial
Electronics (ISIE), 2018, pp. 67-73.
[61] I. U. Nutkani and C. Teixeira, "Autonomous Power Sharing Schemes for Series-Cascaded DC Microgrid," in proc conf IEEE 27th International
Symposium on Industrial Electronics (ISIE), pp. 482-488.
[62] S. J. Lee, H. S. Bae, and B. H. Cho, "Modeling and control of the single-phase photovoltaic grid-connected cascaded H-bridge multilevel inverter," in proc conf IEEE Energy Conv Cong and Expo, 2009, pp. 43-47.
[63] J. He, Y. Li, C. Wang, Y. Pan, C. Zhang, and X. Xing, “Hybrid microgrid with parallel- and series-connected microconverters,” IEEE Trans. Power
Electron.,2018, (33) 6, pp. 4817–4831.
[64] M. Z. Hasan, I. F. Shiam, T. T. Nova, and M. S. Reza, "A Modified PLL Based on Second Order Generalized Integrator for Single-Phase Voltage System," in proc conf IEEE Electrical, Computer and Communication Engineering
(ECCE), pp. 1-6,2019.
[65] M. Rasheduzzaman, S. Khorbotly, and J. W. Kimball, "A modified SRF-PLL for phase and frequency measurement of single-phase systems," in proc conf
IEEE 2016 IEEE Energy Conv Cong and Expo (ECCE), pp. 1-7,2016.
[66] C. Tarasantisuk, S. Kumsup, W. Piyarat, and K. Witheepanich, "Stationary frame current regulation using Proportional Resonant controller for single phase
grid connected inverter," in proc conf IEEE Electrical Engineering/Electronics,
Computer, Telecommunications and Information Technology (ECTI-CON), pp.
1-5,2015.
[67] CPT, CPT-E13 Card - Technical Manual, Manual Release 1.01, 2010.
[68] Creative Power Technologies (CPT) website, accessed on 30/10/2019, www.creativepower.com.au