Methods, systems, devices, vehicles, storage media, processors, and software products for determining the reset duration of dual battery controllers.

By acquiring the control commands and output voltage change duration of the dual battery controller, the reset action duration of the dual battery controller is determined, solving the problem of inaccurate determination of the reset action duration and improving accuracy and overall vehicle response performance.

CN119459441BActive Publication Date: 2025-11-14CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411553984.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-11-14
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

In the prior art, the reset action duration of the dual battery controller is not accurately determined, resulting in low accuracy of the reset action duration.

Method used

By acquiring the control commands from the dual battery controller in the vehicle, the start time for executing the reset action is determined, and the end time for ending the reset action is determined by the duration of the output voltage change. Finally, the target duration of the reset action is calculated based on the start and end times.

Benefits of technology

It improves the accuracy of the reset action duration of the dual battery controller, solves the problem of inaccurate determination of the reset action duration, and can accurately grasp the performance of individual components and improve the overall vehicle response performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119459441B_ABST
    Figure CN119459441B_ABST
Patent Text Reader

Abstract

This invention discloses a method, system, device, vehicle, storage medium, processor, and program product for determining the reset action duration of a dual-battery controller. The method includes: acquiring at least one control command from the dual-battery controller in the vehicle, wherein the control command is used to control the reset action of the dual-battery controller; determining the start time of the reset action based on the at least one control command; acquiring the output voltage of the drive control terminal of the dual-battery controller, and determining the termination time of the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the reset action based on the start time and the termination time. This invention solves the technical problem of low accuracy in determining the reset action duration of a dual-battery controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicles, and more specifically, to a method, system, device, vehicle, storage medium, processor, and program product for determining the reset action duration of a dual battery controller. Background Technology

[0002] Currently, there are many types of vehicles using dual battery controllers, and the reset duration of these controllers is a crucial indicator of how quickly a vehicle resets after a successful start. Therefore, accurately determining the reset duration of the dual battery controller is of great significance.

[0003] In related technologies, dual-battery controllers have multiple electrical signals and multiple network input / output signals, making it impossible to accurately capture the input / output signals. Therefore, there is a technical problem of low accuracy in determining the reset action duration of the dual-battery controller.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a method, system, device, vehicle, storage medium, processor, and program product for determining the reset action duration of a dual battery controller, to at least solve the technical problem of low accuracy in determining the reset action duration of a dual battery controller.

[0006] According to one aspect of the present invention, a method for determining the duration of a reset action of a dual battery controller is provided. The method may include: acquiring at least one control command of the dual battery controller in a vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining a start time for the dual battery controller to begin executing the reset action based on the at least one control command; acquiring the output voltage of the drive control terminal of the dual battery controller, and determining a termination time for the dual battery controller to end executing the reset action in response to the output voltage meeting a voltage threshold; and determining a target duration for the dual battery controller to execute the reset action based on the start time and the termination time.

[0007] Optionally, obtaining at least one control command of the dual battery controller in the vehicle includes: determining the identification information of the dual battery controller; and determining at least one control command associated with the identification information.

[0008] Optionally, determining the start time for the dual battery controller to begin executing a reset action based on at least one control command includes: determining a target control command among the at least one control command, wherein the target control command is the first command sent and is used to control the dual battery controller to begin executing a reset action; and determining the time when the target control command is received as the start time.

[0009] Optionally, in response to the output voltage meeting a voltage threshold, determining the termination time for the dual battery controller to end the reset action includes: in response to the output voltage decreasing to the voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining multiple first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; determining the target moment among the multiple first moments; and determining the termination time based on the target moment and the second moment.

[0010] Optionally, determining the target time among multiple first time points includes: taking the derivative of any two of the multiple first time points to obtain the derivative result; and determining the target time based on the derivative result.

[0011] Optionally, based on the start time and the end time, the target duration for the dual battery controller to perform the reset action is determined, including: determining the difference between the start time and the end time as the target duration.

[0012] Optionally, acquiring the output voltage of the drive control terminal of the dual battery controller includes: controlling a data acquisition unit to acquire the output voltage.

[0013] According to another aspect of the present invention, a system for determining the duration of a reset action of a dual battery controller is also provided. The system may include: a control terminal for outputting at least one control command; and a test terminal for acquiring at least one control command of the dual battery controller in a vehicle, acquiring the output voltage of the drive control terminal of the dual battery controller, and determining the termination time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold, and determining the target duration of the dual battery controller executing the reset action based on the start time and the termination time, wherein the control command is used to control the reset action of the dual battery controller.

[0014] According to another aspect of the present invention, a device for determining the duration of a reset action of a dual battery controller is also provided. The device may include: an acquisition unit for acquiring at least one control command of the dual battery controller in a vehicle, wherein the control command is used to control the reset action of the dual battery controller; a first determination unit for determining, based on the at least one control command, the start time at which the dual battery controller begins to execute the reset action; a processing unit for acquiring the output voltage of the drive control terminal of the dual battery controller, and determining, in response to the output voltage satisfying a voltage threshold, the end time at which the dual battery controller ends to execute the reset action; and a second determination unit for determining, based on the start time and the end time, the target duration of the reset action executed by the dual battery controller.

[0015] According to another aspect of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein, when the program is running, the device where the computer-readable storage medium is located executes the method for determining the duration of the reset action of the dual battery controller of the present invention.

[0016] According to another aspect of the present invention, a processor is also provided for running a program, wherein the program is executed by the processor to perform the method for determining the reset action duration of the dual battery controller according to the present invention.

[0017] According to another aspect of the present invention, a program product is also provided, the program product including computer instructions, wherein when the computer instructions are executed by a processor, the method for determining the reset action duration of the dual battery controller of the present invention is implemented.

[0018] According to another aspect of the present invention, a vehicle is also provided, which can be used to perform the method for determining the duration of the reset action of the dual battery controller according to the present invention.

[0019] In this embodiment of the invention, at least one control command from a dual-battery controller in a vehicle is obtained, wherein the control command is used to control the reset action of the dual-battery controller; based on the at least one control command, the start time for the dual-battery controller to begin executing the reset action is determined; the output voltage of the drive control terminal of the dual-battery controller is obtained, and in response to the output voltage meeting a voltage threshold, the end time for the dual-battery controller to end executing the reset action is determined; based on the start time and the end time, the target duration for the dual-battery controller to execute the reset action is determined. In other words, in this embodiment of the invention, by obtaining the control command of the dual-battery controller, determining the start time for the dual-battery controller to begin executing the reset action based on the control command, and determining the end time for the reset action based on the duration of the output voltage change, the reset action duration is determined based on the start time and the end time. This achieves the technical effect of increasing the accuracy of determining the reset action duration of the dual-battery controller, and solves the technical problem of low accuracy in determining the reset action duration of the dual-battery controller. Attached Figure Description

[0020] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0021] Figure 1 This is a flowchart of a method for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention;

[0022] Figure 2 This is a schematic diagram of a system for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention;

[0023] Figure 3 This is a schematic diagram of a testing system according to an embodiment of the present invention;

[0024] Figure 4 This is a schematic diagram of a calculation waveform according to an embodiment of the present invention;

[0025] Figure 5 This is a schematic diagram of a device for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention;

[0026] Figure 6 This is a structural block diagram of a computer terminal according to an embodiment of the present invention;

