Intelligent control method and related device for electricity in RV

Through intelligent control methods, the power of the RV's electrical equipment is distributed, and power is given priority to key equipment that cannot be turned off. This solves the problem of how to meet the basic power demand when the RV's power is insufficient, ensuring the user's basic power supply and user experience.

CN118412974BActive Publication Date: 2024-10-22SHENZHEN AMPERE TIME DIGITAL ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410877449.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-22
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

When the RV has insufficient power, how to meet the user's basic power needs, especially ensuring stable power supply for key equipment.

Method used

Through intelligent control methods, the total available power of the RV is obtained, the power demand of multiple RV electrical equipment is determined, and the power is distributed according to the status and type of the equipment, and priority is given to key equipment that cannot be turned off to ensure the user's basic power needs. .

Benefits of technology

It realizes that when the RV's power is insufficient, through the power distribution of the electrical equipment, it ensures the stable power supply of key equipment, meets the user's basic power needs, and improves the user's satisfaction and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118412974B_ABST
    Figure CN118412974B_ABST
Patent Text Reader

Abstract

The present application provides an intelligent control method for electricity in a motorhome and a related device, the method comprising: obtaining the total available electricity corresponding to the intelligent motorhome, the total available electricity being the sum of photovoltaic power generation and the current remaining electricity; determining the sum of multiple demand electricity corresponding to multiple motorhome electrical equipment in the intelligent motorhome as the total demand electricity; if the total available electricity is less than or equal to the total demand electricity, obtaining the device status corresponding to each of the multiple motorhome electrical equipment to obtain multiple device statuses; obtaining the device type corresponding to each of the multiple motorhome electrical equipment to obtain multiple device types; determining a first group of electrical equipment according to the multiple device statuses and the multiple device types; allocating electricity to the first group of electrical equipment according to the total available electricity to obtain a target electricity allocation result; and controlling the photovoltaic components and the energy storage battery to supply power to the first group of electrical equipment according to the target electricity allocation result to meet the electricity demand of the target user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of recreational vehicles, and in particular to an intelligent control method and related devices for electricity in a recreational vehicle. Background Art

[0002] During the trip, RVs require a lot of electricity to support the normal operation of RV electrical equipment, such as lighting, air conditioning, kitchen electricity, etc. At this time, people usually use energy storage batteries or photovoltaic modules to provide continuous power supply for RV electrical equipment to meet the user's electricity needs.

[0003] However, how to meet users' basic electricity needs when the RV's power is insufficient is an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present application provide an intelligent control method and related devices for power in a motorhome, which enable stable power supply to key equipment by distributing power to electrical equipment in the motorhome when the motorhome is low on power, thereby meeting the basic power needs of users.

[0005] In a first aspect, an embodiment of the present application provides an intelligent control method for electricity in a motorhome, which is applied to an intelligent controller of a smart motorhome, wherein the smart motorhome further includes a photovoltaic module and an energy storage battery; the method includes:

[0006] Obtain the total available power corresponding to the smart RV, where the total available power is the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within a preset time period; the current remaining power is the remaining power of the energy storage battery at the current moment;

[0007] Determine the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV as the total power requirement;

[0008] If the total available power is less than or equal to the total required power, then obtaining the device status corresponding to each of the plurality of RV electrical devices to obtain a plurality of device statuses; the device status includes an operating status or a closed status;

[0009] Obtaining a device type corresponding to each of the plurality of RV electrical devices to obtain a plurality of device types; the device type includes a switchable device or a non-switchable device;

[0010] Determine a first group of electrical devices according to the multiple device states and the multiple device types; the first group of electrical devices are electrical devices in the multiple RV electrical devices whose device states are in running state and whose device types are non-shutdown devices;

[0011] Allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result;

[0012] According to the target power distribution result, the photovoltaic components and the energy storage battery are controlled to supply power to the first group of electrical equipment to meet the power demand of the target user; the target user is the user of the smart RV.

[0013] In a second aspect, an embodiment of the present application provides an intelligent control device for electricity in a motorhome, which is applied to an intelligent controller of an intelligent motorhome, wherein the intelligent motorhome also includes a photovoltaic component and an energy storage battery; the device includes a first acquisition module, a first determination module, a second acquisition module, a third acquisition module, a second determination module, an allocation module and a control module, wherein:

[0014] The first acquisition module is used to acquire the total available power corresponding to the smart RV, where the total available power is the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within a preset time period; the current remaining power is the remaining power of the energy storage battery at the current moment;

[0015] The first determination module is used to determine that the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV is the total power requirement;

[0016] The second acquisition module is used to acquire the device status corresponding to each of the plurality of RV electrical devices if the total available power is less than or equal to the total required power, and obtain a plurality of device statuses; the device status includes an operating status or a closed status;

[0017] The third acquisition module is used to acquire the device type corresponding to each of the plurality of RV electrical devices to obtain a plurality of device types; the device type includes a closable device or a non-closable device;

[0018] The second determination module is used to determine a first group of electrical devices according to the multiple device states and the multiple device types; the first group of electrical devices are electrical devices whose device states are in running state and whose device types are non-shutdown devices among the multiple RV electrical devices;

[0019] The allocation module is used to allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result;

[0020] The control module is used to control the photovoltaic components and the energy storage battery to supply power to the first group of electrical equipment according to the target power distribution result to meet the power demand of the target user; the target user is the user of the smart RV.

