Charging power detection method, vehicle, computer equipment and program product
By calculating the vehicle's backup charging power and real-time charging power and comparing its errors, the charging power deviation caused by the erroneous current reported by the charging pile is solved, and the accurate detection and correction of the charging power is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202411615513.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-11
AI Technical Summary
During the charging process of electric vehicles, the charging current reported by the charging pile may be incorrect, resulting in a large deviation from the charging power displayed on the vehicle end and the real power, which cannot be corrected in time.
By calculating the backup charging power of the vehicle in the current charging state, and calculating the real-time charging power based on the real-time charging current and the real-time voltage of the vehicle battery, the error between the real-time charging power and the reference power is compared. When the error exceeds the preset error, the backup charging power is used as the vehicle charging power to be reported to achieve timely correction of the inaccurate charging power.
Accurate detection and correction of charging power is achieved, ensuring that the charging power displayed on the vehicle side is more accurate, and reducing the charging anxiety perceived by users.
Smart Images

Figure CN119414081A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a charging power detection method, a vehicle, a computer device, and a program product. Background Art
[0002] When an electric vehicle is charged using a charging pile, the charging pile will report the charging current to the vehicle's body gateway module (BGM), which will calculate the real-time charging power based on the charging current and display it on the vehicle's large screen. However, some charging piles may have problems or failures, causing errors in the charging current reported to the BGM, which in turn causes a large deviation between the charging power displayed on the vehicle's large screen and the actual charging power.
[0003] Therefore, how to timely sense the abnormal current reported by the charging column and determine the accurate charging impulse power has become a technical issue worthy of attention. Summary of the invention
[0004] The embodiments of the present disclosure at least provide a charging power detection method, a vehicle, a computer device, and a program product.
[0005] In a first aspect, an embodiment of the present disclosure provides a charging power detection method, including:
[0006] When the vehicle is charging, obtain the real-time charging current reported by the charging pile;
[0007] Calculating the standby charging power of the vehicle in the current charging state, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery;
[0008] When the error between the real-time charging power and the reference power exceeds a preset error, the standby charging power is used as the vehicle charging power to be reported; the reference power is related to the battery power of the vehicle battery.
[0009] In this implementation, the reference power is used to characterize the battery power of the vehicle in the current charging state, and the standby charging power is used to characterize the overall vehicle power of the vehicle in the current charging state. By comparing the calculated real-time charging power with the reference power, it is possible to promptly determine whether there is a problem with the charging current reported by the charging pile end, and whether the calculated real-time charging power is accurate. And when the error between the real-time charging power and the reference power exceeds the preset error, by using the standby charging power as the vehicle charging power to be reported, it is possible to promptly correct the inaccurate charging power and obtain a more accurate vehicle charging power.
[0010] In a possible implementation manner, after the standby charging power is used as the vehicle charging power to be reported, the method further includes:
[0011] Determining a charging current of the vehicle according to the vehicle charging power and the real-time voltage of the vehicle battery;
[0012] The vehicle charging power and the charging current are displayed on the vehicle display terminal and sent to the vehicle application client and the cloud.
[0013] In this implementation, the current charging current can be determined by the vehicle charging power and the voltage of the vehicle battery. By displaying the charging current and vehicle charging power on the vehicle display terminal, it is convenient for users to understand the charging status in a timely manner. By sending the charging current and vehicle charging power to the cloud, the charging data can be stored and backed up. By sending the charging current and vehicle charging power to the application client, it is convenient for users to understand the charging status on the client.
[0014] In a possible implementation, calculating the standby charging power of the vehicle in the current charging state, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery, includes:
[0015] Calculating the standby charging power of the vehicle in the current charging state according to a preset power update cycle, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery;
[0016] For the currently arrived power update cycle, determine whether the error between the real-time charging power and the reference power in the power update cycle exceeds a preset error;
[0017] In the case where the error between the real-time charging power and the reference power exceeds a preset error, after taking the standby charging power as the vehicle charging power to be reported, the method further includes:
[0018] In each power update cycle after the error between the real-time charging power and the reference power exceeds a preset error, the backup charging power in the power update cycle is calculated, and the backup charging power is used as the vehicle charging power in the corresponding power update cycle.
[0019] This implementation method can determine whether the real-time charging power is abnormal in real time by periodically calculating the real-time charging power and the backup charging power and comparing the real-time charging power with the reference power. If it is determined that there is an abnormality, it can switch to the backup charging power in time. After switching to the backup charging power, the real-time charging current is stopped from being used to calculate the real-time charging power, and the real-time calculated backup charging power is always used as the vehicle charging power, which can avoid the situation where the reported power fluctuates too much.
[0020] In a possible implementation, the method further includes:
[0021] When the error between the real-time charging power and the reference power does not exceed a preset error, the real-time charging power is used as the vehicle charging power to be reported.
[0022] In this implementation, when the error between the real-time charging power and the reference power does not exceed the preset error, it can be said that the real-time charging current reported by the charging pile end is accurate, and the real-time charging power calculated at this time is also accurate. Therefore, the real-time charging power is used as the vehicle charging power to be reported, which can ensure the accuracy of the reported charging power.
[0023] In a possible implementation manner, the calculating the standby charging power of the vehicle in the current charging state includes:
[0024] Collect the real-time battery power of the vehicle battery in the current charging state and the real-time power consumption of each running device on the vehicle in the current charging state;
[0025] The backup charging power is determined according to the real-time battery power and the real-time power consumption of each operating device.
[0026] In this implementation mode, the current provided to the vehicle by the charging pile will be applied to the vehicle battery and various operating devices on the vehicle, so the standby charging power very close to the actual charging power of the vehicle can be estimated through the real-time battery power and the real-time power consumption of each operating device.
[0027] In a possible implementation manner, the operating device at least includes a positive temperature coefficient PTC heating device, an air conditioning control module ACCM, and a DC to DC converter DCDC;
[0028] The determining the standby charging power according to the real-time battery power and the real-time power consumption of each operating device includes:
[0029] The sum of the real-time battery power, the real-time power consumption of the PTC heating device, the real-time power consumption of ACCM and the real-time power consumption of DCDC is used as the standby charging power.
[0030] In this implementation, a relatively accurate standby charging power can be determined by adding the real-time battery power and the real-time power consumption of each operating device.
[0031] In a possible implementation manner, the reference power is determined according to the following steps:
[0032] The actual current and real-time voltage of the vehicle battery are collected, and the reference power is determined according to the actual current and the real-time voltage.
[0033] In this implementation, the accurate battery power can be determined based on the actual current and real-time voltage of the vehicle battery. This power can be used as a reference power to more reasonably characterize the approximate charging power of the vehicle.
[0034] In a second aspect, an embodiment of the present disclosure further provides a vehicle, including a controller, wherein the controller includes:
[0035] a memory for storing machine-readable instructions; and
[0036] A processor is used to call and execute the machine-readable instructions stored in the memory to implement the above-mentioned charging power detection method, or the steps in any possible implementation of the above-mentioned charging power detection method.
[0037] In a third aspect, an optional implementation of the present disclosure further provides a computer device, a processor, and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is used to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.
[0038] In a fourth aspect, an optional implementation of the present disclosure further provides a computer program product, which, when executed, executes the steps of the above-mentioned first aspect, or any possible implementation of the first aspect.
[0039] For a description of the effects of the above-mentioned vehicle, computer equipment, and computer program product, please refer to the description of the above-mentioned charging power detection method, which will not be repeated here.
[0040] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0042] Figure 1 A flow chart of a charging power detection method provided by an embodiment of the present disclosure is shown;
[0043] Figure 2 A specific implementation flow chart of a charging power detection method provided by an embodiment of the present disclosure is shown;
[0044] Figure 3 A schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0046] In addition, the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.
[0047] The "multiple or several" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0048] Research has found that when an electric vehicle is charged using a charging pile, the charging pile will report the charging current to the vehicle, and the vehicle can calculate the vehicle charging power based on the charging current. When the charging current reported by the pile end is accurate, the vehicle charging power calculated by the vehicle will also be accurate. However, due to different charging piles having different brands, using different charging protocols, and having different usage wear and tear, it is possible that the charging current reported by some charging piles is incorrect, which in turn causes the calculated vehicle charging power to be incorrect. If the wrong vehicle charging power is displayed to the user, it will cause user distress and usage experience. Therefore, how to promptly detect the wrong current reported by the pile end and correct the wrong charging power has become a technical problem that needs to be solved urgently.
[0049] Based on the above research, the present disclosure provides a charging power detection method, a vehicle, a computer device and a program product, wherein the reference power is used to characterize the battery power of the vehicle in the current charging state, and the standby charging power is used to characterize the overall vehicle power of the vehicle in the current charging state. By comparing the calculated real-time charging power with the reference power, it is possible to promptly determine whether there is a problem with the charging current reported by the pile end, and whether the calculated real-time charging power is accurate. And when the error between the real-time charging power and the reference power exceeds the preset error, by using the standby charging power as the vehicle charging power to be reported, it is possible to achieve timely correction of the inaccurate charging power and obtain a more accurate vehicle charging power.
[0050] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.
[0051] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0052] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0053] To facilitate understanding of this embodiment, a charging power detection method disclosed in an embodiment of the present disclosure is first introduced in detail. The executor of the charging power detection method provided in the embodiment of the present disclosure is generally a terminal device or other processing device with certain computing capabilities, wherein the terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a personal digital assistant (PDA), a handheld device, a computer device, a vehicle, etc.; in some possible implementations, the charging power detection method may be implemented by a processor calling computer-readable instructions stored in a memory.
[0054] The charging power detection method provided in the embodiment of the present disclosure is described below by taking a vehicle as an example.
[0055] like Figure 1 As shown, it is a flow chart of a charging power detection method provided by an embodiment of the present disclosure, which may include the following steps:
[0056] S101: When the vehicle is charging, obtain the real-time charging current reported by the charging pile.
[0057] Here, the vehicle in the embodiment of the present disclosure may be any electric vehicle, the charging pile may be any type of charging pile, and the real-time charging current is the current output by the charging pile to the vehicle in real time.
[0058] In specific implementation, when an electric vehicle is charged using a charging pile, the charging pile will report the real-time charging current output to the vehicle to the body domain controller BGM in the vehicle. Since different types of charging piles may have different charging protocols, when reporting the current, the charging pile will convert the real-time charging current into a current that matches the charging protocol and report it to the BGM in the vehicle.
[0059] S102: Calculate the standby charging power of the vehicle in the current charging state, and calculate the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery.
[0060] Here, the real-time voltage can be the battery voltage collected from the vehicle battery by the charging detection service in the BGM. Among them, the charging detection service can be defined using software. The standby charging power is calculated by the charging detection service in the BGM based on the collected vehicle data of the vehicle in the current charging state. The vehicle data here can be data related to the power consumption of the vehicle, such as the voltage and current of the vehicle battery, the current and voltage of the equipment running on the vehicle, and other data. The calculation of the standby charging power does not require the use of the real-time charging current reported by the charging pile, while the calculation of the real-time charging power requires the use of the real-time charging current reported by the charging pile.
[0061] In specific implementation, the charging detection service in BGM can collect the real-time voltage of the vehicle battery, and determine the real-time charging power of the vehicle based on the product of the real-time voltage and the real-time charging current reported by the charging pile. At the same time, the charging detection service in BGM can collect vehicle data in the current charging state of the vehicle, and calculate the vehicle's standby charging power based on the collected vehicle data.
[0062] It should be noted that, in specific applications, the step of calculating the standby charging power and the step of calculating the real-time charging power are not only independent steps, but also there is no strict execution order between the two steps. They can be executed synchronously or asynchronously, and there is no strict order of precedence when executed asynchronously.
[0063] S103: When the error between the real-time charging power and the reference power exceeds a preset error, the standby charging power is used as the vehicle charging power to be reported; the reference power is related to the battery power of the vehicle battery.
[0064] Here, the reference power is used to characterize the approximate power of the vehicle in the current charging state, which is related to the battery power of the vehicle battery. For example, the reference power may be equal to the actual battery power of the vehicle battery in the current charging state. The preset error may be a set error value or a set error range. The specific preset error may be set based on experience, and the disclosed embodiment is not specifically limited. The reference power may be calculated by a controller on the vehicle side when calculating the real-time charging power and / or the standby charging power. The vehicle charging power is used to characterize the actual charging power calculated for the vehicle in the current charging state. The vehicle charging power may be reported to the cloud, an application, etc.
[0065] In specific implementation, after determining the real-time charging power, the charging detection service in the BGM can determine the error between the real-time charging power and the real-time reference power. When the error between the two exceeds the preset error, the deviation between the two has reached a certain order of magnitude, which indicates that the real-time charging current reported by the charging pile may be wrong, and the real-time charging power is inaccurate. Therefore, the calculated standby charging power can be used as the vehicle charging power to be reported at the current moment. In this way, after the vehicle starts charging, the charging detection service in the BGM can be used to detect the real-time charging power, so as to promptly discover whether there is an abnormality in the real-time charging power.
[0066] By comparing the calculated real-time charging power with the reference power, the disclosed embodiment can timely determine whether there is a problem with the charging current reported by the charging pile end, and whether the calculated real-time charging power is accurate. In addition, when the error between the real-time charging power and the reference power exceeds the preset error, the backup charging power is used as the vehicle charging power to be reported, so that the inaccurate charging power can be corrected in time and a more accurate vehicle charging power can be obtained.
[0067] In another embodiment, when the error between the real-time charging power and the reference power does not exceed a preset error, the real-time charging power is used as the vehicle charging power to be reported.
[0068] Here, when the error between the real-time charging power and the reference power does not exceed the preset error, it can be said that the real-time charging current reported by the charging pile is accurate, and the calculated real-time charging power is accurate and consistent with the current actual charging power of the vehicle. Therefore, the real-time charging power can be directly used as the vehicle charging power to be reported. Since the standby charging power is an estimated power, which is very close to the actual charging power of the vehicle but not necessarily equal to the actual charging power, when there is a large error between the calculated real-time charging power and the reference power, the actual charging power of the vehicle can be more accurately represented by reporting the standby charging power. However, when the error between the real-time charging power and the reference power does not exceed the preset error, the real-time charging power will be closer to the actual charging power of the vehicle than the standby charging power. Therefore, by reporting the real-time charging power, the actual charging power of the vehicle can be more accurately represented.
[0069] Exemplarily, the error between the real-time charging power and the reference power can be calculated. If the error does not exceed the preset error, it means that the current reported by the charging pile is accurate and the calculated real-time charging power is also accurate, so the real-time charging power can be used as the vehicle charging power to be reported.
[0070] In one embodiment, after the standby charging power is used as the vehicle charging power to be reported, the following steps may also be performed:
[0071] The vehicle's charging current is determined based on the vehicle's charging power and the real-time voltage of the vehicle's battery; the vehicle's charging power and charging current are displayed on the vehicle's display terminal and sent to the vehicle's application client and the cloud.
[0072] Here, the vehicle display terminal may be, for example, a central control screen, a dashboard, etc. The vehicle application client is a client that installs the application corresponding to the vehicle, for example, a mobile phone, a computer, a tablet, etc. that installs the application corresponding to the vehicle.
[0073] In specific implementation, after determining the vehicle charging power to be reported, the real-time charging current of the vehicle can be determined based on the ratio of the vehicle charging power to the real-time voltage of the vehicle battery. Then, the charging current and vehicle charging power can be displayed on the vehicle's central control screen. At the same time, the charging current and vehicle charging power can be sent to the cloud for data backup, and / or the charging current and vehicle charging power can be sent to the vehicle application client corresponding to the current vehicle, so that the user can understand the charging status in time on the client.
[0074] Optionally, while sending the charging current and vehicle charging power to the cloud, the calculated real-time charging power, the real-time charging current reported by the charging pile, and other information can also be sent to the cloud. In this way, relevant personnel can send abnormalities of the charging pile in a timely manner based on the real-time charging power, real-time charging current, vehicle charging power, and charging current information backed up in the cloud.
[0075] Optionally, when the error between the real-time charging power and the reference power does not exceed a preset error, in addition to using the real-time charging power as the vehicle charging power, the real-time charging current reported by the charging pile end can also be used as the vehicle charging current, and then the real-time charging current and real-time charging power reported by the charging pile end are displayed on the vehicle display terminal, and the real-time charging current and real-time charging power reported by the charging pile end are sent to the cloud and / or the vehicle application client.
[0076] Optionally, in addition to reporting the real-time charging current to the vehicle, the charging pile can also report the real-time charging current to the cloud through the network, and the cloud will back up the real-time charging current of the vehicle when charging. In addition, the cloud can detect abnormal currents based on the real-time charging current reported by the charging pile, and the vehicle charging power, charging current and other information reported by the vehicle, and prompt relevant personnel based on the detection results. Use the cloud to back up the charging data reported by the pile end, so that the vehicle end and the cloud can receive the charging data of the pile end at the same time. After the vehicle detects the correct charging power, it will synchronize the application (application, app) and the display terminal in the cockpit, and send the correct charging power to the cloud.
[0077] In order to solve the problem that the abnormal current signal of the charging pile causes the abnormal charging power to be displayed on the vehicle side, the embodiment of the present disclosure adopts a method in which the vehicle side calculates the real-time charging power and uses the reference power for detection and provides the backup charging power for reporting. The effect is achieved that the vehicle-side BGM service detects the abnormal charging power and can report the correct power, so that the user no longer feels the charging anxiety caused by the abnormal signal causing the abnormal power display.
[0078] In one embodiment, S102 may be implemented according to the following steps:
[0079] According to the preset power update cycle, the standby charging power of the vehicle in the current charging state is calculated, and the real-time charging power of the vehicle is calculated based on the real-time charging current and the real-time voltage of the vehicle battery; for the currently reached power update cycle, it is determined whether the error between the real-time charging power and the reference power under the power update cycle exceeds the preset error.
[0080] Here, the power update period is a period for calculating the charging power, which can be set based on experience and is not specifically limited in the embodiments of the present disclosure. For example, the power update period can be 30 milliseconds (ms), 50 ms, etc.
[0081] In specific implementation, after the vehicle is plugged into the charging gun and starts charging, the charging pile will report the real-time charging current of the pile end in real time, and the vehicle end will calculate the real-time charging power and backup charging power according to the power update cycle. Specifically, when the power update cycle is reached, the vehicle end can collect the real-time voltage of the vehicle battery, and then determine the real-time charging power of the vehicle under the power update cycle according to the product of the real-time charging current reported by the pile end and the collected real-time voltage. At the same time, the vehicle end can collect vehicle data of the vehicle in the current charging state, and determine the backup charging power of the vehicle under the power update cycle based on the collected vehicle data. Then, for any power update cycle currently reached, it can be determined whether the error between the real-time charging power and the reference power under the power update cycle exceeds the preset error. If not, the real-time charging power is used as the vehicle charging power to be reported under the power update cycle and reported, and when the next power update cycle is reached, the real-time charging power and backup charging power under the next cycle are recalculated and it is determined whether the error between the real-time charging power and the reference power exceeds the preset error.
[0082] For the currently arrived power update cycle, if the error between the real-time charging power and the reference power in the power update cycle exceeds the preset error, the periodic calculation of the real-time charging power can be stopped, and only the standby charging power in each cycle can be calculated. That is, when the error between the real-time charging power and the reference power exceeds the preset error, after taking the standby charging power as the vehicle charging power to be reported, the standby charging power in the power update cycle can be calculated in each power update cycle after the error between the real-time charging power and the reference power exceeds the preset error, and the standby charging power is used as the vehicle charging power in the corresponding power update cycle.
[0083] For example, in each power update cycle after the error between the real-time charging power and the reference power exceeds the preset error, the real-time charging current reported by the charging pile will no longer be used to calculate the real-time charging power. Instead, the vehicle's standby charging power will be periodically calculated only in these power update cycles, and the standby charging power calculated in these power update cycles will be used to update and report the vehicle charging power in the corresponding power update cycle. In this way, it can be prevented that in certain power update cycles after the vehicle charging power is switched to the standby charging power, the calculated real-time charging power and the reference power have an error of no more than the preset error and the real-time charging power is reported, causing the vehicle charging power reported by the vehicle to jump between the standby charging power and the real-time charging power in a large range, thereby causing the accuracy of the power display.
[0084] It is understandable that the reference power may also correspond to the power update cycle, that is, in each power update cycle, a reference power in the cycle is calculated, and the reference power in the cycle is used to determine whether the error exceeds the preset error.
[0085] In this way, by periodically calculating the real-time charging power and the backup charging power, the vehicle charging power can be reported periodically, and the vehicle charging power can be updated in a timely manner. After switching to the backup charging power, only the backup charging power in each cycle is calculated and reported, which can avoid the problem of frequent changes in the reported power, and avoid the charging anxiety caused to users by the jump in the charging power displayed to the user. Once the charging detection service in the BGM detects an abnormality in the real-time charging power, it will immediately use the backup charging power for reporting during this charging cycle, which can achieve millisecond-level power switching and avoid the impact of abnormal current signals from the underlying charging piles on user charging.
[0086] In one embodiment, the standby charging power may be determined according to the following steps:
[0087] Step 1: Collect the real-time battery power of the vehicle battery in the current charging state and the real-time power consumption of each running device on the vehicle in the current charging state.
[0088] Here, real-time battery power is used to indicate the power consumed by the vehicle battery. The running equipment is the vehicle equipment that runs when charging the vehicle. These equipment will consume a certain amount of power, so these equipment need to be considered when calculating the standby charging power. The real-time power consumption is the power consumed by the running equipment.
[0089] In specific implementation, in each power update cycle, the actual current and real-time voltage of the vehicle battery in the current charging state can be collected, and the real-time battery power of the vehicle battery in the current charging state can be determined based on the product of the two, and the real-time power consumption of each running device on the vehicle in the current charging state can be collected.
[0090] Step 2: Determine the standby charging power based on the real-time battery power and the real-time power consumption of each operating device.
[0091] In specific implementation, for each power update cycle, the standby charging power in the cycle can be determined based on the sum of the real-time battery power collected in the cycle and the real-time power consumption of each running device on the vehicle.
[0092] In one embodiment, the operating device at least includes a positive temperature coefficient (PTC) heating device, an air conditioner control module (ACCM), and a direct current-direct current converter (DCDC).
[0093] For the above step 2, the sum of the real-time battery power, the real-time power consumption of the PTC heating device, the real-time power consumption of ACCM and the real-time power consumption of DCDC can be directly used as the backup charging power.
[0094] Among them, the PTC heating device is a special heater, including air heating and water heating PTC, which can automatically control the heating power at a specific temperature to avoid overheating. The real-time power consumption of the PTC heating device is referred to as PTC power, which is used to indicate the power consumed by the PTC heating device when the vehicle is charging. The real-time power consumption of ACCM is referred to as ACCM power, which is used to indicate the power consumed by the vehicle air-conditioning equipment when the vehicle is charging. If the air-conditioning module is not turned on when the vehicle is charging, the ACCM power can be 0. The real-time power consumption of DCDC is referred to as DCDC power, which is used to characterize the parking power of the vehicle. The power can be a pre-set fixed value. PTC power and ACCM power are variable values. The PTC power collected at different times may be different, and the ACCM power collected at different times may also be different. DCDC power is a fixed value, and the power is the fixed value at any time during the vehicle charging process.
[0095] For example, when any power update cycle is reached, the real-time battery power of the vehicle battery, the PTC power corresponding to the PTC heating device, the ACCM power corresponding to the ACCM, and the DCDC power (fixed value) corresponding to the DCDC can be collected in the cycle. Then, the backup charging power in the cycle is determined using the calculation formula: backup charging power = real-time battery power + PTC power + ACCM power + DCDC power.
[0096] In one embodiment, the reference power may be determined according to the following steps:
[0097] The actual current and real-time voltage of the vehicle battery are collected, and the reference power is determined according to the actual current and real-time voltage. Here, the actual current is the real-time current of the vehicle battery.
[0098] In specific implementation, when calculating the real-time charging power of the vehicle, the charging detection service in the vehicle-side BGM can also collect the actual current and real-time voltage of the vehicle battery at the current moment, and determine the reference power based on the actual current and the real-time voltage.
[0099] Optionally, when the real-time charging power is calculated periodically, the reference power corresponding to the cycle can also be calculated in each cycle, and according to the reference power and the real-time charging power in the cycle, it is determined whether to switch the vehicle charging power to the backup charging power. It can be understood that according to the calculation formula of the reference power, the reference power can be the same as the real-time battery power mentioned above.
[0100] To facilitate understanding of the charging power detection provided by the embodiment of the present disclosure, as shown in FIG. Figure 2 As shown, a specific implementation flow chart of a charging power detection method provided by an embodiment of the present disclosure may include the following steps:
[0101] 1. The vehicle starts to charge. 2. The charging pile reports the real-time charging current to the cloud and the vehicle. Among them, the cloud can back up the real-time charging current reported by the charging pile. 3. The charging detection service in the BGM domain of the vehicle calculates the real-time charging power of the vehicle according to the power update cycle, the real-time charging current and the collected battery voltage. 4. At the beginning of the charging, the charging detection service on the vehicle side calculates the backup charging power and the reference power according to the power update cycle. 5. For any power update cycle, determine whether the error between the real-time charging power and the reference power in the cycle exceeds the preset error. If not, execute 6; if so, execute 7. 6. Use the real-time charging power as the vehicle charging power to be reported, and display the vehicle charging power and real-time charging current on the vehicle display terminal, report to the cloud and the vehicle application client. In this way, the cloud can store the charging data for each cycle. After executing 6, you can return to execute 3 to calculate the vehicle charging power for the next cycle. 7. Use the standby charging power as the vehicle charging power to be reported, and display the vehicle charging power and real-time charging current on the vehicle display terminal, and report to the cloud and vehicle application client. In addition, after using the standby charging power as the vehicle charging power to be reported, step 4 can be continuously executed to calculate the standby charging power under each power update cycle, and use the standby charging power as the vehicle charging power to be reported under the corresponding cycle until charging is completed. For the specific implementation process of the above steps 1 to 7, please refer to the above embodiments, which will not be repeated here.
[0102] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0103] In addition, an embodiment of the present disclosure further provides a vehicle, wherein the vehicle includes a controller, wherein the controller includes:
[0104] a memory for storing machine-readable instructions; and
[0105] The processor is used to call and execute the machine-readable instructions stored in the memory to implement the steps of the charging power detection method as described in the above embodiments.
[0106] Based on the same technical concept, the embodiment of the present application also provides a computer device. Figure 3 FIG. 1 is a schematic diagram of a computer device provided in an embodiment of the present application, including:
[0107] Processor 301, memory 302 and bus 303. The memory 302 stores machine-readable instructions executable by the processor 301, and the processor 301 is used to execute the machine-readable instructions stored in the memory 302. When the machine-readable instructions are executed by the processor 301, the processor 301 performs the following steps: S101: when the vehicle is charging, obtain the real-time charging current reported by the charging pile; S102: calculate the standby charging power of the vehicle in the current charging state, and, according to the real-time charging current and the real-time voltage of the vehicle battery, calculate the real-time charging power of the vehicle; and S103: when the error between the real-time charging power and the reference power exceeds the preset error, use the standby charging power as the vehicle charging power to be reported; the reference power is related to the battery power of the vehicle battery.
[0108] The above-mentioned memory 302 includes internal memory 3021 and external memory 3022; the memory 3021 here is also called internal memory, which is used to temporarily store the calculation data in the processor 301, as well as the data exchanged with the external memory 3022 such as a hard disk. The processor 301 exchanges data with the external memory 3022 through the internal memory 3021. When the computer device is running, the processor 301 communicates with the memory 302 through the bus 303, so that the processor 301 executes the execution instructions mentioned in the above-mentioned method embodiment.
[0109] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the charging power detection method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0110] The computer program product of the charging power detection method provided in the embodiment of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the charging power detection method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0111] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.
[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0114] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0115] If the technical solution of this application involves personal information, the product using the technical solution of this application has clearly informed the personal information processing rules and obtained the individual's voluntary consent before processing the personal information. If the technical solution of this application involves sensitive personal information, the product using the technical solution of this application has obtained the individual's separate consent before processing the sensitive personal information, and at the same time meets the "explicit consent" requirement. For example, on personal information collection devices such as cameras, clear and prominent signs are set to inform that the personal information collection scope has been entered and personal information will be collected. If the individual voluntarily enters the collection scope, it is deemed that he or she agrees to the collection of his or her personal information; or on the device that processes personal information, the personal information processing rules are notified by obvious signs / information, and the individual's authorization is obtained through pop-up information or by asking the individual to upload his or her personal information; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the type of personal information processed.
[0116] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.
Claims
1. A charging power detection method, characterized in that: include: When the vehicle is charging, obtain the real-time charging current reported by the charging pile; Calculating the standby charging power of the vehicle in the current charging state, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery; When the error between the real-time charging power and the reference power exceeds a preset error, the standby charging power is used as the vehicle charging power to be reported; The reference power is related to the battery power of the vehicle battery.
2. The method according to claim 1, characterized in that After the standby charging power is used as the vehicle charging power to be reported, the method further includes: Determining a charging current of the vehicle according to the vehicle charging power and the real-time voltage of the vehicle battery; The vehicle charging power and the charging current are displayed on the vehicle display terminal and sent to the vehicle application client and the cloud.
3. The method according to claim 1, characterized in that Calculating the standby charging power of the vehicle in the current charging state, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery, comprising: Calculating the standby charging power of the vehicle in the current charging state according to a preset power update cycle, and calculating the real-time charging power of the vehicle according to the real-time charging current and the real-time voltage of the vehicle battery; For the currently arrived power update cycle, determine whether the error between the real-time charging power and the reference power in the power update cycle exceeds a preset error; In the case where the error between the real-time charging power and the reference power exceeds a preset error, after taking the standby charging power as the vehicle charging power to be reported, the method further includes: In each power update cycle after the error between the real-time charging power and the reference power exceeds a preset error, the backup charging power in the power update cycle is calculated, and the backup charging power is used as the vehicle charging power in the corresponding power update cycle.
4. The method according to claim 1, characterized in that: The method further comprises: When the error between the real-time charging power and the reference power does not exceed a preset error, the real-time charging power is used as the vehicle charging power to be reported.
5. The method according to any one of claims 1 to 4, characterized in that: The calculating the standby charging power of the vehicle in the current charging state includes: Collect the real-time battery power of the vehicle battery in the current charging state and the real-time power consumption of each running device on the vehicle in the current charging state; The backup charging power is determined according to the real-time battery power and the real-time power consumption of each operating device.
6. The method according to claim 5, characterized in that The operating device at least includes a positive temperature coefficient PTC heating device, an air conditioning control module ACCM, and a DC to DC converter DCDC; The determining the standby charging power according to the real-time battery power and the real-time power consumption of each operating device includes: The sum of the real-time battery power, the real-time power consumption of the PTC heating device, the real-time power consumption of ACCM and the real-time power consumption of DCDC is used as the standby charging power.
7. The method according to claim 1, characterized in that The reference power is determined according to the following steps: The actual current and real-time voltage of the vehicle battery are collected, and the reference power is determined according to the actual current and the real-time voltage.
8. A vehicle, characterized in that: A controller is included, the controller comprising: a memory for storing machine-readable instructions; and A processor, configured to call and execute the machine-readable instructions stored in the memory to implement the steps of the charging power detection method as described in any one of claims 1 to 7.
9. A computer device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and the processor is used to execute the machine-readable instructions stored in the memory. When the machine-readable instructions are executed by the processor, the processor executes the steps of the charging power detection method as described in any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is executed by a computer device, the computer device executes the steps of the charging power detection method according to any one of claims 1 to 7.