[0027] Figure 7 This is a block diagram of an electronic device according to an embodiment of the present application of an operating system performance detection method. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] According to an embodiment of the present invention, an embodiment of a method for determining the reset action duration of a dual-battery controller is provided. The steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0031] This embodiment proposes a method for determining the reset action duration of a dual-battery controller. This method acquires the control command of the dual-battery controller, determines the start time of the reset action based on the control command, and determines the end time of the reset action based on the duration of the output voltage change. Thus, based on the start and end times, the reset action duration is determined, thereby achieving a high accuracy rate in determining the reset action duration of the dual-battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual-battery controller.

[0032] Figure 1 This is a flowchart illustrating a method for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:

[0033] Step S102: Obtain at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller.

[0034] In the technical solution provided in step S102 of the present invention, the vehicle can be a new energy vehicle, or a vehicle containing a dual-battery controller, such as a dual-battery vehicle model. It should be noted that this is merely an example and does not specifically limit the type of vehicle. The dual-battery controller can be simply referred to as a controller, and can be a dual-battery control system or a dual-battery control system. It can be used to monitor and manage two or more batteries connected in parallel, and can be used to ensure the balance of battery charging and discharging to prevent overcharging or over-discharging of the batteries. The control commands can be CAN signals sent by a Controller Area Network (CAN) transceiver (also known as a CAN transceiver device), and can be in the form of network management messages or CAN messages. They can be used to control the reset action of the dual-battery controller. It should be noted that this is merely an example and does not specifically limit the form of the dual-battery controller.

[0035] Optionally, at least one control signal sent by the front-end network to the dual battery controller can be acquired. This control signal can be used to control the operation of the dual battery controller, for example, to control whether the dual battery controller performs a reset operation.

[0036] For example, in a vehicle, once the main power supply outputs 12 volts (V), the dual battery controller's constant power supply is complete. When the dual battery controller receives the ON switch (S) closing signal, its function is activated. At this time, the vehicle's CAN transceiver can be controlled to input a corresponding control signal to the dual battery controller; this control signal can be used to activate the dual battery controller. When the dual battery controller's reset conditions are met, the CAN transceiver can be controlled to input a corresponding reset control message command to control the dual battery controller to begin resetting. The control signals received by the dual battery controller during startup or reset can be acquired, obtaining at least one control signal.

[0037] Optionally, in addition to commands for controlling the start and reset actions of the dual battery controller, the control signals may also include start commands for controlling the dual battery controller to start and stop commands for controlling the dual battery controller to stop. It should be noted that all control commands used to control the dual battery controller should be within the scope of protection of this application, and no specific limitations are imposed here.

[0038] Step S104: Based on at least one control command, determine the start time when the dual battery controller begins to execute the reset action.

[0039] In the technical solution provided in step S104 of the present invention, the aforementioned start time can be the input trigger time of the control command, that is, it can be the input trigger time of the CAN signal, and can be represented by T1. It should be noted that this is only an example for illustration, and there is no specific limitation on the form of the start time.

[0040] Optionally, resetting the dual battery controller can refer to restoring the dual battery controller to its initial state. The dual battery controller can be reset by sending control commands through the vehicle's internal control system or specific software tools.

[0041] Optionally, once the vehicle's main power supply outputs 12V, the dual battery controller's constant power supply is complete. When the dual battery controller receives a closed signal from the ON switch (S), its function is activated. At this time, a corresponding control signal (i.e., a control message command) can be input to the dual battery controller via the CAN transceiver. The dual battery controller, through its internal circuitry, can output a high level for high-side control and a low level for low-side control. Simultaneously, the relay contacts in the vehicle are activated, and the 12V main power supply is input to the indicator light (L), forming a circuit and illuminating the indicator light. Further, when the dual battery controller's reset condition is met, the CAN transceiver can input a corresponding control signal, such as a reset control message command. Responding to this control signal, the dual battery controller can output a low level at its pins through its internal circuitry for low-side control. At this time, the relay contacts open, the circuit for the 12V main power supply to the indicator light is opened, and the indicator light goes out. The moment when the CAN transceiver can input the corresponding control signal to the dual battery controller can be determined as the start time of the reset action, that is, the moment when the reset message command is triggered.

[0042] For example, the control commands from the user controlling the dual battery controller can be obtained. The command used to control the dual battery controller to begin executing a reset action can be identified. The trigger time of this control command, or the time when the dual battery controller receives the command, can be determined as the start time. This start time can also be referred to as the reset start time.

[0043] Step S106: Obtain the output voltage of the drive control terminal of the dual battery controller, and in response to the output voltage meeting the voltage threshold, determine the termination time when the dual battery controller ends the reset action.

[0044] In the technical solution provided in step S106 of the present invention, the drive control terminal can be a relay or a drive controller. When the dual battery controller is working, it can control the contact switch of the drive control terminal to open or close by outputting a corresponding level. For example, when the dual battery controller starts to perform a reset action, it can output a low level through internal power to control the contact switch of the drive control terminal to open, thereby achieving the purpose of controlling the output voltage of the drive control terminal. In response to the opening of the contact switch of the drive control terminal, the output voltage of the drive control terminal begins to decrease until it reaches 0.

[0045] Optionally, when the dual battery controller begins to execute the reset action, the output voltage of the drive control terminal of the dual battery controller can be acquired and judged. If the output voltage meets a voltage threshold, for example, if the output voltage is 0, it can be determined that the output voltage meets the voltage threshold. Furthermore, the termination time when the dual battery controller ends the reset action can be determined. The termination time can be the time of the output voltage change signal at the drive control terminal of the dual battery controller, denoted by T2. The voltage threshold can be a preset value, for example, 0 volts. It should be noted that this is only an example, and there are no specific limitations on the form of the termination time or the magnitude of the voltage threshold.

[0046] For example, when the reset conditions of the dual battery controller are met, the CAN transceiver can input the corresponding reset control message command to the dual battery controller. Responding to the reset control message command, the dual battery controller can begin executing the reset action. The dual battery controller can then output a low level on its pins through its internal circuitry. At this time, the contact switch at the drive control terminal will open, and the circuit for the 12V mains power supply to the indicator light will open, causing the indicator light to turn off. During the dual battery controller reset process, a voltage change from 12V to 0V will occur across the indicator light (between points A1 and A2), which can be acquired by the data acquisition unit. The voltage acquired by the data acquisition unit can be determined as the output voltage of the drive control terminal. If the output voltage meets the voltage threshold, the moment when the output voltage meets the voltage threshold can be determined as the termination moment, thus achieving the purpose of determining the termination moment when the dual battery controller ends its reset action.

[0047] Step S108: Based on the start time and end time, determine the target duration for the dual battery controller to perform the reset action.

[0048] In the technical solution provided by step S108 of the present invention, the target duration can be the reset action time of the dual battery controller, an important indicator for describing the speed of reset after successful vehicle startup, or a representation of the overall input-output time difference when the dual battery controller performs the reset action. It can also be the overall reset action time of the dual battery controller, which can be represented by ΔT. It should be noted that this is merely an example, and there are no specific limitations on the form of the target duration.

[0049] Optionally, the start time and the end time can be determined, and based on the start time and the end time, the target duration for the dual battery controller to perform the reset action can be determined.