[0021] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect of the embodiment of the present application.

[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.

[0023] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0024] By implementing the embodiments of the present application, when the RV is short of power, power can be distributed to the RV's electrical equipment to ensure stable power supply to key equipment, thereby meeting the user's basic power needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0026] Figure 1 This is a system architecture diagram of a smart RV provided in an embodiment of the present application;

[0027] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0028] Figure 3 It is a flow chart of an intelligent control method of electricity in a motorhome provided by an embodiment of the present application;

[0029] Figure 4 This is a schematic diagram of power distribution provided in an embodiment of the present application;

[0030] Figure 5 This is a block diagram of the functional modules of an intelligent control device for electricity in a motorhome provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0033] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.

[0034] In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.

[0035] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.

[0036] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0037] During the trip, RVs require a lot of electricity to support the normal operation of RV electrical equipment, such as lighting, air conditioning, kitchen electricity, etc. At this time, people usually use energy storage batteries or photovoltaic modules to provide continuous power supply for RV electrical equipment to meet the user's electricity needs. However, how to meet the user's basic electricity needs when the RV is low on electricity is an urgent problem to be solved.

[0038] To solve the above problems, an embodiment of the present application provides an intelligent control method and related devices for power in a motorhome, which are applied to an intelligent controller of a smart motorhome, wherein the smart motorhome also includes a photovoltaic component and an energy storage battery; the method includes: obtaining the total available power corresponding to the smart motorhome, the total available power being the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic component within a preset time period; the current remaining power is the remaining power of the energy storage battery at the current moment; determining that the sum of multiple power requirements corresponding to multiple motorhome electrical equipment in the smart motorhome is the total power requirement; if the total available power is less than or equal to the total power requirement, obtaining the device status corresponding to each of the multiple motorhome electrical equipment, and obtaining multiple device statuses. The device state includes the running state or the shut-down state; the device type corresponding to each of the multiple RV electrical devices is obtained to obtain multiple device types; the device type includes a shut-down device or a non-shut-down device; the first group of electrical devices is determined according to the multiple device states and the multiple device types; the first group of electrical devices is the electrical devices whose device state is the running state and whose device type is the non-shut-down device among the multiple RV electrical devices; the first group of electrical devices is distributed according to the total available power to the first group of electrical devices to obtain the target power distribution result; the photovoltaic components and the energy storage battery are controlled according to the target power distribution result to supply power to the first group of electrical devices to meet the power demand of the target user; the target user is the user of the smart RV. In the case of insufficient power in the RV, the stable power supply of key equipment is ensured by distributing power to the RV electrical devices to meet the basic power demand of the user.

[0039] Combine the following Figure 1 The system architecture of a smart RV in an embodiment of the present application is described. Figure 1 It is a system architecture diagram of a smart RV provided in an embodiment of the present application. The smart RV 110 includes an intelligent controller 111, a photovoltaic component 112, and an energy storage battery 113, wherein the intelligent controller 111 is communicatively connected with the photovoltaic component 112 and the energy storage battery 113 respectively.

[0040] Among them, the intelligent controller 111 is used to control the photovoltaic components 112 and the energy storage battery 113 to supply power to multiple RV electrical equipment in the smart RV 110.

[0041] The photovoltaic module 112 is used to convert solar energy into electrical energy and provide power for electrical equipment in the smart RV 110. The photovoltaic module 112 can be installed on the top of the smart RV 110, and can generate direct current under sunlight, and convert the direct current into alternating current through an inverter, and the alternating current can be used to power the electrical equipment in the smart RV 110.

[0042] Among them, the energy storage battery 113 is used to provide the electric energy required for the normal operation of the RV's electrical equipment, and can also store the excess electric energy generated by the photovoltaic component 112. Among them, the energy storage battery 113 is installed with a battery management system, and the battery management system can be used to monitor the power of the energy storage battery in real time.

[0043] In one possible embodiment, the intelligent controller 111 obtains the photovoltaic power generation of the photovoltaic component 112 within a preset time period, and obtains the remaining power of the energy storage battery 113 at the current moment through the battery management system, calculates the sum of the photovoltaic power generation and the current remaining power, and obtains the total available power. Then, the sum of multiple power requirements corresponding to multiple RV electrical equipment in the intelligent RV 110 is determined as the total power requirement. If the total available power is less than or equal to the total power requirement, the running non-shutdown equipment is recorded as the first group of electrical equipment, and the power is allocated to the first group of electrical equipment according to the total available power to obtain the target power allocation result, wherein the first group of electrical equipment is the key equipment that prioritizes power demand. Finally, according to the target power allocation result, the photovoltaic component 112 and the energy storage battery 113 are controlled to supply power to the first group of electrical equipment to meet the power demand of the target user.

[0044] It can be seen that through the above system architecture, when the RV is short of power, power can be distributed to the RV's electrical equipment to ensure stable power supply to key equipment to meet the user's basic power needs.

[0045] Combine the following Figure 2 The electronic device in the embodiment of the present application is described. Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the electronic device 20 includes one or more processors 220, a memory 230, a communication interface 240 and one or more programs 231. The processor 220 is communicatively connected with the memory 230 and the communication interface 240 via an internal communication bus.

[0046] The processor 220 is mainly used for:

