Energy scheduling method and system, electronic equipment and storage medium

By obtaining the inverter working parameters, determining its fault status and using existing actuators in the home to supply power, the high cost problem when inverter scheduling fails, and the stable power supply of the home load is achieved.

CN120281066APending Publication Date: 2025-07-08RADAR NEW ENERGY AUTOMOBILE (ZHEJIANG) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510500982.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-21
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

When the inverter scheduling fails in household photovoltaic systems, the prior art usually switches to backup inverter access, resulting in higher cost problems.

Method used

By obtaining the operating parameters of the inverter, determining its operating status, and instructing existing actuators in the home, such as charging piles and vehicle power batteries, to power the home load, avoiding the addition of additional backup inverters.

Benefits of technology

After the inverter failure, power supply is provided by the existing actuator, which reduces the cost of configuring a backup inverter and ensures the stability and reliability of household electricity requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120281066A_ABST
    Figure CN120281066A_ABST
Patent Text Reader

Abstract

The invention relates to an energy scheduling method and system, electronic equipment and a storage medium, and is applied to the technical field of vehicles, and the method comprises the steps: obtaining the working parameters of an inverter; determining the working state of the inverter according to the working parameters; under the condition that the working state indicates that the inverter breaks down, an executing mechanism is indicated to supply power to a household load, and the executing mechanism comprises a charging pile and / or a vehicle power battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicles, and in particular, to an energy scheduling method, system, electronic device, and storage medium. Background Art

[0002] In recent years, household photovoltaic systems have rapidly spread in the field of household energy supply due to their advantages such as environmental protection, energy conservation, and economy. As the core component of a household photovoltaic system, an inverter is responsible for converting the direct current generated by solar panels into alternating current for household use, simultaneously can feed the excess electric energy into the power grid, and can also schedule and control the system power.

[0003] During the operation of the inverter, scheduling failure problems such as communication interruption or power abnormality may occur. Once this happens, the household photovoltaic system will be unable to supply power to household loads normally or interact with the power grid, affecting the normal electricity use of the household. Especially for critical loads in the household, such as medical equipment and security systems, power outages may bring serious safety hazards and economic losses.

[0004] In the related art, in the case of scheduling failure of a household photovoltaic inverter, it is usually switched to a standby inverter for access, and the cost of the inverter is relatively high, resulting in additional expenses for users. Summary of the Invention

[0005] This application provides an energy scheduling method, system, electronic device, and storage medium to solve the problem in the prior art that when using a standby inverter to replace a faulty inverter for access, the cost is relatively high.

[0006] According to the first aspect of the embodiments of this application, an energy scheduling method is provided, including:

[0007] Obtain the working parameters of the inverter;

[0008] Determine the working state of the inverter according to the working parameters;

[0009] When the working state indicates that the inverter is faulty, instruct the actuator to supply power to the household load, and the actuator includes a charging pile and / or a vehicle power battery.

[0010] Optionally, determining the working state of the inverter according to the working parameters includes:

[0011] Judge whether the working parameters are within a preset range;

[0012] If so, determine the characteristic parameters of the inverter according to the working parameters;

[0013] Determine the working state corresponding to the working parameters based on the characteristic parameters.

[0014] Optionally, the operating parameters include the voltage, frequency, and power of the inverter. Determining characteristic parameters for the operation of the inverter based on the operating parameters includes:

[0015] Determining the root mean square voltage based on the voltage;

[0016] Determining the frequency fluctuation range based on the frequency;

[0017] Determining the power factor based on the useful power and the reactive power in the power;

[0018] Determining the root mean square voltage, the frequency fluctuation range, and the power factor as the characteristic parameters.

[0019] Optionally, determining the operating state corresponding to the operating parameters based on the characteristic parameters includes:

[0020] Inputting the characteristic parameters into a pre-trained classification model, initially classifying the characteristic parameters through the classification model to obtain a first classification result, where the first classification result indicates whether the inverter is faulty. In the case where the first classification result indicates that the inverter is faulty, performing a secondary classification on the characteristic parameters through the classification model to obtain a second classification result, where the second classification result indicates the type of fault of the inverter, and determining the first classification result and the second classification result as the operating state.

[0021] Optionally, instructing the actuator to supply power to the household load includes:

[0022] Obtaining power supply indication parameters, where the power supply indication parameters include the priority of power supply to the household load, the power demand, the operating state of the inverter, and the power supply amount of the actuator;

[0023] Determining the power supply allocation situation of the household load based on the power supply indication parameters;

[0024] Sending a power supply instruction to the actuator, where the power supply instruction carries the power supply allocation situation.

[0025] Optionally, determining the power supply allocation situation of the household load based on the power supply indication parameters includes:

[0026] Performing fuzzy processing on each power supply indication parameter to obtain the fuzzy level corresponding to each power supply indication parameter;

[0027] Determining the fuzzy inference result corresponding to the fuzzy level from a pre-established fuzzy rule base, where the fuzzy inference result indicates the power supply priority and the fuzzy degree of power supply power allocation of each priority household load;

[0028] The defuzzification process is performed on the fuzzy inference result to obtain the power supply distribution situation, where the power supply distribution situation includes the power distribution values of each household load.

[0029] According to a second aspect of the embodiments of the present application, an energy scheduling system is provided, including: an inverter, a scheduling unit, and an actuator;

[0030] The scheduling unit is configured to obtain the operating parameters of the inverter; determine the operating state of the inverter according to the operating parameters; and in the case where the operating state indicates that the inverter fails, instruct the actuator to supply power to the household load, where the actuator includes a charging pile and / or a vehicle power battery.