[0050] Optionally, if the reset duration of the dual battery controller can be accurately measured, it is possible to accurately grasp the individual performance of the dual battery controller and form a closed-loop feedback with the design end, thereby improving the response performance of the vehicle's dual battery controller. Therefore, this embodiment, based on actual testing needs, comprehensively considers the control reset time of the dual battery controller, simultaneously acquiring the front-end network control signal and the back-end switching signal of the dual battery controller on a single time axis to accurately determine the target duration. This solves the problems of inaccurate and incomplete reset time testing in traditional control systems, which cannot comprehensively reflect the system's reset speed performance. It achieves the technical effect of high accuracy in determining the reset duration of the dual battery controller, solving the technical problem of low accuracy in determining the reset duration of the dual battery controller.

[0051] Optionally, control signals transmitted by the CAN transceiver and operating parameters of relevant modules in the vehicle are collected during vehicle operation. Based on these operating parameters, the control signal used to control the dual battery controller to perform a reset action can be determined, and the start time can be determined based on this control signal. Further, the output voltage of the relay connected to the dual battery controller can be determined, and the moment when the output voltage meets a voltage threshold can be determined as the end time. Based on the start and end times, the target duration for the dual battery controller to perform the reset action can be determined.

[0052] For example, during vehicle operation, control signals emitted by the CAN transceiver and operating parameters of relevant modules within the vehicle can be collected. Based on these operating parameters, the signal used to control the dual-battery controller to perform a reset action can be identified, and the start time of the dual-battery controller's reset action can be determined based on the transmission time of this control signal. Furthermore, the output voltage of the relay connected to the dual-battery controller can be determined, and the moment when the output voltage drops to 0 can be defined as the termination time. Based on the start and termination times, the target duration of the dual-battery controller's reset action can be determined.

[0053] In this embodiment, besides determining the target duration of the dual-battery controller during vehicle operation using the above method, the target duration of the dual-battery controller can also be judged by building a test platform to determine the performance of the dual-battery controller. For example, a test system can be built, which may include a test terminal, a system input terminal, and a host computer. The test terminal may include a CAN transceiver, a data acquisition unit, indicator lights, a CAN data acquisition line, and a voltage signal acquisition line. The system input terminal may include the dual-battery controller, a main power supply, a relay, and an ON switch. It can acquire at least one control signal and control the CAN transceiver in the test system to send control signals, thereby obtaining the start time. It can also acquire the output voltage of the dual-battery controller and determine the end time by judging the output voltage. The start time and end time can be acquired by the data acquisition unit, and the target duration can be determined based on the start time and end time.

[0054] Optionally, in the testing system, the data collected by the data acquisition device can be transmitted to the host computer, which can then be controlled to calculate and judge the collected data according to the pre-set judgment logic to determine the target duration.

[0055] Through steps S102 and S108 of the present invention, at least one control command of the dual battery controller in the vehicle is obtained, wherein the control command is used to control the reset action of the dual battery controller; based on the at least one control command, the start time of the dual battery controller starting to execute the reset action is determined; the output voltage of the drive control terminal of the dual battery controller is obtained, and in response to the output voltage meeting a voltage threshold, the end time of the dual battery controller ending to execute the reset action is determined; based on the start time and the end time, the target duration of the dual battery controller executing the reset action is determined. In other words, in this embodiment of the invention, the control command of the dual battery controller is obtained, the start time of the dual battery controller starting to execute the reset action is determined based on the control command, and the end time of the reset action is determined based on the duration of the output voltage change. Thus, based on the start time and the end time, the duration of the reset action is determined, thereby achieving the technical effect of high accuracy in determining the reset action duration of the dual battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0056] The method described in this embodiment will be further described below.

[0057] As an optional implementation, step S102, obtaining at least one control command of the dual battery controller in the vehicle, includes: determining the identification information of the dual battery controller; and determining at least one control command associated with the identification information.

[0058] In this embodiment, the aforementioned identification information can be the address information of the dual battery controller, or the identification (ID) of the dual battery controller. At least one control signal sent by the CAN transceiver can be collected, and through the identification information of the dual battery controller, at least one control command associated with the identification information can be determined.

[0059] Optionally, the CAN transceiver can send control commands corresponding to different modules in the vehicle. Therefore, after obtaining multiple initial control signals sent by the CAN transceiver, the multiple initial control signals can be filtered through the identification information of the dual battery controller to determine at least one control command associated with the identification information.

[0060] As an optional implementation, step S104, determining the start time for the dual battery controller to begin executing the reset action based on at least one control command, includes: determining a target control command among the at least one control command, wherein the target control command is the first command sent and is used to control the dual battery controller to begin executing the reset action; and determining the time when the target control command is received as the start time.

[0061] In this embodiment, at least one control command may include control commands issued at different times that instruct the dual battery controller to perform a reset action. Therefore, the first command sent and used to control the dual battery controller to start performing the reset action can be determined from the at least one control command to obtain the target control signal. The time when the dual battery controller receives the target control command can be determined as the start time.

[0062] Optionally, network management messages sent and received with a specific ID in the CAN message are obtained to obtain at least one control command. The at least one control command can be filtered to determine the target control command among the at least one control command. The time when the target control command is received is determined as the start time, where the start time can be the time when the message is received.

[0063] For example, in a test environment, a test system can be connected. During testing, the power supply in the test system can be powered on, the power output set to 12V, and the ON switch closed, completing the power-on of the dual battery controller. In response to the dual battery controller's power-on completion, the CAN transceiver and data acquisition unit can be started. The control software can be opened and debugged on the host computer. After the signal zero point is calibrated, the CAN transceiver triggers the CAN signal to control the system to complete the drive output, fully illuminating the bulb (L). Afterwards, the CAN transceiver can trigger a CAN signal input reset control message command (i.e., a control signal) to the dual battery controller. At this time, the trigger time of the reset message command is recorded as T1, thus obtaining the start time.

[0064] As an optional implementation, step S106, in response to the output voltage meeting a voltage threshold, determines the termination time for the dual battery controller to end the reset action, including: in response to the output voltage decreasing to the voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; determining the target moment among the plurality of first moments; and determining the termination time based on the target moment and the second moment.

[0065] In this embodiment, when the output voltage decreases to a voltage threshold, multiple first moments corresponding to when the output voltage is within the target voltage range and a second moment corresponding to when the output voltage reaches the target value can be determined during the process of decreasing the output voltage to the voltage threshold. A target moment can be determined among the multiple first moments, and a termination moment can be determined based on the target moment and the second moment. The target voltage range can be a pre-set voltage range, or a voltage range infinitely close to 0, such as 0.1-0.25. This target voltage range does not include the target value. The target value can be a value greater than 0, such as 2V or 1 volt. This is merely an example, and no specific limitations are placed on the magnitude of the target voltage range and the target value.

[0066] For example, within the target voltage range, multiple first moments corresponding to different voltages can be collected. For instance, multiple first moments corresponding to the output voltage within the 0.5-0.8 volt range can be determined, resulting in first moment one, first moment two, and first moment three. First moment one is greater than first moment two, and first moment two is greater than first moment three. The slope of the straight line formed by the points (first moment one, the first voltage corresponding to first moment one) and (first moment two, the second voltage corresponding to second moment two) can be determined. If the slope is less than a pre-set slope threshold, it indicates that the voltage change is small, and the larger moment, i.e., first moment one, can be discarded. Furthermore, the derivative between first moment two and first moment three can be calculated. If the derivative is less than the slope threshold, first moment two can be discarded, and first moment three can be determined as the target moment. If the derivative is greater than the slope threshold, first moment three can be discarded, and first moment two can be determined as the target moment. Further, based on the target moment and the second moment, a termination moment can be determined; for example, the average of the target moment and the second moment can be used as the termination moment. It should be noted that the above calculation method is only for illustrative purposes and no specific limitations are imposed here.