[0047] Get the total available power corresponding to the smart RV. The total available power is the sum of the photovoltaic power generation and the current remaining power. The photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within the preset time period. The current remaining power is the remaining power of the energy storage battery at the current moment.

[0048] Determine that the sum of multiple power demands corresponding to multiple RV electrical equipment in the smart RV is the total power demand;

[0049] If the total available power is less than or equal to the total required power, then the device status corresponding to each of the multiple RV electrical devices is obtained to obtain multiple device statuses; the device status includes an operating status or a closed status;

[0050] Obtaining a device type corresponding to each electrical device in a plurality of RV electrical devices to obtain a plurality of device types; the device type includes a turnable device or a non-turnable device;

[0051] Determine a first group of electrical equipment according to multiple equipment states and multiple equipment types; the first group of electrical equipment is electrical equipment in which the equipment state is in operation and the equipment type is a non-shutdown equipment among the multiple RV electrical equipment;

[0052] Allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result;

[0053] According to the target power distribution result, the photovoltaic components and energy storage batteries are controlled to supply power to the first group of electrical equipment to meet the power demand of the target users; the target users are the users of the smart RV.

[0054] The one or more programs 231 are stored in the memory 230 and are configured to be executed by the processor 220. The one or more programs 231 include instructions for executing any step in the method embodiment.

[0055] The processor 220 may be, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, units and circuits described in conjunction with the disclosure of the present application. The processor 220 may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication unit may be a communication interface 240, a transceiver, a transceiver circuit, and the like, and the storage unit may be a memory 230.

[0056] The memory 230 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM).

[0057] It is understood that the electronic device 20 may include more or fewer structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, a Wi-Fi module, a speaker, a Bluetooth module, a sensor, a display module, etc., which are not limited here. It is understood that the electronic device 20 may be as follows Figure 1 The intelligent controller 111 may also be equipped with Figure 1 The system architecture described.

[0058] After understanding the software and hardware architecture of this application, Figure 3 An intelligent control method for electricity in a motorhome in an embodiment of the present application is described. Figure 3 A flow chart of an intelligent control method for electricity in a motorhome provided in an embodiment of the present application specifically includes the following steps:

[0059] Step S301, obtaining the total available power corresponding to the smart RV.

[0060] The total available power is the sum of the photovoltaic power generation and the current remaining power, the photovoltaic power generation is the photovoltaic power generation of the photovoltaic component within a preset time period, and the current remaining power is the remaining power of the energy storage battery at the current moment.

[0061] Specifically, multiple light intensities within the preset time period are obtained; performance parameters of the photovoltaic module are obtained, the performance parameters including the illumination area and the conversion efficiency; the multiple light intensities are averaged to obtain the average light intensity; and the photovoltaic power generation is calculated based on the average light intensity, the illumination area and the conversion efficiency, wherein the photovoltaic power generation = average light intensity × illumination area × conversion efficiency.

[0062] Among them, the smart RV also includes a battery management system, which can obtain the current remaining power of the energy storage battery at the current moment through the battery management system.

[0063] Step S302: determine that the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV is the total power requirement.

[0064] Specifically, RV electrical equipment includes but is not limited to lighting equipment, entertainment equipment, living equipment, and air conditioning equipment. According to the actual needs of the target user, multiple RV electrical equipment that needs to be used and the corresponding continuous operation time of multiple RV electrical equipment can be determined. The product of the power consumption and continuous operation time corresponding to the multiple RV electrical equipment is calculated to obtain multiple required power corresponding to the multiple RV electrical equipment. The sum of the multiple required power is calculated to obtain the total required power.

[0065] Step S303: If the total available power is less than or equal to the total required power, the device status corresponding to each of the multiple RV electrical devices is obtained to obtain multiple device statuses.

[0066] The device status includes a running status or a shutdown status.

[0067] Specifically, when the total available power is less than or equal to the total required power, it means that the RV is short of power. The smart controller of the smart RV then obtains the device status corresponding to each of the multiple RV electrical devices to determine whether the device status of each RV electrical device is in operation or in shutdown.

[0068] Step S304, obtaining a device type corresponding to each electrical device in the plurality of RV electrical devices, and obtaining a plurality of device types.

[0069] The device type includes a switchable device or a non-switchable device.

[0070] Specifically, the device type corresponding to each electrical device in a plurality of RV electrical devices can be determined as a turnable device or a non-turnable device based on the preset device power outage impact degree, wherein the device power outage impact degree can be determined in advance based on actual conditions. For example, entertainment equipment includes but is not limited to televisions, stereos, and game consoles. These electrical devices are all non-important devices that provide entertainment functions. When the available power of the RV is low, in order to ensure other basic needs of users, the power supply to these devices can be stopped. The corresponding device power outage impact degree is low, and the device type of the entertainment equipment is determined to be a turnable device; safety equipment includes but is not limited to security cameras, intrusion alarm systems, and smoke detectors. These electrical devices are important equipment for ensuring the safety of life and property. Even when the available power of the RV is low, in order to ensure the most basic safety needs, these devices should also be continuously powered. The corresponding device power outage impact degree is high, and the device type of the safety equipment is determined to be a non-turnable device.

[0071] It should be noted that in extremely cold climates, the heating system and air-conditioning system are devices that cannot be turned off in order to maintain a comfortable temperature in the RV; when long-term travel or outdoor adventures are required, refrigerators and refrigeration equipment are devices that cannot be turned off to ensure that food remains fresh and avoids spoilage; if there are medical devices that rely on electricity in the RV, such as ventilators, blood pressure monitors or insulin refrigerators, these medical devices are devices that cannot be turned off to ensure the patient's life safety.