[0031] Optionally, the scheduling unit includes a full-bridge inverter circuit and a bidirectional DC-DC converter;

[0032] The full-bridge inverter circuit is configured to convert the direct current of the actuator into alternating current.

[0033] The bidirectional DC-DC converter is configured to adjust the power supply mode between the actuator and the household load.

[0034] According to a third aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor;

[0035] The memory is connected to the processor and is configured to store programs;

[0036] The processor is configured to implement the anti-abnormal sound method as described in the first aspect by running the programs in the memory.

[0037] According to a fourth aspect of the embodiments of the present application, a storage medium is provided, on which a computer program is stored, and when the computer program is run by a processor, the anti-abnormal sound method as described in the first aspect is implemented.

[0038] According to a fifth aspect of the embodiments of the present application, a computer program product is provided, including computer program instructions, and when the computer program instructions are run by a processor, the processor is caused to execute the anti-abnormal sound method as described in the first aspect.

[0039] The above technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: In the method provided by the embodiments of the present application, by obtaining the operating parameters of the inverter; determining the operating state of the inverter according to the operating parameters; when the operating state indicates that the inverter fails, instructing the actuator to supply power to the household load, where the actuator includes a charging pile and / or a vehicle power battery. In this way, after the inverter fails, there is no need to add an additional standby inverter, and the existing actuators in the household, such as charging piles and vehicle power batteries, are used to supply power to the household load to ensure the household electricity demand, thereby reducing the cost brought by configuring the standby inverter. Description of the Drawings

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.

[0041] Figure 1 It is a flowchart of an energy scheduling method provided by an embodiment of the present application;

[0042] Figure 2 It is a structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0044] Exemplary implementation environment

[0045] The energy scheduling method according to the embodiments of the present application can be executed by a scheduling unit in an energy scheduling system, where the system includes: an inverter, a scheduling unit, and an actuator;

[0046] The scheduling unit is used to obtain the operating parameters of the inverter; determine the operating state of the inverter according to the operating parameters; when the operating state indicates that the inverter fails, instruct the actuator to supply power to the household load, where the actuator includes a charging pile and / or a vehicle power battery.

[0047] Through the scheduling unit in the system, after the inverter fails, without adding an additional standby inverter, the existing actuators in the home, such as charging piles and vehicle power batteries, are used to supply power to the home load to ensure the home's electricity demand, thereby reducing the cost brought by configuring a standby inverter.

[0048] In an alternative embodiment, the scheduling unit includes a full-bridge inverter circuit and a bidirectional DC-DC converter;

[0049] The full-bridge inverter circuit is used to convert the direct current of the actuator into alternating current.

[0050] The bidirectional DC-DC converter is used to adjust the power supply mode between the actuator and the home load.

[0051] In some embodiments, the full-bridge inverter circuit consists of four Insulated Gate Bipolar Transistors (IGBTs) to form a full-bridge structure, which is responsible for converting the direct current of the vehicle power battery into alternating current. The drive signals of each IGBT switch are generated by a Pulse Width Modulation (PWM) controller and dynamically switched through state machine logic.

[0052] Exemplarily, the switching can be achieved based on the following formula.

[0053]

[0054] Where, S(t): represents the dynamic switching of the state of the switch in the full-bridge inverter circuit over time t.

[0055] t: The time variable, used to describe the specific moment of the switch state within one switching period.

[0056] T: The switching period, that is, the total time required for the switch state to complete a full switching.

[0057] Q1, Q4: Two IGBT switches in the full-bridge inverter circuit, which are turned on within the time period.

[0058] Q2, Q3: The other two IGBT switches in the full-bridge inverter circuit, which are turned on within the time period.

[0059] The bidirectional DC-DC converter adopts a Boost-Buck combined topology structure to achieve voltage matching and power regulation between the vehicle power battery and the home power system. The working mode of the converter is dynamically determined by the State of Charge (SOC) and load demand.

[0060] For example, the converter works as follows:

[0061]

[0062] Where D is the duty cycle, which is used to control the conduction time ratio of the switching element in the bidirectional DC-DC converter, thereby regulating power transmission and voltage conversion.

[0063] D 升压 : The duty cycle in boost mode, corresponding to the duty cycle parameter when the Boost circuit is working, is used to increase the voltage of the vehicle power battery to match the requirements of the household power system (adopted when SOC > 50%, and the battery has more power to output).

[0064] D 降压 : The duty cycle in buck mode, corresponding to the duty cycle parameter when the Buck circuit is working, is used to reduce the voltage of the household power system to charge the vehicle power battery (adopted when SOC < 50%, and the battery power is low and needs to be replenished).

[0065] SOC: State of Charge, representing the remaining power percentage of the vehicle power battery, is a key parameter determining the working mode of the converter.

[0066] Among them, the Boost-Buck converter has the advantages of continuous input and output currents, a large adjustable range of output voltage, and the output voltage can be greater than or less than the input voltage. Therefore, different voltages can be output to different household loads based on this converter.

[0067] Taking the vehicle power battery as the actuator, when the inverter scheduling fails, the system automatically switches to the vehicle power battery power supply mode: P out = P load + P loss ;

[0068] Where P out is the output power of the vehicle power battery, P load is the power demand of the household load, and P loss is the system loss.

[0069] Dynamically adjust the power supply power distribution ratio of each load according to the household load priority: P i = k i P total ; where P i is the power supply power of the i-th level household load, and k i is the distribution ratio coefficient.

