Charging control method and apparatus, and vehicle-borne charging device and vehicle
By determining the target private protocol chip in the on-board wireless charging device and waiting for the initialization of the power chip to be completed before charging, the problem of out-of-control current that may occur when switching chips is solved, ensuring the stable operation of the device and the security of the private protocol chip.
Patent Information
- Application Number
- PCT/CN2024/101947
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-21
- Filing Date
- 2024-06-27
- Publication Date
- 2025-03-27
AI Technical Summary
Car wireless charging devices may generate out-of-control current when switching private protocol chips, resulting in the private protocol chip being destroyed.
By determining the target private protocol chip corresponding to the device parameters of the device to be charged, and the charging operation is triggered only after the power chip is initialized, ensuring that charging is performed while the power chip is in a controllable state.
It effectively prevents the generation of out-of-control currents within the charging device, avoids damage to the private protocol chip, and ensures the stable operation of the charging device.
Smart Images

Figure CN2024101947_27032025_PF_FP_ABST
Abstract
Description
Charging control method, device, on-board charging equipment and vehicle
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 21, 2023, with application number 202311224318.3 and invention name “Charging control method, device, on-board charging equipment and vehicle”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of wireless charging, and in particular to a charging control method, device, on-board charging equipment, and vehicle. Background Art
[0003] In order to meet the charging needs of in-vehicle wireless charging devices for different mobile phones, in-vehicle wireless charging devices need to integrate private protocol chips from different mobile phone manufacturers. Different chips include charging protocols provided by exclusive mobile phone manufacturers, so that in-vehicle wireless charging devices can charge mobile phones from different mobile phone manufacturers.
[0004] In relevant charging scenarios, when the charging device switches to the private protocol chip to charge the corresponding mobile phone, an out-of-control current may be generated inside the charging device, causing the currently running private protocol chip to be damaged by the out-of-control current.
[0005] Summary of the Invention
[0006] The present application provides a charging control method, apparatus, on-board charging equipment, and vehicle, the purpose of which is to prevent the private protocol chip of the charging equipment from being damaged by uncontrolled current.
[0007] In order to achieve the above objectives, this application provides the following technical solutions:
[0008] A charging control method, applied to a charging device, comprising:
[0009] Determining a target private protocol chip corresponding to device parameters of the device to be charged; the target private protocol chip includes a target charging protocol corresponding to the device parameters;
[0010] Based on the comparison between the charging protocol currently running on the charging device and the target charging protocol, the power chip in the charging device is triggered to initialize, so that the currently running charging protocol is changed to the target charging protocol;
[0011] Obtain the status information of the power chip; the status information is used to indicate the progress of the power chip initialization;
[0012] After the status information indicates that the power chip has completed initialization, the charging device is triggered to use the target private protocol chip to charge the device to be charged.
[0013] Optionally, triggering initialization of a power chip in the charging device based on a comparison between the charging protocol currently running on the charging device and the target charging protocol includes:
[0014] If the currently running charging protocol is inconsistent with the target charging protocol, the power chip in the charging device is triggered to initialize.
[0015] Optionally, also include:
[0016] If the currently running charging protocol is consistent with the target charging protocol, the target private protocol chip is triggered to adjust the charging parameters of the power chip so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0017] Optionally, obtain status information of the power chip, including:
[0018] A status access command is sent to the power chip to obtain at least one status information fed back by the power chip.
[0019] Optionally, after sending a status access command to the power chip to obtain at least one status information fed back by the power chip, the method further includes:
[0020] Counting the amount of first status information obtained to obtain a first value; the first status information is status information used to indicate that the power chip has not completed initialization;
[0021] When the first value is greater than a threshold, obtaining an operation log of the power chip;
[0022] If the operation log indicates that an error alarm occurs in the power chip, the power chip is prohibited from charging the device to be charged.
[0023] Optionally, after prohibiting the power chip from charging the device to be charged, the method further includes:
[0024] Control the alarm module in the charging device to be placed in a working state corresponding to the error alarm.
[0025] Optionally, after the status information indicates that the power chip has completed initialization, triggering the charging device to use the target private protocol chip to charge the device to be charged includes:
[0026] After the status information indicates that the power chip has completed initialization, the target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0027] Optionally, trigger the target private protocol chip to adjust the charging parameters of the power chip, including:
[0028] Obtain the status information of the target private protocol chip in advance;
[0029] If the status information of the target private protocol chip indicates that the chip is operating normally, the target private protocol chip is triggered to adjust the charging parameters of the power chip.
[0030] Optionally, after obtaining the status information of the target private protocol chip, the method further includes:
[0031] If the status information of the target private protocol chip indicates that the chip is operating abnormally, triggering the target private protocol chip to adjust the charging parameters of the power chip is prohibited.
[0032] Optionally, the method further includes:
[0033] If the charging device does not include the target private protocol chip, the charging device is prohibited from charging the device to be charged.
[0034] Optionally, the method further includes:
[0035] When the power chip is charging the device to be charged based on the regulated charging parameters, a difference in the charging parameters of the power chip within any two adjacent specified time periods is obtained;
[0036] If the difference does not meet the preset conditions, the power chip will stop charging the device to be charged;
[0037] After the target private protocol chip is controlled to restart, the restarted target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0038] Optionally, after sending a status access command to the power chip to obtain at least one status information fed back by the power chip, the method further includes:
[0039] Calculate the time difference between the feedback time of the nth state information and the sending time of the nth state access command; n is a positive integer;
[0040] If the time difference is greater than a specified time threshold, the power chip is triggered to restart, and a status access command is sent to the restarted power chip.
[0041] A charging control device, comprising:
[0042] A chip determination unit, configured to determine a target private protocol chip corresponding to device parameters of the device to be charged; the target private protocol chip includes a target charging protocol corresponding to the device parameters;
[0043] An initialization unit, configured to trigger initialization of a power chip in the charging device based on a comparison between the charging protocol currently being run by the charging device and the target charging protocol, thereby changing the currently running charging protocol to the target charging protocol;
[0044] A status inquiry unit is used to obtain status information of the power chip; the status information is used to indicate the progress of initialization of the power chip;
[0045] The charging trigger unit is used to trigger the charging device to use the target private protocol chip to charge the device to be charged after the status information indicates that the power chip has completed initialization.
[0046] Optionally, the status inquiry unit is specifically configured to:
[0047] A status access command is sent to the power chip to obtain at least one status information fed back by the power chip.
[0048] Optionally, the initialization unit is specifically used to:
[0049] If the currently running charging protocol is inconsistent with the target charging protocol, the power chip in the charging device is triggered to initialize.
[0050] Optionally, the charging trigger unit is further configured to:
[0051] If the currently running charging protocol is consistent with the target charging protocol, the target private protocol chip is triggered to adjust the charging parameters of the power chip so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0052] Optionally, the status inquiry unit is further configured to:
[0053] Counting the amount of first status information obtained to obtain a first value; the first status information is status information used to indicate that the power chip has not completed initialization;
[0054] When the first value is greater than a threshold, obtaining an operation log of the power chip;
[0055] If the operation log indicates that an error alarm occurs in the power chip, the power chip is prohibited from charging the device to be charged.
[0056] Optionally, the device further comprises:
[0057] The error alarm unit is used to control the alarm module in the charging device to be placed in a working state corresponding to the error alarm.
[0058] Optionally, the charging trigger unit is specifically used to:
[0059] After the status information indicates that the power chip has completed initialization, the target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0060] Optionally, the charging trigger unit is specifically used to:
[0061] Obtain the status information of the target private protocol chip in advance;
[0062] If the status information of the target private protocol chip indicates that the chip is operating normally, the target private protocol chip is triggered to adjust the charging parameters of the power chip.
[0063] Optionally, the charging trigger unit is further configured to:
[0064] If the status information of the target private protocol chip indicates that the chip is operating abnormally, triggering the target private protocol chip to adjust the charging parameters of the power chip is prohibited.
[0065] Optionally, the chip determination unit is further configured to:
[0066] If the charging device does not include the target private protocol chip, the charging device is prohibited from charging the device to be charged.
[0067] Optionally, the charging trigger unit is further configured to:
[0068] When the power chip is charging the device to be charged based on the regulated charging parameters, a difference in the charging parameters of the power chip within any two adjacent specified time periods is obtained;
[0069] If the difference does not meet the preset conditions, the power chip will stop charging the device to be charged;
[0070] After the target private protocol chip is controlled to restart, the restarted target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0071] Optionally, the status inquiry unit is further configured to:
[0072] Calculate the time difference between the feedback time of the nth state information and the sending time of the nth state access command; n is a positive integer;
[0073] If the time difference is greater than a specified time threshold, the power chip is triggered to restart, and a status access command is sent to the restarted power chip.
[0074] A vehicle-mounted charging device includes a stored program, wherein the program executes the charging control method when the program is run by a processor.
[0075] A vehicle includes an on-board charging device, and the on-board charging device is used to execute the charging control method.
[0076] A computer device comprises: a processor, a memory and a bus; the processor and the memory are connected via the bus;
[0077] The memory is used to store the program, and the processor is used to run the program, wherein the charging control method is executed when the program is run by the processor.
[0078] A computer-readable storage medium includes a stored program, wherein the program executes the charging control method when executed by a processor.
[0079] The technical solution provided by the present application determines the target private protocol chip corresponding to the device parameters of the device to be charged. Based on the comparison between the charging protocol currently running on the charging device and the target charging protocol, the initialization of the power chip in the charging device is triggered, so that the currently running charging protocol is changed to the target charging protocol. The status information of the power chip is obtained, and after the status information indicates that the power chip has completed initialization, the charging device is triggered to use the target private protocol chip to charge the device to be charged. After triggering the initialization of the power chip, the present application obtains the status information of the power chip, and only after the status information indicates that the power chip has completed initialization will the charging device be triggered to charge the device to be charged, thereby avoiding the generation of uncontrolled current when the charging device performs charging services when the power chip has not completed initialization, so that the private protocol chip in the charging device is no longer damaged by the uncontrolled current. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] FIG1 is a schematic flow chart of a charging control method provided in an embodiment of the present application;
[0081] FIG2 is a flow chart of another charging control method provided in an embodiment of the present application;
[0082] FIG3 is a flow chart of another charging control method provided in an embodiment of the present application;
[0083] FIG4 is a schematic diagram of the architecture of a charging control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0084] The applicant discovered that in the existing software strategy of in-vehicle wireless charging devices, after determining that the charging protocol currently running on the charging device does not support the device to be charged, it is necessary to trigger the power chip to initialize, so that the currently running charging protocol is replaced with the target charging protocol that supports charging the device to be charged, thereby transferring the responsibility for charging work from the currently running private protocol chip to the target private protocol chip. The charging work responsibility transfer process takes approximately 5ms. Due to differences in the initialization capabilities of the power chips, there is a probability that the time required for the power chip to perform initialization will exceed 5ms. At this time, the power chip that has not completed initialization is in an uncontrollable state. Triggering the charging device to perform charging services when the power chip is in an uncontrollable state will cause an uncontrolled current to be generated inside the charging device, causing the private protocol chip in the charging device to be damaged by the uncontrolled current.
[0085] Based on the above-mentioned findings of the applicant, the present application provides a charging control method to ensure that the charging device is triggered to charge the device to be charged only when the power chip has completed initialization, preventing the charging device from generating out-of-control current, thereby avoiding the private protocol chip in the charging device from being damaged by the out-of-control current.
[0086] As shown in FIG1 , it is a flow chart of a charging control method provided in an embodiment of the present application, which includes the following steps.
[0087] S101: Determine a target private protocol chip corresponding to device parameters of a device to be charged.
[0088] Among them, the specific implementation process of determining the target private protocol chip corresponding to the device parameters of the device to be charged may include: obtaining the device parameters of the device to be charged, and determining the target private protocol chip from multiple private protocol chips of the charging device based on the device parameters, wherein the target private protocol chip includes a target charging protocol corresponding to the device parameters.
[0089] In some examples, the devices to be charged include, but are not limited to, mobile phones, smart watches, tablet computers, and other devices.
[0090] In some examples, the device parameters of the device to be charged include, but are not limited to: device model, device manufacturer, device power supply model, etc.
[0091] It is understandable that different device parameters may correspond to the same charging protocol, or to different charging protocols, and the specific correspondence between the charging protocol and the device parameters may generally be determined based on the device manufacturer.
[0092] In some examples, the charging device integrates multiple private protocol chips, which can meet the wireless charging requirements of electronic devices with different device parameters. Before the device to be charged performs wireless charging, the device to be charged will only allow the charging device to charge it if it selects the target private protocol chip corresponding to the device parameters of the device to be charged.
[0093] In one possible implementation, the charging device sends an inquiry signal to the device to be charged via a built-in antenna. The device to be charged responds to the inquiry signal by feeding back its own device parameters to the charging device. The charging device pre-records a device parameter table containing a correspondence between device models and charging protocols. By querying the device parameter table, the target charging protocol corresponding to the device parameters of the device to be charged can be obtained.
[0094] Optionally, if the charging device does not include the target private protocol chip, the charging device is prohibited from charging the device to be charged.
[0095] It should be noted that if the charging device does not include the target private protocol chip, it can be determined that the charging interface of the device to be charged cannot accept the charging service of the charging device. Therefore, the charging device is prohibited from charging the device to be charged, that is, the charging work of the charging device is suspended.
[0096] S102: Based on a comparison between the charging protocol currently running on the charging device and the target charging protocol, triggering initialization of a power chip in the charging device to change the currently running charging protocol to the target charging protocol.
[0097] Among them, if the charging protocol currently running on the charging device is inconsistent with the target charging protocol, the power chip in the charging device is triggered to initialize, so that the currently running charging protocol is changed to the target charging protocol.
[0098] It should be noted that the essence of power chip initialization is to change the charging protocol currently running inside the power chip to the target charging protocol. The specific implementation process and principle of power chip initialization are common knowledge familiar to those skilled in the art and will not be repeated here.
[0099] Optionally, if the currently running charging protocol is consistent with the target charging protocol, the target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0100] It can be understood that if the currently running charging protocol is consistent with the target charging protocol, the private protocol chip representing the charging parameters of the power chip in the charging device is the target charging protocol chip, which can directly trigger the charging device to be charged without triggering the power chip initialization.
[0101] In some examples, by reading the charging protocol running in the power chip, the charging protocol currently running on the charging device can be learned.
[0102] S103: Obtain status information of the power chip.
[0103] The status information is used to indicate the progress of the power chip initialization.
[0104] Optionally, the specific implementation process of obtaining the status information of the power chip may include: sending a status access command to the power chip to obtain at least one status information fed back by the power chip.
[0105] In some examples, after the power chip is triggered to initialize, a status access command may be sent to the power chip at a preset time interval to obtain at least one status information fed back by the power chip.
[0106] It should be noted that if an abnormality occurs in the power chip, the multiple status information fed back by the power chip over a long period of time will indicate that the power chip has not completed initialization. In order to promptly detect the abnormality of the power chip, you can refer to the steps shown in Figure 2 and the explanation of the steps.
[0107] In some examples, the initialization efficiency of the power chip may be affected by internal factors of the power chip. In practical applications, the power chip can be restarted to eliminate the interference of internal factors of the power chip and improve the initialization efficiency of the power chip.
[0108] Optionally, calculate the time difference between the feedback time of the nth status information and the sending time of the nth status access command, where n is a positive integer. If the time difference is greater than the specified time threshold, trigger the power chip to restart and send a status access command to the restarted power chip.
[0109] It is understood that if the time difference is greater than a specified time threshold, it is determined that the initialization process of the power chip has been interfered with by factors within the power chip, and a power chip restart is required. In other words, each time a status query command is sent to the power chip, the time it takes to feedback status information can be used to determine whether interference has occurred within the power chip, thereby determining whether to trigger a power chip restart.
[0110] S104: After the status information indicates that the power chip has completed initialization, trigger the charging device to use the target private protocol chip to charge the device to be charged.
[0111] Among them, the status information indicates that the power chip has completed initialization, which means that the power chip is in a controllable state at this time. Triggering the power chip to charge the device to be charged will not cause an uncontrolled current to be generated inside the charging device, thereby preventing the private protocol chip in the charging device from being damaged by the uncontrolled current.
[0112] Optionally, after the status information indicates that the power chip has completed initialization, the specific implementation process of triggering the charging device to use the target private protocol chip to charge the device to be charged may include: after the status information indicates that the power chip has completed initialization, triggering the target private protocol chip to adjust the charging parameters of the power chip so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0113] It should be noted that the target private protocol chip can only charge the device to be charged normally when the target private protocol chip is operating normally. If the target private protocol chip is operating abnormally, charging may fail, affecting the charging experience.
[0114] Optionally, status information of the target private protocol chip is obtained in advance. If the status information of the target private protocol chip indicates that the chip is operating normally, the target private protocol chip is triggered to adjust the charging parameters of the power chip. If the status information of the target private protocol chip indicates that the chip is operating abnormally, triggering the target private protocol chip to adjust the charging parameters of the power chip is prohibited.
[0115] In some examples, the state information of the target private protocol chip may be obtained by accessing the target private protocol chip.
[0116] In some examples, the causes of the target proprietary protocol chip abnormality include, but are not limited to: abnormal power supply, excessive temperature, etc.
[0117] In one possible implementation, if the status information of the target private protocol chip indicates abnormal power supply, it is determined that the target private chip is unable to undertake the charging work, and the charging device is suspended from charging the device to be charged. The user can also be prompted that the charging device is abnormal so that the user can repair the charging device in time.
[0118] In one possible implementation, private protocol chip A is currently responsible for charging, and the target private protocol chip is private protocol chip B. After triggering the power chip initialization, the status information of the power chip is tracked in real time. After determining that the power chip has completed initialization, the private protocol chip B is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0119] In the related art, a charging device includes multiple private protocol chips and a power chip. The charging protocols contained in the multiple private protocol chips are different from each other, and each private protocol chip is used to adjust the charging parameters of the power chip so that the power chip can charge other devices based on the adjusted charging parameters, thereby realizing the charging service function of the charging device. Generally speaking, when the power chip is performing charging, the charging protocol of the private protocol chip that currently adjusts the charging parameters must be pre-loaded inside the power chip. Therefore, when switching the private protocol chip to control the power chip, the charging protocol inside the power chip needs to be updated. If the charging protocol currently running on the power chip does not correspond to the private protocol chip that currently adjusts the charging parameters, it will cause an uncontrolled current to be generated inside the charging device, thereby affecting each private protocol chip in the charging device.
[0120] It's important to note that when the power chip charges the device based on the adjusted charging parameters, the charging parameters change in real time. If the charging parameters vary significantly within a preset time period, this indicates a problem with the target protocol chip. For example, an external impact on the charging device may cause internal interference in the target protocol chip, making it unable to effectively adjust the power chip's charging parameters. In related technologies, when a proprietary protocol chip is unable to effectively adjust the charging parameters, the proprietary protocol chip can be restarted to restore normal operation.
[0121] Optionally, when the power chip is charging the device to be charged based on the regulated charging parameters, the difference in the charging parameters of the power chip within any two adjacent specified time periods is obtained. If the difference does not meet the preset conditions, the power chip is suspended from charging the device to be charged. After controlling the target private protocol chip to restart, the restarted target private protocol chip is triggered to regulate the charging parameters of the power chip, so that the power chip charges the device to be charged based on the regulated charging parameters.
[0122] The process shown in S101-S104 above, after triggering the initialization of the power chip, obtains the status information of the power chip, and only after the status information indicates that the power chip has completed initialization, triggers the charging device to charge the device to be charged, thereby avoiding the charging device performing charging services when the power chip has not completed initialization and generating uncontrolled current, so that the private protocol chip in the charging device is no longer damaged by the uncontrolled current.
[0123] As shown in FIG2 , it is a flow chart of another charging control method provided in an embodiment of the present application, which includes the following steps.
[0124] S201: Count the amount of first status information obtained to obtain a first value.
[0125] The first status information is status information indicating that the power chip has not completed initialization.
[0126] In some examples, multiple status access commands are sent to the power chip within a specified time period, and status information corresponding to the multiple status access commands fed back by the power chip can be obtained. The amount of first status information can be determined by parsing the multiple status information.
[0127] S202: When the first value is greater than a threshold, obtain an operation log of the power chip.
[0128] Among them, if the first value is greater than the threshold, it means that there is an abnormal hidden danger in the power chip, and the power chip needs to be further checked to determine whether the power chip is abnormal.
[0129] In some examples, the operation log of the power chip records the daily behavior of the power chip. By analyzing the daily behavior, it can be effectively determined whether the power chip is abnormal.
[0130] S203: If the operation log indicates that an error alarm occurs in the power chip, the power chip is prohibited from charging the device to be charged.
[0131] Among them, if the operation log indicates that the power chip has an error alarm, it can be determined that the power chip has an abnormality. In order to prevent the charging device from generating an uncontrolled current during the charging service due to the abnormality of the power chip, the power chip is prohibited from charging the device to be charged, that is, the charging device is prohibited from charging the device to be charged.
[0132] S204: Controlling the alarm module in the charging device to be in a working state corresponding to the error alarm.
[0133] Among them, after prohibiting the charging device from charging the device to be charged, it is necessary to inform the user of the situation so that the user can take corresponding measures in time. To this end, the alarm module in the charging device is controlled to be placed in a working state corresponding to the error alarm.
[0134] In some examples, the alarm module includes multiple working states, and the multiple working states can be implemented based on multiple reminder methods, such as buzzer alarm, warning light lighting, and other sound and light reminder methods.
[0135] The process shown in the above S201-S204 can use the status information of the power chip to determine whether the power chip is abnormal. If it is determined that the power chip is abnormal, the charging device is prohibited from charging the device to be charged, and an alarm is sent to the user, thereby avoiding the charging device from generating out-of-control current and preventing the private protocol chip of the charging device from being damaged by the out-of-control current.
[0136] To facilitate understanding of the process shown in the above embodiment, as shown in FIG3 , the embodiment of the present application is illustrated based on the charging control logic of the vehicle-mounted wireless charging device shown in FIG3 , and the description includes the following steps.
[0137] Step 1: Start the self-test of the vehicle-mounted wireless charging device to obtain the working status of the vehicle-mounted wireless charging device.
[0138] In some examples, by starting a self-test of the vehicle-mounted wireless charging device, the remaining power supply of the vehicle-mounted wireless charging device can be learned. If the remaining power supply meets the charging requirements, the vehicle-mounted wireless charging device is allowed to charge the target device.
[0139] In some examples, by starting a self-test of the in-vehicle wireless charging device, status information of each private protocol chip in the in-vehicle wireless charging device can be obtained to determine whether each private protocol chip is operating normally.
[0140] Step 2: Obtain the model of the mobile phone to be charged, and determine the target private protocol chip based on the model of the mobile phone.
[0141] In some examples, the mobile phone model is a specific representation of the device parameters.
[0142] Step 3: Determine the charging protocol A currently running on the vehicle-mounted wireless charging device, and determine whether the currently running charging protocol A is consistent with the target charging protocol.
[0143] In some examples, the in-vehicle wireless charging device includes a private protocol chip A and a private protocol chip B, where the private protocol chip A includes charging protocol A and the private protocol chip B includes charging protocol B.
[0144] Step 4: If the currently running charging protocol A is consistent with the target charging protocol, determine whether the private protocol chip A is operating normally based on the status information of the private protocol chip A.
[0145] Step 5: If the private protocol chip A operates normally, the private protocol chip A is triggered to adjust the charging parameters of the power chip, so that the power chip charges the mobile phone to be charged based on the adjusted charging parameters.
[0146] In some examples, regulating the charging parameters of the power chip mostly involves controlling the supply voltage parameters of the power chip, such as increasing or decreasing the voltage.
[0147] In some examples, if the currently running charging protocol A is consistent with the target charging protocol, the charging library of the power chip still maintains running charging protocol A, and there is no need to change other charging protocols.
[0148] Step 6: If the currently running charging protocol A is inconsistent with the target charging protocol, and the target charging protocol is charging protocol B, the power chip initialization is triggered to change the currently running charging protocol A to charging protocol B.
[0149] Step 7: Send a status access command to the power chip to obtain status information fed back by the power chip.
[0150] Step 8: After the status information indicates that the power chip has completed initialization, the private protocol chip B is triggered to adjust the charging parameters of the power chip so that the power chip charges the mobile phone to be charged based on the adjusted charging parameters.
[0151] In the steps shown above, after triggering the initialization of the power chip, the status information of the power chip is obtained, and only after the status information indicates that the power chip has completed initialization will the charging device be triggered to charge the device to be charged, thereby avoiding the charging device from performing charging services when the power chip has not completed initialization and generating uncontrolled current, so that the private protocol chip in the charging device is no longer damaged by the uncontrolled current.
[0152] Corresponding to the charging control method provided in the above-mentioned embodiment of the present application, the embodiment of the present application also provides a charging control device.
[0153] As shown in FIG4 , it is a schematic diagram of the architecture of a charging control device provided in an embodiment of the present application, which includes the units shown below.
[0154] The chip determination unit 100 is configured to determine a target private protocol chip corresponding to device parameters of the device to be charged; the target private protocol chip includes a target charging protocol corresponding to the device parameters.
[0155] Optionally, the chip determination unit 100 is specifically configured to: obtain device parameters of the device to be charged, and determine a target private protocol chip from a plurality of private protocol chips of the charging device based on the device parameters.
[0156] Optionally, the chip determination unit 100 is further configured to: prohibit the charging device from charging the device to be charged if the charging device does not include the target private protocol chip.
[0157] The initialization unit 200 is used to trigger the initialization of the power chip in the charging device based on the comparison between the charging protocol currently running on the charging device and the target charging protocol, so as to change the currently running charging protocol to the target charging protocol.
[0158] Optionally, the initialization unit 200 is specifically configured to: if the charging protocol currently running on the charging device is inconsistent with the target charging protocol, trigger the initialization of a power chip in the charging device to change the currently running charging protocol to the target charging protocol.
[0159] The status query unit 300 is used to obtain status information of the power chip; the status information is used to indicate the progress of initialization of the power chip.
[0160] Optionally, the status query unit is specifically configured to send a status access command to the power chip to obtain at least one status information fed back by the power chip.
[0161] Optionally, the status inquiry unit 300 is also used to: count the number of first status information obtained to obtain a first value; the first status information is status information used to indicate that the power chip has not completed initialization; when the first value is greater than a threshold, obtain the operation log of the power chip; if the operation log indicates that an error alarm occurs in the power chip, prohibit the power chip from charging the device to be charged.
[0162] Optionally, the status inquiry unit 300 is also used to: calculate the time difference between the feedback time of the nth status information and the sending time of the nth status access command; n is a positive integer; if the time difference is greater than the specified time threshold, trigger the power chip to restart, and send a status access command to the restarted power chip.
[0163] The charging trigger unit 400 is used to trigger the charging device to use the target private protocol chip to charge the device to be charged after the status information indicates that the power chip has completed initialization.
[0164] Optionally, the charging trigger unit 400 is specifically used to: after the status information indicates that the power chip has completed initialization, trigger the target private protocol chip to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0165] Optionally, the charging trigger unit 400 is also used to: if the currently running charging protocol is consistent with the target charging protocol, trigger the target private protocol chip to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
[0166] Optionally, the charging trigger unit 400 is specifically configured to: obtain status information of a target private protocol chip in advance; and trigger the target private protocol chip to adjust charging parameters of the power chip if the status information of the target private protocol chip indicates that the chip is operating normally.
[0167] Optionally, the charging trigger unit 400 is further configured to prohibit triggering the target private protocol chip to regulate the charging parameters of the power chip if the status information of the target private protocol chip indicates that the chip is operating abnormally.
[0168] Optionally, the charging trigger unit 400 is also used to: obtain the difference in charging parameters of the power chip within any two adjacent specified time periods during the process of the power chip charging the device to be charged based on the regulated charging parameters; if the difference does not meet the preset conditions, suspend the power chip from charging the device to be charged; after controlling the target private protocol chip to restart, trigger the restarted target private protocol chip to regulate the charging parameters of the power chip, so that the power chip charges the device to be charged based on the regulated charging parameters.
[0169] The error alarm unit 500 is used to control the alarm module in the charging device to be in a working state corresponding to the error alarm.
[0170] Each unit shown above, after triggering the initialization of the power chip, obtains the status information of the power chip, and only triggers the charging device to charge the device to be charged after the status information indicates that the power chip has completed initialization, thereby avoiding the charging device from performing charging services when the power chip has not completed initialization and generating uncontrolled current, so that the private protocol chip in the charging device is no longer damaged by the uncontrolled current.
[0171] The above units may be implemented by one or more processors.
[0172] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0173] The present application also provides a computer device comprising: a processor, a memory, and a bus. The processor and the memory are connected via the bus, the memory is used to store a program, and the processor is used to run the program, wherein the charging control method provided in the above embodiment is executed when the program is run.
[0174] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the charging control method provided in the above embodiment.
[0175] The present application also provides a vehicle, which includes an on-board charging device, wherein the on-board charging device is used to execute the charging control method provided in the above embodiment.
[0176] The present application also provides an on-vehicle charging device, which includes a stored program, wherein the program executes the charging control method provided in the above embodiment when the processor runs it.
[0177] If the functions described in the method of the embodiment of the present application are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application 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 enabling a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. 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, a random access memory, a magnetic disk or an optical disk.
[0178] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0179] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A charging control method, characterized in that: Applied to charging equipment, including: Determine a target private protocol chip corresponding to device parameters of the device to be charged; the target private protocol chip includes a target charging protocol corresponding to the device parameters; Based on a comparison between the charging protocol currently running on the charging device and the target charging protocol, triggering the initialization of a power chip in the charging device to change the currently running charging protocol to the target charging protocol; Obtaining status information of the power chip; the status information is used to indicate the progress of initialization of the power chip; After the status information indicates that the power chip has completed initialization, the charging device is triggered to use the target private protocol chip to charge the device to be charged.
2. The method according to claim 1, characterized in that Obtaining status information of the power chip, including: A status access command is sent to the power chip to obtain at least one status information fed back by the power chip.
3. The method according to claim 2, characterized in that After sending a status access command to the power chip to obtain at least one status information fed back by the power chip, the method further includes: Counting the number of first status information obtained to obtain a first value; the first status information is status information used to indicate that the power chip has not completed initialization; When the first value is greater than a threshold, obtaining an operation log of the power chip; If the operation log indicates that an error alarm occurs in the power chip, the power chip is prohibited from charging the device to be charged.
4. The method according to claim 1, characterized in that: After the status information indicates that the power chip has completed initialization, triggering the charging device to use the target private protocol chip to charge the device to be charged includes: After the status information indicates that the power chip has completed initialization, the target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
5. The method according to claim 4, characterized in that Triggering the target private protocol chip to adjust the charging parameters of the power chip includes: Obtaining status information of the target private protocol chip in advance; If the status information of the target private protocol chip indicates that the chip operates normally, the target private protocol chip is triggered to adjust the charging parameters of the power chip.
6. The method according to claim 4, characterized in that The method further comprises: In a process in which the power chip charges the device to be charged based on the regulated charging parameters, obtaining a difference in the charging parameters of the power chip within any two adjacent specified time periods; If the difference does not meet the preset condition, suspending the power chip from charging the device to be charged; After controlling the target private protocol chip to restart, the restarted target private protocol chip is triggered to adjust the charging parameters of the power chip, so that the power chip charges the device to be charged based on the adjusted charging parameters.
7. The method according to claim 2, characterized in that After sending a status access command to the power chip to obtain at least one status information fed back by the power chip, the method further includes: Calculate the time difference between the feedback time of the n-th state information and the sending time of the n-th state access command; n is a positive integer; If the time difference is greater than a specified time threshold, the power chip is triggered to restart, and the status access command is sent to the restarted power chip.
8. A charging control device, characterized in that: include: A chip determination unit, used to determine a target private protocol chip corresponding to device parameters of the device to be charged; The target private protocol chip includes a target charging protocol corresponding to the device parameters; an initialization unit, configured to trigger the initialization of a power chip in the charging device based on a comparison between the charging protocol currently running on the charging device and the target charging protocol, so that the charging protocol currently running is changed to the target charging protocol; A status inquiry unit, used to obtain status information of the power chip; The status information is used to indicate the progress of initialization of the power chip; A charging trigger unit is used to trigger the charging device to charge the device to be charged using the target private protocol chip after the status information indicates that the power chip has completed initialization.
9. A vehicle-mounted charging device, characterized in that: The vehicle-mounted charging device includes a stored program, wherein the program executes the charging control method according to any one of claims 1 to 7 when executed by a processor.
10. A vehicle, characterized in that: The vehicle includes the on-vehicle charging device according to claim 9.
11. A computer device, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the program executes the charging control method according to any one of claims 1 to 7 when run by the processor.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program is executed by a processor to execute the charging control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Firmware updating method and program of fast charging equipment, fast charging equipment and storage medium
CN111831308A
System and method for vehicle-to-load charging session initialization, transfer, and charging
CN115916578A
Charging method and device, vehicle and storage medium
CN116260222A
Charging control method and device, vehicle-mounted charging equipment and vehicle
CN117277488A
Charging protocol determination method and apparatus, electronic device, and readable storage medium
WO2023024824A1