[0067] As an optional implementation method, determining the termination time based on the differentiation result includes: differentiating any two of the multiple first times to obtain the differentiation result; and determining the target time based on the differentiation result.

[0068] In this embodiment, determining the termination time based on the derivative result can include: differentiating any two of the multiple first moments to obtain a derivative result, which can be used to characterize the slope of the straight line formed by the points between the two (first moments and the output voltage corresponding to the first moments). Using this derivative result, a target moment among the multiple first moments can be determined. Based on the target moment and a second moment, the minimum time (i.e., the termination time) corresponding to when the output voltage is closest to 0 among the multiple moments can be determined.

[0069] For example, when the output voltage is 1V, the corresponding time is T0. When the output voltage drops to 0, we can determine multiple first times (e.g., Tn, Tm) corresponding to the output voltage being infinitely close to 0. We can differentiate any two of these first times to obtain the derivative. For example, we can differentiate Tn and Tm to obtain the derivative k = (Um - Un) / (Tm - Tn), where Um can represent the voltage corresponding to Tm, and Un can represent the voltage corresponding to Tn. This derivative can be used to characterize the slope of the straight line formed between the two points (Tn, Un) and (Tm, Um). The slope can be compared with a pre-set slope (errorK) to determine if the slope is greater than errorK (e.g., it can be 0.01). If the absolute value of the slope (k) is less than errorK, it can be determined that the absolute value of the slope between the two points (first time, first voltage) and (second time, second voltage) is too small, and the point with the larger time can be discarded. For example, if Tm is greater than Tn, Tm can be discarded, and Tn can be determined as the target time. The difference between the target time and the second time can be further calculated. If the absolute value of the difference between the two (|T0-Tm|) is less than the time threshold (|T0-Tm|), for example, the time threshold can be 0.01, then the termination time can be determined as the average of the target time and the second time (Tn=(T0+Tm) / 2).

[0070] Furthermore, if the absolute value of the slope (k) is not less than errorK, it can be determined that the absolute value of the slope between the two points (first time, first voltage) and (second time, second voltage) is too large, and the point with the smaller time can be discarded. For example, if Tm is greater than Tn, Tn can be discarded. Further, a point can be reselected from multiple first times, and the derivative between the selected point and Tm can be calculated. The above steps are then used for further judgment until a derivative with a value less than errorK is found. Using the above method, the minimum time corresponding to when the derivative is close to 0 can be determined from multiple first times, and this minimum time can be determined as the target time. The difference between the target time and the second time can be calculated. If the absolute value of the difference between the two (|T0-Tm|) is less than the time threshold (|T0-Tm|), for example, the time threshold can be 0.01, then the termination time can be determined as the average of the target time and the second time (Tn=(T0+Tm) / 2).

[0071] It should be noted that the above execution logic can be determined by computer coding. For example, the execution logic can be pre-set according to the above logic. After the required data is obtained, the pre-designed coding logic can be used to process the collected data to obtain the processing result, such as the target duration or termination time.

[0072] Optionally, assuming the output voltage rapidly decreases from 12V to 0V, values ​​above 11V can be excluded by limiting the test range threshold (defined by the bisection method). Therefore, the time T0 corresponding to 1V voltage can be calculated. Then, by calculating the remote end, it is determined that during normal function, the output voltage remains stable and close to 0V at any time Tm. The inverse derivative k = (Um - Un) / (Tm - Tn) can be determined, and the minimum time Tn closest to 0 derivative can be obtained. This time can be determined as the termination time (T2). This process still uses the bisection method. It should be noted that the voltage magnitudes mentioned above are only illustrative examples, and no specific limitations are imposed on the voltage magnitudes here.

[0073] As an optional implementation, step S108, based on the start time and the end time, determines the target duration for the dual battery controller to perform the reset action, including: determining the difference between the start time and the end time as the target duration.

[0074] In this embodiment, the target duration can be the system response time, the start time and the end time can be determined, and the difference between the start time and the end time can be determined as the target duration.

[0075] Alternatively, the target duration can be calculated using the following formula:

[0076] ΔT = T2 - T1

[0077] Here, ΔT can be used to represent the target duration. T2 can be used to represent the termination time. T1 can be used to represent the start time.

[0078] For example, the start time and end time can be obtained, and the difference between the end time and the start time can be determined as the target duration.

[0079] As an optional implementation, step S102, obtaining the output voltage of the drive control terminal of the dual battery controller, includes: controlling the data acquisition unit to obtain the output voltage.

[0080] In this embodiment, the output voltage can be acquired by a data acquisition device to obtain the output voltage.

[0081] Optionally, during the testing process, a data acquisition unit can be deployed in the testing system to test the output voltage and obtain the output voltage.

[0082] Optionally, during vehicle operation, relevant data can be collected via the cloud (e.g., the Internet of Things) to obtain at least one control command. In response to the control command, the dual battery controller is instructed to begin a reset action, and the start time of the reset action can be determined. Simultaneously, the current driving state of the vehicle can be simulated using the collected data to simulate the termination time of the reset action. Furthermore, based on the start and termination times, the target duration of the dual battery controller's reset action can be determined.

[0083] For example, a test system can be constructed to detect the target duration of the reset action performed by a dual-battery controller. After the test system is connected, the power supply in the test system is powered on, and the output of the power supply is set to 12V. The ON switch in the test system is closed, and the controller is powered on. The CAN transceiver and data acquisition device can be started, and the control software can be opened and debugged on the host computer. After the signal zero point is calibrated, the CAN transceiver can trigger the CAN signal control system to complete the drive output to fully light up the bulb L. Then, the CAN transceiver can trigger the CAN signal input reset control message command (i.e., control command) to the dual-battery controller. At this time, the reset message command trigger time (T1) is recorded to obtain the start time. Until the data acquisition device collects the output voltage change from 12V to 0V, the current time is recorded to obtain the end time. Through data calculation, the overall reset action time of the dual-battery control system can be obtained, that is: ΔT = T2 - T1, which is the system response time.

[0084] In this embodiment, a CAN signal transceiver is used to collect the CAN signal (i.e., control command) input to the dual-battery controller. At least one control command can be input to a data acquisition unit, which simultaneously acquires the output voltage change signal from the drive output terminal of the dual-battery controller to obtain the output voltage. This allows for the simultaneous acquisition of the network control signal and the drive output voltage signal of the dual-battery controller. The input trigger time of the network control signal (i.e., control command) is T1, and the output voltage change signal time from the drive control terminal is T2. Through computer algorithm calculation and analysis, the overall input-output time difference of the dual-battery control system can be obtained, which is the overall reset action time (i.e., the target duration).

[0085] In this embodiment of the invention, a control command for the dual battery controller is obtained. Based on the control command, the start time for the dual battery controller to begin executing the reset action is determined. Based on the duration of the output voltage change, the end time for the reset action is determined. Thus, based on the start time and the end time, the duration of the reset action is determined. This achieves the technical effect of increasing the accuracy of determining the reset action duration of the dual battery controller and solves the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0086] According to an embodiment of the present invention, an embodiment of a system for determining the reset action duration of a dual battery controller is provided. The steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0087] Figure 2 This is a schematic diagram of a system for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention. Figure 2 As shown, the system 20 for determining the reset action duration of the dual battery controller may include a control terminal 202 and a test terminal 204.