[0070] In the energy scheduling system of this application, the on-vehicle battery management system (BMS) and the home energy management system (EMS) are directly connected through the Controller Area Network (CAN) bus. The CAN bus has the advantages of high communication rate, strong reliability, and good anti-interference ability. During the integration process, the communication protocol standards of the on-vehicle BMS and the home EMS are unified to ensure that both parties can accurately identify and parse the information sent by each other. For example, a specific data frame format is defined, including the identifier, data length, and data content of the data frame, for transmitting information such as the state of charge (SOC), charge and discharge status of the vehicle's power battery, and the power demand of the home load.

[0071] To ensure seamless communication between the on-vehicle battery management system (BMS) and the home energy management system (EMS), the communication protocol standards of both parties can be unified. This process involves the definition of the data frame format, the formulation of information encoding and decoding rules, and the management of communication timing. The specific process can include: data frame format definition, information encoding and decoding, and communication timing management.

[0072] First, the data frame format definition can be achieved through the data frame identifier (ID). The data frame identifier is used to distinguish different types of communication information. According to the functional requirements, the identifiers can be divided into the following categories:

[0073] Standard frame identifier: used for transmitting basic status information (such as SOC value, charge and discharge status, etc.);

[0074] Extended frame identifier: used for complex control instructions or advanced functions (such as dynamic power allocation, load priority adjustment, etc.).

[0075] Among them, the standard frame ID can be configured as an 8-bit binary number (0x000 to 0x1FF) for transmitting basic data; the extended frame ID can be configured as a 16-bit binary number (0x0000 to 0xFFFF) for transmitting complex instructions or advanced functions.

[0076] The data length code (DLC) represents the number of data bytes contained in the data frame. The value range of DLC can be defined as 0 to 8 bytes according to actual needs. For example: DLC = 4 means the data field contains 4 bytes; DLC = 8 means the data field contains 8 bytes.

[0077] The data field is used to transmit specific information. According to the requirements of the on-vehicle BMS and the home EMS, the following common data fields can be defined: the state of the vehicle's power battery, the home load demand, and control instructions.

[0078] Among them, the state of the vehicle's power battery includes:

[0079] SOC value (State of Charge): Represents the remaining power of the power battery;

[0080] SOH value (State of Health): Represents the health state of the power battery;

[0081] Temperature value: Represents the temperature of the power battery;

[0082] Charge and discharge state: Represents whether the current power battery is in the charging or discharging state.

[0083] Household load requirements include:

[0084] Total power demand: Represents the total power consumption of the household currently;

[0085] Load priority list: Represents the priority ranking of each household load;

[0086] Critical load identifier: Identifies the critical equipment that needs to be powered preferentially.

[0087] Control instructions include:

[0088] Power distribution instruction: Represents the power distribution ratio that needs to be adjusted;

[0089] Load cut-off instruction: Represents the household load that needs to be cut off;

[0090] Charge / discharge mode switching instruction: Represents the working mode that needs to be switched.

[0091] Second, the settings of information encoding and decoding are to ensure that the in-vehicle BMS and the household EMS can accurately identify and parse the information sent by each other. Therefore, corresponding encoding rules and decoding rules are formulated.

[0092] Encoding mainly includes numerical encoding, status encoding, and priority encoding, and decoding mainly includes numerical decoding, status decoding, and priority decoding.

[0093] Parameters such as the SOC value and SOH value in numerical encoding adopt the fixed-point number encoding method. For example: Using the following formula, map the SOC value to an 8-bit unsigned integer:

[0094]

[0095] The charge and discharge state in status encoding can be represented by a single binary digit. For example, the charging state = 1, and the discharging state = 0. Priority encoding is represented by a three-bit binary number. For example, the first-level priority = 0b111, and the second-level priority = 0b110.

[0096] When performing numerical decoding, restore the received numerical value to the actual physical quantity. For example:

[0097] During status decoding, the current working mode is determined based on the status of binary bits. For example, if 1 is received, it indicates that the current is in the charging state.

[0098] Priority decoding converts a three-bit binary number into the corresponding priority level. For example, if 0b111 is received, it indicates the first-level priority.

[0099] Furthermore, to improve communication reliability, a CRC checksum (Cyclic Redundancy Check) is added during the encoding process. The specific steps are as follows:

[0100] The sender calculates the CRC checksum after generating the data frame and appends it to the end of the data;

[0101] The receiver verifies the CRC checksum before parsing the data;

[0102] If the verification fails, the data frame is discarded and a retransmission is requested;

[0103] If the verification is successful, the data field is continued to be parsed.

[0104] Third, communication timing management includes the data frame transmission period, data transmission priority, and real-time guarantee.

[0105] Among them, the data frame transmission period defines the following transmission periods according to the real-time requirements of the system and the communication load situation:

[0106] Basic status information: Sent once every 100 ms (such as SOC update, temperature value, etc.);

[0107] Control instructions: Sent only when the power supply strategy needs to be adjusted;

[0108] Alarm information: Sent immediately when an abnormal state is detected (such as when the SOC drops to the threshold).

[0109] To ensure that critical information can be transmitted in a timely manner, a priority mechanism is set in the CAN bus. Specifically, the priority can be set in the following way as shown in Table 1:

[0110] Table 1

[0111]

[0112]

[0113] Furthermore, the real-time performance and reliability of the communication link can be ensured through the following measures:

[0114] Arbitration mechanism: The non-destructive arbitration mechanism is adopted in the CAN bus to ensure that high-priority messages can be transmitted first;

[0115] Retransmission mechanism: Automatically retransmit unacknowledged data frames within a certain period of time;