[0072] Step S305: determining a first group of electrical devices according to the multiple device states and the multiple device types.

[0073] Among them, the first group of electrical equipment is the electrical equipment whose equipment status is running and whose equipment type is non-shutdown equipment among the multiple RV electrical equipment.

[0074] Specifically, among multiple RV electrical equipment, electrical equipment whose equipment status is in running status and whose equipment type is non-shutdown equipment is recorded as the first group of electrical equipment. The first group of electrical equipment is the RV electrical equipment that gives priority to ensuring normal operation in low power situations.

[0075] It can be seen that by identifying and grouping the device status and device type, power can be managed and allocated more accurately. This can meet the needs of RV electrical equipment to the greatest extent and avoid the situation where key equipment cannot operate normally due to insufficient power.

[0076] Step S306: Allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result.

[0077] Among them, a first group of power consumption and a first group of continuous operating time corresponding to the first group of power users are obtained; the power consumption of each power user in the first group of power users is determined according to the first group of power consumption and the first group of continuous operating time; the power priority corresponding to the first group of power users is determined according to a preset mapping relationship between the power users and the power priority, and a plurality of power priorities are obtained; the first group of power users are sorted from high to low according to the plurality of power priorities, and a sorted first group of power users is obtained; the first k power users are selected from the sorted first group of power users, and the sum of the k power consumptions corresponding to the first k power users is less than or equal to the total available power, and k is a positive integer; and the k power consumptions are determined to be the target power allocation results.

[0078] For easier understanding, see Figure 4 , Figure 4A schematic diagram of power distribution provided for the embodiment of the present application shows that the first group of power equipment includes power equipment A, power equipment B, power equipment C, power equipment D, power equipment E, and power equipment F; the power consumption priorities of the power equipment include low priority, medium priority, and high priority; the unit of power consumption includes kilowatt-hour. Among them, power equipment A corresponds to medium priority, requiring 20 units of power consumption; power equipment B corresponds to high priority, requiring 20 units of power consumption; power equipment C corresponds to medium priority, requiring 10 units of power consumption; power equipment D corresponds to low priority, requiring 30 units of power consumption; power equipment E corresponds to low priority, requiring 20 units of power consumption; power equipment F corresponds to medium priority, requiring 40 units of power consumption. After sorting the first group of power-consuming devices from high to low priority, the sorted first group of power-consuming devices is obtained, wherein the order is power-consuming device B, power-consuming device F, power-consuming device A, power-consuming device C, power-consuming device D, and power-consuming device E, wherein power-consuming device F, power-consuming device A, and power-consuming device C all belong to the same priority, then the order of these three power-consuming devices can be randomly arranged, or can be arranged according to the actual needs of the user, for example, the order of these three power-consuming devices can also be power-consuming device C, power-consuming device A, and power-consuming device F, which is not specifically limited here. Assuming that the total available power is 100 units, the sum of the power consumption of power-consuming devices B, power-consuming device F, power-consuming device A, and power-consuming device C is 90 units, which is less than the total available power, and the sum of the power consumption of power-consuming devices B, power-consuming device F, power-consuming device A, power-consuming device C, and power-consuming device D is 120 units, which is greater than the total available power. Therefore, the power distribution result is determined to be the power consumption corresponding to the power consumer B, the power consumer F, the power consumer A and the power consumer C respectively.

[0079] Specifically, first obtain the power consumption of each power consumer in the first group of power consumers, and then determine the continuous operation time of each power consumer according to the power demand of the target user for each power consumer. For example, if the target user needs the heating equipment to provide 3 hours of heating, the corresponding continuous operation time is 3 hours. Thus, the power consumption and continuous operation time corresponding to each power consumer in the first group of power consumers can be obtained, and then the power consumption of each power consumer is calculated according to the formula of power consumption = power consumption × continuous operation time. The power consumption priority corresponding to the first group of power consumers is determined according to the mapping relationship between the preset power consumers and power consumption priorities, and multiple power consumption priorities are obtained. For example, the power consumption priority corresponding to the safety equipment is a high priority, the power consumption priority corresponding to the refrigeration equipment is a medium priority, and the power consumption priority corresponding to the heating equipment is a low priority. It should be noted that the setting of the power consumption priority corresponding to the power consumer can be adjusted according to the specific actual situation, and no specific limitation is made here. Then, the first group of power consumers are sorted from high to low according to the multiple power consumption priorities to obtain the sorted first group of power consumers. Based on the premise that the sum of the power consumption of the selected power users is less than or equal to the total available power, the first k power users are selected from the first group of power users after sorting, and the k power consumptions corresponding to the first k power users are used as the target power allocation results.

[0080] In addition, it is also possible to select power users one by one from the front to the back of the sorted list of the first group of devices and add them to the power allocation list, and add up the power consumption corresponding to the power users one by one until the sum of the accumulated power consumption is greater than the total available power, and then remove the power user added last to the power allocation list to obtain the target power allocation list, and then determine the target power allocation result based on the power consumption corresponding to each power user in the target power allocation list.

