Method, system and device for determining reset action duration of double-storage-battery controller, vehicle, storage medium, processor and program product
By obtaining the control command and output voltage of the dual-battery controller, determining the start and end time of the reset operation, calculating the target duration of the reset operation, solving the problem of low accuracy of the reset operation time in the prior art, and achieving a higher level accuracy.
Patent Information
- Application Number
- CN202411553984.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In the prior art, the accuracy of determining the reset operation time of the dual battery controller is low, and it is impossible to accurately capture the input and output signals, resulting in insufficient accuracy of the reset operation time.
By obtaining the control command of the dual battery controller in the vehicle, it determines the start time when it starts to perform the reset operation, and by obtaining the output voltage of the drive control terminal, it determines the end time of the reset operation in response to the output voltage satisfying the voltage threshold, thereby calculating the reset The target duration of the action.
It realizes accurate measurement of the reset operation time of the dual-battery controller, improves the accuracy of the reset operation time, and solves the problem of low accuracy of the reset operation time.
Smart Images

Figure CN119459441A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicles, and in particular to a method, system, device, vehicle, storage medium, processor and program product for determining the reset action duration of a dual battery controller. Background Art
[0002] At present, there are many types of vehicles with dual battery controllers, and the duration of the dual battery controller reset action is an important indicator to describe the speed of the vehicle reset after successful start. Therefore, it is of great significance to accurately determine the duration of the dual battery controller to perform the reset action.
[0003] In the related art, the dual battery controller has multiple electrical signals and multiple network input and output signals, and is unable to accurately capture the input and output signals. Therefore, there is a technical problem of low accuracy in determining the reset action duration of the dual battery controller.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] Embodiments of the present invention provide a method, system, device, vehicle, storage medium, processor and program product for determining the reset action duration of a dual battery controller, so as 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 an embodiment of the present invention, a method for determining the duration of a reset action of a dual battery controller is provided, and the method may include: obtaining 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; based on the at least one control command, determining the start time when the dual battery controller starts to perform the reset action; obtaining the output voltage of the drive control terminal of the dual battery controller, and in response to the output voltage satisfying a voltage threshold, determining the end time when the dual battery controller ends the reset action; based on the start time and the end time, determining the target duration for the dual battery controller to perform the reset action.
[0007] Optionally, obtaining at least one control command of a dual battery controller in a vehicle includes: determining identification information of the dual battery controller; and determining at least one control command associated with the identification information.
[0008] Optionally, based on at least one control command, determining the start time for the dual battery controller to start performing the reset action includes: determining a target control command in 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 start performing the 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 satisfying a voltage threshold, determining the termination moment at which the dual battery controller ends the reset action, including: in response to the output voltage dropping to the voltage threshold, in the process of the output voltage dropping 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 moment is greater than the second moment; determining a target moment among the plurality of first moments; and determining the termination moment based on the target moment and the second moment.
[0010] Optionally, determining a target moment among a plurality of first moments includes: taking a derivative of any two first moments among the plurality of first moments to obtain a derivative result; and determining the target moment based on the derivative result.
[0011] Optionally, based on the start time and the end time, a 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, obtaining the output voltage of the driving control terminal of the dual battery controller includes: controlling a data collector to obtain the output voltage.
[0013] According to another aspect of an embodiment of the present invention, a system for determining the duration of a reset action of a dual battery controller is provided, and the system may include: a control end, for outputting at least one control command; a test end, for obtaining at least one control command of the dual battery controller in a vehicle, and determining a start time for the dual battery controller to start executing a reset action based on the at least one control command, obtaining the output voltage of the driving control end of the dual battery controller, and determining an end time for the dual battery controller to end executing the reset action in response to the output voltage satisfying 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 end time, wherein the control command is used to control the reset action of the dual battery controller.
[0014] According to another aspect of an embodiment of the present invention, there is also provided a device for determining the duration of a reset action of a dual battery controller, the device may include: an acquisition unit, for acquiring at least one control command of a 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 at least one control command, the start time when the dual battery controller starts to perform 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 when the dual battery controller ends performing the reset action; and a second determination unit, for determining, based on the start time and the end time, the target duration for the dual battery controller to perform the reset action.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute a method for determining the reset action duration of the dual battery controller of an embodiment of the present invention.
[0016] According to another aspect of an embodiment of the present invention, a processor is provided, which is used to run a program, wherein when the program is run by the processor, the method for determining the reset action duration of the dual battery controller of an embodiment of the present invention is executed.
[0017] According to another aspect of an embodiment of the present invention, a program product is also provided, which includes computer instructions, wherein when the computer instructions are executed by a processor, a method for determining the reset action duration of the dual battery controller of an embodiment of the present invention is implemented.
[0018] According to another aspect of an embodiment of the present invention, a vehicle is provided, which can be used to execute the method for determining the reset action duration of the dual battery controller of an embodiment of the present invention.
[0019] In an embodiment of the present invention, at least one control command of 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 at least one control command, the start time of the dual battery controller starting to perform the reset action is determined; the output voltage of the driving control terminal of the dual battery controller is obtained, and in response to the output voltage satisfying the voltage threshold, the end time of the dual battery controller ending the reset action is determined; based on the start time and the end time, the target duration of the dual battery controller performing the reset action is determined. That is, in an embodiment of the present invention, the control command of the dual battery controller is obtained, and based on the control command, the start time of the dual battery controller starting to perform the reset action is determined, and based on the duration of the output voltage change, the end time of the reset action is determined, thereby determining the reset action duration based on the start time and the end time, 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 is a flow chart of a method for determining a reset action duration of a dual battery controller according to an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a system for determining a reset action duration of a dual battery controller according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of a test system according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a calculation waveform according to an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of a device for determining a reset action duration of a dual battery controller according to an embodiment of the present invention;
[0026] Figure 6 is a structural block diagram of a computer terminal according to an embodiment of the present invention;
[0027] Figure 7 It is a block diagram of an electronic device according to a method for detecting performance of an operating system according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work 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 and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[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 of the accompanying drawing can be executed in a computer system such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] In this embodiment, a method for determining the reset action duration of a dual battery controller is proposed. The method can obtain a control command of the dual battery controller, determine the start time when the dual battery controller starts to execute the reset action based on the control command, and determine the end time when the reset action ends based on the duration of the output voltage change, thereby determining the reset action duration based on the start time and the end time, 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.
[0032] Figure 1 FIG. 1 is a flow chart of 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, obtaining at least one control command of a dual battery controller in the vehicle, wherein the control command is used to control a reset action of the dual battery controller.
[0034] In the technical solution provided in the above step S102 of the present invention, the above vehicle can be a new energy vehicle, or a vehicle including a dual battery controller, for example, a dual battery vehicle. It should be noted that this is only an example, and there is no specific restriction on the type of vehicle. The above dual battery controller can be referred to as a controller, and can be a dual battery control system or a dual battery control system, which 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 the battery from being overcharged or over-discharged. The above control command can be a CAN signal sent by a controller area network (Controller Area Network, referred to as CAN) signal transceiver (also referred to as a CAN signal transceiver device), and the expression can be a network management message, a CAN message, and can be used to control the reset action of the dual battery controller. It should be noted that this is only an example, and there is no specific restriction on the expression of the dual battery controller.
[0035] Optionally, at least one control signal sent by the front-end network to the dual battery controller is obtained. The control signal can be used to control the action of the dual battery controller, for example, it can be used to control whether the dual battery controller performs a reset action.
[0036] For example, in a vehicle, when the main power supply in the vehicle outputs a voltage of 12 volts (V), the normal power supply of the dual battery controller is completed, and when the dual battery controller receives the switch (S) closure signal of the upper (ON) gear, the dual battery controller function is activated. At this time, the CAN transceiver in the vehicle can be controlled to input a corresponding control signal to the dual battery controller, and the control signal can be a control signal for activating the dual battery controller. When the reset condition of the dual battery controller is met, the CAN transceiver can be controlled to input a corresponding reset control message command to the dual battery controller to control the dual battery controller to start resetting. The control signal received by the dual battery controller during the startup process or the reset process can be obtained to obtain at least one control signal.
[0037] Optionally, the control signal may include, in addition to the command for controlling the start-up and reset actions of the dual battery controller, a start command for controlling the start-up of the dual battery controller and a shutdown command for controlling the shutdown of the dual battery controller. It should be noted that the control commands for controlling the dual battery controller should be within the protection scope of this application and are not specifically limited here.
[0038] Step S104, based on at least one control command, determining the start time for the dual battery controller to start executing the reset action.
[0039] In the technical solution provided in step S104 of the present invention, the start time may be the input trigger time of the control command, that is, the input trigger time of the CAN signal, which may be represented by T1. It should be noted that this is only an example, and the form of the start time is not specifically limited.
[0040] Optionally, the resetting action of the dual battery controller may refer to an operation of restoring the dual battery controller to an initial state. The dual battery controller may send a control command through a control system inside the vehicle or specific tool software to allow the dual battery controller to perform the resetting action.
[0041] Optionally, when the main power supply in the vehicle outputs 12V voltage, the normal power supply of the dual battery controller is completed, and when the dual battery controller receives the closing signal of the upper (ON) gear switch (S), the dual battery controller function is activated. At this time, the corresponding control signal (that is, the control message command) can be input to the dual battery controller through the CAN transceiver, so the dual battery controller can output a high level through the internal circuit to perform high-side control, and can output a low level at the same time to perform low-side control. At this time, the contact switch of the relay in the vehicle is attracted, and the 12V voltage of the main power supply is input to the indicator light (L). After the loop is formed, the indicator light is lit. Further, when the reset condition of the dual battery controller is met, the CAN transceiver can input a corresponding control signal to the dual battery controller, such as a reset control message command. In response to the control signal, the dual battery controller can output a low level at the pin through the internal circuit to perform low-side control. At this time, the contact switch of the relay will be disconnected, and the circuit of the 12V voltage of the main power supply input to the indicator light will be open immediately, and the indicator light will go out. The moment when the CAN transceiver can input the corresponding control signal to the dual battery controller can be determined as the starting moment of the reset action, that is, the reset message command triggering moment.
[0042] For example, a control command of a user to control a dual battery controller can be obtained, and a command in the control command for controlling the dual battery controller to start performing a reset action can be determined. The triggering time of the control command, or the time when the dual battery controller receives the command, can be determined as the start time. The above start time can also be called the reset start time.
[0043] Step S106, obtaining the output voltage of the driving control terminal of the dual battery controller, and in response to the output voltage satisfying the voltage threshold, determining the termination time of the dual battery controller ending the execution of the reset action.
[0044] In the technical solution provided in the above step S106 of the present invention, the above drive control end can be a relay or a drive controller. When the dual battery controller is working, the dual battery controller can control the contact switch of the drive control end to open or close by outputting the corresponding electrical level. For example, when the dual battery controller starts to perform a reset action, it can output a low electrical level through the internal power to control the contact switch of the drive control end to open, thereby achieving the purpose of controlling the output voltage of the drive control end. In response to the contact switch of the drive control end being disconnected, the output voltage of the drive control end begins to decrease until it reaches 0.
[0045] Optionally, when the dual battery controller starts to perform the reset action, the output voltage of the driving control end of the dual battery controller can be obtained, and the output voltage can be judged. If the output voltage meets the voltage threshold, for example, if the output voltage is 0, it can be determined that the output voltage meets the voltage threshold, and further, the termination time when the dual battery controller ends the reset action can be determined. Among them, the above termination time can be the output voltage change signal moment of the driving control end of the dual battery controller, which can be represented by T2. The above voltage threshold can be a pre-set value, for example, it can be 0 volts. It should be noted that this is only for example, and there is no specific limitation on the form of expression of the termination time and the size of the voltage threshold.
[0046] For example, when the reset condition of the dual battery controller is met, the CAN transceiver can input the corresponding reset control message command to the dual battery controller. The dual battery controller can start to perform the reset action in response to the reset control message command. The dual battery controller can output a low level at the pin through the internal circuit. At this time, the contact switch of the drive control end will be disconnected, and the 12V voltage input of the main power supply to the circuit of the indicator light will be open immediately, and the indicator light will go out. During the reset process of the dual battery controller, a voltage change of 12V-0V will be generated at both ends of the indicator light (between point A1 and point A2) for the data collector to obtain. The voltage collected by the data collector can be determined as the output voltage of the drive control end. 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, thereby achieving the purpose of determining the termination moment when the dual battery controller ends the reset action.
[0047] Step S108, based on the start time and the end time, determine the target duration for the dual battery controller to perform the reset action.
[0048] In the technical solution provided in the above step S108 of the present invention, the above target duration can be the reset action moment of the dual battery controller, can be an important indicator for describing the reset speed after the vehicle is successfully started, can be used to characterize the overall input and output time difference when the dual battery controller performs the reset action, can be the overall reset action moment of the dual battery controller, and can be represented by ΔT. It should be noted that this is only an example, and there is no specific limitation on the form of expression of the target duration.
[0049] Optionally, a start time and an end time are determined, and based on the start time and the end time, a target duration for the dual battery controller to perform the reset action can be determined.
[0050] Optionally, if the reset action duration of the dual battery controller can be accurately measured, on the one hand, the single-piece performance of the dual battery controller can be accurately grasped, and on the other hand, a closed-loop feedback can be formed with the design end to improve the response performance of the dual battery controller of the whole vehicle. Therefore, this embodiment takes into account the control reset time of the dual battery controller as a whole based on the actual test needs, and collects the front-end network control signal and the back-end switch electrical signal of the dual battery controller on a time axis at the same time to achieve the purpose of accurately determining the target duration, thereby solving the problem that the reset time test of the traditional control system is inaccurate and incomplete, and cannot overall reflect the performance problem of the system's reset speed, and achieves the technical effect of determining the accuracy of 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.
[0051] Optionally, the control signal sent by the CAN transceiver during the operation of the vehicle and the operating parameters of the relevant modules in the vehicle are collected. Based on the operating parameters, the control signal used to control the dual battery controller to perform the reset action can be determined, and based on the control signal, the start time can be determined. Further, the output voltage of the relay connected to the dual battery controller can be determined, and when the output voltage meets the voltage threshold, the moment at this time can be determined as the end time. 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.
[0052] For example, during the operation of the vehicle, the control signal sent by the CAN transceiver and the operating parameters of the relevant modules in the vehicle can be collected. Based on the operating parameters, the signal in the control signal used to control the dual battery controller to perform the reset action can be determined, and the start time of the dual battery controller to perform the reset action can be determined based on the issuance time of the control signal. Further, the output voltage of the relay connected to the dual battery controller can be determined, and when the output voltage is reduced to 0, the time when the output voltage is reduced to 0 can be determined as the end time. 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.
[0053] In this embodiment, in addition to determining the target duration of the dual battery controller when the vehicle is running, the above method can also be used to determine the target duration of the dual battery controller of the vehicle by building a test platform to determine the performance of the dual battery controller. For example, a test system can be built, which can include a test end, a system input end, and a host computer, wherein the test end can include a CAN transceiver, a data acquisition device, an indicator light, a CAN data acquisition line, and a voltage signal acquisition line, and the system input end can include a dual battery controller, a main power supply, a relay, and an ON gear switch, and at least one control signal can be obtained, and the CAN transceiver in the test system can be controlled to send a control signal, thereby obtaining the start time, and the output voltage of the dual battery controller can be obtained, and the output voltage can be judged to obtain the end time. The above start time and end time can be collected by a data acquisition device, so that the target duration can be determined based on the start time and the end time.
[0054] Optionally, in the test system, the data collected by the data collector can be transmitted to the host computer, and the host computer can be controlled to calculate and judge the collected data according to a preset judgment logic to determine the target duration.
[0055] Through the above-mentioned 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 at least one control command, the start time of the dual battery controller starting to perform the reset action is determined; the output voltage of the driving control terminal of the dual battery controller is obtained, and in response to the output voltage satisfying the voltage threshold, the end time of the dual battery controller ending the reset action is determined; based on the start time and the end time, the target duration of the dual battery controller performing the reset action is determined. That is, in an embodiment of the present invention, the control command of the dual battery controller is obtained, and based on the control command, the start time of the dual battery controller starting to perform the reset action is determined, and based on the change duration of the output voltage, the end time of the reset action is determined, thereby determining the reset action duration based on the start time and the end time, thereby achieving the technical effect of determining the accuracy of 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 above method of this embodiment is further introduced below.
[0057] As an optional implementation, step S102, obtaining at least one control command of a dual battery controller in a vehicle, includes: determining identification information of the dual battery controller; and determining at least one control command associated with the identification information.
[0058] In this embodiment, the identification information may be the address information of the dual battery controller, or may be the identity (ID) of the dual battery controller. At least one control signal sent by the CAN transceiver may be collected, and at least one control command associated with the identification information may be determined through the identification information of the dual battery controller.
[0059] Optionally, the CAN transceiver can issue control commands corresponding to different modules in the vehicle. Therefore, after obtaining multiple initial control signals issued by the CAN transceiver, the multiple initial control signals can be screened 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, based on at least one control command, determines the starting time for the dual battery controller to start performing the reset action, including: determining a target control command in 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 start performing the reset action; and determining the time when the target control command is received as the starting time.
[0061] In this embodiment, at least one control command may include control commands issued at different times to 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 a reset action can be determined from at least one control command to obtain the target control command. The moment when the dual battery controller receives the target control command can be determined as the start time.
[0062] Optionally, a network management message sent and received by a specific ID in a CAN message is obtained to obtain at least one control command. The at least one control command can be screened to determine a target control command in the at least one control command, and the moment when the target control command is received is determined as the start time, wherein the start time can be the moment when the message is received.
[0063] For example, in a test environment, a test system can be connected. During the test, the power supply in the test system can be controlled to be powered on, the output of the power supply can be set to 12V, the ON switch can be closed, and the dual battery controller is powered on. In response to the completion of the power-on of the dual battery controller, the CAN transceiver and the data acquisition device can be started, and the control software can be opened on the host computer for running and debugging. After the signal is calibrated to zero, the CAN transceiver triggers the CAN signal control system to complete the drive output and fully light up the bulb (L). Afterwards, the CAN transceiver can trigger the CAN signal to input a reset control message command (i.e., a control signal) to the dual battery controller. At this time, the reset message command triggering time is recorded as T1, thereby obtaining the start time.
[0064] As an optional implementation, step S106, in response to the output voltage satisfying the voltage threshold, determines the termination moment when the dual battery controller ends the reset action, including: in response to the output voltage dropping to the voltage threshold, in the process of the output voltage dropping to the voltage threshold, determines 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 is the target value, wherein the target voltage range does not include the target value, and the first moment is greater than the second moment; determines the target moment among the multiple first moments; and determines the termination moment based on the target moment and the second moment.
[0065] In this embodiment, when the output voltage is reduced to the voltage threshold, multiple first moments corresponding to when the output voltage is within the target voltage range and the second moment corresponding to when the output voltage is the target value can be determined in the process of the output voltage being reduced to the voltage threshold. The target moment among the multiple first moments can be determined, and the termination moment can be determined based on the target moment and the second moment. Among them, the above-mentioned target voltage range can be a pre-set voltage range, which can be infinitely close to the 0-point voltage range, for example, it can be 0.1-0.25. The target voltage range does not include the above-mentioned target value. The target value can be a value greater than 0, for example, it can be 2V or 1 volt. This is only for example, and there is no specific restriction on the size of the target voltage range and the target value.
[0066] For example, the first moments corresponding to multiple voltages within the target voltage range are collected. For example, multiple first moments corresponding to the output voltage within the range of 0.5-0.8 volts can be determined to obtain the first moment one, the first moment two and the first moment three, wherein the first moment one is greater than the first moment two, and the first moment two is greater than the first moment three. The slope of the straight line formed by the two points (the first moment one, the first voltage corresponding to the first moment one) and (the first moment two, the second voltage corresponding to the second moment) can be determined. If the slope is less than the preset slope threshold, it means that the voltage change is small at this time, and the larger moment, that is, the first moment one, can be discarded, and the corresponding derivative result between the first moment two and the first moment three can be further calculated. If the derivative result is less than the slope threshold, the first moment two can be discarded, and the first moment three can be determined as the target moment. If the derivative result is greater than the slope threshold, the first moment three can be discarded, and the first moment two can be determined as the target moment. Further, based on the target moment and the second moment, the termination moment can be determined. For example, the mean between the target moment and the second moment can be determined as the termination moment. It should be noted that the above calculation method is only for illustration and no specific limitation is given here.
[0067] As an optional implementation, determining the termination moment based on the derivation result includes: deriving any two first moments among the multiple first moments to obtain a derivation result; and determining the target moment based on the derivation result.
[0068] In this embodiment, determining the termination time based on the derivation result may include: performing derivation on any two first moments among the multiple first moments to obtain a derivation result, and the derivation result may be used to characterize the slope of a straight line formed by points between two (first moments, output voltages corresponding to the first moments). Through the derivation result, a target moment among the multiple first moments may be determined, and based on the target moment and the second moment, the minimum time (i.e., the termination time) corresponding to when the output voltage is closest to 0 among the multiple moments may be determined.
[0069] For example, when the output voltage is 1V, the corresponding moment is T0. When the output voltage decreases to 0, it can be determined that the output voltage is infinitely close to 0, and the corresponding multiple first moments (for example, Tn, Tm) can be derived for any two of the multiple first moments to obtain the derivative result. For example, Tn and Tm can be derived to obtain the derivative result k=(Um-Un) / (Tm-Tn), where Um can be used to represent the voltage corresponding to Tm, and Un can be used to represent the voltage corresponding to Tn. The derivative result 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 preset slope (errorK) to determine whether the slope is greater than errorK (for example, 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 moment, first voltage) and (second moment, second voltage) is too small, and the point with a larger time can be discarded. For example, if Tm is greater than Tn, Tm can be discarded, and Tn is determined as the target moment. The difference between the target moment and the second moment is 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 moment can be determined as the average between the target moment and the second moment (Tn=(T0+Tm) / 2).
[0070] Further, 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 moment, first voltage) and (second moment, second voltage) is too large, and the point with a 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 moments, and the derivative result between the selected point and Tm is calculated, and further judgment is performed through the above steps until there is a derivative result less than errorK. Through the above method, the minimum time corresponding to the derivative close to 0 is determined from multiple first moments, and the minimum time can be determined as the target moment. The difference between the target moment and the second moment 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 mean between the target moment and the second moment (Tn=(T0+Tm) / 2).
[0071] It should be noted that the above-mentioned execution logic can be determined by computer coding. For example, the coded execution logic can be pre-set according to the above-mentioned logic. After obtaining the required data, the collected data can be processed using the pre-designed coding logic to obtain the processing results, such as the target duration or end time.
[0072] Optionally, assuming that the output voltage decreases rapidly from 12V to 0V, the test range threshold limit can be used to exclude values above 11V (defined by binary search). Therefore, the time T0 corresponding to the 1V voltage can be calculated. After that, by calculating the remote end to determine normal function, at any time Tm, the output voltage remains stable and close to 0V, and the reverse derivative k=(Um-Un) / (Tm-Tn) can be determined. The minimum time Tn closest to the derivative of 0 is solved, and this time can be determined as the termination time (T2). This process is still carried out using binary search. It should be noted that the above voltage magnitudes are only for example purposes, and there is no specific limitation 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 may be the system response time, the start time and the end time may be determined, and the difference between the start time and the end time may be determined as the target duration.
[0075] Optionally, the target duration can be calculated using the following formula:
[0076] ΔT=T2-T1
[0077] Wherein, ΔT can be used to indicate the target duration, T2 can be used to indicate the end time, and T1 can be used to indicate the start time.
[0078] For example, the start time and the end time may be obtained, and the difference between the end time and the start time may be determined as the target duration.
[0079] As an optional implementation, step S102, obtaining the output voltage of the driving control terminal of the dual battery controller, includes: controlling a data collector to obtain the output voltage.
[0080] In this embodiment, the output voltage may be collected by a data collector to obtain the output voltage.
[0081] Optionally, during the test process, a data collector may be deployed in the test system, and the output voltage may be tested by the data collector to obtain the output voltage.
[0082] Optionally, during the driving of the vehicle, relevant data of the vehicle during driving can be collected through the cloud (e.g., the Internet of Things) to obtain at least one control instruction. In response to the control instruction, the dual battery controller is used to control the dual battery controller to start executing the reset action, and the time to start executing the reset action can be determined to obtain the start time. At the same time, the current driving state of the vehicle can be simulated through the collected data to simulate the end time of the reset action. Furthermore, based on the start time and the end time, the target duration for the dual battery controller to execute the reset action can be determined.
[0083] For example, a test system can be constructed to detect the target duration of the dual battery controller to perform the reset action. After the test system is connected, the power supply in the test system is powered on, 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 is opened on the host computer for running and debugging. After the signal is calibrated to zero, the CAN transceiver can trigger the CAN signal control system to complete the drive output to fully light up the bulb L. After that, the CAN transceiver can trigger the CAN signal input reset control message command (that is, control command) to the dual battery controller, and 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 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 device is used to collect CAN signals (i.e., control commands) input to the dual battery controller, and at least one collected control command can be input to a data collector. At the same time, the data collector collects the output voltage change signal of the drive output end of the dual battery controller to obtain the output voltage, thereby realizing the simultaneous collection 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 output by the drive control end is T2. Through computer algorithm calculation and analysis, the overall input and output time difference of the dual battery control system can be obtained, which is the overall reset action time (i.e., target duration).
[0085] In an embodiment of the present invention, a control command of a dual battery controller is obtained, and based on the control command, a start time for the dual battery controller to start executing a reset action is determined, and based on the duration of the output voltage change, an end time for ending the reset action is determined, thereby determining the duration of the reset action based on the start time and the end time, thereby achieving the technical effect of accurately determining the duration of the reset action of the dual battery controller and solving the technical problem of low accuracy in determining the duration of the reset action 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 of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0087] Figure 2 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 end 202 and a test end 204 .
[0088] The control terminal 202 is used to output at least one control command;
[0089] The test terminal 204 is used to obtain at least one control command of the dual battery controller in the vehicle, determine the start time of the dual battery controller to start executing the reset action based on the at least one control command, obtain the output voltage of the driving control terminal of the dual battery controller, and in response to the output voltage satisfying the voltage threshold, determine the end time of the dual battery controller to end executing the reset action, and determine the target duration of the dual battery controller to execute 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 the dual battery controller can be constructed. The system can 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, the determination of the reset action duration of the dual battery controller can also be referred to as a test system. The control terminal can include a CAN transceiver, which can be used to output at least one control command. The test terminal can include a dual battery main controller, a system input terminal, a system test terminal, a host computer, etc., and the content contained in the test terminal is not specifically limited here.
[0092] For example, after the power supply in the test system outputs 12V voltage, the normal power supply of the dual battery controller is completed, and when the dual battery controller receives the closing signal of the ON gear switch, the function of the dual battery controller is activated. At this time, the corresponding control command can be input to the dual battery controller through the CAN transceiver in the control end 202, and then the dual battery controller outputs a high level at the corresponding pin through the internal circuit to perform high-side control) and outputs a low level at another pin to perform low-side control). At this time, the drive control end contact switch of the dual battery controller in the test end 204 is pulled in, and the 12V voltage of the main power supply is input to the indicator light L. After the loop is formed, the indicator light is lit. When the reset condition of the dual battery controller is met, the corresponding reset control message command (i.e., the control command for controlling the dual battery controller to perform the reset action) can be input to the dual battery controller through the CAN transceiver in the control terminal 202. The dual battery controller outputs a low level at the corresponding pin (e.g., pin 6#) through the internal circuit, and outputs a low level unchanged at another pin (e.g., pin 7#). At this time, the contact switch at the driving control end of the dual battery controller will be disconnected, and the circuit of the 12V voltage input of the main power supply to the indicator light will be opened immediately, and the indicator light will go out. At both ends of the indicator light (e.g., between point A1 and point A2), a voltage change of 12V-0V will be generated for data acquisition by the data collector.
[0093] Optionally, this embodiment takes into account the control reset time of the dual battery controller as a whole based on actual testing needs, and collects the front-end network control signal and the back-end switch electrical signal of the dual battery controller on a time axis at the same time to achieve the purpose of accurately determining the target duration, thereby solving the performance problem that the reset time test of the traditional control system is inaccurate and incomplete, and cannot comprehensively reflect the reset speed of the system, and achieves the technical effect of accurately 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 duration of a reset action of a dual battery controller is proposed, wherein at least one control command is output through a control terminal 202; at least one control command of the dual battery controller in a vehicle is obtained through a test terminal, and based on the at least one control command, a start time for the dual battery controller to start executing the reset action is determined, an output voltage of a driving control terminal of the dual battery controller is obtained, and in response to the output voltage satisfying a voltage threshold, an end time for the dual battery controller to end executing the reset action is determined, and based on the start time and the end time, a target duration for the dual battery controller to execute the reset action is determined, wherein the control command is used to control the reset action of the dual battery controller, thereby achieving a technical effect of accurately determining the duration of the reset action of the dual battery controller and solving the technical problem of low accuracy in determining the duration of the reset action of the dual battery controller.
[0095] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0096] With the development of automobile electrification and intelligent technology, high-performance products bring great comfort to people. For example, new energy vehicles have a quick response when started and have a strong "push back feeling", which greatly stimulates the user's experience and desire to buy.
[0097] At present, there are many dual-battery models in new energy vehicles. The target duration of the reset action of the dual-battery controller in this model is an important indicator used to describe the speed of reset after the vehicle is successfully started. In the test, if the reset action duration of the dual-battery controller can be accurately determined, on the one hand, the single-piece performance of the dual-battery controller can be accurately grasped, and on the other hand, a closed-loop feedback can be formed with the design end to improve the response performance of the dual power system of the whole vehicle.
[0098] In the related art, the dual battery controller has multiple electrical signals and multiple network input and output signals. Previous tests only considered the action reset moment of the back end of the dual battery controller from the battery power supply voltage, generally 12 volts to 0V, and the input control moment of the front end of the dual battery controller was not considered in the test. The duration of the reset action of the dual battery controller obtained in this way is not the overall reset duration of the system, and is not accurate in describing the overall reset moment performance of the dual battery controller. There is a technical problem of low accuracy in determining the reset action duration of the dual battery controller.
[0099] To solve the above problems, in this embodiment, a control reset time test system and method for a dual battery controller are proposed. The method collects CAN signals input into the dual battery controller through a CAN signal transceiver device, and inputs the signals into a data collector. At the same time, the data collector collects the change signal of the driving output terminal voltage of the dual battery controller, thereby realizing the simultaneous collection of the network control signal and the driving output voltage signal of the dual battery controller. Through computer algorithm calculation and analysis, the overall input and output time difference of the dual battery controller can be obtained, thereby achieving the technical effect of determining the accuracy of 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 following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments; the size of the numbers in the embodiments is only for illustration and is not specifically limited here. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention and are not specifically limited here.
[0101] Optionally, this embodiment takes into account the control reset time of the dual battery controller as a whole based on actual testing needs, and collects the front-end network control signal and the back-end switch electrical signal of the dual battery controller on a time axis at the same time to achieve the purpose of accurately determining the target duration, thereby solving the performance problem that the reset time test of the traditional control system is inaccurate and incomplete, and cannot comprehensively reflect the reset speed of the system, and achieves the technical effect of accurately 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 is a schematic diagram of a test system according to an embodiment of the present invention. 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 obtaining the controller signal ground; pin 30110 for obtaining the controller power positive signal 1; pin 3016 for high-side control; pin 3017 for low-side control. Among them, pins 3012, 3014, and 3015 in the ECU are suspended and not connected to any components.
[0104] In this embodiment, the system input terminal 302 may include a main power supply (12V) 3021, an ON switch (S) 3022, a connecting harness, and a drive controller 3023. The main power supply may be a 12V main power supply. It should be noted that this is only an example, and the voltage of the main power supply is not specifically limited. The drive controller may be a relay. The main power supply may be a power supply for powering the vehicle.
[0105] In this embodiment, the test end 303 may include a CAN transceiver 3031, a data collector 3032, an indicator light 3033, a CAN data collection line, and an electrical signal collection line, wherein the electrical signal collection line may be used to collect voltage signals.
[0106] In this embodiment, the host computer 304 can be used to run software and process data.
[0107] In this embodiment, according to Figure 3 It can be seen that during the test, when the main power supply outputs 12V voltage, the normal power supply of the dual battery controller is completed, and when the dual battery controller receives the closing signal of the ON gear switch (S), the dual battery controller function is activated. At this time, the corresponding control signal (that is, the control message command) can be input to the dual battery controller through the CAN transceiver, and then the dual battery controller can output a high level at pin 3016 through the internal circuit for high-side control, and output a low level at pin 3017 for low-side control. At this time, the contact switch at the drive control end is pulled in, and the 12V voltage of the main power supply is input to the indicator light (L). After the loop is formed, the indicator light is on.
[0108] Optionally, when the reset condition of the dual battery controller is met, the CAN transceiver can input the 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 through the internal circuit and output a low level unchanged at pin 3017 to perform low-side control. At this time, the contact switch at the drive control end will be disconnected, and the 12V voltage input of the main power supply to the circuit of the indicator light will be opened immediately, and the indicator light will go out. During the reset process of the dual battery controller, a voltage change of 12V-0V will be generated between point A1 and point A2 for acquisition by the data collector.
[0109] In this embodiment, for the connection of the system input end, according to the definition of the dual battery controller, a connecting line can be led out from the positive pole of the main power supply, one line is connected in series with the ON switch (S) to the pin 3013 of the dual battery controller, one line is connected to the pin (30110), and one line is connected to the front end of the switch of the drive control end contact. The back end of the contact switch is connected to the negative pole of the power supply (ground) after being connected in series with the indicator light. Another line is led out from the negative pole of the power supply and connected to the pin 3019 (controller ground). The pin 3016 of the dual battery controller is connected to the high-side control pin of the drive control end (that is, the relay), and the pin 3017 of the dual battery controller is connected to the low-side control pin of the drive control end.
[0110] In this embodiment, for the test end connection, the CAN transceiver can lead out a CAN line, the output end CAN-H is connected to the pin 3011 of the dual battery controller, and the output end CAN-L is connected to the pin 3018 of the dual battery controller. The input end can be connected to the data collector using a DB9 interface. Among them, the voltage signal collection of the data collector includes: CH1+ is connected to the voltage signal collection point A1, and CH1- is connected to the voltage signal collection point A2.
[0111] Optionally, the data logger can be connected to the host computer via a data cable.
[0112] In this embodiment, after the test system is connected according to the above content, the power supply is powered on, the output can be set to 12V, the ON switch (S) is closed, and the controller is powered on. The CAN transceiver and the data collector are started, and 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 control system to complete the drive output and fully light up the bulb (L). After that, the CAN transceiver triggers the CAN signal input reset control message command (that is, control signal) to the dual battery controller. At this time, the reset message command triggering time is recorded as T1, until the data collector collects the voltage at point A1 from 12V to 0V, and the recording time is T2.
[0113] Optionally, through data processing, 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.
[0114] Optionally, for T1, the network management message sent and received by a specific ID in the CAN message can be obtained for screening, and the time of receiving the message can be obtained, that is, T1.
[0115] In this embodiment, the time point when the voltage change tends to be flat can be determined by iterative calculation, and T2 can be calculated by the following content: when the output voltage is 1V, the corresponding time is T0, when the output voltage is reduced to 0, it can be determined that the output voltage is infinitely close to 0, and the corresponding multiple first moments (for example, Tn, Tm), any two of the multiple first moments can be derived to obtain the derivative result, for example, Tn and Tm can be derived to obtain the derivative result k=(Um-Un) / (Tm-Tn), where Um can be used to represent the voltage corresponding to Tm, and Un can be used to represent the voltage corresponding to Tn. The derivative result 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 preset slope (errorK) to determine whether the slope is greater than errorK (for example, 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 moment, first voltage) and (second moment, second voltage) is too small, and the point with a larger time can be discarded. For example, if Tm is greater than Tn, Tm can be discarded, and Tn is determined as the target moment. The difference between the target moment and the second moment is 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 moment can be determined as the average between the target moment and the second moment (Tn=(T0+Tm) / 2).
[0116] Further, 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 moment, first voltage) and (second moment, second voltage) is too large, and the point with a 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 moments, and the derivative result between the selected point and Tm is calculated, and further judgment is performed through the above steps until there is a derivative result less than errorK. Through the above method, the minimum time corresponding to the derivative close to 0 is determined from multiple first moments, and the minimum time can be determined as the target moment. The difference between the target moment and the second moment 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 mean between the target moment and the second moment (Tn=(T0+Tm) / 2).
[0117] It should be noted that the above-mentioned execution logic can be determined by computer coding. For example, the coded execution logic can be pre-set according to the above-mentioned logic. After obtaining the required data, the collected data can be processed using the pre-designed coding logic to obtain the processing results, such as the target duration or end time.
[0118] Optionally, assuming that the output voltage decreases rapidly from 12V to 0V, the test range threshold limit can be used to exclude values above 11V (defined by binary search). Therefore, the time T0 corresponding to the 1V voltage can be calculated. After that, by calculating the remote end to determine normal function, at any time Tm, the output voltage remains stable and close to 0V, and the reverse derivative k=(Um-Un) / (Tm-Tn) can be determined. The minimum time Tn closest to the derivative of 0 is solved, and this time can be determined as the termination time (T2). This process is still carried out using binary search. It should be noted that the above voltage magnitudes are only for example purposes, and there is no specific limitation on the voltage magnitudes here.
[0119] For example, Figure 4 is a schematic diagram of a calculation waveform according to an embodiment of the present invention, such as Figure 4 As shown, when the voltage is 0, the collected time may be delayed, and the moment when the voltage is 0 cannot be accurately obtained. Therefore, in order to make the determined termination time infinitely close to the moment when the voltage is 0, T2 can be calculated by the following method: When the voltage is reduced to 0, multiple voltage-time data can be collected, such as (1, T0), (Um, Tm) and (Un, Tn). The reverse derivative k=(Um-Un) / (Tm-Tn) between (Um, Tm) and (Un, Tn) can be further calculated to obtain the derivative result. If the derivative result is less than the slope threshold, it can be determined that (Um, Tm) and (Un, Tn) are both the corresponding moments when the voltage is 0, then the larger time point can be removed, such as (Um, Tm), and the mean between T0 and Tn is calculated to obtain the moment that is infinitely close to the voltage being 0. If the derivative result is greater than the slope threshold, it can be determined that there is a voltage mutation between (Um, Tm) and (Un, Tn), then (Un, Tn) can be deleted, and the mean between T0 and Tm can be calculated, and the mean can be determined as the final termination time. It should be noted that the above voltage-time data can only be used as an example and can be changed according to actual conditions. For example, if higher accuracy is required, multiple voltage-time data can be collected. According to the above method, the collected multiple voltage-time data can be screened and calculated to obtain an accurate termination time, thereby achieving the technical effect of accurately determining the target duration and solving the technical problem of being unable to accurately determine the target duration.
[0120] In an embodiment of the present invention, a control command of a dual battery controller is obtained, and based on the control command, a start time for the dual battery controller to start executing a reset action is determined, and based on the duration of the output voltage change, an end time for ending the reset action is determined, thereby determining the duration of the reset action based on the start time and the end time, thereby achieving the technical effect of accurately determining the duration of the reset action of the dual battery controller and solving the technical problem of low accuracy in determining the duration of the reset action of the dual battery controller.
[0121] According to an embodiment of the present invention, a device for determining the duration of a reset action of a dual battery controller is also provided. It should be noted that the device for determining the duration of a reset action of a dual battery controller of this embodiment can be used to execute the method for determining the duration of a reset action of a dual battery controller of embodiment 1 of the present invention.
[0122] Figure 5 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 of 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 for the dual battery controller to start executing the reset action based on at least one control command.
[0125] The processing unit 506 is used to obtain the output voltage of the driving control terminal of the dual battery controller, and in response to the output voltage meeting the voltage threshold, determine the termination time of the dual battery controller to end 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 the reset action based on the start time and the end time.
[0127] The device for determining the duration of the reset action of the dual battery controller of this embodiment obtains at least one control command of 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; determines the start time of the dual battery controller starting to execute the reset action based on at least one control command through a first determination unit; obtains the output voltage of the drive control terminal of the dual battery controller through a processing unit, and determines the end time of the dual battery controller ending the reset action in response to the output voltage satisfying the voltage threshold; determines the target duration of the dual battery controller executing the reset action based on the start time and the end time through a second determination unit, thereby achieving the technical effect of accurately determining the duration of the reset action of the dual battery controller and solving the technical problem of low accuracy in determining the duration of the reset action of the dual battery controller.
[0128] The embodiment of the present invention can provide a computer terminal, which can be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal can also be replaced by a terminal device such as a mobile terminal.
[0129] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0130] In this embodiment, the above-mentioned computer terminal 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; based on at least one control command, determining the start time when the dual battery controller starts to execute the reset action; obtaining the output voltage of the drive control end of the dual battery controller, and in response to the output voltage satisfying the voltage threshold, determining the end time when the dual battery controller ends the reset action; based on the start time and the end time, determining the target duration for the dual battery controller to execute the reset action.
[0131] Optionally, Figure 6 is a structural block diagram of a computer terminal according to an embodiment of the present invention. Figure 6 As shown, the computer terminal 608 may include: one or more (only one is shown in the figure) processors 602 , a memory 604 , and a transmission device 606 .
[0132] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the performance detection method and device of the operating system in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the performance detection method of the above-mentioned operating system. The memory may include a high-speed random access memory, and may also include a 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 a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 608 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0133] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain 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; based on at least one control command, determine the start time when the dual battery controller starts to perform the reset action; 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 end time when the dual battery controller ends the reset action; based on the start time and the end time, determine the target duration for the dual battery controller to perform the reset action.
[0134] It can be understood by those skilled in the art that Figure 6 The structure shown is for illustration only, and the computer terminal 608 may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, referred to as MID), a PAD, or other terminal devices. Figure 6 The structure of the computer terminal 608 is not limited. For example, the computer terminal 608 may also include Figure 6 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 6 Different configurations are shown.
[0135] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0136] According to an embodiment of the present invention, there is further provided a computer-readable storage medium, the computer-readable storage medium comprising 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 one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
[0138] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining at least one control command of a dual battery controller in a vehicle, wherein the control command is used to control a reset action of the dual battery controller; determining a start time for the dual battery controller to start performing the reset action based on at least one control command; obtaining the output voltage of the drive control terminal of the dual battery controller, and in response to the output voltage satisfying a voltage threshold, determining an end time for the dual battery controller to end performing the reset action; and determining a target duration for the dual battery controller to perform the reset action based on the start time and the end time.
[0139] Optionally, the computer-readable storage medium may also execute program code for the following steps: obtaining at least one control command of a dual battery controller in a 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 can also execute program code of the following steps: in at least one control command, determine a target control command, 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; and determine the moment when the target control command is received as the start moment.
[0141] Optionally, the computer-readable storage medium may also execute program code for the following steps: in response to the output voltage decreasing to a voltage threshold, in 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 moment is greater than the second moment; 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 computer-readable storage medium may also execute program code of the following steps: deriving any two first moments among a plurality of first moments to obtain a derivative result; and determining a target moment based on the derivative result.
[0143] Optionally, the computer-readable storage medium may also execute program code for 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 codes of the following steps: controlling a data collector to obtain an output voltage.
[0145] In this embodiment, a control command of the dual battery controller is obtained, and based on the control command, the start time for the dual battery controller to start executing the reset action is determined, and based on the duration of the output voltage change, the end time for ending the reset action is determined, thereby determining the reset action duration based on the start time and the end time, 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.
[0146] According to an embodiment of the present invention, a processor is also provided, which is used to run a program, wherein when the program is run by the processor, the method for determining the reset action duration of the dual battery controller in Example 1 is executed.
[0147] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0148] In the present embodiment, the above-mentioned computer terminal can execute the program code of 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 of 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 control command, determining the start time when the dual battery controller starts to perform the reset action; obtaining the output voltage of the driving control terminal of the dual battery controller, and in response to the output voltage satisfying the voltage threshold, determining the end time when the dual battery controller ends the reset action; based on the start time and the end time, determining the target duration for the dual battery controller to perform the reset action.
[0149] Wherein, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the multilingual translation method and device in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned multilingual translation method. The memory may include a high-speed random access memory, and may also include a 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 a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0150] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain 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; based on at least one control command, determine the start time when the dual battery controller starts to perform the reset action; 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 end time when the dual battery controller ends the reset action; based on the start time and the end time, determine the target duration for the dual battery controller to perform the reset action.
[0151] Optionally, the processor may also execute program codes of the following steps: determining 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 the program code of the following steps: determining a target control command in 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 start performing a reset action; and determining the moment when the target control command is received as the start moment.
[0153] Optionally, the processor may also execute program code of the following steps: in response to the output voltage decreasing to a voltage threshold, in 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 moment is greater than the second moment; 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 of the following steps: deriving any two first moments among the multiple first moments to obtain a derivative result; and determining a target moment based on the derivative result.
[0155] Optionally, the processor may also execute a program code of the following steps: determining the difference between the start time and the end time as the target duration.
[0156] Optionally, the processor may also execute program codes of the following steps: controlling a data collector to obtain an output voltage.
[0157] By adopting the embodiment of the present invention, a control command of a dual battery controller is obtained, and based on the control command, the start time for the dual battery controller to start executing the reset action is determined, and based on the duration of the output voltage change, the end time for ending the reset action is determined, thereby determining the reset action duration based on the start time and the end time, 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.
[0158] According to an embodiment of the present invention, a computer program product is also provided, which includes 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 Example 1 is implemented.
[0159] An embodiment of the present application may provide an electronic device, which may include a memory and a processor.
[0160] Figure 7 It is a block diagram of an electronic device according to a performance detection method of an operating system according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0161] like Figure 7As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 to a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0162] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 704, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0163] The computing unit 701 may be a variety of general and / or special 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 dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as a verification method for data. For example, in some embodiments, the verification method for data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the data verification method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the data verification method in any other appropriate manner (e.g., by means of firmware).
[0164] According to an embodiment of the present application, a performance detection method for an operating system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0165] Various embodiments of the systems and techniques described above herein may 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 embodiments may include: being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor that may be a dedicated or general purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0166] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0167] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0168] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display, monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a path ball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0169] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
[0170] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0171] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0172] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0173] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units can be a logical function division, and there can be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0174] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0175] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0176] If the integrated unit is implemented in the form of 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0177] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as 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: Acquire at least one control command of a dual battery controller in a vehicle, wherein the control command is used to control a reset action of the dual battery controller; Based on at least one of the control commands, determining a start time for the dual battery controller to start executing the reset action; Acquiring an output voltage of a driving control terminal of the dual battery controller, and in response to the output voltage satisfying a voltage threshold, determining a termination time for the dual battery controller to terminate the execution of the reset action; Based on the start time and the end time, a target duration for the dual battery controller to perform the resetting action is determined.
2. The method according to claim 1, characterized in that The obtaining of at least one control command of a dual battery controller in a vehicle comprises: Determining identification information of the dual battery controller; Determine at least one control command associated with the identification information.
3. The method according to claim 1, characterized in that The step of determining the start time of the dual battery controller to start executing the reset action based on at least one of the control commands includes: Determine a target control command in 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 start executing the reset action; The time when the target control command is received is determined as the start time.
4. The method according to claim 1, characterized in that: In response to the output voltage satisfying the voltage threshold, determining the termination time for the dual battery controller to end the execution of the reset action includes: In response to the output voltage decreasing to the voltage threshold, in 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 moment is greater than the second moment; determining a target moment among the plurality of first moments; The termination time is determined based on the target time and the second time.
5. The method according to claim 4, characterized in that The determining of a target moment among the plurality of first moments comprises: Derivatively determining any two first moments among the plurality of first moments to obtain a derivative result; Based on the derivation result, the target time is determined.
6. The method according to claim 1, characterized in that The step of determining a 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.
7. The method according to any one of claims 1 to 6, characterized in that: The step of obtaining the output voltage of the driving control terminal of the dual battery controller comprises: Control the data collector to obtain the output voltage.
8. A system for determining the reset action duration of a dual battery controller, characterized in that: Deployed on the host computer, including A control terminal, used for outputting at least one control command; A test end is used to obtain at least one control command of a dual battery controller in a vehicle, determine a start time for the dual battery controller to start performing a reset action based on at least one control command, obtain an output voltage of a drive control end of the dual battery controller, and determine an end time for the dual battery controller to end performing the reset action in response to the output voltage satisfying a voltage threshold, and determine a target duration for the dual battery controller to perform 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.
9. A device for determining the reset action duration of a dual battery controller, characterized in that: include: An acquisition unit, used for acquiring at least one control command of a dual battery controller in a vehicle, wherein the control command is used for controlling a reset action of the dual battery controller; A first determining unit, configured to determine, based on at least one of the control commands, a start time for the dual battery controller to start executing the reset action; a processing unit, configured to obtain an output voltage of a driving control terminal of the dual-battery controller, and in response to the output voltage satisfying a voltage threshold, determine a termination time for the dual-battery controller to terminate the execution of the reset action; The second determining unit is used to determine a target duration for the dual battery controller to perform the resetting action based on the starting time and the ending time.
10. A vehicle, characterized in that: Used to perform the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
12. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 7 when run by the processor.
13. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control circuit and method of high-voltage switch, battery management system and vehicle
CN113771626A
Control circuit
CN115296524A
Method and device for testing response time of vehicle control system and processor
CN116679674A
Compact electrical equipment
JP1989128113A
Portable information terminal
JP2003029868A