[0116] Bandwidth optimization: Reasonably allocate the CAN bus bandwidth to avoid data loss caused by overload.

[0117] By integrating the CAN bus direct connection protocol between in-vehicle BMS and home EMS, it ensures efficient and stable communication between the vehicle and the home energy management system. Combined with the millisecond-level SOC threshold trigger mechanism, it can quickly judge the vehicle power supply conditions and start emergency power supply in a timely manner. At the same time, implement the millisecond-level SOC threshold trigger mechanism. For example, when the SOC (state of charge) of the vehicle's power battery is greater than 30%, the system automatically activates the emergency power supply function. This method can quickly judge whether the vehicle has the conditions for emergency power supply when the inverter scheduling fails, and start the emergency power supply process in a timely manner, enhancing the real-time performance and reliability of the system, with more efficient communication and timely power supply startup.

[0118] The energy scheduling system of this application takes the inverter as the core monitoring object, and the fault perception layer monitors its status in real time; when a scheduling failure is detected, the information is transmitted to the emergency decision-making layer, and this layer formulates emergency strategies; finally, the execution control layer performs specific operations according to the decision results to achieve emergency intervention and takeover scheduling of the vehicle and charging pile.

[0119] By constructing an emergency response mechanism for multi-level fault diagnosis, compared with the traditional single-fault detection method, it can discover inverter scheduling failure problems more quickly and accurately, trigger emergency measures in real time, ensure that critical household loads resume or continue to be powered within a very short time, and significantly improve the timeliness and reliability of power supply. Utilize the vehicle's power battery as a temporary energy storage unit, combined with the vehicle-charging pile bidirectional power flow dynamic switching topology circuit, to achieve vehicle-charging pile collaborative control. It breaks through the limitations of traditional backup power sources with small capacity and short endurance, greatly improves the emergency power supply capacity, and provides more durable and stable power support for the family.

[0120] It realizes the deep integration of the home energy management system and the vehicle, fully exploits the energy storage potential of the vehicle's power battery, constructs a more complete household photovoltaic emergency power supply system, improves the family's ability to cope with emergencies such as inverter scheduling failure, and ensures the stability and safety of household electricity.

[0121] The overall intelligence level of the system is higher. Through multi-level fault diagnosis, edge computing, and intelligent control strategies, it can automatically adapt to different fault scenarios and household electricity demands, realize intelligent and automated emergency power supply management, and reduce manual intervention.

[0122] Exemplary method

[0123] Please refer toFigure 1 , in an exemplary embodiment, an energy scheduling method is provided, including:

[0124] Step 101, obtain the operating parameters of the inverter.

[0125] In some embodiments, the operating parameters may include, but are not limited to, the voltage, frequency, and power of the inverter. High-frequency sampling sensors (such as a voltage sensor and a frequency sensor with a sampling frequency of 10 kHz) may be deployed at key nodes of the inverter (such as the AC output terminal) to collect key parameters such as voltage and frequency in real time. The sensors have the characteristics of high precision, high-frequency sampling, and low latency to ensure the accuracy of the collected data, the ability to capture rapidly changing signals, and the real-time nature of data transmission.

[0126] Among them, the voltage (V) of the inverter includes the instantaneous voltage value and its fluctuation range; the frequency (f) includes the instantaneous frequency value and its fluctuation range; the power includes the useful power and the useless power, and the power factor (PF) can be obtained through the power to reflect the quality of the electrical energy output by the inverter.

[0127] Step 102, determine the operating state of the inverter according to the operating parameters.

[0128] In some embodiments, the operating parameters can reflect whether the operating state of the inverter is abnormal.

[0129] Generally, one or more of the operating parameters can be set within a normal range, and the operating state of the inverter is determined by judging whether the obtained operating parameters are within the normal range. For example, the normal range of voltage is set, and in the case where the voltage is greater than the voltage upper limit or less than the voltage lower limit, the operating state of the inverter is considered abnormal.

[0130] Furthermore, the operating state can be determined in a more accurate manner through multiple operating parameters.

[0131] In an alternative embodiment, determining the operating state of the inverter according to the operating parameters includes:

[0132] Judge whether the operating parameters are within a preset range;

[0133] If so, determine the characteristic parameters of the inverter according to the operating parameters;

[0134] Determine the operating state corresponding to the operating parameters based on the characteristic parameters.

[0135] In some embodiments, when determining the operating state of the inverter, the operating parameters can be initially judged by setting thresholds. If the operating parameters are not within the preset range, it can be considered that there may be an abnormality in the current inverter, and then the operating parameters need to be further processed. By calculating characteristic parameters and further analyzing the operating parameters, it is determined whether the inverter has a fault.

[0136] Among them, the voltage in the operating parameters can be used for initial judgment. If the voltage is not within the preset range, a secondary judgment is made.

[0137] Exemplarily, the specific implementation steps of the initial anomaly detection are as follows:

[0138] The sensor transmits the collected data to the data processing unit in the scheduling unit through the CAN bus or RS485 communication protocol. The data processing unit preprocesses the received data (such as filtering and denoising), and compares the preprocessed data with the preset threshold. If it exceeds the threshold range, an initial anomaly signal is triggered and the signal is transmitted to the second level for in-depth diagnosis.

[0139] In an alternative embodiment, the operating parameters include the voltage, frequency, and power of the inverter. Determining the characteristic parameters of the inverter operation based on the operating parameters includes:

[0140] Determining the root mean square voltage based on the voltage;

[0141] Determining the frequency fluctuation range based on the frequency;

[0142] Determining the power factor based on the useful power and the useless power in the power;