[0081] It can be seen that when the available power in the RV is insufficient, the normal operation of important electrical equipment is prioritized to ensure that users can enjoy the most important and basic power supply. In addition, by sorting the electrical equipment by priority, the normal operation of electrical equipment with higher priority is ensured to improve user satisfaction and experience, so that users can use RV equipment more conveniently.

[0082] In a possible embodiment, the sum of k power consumptions is the necessary power consumption, and the non-essential power consumption is determined based on the difference between the total available power consumption and the necessary power consumption; the non-essential power consumption is used to power a second group of power-consuming equipment; the second group of power-consuming equipment is power-consuming equipment whose equipment status is in operation and whose equipment type is a turnable equipment among the multiple RV power-consuming equipment; a third group of power-consuming equipment is obtained, and the third group of power-consuming equipment is power-consuming equipment used for lighting among the multiple RV power-consuming equipment, and the third group of power-consuming equipment does not belong to the first group of power-consuming equipment and the second group of power-consuming equipment; environmental data within the preset time period is obtained; lighting power consumption is determined based on the third group of power-consuming equipment and the environmental data; if the non-essential power consumption is greater than the lighting power consumption, the maximum available power is determined based on the difference between the non-essential power consumption and the lighting power consumption; the total power supplied to the second group of power-consuming equipment by the photovoltaic components and the energy storage battery is controlled to be less than the maximum available power; if the non-essential power consumption is less than or equal to the lighting power consumption, the second group of power-consuming equipment is turned off.

[0083] It should be noted that in order to ensure basic lighting needs, the remaining non-essential electricity consumption needs to reserve basic electricity consumption for lighting. The second group of electrical equipment does not include the third group of electrical equipment used for lighting, so as to determine whether the non-essential electricity consumption meets the demand for reserved lighting electricity consumption. When the non-essential electricity consumption is greater than the lighting electricity consumption and meets the demand for reserved lighting electricity consumption, the difference between the non-essential electricity consumption and the lighting electricity consumption can be used to power the second group of electrical equipment, and the reserved lighting electricity consumption is used to power the third group of equipment; when the non-essential electricity consumption is less than or equal to the lighting electricity consumption and does not meet the demand for reserved lighting electricity consumption, all the second group of electrical equipment will be shut down, and the non-essential electricity consumption will be used as the reserved lighting electricity consumption to give priority to meeting the basic lighting needs.

[0084] Specifically, first calculate the sum of k power consumptions to obtain the necessary power consumption, then calculate the difference between the total available power and the necessary power consumption to obtain the non-essential power consumption, which is used to power the second group of electrical equipment. Then, record the electrical equipment used for lighting in the RV electrical equipment as the third group of electrical equipment. Then obtain environmental data within a preset time period; determine the lighting power consumption based on the third group of electrical equipment and environmental data; if the non-essential power consumption is greater than the lighting power consumption, determine the maximum available power based on the difference between the non-essential power consumption and the lighting power consumption; if the non-essential power consumption is less than or equal to the lighting power consumption, turn off the second group of electrical equipment.

[0085] It can be seen that by reasonably allocating power resources, it can ensure that users' basic lighting needs are met, and when power resources are limited, the needs of other non-essential electrical equipment can be met as much as possible, so as to improve the comfort and experience of RV use and improve the efficiency of power utilization.

[0086] Among them, the environmental data includes the lighting time and the lighting intensity. How to determine the lighting power consumption based on the third group of electrical equipment and environmental data can be achieved through the following steps:

[0087] A1: Determine the time during the illumination time when the illumination intensity is greater than a preset illumination intensity threshold as the external illumination time;

[0088] A2: Determine the internal illumination time according to the duration of the preset time period and the external illumination time;

[0089] A3: Obtain the power consumption corresponding to the third group of electrical equipment to obtain multiple lighting power consumptions;

[0090] A4: Determine the lighting power consumption according to the internal lighting time and the sum of the multiple lighting power consumptions.

[0091] Specifically, first, determine the time during which the light intensity is greater than the preset light intensity threshold as the external light time, wherein if the light intensity is greater than the preset light intensity threshold, it means that the light in the external environment is sufficient, and there is no need for the third group of equipment in the smart RV to provide lighting, and there is no need to power the third group of equipment. Then determine the internal light time based on the length of the preset time period and the external light time. The internal light time is the operating time of the third group of equipment when the light in the external environment is insufficient. Then obtain the power consumption corresponding to the third group of electrical equipment to obtain multiple lighting power consumptions. Finally, determine the lighting power consumption based on the internal light time and the sum of multiple lighting power consumptions.

[0092] In a possible embodiment, if the total available power is greater than the total required power, the photovoltaic power generation is compared with the total required power; if the photovoltaic power generation is greater than or equal to the total required power, the difference between the photovoltaic power generation and the total required power is determined to be a first difference power; a first power consumption ratio is determined according to the multiple required power and the first difference power; the first power consumption ratio includes the power consumption ratio between each of the multiple RV power devices and the on-board charger; the on-board charger is used to charge the energy storage battery; the photovoltaic component is controlled to supply power to the multiple RV power devices and the on-board charger at the first power consumption ratio; if the photovoltaic power generation is less than the total required power, a second power consumption ratio is determined according to the multiple required power, the second power consumption ratio including the power consumption ratio between each of the multiple RV power devices; the photovoltaic component and the energy storage battery are controlled to supply power to the multiple RV power devices at the second power consumption ratio, and no power is supplied to the on-board charger.