[0088] Control terminal 202 is used to output at least one control command;

[0089] Test terminal 204 is used to acquire at least one control command from the dual battery controller in the vehicle, determine the start time of the dual battery controller starting to execute the reset action based on the at least one control command, acquire the output voltage of the drive control terminal of the dual battery controller, and determine the end time of the dual battery controller ending the reset action in response to the output voltage meeting the voltage threshold, and determine the target duration of the dual battery controller executing the reset action based on the start time and the end time, wherein the control command is used to control the reset action of the dual battery controller.

[0090] In this embodiment, a system for determining the reset action duration of a dual-battery controller can be constructed. This system may include a control terminal 202 and a test terminal 204. The target duration for completing the reset action can be tested through the control terminal 202 and the test terminal 204.

[0091] Optionally, determining the reset duration of the aforementioned dual-battery controller can also be referred to as a test system. The control terminal may include a CAN transceiver, which can be used to output at least one control command. The test terminal may include a dual-battery main controller, a system input terminal, a system test terminal, a host computer, etc. No specific limitations are placed on the content included in the test terminal here.

[0092] For example, after the power supply in the test system outputs 12V, the constant power supply to the dual battery controller is completed. When the dual battery controller receives the closed signal of the ON switch, its function is activated. At this time, the corresponding control command can be input to the dual battery controller through the CAN transceiver in the control terminal 202. The dual battery controller will then output a high level at the corresponding pin (for high-side control) and a low level at the other pin (for low-side control) through its internal circuit. At this time, the drive control terminal contact switch of the dual battery controller in the test terminal 204 is energized, and the 12V voltage of the main power supply is input to the indicator light L. After forming a circuit, the indicator light illuminates. When the reset conditions of the dual battery controller are met, a corresponding reset control message command (i.e., a control command used to control the dual battery controller to perform a reset action) can be input to the dual battery controller via the CAN transceiver in control terminal 202. The dual battery controller outputs a low level on the corresponding pin (e.g., pin 6) through its internal circuitry, and maintains a low level on another pin (e.g., pin 7). At this time, the drive control terminal contact switch of the dual battery controller will open, and the circuit for the 12V voltage input of the main power supply to the indicator light will be opened, causing the indicator light to turn off. A voltage change of 12V-0V will be generated across the two ends of the indicator light (e.g., between points A1 and A2) for the data acquisition unit to collect.

[0093] Optionally, this embodiment, based on actual testing needs, takes into account the control reset time of the dual battery controller as a whole. It simultaneously collects the front-end network control signal and the back-end switching signal of the dual battery controller on a single time axis to accurately determine the target duration. This solves the problems of inaccurate and incomplete reset time testing in traditional control systems, which cannot reflect the overall reset speed of the system. It achieves the technical effect of high accuracy in determining the reset action duration of the dual battery controller and solves the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0094] In this embodiment, a system for determining the reset action duration of a dual-battery controller is proposed. At least one control command is output through a control terminal 202. At least one control command from the dual-battery controller in the vehicle is acquired through a test terminal. Based on the at least one control command, the start time for the dual-battery controller to begin executing the reset action is determined. The output voltage of the drive control terminal of the dual-battery controller is acquired, and in response to the output voltage meeting a voltage threshold, the end time for the dual-battery controller to finish executing the reset action is determined. Based on the start and end times, the target duration for the dual-battery controller to execute the reset action is determined. The control command is used to control the reset action of the dual-battery controller, thereby achieving a high accuracy rate in determining the reset action duration of the dual-battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual-battery controller.

[0095] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.

[0096] With the development of electric and intelligent technologies in automobiles, high-performance products bring people great comfort. For example, new energy vehicles have a rapid start-up response and a strong "push-back feeling," which greatly stimulates users' experience and desire to buy.

[0097] Currently, dual-battery models are common in new energy vehicles. The target reset time of the dual-battery controller in these models is a crucial indicator for describing how quickly the vehicle resets after a successful start. In testing, accurately determining the reset time of the dual-battery controller allows for precise assessment of its individual performance and also creates a closed-loop feedback loop with the design team, improving the overall response performance of the vehicle's dual-power system.

[0098] In related technologies, dual-battery controllers have multiple electrical signals and multiple network input / output signals. Previous tests only considered the reset time of the dual-battery controller from the battery power supply voltage, typically 12V to 0V. The input control time of the dual-battery controller's front end was not considered in the test. As a result, the reset time of the dual-battery controller obtained in this way is not the overall system reset time. Therefore, it is not accurate to describe the overall reset time performance of the dual-battery controller. There is a technical problem of low accuracy in determining the reset time of the dual-battery controller.

[0099] To address the aforementioned issues, this embodiment proposes a control reset timing test system and method for a dual-battery controller. This method uses a CAN signal transceiver to acquire the input CAN signal from the dual-battery controller and inputs it to a data acquisition unit. Simultaneously, the data acquisition unit acquires the voltage change signal at the drive output terminal of the dual-battery controller. This allows for the simultaneous acquisition of the network control signal and drive output voltage signal of the dual-battery controller. Through computer algorithm calculation and analysis, the overall input-output time difference of the dual-battery controller can be obtained, thereby achieving the technical effect of accurately determining the reset action duration of the dual-battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual-battery controller.

[0100] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments; the numbers in these embodiments are merely illustrative and are not intended to impose specific limitations. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention and are not specifically limited here.

[0101] Optionally, this embodiment, based on actual testing needs, takes into account the control reset time of the dual battery controller as a whole. It simultaneously collects the front-end network control signal and the back-end switching signal of the dual battery controller on a single time axis to accurately determine the target duration. This solves the problems of inaccurate and incomplete reset time testing in traditional control systems, which cannot reflect the overall reset speed of the system. It achieves the technical effect of high accuracy in determining the reset action duration of the dual battery controller and solves the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0102] Figure 3 This is a schematic diagram of a testing system according to an embodiment of the present invention, such as... Figure 3 As shown, the test system may include: a dual battery controller 301, a system input terminal 302, a test terminal 303, and a host computer 304.

[0103] In this embodiment, the pins of the dual-battery controller 301 may include: CAN-H (pin 3011) and CAN-L (pin 3018) connected to the CAN transceiver; pin 3013 connected to the ON switch connected to the main power supply; pin 3019 for acquiring the controller signal ground; pin 30110 for acquiring the controller power positive signal 1; pin 3016 for high-side control; and pin 3017 for low-side control. Pins 3012, 3014, and 3015 in the ECU are left unconnected to any components.

[0104] In this embodiment, the system input terminal 302 may include a main power supply (12V) 3021, an ON / S switch 3022, a wiring harness, and a drive controller 3023. The main power supply can be a 12V main power supply; however, this is only an example and the voltage of the main power supply is not specifically limited. The drive controller can be a relay. The main power supply can be a power supply used to power the vehicle.

[0105] In this embodiment, the test terminal 303 may include a CAN transceiver 3031, a data acquisition unit 3032, an indicator light 3033, a CAN data acquisition line, and an electrical signal acquisition line. The electrical signal acquisition line can be used to acquire voltage signals.