[0143] Determining the root mean square voltage, the frequency fluctuation range, and the power factor as the characteristic parameters.

[0144] Among them, the root mean square voltage V RMS can be calculated by the following formula:

[0145]

[0146] where N represents the number of voltages obtained, and V i represents the i-th voltage.

[0147] The frequency fluctuation range can be determined by the maximum and minimum values of the frequency.

[0148] The power factor PF can be calculated by the following formula:

[0149]

[0150] In an alternative embodiment, determining the operating state corresponding to the operating parameter based on the characteristic parameter includes:

[0151] Input the characteristic parameter into a pre-trained classification model, and initially classify the characteristic parameter through the classification model to obtain a first classification result, where the first classification result indicates whether the inverter is faulty. In the case where the first classification result indicates that the inverter is faulty, perform a secondary classification on the characteristic parameter through the classification model to obtain a second classification result, where the second classification result indicates the fault type of the inverter, and determine the first classification result and the second classification result as the operating state.

[0152] In some embodiments, the classification model can adopt an improved Support Vector Machine (SVM) algorithm. The classification model is obtained by training it to classify the operating state of the inverter. The improved SVM introduces kernel function optimization and an adaptive penalty coefficient (C) on the basis of the traditional SVM:

[0153] where w represents the weight vector, which is used to define the classification hyperplane and determine the direction of the hyperplane. b represents the bias term (although not directly reflected in the formula for calculation, it is used to adjust the position of the hyperplane in the standard form of SVM so that the hyperplane can better fit the data). ξ i represents the slack variable, which allows some samples not to strictly satisfy the classification constraints and introduces tolerance for sample errors. C(t) represents the adaptive penalty coefficient, which is dynamically adjusted to handle the problem of sample class imbalance and balance the model complexity and classification error. n represents the total number of samples, ) represents the sum of the slack variables ξ i for all n samples.

[0154] Among them, the specific steps for model construction include: data preprocessing: performing normalization processing on the collected data; removing noise data and outliers; dividing the data into a training set and a test set. In addition to the characteristic parameter, the training set and the test set also include the identifier of the operating state of the inverter, and the identifier includes normal and faulty. In the case where the identifier indicates that the inverter is faulty, it also includes the fault type identifier.

[0155] Among them, the characteristic parameters in the training set and the test set can be subjected to feature screening using principal component analysis (PCA) or genetic algorithm (GA) to extract the characteristic parameters that have the greatest impact on classification. For example, the characteristic parameters include the above-mentioned root mean square voltage, the frequency fluctuation range, and the power factor.

[0156] During the model training process, select an appropriate kernel function (such as the radial basis function RBF), and determine the optimal hyperparameters (such as the penalty coefficient (C) and the kernel function parameter (\gamma)) through cross-validation; train the SVM model with the training set and verify the model with the test set.

[0157] Extract characteristic parameters such as the root mean square value of voltage (RMS), the frequency fluctuation range (FDR), and the power factor (PF) as input variables. Classify the inverter status (normal / fault) through the trained SVM model. After determining the inverter fault, further judge the fault type (such as communication interruption, power abnormality, etc.).

[0158] To achieve real-time processing of high-frequency sampled data and SVM classification results, lightweight edge computing nodes (such as Raspberry Pi or NVIDIA Jetson) can be deployed. The functions of the edge nodes include: data storage and management, real-time computing and analysis, and generation of emergency response instructions.

[0159] The edge computing node receives the working status of the preliminary judgment from the first level and the secondary judgment from the second level, comprehensively analyzes it, and judges whether the triggering condition is reached; generates corresponding emergency response instructions according to the triggering condition; sends the instructions to the actuator to start the emergency response process.

[0160] A lightweight computing module can be deployed on the edge node to process local data in real time and cooperate with the cloud server to complete complex tasks.

[0161] The edge node can complete real-time data processing, acceleration of fault diagnosis, and generation of emergency response instructions. After the high-frequency sampled data (voltage, frequency, etc.) is preliminarily analyzed by the edge node, it is transmitted to the cloud; the first-level and second-level fault diagnoses are quickly completed by the edge node; the optimal emergency response plan is generated by combining local data and cloud feedback.

[0162] Through edge computing, the data transmission delay is reduced, improving the real-time performance. The local computing module can operate independently and provide backup solutions, enhancing the reliability; sensitive data does not need to be fully uploaded to the cloud, improving the data security.

[0163] It can be understood that after determining the inverter fault, the time parameter t related to the inverter scheduling fault problem can also be obtained, such as the fault duration (the duration from the occurrence of the fault). By comparing t with the preset time thresholds t1, t2, and t3, the triggered emergency response level is judged. Among them, t1 < t2 < t3, and the preset time thresholds can be set based on the actual situation and are not limited here. It is also possible to configure different emergency responses based on the time parameter t.

[0164] Level 1 Emergency Response: Triggered when t1 ≤ t < t2, generally representing relatively preliminary or lower-level response measures, which may include real-time alarms, recording fault information, notifying maintenance personnel to prepare for handling, etc., aiming to promptly monitor and initially control the scope of problem impact.

[0165] Level 2 Emergency Response: Triggered when t2 ≤ t < t3, usually indicating that the problem has lasted longer or the severity has escalated, and more advanced and stricter measures need to be taken, such as starting the backup power supply system, cutting off some non-critical circuits to ensure the safety of core equipment, performing more urgent fault isolation operations, etc., to avoid the expansion of the fault and ensure the overall stability of the system.

