Vehicle charging method, device, electronic device and storage medium
By obtaining the battery power of the electric vehicle and controlling the network status, and determining the power replenishment strategy, precise power replenishment is achieved in the off-ignition state, solving the problem of auxiliary battery exhaustion, and improving the power replenishment accuracy and auxiliary battery life.
Patent Information
- Application Number
- CN202310740021.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-20
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2043-06-20
AI Technical Summary
When the existing electric vehicles are in a state of shutdown, the auxiliary battery is easily exhausted, resulting in the vehicle management system being unable to operate normally. The existing power replenishment method has low accuracy and may accelerate the vehicle's power loss or affect the auxiliary battery life.
By obtaining the first battery capacity information of the vehicle and controlling the operating status of the network, a suitable power replenishment strategy is determined, and the first battery is controlled to accurately replenish the power for the second battery, including the time and frequency of power replenishment under different states.
It improves the accuracy of recharge, avoids the exhaustion of auxiliary battery, extends the service life of auxiliary battery, and detects abnormal states of the battery and control network.
Smart Images

Figure CN116653698B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a vehicle charging method, device, electronic device and storage medium. Background Art
[0002] Electric vehicles are becoming increasingly popular, and with the advancement of intelligent technology, they are becoming increasingly versatile, requiring more and more controllers. Existing electric vehicles typically have two batteries: a main battery and an auxiliary battery. When the vehicle is running, the main battery powers the vehicle controller and the auxiliary battery, while when the vehicle is off, the auxiliary battery powers the various controllers. Therefore, if the vehicle is off for extended periods, the auxiliary battery can easily become depleted, causing the vehicle management system to malfunction.
[0003] Existing technical solutions typically recharge the auxiliary battery while the vehicle is off. For example, this involves periodically waking up the vehicle to recharge the auxiliary battery. However, this recharging process only operates according to a preset cycle and does not take into account the specific state of the vehicle. For example, waking up the vehicle network when recharging conditions are not met can increase the risk of battery failure. Consequently, existing recharging methods suffer from low recharging accuracy. Summary of the Invention
[0004] In order to solve the above technical problems, the present application provides a vehicle charging method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a vehicle charging method, the method comprising:
[0006] Acquire first power information of a first battery of the vehicle, where the first power information indicates the power level of the first battery;
[0007] When the power level indicated by the first power level information is greater than a first threshold, obtaining an operating state of a control network of the vehicle, the control network representing a controller area network of the vehicle;
[0008] determining a charging strategy corresponding to the operating state, the charging strategy indicating a method of charging the second battery to be charged;
[0009] Based on the power replenishment strategy, the first battery is controlled to replenish power for the second battery.
[0010] Optionally, determining a power replenishment strategy corresponding to the operating state includes:
[0011] Acquire second power information of the second battery, where the second power information indicates the power level of the second battery;
[0012] When the power level indicated by the second power level information is less than a second threshold, a power replenishment strategy corresponding to the operating state is determined.
[0013] Optionally, the operating state is a normal state or an abnormal state;
[0014] The determining of the power replenishment strategy corresponding to the operating state includes:
[0015] When the operating state is the normal state, determining that the power replenishment strategy is a first power replenishment strategy, the first power replenishment strategy represents a way of replenishing power for the second battery when the operating state is the normal state; or
[0016] When the operating state is the abnormal state, the power replenishment strategy is determined to be a second power replenishment strategy, where the second power replenishment strategy indicates a way of replenishing power for the second battery when the operating state is the abnormal state.
[0017] Optionally, controlling the first battery to charge the second battery based on the charging strategy includes:
[0018] determining a first charging time of the first charging strategy, where the first charging time represents a duration for charging the second battery using the first charging strategy;
[0019] controlling the first battery to supplement power for the second battery;
[0020] When the time for the first battery to recharge the second battery reaches the first recharging time, obtaining first recharging power information of the second battery, where the first recharging power information indicates the power of the second battery after being recharged for the first recharging time;
[0021] When the amount of power indicated by the first supplementary power information is less than a second threshold, controlling the first battery to supplement power for the second battery again;
[0022] Outputting first power replenishment completion information, wherein the power replenishment completion information includes first re-power replenishment information, wherein the first re-power replenishment information indicates a frequency of re-power replenishment within a preset time.
[0023] Optionally, the method further includes:
[0024] Determining first re-powering information included in the first power-up completion information;
[0025] When the frequency indicated by the first recharging information is higher than a first preset frequency, outputting first abnormality information of the second battery; or
[0026] When the frequency indicated by the first recharging information is not higher than a first preset frequency, first normal information of the second battery is output.
[0027] Optionally, controlling the first battery to charge the second battery based on the charging strategy includes:
[0028] determining a second charging time of the second charging strategy, where the second charging time represents a duration for charging the second battery using the second charging strategy;
[0029] controlling the first battery to supplement power for the second battery;
[0030] When the time for the first battery to recharge the second battery reaches the second recharging time, obtaining second recharging power information of the second battery, where the second recharging power information indicates the power of the second battery after being recharged for the second recharging time;
[0031] When the power level indicated by the second supplementary power level information is lower than a second threshold, controlling the first battery to supplement the power of the second battery again;
[0032] Output second power replenishment completion information, the power replenishment completion information including second re-power replenishment information and operation abnormality frequency information, the second re-power replenishment information indicating the frequency of re-power replenishment within a preset time, and the operation abnormality frequency information indicating the frequency of the operation state being abnormal within the preset time.
[0033] Optionally, the method further includes:
[0034] Determining the second re-powering information and the abnormal operation frequency information included in the second power-up completion information;
[0035] When the frequency indicated by the second recharging information is higher than a second preset frequency, or the frequency indicated by the abnormal operation frequency information is higher than a third preset frequency, outputting second abnormality information of the second battery; or
[0036] When the frequency indicated by the second recharging information is not higher than a second preset frequency and the frequency indicated by the abnormal operation frequency information is not higher than a third preset frequency, second normal information of the second battery is output.
[0037] In a second aspect, the present application provides a vehicle charging device, the device comprising:
[0038] a first acquiring module, configured to acquire first power information of a first battery of the vehicle, where the first power information indicates the power of the first battery;
[0039] a second acquisition module, configured to acquire an operating state of a control network of the vehicle when the power level indicated by the first power level information is greater than a first threshold, the control network representing a controller area network of the vehicle;
[0040] a determining module, configured to determine a charging strategy corresponding to the operating state, the charging strategy indicating a method for charging the second battery to be charged;
[0041] A control module is configured to control the first battery to recharge the second battery based on the recharging strategy.
[0042] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0043] Memory for storing computer programs;
[0044] The processor is used to implement the method described in any embodiment of the first aspect when executing the program stored in the memory.
[0045] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method as described in any embodiment of the first aspect is implemented.
[0046] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0047] The method provided in an embodiment of the present application obtains first power information of a first battery of a vehicle, where the first power information represents the power level of the first battery. When the power level represented by the first power information is greater than a first threshold, the method obtains the operating status of the vehicle's control network, where the control network represents the vehicle's controller area network, and thereby determines a charging strategy corresponding to the operating status. The charging strategy represents the method for charging a second battery to be charged. Based on the charging strategy, the method controls the first battery to charge the second battery. Thus, based on the power level of the first battery and the operating status of the controller area network, an appropriate charging strategy is determined, thereby adaptively charging the second battery according to the current state of the vehicle, thereby improving the accuracy of charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0050] Figure 1 A schematic diagram of a vehicle charging method according to an embodiment of the present application;
[0051] Figure 2 A schematic flow chart of a vehicle charging method provided in another embodiment of the present application;
[0052] Figure 3 A schematic flow chart of a vehicle charging method provided in another embodiment of the present application;
[0053] Figure 4 A schematic flow chart of a vehicle charging method provided in another embodiment of the present application;
[0054] Figure 5 A schematic flow chart of a vehicle charging method provided in another embodiment of the present application;
[0055] Figure 6 A schematic structural diagram of a vehicle charging device provided in an embodiment of the present application;
[0056] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The following describes the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will readily appreciate the other advantages and benefits of the present invention from the disclosure herein. The present invention may also be implemented or applied through various other specific embodiments, and the various details in this specification may be modified or altered based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are intended only to illustrate the present invention and are not intended to limit the scope of protection of the present invention.
[0058] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.
[0059] The driving and vehicle equipment control of electric vehicles both require power input, and the driving and vehicle equipment control have different power requirements, such as different voltages. Therefore, electric vehicles usually have two batteries, called the main battery and the auxiliary battery. The main battery can be used as a power battery to power the driving, and the auxiliary battery can be used as a storage battery to power the vehicle equipment. The main battery can also be used to charge the auxiliary battery.
[0060] Since the auxiliary battery is used to power vehicle equipment, and these equipment still requires power to operate when the vehicle is turned off, the auxiliary battery needs to continue to output power to the vehicle equipment. When the vehicle is turned off for a long time, the auxiliary battery will be exhausted due to the long-term power output. If the auxiliary battery is exhausted, it will affect the control of vehicle equipment, such as the operation of the anti-theft system and vehicle starting ignition. Therefore, in order to prevent the auxiliary battery from being exhausted, it is usually recharged when the vehicle is turned off.
[0061] Among the existing charging methods, the following two methods are mainly used for charging. One is to periodically wake up the vehicle and control the main battery to charge the auxiliary battery. Although this method can play the role of charging, its charging process is too simple. When the main battery is low on power, the vehicle is still woken up for charging, which has the risk of accelerating the vehicle's power shortage. Alternatively, when the auxiliary battery has sufficient power, the vehicle is woken up for charging, which will cause the auxiliary battery to overcharge and affect the life of the auxiliary battery. The other method is to add a voltage acquisition circuit. When it detects that the auxiliary battery voltage is less than the set value, the vehicle is woken up and the main battery is controlled to charge the auxiliary battery for a fixed period of time. This charging method uses the auxiliary battery voltage as the charging reference and does not take into account the main battery power. If the engine is off for a long time and multiple charging operations are performed, the main battery will consume a lot of power, which will affect the vehicle's mileage.
[0062] Figure 1 A schematic flow chart of a vehicle charging method provided in an embodiment of the present application.
[0063] like Figure 1 As shown, the present application discloses an embodiment, which provides a vehicle charging method, the method comprising:
[0064] S110: Acquire first power information of a first battery of the vehicle, where the first power information indicates the power level of the first battery.
[0065] Specifically, the vehicle charging method in this embodiment can be applied to entities with vehicle management capabilities, such as vehicle management systems, servers, and terminals; the scenario in which the vehicle charging method is executed can be a scenario in which the vehicle is in an off state, wherein the first battery can be any one or more batteries in the vehicle. For example, the first battery can represent a power battery that mainly plays a driving role in an electric vehicle; taking the execution entity as a server as an example, the server is in communication with the vehicle-mounted system, and the vehicle-mounted system can be a telematics box (TBOX) mounted on the vehicle. The TBOX collects the power information of the first battery through the controller area network (CAN) to obtain the first power information, and sends the first power information of the first battery to the server, so that the server obtains the first power information of the first battery of the vehicle.
[0066] S120: When the power level indicated by the first power level information is greater than a first threshold, obtaining the operating status of a control network of the vehicle, where the control network represents a controller area network of the vehicle.
[0067] S130: Determine a charging strategy corresponding to the operating state, where the charging strategy represents a method of charging the second battery to be charged.
[0068] Specifically, after obtaining the first power information of the first battery of the vehicle, it is determined whether the power represented by the first power information is greater than a first threshold, where the first threshold is a pre-set power threshold, indicating the minimum power of the first battery to maintain driving. The first threshold can be set according to different vehicles or different maximum capacities of the first battery. Therefore, it is determined whether the power represented by the first power information is greater than the first threshold, that is, whether the current power of the first battery is sufficient; when the power represented by the first power information is greater than the first threshold, it means that the current power of the first battery is relatively sufficient and has the basic power to replenish the second battery.
[0069] In addition, the second battery in this embodiment can be one or more batteries in the vehicle in addition to the first battery. For example, the second battery can be a storage battery that powers the vehicle's control devices. Since numerous control devices (e.g., sensors for detecting door status, alarms, etc.) continue to operate even when the vehicle is off, the second battery must continue to output power. The CAN network, serving as a microcontroller communication network within the vehicle, exchanges information between various onboard electronic control devices, forming the vehicle's electronic control network. For example, the engine management system, transmission controller, instrumentation, and electronic backbone systems are examples. Normally, when the vehicle is off, the CAN network enters a sleep mode, consuming very low power. However, when an anomaly occurs in the CAN network, it remains in an active mode even when the vehicle is off. At this time, the CAN network continuously collects and transmits data, consuming a high amount of power, which accelerates the power consumption of the second battery. Therefore, the power consumption rate of the second battery varies depending on whether the CAN network is abnormal or normal.
[0070] In this embodiment, when the power represented by the first power information is greater than the first threshold, it is also necessary to obtain the operating status of the vehicle's control network, the control network represents the vehicle's controller area network, and the control network here represents the CAN network, wherein the operating status may include a normal state and an abnormal state, that is, the CAN network is in a sleep mode when the vehicle is turned off, which is a normal state, and the CAN network is still in a start mode when the vehicle is turned off, which is an abnormal state; after obtaining the operating status of the CAN network, the power replenishment strategy corresponding to the operating status can be determined, and the power replenishment strategy represents the way to replenish the second battery to be replenished. For example, when the operating status is normal, it is necessary Recharging the second battery for 30 minutes can charge the second battery to 80%, allowing the second battery to continue to power the control device for 5 days. When the operating state is abnormal, if the same charging strategy mentioned above is adopted, the second battery can be charged to 80% after 30 minutes of charging. However, due to the abnormality of the CAN network, the power consumption is large, and the second battery can only continue to power the control device for 1 day. Therefore, when the operating state is abnormal, it is necessary to adopt a charging strategy different from that of the normal operating state. For example, a charging strategy such as increasing the charging time or shortening the charging cycle can be adopted to enable the second battery to continue to stably power the control device. Therefore, by determining the charging strategy corresponding to the operating state, it is possible to determine the appropriate charging strategy according to different operating states, thereby improving the charging accuracy.
[0071] In one embodiment, S130 determines the power replenishment strategy corresponding to the operating state, including:
[0072] Acquire second power information of the second battery, where the second power information indicates the power level of the second battery;
[0073] When the power level indicated by the second power level information is less than the second threshold, a power replenishment strategy corresponding to the operating state is determined.
[0074] In this embodiment, during the process of determining the corresponding charging strategy for the operating state, it is possible that the second battery has sufficient charge and does not require charging. Therefore, it is first necessary to obtain the charge information of the second battery, obtain the second charge information, and determine whether the charge indicated by the second charge information is less than a second threshold, where the second threshold indicates a threshold for determining whether the second battery has sufficient charge. Next, if the charge indicated by the second charge information is not less than the second threshold, it indicates that the charge of the second battery is sufficient and does not require charging. In this case, the charging strategy determined is a no-charge-required strategy. Then, if the charge indicated by the second charge information is less than the second threshold, it indicates that the charge of the second battery is insufficient and requires charging. In this case, the charging strategy corresponding to the operating state can be determined. This avoids the problem of charging when the second battery has sufficient charge, which may lead to overcharging of the second battery and affect its service life, and achieves the effect of accurately charging according to the charge of the second battery.
[0075] In one embodiment, the operating state is a normal state or an abnormal state; S130 determines the power replenishment strategy corresponding to the operating state, which may include:
[0076] When the operating state is normal, determining the charging strategy to be the first charging strategy, where the first charging strategy indicates a method of charging the second battery when the operating state is normal; or
[0077] When the operating state is abnormal, the power replenishment strategy is determined to be the second power replenishment strategy, where the second power replenishment strategy indicates a method of replenishing power for the second battery when the operating state is abnormal.
[0078] The normal state or abnormal state in this embodiment is consistent with the above. The normal state indicates that the CAN network is in sleep mode when the vehicle is turned off, and the abnormal state indicates that the CAN network is still in start mode when the vehicle is turned off. When the operating state is normal, the power replenishment strategy is determined to be the first power replenishment strategy. The first power replenishment strategy indicates a method for replenishing the second battery when the operating state is normal, such as a power replenishment strategy with a charging time of 30 minutes. When the operating state is abnormal, the power replenishment strategy is determined to be the second power replenishment strategy. The second power replenishment strategy indicates a method for replenishing the second battery when the operating state is abnormal, such as a power replenishment strategy with a charging time of 60 minutes. It should be noted that the power replenishment strategy corresponding to the operating state can be pre-set according to needs. Different power replenishment strategies may have different power replenishment times, different power replenishment powers, different power replenishment thresholds, etc., which are not specifically limited here.
[0079] S140: Based on the charging strategy, control the first battery to charge the second battery.
[0080] Specifically, after determining the charging strategy corresponding to the operating state, the first battery can be controlled to charge the second battery based on the charging strategy. Specifically, the charging strategy can be sent to the vehicle-mounted system installed on the vehicle. After receiving the charging strategy, the vehicle-mounted system forwards the charging strategy to the battery management system (BMS), and then the BMS executes the charging strategy to control the first battery to charge the second battery.
[0081] like Figure 2 As shown, in one embodiment, S140 controls the first battery to charge the second battery based on the charging strategy, including:
[0082] S1410: Determine a first charging time of a first charging strategy, where the first charging time indicates a duration for charging the second battery using the first charging strategy.
[0083] S1411: Control the first battery to charge the second battery;
[0084] S1412: When the time for the first battery to recharge the second battery reaches a first recharging time, obtaining first recharging power information of the second battery, where the first recharging power information indicates the power of the second battery after being recharged for the first recharging time;
[0085] S1413: When the power level indicated by the first recharge power level information is less than a second threshold, control the first battery to recharge the second battery;
[0086] S1414: Outputting first power-recharging completion information, where the power-recharging completion information includes first re-power-recharging information, where the first re-power-recharging information indicates a frequency of re-powering within a preset time.
[0087] In this embodiment, based on the charging strategy, when controlling the first battery to charge the second battery, first, a first charging time of the first charging strategy is determined; then, the first battery is controlled to charge the second battery, and when the time for the first battery to charge the second battery reaches the first charging time, first charging power information of the second battery is obtained; then, it is determined whether the power of the second battery after being charged for the first charging time indicated by the first charging power information is less than a second threshold value, and the second threshold value indicates whether the power threshold value of the second battery is sufficient; then, when the power indicated by the first charging power information is less than the second threshold value, it means that the current power of the second battery has not reached the sufficient power threshold value, and at this time, the first battery is controlled to charge the second battery again. Recharge, wherein the duration of the second recharge may be the same as or different from the first recharge time. It should be noted that the second recharge here refers to the second recharge step relative to the previous recharge step; and the first recharge completion information is output accordingly, and the recharge completion information includes the first recharge information, and the first recharge information indicates the frequency of recharge within a preset time, such as the frequency of recharge within 1 week, the frequency of recharge within 15 days, etc.; and when the power indicated by the first recharge power information is not less than the second threshold, it indicates that the current power of the second battery has reached the sufficient power threshold and no further recharge is needed, then the first recharge completion information is directly output, and it should be noted that the first recharge completion information output at this time still includes the first recharge information.
[0088] like Figure 3 As shown, in one embodiment, the method may further include:
[0089] S1415: Determine the first re-powering information included in the first power-up completion information;
[0090] S1416: Outputting first abnormality information of the second battery when the frequency indicated by the first recharging information is higher than the first preset frequency; or
[0091] S1417: When the frequency indicated by the first recharging information is not higher than the first preset frequency, output first normal information of the second battery.
[0092] In this embodiment, the status of the second battery is determined based on the first recharge completion message. Because a battery with an abnormality has a weak charge capacity, meaning it loses power quickly and requires frequent recharges, the presence of an abnormality in the second battery can be determined by determining whether the frequency indicated by the first recharge completion message exceeds a first preset frequency. The first preset frequency represents a preset threshold for the frequency of abnormality in the second battery, such as 10 times a month or 15 times a month. If the frequency indicated by the first recharge completion message exceeds the first preset frequency, it indicates that the second battery has been recharged frequently, indicating a battery abnormality. In this case, first abnormality information for the second battery is output, indicating that the second battery is abnormal. If the frequency indicated by the first recharge completion message does not exceed the first preset frequency, it indicates that the second battery has been recharged infrequently, indicating that there is no battery abnormality. In this case, first normal information for the second battery is output, indicating that the second battery is normal. Thus, the first recharge completion message in the first recharge completion message serves to determine whether the second battery is abnormal, thereby effectively detecting abnormalities in the second battery during the recharge process.
[0093] like Figure 4 As shown, in one embodiment, S140 controls the first battery to charge the second battery based on the charging strategy, including:
[0094] S1420: Determine a second charging time of the second charging strategy, where the second charging time indicates a duration for charging the second battery using the second charging strategy.
[0095] S1421: Control the first battery to charge the second battery;
[0096] S1422: When the time for the first battery to recharge the second battery reaches a second recharging time, obtaining second recharged power information of the second battery, where the second recharged power information indicates the power of the second battery after being recharged for the second recharging time;
[0097] S1423: When the power level indicated by the second recharge power level information is lower than a second threshold, control the first battery to recharge the second battery;
[0098] S1424: Output second power replenishment completion information, which includes second re-power replenishment information and operation abnormality frequency information. The second re-power replenishment information indicates the frequency of re-power replenishment within the preset time, and the operation abnormality frequency information indicates the frequency of abnormal operation within the preset time.
[0099] In this embodiment, based on the charging strategy, when controlling the first battery to charge the second battery, the charging time of the second charging strategy is first determined to obtain the second charging time, wherein the second charging time is greater than the first charging time in the aforementioned embodiment. In this way, by increasing the charging time, the problem of the second battery being quickly depleted due to the increased power consumption of the CAN network in the ignition off state is solved, and the effect of replenishing more power for the second battery in the case of increased power consumption is achieved; then, the first battery is controlled to charge the second battery, and when the time for the first battery to charge the second battery reaches the second charging time, second charging power information of the second battery is obtained; then, it is determined whether the power of the second battery after being charged for the second charging time indicated by the second charging power information is less than a second threshold, the second threshold indicating a power threshold of whether the second battery has sufficient power; then, when the power indicated by the second charging power information is less than the second threshold, it means that the current power of the second battery is insufficient and needs to be further charged, and in this case, the first battery is controlled to charge the second battery. A first battery recharges a second battery, where the duration of the recharging may be the same as or different from the second charging time. It should be noted that the recharging here is a second charging step relative to the previous charging step; and second charging completion information is output accordingly. The charging completion information includes second recharging information and abnormal operation frequency information. The second recharging information indicates the frequency of recharging within a preset time, for example, 10 rechargings within a week, 20 rechargings within 15 days, etc. The abnormal operation frequency information indicates the frequency of abnormal operation within a preset time, for example, 5 abnormal states within a week, 8 abnormal states within 15 days, etc. If the power level indicated by the second recharging power level information is not less than a second threshold, it indicates that the power level of the second battery has reached the normal operating power level threshold and no further charging is required. In this case, the second charging completion information output at this time still includes the second recharging information and the abnormal operation frequency information.
[0100] like Figure 5 As shown, in one embodiment, the method further includes:
[0101] S1425: Determine the second re-powering information and the abnormal operation frequency information included in the second power-up completion information;
[0102] S1426: Outputting second abnormality information of the second battery when the frequency indicated by the second recharging information is higher than the second preset frequency, or when the frequency indicated by the abnormal operation frequency information is higher than the third preset frequency; or
[0103] S1427: Output second normal information of the second battery when the frequency indicated by the second recharging information is not higher than the second preset frequency and the frequency indicated by the abnormal operation frequency information is not higher than the third preset frequency.
[0104] In this embodiment, the status of the second battery is determined by the second recharge completion information. Because the battery has a weak power storage capacity when it is abnormal, that is, it loses power quickly and needs to be recharged frequently, so it can be determined whether the second battery is abnormal by determining whether the frequency represented by the second recharge information is higher than the second preset frequency, where the second preset frequency represents a preset frequency threshold for the second battery to be abnormal, such as 10 times a month, 15 times a month, etc.; In addition, the abnormal operation of the vehicle's control network will affect the vehicle's battery life. Since the vehicle's control network may have only one abnormal operation state due to individual special reasons, and no abnormal state will appear subsequently, the vehicle's control network can be ruled out as abnormal at this time; determine whether the frequency represented by the abnormal operation frequency information is higher than the third preset frequency, where the third preset frequency represents the frequency of determining that the vehicle's control network is abnormal, such as the vehicle's control network's operation state has a large abnormality in a month. If the vehicle is in an abnormal state 10 times, it is confirmed that there is an abnormality in the vehicle's control network, so as to judge whether there is an abnormality in the vehicle's control network; when the frequency indicated by the second re-charging information is higher than the second preset frequency, it means that the second battery is currently re-charged a large number of times and there is a battery abnormality, or when the frequency indicated by the operation abnormality frequency information is higher than the third preset frequency, it means that there is an abnormality in the current vehicle's control network, and the vehicle's control network needs to be inspected or maintained, etc. At this time, the second abnormality information of the second battery is output. The second abnormality information of the second battery may include at least one warning information of the second battery warning information or the control network warning information, wherein the second battery warning information indicates that the second battery has weak power storage capacity, and the control network warning information indicates that the vehicle's control network has an operation abnormality and needs to be inspected or maintained.
[0105] When the frequency indicated by the second re-charging information is not higher than the second preset frequency, and the frequency indicated by the abnormal operation frequency information is not higher than the third preset frequency, it indicates that the number of times the second battery is currently re-charged is small, that is, there is no battery abnormality, and the frequency indicated by the abnormal operation frequency information has not reached the third preset frequency for confirming that there is an abnormality in the vehicle's control network. At this time, the second normal information of the second battery is output.
[0106] In this way, the second re-charging information of the second charging completion information is used to determine whether the second battery is abnormal, and the operation abnormality frequency information is used to determine whether the vehicle control network is abnormal, thereby achieving the effect of detecting whether the second battery and the control network are abnormal during the charging process.
[0107] like Figure 6 As shown, the present application also discloses an embodiment, providing a vehicle charging device, the device comprising:
[0108] A first acquisition module 610 is configured to acquire first power information of a first battery of the vehicle, where the first power information indicates the power of the first battery;
[0109] A second acquisition module 620 is configured to acquire an operating state of a control network of the vehicle when the power level indicated by the first power level information is greater than a first threshold, where the control network represents a controller area network of the vehicle;
[0110] A determination module 630 is configured to determine a charging strategy corresponding to the operating state, where the charging strategy represents a method for charging the second battery to be charged;
[0111] The control module 640 is configured to control the first battery to recharge the second battery based on the recharging strategy.
[0112] In one embodiment, the determination module 630 may include:
[0113] a first acquiring unit, configured to acquire second power information of a second battery, where the second power information indicates the power of the second battery;
[0114] The first determining unit is configured to determine a power replenishment strategy corresponding to the operating state when the power amount indicated by the second power amount information is less than a second threshold.
[0115] In one embodiment, the operating state is a normal state or an abnormal state; the determination module 630 may include:
[0116] A second determining unit is configured to determine, when the operating state is normal, that the charging strategy is a first charging strategy, where the first charging strategy indicates a method for charging the second battery when the operating state is normal; or
[0117] The third determining unit is configured to determine that the power replenishment strategy is a second power replenishment strategy when the operating state is abnormal, where the second power replenishment strategy indicates a way of replenishing power for the second battery when the operating state is abnormal.
[0118] In one embodiment, the control module 640 may include:
[0119] A fourth determining unit is configured to determine a first charging time of the first charging strategy, where the first charging time indicates a duration for charging the second battery using the first charging strategy;
[0120] a first control unit, configured to control the first battery to supplement power for the second battery;
[0121] a second acquiring unit, configured to acquire, when the time for the first battery to recharge the second battery reaches a first recharging time, first recharging power information of the second battery, the first recharging power information indicating the power of the second battery after being recharged for the first recharging time;
[0122] a second control unit, configured to control the first battery to recharge the second battery when the power level indicated by the first recharge power level information is less than a second threshold;
[0123] The first output unit is configured to output first power replenishment completion information, where the power replenishment completion information includes first re-power replenishment information, where the first re-power replenishment information indicates a frequency of re-power replenishment within a preset time.
[0124] In one embodiment, the apparatus may further include:
[0125] A first recharging module, configured to determine first recharging information included in the first recharging completion information;
[0126] A first output module is configured to output first abnormality information of the second battery when the frequency indicated by the first recharging information is higher than a first preset frequency; or
[0127] The second output module is configured to output first normal information of the second battery when the frequency indicated by the first recharging information is not higher than a first preset frequency.
[0128] In one embodiment, the control module 640 may include:
[0129] a fifth determining unit, configured to determine a second charging time of the second charging strategy, where the second charging time indicates a duration for charging the second battery using the second charging strategy;
[0130] a third control unit, controlling the first battery to supplement the power of the second battery;
[0131] a third acquiring unit, configured to acquire, when the time for the first battery to recharge the second battery reaches a second recharging time, second recharging power information of the second battery, the second recharging power information indicating the power of the second battery after the second recharging time;
[0132] The fourth control unit controls the first battery to recharge the second battery when the power level indicated by the second recharge power level information is lower than a second threshold value;
[0133] The second output unit outputs second power replenishment completion information, which includes second re-power replenishment information and operation abnormality frequency information. The second re-power replenishment information indicates the frequency of re-power replenishment within a preset time, and the operation abnormality frequency information indicates the frequency of abnormal operation within the preset time.
[0134] In one embodiment, the apparatus may further include:
[0135] a second recharging module, configured to determine the second recharging information and the abnormal operation frequency information included in the second recharging completion information;
[0136] a third output module, configured to output second abnormality information of the second battery when the frequency indicated by the second recharging information is higher than the second preset frequency, or when the frequency indicated by the abnormal operation frequency information is higher than the third preset frequency; or
[0137] The fourth output module is configured to output second normal information of the second battery when the frequency indicated by the second recharging information is not higher than the second preset frequency and the frequency indicated by the abnormal operation frequency information is not higher than the third preset frequency.
[0138] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0139] like Figure 7 As shown, an embodiment of the present application provides an electronic device, including a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740.
[0140] Memory 730, for storing computer programs;
[0141] In one embodiment of the present application, the processor 710 is configured to implement the vehicle charging method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 730 .
[0142] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the vehicle charging method provided in any of the aforementioned method embodiments are implemented.
[0143] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0144] The foregoing description of specific embodiments of the present disclosure is provided herein. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0145] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A vehicle charging method, characterized in that: The method comprises: Acquire first power information of a first battery of the vehicle, where the first power information indicates the power level of the first battery; When the power level indicated by the first power level information is greater than a first threshold, obtaining an operating state of a control network of the vehicle, the control network representing a controller area network of the vehicle; determining a charging strategy corresponding to the operating state, the charging strategy indicating a method of charging the second battery to be charged; Based on the power replenishment strategy, controlling the first battery to replenish power for the second battery; The operating state is a normal state or an abnormal state; The determining of the power replenishment strategy corresponding to the operating state includes: When the operating state is the normal state, determining that the power replenishment strategy is a first power replenishment strategy, the first power replenishment strategy represents a way of replenishing power for the second battery when the operating state is the normal state; or When the operating state is the abnormal state, determining that the power replenishment strategy is a second power replenishment strategy, the second power replenishment strategy indicating a way of replenishing power for the second battery when the operating state is the abnormal state; The controlling the first battery to charge the second battery based on the charging strategy includes: determining a first charging time of the first charging strategy, where the first charging time represents a duration for charging the second battery using the first charging strategy; controlling the first battery to supplement power for the second battery; When the time for the first battery to recharge the second battery reaches the first recharging time, obtaining first recharging power information of the second battery, where the first recharging power information indicates the power of the second battery after being recharged for the first recharging time; When the amount of power indicated by the first supplementary power information is less than a second threshold, controlling the first battery to supplement power for the second battery again; Outputting first power replenishment completion information, wherein the power replenishment completion information includes first re-power replenishment information, wherein the first re-power replenishment information indicates a frequency of re-power replenishment within a preset time.
2. The method according to claim 1, characterized in that The determining of the power replenishment strategy corresponding to the operating state includes: Acquire second power information of the second battery, where the second power information indicates the power level of the second battery; When the power level indicated by the second power level information is less than a second threshold, a power replenishment strategy corresponding to the operating state is determined.
3. The method according to claim 1, characterized in that The method further comprises: Determining first re-powering information included in the first power-up completion information; When the frequency indicated by the first recharging information is higher than a first preset frequency, outputting first abnormality information of the second battery; or When the frequency indicated by the first recharging information is not higher than a first preset frequency, first normal information of the second battery is output.
4. The method according to claim 1, wherein The controlling the first battery to charge the second battery based on the charging strategy includes: determining a second charging time of the second charging strategy, where the second charging time represents a duration for charging the second battery using the second charging strategy; controlling the first battery to supplement power for the second battery; When the time for the first battery to recharge the second battery reaches the second recharging time, obtaining second recharging power information of the second battery, where the second recharging power information indicates the power of the second battery after being recharged for the second recharging time; When the power level indicated by the second supplementary power level information is lower than a second threshold, controlling the first battery to supplement the power of the second battery again; Output second power replenishment completion information, the power replenishment completion information including second re-power replenishment information and operation abnormality frequency information, the second re-power replenishment information indicating the frequency of re-power replenishment within a preset time, and the operation abnormality frequency information indicating the frequency of the operation state being abnormal within the preset time.
5. The method according to claim 4, characterized in that The method further comprises: Determining the second re-powering information and the abnormal operation frequency information included in the second power-up completion information; When the frequency indicated by the second recharging information is higher than a second preset frequency, or the frequency indicated by the abnormal operation frequency information is higher than a third preset frequency, outputting second abnormality information of the second battery; or When the frequency indicated by the second recharging information is not higher than a second preset frequency and the frequency indicated by the abnormal operation frequency information is not higher than a third preset frequency, second normal information of the second battery is output.
6. A vehicle charging device, characterized in that: The device comprises: a first acquiring module, configured to acquire first power information of a first battery of the vehicle, where the first power information indicates the power of the first battery; a second acquisition module, configured to acquire an operating state of a control network of the vehicle when the power level indicated by the first power level information is greater than a first threshold, the control network representing a controller area network of the vehicle; a determining module, configured to determine a charging strategy corresponding to the operating state, the charging strategy indicating a method for charging the second battery to be charged; a control module, configured to control the first battery to replenish power for the second battery based on the power replenishment strategy; Wherein, the operating state is a normal state or an abnormal state; The determining of the power replenishment strategy corresponding to the operating state includes: When the operating state is the normal state, determining that the power replenishment strategy is a first power replenishment strategy, the first power replenishment strategy represents a way of replenishing power for the second battery when the operating state is the normal state; or When the operating state is the abnormal state, determining that the power replenishment strategy is a second power replenishment strategy, the second power replenishment strategy indicating a way of replenishing power for the second battery when the operating state is the abnormal state; The controlling the first battery to charge the second battery based on the charging strategy includes: determining a first charging time of the first charging strategy, where the first charging time represents a duration for charging the second battery using the first charging strategy; controlling the first battery to supplement power for the second battery; When the time for the first battery to recharge the second battery reaches the first recharging time, obtaining first recharging power information of the second battery, where the first recharging power information indicates the power of the second battery after being recharged for the first recharging time; When the amount of power indicated by the first supplementary power information is less than a second threshold, controlling the first battery to supplement power for the second battery again; Outputting first power replenishment completion information, wherein the power replenishment completion information includes first re-power replenishment information, wherein the first re-power replenishment information indicates a frequency of re-power replenishment within a preset time.
7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 5 when executing a program stored in a memory.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Charging method of low-voltage storage battery under static mode of electric vehicles
CN106828105A
Charging control method and system
CN107244244A