[0106] In this embodiment, the host computer 304 can be used for software operation and data processing.

[0107] In this embodiment, according to Figure 3 As can be seen, during the test, after the main power supply outputs 12V, the constant power supply of the dual battery controller is completed. When the dual battery controller receives the closed signal of the ON switch (S), the dual battery controller function is activated. At this time, the corresponding control signal (i.e., control message command) can be input to the dual battery controller through the CAN transceiver. Then, the dual battery controller can output a high level at pin 3016 for high-side control and a low level at pin 3017 for low-side control after passing through the internal circuit. At this time, the contact switch of the drive control terminal is energized, and the 12V voltage of the main power supply is input to the indicator light (L). After forming a circuit, the indicator light is lit.

[0108] Optionally, when the reset conditions of the dual battery controller are met, the CAN transceiver can input a corresponding reset control message command to the dual battery controller. In response to the reset control message command, the dual battery controller can output a low level at pin 3016 and maintain a low level at pin 3017 through its internal circuitry for low-side control. At this time, the contact switch at the drive control terminal will open, and the circuit for the 12V mains power supply to the indicator light will be opened, causing the indicator light to turn off. During the reset process of the dual battery controller, a voltage change of 12V-0V will occur between points A1 and A2, which will be acquired by the data acquisition unit.

[0109] In this embodiment, regarding the connection of the system input terminal, according to the definition of the dual battery controller, a connection line can be led out from the positive terminal of the main power supply. One line connects in series with the ON switch (S) to pin 3013 of the dual battery controller, another line connects to pin (30110), and a third line connects to the front end of the switch of the drive control terminal contact. An indicator light is connected in series with the rear end of the contact switch and then connected to the negative terminal of the power supply (ground). Another line is led out from the negative terminal of the power supply and connected to pin 3019 (controller ground). Pin 3016 of the dual battery controller is connected to the high-side control pin of the drive control terminal (i.e., the relay), and pin 3017 of the dual battery controller is connected to the low-side control pin of the drive control terminal.

[0110] In this embodiment, for the test terminal connection, the CAN transceiver can lead out one CAN line. The output terminal CAN-H is connected to pin 3011 of the dual battery controller, and the output terminal CAN-L is connected to pin 3018 of the dual battery controller. The input terminal can be connected to the data acquisition unit using a DB9 interface. The voltage signal acquisition of the data acquisition unit includes: CH1+ connected to voltage signal acquisition point A1, and CH1- connected to voltage signal acquisition point A2.

[0111] Alternatively, the data acquisition device can be connected to a host computer via a data cable.

[0112] In this embodiment, after the test system is connected as described above, the power supply is turned on, and the output can be set to 12V. The ON switch (S) is closed, and the controller is powered on. The CAN transceiver and data acquisition unit are started. The control software can be opened on the host computer for debugging. After the signal is calibrated to zero, the CAN transceiver triggers the CAN signal to control the system to complete the drive output, fully illuminating the bulb (L). Then, the CAN transceiver triggers the CAN signal to input a reset control message command (i.e., a control signal) to the dual-battery controller. The trigger time of the reset message command is recorded as T1. This continues until the data acquisition unit detects that the voltage at point A1 has changed from 12V to 0V, at which point T2 is recorded.

[0113] Optionally, through data processing, the overall reset action time of the dual-battery control system can be obtained, i.e., ΔT = T2 - T1, which is the system response time.

[0114] Optionally, for T1, the time of receiving the received message can be obtained by filtering the network management messages sent and received with a specific ID in the CAN message.

[0115] In this embodiment, the point at which the voltage change tends to level off can be determined through iterative calculation. T2 can be calculated as follows: when the output voltage is 1V, the corresponding time is T0; when the output voltage drops to 0, multiple first times (e.g., Tn, Tm) can be determined as the output voltage approaches 0. The derivative can be taken between any two of these first times, for example, by taking the derivative between Tn and Tm, resulting in k = (Um - Un) / (Tm - Tn), where Um represents the voltage corresponding to Tm, and Un represents the voltage corresponding to Tn. This derivative can be used to characterize the slope of the straight line formed between the two points (Tn, Un) and (Tm, Um). The slope can be compared with a pre-set slope (errorK) to determine if the slope is greater than errorK (e.g., it can be 0.01). If the absolute value of the slope (k) is less than errorK, it can be determined that the absolute value of the slope between the two points (first time, first voltage) and (second time, second voltage) is too small, and the point with the larger time can be discarded. For example, if Tm is greater than Tn, Tm can be discarded, and Tn can be determined as the target time. The difference between the target time and the second time can be further calculated. If the absolute value of the difference between the two (|T0-Tm|) is less than the time threshold (|T0-Tm|), for example, the time threshold can be 0.01, then the termination time can be determined as the average of the target time and the second time (Tn=(T0+Tm) / 2).

[0116] Furthermore, if the absolute value of the slope (k) is not less than errorK, it can be determined that the absolute value of the slope between the two points (first time, first voltage) and (second time, second voltage) is too large, and the point with the smaller time can be discarded. For example, if Tm is greater than Tn, Tn can be discarded. Further, a point can be reselected from multiple first times, and the derivative between the selected point and Tm can be calculated. The above steps are then used for further judgment until a derivative with a value less than errorK is found. Using the above method, the minimum time corresponding to when the derivative is close to 0 can be determined from multiple first times, and this minimum time can be determined as the target time. The difference between the target time and the second time can be calculated. If the absolute value of the difference between the two (|T0-Tm|) is less than the time threshold (|T0-Tm|), for example, the time threshold can be 0.01, then the termination time can be determined as the average of the target time and the second time (Tn=(T0+Tm) / 2).

[0117] It should be noted that the above execution logic can be determined by computer coding. For example, the execution logic can be pre-set according to the above logic. After the required data is obtained, the pre-designed coding logic can be used to process the collected data to obtain the processing result, such as the target duration or termination time.

[0118] Optionally, assuming the output voltage rapidly decreases from 12V to 0V, values ​​above 11V can be excluded by limiting the test range threshold (defined by the bisection method). Therefore, the time T0 corresponding to 1V voltage can be calculated. Then, by calculating the remote end, it is determined that during normal function, the output voltage remains stable and close to 0V at any time Tm. The inverse derivative k = (Um - Un) / (Tm - Tn) can be determined, and the minimum time Tn closest to 0 derivative can be obtained. This time can be determined as the termination time (T2). This process still uses the bisection method. It should be noted that the voltage magnitudes mentioned above are only illustrative examples, and no specific limitations are imposed on the voltage magnitudes here.

[0119] For example, Figure 4 This is a schematic diagram of a calculation waveform according to an embodiment of the present invention, such as... Figure 4 As shown, since the time acquisition may be delayed when the voltage is 0, it is impossible to accurately obtain the moment when the voltage is 0. Therefore, to ensure that the determined termination time is infinitely close to the moment when the voltage is 0, T2 can be calculated using the following method: When the voltage drops to 0, multiple voltage-time data can be acquired, such as (1, T0), (Um, Tm), and (Un, Tn). The inverse derivative k = (Um-Un) / (Tm-Tn) between (Um, Tm) and (Un, Tn) can be further calculated to obtain the derivative. If the derivative is less than the slope threshold, it can be determined that (Um, Tm) and (Un, Tn) are both moments when the voltage is 0. The larger time points, such as (Um, Tm), can be removed, and the average of T0 and Tn can be calculated to obtain the moment that is infinitely close to the moment when the voltage is 0. If the derivative result is greater than the slope threshold, a voltage jump between (Um, Tm) and (Un, Tn) can be determined. In this case, (Un, Tn) can be deleted, and the mean between T0 and Tm can be calculated. This mean can be used as the final termination time. It should be noted that the voltage-time data described above is merely an example and can be modified according to actual conditions. For instance, if higher accuracy is required, multiple voltage-time data points can be collected. Following the above method, these data points can be filtered and calculated to obtain an accurate termination time, thus achieving the technical effect of accurately determining the target duration and solving the technical problem of inaccurate target duration determination.

