Control method, system and equipment based on micro photovoltaic inverter
By dynamically adjusting the control strategy parameters and monitoring abnormal situations in real time, the problem that the micro-photovoltaic inverter control system is difficult to respond quickly to the changes in the power grid is improved, and the reliability and real-time nature of the system are improved.
Patent Information
- Application Number
- CN202510071235.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-01-16
AI Technical Summary
The existing micro-photovoltaic inverter control systems are difficult to respond quickly to changes in power grid conditions, resulting in unstable output, affecting the power supply quality, and low operating efficiency.
The control method based on a micro-photovoltaic inverter is adopted to initialize the peripheral configuration information, software architecture information and control task flow, obtain grid connection information and environmental influencing factors, and dynamically adjust the control strategy parameters to trigger control instructions to realize real-time monitoring and abnormal handling.
It improves the reliability and real-time power supply system of micro-photovoltaic inverters, improves the real-time and response speed of the system, and ensures that rapid measures are taken in abnormal situations to avoid potential failure expansion.
Smart Images

Figure CN119891385A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of photovoltaic inverters, and in particular to a control method, system and device based on a micro photovoltaic inverter. Background Art
[0002] A micro photovoltaic inverter is a device in a photovoltaic power generation system, usually an inverter with a power of less than or equal to 1000W and a component-level MPPT (maximum power point tracking) function. It converts DC power from a single solar cell module into AC power for use in home or commercial power grids. Compared with traditional centralized or string inverters, micro inverters are equipped with an inverter for each photovoltaic panel, so each photovoltaic panel can work independently. This design helps to improve overall efficiency and avoid various problems caused by centralized inversion, such as shadows, hot spots, etc.
[0003] The control system of the existing micro photovoltaic inverter collects data from each photovoltaic panel through a wireless sensor network and performs unified scheduling through a central processor. Although parameter detection and control are achieved to a certain extent, it is difficult to quickly respond to changes in grid conditions, especially when the grid fluctuates greatly or the frequency is unstable, which can easily lead to unstable output of the photovoltaic inverter and affect the power supply quality. The micro photovoltaic inverter has the defect of low operating efficiency and there is room for improvement. Summary of the invention
[0004] In order to improve the reliability of the power supply system of the micro photovoltaic inverter and enhance the operating efficiency of the micro photovoltaic inverter, the present application provides a control method, system and device based on the micro photovoltaic inverter.
[0005] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A control method based on a micro photovoltaic inverter, comprising: Initializing the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; Obtaining grid connection information; and obtaining overall operating parameter information based on the grid connection information; Acquire environmental influencing factors, and acquire control strategy parameters according to the environmental influencing factors and the overall operating parameter information; According to the control strategy parameters and the overall operation parameter information, a control instruction is triggered to enable the target micro photovoltaic inverter to convert direct current into alternating current according to the specified power and output it synchronously with the power grid; Acquire real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal; If the current operating state is abnormal, an abnormal adjustment instruction is triggered, and the operating state of the target micro photovoltaic inverter is dynamically adjusted based on a preset state adjustment strategy.
[0006] By adopting the above technical solution, the peripheral configuration information is the chip peripheral configuration information of the main control chip (such as CPU (Central Processing Unit, central processing unit) and CLA (Control Law Accelerator, integrated control law acceleration coprocessor)) configured for the target micro photovoltaic inverter and its multiple peripheral function modules (such as ADC, ePWM, eCAP, COMP, I2C, SCI interface, etc.); the software architecture information refers to the software architecture information of the hardware layer, hardware abstraction layer, driver layer and application layer, and the control task process includes control tasks, interrupt control and control process information; the grid connection information includes grid frequency, voltage effective value, etc., and the overall operation parameter information includes MPPT maximum power point tracking setting, grid-connected control parameters, protection thresholds, etc.; initializing the target micro photovoltaic inverter includes initializing the control parameters in each hardware function module and application layer; after the initialization is completed, all necessary interrupts and CLA tasks are enabled; then the grid connection information is obtained, and the grid is connected to the inverter according to the grid. The grid connection information is used to obtain the overall operation parameter information, wherein the grid connection information includes the grid frequency, the effective value of the voltage, etc., and the overall operation parameter information includes the MPPT maximum power point tracking setting, the grid-connected control parameters, the protection threshold, etc.; then, according to the environmental influencing factors and the overall operation parameter information, the control strategy parameters are obtained, wherein each photovoltaic panel in the micro photovoltaic inverter is equipped with an independent inverter, and the environmental influencing factors include the light intensity, the temperature, the shadow of the photovoltaic panel blocked by foreign objects, etc. The control strategy parameters include the MPPT adjustment parameters corresponding to each photovoltaic panel, the grid-connected current phase synchronization parameters, etc., and the environmental influencing factors refer to the influence of external conditions on the power generation efficiency of the photovoltaic panel; according to the control strategy parameters and the overall operation parameter information, the control instructions are triggered to ensure that the micro photovoltaic inverter can operate efficiently and safely. Through real-time monitoring and efficient exception handling methods, it is beneficial to take measures quickly based on the preset state adjustment strategy when an abnormality of the micro photovoltaic inverter is detected, so as to avoid the expansion of potential faults and improve the reliability and real-time performance of the power supply system of the micro photovoltaic inverter.
[0007] In a preferred example of the present application: the target micro photovoltaic inverter adopts a dual-core operation mode of a main control processor and a control law acceleration coprocessor, and the main control processor and the control law acceleration coprocessor are divided into a dedicated memory space for data interaction and transmission; the initialization of the target micro photovoltaic inverter specifically includes: Determine the inverter initialization configuration information based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; The main control processor sets the main oscillator frequency and the system clock division ratio according to the inverter initialization configuration information; allocates a static RAM area and configures a stack pointer, and loads the startup code into a specified memory storage, and the main control processor sets an interrupt vector table, the interrupt vector table defines multiple interrupt vectors to respond to different hardware events, and the interrupt vector table includes a high-speed ADC sampling interrupt, a low-speed timer interrupt, and an interrupt processing function address of a preset key event; The control law acceleration coprocessor obtains and initializes CLA calling variable parameters that cannot be directly called by the main control processor.
[0008] By adopting the above technical solution, the target micro photovoltaic inverter adopts a dual-core operation mode of a main control processor (MCU) and a control law acceleration coprocessor (CLA); this application adopts a dual-core architecture, in which the MCU is responsible for tasks such as system initialization, interrupt management and communication processing, while the CLA focuses on high-speed control algorithms and closed-loop operations related to grid connection, so that the system can process complex control logic without affecting the overall performance, significantly improving the real-time performance and response speed of the system; specifically, the CLA is specially used to perform tasks that require high precision and fast response, such as phase-locked loop calculation, PWM waveform generation, etc., which reduces the workload of the MCU and avoids delays or errors caused by too many tasks. The data interaction mechanism between the dual cores ensures the security and consistency of information transmission between the two, further enhancing the stability and reliability of the system.
[0009] In a preferred example of the present application: the dedicated memory space includes a CPU memory space and a CLA memory space, the main control processor has read and write permissions in the CPU memory space, and has write permissions in the CLA memory space; the control law acceleration coprocessor has read permissions in the CPU memory space, and has read and write permissions in the CLA memory space; The real-time operating status information for data interaction of the main control processor includes the photovoltaic input power of each channel, the grid-connected control dead zone, the power factor of the grid, and the grid frequency; the real-time operating status information for data interaction of the control law acceleration coprocessor includes the grid phase, the PWM control period of each channel, the duty cycle, and the PWM enable flag.
[0010] By adopting the above technical solution, through the division and specialization of memory space, each processor strictly stipulates the operation rights of its own and each other's memory space, effectively preventing data cross-border access and potential operation errors, and can not only support complex application requirements, that is, the memory division strategy is particularly suitable for application scenarios that require frequent data exchange, such as photovoltaic input power monitoring, grid phase tracking, PWM waveform adjustment, etc., to better support the separate tracking of multiple photovoltaic inputs, so that the power generation efficiency of each photovoltaic input can be maximized, and it is also convenient to realize functions such as MPPT (maximum power point tracking) and electric energy integration calculation; at the same time, the two-way data interaction mechanism can also give the control system greater flexibility and scalability. In the future, if new functional modules need to be added or existing algorithms need to be improved, it is only necessary to adjust the corresponding data interaction interface, without large-scale changes to the underlying hardware structure, which greatly simplifies the upgrade and maintenance work.
[0011] In a preferred example of the present application: the software architecture information includes a hardware layer, a hardware abstraction layer and an application layer; the hardware abstraction layer includes an ADC module, an ePWM module, an eCAP module, a COMP module, an I2C interface, an SCI interface, a LIN interface, a Timer module, and a GPIO interface, and the method further includes: Initialize the hardware abstraction layer and set corresponding parameters to match control strategy parameters, wherein the control strategy includes MPPT algorithm, power grid detection, and phase-locked loop algorithm; The grid voltage is collected through the ADC module to calculate the effective value of the voltage; the ePWM module is used to control multiple PWM waves to drive the power conversion circuit of the micro photovoltaic inverter, with each two PWM waves forming a group, the main PWM single-increment counting, the slave PWM triangular counting, and the phase shift between the main and slave PWM waves is 180 degrees; the AC grid voltage frequency is captured through the eCAP module to verify whether it meets the frequency standard, and the phase-locked loop algorithm is initialized. The control law acceleration coprocessor obtains the phase information of the grid voltage through the phase-locked loop algorithm, so that the inverter output current is in phase with the grid voltage, achieving zero-impact grid connection.
[0012] By adopting the above technical solution, the various modules and functions of the hardware abstraction layer are defined in detail, ensuring the effective management and utilization of hardware resources; the initialization setting of the hardware abstraction layer enables the system to flexibly match different control strategy parameters, such as MPPT algorithm, grid detection, phase-locked loop algorithm, etc.; in particular, the PWM waveform control implemented by the ePWM module ensures that the inverter output current is in phase with the grid voltage, achieving zero-impact grid connection, and greatly improving the grid-connected efficiency and safety of the system.
[0013] In a preferred example of the present application: triggering a control instruction according to the control strategy parameters and the overall operation parameter information specifically includes: When the target micro photovoltaic inverter is running, the main control processor executes task scheduling driven by interruption, and the task scheduling driven by interruption includes: High-speed ADC sampling interrupt, triggered when the ADC module completes a round of sampling at a high-speed acquisition cycle; the main control processor performs sampling and filtering processing on the AD conversion value and flip judgment on the H-bridge circuit of the target micro photovoltaic inverter; the H-bridge circuit flip is controlled according to the phase of the phase-locked loop output to realize the zero-voltage closed relay control function; PWM interrupt is triggered when the PWM wave output completes a cycle, and the trigger frequency is in the set frequency range; the main control processor uses a closed-loop controller to control the PWM waveform. The main control processor modifies the PWM wave period and duty cycle according to the output result of the closed-loop controller to adjust the output characteristics of the power conversion circuit.
[0014] By adopting the above technical solutions, the MCU performs task scheduling in an interrupt-driven manner, ensuring efficient switching and response between different tasks. For example, the high-speed ADC sampling interrupt allows the system to perform sampling filtering and H-bridge circuit flip judgment at a high frequency of 50kHz, ensuring real-time and accuracy; the PWM interrupt modifies the PWM wave period and duty cycle according to the results of the closed-loop controller, adjusts the output characteristics of the power conversion circuit, and realizes precise power control; the PWM waveform is dynamically adjusted by the closed-loop controller to ensure the efficient operation of the power conversion circuit. Especially in the case of grid frequency fluctuations or load changes, the system can respond quickly and make corresponding adjustments to maintain stable output characteristics.
[0015] In a preferred example of the present application: the triggering of the control instruction according to the control strategy parameter and the overall operation parameter information further includes: When the target micro photovoltaic inverter is running, the control law acceleration coprocessor executes tasks in sequence by using a task switching method of a task list, each task is associated with a priority identifier, and the control law acceleration coprocessor executes tasks in sequence according to the priority of the task; The task list includes an initialization task and a high-speed control task for use during initialization; the high-speed control task is associated with a high-speed ADC sampling interrupt, and the interrupt function of the ADC module wakes up at the same time as the high-speed control task; the high-speed control task uses a phase-locked loop algorithm to obtain a grid phase, and sends the grid phase to the main control processor; Determining whether the current grid phase is near zero; If the current grid voltage is near zero, the latest grid frequency information is obtained from the main control processor, and the basic frequency is updated to the phase-locked loop parameters of the phase-locked loop algorithm, and the PWM wave output is adjusted, and the instantaneous grid-connected power is zero; If the current grid voltage is not near zero, the power reference value is obtained from the main control processor, and the instantaneous grid-connected power reference value is obtained according to the current grid phase. The photovoltaic grid-connected control parameters are calculated through a closed-loop grid-connected algorithm, and the photovoltaic grid-connected control parameters are updated to the main control processor. The main control processor adopts the latest photovoltaic grid-connected control parameters in a new round of ADC sampling.
[0016] By adopting the above technical solution, CLA uses the task switching method of the task list to execute tasks in sequence. Each task is associated with a priority identifier, and the tasks are run in sequence according to the priority of the task. This method ensures that important tasks can be processed in a timely manner, especially in situations where rapid response is required, such as grid voltage zero point detection and PWM waveform adjustment, which greatly improves the real-time and reliability of the system; at the same time, through the grid phase zero point judgment, it is determined whether to update the phase-locked loop parameters, photovoltaic grid-connected control parameters / or adjust the PWM waveform output, improve the grid-connected control accuracy of the target micro photovoltaic inverter; optimize data interaction and real-time control.
[0017] In a preferred example of the present application: the method further includes managing different operating states of the target micro photovoltaic inverter through an inverter state machine, and the inverter state machine includes the following states and their conversion logic: In idle state, the micro photovoltaic inverter does not work; when the grid connection is detected, the initialization control parameters jump to the detection component state; Detect component status and continuously detect the frequency of the grid connection. When the grid frequency meets the preset frequency standard, initialize the corresponding grid standard and start the phase-locked loop algorithm to jump to the phase-locked status check state; Phase-locked state, waiting for the phase-locked loop to complete the locking of the power grid and jump to the ready-to-run state; In the operation-ready state, the relay is turned on at a specific phase of the power grid in combination with the phase-locked loop. After the relay is successfully turned on, it jumps to the operation-deployed state; In the running expansion state, the driving permission flag of the H-bridge is set to allow the flip control of the H-bridge circuit in the high-speed ADC sampling interrupt task, and jump to the normal running state after waiting for the H-bridge to run stably; In the normal operating state, the photovoltaic input judgment, MPPT algorithm, electric energy integration operation, and grid effective value calculation are executed. When the environmental influencing factors remain unchanged, the state is maintained. When an abnormal operating state occurs, the state jumps to the first reset state; In the first reset state, the abnormality handling process is executed to safely stop the operation of each module of the inverter circuit, and then jumps to the second reset state after completion; The second reset state detects the abnormal residue after the power circuit of the device is cut off. If there is an abnormal residue that has not been eliminated, polling will continue until the abnormality is eliminated, and then jump back to the idle state.
[0018] By adopting the above technical solution, the different operating states of the target micro photovoltaic inverter are managed through the inverter state machine. By defining a detailed inverter state machine, including idle state, detection component state, phase lock status check state, operation ready state, operation start state, normal operation state, first reset state and second reset state, the stable operation of the system under different conditions is ensured. In particular, multiple protection mechanisms are set up for abnormal situations to ensure that they can respond quickly and stop safely when a fault occurs, and then try to resume normal operation, thereby realizing automatic real-time monitoring, process control and adaptive adjustment of the inverter operation state, thereby improving the reliability and safety of the system.
[0019] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A control system based on a micro photovoltaic inverter is used to execute a control method based on a micro photovoltaic inverter as described above, the system comprising: An initialization module, used to initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; A power grid connection detection module, used to obtain power grid connection information; and obtain overall operation parameter information according to the power grid connection information; An environmental impact assessment module is used to obtain environmental impact factors, and obtain control strategy parameters based on the environmental impact factors and the overall operating parameter information; A control instruction triggering module, used to trigger a control instruction according to the control strategy parameters and the overall operation parameter information, so that the target micro photovoltaic inverter converts direct current into alternating current according to the specified power and outputs it synchronously with the power grid; A real-time status monitoring module is used to obtain real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal; The exception handling module is used to trigger an exception adjustment instruction if the current operating state is abnormal, and dynamically adjust the operating state of the target micro photovoltaic inverter based on a preset state adjustment strategy.
[0020] In the third aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned control method based on a micro photovoltaic inverter when executing the computer program.
[0021] In a fourth aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned control method based on a micro photovoltaic inverter are implemented.
[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. According to the control strategy parameters and overall operation parameter information, the control instructions are triggered to ensure that the micro photovoltaic inverter can operate efficiently and safely. Through real-time monitoring and efficient abnormality handling, it is beneficial to take measures quickly based on the preset state adjustment strategy when the micro photovoltaic inverter is detected abnormally, so as to avoid the expansion of potential faults and improve the reliability and real-time performance of the power supply system of the micro photovoltaic inverter; 2. By adopting a dual-core architecture, the MCU is responsible for tasks such as system initialization, interrupt management and communication processing, while the CLA focuses on high-speed control algorithms and closed-loop operations related to grid connection, enabling the system to handle complex control logic without affecting overall performance, significantly improving the system's real-time performance and response speed; 3. The different operating states of the target micro photovoltaic inverter are managed through the inverter state machine. By defining a detailed inverter state machine, including idle state, detection component state, phase lock status check state, operation ready state, operation start state, normal operation state, first reset state and second reset state, the stable operation of the system under different conditions is ensured; in particular, multiple protection mechanisms are set up for abnormal situations to ensure rapid response and safe stop when a fault occurs. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flow chart of a control method based on a micro photovoltaic inverter in one embodiment of the present application; Figure 2 It is a state flow diagram of an inverter state machine in a control method based on a micro photovoltaic inverter in an embodiment of the present application; Figure 3 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The present application is further described in detail below in conjunction with the accompanying drawings.
[0025] In one embodiment, if Figure 1 As shown, the present application discloses a control method based on a micro photovoltaic inverter, which specifically includes the following steps: S1: Initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter.
[0026] In this embodiment, the peripheral configuration information is the chip peripheral configuration information of the main control chip (such as CPU (Central Processing Unit, central processing unit) and CLA (Control Law Accelerator, integrated control law acceleration coprocessor)) configured in the target micro photovoltaic inverter and its multiple peripheral function modules (such as ADC module (analog-to-digital converter), ePWM module (enhanced pulse width modulator), eCAP module (enhanced pulse capture module), COMP module (comparator module), I2C interface, SCI interface, LIN interface, Timer counter, GPIO interface, etc.); the software architecture information refers to the software architecture information of the hardware layer, hardware abstraction layer, driver layer and application layer, and the hardware layer includes chip clock configuration, memory allocation and copying, interrupt vector configuration, etc. The hardware abstraction layer sets multiple peripheral function modules and CLA; the driver layer is the code used to drive the chip's external peripherals, which is divided into EEPROM read and write drivers and AT command drivers for communicating with external wireless modules; the application layer is the embodiment of the control software for a single functional module. The application layer of this application includes power grid detection (including AC power grid frequency detection, voltage RMS detection, power grid voltage peak detection, power grid voltage phase lock and phase detection), photovoltaic input detection, photovoltaic input detection, Bluetooth communication, MQTT communication, HTTP communication, local debugging and ATE testing, photovoltaic grid-connected control, photovoltaic grid-connected control, log function and LED light control (the color and flashing frequency of the LED light are used to indicate different software operating states, including normal operation, protection triggering, equipment failure, etc.).
[0027] Specifically, the target micro photovoltaic inverter adopts a dual-core operation mode of a main control processor (CPU) and a control law acceleration coprocessor (CLA). The main control processor and the control law acceleration coprocessor are divided into dedicated memory spaces for data exchange and transmission; the dedicated memory space includes CPU memory space and CLA memory space. The main control processor has read and write permissions in the CPU memory space and write permissions in the CLA memory space; the control law acceleration coprocessor has read permissions in the CPU memory space and read and write permissions in the CLA memory space; that is, the CLA has no right to modify data in the CPU memory space, and similarly, the CPU has no right to modify data in the CLA memory space. The activation of the two memories is equivalent to opening two one-way transmission windows between the CPU and CLA. Both parties can read the data transmitted by the other party from this window, but have no right to modify it, thereby ensuring the reliability of the data.
[0028] The ADC module is used to collect the grid voltage and calculate the effective value of the voltage. The ePWM module is used to control multiple PWM waves to drive the power conversion circuit of the micro photovoltaic inverter. Every two PWM waves form a group, the main PWM counts in single increments, and the slave PWM counts in triangles. The phase shift between the master and slave PWM waves is 180 degrees. The eCAP module is used to capture the AC grid voltage frequency, verify whether it meets the frequency standard, and initialize the phase-locked loop algorithm. The control law acceleration coprocessor obtains the phase information of the grid voltage through the phase-locked loop algorithm, so that the inverter output current is in phase with the grid voltage, achieving zero-impact grid connection.
[0029] Furthermore, the target micro photovoltaic inverter is initialized, specifically including: S11: Determine inverter initialization configuration information based on the acquired peripheral configuration information, software architecture information, and control task flow of the target micro photovoltaic inverter.
[0030] S12: The main control processor sets the main oscillator frequency and the system clock division ratio according to the inverter initialization configuration information; allocates the static RAM area and configures the stack pointer, and loads the startup code into the specified memory storage. The main control processor sets the interrupt vector table. The interrupt vector table defines multiple interrupt vectors to respond to different hardware events. The interrupt vector table includes high-speed ADC sampling interrupts, low-speed timer interrupts, and interrupt processing function addresses of preset key events.
[0031] Specifically, the designated memory storage includes an internal memory storage and an external memory storage; the interrupt vector table also includes an SCI receiving interrupt, a timer count triggering interrupt, a timer cycle triggering interrupt, a first PWM wave triggering interrupt and a second PWM wave triggering interrupt.
[0032] S13: The control law acceleration coprocessor obtains and initializes CLA calling variable parameters that cannot be directly called by the main control processor.
[0033] Specifically, CLA uses the initialization function of the initialization task to initialize the CLA calling variable parameters. The CLA initialization function is only called during initialization; the CPU contains three parts of initialization functions: system initialization function, driver initialization function and application function initialization function. The system initialization function mainly includes chip clock tree configuration, memory code copy, interrupt vector configuration, etc. The driver initialization function is responsible for configuring the chip peripherals. The application function initialization function mainly initializes the variables, flags and communication buffers in the application layer.
[0034] S2: Obtain grid connection information; obtain overall operation parameter information based on the grid connection information.
[0035] In this embodiment, the grid connection information includes grid voltage, grid frequency, grid phase angle, grid effective value (RMS) and grid connection status; the overall operating parameter information includes the target value required for the micro photovoltaic inverter to operate at a high-precision power supply efficiency, including photovoltaic input power (including the DC power output by each photovoltaic panel), grid-connected control dead zone, grid power factor, inverter output current, voltage phase and temperature value.
[0036] Specifically, the ADC module is used to monitor the voltage level of the access grid in real time to ensure that it is within the normal working range (such as single-phase 230V±10%, three-phase 400V±10%); the eCAP module is used to capture the AC grid voltage frequency to verify whether it meets the preset standard (such as 50Hz or 60Hz), and initialize the phase-locked loop (PLL) algorithm. If the frequency deviation exceeds the allowable range (usually ±0.5Hz), it will also be marked as abnormal; based on the collected grid voltage data, the effective value (RMS) of the grid voltage is calculated. S3: Obtain environmental influencing factors, and obtain control strategy parameters based on the environmental influencing factors and overall operating parameter information.
[0037] In this embodiment, environmental influencing factors include light intensity, temperature, weather conditions, shadows cast by foreign objects blocking sunlight on photovoltaic panels, and other factors involving the impact of external conditions on system performance; the real-time operating status information for data interaction with the main control processor includes the photovoltaic input power of each channel, grid-connected control dead zone, grid power factor, and grid frequency; the real-time operating status information for data interaction with the control law acceleration coprocessor includes the grid phase, each PWM control period, duty cycle, and PWM enable flag.
[0038] Specifically, light intensity monitoring includes using photosensors or the built-in power monitoring function of photovoltaic panels to collect light intensity data in real time. Light intensity directly affects the power generation efficiency of photovoltaic panels and is one of the important inputs of the MPPT algorithm. According to the changes in light intensity, the parameters of the MPPT algorithm, such as sampling period and step size, are dynamically adjusted to ensure that the photovoltaic panels always operate near the maximum power point; temperature sensors are arranged around key components (such as photovoltaic panels and electronic components inside the inverter) to monitor temperature changes in real time. High temperature may reduce the conversion efficiency of photovoltaic panels and cause damage to the electronic components inside the inverter; low temperature may affect the performance of certain materials; when the temperature is too high, the output power is appropriately reduced to prevent overheating, and the heat dissipation device (such as a fan) is started to increase the heat dissipation effect.
[0039] For example, the formulation of control strategy parameters includes: adjusting MPPT algorithm parameters (dynamically adjusting MPPT algorithm parameters according to light intensity and temperature changes to ensure that photovoltaic panels always work in the best state), setting phase-locked loop (PLL) parameters (adjusting PLL algorithm parameters in time according to changes in grid frequency and phase angle to ensure that the inverter output current is in phase with the grid voltage), configuring PWM waveform control parameters (adjusting the frequency and duty cycle of PWM waves according to ambient temperature and load conditions), setting instantaneous grid-connected power reference value (calculating the instantaneous power reference value according to the current grid phase to ensure that the inverter output current is synchronized with the grid voltage), updating protection mechanism parameters (i.e. adjusting the trigger thresholds of overvoltage, undervoltage, overcurrent and other protection mechanisms according to ambient temperature and humidity conditions) and optimizing electric energy integration operation parameters (i.e. optimizing according to actual power generation and environmental conditions).
[0040] S4: According to the control strategy parameters and the overall operation parameter information, the control instructions are triggered to enable the target micro photovoltaic inverter to convert direct current into alternating current according to the specified power and output it synchronously with the power grid.
[0041] In this embodiment, the control strategy refers to a series of control data used to guide the specific operation control parameters of the micro photovoltaic inverter, such as task control parameters and interrupt control parameters, task lists, task priorities, etc., which will affect the operating state of the inverter; the control strategy parameters include MPPT (maximum power point tracking) algorithm parameters, phase-locked loop (PLL) algorithm parameters, PWM waveform control parameters, instantaneous grid-connected power reference values, protection mechanism parameters (overcurrent protection, overvoltage protection, undervoltage protection), electric energy integration operation parameters and H-bridge circuit flip control parameters.
[0042] S5: Acquire real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal.
[0043] In this embodiment, the current operating status includes normal and abnormal; abnormal operating status includes abnormal grid parameters, internal hardware failure and control logic error; abnormal grid parameters include: detecting that the grid voltage is higher or lower than the set safety range, the grid frequency deviates from the standard value (such as 50Hz or 60Hz) by more than the allowable deviation (usually ±0.5Hz), and the grid disconnection cannot detect an effective grid connection; internal hardware failures include temperature sensor readings of key components (such as IGBT modules, heat sinks, etc.) exceeding a preset threshold, current overload (inverter output current exceeds the rated value), voltage overvoltage / undervoltage and hardware fault codes, etc.; control logic errors include the inability to lock the phase-locked loop (PLL), failure of the MPPT algorithm, and failure to execute control instructions.
[0044] S6: If the current operating state is abnormal, an abnormal adjustment instruction is triggered, and the operating state of the target micro photovoltaic inverter is dynamically adjusted based on a preset state adjustment strategy.
[0045] In this embodiment, the preset state adjustment strategy includes an abnormal state processing flow, and the main control processor is provided with an inverter control machine to perform real-time monitoring of the operating state of the micro photovoltaic inverter and abnormal state processing.
[0046] Specifically, when it is detected that the grid voltage is higher or lower than the set safety range, the protection mechanism will be triggered (immediately disconnecting from the grid) and a fault log will be recorded; if the grid frequency deviates from the standard value by more than the allowable deviation, the phase-locked loop (PLL) parameters will be adjusted and the output power will be reduced. If the frequency continues to be abnormal, the protection mode will be entered and power generation will be stopped; if no effective grid connection is detected, the island protection will be started. If an internal hardware failure such as overtemperature occurs, the output power will be reduced, the low power consumption mode will be entered, and the cooling device will be started; if a hardware fault code appears, the user will be notified of the specific fault location through the display or communication interface, and the fault code will be displayed, and the operation of the relevant functional module code will be stopped. If the phase-locked loop (PLL) cannot be locked, the PLL parameters will be reset. If the MPPT algorithm fails, the MPPT parameters will be adjusted. If there is no improvement within a certain period of time, the MPPT algorithm will be restarted to try to recover, etc.
[0047] In one embodiment, in step S4, according to the control strategy parameters and the overall operation parameter information, the control instruction is triggered, specifically including: S401: When the target micro photovoltaic inverter is running, the main control processor executes task scheduling driven by interruption, and the task scheduling driven by interruption includes: S4011: High-speed ADC sampling interrupt, triggered when the ADC module completes a round of sampling with a high-speed acquisition cycle; the main control processor performs sampling and filtering processing on the AD conversion value and flip judgment on the H-bridge circuit of the target micro photovoltaic inverter; the H-bridge circuit flip is controlled according to the phase of the phase-locked loop output to realize the zero-voltage closed relay control function.
[0048] S4012: PWM interrupt, triggered when the PWM wave output completes a cycle, and the trigger frequency is in the set frequency range; the main control processor uses the closed-loop controller to control the PWM waveform. The main control processor modifies the PWM wave period and duty cycle according to the output result of the closed-loop controller, and adjusts the output characteristics of the power conversion circuit.
[0049] In this embodiment, PWM interrupts include PWM2 interrupts and PWM4 interrupts, and the frequency range is set between 50kHz and 300kHz; the main control processor (MCU) is configured as an interrupt drive mode, and multiple interrupt vector table entries are defined to respond to different hardware events. The interrupt vector table contains high-speed ADC sampling interrupts, low-speed timer interrupts, and interrupt processing function addresses of preset key events; wherein the preset key events include AT instruction interaction processing interrupts - provided with SCI receiving interrupts, and state machines, power grid detection, MPPT algorithms - provided with timer 1 interrupts and 1ms software timing interrupts - provided with timer 2 interrupts; wherein the triggering mode of the SCI receiving interrupt is triggered after the SCI character reception is completed, and the triggering mode of the timer 1 interrupt and the timer 2 interrupt is timer count triggering, which is periodically triggered at a triggering frequency of 1kHz.
[0050] In one embodiment, in step S4, it further includes: S411: When the target micro photovoltaic inverter is running, the control law acceleration coprocessor uses the task switching method of the task list to execute tasks in sequence, each task is associated with a priority identifier, and the control law acceleration coprocessor runs the tasks in sequence according to the priority of the tasks.
[0051] Specifically, the task list includes an initialization task and a high-speed control task.
[0052] S412: The task list includes an initialization task and a high-speed control task used during initialization; the high-speed control task is associated with a high-speed ADC sampling interrupt, and the interrupt function of the ADC module is woken up simultaneously with the high-speed control task; the high-speed control task uses a phase-locked loop algorithm to obtain the grid phase and sends the grid phase to the main control processor.
[0053] S413: Determine whether the current grid phase is near the zero point.
[0054] In this embodiment, since the area near the zero point is a power dead zone, when the grid-connected current and the grid voltage are in phase, the instantaneous grid-connected power at this time should be zero.
[0055] S414: If the current grid voltage is near zero, the latest grid frequency information is obtained from the main control processor, and the basic frequency is updated to the phase-locked loop parameters of the phase-locked loop algorithm, and the PWM wave output is adjusted so that the instantaneous grid-connected power is zero.
[0056] S415: If the current grid voltage is not near zero, obtain a power reference value from the main control processor, obtain an instantaneous grid-connected power reference value according to the current grid phase, calculate through a closed-loop grid-connected algorithm, obtain photovoltaic grid-connected control parameters, update the photovoltaic grid-connected control parameters to the main control processor, and the main control processor adopts the latest photovoltaic grid-connected control parameters in a new round of ADC sampling.
[0057] In this embodiment, when the control program software is fully running, the program has up to 8 different threads or tasks in a loop, including a CPU main loop (when there is no interrupt task, the software will run in a loop in the main loop function, and the main loop includes tasks such as communication processing, power scheduling, etc.), 6 CPU interrupt functions (ADC sampling interrupt, PWM2 interrupt, PWM4 interrupt, timer 1 interrupt, timer 2 interrupt and SCI receiving interrupt), and a CLA task is executing, where the CLA task is Task1 task, Task1 task contains the high-speed control algorithm related to the grid connection, and the wake-up of the tsak is associated with the ADCINT2 interrupt. That is to say, when the ADC completes a round of sampling at 50kHz, the ADC interrupt function and the CLA task Task1 will be woken up at the same time, and run by the CPU core and the CLA core respectively, which effectively improves the real-time performance of the closed-loop control.
[0058] In one embodiment, if Figure 2 As shown, a control method based on a micro photovoltaic inverter also includes: managing different operating states of the target micro photovoltaic inverter through an inverter state machine; the inverter state machine includes the following states and their conversion logic: In the idle state (also called Idle state), the micro photovoltaic inverter does not work; when the grid connection is detected, the initialization control parameters jump to the detection component state; Detect component status (also known as CheckGrid status), continuously detect the frequency of the grid connection, and when the grid frequency meets the preset frequency standard, initialize the corresponding grid standard and start the phase-locked loop algorithm to jump to the phase-locked status check state; Phase-locked state (also called CheckPll state), waiting for the phase-locked loop to complete the locking of the power grid and jump to the ready-to-run state; The Run Ready state (also called the RunUnfloding state) is combined with a phase-locked loop to open the relay at a specific phase of the power grid. After the relay is successfully opened, it jumps to the Run Unfloding state; In the Run Unfolding state (also called the RunUnfloding state), the drive permission flag of the H-bridge is set, allowing the flip control of the H-bridge circuit to be performed in the high-speed ADC sampling interrupt task, and jumping to the normal operation state after waiting for the H-bridge to run stably; Normal operation state (also known as PVInverterActive state) executes photovoltaic input judgment, MPPT algorithm, electric energy integration operation, and grid effective value calculation. When the environmental influencing factors remain unchanged, the state is maintained. When an abnormal operation state occurs, it jumps to the first reset state; In the first reset state (also called ResetState1 state), the abnormality handling process is executed to safely stop the operation of each module of the inverter circuit, and then jump to the second reset state after completion; The second reset state (also called ResetState2 state) detects residual abnormalities after the power circuit of the device is cut off. If there are residual abnormalities that have not been eliminated, polling continues until the abnormality is eliminated, and then jumps back to the idle state.
[0059] Specifically, when the second reset state detects that the abnormality has been eliminated, the state will jump to the initial Idle state and prepare to start the next round of operation. When the inverter state machine PVInverterState runs in different states, it has different protection detection functions. When the protection or shutdown is triggered in a certain state, it will immediately jump to ResetState1 abnormal processing state 1 to ensure the safe operation of the micro-inverter.
[0060] In addition, since the inverter state machine runs once every 1ms, it cannot meet the needs of high-speed calculation and judgment. At this time, the inverter state machine will set the corresponding execution flag, or pass the necessary parameters to the high-speed interrupt or CLA task, which will complete the high-speed judgment and function execution.
[0061] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0062] In one embodiment, a control system based on a micro photovoltaic inverter is provided. The control system based on the micro photovoltaic inverter corresponds to the control method based on the micro photovoltaic inverter in the above embodiment.
[0063] A control system based on a micro photovoltaic inverter includes an initialization module, a grid connection detection module, an environmental impact assessment module, a control instruction trigger module, a real-time status monitoring module and an abnormality handling module. The detailed description of each functional module is as follows: An initialization module, used to initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; A power grid connection detection module is used to obtain power grid connection information; based on the power grid connection information, obtain overall operation parameter information; Environmental impact assessment module, used to obtain environmental impact factors, and obtain control strategy parameters based on environmental impact factors and overall operating parameter information; A control instruction trigger module is used to trigger the control instruction according to the control strategy parameters and the overall operation parameter information, so that the target micro photovoltaic inverter converts direct current into alternating current according to the specified power and outputs it synchronously with the power grid; The real-time status monitoring module is used to obtain real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal; The exception handling module is used to trigger an exception adjustment instruction if the current operating state is abnormal, and dynamically adjust the operating state of the target micro photovoltaic inverter based on a preset state adjustment strategy.
[0064] For the specific limitations of the control system based on the micro photovoltaic inverter, please refer to the limitations of a control method based on the micro photovoltaic inverter mentioned above, which will not be repeated here; each module in the above-mentioned control system based on the micro photovoltaic inverter can be implemented in whole or in part through software, hardware and a combination thereof; each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0065] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store overall operating parameter information, control strategy parameters and control task processes, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method based on a micro photovoltaic inverter is implemented.
[0066] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: S1: Initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; S2: Obtaining grid connection information; obtaining overall operation parameter information according to the grid connection information; S3: Obtain environmental influencing factors, and obtain control strategy parameters based on the environmental influencing factors and overall operating parameter information; S4: triggering control instructions according to the control strategy parameters and the overall operation parameter information, so that the target micro photovoltaic inverter converts direct current into alternating current according to the specified power and outputs it synchronously with the power grid; S5: obtaining real-time operation status information, comparing the real-time operation status information with the corresponding target value in the overall operation parameter information, and determining whether the current operation status is abnormal; S6: If the current operating state is abnormal, an abnormal adjustment instruction is triggered, and the operating state of the target micro photovoltaic inverter is dynamically adjusted based on a preset state adjustment strategy.
[0067] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: S1: Initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; S2: Obtaining grid connection information; obtaining overall operation parameter information according to the grid connection information; S3: Obtain environmental influencing factors, and obtain control strategy parameters based on the environmental influencing factors and overall operating parameter information; S4: triggering control instructions according to the control strategy parameters and the overall operation parameter information, so that the target micro photovoltaic inverter converts direct current into alternating current according to the specified power and outputs it synchronously with the power grid; S5: obtaining real-time operation status information, comparing the real-time operation status information with the corresponding target value in the overall operation parameter information, and determining whether the current operation status is abnormal; S6: If the current operating state is abnormal, an abnormal adjustment instruction is triggered, and the operating state of the target micro photovoltaic inverter is dynamically adjusted based on a preset state adjustment strategy.
[0068] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0069] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0070] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications 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 application, and should all be included in the protection scope of the present application.
Claims
1. A control method based on a micro photovoltaic inverter, characterized in that: include: Initializing the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; Obtain grid connection information; According to the grid connection information, obtaining overall operation parameter information; Acquire environmental influencing factors, and acquire control strategy parameters according to the environmental influencing factors and the overall operating parameter information; According to the control strategy parameters and the overall operation parameter information, a control instruction is triggered to enable the target micro photovoltaic inverter to convert direct current into alternating current according to the specified power and output it synchronously with the power grid; Acquire real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal; If the current operating state is abnormal, an abnormal adjustment instruction is triggered, and the operating state of the target micro photovoltaic inverter is dynamically adjusted based on a preset state adjustment strategy.
2. A control method based on a micro photovoltaic inverter according to claim 1, characterized in that: The target micro photovoltaic inverter adopts a dual-core operation mode of a main control processor and a control law acceleration coprocessor, and the main control processor and the control law acceleration coprocessor are divided into a dedicated memory space for data interaction and transmission; the initialization of the target micro photovoltaic inverter specifically includes: Determine the inverter initialization configuration information based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; The main control processor sets the main oscillator frequency and the system clock division ratio according to the inverter initialization configuration information; allocates a static RAM area and configures a stack pointer, and loads the startup code into a specified memory storage, and the main control processor sets an interrupt vector table, the interrupt vector table defines multiple interrupt vectors to respond to different hardware events, and the interrupt vector table includes a high-speed ADC sampling interrupt, a low-speed timer interrupt, and an interrupt processing function address of a preset key event; The control law acceleration coprocessor obtains and initializes CLA calling variable parameters that cannot be directly called by the main control processor.
3. A control method based on a micro photovoltaic inverter according to claim 2, characterized in that: The dedicated memory space includes a CPU memory space and a CLA memory space, the main control processor has read and write permissions in the CPU memory space, and has write permissions in the CLA memory space; the control law acceleration coprocessor has read permissions in the CPU memory space, and has read and write permissions in the CLA memory space; The real-time operating status information for data interaction of the main control processor includes the photovoltaic input power of each channel, the grid-connected control dead zone, the power factor of the grid, and the grid frequency; the real-time operating status information for data interaction of the control law acceleration coprocessor includes the grid phase, the PWM control period of each channel, the duty cycle, and the PWM enable flag.
4. A control method based on a micro photovoltaic inverter according to claim 3, characterized in that: The software architecture information includes a hardware layer, a hardware abstraction layer and an application layer; the hardware abstraction layer includes an ADC module, an ePWM module, an eCAP module, a COMP module, an I2C interface, an SCI interface, a LIN interface, a Timer module, and a GPIO interface. The method further includes: Initialize the hardware abstraction layer and set corresponding parameters to match control strategy parameters, wherein the control strategy includes MPPT algorithm, power grid detection, and phase-locked loop algorithm; The grid voltage is collected through the ADC module to calculate the effective value of the voltage; the multi-channel PWM is controlled by the ePWM module to drive the power conversion circuit of the micro photovoltaic inverter, each two PWM waves form a group, the main PWM single-increment count, the slave PWM triangular count, and the phase offset between the main and slave PWM waves is 180 degrees; the AC grid voltage frequency is captured by the eCAP module to verify whether it meets the frequency standard, and the phase-locked loop algorithm is initialized. The control law acceleration coprocessor obtains the phase information of the grid voltage through the phase-locked loop algorithm, so that the inverter output current is in phase with the grid voltage, realizing zero-impact grid connection.
5. A control method based on a micro photovoltaic inverter according to claim 3, characterized in that: According to the control strategy parameters and the overall operation parameter information, a control instruction is triggered, specifically including: When the target micro photovoltaic inverter is running, the main control processor executes task scheduling driven by interruption, and the task scheduling driven by interruption includes: High-speed ADC sampling interrupt, triggered when the ADC module completes a round of sampling at a high-speed acquisition cycle; the main control processor performs sampling and filtering processing on the AD conversion value and flip judgment on the H-bridge circuit of the target micro photovoltaic inverter; the H-bridge circuit flip is controlled according to the phase of the phase-locked loop output to realize the zero-voltage closed relay control function; PWM interrupt is triggered when the PWM wave output completes a cycle, and the trigger frequency is in the set frequency range; the main control processor uses a closed-loop controller to control the PWM waveform. The main control processor modifies the PWM wave period and duty cycle according to the output result of the closed-loop controller to adjust the output characteristics of the power conversion circuit.
6. A control method based on a micro photovoltaic inverter according to claim 5, characterized in that: The triggering of the control instruction according to the control strategy parameter and the overall operation parameter information further includes: When the target micro photovoltaic inverter is running, the control law acceleration coprocessor executes tasks in sequence by using a task switching method of a task list, each task is associated with a priority identifier, and the control law acceleration coprocessor executes tasks in sequence according to the priority of the task; The task list includes an initialization task and a high-speed control task for use during initialization; the high-speed control task is associated with a high-speed ADC sampling interrupt, and the interrupt function of the ADC module wakes up at the same time as the high-speed control task; the high-speed control task uses a phase-locked loop algorithm to obtain a grid phase, and sends the grid phase to the main control processor; Determining whether the current grid phase is near zero; If the current grid voltage is near zero, the latest grid frequency information is obtained from the main control processor, and the basic frequency is updated to the phase-locked loop parameters of the phase-locked loop algorithm, and the PWM wave output is adjusted, and the instantaneous grid-connected power is zero; If the current grid voltage is not near zero, the power reference value is obtained from the main control processor, and the instantaneous grid-connected power reference value is obtained according to the current grid phase. The photovoltaic grid-connected control parameters are calculated through a closed-loop grid-connected algorithm, and the photovoltaic grid-connected control parameters are updated to the main control processor. The main control processor adopts the latest photovoltaic grid-connected control parameters in a new round of ADC sampling.
7. A control method based on a micro photovoltaic inverter according to claim 4, characterized in that: The method further includes managing different operating states of the target micro photovoltaic inverter through an inverter state machine, wherein the inverter state machine includes the following states and their conversion logic: In idle state, the micro photovoltaic inverter does not work; when the grid connection is detected, the initialization control parameters jump to the detection component state; Detect component status and continuously detect the frequency of the grid connection. When the grid frequency meets the preset frequency standard, initialize the corresponding grid standard and start the phase-locked loop algorithm to jump to the phase-locked status check state; Phase-locked state, waiting for the phase-locked loop to complete the locking of the power grid and jump to the ready-to-run state; In the operation-ready state, the relay is turned on at a specific phase of the power grid in combination with the phase-locked loop. After the relay is successfully turned on, it jumps to the operation-deployed state; In the running expansion state, the driving permission flag of the H-bridge is set to allow the flip control of the H-bridge circuit in the high-speed ADC sampling interrupt task, and jump to the normal running state after waiting for the H-bridge to run stably; In the normal operating state, the photovoltaic input judgment, MPPT algorithm, electric energy integration operation, and grid effective value calculation are executed. When the environmental influencing factors remain unchanged, the state is maintained. When an abnormal operating state occurs, the state jumps to the first reset state; In the first reset state, the abnormality handling process is executed to safely stop the operation of each module of the inverter circuit, and then jumps to the second reset state after completion; The second reset state detects the abnormal residue after the power circuit of the device is cut off. If there is an abnormal residue that has not been eliminated, polling will continue until the abnormality is eliminated, and then jump back to the idle state.
8. A control system based on a micro photovoltaic inverter, characterized in that: Used to execute a control method based on a micro photovoltaic inverter according to any one of claims 1 to 7, the system comprises: An initialization module, used to initialize the target micro photovoltaic inverter based on the acquired peripheral configuration information, software architecture information and control task flow of the target micro photovoltaic inverter; A power grid connection detection module, used to obtain power grid connection information; and obtain overall operation parameter information according to the power grid connection information; An environmental impact assessment module, used to obtain environmental impact factors, and obtain control strategy parameters according to the environmental impact factors and the overall operation parameter information; A control instruction triggering module, used to trigger a control instruction according to the control strategy parameters and the overall operation parameter information, so that the target micro photovoltaic inverter converts direct current into alternating current according to the specified power and outputs it synchronously with the power grid; A real-time status monitoring module is used to obtain real-time operation status information, compare the real-time operation status information with the corresponding target value in the overall operation parameter information, and determine whether the current operation status is abnormal; The exception handling module is used to trigger an exception adjustment instruction if the current operating state is abnormal, and dynamically adjust the operating state of the target micro photovoltaic inverter based on a preset state adjustment strategy.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the control method based on the micro photovoltaic inverter as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a control method based on a micro photovoltaic inverter as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Photovoltaic inverter, control method and device thereof and readable storage medium
CN115441496A
Photovoltaic inverter grid connection method and device and medium
CN115800321A
Power grid anomaly detection and wave recording system and implementation method
CN116359662A
Method for photovoltaic inverter
KR1020170009585A
Control method for photovoltaic energy-storage device, and system and storage medium
WO2024199022A1
Cited By
Regional optical storage and charging micro-grid control method and system
CN120749789A
Micro inverter performance data processing method and system
CN120896229A
Regulation and control method and device for inverter of photovoltaic power generation system
CN121055794A
Multi-source heterogeneous equipment cooperative control method based on digital power distribution and related equipment
CN121334213A
Micro inverter remote parameter abnormity processing method and system
CN122203235A