[0166] By adopting the above emergency response measures, resource waste and false triggering can be avoided. For example, if the fault is transient (such as a short voltage fluctuation), in the first-level response stage, lightweight operations such as alarms and recordings can be used to handle it, and there is no need to start the backup power supply. Directly starting the backup power supply may lead to unnecessary resource switching, affecting the normal operation rhythm of the system and even causing new problems (such as frequent start-stop of the backup power supply reducing its lifespan). It can also provide a basis for judging the severity of the fault. When the second-level response is triggered, it means that the fault has lasted for a certain period of time. After preliminary monitoring, it is confirmed that it is not an instantaneous disturbance but a persistent problem that really requires higher-level intervention. Starting the backup power supply at this time is a precise measure taken after clarifying the severity of the fault, which can not only ensure that the backup power supply is used effectively but also avoid premature startup resulting in ineffective consumption of resources. Moreover, the emergency response measures are hierarchical responses, and the transition from the first-level response to the second-level response is a progressive process. The real-time calculation, analysis, and data storage during the first-level response provide more sufficient decision-making basis for the second-level response (such as the fault type and impact scope are clear), making operations such as starting the backup power supply more targeted and effective. From the perspective of the overall operation of the system, it is actually a more efficient and reliable arrangement.

[0167] Step 103, when the inverter fault is indicated in the working state, instruct the actuator to supply power to the household load, and the actuator includes a charging pile and / or a vehicle power battery.

[0168] In some embodiments, in the case of an inverter fault, the existing actuator in the household is used to instruct the actuator to supply power to the household load to meet the household electricity demand, thereby reducing the cost brought by configuring a backup inverter.

[0169] In an alternative embodiment, instructing the actuator to supply power to the household load includes:

[0170] Obtain power supply indication parameters, where the power supply indication parameters include the priority of the household load power supply, power demand, the working state of the inverter, and the power supply amount of the actuator;

[0171] Determine the power supply allocation of the household load based on the power supply indication parameter;

[0172] Send a power supply instruction to the actuator, and the power supply instruction carries the power supply allocation situation.

[0173] In some embodiments, the priority of household load power supply can be dynamically adjusted according to user needs. For example, set loads related to personal safety such as life support devices (such as pacemakers, ventilators), security monitoring and alarm systems, and fire emergency devices (such as smoke alarms, emergency lighting) as the first priority; refrigerators, freezers; devices that need to remain powered on such as network communication devices (such as routers, modems) are set as the second priority; lighting devices; daily household loads such as daily appliances (such as TVs, computers) are set as the third priority; set other non-essential smart home devices (such as electric curtains, smart speakers) as the fourth priority.

[0174] It can be understood that the user can customize the load priority through the interface of the home energy management system (EMS). For example: the user can adjust the "TV" from the third priority to the second priority; the user can adjust the "electric curtain" from the fourth priority to the third priority.

[0175] In an alternative embodiment, determining the power supply allocation of the household load based on the power supply indication parameter includes:

[0176] Perform fuzzy processing on each power supply indication parameter to obtain the fuzzy level corresponding to each power supply indication parameter;

[0177] Determine the fuzzy inference result corresponding to the fuzzy level from a pre-established fuzzy rule base, and the fuzzy inference result indicates the power supply priority of each priority household load and the fuzzy degree of power supply power allocation;

[0178] Perform defuzzification processing on the fuzzy inference result to obtain the power supply allocation situation, and the power supply allocation situation includes the power supply power allocation values of each household load.

[0179] In some embodiments, use the fuzzy control method to process the input power supply indication parameter, so as to output the power supply power allocation ratio of each priority load.

[0180] Based on the load hierarchical scheduling algorithm of fuzzy control, the power distribution strategy can be dynamically adjusted according to the different priorities of household loads. Compared with the simple power supply method in the prior art, it can make more reasonable use of limited electric energy resources, give priority to ensuring the operation of key loads, improve the electric energy utilization efficiency, and avoid waste of resources.

[0181] Specifically, the specific implementation process of fuzzy control is as follows:

[0182] Input variable selection: Select the remaining battery power (SOC) of the vehicle's power battery, the real-time power demand of the household load, and the severity of the inverter fault as input variables. Among them, the remaining battery power of the vehicle is obtained in real time through the on-vehicle BMS; the real-time power demand of the household load is monitored by a power sensor installed on the household power line; the severity of the inverter fault is quantitatively evaluated according to the monitoring results of the fault perception layer.

[0183] Fuzzification: Map the input variables into different fuzzy sets. For example, for the remaining battery power of the vehicle, it is divided into three fuzzy sets: "low" (SOC < 20%), "medium" (20% ≤ SOC < 80%), and "high" (SOC ≥ 80%); the real-time power demand of the household load is divided into "low", "medium", and "high"; the severity of the inverter fault is divided into "light", "medium", and "heavy".

[0184] Establishment of fuzzy rule base: Develop a series of fuzzy rules based on experience and actual situations. For example:

[0185] If the remaining battery power of the vehicle is "high", the real-time power demand of the household load is "low", and the severity of the inverter fault is "light", then prioritize the power supply to the first- and second-priority loads, while providing partial power to the third-priority loads and cutting off the power supply to the fourth-priority loads.

[0186] If the remaining battery power of the vehicle is "medium", the real-time power demand of the household load is "medium", and the severity of the inverter fault is "medium", then prioritize the power supply to the first- and second-priority loads, appropriately reduce the power supply of the third-priority loads, and cut off the power supply to the fourth-priority loads.