[0093] Specifically, when the total available power is greater than the total power demand, it means that the RV has sufficient power, and then the photovoltaic power generation is compared with the total power demand. If the photovoltaic power generation is greater than or equal to the total power demand, it means that the photovoltaic power generation is sufficient, and the difference between the photovoltaic power generation and the total power demand is calculated to obtain the first difference power. Then determine the first power consumption ratio based on the multiple power demand and the first difference power, wherein the first power consumption ratio includes the power consumption ratio between each power device in the multiple RV power devices and the on-board charger. For example, assuming that the power demand corresponding to the multiple RV power devices is 10 units, 20 units, and 40 units respectively, and the first difference power is 20 units, then the first power consumption ratio is 1:2:4:2. Finally, control the photovoltaic components to supply power to the multiple RV power devices and the on-board charger at the first power consumption ratio. If the photovoltaic power generation is less than the total power demand, it means that the photovoltaic power generation is insufficient. The second power consumption ratio is determined based on multiple power demand ratios. The second power consumption ratio includes the power consumption ratio between each power consumption equipment in multiple RV power consumption equipment, and controls the photovoltaic components and energy storage batteries to supply power to multiple RV power consumption equipment at the second power consumption ratio, and does not supply power to the on-board charger.

[0094] It can be seen that when there is sufficient available electricity in the RV, the power energy of photovoltaic panels and energy storage batteries can be utilized to the maximum extent, the reasonable allocation of power resources between multiple electrical equipment and on-board chargers can be achieved, and the stability and efficiency of the RV's power supply can be ensured.

[0095] After controlling the photovoltaic assembly to supply power to a plurality of RV electrical equipment and a vehicle charger at a first power consumption ratio, the method further includes the following steps:

[0096] When the current remaining power is less than a preset first remaining power threshold, the on-board charger is controlled to charge the energy storage battery at a reference first charging rate; the current battery temperature of the energy storage battery is obtained; a first adjustment parameter is determined according to the current battery temperature; the reference first charging rate is adjusted according to the first adjustment parameter to obtain a target first charging rate; and the on-board charger is controlled to charge the energy storage battery at the target first charging rate.

[0097] Specifically, when the current remaining power is less than the preset first remaining power threshold, it means that the remaining power of the energy storage battery is too low and the charging rate of the energy storage battery needs to be increased, then the on-board charger is controlled to charge the energy storage battery with reference to the first charging rate. Then the current battery temperature of the energy storage battery is obtained, and the first adjustment parameter is determined according to the current battery temperature. Among them, different temperatures correspond to different adjustment parameters. For example, the value range of the first adjustment parameter can be 0-1, which is used to represent the ratio of the target first charging rate to the reference first charging rate. If the battery temperature is too high, the adjustment parameter may reduce the charging rate to prevent the energy storage battery from being damaged due to overheating; conversely, if the battery temperature is low, the adjustment parameter may allow a higher charging rate to quickly fill the energy storage battery. Then, the reference first charging rate is adjusted according to the first adjustment parameter to obtain the target first charging rate. Finally, the on-board charger is controlled to charge the energy storage battery at the target first charging rate.

[0098] It should be noted that when the current remaining power is greater than the preset second remaining power threshold, it means that the energy storage battery is about to be fully charged and the charging rate of the energy storage battery needs to be reduced. The vehicle charger is controlled to charge the energy storage battery at a reference second charging rate, wherein the preset first remaining power threshold is less than the preset second remaining power threshold, and the reference second charging rate is less than the reference first charging rate.

[0099] It can be seen that adjusting the charging rate according to the remaining power and charging demand can achieve a more efficient charging process. When the remaining power is low, increasing the charging rate can quickly fill the battery; and when the battery is nearly full, reducing the charging rate can avoid overcharging. Therefore, by optimizing the charging efficiency, we can better utilize electrical energy resources and improve energy efficiency. In addition, too high a charging rate may cause the battery temperature to rise too quickly, increasing safety risks, while by reducing the charging rate, the battery temperature can be effectively controlled to extend the battery life and improve safety.

[0100] Step S307, controlling the photovoltaic assembly and the energy storage battery to supply power to the first group of electrical equipment according to the target power distribution result, so as to meet the power demand of the target user.

[0101] Among them, the target user is the user of the smart RV.

[0102] Specifically, the target power-consuming equipment to which the power is allocated in the first group of power-consuming equipment is determined according to the target power allocation result, and the photovoltaic components and the energy storage battery are controlled to supply power to the target power-consuming equipment.

[0103] In a possible embodiment, first, the activity duration and activity electrical equipment corresponding to at least one outdoor activity can be obtained to obtain at least one activity time and at least one activity electrical equipment, and outdoor activities include but are not limited to camping, mountain climbing, and fishing; then, the power consumption of at least one activity electrical equipment is obtained; the activity demand electricity is determined based on at least one activity duration and the power consumption of at least one activity electrical equipment; the basic demand electricity of multiple RV electrical equipment within at least one activity duration is obtained; the sum of the activity demand electricity and the basic demand electricity is determined to be the total activity electricity; the total available electricity is determined to be greater than the total activity electricity; if the difference between the total available electricity and the total demand electricity is greater than or equal to a preset electricity difference, it is determined to conduct an outdoor activity; if the difference between the total available electricity and the total demand electricity is less than the preset electricity difference, it is determined not to conduct an outdoor activity.