[0120] In this embodiment of the invention, a control command for the dual battery controller is obtained. Based on the control command, the start time for the dual battery controller to begin executing the reset action is determined. Based on the duration of the output voltage change, the end time for the reset action is determined. Thus, based on the start time and the end time, the duration of the reset action is determined. This achieves the technical effect of increasing the accuracy of determining the reset action duration of the dual battery controller and solves the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0121] According to an embodiment of the present invention, a device for determining the reset action duration of a dual-battery controller is also provided. It should be noted that the device for determining the reset action duration of a dual-battery controller in this embodiment can be used to execute the method for determining the reset action duration of a dual-battery controller according to Embodiment 1 of the present invention.

[0122] Figure 5 This is a schematic diagram of a device for determining the reset action duration of a dual-battery controller according to an embodiment of the present invention. Figure 5 As shown, the device 50 for determining the reset action duration of the dual battery controller may include: an acquisition unit 502, a first determination unit 504, a processing unit 506, and a second determination unit 508.

[0123] The acquisition unit 502 is used to acquire at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller.

[0124] The first determining unit 504 is used to determine the start time of the dual battery controller starting to execute the reset action based on at least one control command.

[0125] The processing unit 506 is used to acquire the output voltage of the drive control terminal of the dual battery controller, and in response to the output voltage meeting the voltage threshold, determine the termination time when the dual battery controller ends the execution of the reset action.

[0126] The second determining unit 508 is used to determine the target duration for the dual battery controller to perform a reset action based on the start time and the end time.

[0127] The device for determining the reset action duration of the dual battery controller in this embodiment acquires at least one control command from the dual battery controller in the vehicle through an acquisition unit, wherein the control command is used to control the reset action of the dual battery controller; a first determination unit determines the start time of the dual battery controller starting to execute the reset action based on the at least one control command; a processing unit acquires the output voltage of the drive control terminal of the dual battery controller, and determines the end time of the dual battery controller ending to execute the reset action in response to the output voltage meeting a voltage threshold; a second determination unit determines the target duration of the dual battery controller executing the reset action based on the start time and the end time, thereby achieving the technical effect of high accuracy in determining the reset action duration of the dual battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0128] Embodiments of the present invention can provide a computer terminal, which can be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the computer terminal can also be replaced by a mobile terminal or other terminal device.

[0129] Optionally, in this embodiment, the computer terminal may be located in at least one of a plurality of network devices in a computer network.

[0130] In this embodiment, the computer terminal described above can execute the program code of the following steps in the performance detection method of the operating system: obtaining at least one control command of the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining the start time of the dual battery controller starting to execute the reset action based on the at least one control command; obtaining the output voltage of the drive control terminal of the dual battery controller, and determining the termination time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the dual battery controller executing the reset action based on the start time and the termination time.

[0131] Optionally, Figure 6 This is a structural block diagram of a computer terminal according to an embodiment of the present invention, such as... Figure 6 As shown, the computer terminal 608 may include one or more (only one is shown in the figure) processors 602, memory 604, and transmission devices 606.

[0132] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the operating system performance testing method and apparatus in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned operating system performance testing method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the computer terminal 608 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0133] The processor can invoke information and application programs stored in the memory via a transmission device to perform the following steps: acquiring at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining the start time of the dual battery controller starting to execute the reset action based on the at least one control command; acquiring the output voltage of the drive control terminal of the dual battery controller, and determining the termination time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the dual battery controller executing the reset action based on the start time and the termination time.

[0134] Those skilled in the art will understand that Figure 6 The structure shown is for illustrative purposes only. The computer terminal 608 can also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal device. Figure 6 This does not limit the structure of the computer terminal 608 described above. For example, the computer terminal 608 may also include components that are more advanced than those described above. Figure 6 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 6 The different configurations shown.

[0135] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0136] According to an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored program, wherein the program executes the method for determining the reset action duration of the dual battery controller in Embodiment 1.

[0137] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0138] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: acquiring at least one control command of the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining the start time of the dual battery controller starting to perform the reset action based on the at least one control command; acquiring the output voltage of the drive control terminal of the dual battery controller, and determining the termination time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the dual battery controller performing the reset action based on the start time and the termination time.

[0139] Optionally, the aforementioned computer-readable storage medium may also execute program code that performs the following steps: obtaining at least one control command of the dual battery controller in the vehicle, including: determining identification information of the dual battery controller; and determining at least one control command associated with the identification information.

[0140] Optionally, the computer-readable storage medium may also execute program code that performs the following steps: in at least one control command, a target control command is determined, wherein the target control command is the first command sent and is used to control the dual battery controller to start performing a reset action; the moment when the target control command is received is determined as the start moment.

[0141] Optionally, the computer-readable storage medium may also execute program code that performs the following steps: in response to the output voltage decreasing to a voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; determining a target moment among the plurality of first moments; and determining a termination moment based on the target moment and the second moment.

[0142] Optionally, the aforementioned computer-readable storage medium may also execute program code that performs the following steps: differentiating any two of the plurality of first time points to obtain the derivative result; and determining the target time point based on the derivative result.

[0143] Optionally, the computer-readable storage medium may also execute program code that performs the following steps: determining the difference between the start time and the end time as the target duration.

[0144] Optionally, the computer-readable storage medium may also execute program code that controls the data acquisition unit to acquire the output voltage.

[0145] In this embodiment, control commands from the dual battery controller are obtained. Based on the control commands, the start time for the dual battery controller to begin executing the reset action is determined. Based on the duration of the output voltage change, the end time for the reset action is determined. Thus, based on the start and end times, the duration of the reset action is determined, thereby achieving the technical effect of increasing the accuracy of determining the reset action duration of the dual battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual battery controller.

[0146] According to an embodiment of the present invention, a processor is also provided for running a program, wherein the method for determining the duration of the reset action of the dual battery controller in Embodiment 1 is executed when the program is run by the processor.

[0147] Optionally, in this embodiment, the computer terminal may be located in at least one of a plurality of network devices in a computer network.

[0148] In this embodiment, the computer terminal described above can execute the following steps in the method for determining the duration of the reset action of the dual battery controller: obtaining at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining the start time of the dual battery controller starting to execute the reset action based on the at least one control command; obtaining the output voltage of the drive control terminal of the dual battery controller, and determining the end time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the dual battery controller executing the reset action based on the start time and the end time.

[0149] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the multilingual translation method and apparatus in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned multilingual translation method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0150] The processor can invoke information and application programs stored in the memory via a transmission device to perform the following steps: acquiring at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; determining the start time of the dual battery controller starting to execute the reset action based on the at least one control command; acquiring the output voltage of the drive control terminal of the dual battery controller, and determining the termination time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold; and determining the target duration of the dual battery controller executing the reset action based on the start time and the termination time.