[0187] If the remaining battery power of the vehicle is "low", the real-time power demand of the household load is "high", and the severity of the inverter fault is "heavy", then only guarantee the power supply to the first-priority load and cut off the power supply to the second-, third-, and fourth-priority loads.

[0188] Fuzzy inference: According to the fuzzification results of the input variables and the fuzzy rule base, use the Mamdani inference method for fuzzy inference to obtain a fuzzy output. The fuzzy output represents the fuzzy degree of the power supply priority and power distribution of each priority load.

[0189] Defuzzification: Convert the fuzzy output into specific control quantities, such as the power distribution ratio of each priority load. Use the centroid method for defuzzification to calculate the accurate power distribution value and provide clear control instructions for the execution control layer.

[0190] The energy scheduling method of the present application can also monitor the SOC value of the vehicle power battery in real time. When the SOC is greater than 30%, the system automatically activates the emergency power supply function within milliseconds. During the emergency power supply process, the SOC change of the vehicle power battery is monitored in real time with a period of 100 ms. When the SOC is lower than 15%, the execution control layer adjusts the power supply strategy in a timely manner according to the strategy of the emergency decision-making layer, giving priority to ensuring the power supply of the first-priority loads, and gradually reducing or cutting off the power supply of the second-, third-, and fourth-priority loads, so as to ensure that the vehicle power battery can provide power support for critical loads in a safe state.

[0191] Through the collaborative work of the above layers, the vehicle-pile emergency intervention and takeover scheduling system of the present invention can quickly and effectively ensure the continuous power supply of household critical loads when the inverter scheduling fails, improving the reliability and stability of household power consumption.

[0192] Exemplary device

[0193] Correspondingly, the embodiment of the present application also provides an energy scheduling device, including:

[0194] An acquisition module, configured to acquire the operating parameters of the inverter;

[0195] A determination module, configured to determine the operating state of the inverter according to the operating parameters;

[0196] A scheduling module, configured to instruct the actuator to supply power to the household load when the operating state indicates that the inverter fails, and the actuator includes a charging pile and / or a vehicle power battery.

[0197] The energy scheduling device provided in this embodiment belongs to the same inventive concept as the energy scheduling method provided in the above embodiments of the present application, and can execute the methods provided in any of the above embodiments of the present application, and has the corresponding functional modules and beneficial effects of the executed methods. For technical details not described in detail in this embodiment, reference can be made to the specific processing content of the energy scheduling method provided in the above embodiments of the present application, which will not be elaborated here.

[0198] The functions implemented by each module in the above energy scheduling device can be respectively implemented by the same or different processors, which is not limited in the embodiments of the present application.

[0199] It should be understood that each module in the above device can be implemented in the form of a processor invoking software. For example, the device includes a processor, the processor is connected to a memory, instructions are stored in the memory, and the processor invokes the instructions stored in the memory to implement any of the above methods or the functions of each unit of the device. The processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory inside the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of a hardware circuit. By designing the hardware circuit, the functions of some or all of the units can be implemented. The hardware circuit can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and by designing the logical relationship of the components in the circuit, the functions of some or all of the above units are implemented. Again, for example, in another implementation, the hardware circuit can be implemented through a PLD. Taking an FPGA as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured through a configuration file, so as to implement the functions of some or all of the above units. All units of the above device can be all implemented in the form of a processor invoking software, or all implemented in the form of a hardware circuit, or some implemented in the form of a processor invoking software and the remaining part implemented in the form of a hardware circuit.

[0200] In the embodiments of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor can be a circuit with the ability to read and execute instructions, such as a CPU, a microprocessor, a GPU, or a DSP, etc. In another implementation, the processor can implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or can be reconstructed. For example, the processor is a hardware circuit implemented by an ASIC or a PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the configuration of the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as a kind of ASIC, such as an NPU, a TPU, a DPU, etc.

[0201] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method. For example: a CPU, a GPU, an NPU, a TPU, a DPU, a microprocessor, a DSP, an ASIC, an FPGA, or a combination of at least two of these processor forms.

[0202] In addition, all or part of the units in the above device can be integrated together or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of an SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the units of the device. The types of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0203] Exemplary electronic device

[0204] Another embodiment of the present application further provides an electronic device. Refer to Figure 2 As shown, the device includes:

[0205] A memory 200 and a processor 210;

[0206] Wherein, the memory 200 is connected to the processor 210 and is used for storing programs;

[0207] The processor 210 is used for implementing the energy scheduling method disclosed in any of the above embodiments by running the programs stored in the memory 200.

[0208] Specifically, the above energy scheduling device may further include: a bus, a communication interface 220, an input device 230, and an output device 240.

[0209] The processor 210, the memory 200, the communication interface 220, the input device 230, and the output device 240 are interconnected through the bus. Among them:

[0210] The bus may include a path for transmitting information between various components of the computer system.

[0211] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or may be an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0212] The processor 210 may include a main processor and may also include a baseband chip, a modem, etc.

[0213] The program for implementing the technical solution of the present invention is stored in the memory 200, and the operating system and other key services may also be stored. Specifically, the program may include program code, and the program code includes computer operation instructions. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk memory, a flash memory, etc.

[0214] The input device 230 may include devices for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor, etc.

[0215] The output device 240 may include devices for allowing information to be output to a user, such as a display screen, a printer, a speaker, etc.

[0216] The communication interface 220 may include devices of any transceiver type for communicating with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.

[0217] The processor 210 executes the program stored in the memory 200 and calls other devices, and can be used to implement each step of any one of the energy scheduling methods provided in the above embodiments of the present application.

[0218] Exemplary computer program product and storage medium