[0104] It can be seen that through the above method, when the available power of the RV is insufficient, by calculating the difference between the total power demand of the activity and the total available power of the RV, it is possible to ensure sufficient power supply during the activity. This can avoid problems such as insufficient power and abnormal operation of electrical equipment during outdoor activities, facilitate better planning and management of activities, and improve user experience and outdoor safety.

[0105] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0106] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0107] In the case of dividing each functional module into corresponding functional modules, Figure 5The functional module composition block diagram of an intelligent control device for electricity in a motorhome provided in an embodiment of the present application, the intelligent control device 500 for electricity in a motorhome is applied to an intelligent controller of an intelligent motorhome, and the intelligent motorhome further includes a photovoltaic module and an energy storage battery; the intelligent control device 500 for electricity in a motorhome includes:

[0108] The first acquisition module 510 is used to acquire the total available power corresponding to the smart RV, where the total available power is the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within a preset time period; and the current remaining power is the remaining power of the energy storage battery at the current moment;

[0109] The first determination module 520 is used to determine that the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV is the total power requirement;

[0110] The second acquisition module 530 is used to acquire the device status corresponding to each of the plurality of RV electrical devices if the total available power is less than or equal to the total required power, and obtain a plurality of device statuses; the device status includes an operating status or a closed status;

[0111] The third acquisition module 540 is used to acquire the device type corresponding to each of the plurality of RV electrical devices, and obtain a plurality of device types; the device type includes a closable device or a non-closable device;

[0112] The second determination module 550 is used to determine a first group of electrical devices according to the multiple device states and the multiple device types; the first group of electrical devices is the electrical devices in the multiple RV electrical devices whose device states are in running state and whose device types are non-shutdown devices;

[0113] An allocation module 560 is used to allocate power to the first group of electrical devices according to the total available power to obtain a target power allocation result;

[0114] The control module 570 is used to control the photovoltaic components and the energy storage battery to supply power to the first group of electrical equipment according to the target power distribution result to meet the power demand of the target user; the target user is the user of the smart RV.

[0115] It can be seen that when the RV is short of power, the power can be distributed to the RV's electrical equipment to ensure stable power supply to key equipment to meet the user's basic power needs.

[0116] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the intelligent control device 500 for power in the RV can be used to execute the above method embodiment of the present application, which will not be repeated here.

[0117] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiment, and the above computer includes an electronic device.

[0118] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.

[0119] It should be noted that, for the above-mentioned various embodiments, for the sake of simple description, they are all expressed as a series of action combinations. Those skilled in the art should be aware that the present application is not limited by the described order of actions, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.

[0120] In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0121] In summary, by implementing the embodiments of the present application, when the available power in the RV is insufficient, the normal operation of important electrical equipment can be prioritized to ensure that users can enjoy the most important and basic power supply. In addition, by sorting the electrical equipment by priority, the normal operation of electrical equipment with higher priority is ensured to improve user satisfaction and experience, so that users can use RV equipment more conveniently.

[0122] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0123] The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and the storage medium can also exist in a terminal device or a management device as discrete components.

[0124] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0125] The modules / units included in the devices and products described in the above embodiments may be software modules / units or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for the devices and products applied to or integrated in the chip, the modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. It is implemented in the form of a software program that runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal equipment, or at least some of the modules / units can be implemented in the form of a software program that runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in hardware such as circuits.

[0126] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. An intelligent control method for electricity in a motorhome, characterized in that: An intelligent controller applied to an intelligent RV, wherein the intelligent RV also includes a photovoltaic component and an energy storage battery; the method includes: Obtain the total available power corresponding to the smart RV, where the total available power is the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within a preset time period; the current remaining power is the remaining power of the energy storage battery at the current moment; Determine the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV as the total power requirement; If the total available power is less than or equal to the total required power, then obtaining the device status corresponding to each of the plurality of RV electrical devices to obtain a plurality of device statuses; the device status includes an operating status or a closed status; Obtaining a device type corresponding to each of the plurality of RV electrical devices to obtain a plurality of device types; the device type includes a switchable device or a non-switchable device; Determine a first group of electrical devices according to the multiple device states and the multiple device types; the first group of electrical devices are electrical devices in the multiple RV electrical devices whose device states are in running state and whose device types are non-shutdown devices; Allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result; According to the target power distribution result, the photovoltaic module and the energy storage battery are controlled to supply power to the first group of electrical equipment to meet the power demand of the target user; the target user is the user of the smart RV; The allocating power to the first group of electrical equipment according to the total available power to obtain a target power allocation result includes: Obtaining a first group of power consumption and a first group of continuous operation time corresponding to the first group of electrical devices; Determine the power consumption of each electric device in the first group of electric devices according to the first group of power consumption and the first group of continuous operation time; Determine the power usage priorities corresponding to the first group of power users according to a preset mapping relationship between the power users and the power usage priorities, and obtain a plurality of power usage priorities; Sorting the first group of electrical devices from high to low according to the multiple power consumption priorities to obtain a sorted first group of electrical devices; Select first k electrical devices from the sorted first group of electrical devices, where the sum of k power consumptions corresponding to the first k electrical devices is less than or equal to the total available power, and k is a positive integer; Determining the k power consumptions as the target power allocation result; The sum of the k power consumptions is the necessary power consumption, and the method further includes: Determine the unnecessary power consumption according to the difference between the total available power consumption and the necessary power consumption; the unnecessary power consumption is used to supply power to a second group of power-consuming devices; the second group of power-consuming devices are power-consuming devices whose device status is running and whose device type is a shut-down device among the plurality of RV power-consuming devices; Acquire a third group of electrical equipment, where the third group of electrical equipment is electrical equipment used for lighting among the plurality of RV electrical equipment, and the third group of electrical equipment does not belong to the first group of electrical equipment and the second group of electrical equipment; Acquiring environmental data within the preset time period; Determine lighting power consumption according to the third group of electrical equipment and the environmental data; If the non-essential power consumption is greater than the lighting power consumption, determining the maximum available power according to the difference between the non-essential power consumption and the lighting power consumption; Control the total power supplied by the photovoltaic assembly and the energy storage battery to the second group of electrical equipment to be less than the maximum usable power; If the non-essential power consumption is less than or equal to the lighting power consumption, shutting down the second group of electrical equipment; Wherein, the method further comprises: If the total available power is greater than the total required power, comparing the photovoltaic power generation with the total required power; If the photovoltaic power generation is greater than or equal to the total power demand, determining that the difference between the photovoltaic power generation and the total power demand is a first difference power; Determine a first power consumption ratio according to the multiple power requirements and the first difference power; the first power consumption ratio includes the power consumption ratio between each power consumption device in the multiple RV power consumption devices and the on-board charger; the on-board charger is used to charge the energy storage battery; Controlling the photovoltaic assembly to supply power to the plurality of RV electrical equipment and the on-board charger at the first power consumption ratio; If the photovoltaic power generation is less than the total power demand, a second power consumption ratio is determined according to the multiple power demand, wherein the second power consumption ratio includes a power consumption ratio between each power consumption device in the multiple RV power consumption devices; The photovoltaic assembly and the energy storage battery are controlled to supply power to the plurality of RV electrical equipment at the second power consumption ratio, and power is not supplied to the on-board charger.