[0151] Optionally, the processor may also execute program code that performs the following steps: determining the identification information of the dual battery controller; and determining at least one control command associated with the identification information.

[0152] Optionally, the processor may also execute program code that performs the following steps: in at least one control command, a target control command is determined, wherein the target control command is the first command sent and is used to control the dual battery controller to start performing a reset action; the moment when the target control command is received is determined as the start moment.

[0153] Optionally, the processor may also execute program code that performs the following steps: in response to the output voltage decreasing to a voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; determining a target moment among the plurality of first moments; and determining a termination moment based on the target moment and the second moment.

[0154] Optionally, the processor may also execute program code that performs the following steps: differentiates any two of the multiple first time points to obtain the derivative result; and determines the target time point based on the derivative result.

[0155] Optionally, the processor may also execute program code that determines the difference between the start time and the end time as the target duration.

[0156] Optionally, the processor may also execute program code that controls the data acquisition unit to obtain the output voltage.

[0157] By employing the embodiments of the present invention, control commands for a dual-battery controller are obtained. Based on the control commands, the start time for the dual-battery controller to begin executing a reset action is determined. Based on the duration of the output voltage change, the end time for the reset action is determined. Thus, based on the start time and the end time, the duration of the reset action is determined, thereby achieving the technical effect of increasing the accuracy of determining the reset action duration of the dual-battery controller and solving the technical problem of low accuracy in determining the reset action duration of the dual-battery controller.

[0158] According to an embodiment of the present invention, a computer program product is also provided, the computer program product including computer instructions, wherein when the computer instructions are executed by a processor, the method for determining the reset action duration of the dual battery controller in Embodiment 1 is implemented.

[0159] Embodiments of this application may provide an electronic device that may include a memory and a processor.

[0160] Figure 7 This is a block diagram of an electronic device for an operating system performance testing method according to an embodiment of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.

[0161] like Figure 7As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 702 or a computer program loaded from storage unit 708 into random access memory (RAM) 703. RAM 703 can also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.

[0162] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 704, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0163] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as data verification methods. For example, in some embodiments, the data verification method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the data verification method described above can be performed. Alternatively, in other embodiments, computing unit 701 can be configured to perform the data verification method by any other suitable means (e.g., by means of firmware).

[0164] According to an embodiment of this application, a performance testing method for an operating system is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0165] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0166] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0167] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0168] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display, monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or pathball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0169] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., a communication network) of any form or medium. Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

[0170] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0171] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0172] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0173] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.

[0174] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0175] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0176] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0177] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for determining the reset action duration of a dual-battery controller, characterized in that, include: Obtain at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller; Based on at least one of the control commands, determine the start time at which the dual battery controller begins to execute the reset action; The output voltage of the drive control terminal of the dual battery controller is obtained, and in response to the output voltage meeting the voltage threshold, the termination time of the dual battery controller ending the execution of the reset action is determined. Based on the start time and the end time, the target duration for the dual battery controller to perform the reset action is determined; The step of determining the start time for the dual battery controller to begin executing the reset action based on at least one of the control commands includes: determining a target control command among the at least one control command, wherein the target control command is the first command sent and is used to control the dual battery controller to begin executing the reset action; and determining the time when the target control command is received as the start time. The step of determining the termination time for the dual-battery controller to end the reset action in response to the output voltage meeting the voltage threshold includes: in response to the output voltage decreasing to the voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; differentiating any two of the plurality of first moments to obtain a derivative result; determining a target moment based on the derivative result; and determining the average between the target moment and the second moment as the termination time.

2. The method according to claim 1, characterized in that, The acquisition of at least one control command from the dual battery controller in the vehicle includes: Determine the identification information of the dual battery controller; Determine at least one of the control commands associated with the identification information.

3. The method according to claim 1, characterized in that, The determination of the target duration for the dual-battery controller to perform the reset action based on the start time and the end time includes: The difference between the start time and the end time is determined as the target duration.

4. The method according to any one of claims 1 to 3, characterized in that, The step of obtaining the output voltage of the drive control terminal of the dual battery controller includes: Control the data acquisition unit to obtain the output voltage.

5. A system for determining the reset action duration of a dual-battery controller, characterized in that, Deployed on the host computer, including The control terminal is used to output at least one control command. The test terminal is used to acquire at least one of the control commands from the dual battery controller in the vehicle, determine the start time of the dual battery controller starting to execute the reset action based on the at least one control command, acquire the output voltage of the drive control terminal of the dual battery controller, and determine the end time of the dual battery controller ending the reset action in response to the output voltage meeting a voltage threshold, and determine the target duration of the dual battery controller executing the reset action based on the start time and the end time, wherein the control command is used to control the reset action of the dual battery controller; The method of determining the start time for the dual battery controller to begin executing the reset action based on at least one of the control commands includes: determining a target control command among the at least one control command, wherein the target control command is the first one sent and is used to control the dual battery controller to begin executing the reset action; and determining the time when the target control command is received as the start time. The method of determining the termination time for the dual-battery controller to end the reset action in response to the output voltage meeting a voltage threshold includes: in response to the output voltage decreasing to the voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; differentiating any two of the plurality of first moments to obtain a derivative result; determining a target moment based on the derivative result; and determining the average between the target moment and the second moment as the termination time.

6. A device for determining the reset action duration of a dual-battery controller, characterized in that, include: The acquisition unit is used to acquire at least one control command from the dual battery controller in the vehicle, wherein the control command is used to control the reset action of the dual battery controller. The first determining unit is configured to determine, based on at least one of the control commands, the start time at which the dual battery controller begins to execute the reset action; The processing unit is configured to acquire the output voltage of the drive control terminal of the dual battery controller, and in response to the output voltage meeting a voltage threshold, determine the termination time when the dual battery controller ends the execution of the reset action; The second determining unit is used to determine the target duration for the dual battery controller to perform the reset action based on the start time and the end time. The first determining unit is configured to determine the start time of the dual battery controller starting to execute the reset action based on at least one of the control commands by means of the following steps: determining a target control command in the at least one control command, wherein the target control command is the first one sent and is used to control the dual battery controller to start executing the reset action; and determining the time when the target control command is received as the start time. The processing unit is configured to determine the termination time of the dual-battery controller ending the reset action in response to the output voltage meeting a voltage threshold by performing the following steps: in response to the output voltage decreasing to the voltage threshold, during the process of the output voltage decreasing to the voltage threshold, determining a plurality of first moments corresponding to when the output voltage is within a target voltage range, and a second moment corresponding to when the output voltage is a target value, wherein the target voltage range does not include the target value, and the first moments are greater than the second moments; differentiating any two of the plurality of first moments to obtain a derivative result; determining a target moment based on the derivative result; and determining the average between the target moment and the second moment as the termination time.

7. A vehicle, characterized in that, Used to perform the method according to any one of claims 1 to 4.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 4.

9. A processor, characterized in that, The processor is used to run a program, wherein the program is executed by the processor to perform the method according to any one of claims 1 to 4.

10. A computer program product, characterized in that, Includes computer instructions that, when executed by a processor, implement the method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Control circuit and method of high-voltage switch, battery management system and vehicle

    CN113771626A

  • Method and device for testing response time of vehicle control system and processor

    CN116679674A