[0219] In addition to the above methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, and when the computer program instructions are run by a processor, the processor is caused to execute the steps in the energy scheduling method according to various embodiments of the present application described in any of the above embodiments of this specification.

[0220] The computer program product may be written in any combination of one or more programming languages for programming code for performing the operations of the embodiments of the present application. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, executed as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0221] In addition, an embodiment of the present application may also be a storage medium, on which a computer program is stored. The computer program is executed by a processor to perform the steps in the energy scheduling method according to various embodiments of the present application described in any of the above embodiments of this specification, and specifically may implement the following steps:

[0222] Obtain the operating parameters of the inverter;

[0223] Determine the operating state of the inverter according to the operating parameters;

[0224] When the operating state indicates that the inverter fails, instruct the actuator to supply power to the household load, and the actuator includes a charging pile and / or a vehicle power battery.

[0225] For the foregoing method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps can be adopted in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.

[0226] It should be noted that the various embodiments in this specification are all described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts among the various embodiments can be referred to each other. For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0227] The steps in the methods of the various embodiments of the present application can be adjusted, combined, and deleted according to actual needs, and the technical features recorded in the various embodiments can be replaced or combined.

[0228] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be combined, divided, and deleted according to actual needs.

[0229] In several embodiments provided by the present application, it should be understood that the disclosed terminals, devices, and methods can be implemented in other ways. For example, the terminal embodiments described above are merely illustrative. For example, the division of modules or sub-modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple sub-modules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical, or other forms.

[0230] The modules or sub-modules described as separate components may or may not be physically separated. The components as modules or sub-modules may or may not be physical modules or sub-modules, that is, they may be located in one place, or may be distributed across multiple network modules or sub-modules. Some or all of the modules or sub-modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0231] In addition, each functional module or sub-module in various embodiments of the present application may be integrated in a processing module, may exist separately as individual physical modules or sub-modules, or two or more modules or sub-modules may be integrated in one module. The above-mentioned integrated modules or sub-modules can be implemented in the form of hardware, or in the form of software functional modules or sub-modules.

[0232] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.

[0233] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, software units executed by a processor, or a combination of both. The software units can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0234] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0235] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An energy scheduling method, characterized in that, Including: Obtaining the operating parameters of the inverter; Determining the operating state of the inverter according to the operating parameters; When the operating state indicates that the inverter is faulty, instructing the actuator to supply power to the household load, where the actuator includes a charging pile and / or a vehicle power battery.

2. The method according to claim 1, characterized in that, Determining the operating state of the inverter according to the operating parameters includes: Judging whether the operating parameters are within a preset range; If so, determining the characteristic parameters of the inverter operation according to the operating parameters; Determining the operating state corresponding to the operating parameters based on the characteristic parameters.

3. The method according to claim 2, characterized in that, The operating parameters include the voltage, frequency, and power of the inverter. Determining the characteristic parameters of the inverter operation according to the operating parameters includes: Determining the root mean square voltage based on the voltage; Determining the frequency fluctuation range based on the frequency; Determining the power factor based on the useful power and the useless power in the power; Determining the root mean square voltage, the frequency fluctuation range, and the power factor as the characteristic parameters.

4. The method according to claim 2, characterized in that, Determining the operating state corresponding to the operating parameters based on the characteristic parameters includes: Inputting the characteristic parameters into a pre-trained classification model, initially classifying the characteristic parameters through the classification model to obtain a first classification result, where the first classification result indicates whether the inverter is faulty. When the first classification result indicates that the inverter is faulty, performing a secondary classification on the characteristic parameters through the classification model to obtain a second classification result, where the second classification result indicates the fault type of the inverter, and determining the first classification result and the second classification result as the operating state.

5. The method according to claim 1, wherein Instructing the actuator to supply power to the household load includes: Obtaining the power supply indication parameters, where the power supply indication parameters include the priority of the household load power supply, the power demand, the operating state of the inverter, and the power supply amount of the actuator; Determining the power supply allocation situation of the household load based on the power supply indication parameters; Sending a power supply instruction to the actuator, where the power supply allocation situation is carried in the power supply instruction.

6. The method according to claim 5, wherein Determining the power supply allocation situation of the household load based on the power supply indication parameters includes: Performing fuzzy processing on each power supply indication parameter to obtain the fuzzy level corresponding to each power supply indication parameter; Determining the fuzzy inference result corresponding to the fuzzy level from a pre-established fuzzy rule base, where the fuzzy inference result indicates the power supply priority of each priority household load and the fuzzy degree of the power supply power allocation; Performing defuzzification processing on the fuzzy inference result to obtain the power supply allocation situation, where the power supply allocation situation includes the power supply power allocation values of each household load.

7. An energy scheduling system, characterized in that, Including: An inverter, a scheduling unit, and an actuator; The scheduling unit is used to obtain the operating parameters of the inverter; determine the operating state of the inverter according to the operating parameters; when the operating state indicates that the inverter is faulty, instruct the actuator to supply power to the household load, where the actuator includes a charging pile and / or a vehicle power battery.

8. The system according to claim 7, wherein The scheduling unit includes a full-bridge inverter circuit and a bidirectional DC-DC converter; The full-bridge inverter circuit is used to convert the direct current of the actuator into alternating current. The bidirectional DC-DC converter is used to adjust the power supply mode between the actuator and the household load.

9. An electronic device, characterized in that, It includes a memory and a processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the energy scheduling method according to any one of claims 1 to 6 by running the programs in the memory.

10. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is run by the processor, the energy scheduling method according to any one of claims 1 to 6 is implemented.