2. The method according to claim 1, characterized in that The method further comprises: Acquire multiple light intensities within the preset time period; Acquiring performance parameters of the photovoltaic module, wherein the performance parameters include illumination area and conversion efficiency; Averaging the multiple light intensities to obtain an average light intensity; The photovoltaic power generation is obtained by calculating according to the average light intensity, the light area and the conversion efficiency.

3. The method according to claim 1, characterized in that The environmental data includes illumination time and illumination intensity, and determining the lighting power consumption according to the third group of electrical equipment and the environmental data includes: Determine the time during which the illumination intensity is greater than a preset illumination intensity threshold as the external illumination time; Determining the internal illumination time according to the duration of the preset time period and the external illumination time; Obtaining the power consumption corresponding to the third group of electrical equipment to obtain multiple lighting power consumptions; The lighting power consumption is determined according to the internal lighting time and the sum of the multiple lighting power consumptions.

4. The method according to claim 1, characterized in that After controlling the photovoltaic assembly to supply power to the plurality of RV electrical equipment and the on-board charger at the first power consumption ratio, the method further includes: When the current remaining power is less than a preset first remaining power threshold, controlling the on-board charger to charge the energy storage battery at a reference first charging rate; Obtaining the current battery temperature of the energy storage battery; determining a first adjustment parameter according to the current battery temperature; Adjusting the reference first charging rate according to the first adjustment parameter to obtain a target first charging rate; The on-board charger is controlled to charge the energy storage battery at the target first charging rate.

5. An intelligent control device for electricity in a motorhome, used to execute the intelligent control method according to any one of claims 1 to 4, characterized in that: An intelligent controller applied to an intelligent RV, wherein the intelligent RV also includes a photovoltaic component and an energy storage battery; the device includes a first acquisition module, a first determination module, a second acquisition module, a third acquisition module, a second determination module, an allocation module and a control module, wherein: The first acquisition module is used to acquire the total available power corresponding to the smart RV, where the total available power is the sum of the photovoltaic power generation and the current remaining power; the photovoltaic power generation is the photovoltaic power generation of the photovoltaic module within a preset time period; the current remaining power is the remaining power of the energy storage battery at the current moment; The first determination module is used to determine that the sum of multiple power requirements corresponding to multiple RV electrical equipment in the smart RV is the total power requirement; The second acquisition module is used to acquire the device status corresponding to each of the plurality of RV electrical devices if the total available power is less than or equal to the total required power, and obtain a plurality of device statuses; the device status includes an operating status or a closed status; The third acquisition module is used to acquire the device type corresponding to each of the plurality of RV electrical devices to obtain a plurality of device types; the device type includes a closable device or a non-closable device; The second determination module is used to determine a first group of electrical devices according to the multiple device states and the multiple device types; the first group of electrical devices are electrical devices whose device states are in running state and whose device types are non-shutdown devices among the multiple RV electrical devices; The allocation module is used to allocate power to the first group of electrical equipment according to the total available power to obtain a target power allocation result; The control module is used to control the photovoltaic components and the energy storage battery to supply power to the first group of electrical equipment according to the target power distribution result to meet the power demand of the target user; the target user is the user of the smart RV.

6. An electronic device, characterized in that: include: A processor, a memory, and one or more programs; the one or more programs are stored in the memory and are configured to be executed by the processor, the programs comprising instructions for executing the steps in the method according to any one of claims 1 to 4.

7. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 4.