汽车启动负荷的检测方法、装置、设备及存储介质Detection method, device, equipment and storage medium of automobile starting load
本申请以2020年04月15日提交的申请号为202010296079.2,名称为“汽车启动负荷的检测方法、装置、设备及存储介质”的中国专利申请为基础,并要求其优先权。This application is based on the Chinese patent application filed on April 15, 2020 with the application number 202010296079.2 and titled "Automobile starting load detection method, device, equipment and storage medium", and claims its priority.
技术领域Technical field
本申请涉及检测技术领域,尤其涉及的是一种汽车启动负荷的检测方法、装置、设备及存储介质。This application relates to the field of detection technology, and in particular to a detection method, device, equipment, and storage medium for vehicle startup load.
背景技术Background technique
汽车蓄电池是汽车电气设备中的两个电源之一,主要用于:在发动机启动时蓄电池向启动机提供大电流;在汽车电气系统大负荷工作时,比如开前照灯、按喇叭、开音响等情况下,蓄电池和发电机一起向用电设备供电;在电气系统产生瞬时高压时,蓄电池作为电容器吸收瞬时高电压,保护汽车电器系统以免损坏;在发动机不工作时,蓄电池为车载的各种电器提供电源。Car battery is one of the two power sources in automotive electrical equipment. It is mainly used for: when the engine starts, the battery provides a large current to the starter; when the automotive electrical system is working under heavy load, such as turning on the headlights, honking the horn, and turning on the sound Under such circumstances, the battery and generator provide power to the electrical equipment together; when the electrical system generates instantaneous high voltage, the battery acts as a capacitor to absorb the instantaneous high voltage to protect the automobile electrical system from damage; when the engine is not working, the battery is a variety of vehicle-mounted Electrical appliances provide power.
因此为了保证汽车能够正常使用,需要对汽车蓄电池进行定期检查,检测蓄电池的容量是否充足。发明人发现,现有技术主要通过万用表检测蓄电池的电压或者通过经验判断启动时发动机的转速或者通过蓄电池测试仪检测蓄电池的启动容量,均为一次过的数据采集方式,若检测过程出现技术或记录偏差时,容易导致检测数据不准确,无法及时发现蓄电池老化。Therefore, in order to ensure that the car can be used normally, it is necessary to regularly check the car battery to check whether the battery capacity is sufficient. The inventor found that the prior art mainly uses a multimeter to detect the battery voltage or empirically judges the engine speed at startup, or uses a battery tester to detect the battery's starting capacity, both of which are one-time data collection methods. Deviations can easily lead to inaccurate detection data and fail to detect battery aging in time.
发明内容Summary of the invention
本申请提供一种启动负荷的检测方法、装置、设备及存储介质,以解决现有技术在检测汽车蓄电池容量时采用一次过的数据采集方式存在的检测准确度欠佳、无法及时发现蓄电池老化的问题。This application provides a starting load detection method, device, equipment and storage medium to solve the problem of poor detection accuracy in the one-time data collection method used in the detection of car battery capacity in the prior art and the inability to detect battery aging in time. problem.
本申请是这样实现的,一种汽车启动负荷的检测方法,包括:This application is realized in this way. A method for detecting the start-up load of an automobile includes:
在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息;During the ignition of the car, the voltage information of the on-board automatic diagnosis system is collected through the high-frequency analog-to-digital converter;
根据所述电压信息获取汽车点火启动过程中的最小电压;Obtaining the minimum voltage during the ignition start process of the automobile according to the voltage information;
根据所述最小电压获取汽车蓄电池的健康状态信息,并输出所述健康状态信息;或者Obtain the health status information of the car battery according to the minimum voltage, and output the health status information; or
获取汽车从所述最小电压上升到工作电压的回升时间;Acquiring the time for the car to rise from the minimum voltage to the working voltage;
根据所述回升时间获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。Obtain the health status information of the car battery according to the rebound time, and output the health status information.
一种汽车启动负荷的检测装置,包括:A detection device for the starting load of an automobile, including:
采集模块,用于在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息;The acquisition module is used to collect the voltage information of the on-board automatic diagnosis system through the high-frequency analog-to-digital converter during the ignition of the car;
最小电压获取模块,用于根据所述电压信息获取汽车点火启动过程中的最小电压;The minimum voltage obtaining module is used to obtain the minimum voltage during the ignition start process of the automobile according to the voltage information;
第一状态检测模块,用于根据所述最小电压获取汽车蓄电池的健康状态信息,并输出所述健康状态信息;或者The first state detection module is configured to obtain the health state information of the car battery according to the minimum voltage, and output the health state information; or
回升时间获取模块,用于获取汽车从所述最小电压上升到工作电压的回升时间;The pick-up time acquisition module is used to acquire the pick-up time of the car from the minimum voltage to the working voltage;
第二状态检测模块,用于根据所述回升时间获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。The second state detection module is used to obtain the health state information of the car battery according to the rebound time, and output the health state information.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现上述汽车启动负荷的检测方法。A computer device includes a memory, a processor, and computer-readable instructions stored in the memory and capable of running on the processor, and the processor implements the above-mentioned vehicle startup load when the computer-readable instructions are executed. Detection method.
一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现上述汽车启动负荷的检测方法。A computer-readable storage medium, the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the method for detecting the start-up load of an automobile as described above is realized.
本申请实施例改进了现有技术以单个状态值的判断标准,首先在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息;接着根据所述电压信息获取汽车点火启动过程中的最小电压;然后根据所述最小电压得到汽车蓄电池的健康状态信息,或者获取汽车从所述最小电压上升到工作电压的回升时间,根据所述回升时间得到汽车蓄电池的健康状态信息;最后输出所述健康状态信息。通过采集汽车点火过程中的OBD电压信息,基于大数据分析、筛选出汽车点火启动过程的最小值和回升时间,并进行健康状态判断,以检测汽车启动负荷,数据采集方便,且有利于提高对汽车蓄电池健康状态的判断准确度,可有效地及时发现汽车蓄电池老化的状态。The embodiment of the present application improves the prior art's single state value judgment standard. First, during the ignition start process of the car, the voltage information of the on-board automatic diagnosis system is collected through the high-frequency analog-to-digital converter; then the car ignition start process is obtained according to the voltage information Then obtain the health status information of the car battery according to the minimum voltage, or obtain the recovery time of the car from the minimum voltage to the working voltage, and obtain the health status information of the car battery according to the recovery time; finally output The health status information. By collecting the OBD voltage information during the ignition process of the car, based on big data analysis, the minimum value and the recovery time of the ignition start process of the car are filtered out, and the health status is judged to detect the start load of the car. The data collection is convenient, and it is helpful to improve the The accuracy of judging the health status of the car battery can effectively detect the aging status of the car battery in time.
本申请的一个或多个实施例的细节在下面的附图和描述中提出,本申请的其他特征和优点将从说明书、附图以及权利要求变得明显。The details of one or more embodiments of the present application are presented in the following drawings and description, and other features and advantages of the present application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例, 对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only of the present application. For some embodiments, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative labor.
图1是本申请一实施例提供的汽车启动负荷的检测方法的实现流程图;FIG. 1 is an implementation flowchart of a method for detecting starting load of an automobile provided by an embodiment of the present application;
图2是本申请一实施例提供的汽车启动负荷的检测方法中步骤S102的实现流程图;FIG. 2 is a flowchart of the realization of step S102 in the method for detecting the starting load of an automobile provided by an embodiment of the present application;
图3是本申请一实施例提供的汽车启动负荷的检测方法的曲线图示意图;FIG. 3 is a schematic diagram of a curve diagram of a method for detecting starting load of an automobile provided by an embodiment of the present application; FIG.
图4是本申请一实施例提供的汽车启动负荷的检测方法中步骤S103的实现流程图;FIG. 4 is a flowchart of the realization of step S103 in the method for detecting the starting load of a car provided by an embodiment of the present application;
图5是本申请另一实施例提供的汽车启动负荷的检测方法的实现流程图;FIG. 5 is an implementation flowchart of a method for detecting starting load of an automobile provided by another embodiment of the present application;
图6是本申请另一实施例提供的汽车启动负荷的检测方法中步骤S504的实现流程图;FIG. 6 is a flowchart of the realization of step S504 in the method for detecting the starting load of an automobile provided by another embodiment of the present application;
图7是本申请一实施例提供的汽车启动负荷的检测装置的组成结构图;FIG. 7 is a structural diagram of a device for detecting starting load of an automobile provided by an embodiment of the present application;
图8是本申请一实施例中计算机设备的一示意图;Fig. 8 is a schematic diagram of a computer device in an embodiment of the present application;
图9是本申请一实施例提供的实际中OBD电压信息示意图。FIG. 9 is a schematic diagram of actual OBD voltage information provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer and clearer, the following further describes the application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
本申请实施例解决了现有技术在检测汽车蓄电池容量时采用一次过的数据采集方式存在的检测准确度欠佳、无法及时发现蓄电池老化的问题,实现了基于大数据分析、筛选出汽车点火启动过程的最小值和回升时间,并以之进行健康状态判断,以检测汽车启动负荷,方便了用户采集数据,且有利于提高对汽车蓄电池健康状态的判断准确度,可有效地及时发现汽车蓄电池老化的状态。以下对本实施例提供的汽车启动负荷的检测方法进行详细的描述。The embodiment of this application solves the problem of poor detection accuracy and failure to detect battery aging in the one-time data collection method used in the prior art when detecting the capacity of the car battery, and realizes that the car ignition start can be screened out based on big data analysis. The minimum value of the process and the recovery time are used to determine the health status to detect the starting load of the car, which is convenient for users to collect data, and is helpful to improve the accuracy of judging the health status of the car battery. It can effectively detect the aging of the car battery in time. status. The method for detecting the starting load of an automobile provided by this embodiment will be described in detail below.
图1是本申请提供的汽车启动负荷的检测方法,如图1所示,所述检测方法包括:Fig. 1 is a detection method of automobile starting load provided by the present application. As shown in Fig. 1, the detection method includes:
在步骤S101中,在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息。In step S101, during the ignition start process of the automobile, the voltage information of the on-board automatic diagnosis system is collected through the high-frequency analog-to-digital converter.
在这里,本实施例在汽车点火启动的过程中,通过高频模数转换器(Analog-to-Digital Converter,简称ADC)对车载自动诊断系统(On Board Diagnostics,简称OBD)的电压信息进行采集。可选地,采集周期优选为0.5毫秒,即从汽车点火启动开始,每隔0.5毫秒采集一次,持续采集,直到汽车点火启动环节结束,从而得到该时间段内的一组OBD电压信息。Here, in the present embodiment, during the ignition start process of the automobile, the voltage information of the on-board automatic diagnostic system (On Board Diagnostics, OBD) is collected through a high-frequency analog-to-digital converter (Analog-to-Digital Converter, ADC for short). Optionally, the collection period is preferably 0.5 milliseconds, that is, starting from the ignition of the automobile, collecting once every 0.5 milliseconds, and continuing to collect until the ignition of the automobile ends, so as to obtain a set of OBD voltage information in the time period.
在步骤S102中,根据所述电压信息获取汽车点火启动过程中的最小电压。In step S102, the minimum voltage during the ignition start process of the automobile is obtained according to the voltage information.
本实施例对所述步骤S101得到的一组OBD电压信息进行分析,筛选出该组OBD电压信息中的最小值,作为汽车点火启动过程中的最小电压。可选地,如图2所示,所述步骤S102包括:In this embodiment, a group of OBD voltage information obtained in step S101 is analyzed, and the minimum value of the group of OBD voltage information is selected as the minimum voltage during the ignition start process of the automobile. Optionally, as shown in FIG. 2, the step S102 includes:
在步骤S201中,将所述电压信息以节点形式添加到以时间信息为横坐标、电压信息为纵坐标的折线图中,生成电压变化曲线。In step S201, the voltage information is added in the form of a node to a broken line graph with time information as the abscissa and voltage information as the ordinate to generate a voltage change curve.
本实施例按照时间发展顺序,将所述电压信息以节点的方式进行整理,生成以时间信息为横坐标、电压信息为纵坐标的曲线图。该曲线图中的电压变化折线,反映出了OBD电压信息在汽车点火启动过程中的变化趋势。如图9所述,为本申请实施例提供的实际中OBD电压信息示意图。在实际应用中,汽车引擎启动瞬间,汽车电瓶电压先被拉低,然后再慢慢回升到一个更高的电压,直到满足汽车电瓶的正常的工作电压,回升过程中给汽车电瓶充电。In this embodiment, the voltage information is sorted in the manner of nodes according to the time development sequence, and a graph with time information as the abscissa and voltage information as the ordinate is generated. The broken line of the voltage change in this graph reflects the change trend of the OBD voltage information during the ignition start process of the car. As shown in FIG. 9, it is a schematic diagram of actual OBD voltage information provided by an embodiment of this application. In practical applications, at the moment the car engine starts, the car battery voltage is first pulled down, and then slowly rises to a higher voltage until the normal working voltage of the car battery is met, and the car battery is charged during the recovery process.
为了便于说明,以下给出本申请的一个具体示例,假设按照0.5毫秒采集一次,在汽车点火启动过程中采集到的OBD电压信息包括:For ease of description, a specific example of this application is given below. It is assumed that the OBD voltage information collected during the ignition start process of the car includes:
12.2V、12V、11.9V、11.5V、11.4V、11.3V、10V、9.1V、10V、11V、10.5V、11.2V、11.6V、12.2V;12.2V, 12V, 11.9V, 11.5V, 11.4V, 11.3V, 10V, 9.1V, 10V, 11V, 10.5V, 11.2V, 11.6V, 12.2V;
通过大数据方式,比如Excel,生成的曲线图,如图3所示。The graph generated by big data methods, such as Excel, is shown in Figure 3.
在步骤S202中,利用爬坡算法对所述电压变化曲线进行分析,得到最小电压。In step S202, a ramp algorithm is used to analyze the voltage change curve to obtain a minimum voltage.
其中,爬山算法是一种局部择优的方法,采用启发式方法,是对深度优先搜索的一种改进,利用反馈信息帮助生成解的决策,每次从当前解的临近解空间中选择一个最优解作为当前解,直到达到一个局部最优解,属于人工智能算法的一种。本实施例采用爬坡算法对所述电压变化曲线进行分析,从所述电压变化曲线中筛选出电压信息的最小值。可选地,如图4所示,所述步骤S202还包括:Among them, the hill-climbing algorithm is a method of local selection. The heuristic method is an improvement to the depth-first search. The feedback information is used to help generate the decision-making of the solution. Each time an optimal solution is selected from the adjacent solution space of the current solution. The solution is the current solution until it reaches a local optimal solution, which is a kind of artificial intelligence algorithm. In this embodiment, a climbing algorithm is used to analyze the voltage change curve, and the minimum value of voltage information is selected from the voltage change curve. Optionally, as shown in FIG. 4, the step S202 further includes:
在步骤S401中,选取汽车点火启动时的电压信息作为爬坡算法的起点。In step S401, the voltage information when the vehicle ignition is started is selected as the starting point of the climbing algorithm.
在这里,所述汽车点火启动时的电压信息是指上述采集的一组OBD电压信息中的首个电压信息,即汽车点火启动时首次采集到的OBD电压信息。本实施例以所述电压信息作为爬坡算法的起点。比如上述图3示例中时间为0毫秒采集到的电压信息12.2V。Here, the voltage information when the automobile ignition is started refers to the first voltage information in a set of OBD voltage information collected above, that is, the OBD voltage information collected for the first time when the automobile ignition is started. In this embodiment, the voltage information is used as the starting point of the climbing algorithm. For example, the voltage information 12.2V collected at a time of 0 milliseconds in the example in Figure 3 above.
在步骤S402中,将当前节点上的电压信息与下一个节点的电压信息进行比较,根据比较结果获取其中电压信息的较小值。In step S402, the voltage information on the current node is compared with the voltage information of the next node, and the smaller value of the voltage information is obtained according to the comparison result.
由于本实施例是选取最小值,因此爬坡算法在每一次比较中选择两个电压信息中的较小值。Since this embodiment selects the minimum value, the climbing algorithm selects the smaller value of the two voltage information in each comparison.
在步骤S403中,将所述较小值与下下一个节点的电压信息进行比较,直至节点的电压信息等于工作电压。In step S403, the smaller value is compared with the voltage information of the next node until the voltage information of the node is equal to the operating voltage.
示例性地,从爬坡算法的起点开始,将首次采集的电压信息与第二次采集的电压信息进行比较,得到其中的较小值;然后以所述较小值作为下一轮比较的对象,与第三次采集的电压信息进行比较,以此类推。直至某一次采集的电压信息达到预设OBD电压阈值,即工作电压,则停止爬坡算法。根据历史中汽车启动后的工作电压经验,所述工作电压在一个范围内浮动,通常为12至13V之间的任意值。当高频模数转换器采集到的OBD电压信息等于所述工作电压时,则认为汽车点火启动过程结束。Exemplarily, starting from the starting point of the climbing algorithm, the voltage information collected for the first time is compared with the voltage information collected for the second time to obtain the smaller value; and then the smaller value is used as the object of the next round of comparison , Compare with the voltage information collected for the third time, and so on. Until the voltage information collected at a certain time reaches the preset OBD voltage threshold, that is, the working voltage, the climbing algorithm is stopped. According to historical operating voltage experience after the car is started, the operating voltage fluctuates within a range, usually any value between 12 and 13V. When the OBD voltage information collected by the high-frequency analog-to-digital converter is equal to the working voltage, it is considered that the ignition start process of the automobile is over.
承接前文示例,若工作电压为12.2V,则在爬坡算法过程中,首先将t=0ms采集的电压信息12.2V与t=0.5ms采集的电压信息12V进行比较,取较小值12V与t=1ms采集的电压信息11.9V进行比较,再取11.9V与t=1.5ms采集的电压信息11.5V进行比较,依次类推,直至t=6.5ms采集的电压信息12.2V,大于或等于电压阈值,则停止爬坡算法。Continuing the previous example, if the working voltage is 12.2V, in the climbing algorithm process, first compare the voltage information 12.2V collected at t=0ms with the voltage information 12V collected at t=0.5ms, and take the smaller value of 12V and t =11.9V of the voltage information collected in 1ms is compared, and then 11.9V is compared with the voltage information 11.5V collected in t=1.5ms, and so on, until the voltage information 12.2V collected in t=6.5ms is greater than or equal to the voltage threshold, Then stop the climbing algorithm.
在步骤S404中,选取本次爬坡算法得到的最小值作为所述最小电压。In step S404, the minimum value obtained by the current climbing algorithm is selected as the minimum voltage.
根据爬坡算法筛选出来的最小值,作为汽车点火启动过程中的最小电压。承接前文示例,则以t=3.5ms时的电压信息9.1V作为最小电压。The minimum value selected according to the climbing algorithm is used as the minimum voltage during the ignition and starting process of the car. Following the previous example, the voltage information at t=3.5ms is 9.1V as the minimum voltage.
在步骤S103中,根据所述最小电压获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。In step S103, the health status information of the car battery is obtained according to the minimum voltage, and the health status information is output.
与现有技术根据蓄电池的容量来判断蓄电池的健康状态不同,本实施例根据汽车点火启动过程中的最小电压来判断蓄电池的健康状态。如图4所示,所述步骤S103包括:Unlike the prior art, which judges the health state of the battery according to the capacity of the battery, this embodiment judges the health state of the battery according to the minimum voltage during the ignition and starting process of the car. As shown in FIG. 4, the step S103 includes:
在步骤S401中,将所述最小电压与预设电压阈值进行比较。In step S401, the minimum voltage is compared with a preset voltage threshold.
其中,所述预设电压阈值是指汽车启动过程中的最小电压经验值,根据历史经验设置,也可以是指定历史时间段内最小电压的平均值。本实施例将所述本次汽车点火启动过程中的最小电压与所述预设电压阈值进行比较。Wherein, the preset voltage threshold refers to the minimum voltage experience value during the starting process of the automobile, which is set according to historical experience, and may also be the average value of the minimum voltage in a specified historical time period. In this embodiment, the minimum voltage during the ignition start process of the current automobile is compared with the preset voltage threshold.
在步骤S402中,根据比较结果生成汽车蓄电池的健康状态信息,并输出所述健康状态信息。In step S402, the health status information of the car battery is generated according to the comparison result, and the health status information is output.
具体地,当所述最小电压小于或等于所述预设电压阈值时,表明蓄电池的性能较好,所述汽车蓄电池的健康状态信息为佳;当所述最小电压大于所述预设电压阈值时,表明蓄电池的性能较差,所述汽车蓄电池的健康状态为差。Specifically, when the minimum voltage is less than or equal to the preset voltage threshold, it indicates that the performance of the battery is good, and the health status information of the car battery is good; when the minimum voltage is greater than the preset voltage threshold , Indicating that the performance of the battery is poor, and the state of health of the car battery is poor.
根据比较结果生成汽车蓄电池的健康状态信息,比如蓄电池性能较好、蓄电池性能较差等。作为本申请的一个优选示例,还可以根据最小电压与所述预设电压阈值的偏离程度将蓄电池的健康状态信息划分出多个梯度,比如最小电压小于所述预设电压阈值且偏离所述预设电压阈值较大时,电池性能优;最小电压小于所述预设电压阈值且偏离所述预设电压阈值较小时,电池性能较优;最小电压等于所述预设电压阈值时,电池性能一般;最小电压大于所 述预设电压阈值且偏离所述预设电压阈值较小时,电池性能较差,需要更换电池;最小电压大于所述预设电压阈值且偏离所述预设电压阈值较大时,电池性能差,需要更换电池。According to the comparison result, the health status information of the car battery is generated, such as the battery performance is better, the battery performance is poor, and so on. As a preferred example of the present application, the state of health information of the battery can also be divided into multiple gradients according to the degree of deviation between the minimum voltage and the preset voltage threshold. For example, the minimum voltage is less than the preset voltage threshold and deviates from the preset voltage threshold. When the voltage threshold is larger, the battery performance is excellent; when the minimum voltage is less than the preset voltage threshold and deviates from the preset voltage threshold, the battery performance is better; when the minimum voltage is equal to the preset voltage threshold, the battery performance is average When the minimum voltage is greater than the preset voltage threshold and the deviation is small, the battery performance is poor and the battery needs to be replaced; when the minimum voltage is greater than the preset voltage threshold and the deviation from the preset voltage threshold is large , The battery performance is poor and the battery needs to be replaced.
输出所述健康状态信息,以将检测结果反馈给用户。The health status information is output to feed back the detection result to the user.
本实施例基于采集汽车点火启动过程中的一组OBD电压信息,筛选出其中的最小电压,并根据所述最小电压判断蓄电池的健康状态,有效地避免了现有技术采用一次过的数据采集方式存在的检测准确度欠佳的问题,也有利于及时发现蓄电池的老化。This embodiment is based on collecting a set of OBD voltage information during the ignition start process of the car, filtering out the minimum voltage among them, and judging the health status of the battery according to the minimum voltage, effectively avoiding the one-time data collection method used in the prior art The existence of the problem of poor detection accuracy is also conducive to timely detection of battery aging.
可选地,作为本申请的另一个优选示例,图5是本申请提供的汽车启动负荷的检测方法,如图5所示,所述检测方法包括Optionally, as another preferred example of the present application, FIG. 5 is a detection method for the starting load of an automobile provided by the present application. As shown in FIG. 5, the detection method includes
步骤S501至步骤S502,其中步骤S501至步骤S502与上述实施例中所述的步骤S101至步骤S102相同,具体请参见上述实施例的叙述,此处不再赘述。所述检测方法还包括:From step S501 to step S502, step S501 to step S502 are the same as step S101 to step S102 described in the foregoing embodiment. For details, please refer to the description of the foregoing embodiment, which will not be repeated here. The detection method also includes:
在步骤S503中,获取汽车从所述最小电压上升到工作电压的回升时间。In step S503, the recovery time of the vehicle from the minimum voltage to the working voltage is acquired.
在本实施例根据中,当ADC检测到的OBD电压信息与常规的工作电压偏差在指定范围内,则认为汽车点火启动完毕,进入工作状态,此时的OBD电压信息作为汽车当前的工作电压。然后计算最小电压与所述工作电压之间的时间差,得到回升时间。示例性地,承接前文示例,以12.2V为工作电压,t=3.5ms时检测到的电压信息9.1V作为最小电压,出现工作电压12.2V是在t=6.5ms,则计算两者的时间差△t=6.5-3.5ms=3ms,作为回升时间。According to the present embodiment, when the deviation of the OBD voltage information detected by the ADC from the conventional operating voltage is within a specified range, the vehicle is considered to have started ignition and enters the operating state, and the OBD voltage information at this time is used as the current operating voltage of the vehicle. Then calculate the time difference between the minimum voltage and the operating voltage to obtain the recovery time. Exemplarily, following the previous example, using 12.2V as the working voltage, the detected voltage information at t=3.5ms is 9.1V as the minimum voltage, and the working voltage of 12.2V appears at t=6.5ms, then calculate the time difference △ between the two t=6.5-3.5ms=3ms, as the rise time.
在步骤S504中,根据所述回升时间获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。In step S504, the health status information of the car battery is obtained according to the rebound time, and the health status information is output.
与现有技术根据蓄电池的容量来判断蓄电池的健康状态不同,本实施例根据汽车点火启动过程中的最小电压的回升时间来判断蓄电池的健康状态。如图6所示,所述步骤S504包括:Unlike the prior art, which judges the health state of the battery according to the capacity of the battery, this embodiment judges the health state of the battery according to the recovery time of the minimum voltage during the ignition start process of the automobile. As shown in FIG. 6, the step S504 includes:
在步骤S601中,根据所述回升时间查询历史回升时间和健康状态信息之间的变化趋势。In step S601, the change trend between the historical recovery time and the health status information is queried according to the recovery time.
在这里,本实施例预先分析历史回升时间和健康状态信息,建立起历史回升时间与健康状态信息之间的变化趋势。其中,在所述历史回升时间和健康状态信息之间的变化趋势中,所述回升时间越短,表明电荷容易充进蓄电池,蓄电池性能越好,汽车蓄电池的健康状态越优;所述回升时间越长,表明电荷不易进出蓄电池,蓄电池性能越差,汽车蓄电池的健康状态越差。Here, the present embodiment analyzes the historical recovery time and health status information in advance, and establishes a change trend between the historical recovery time and the health status information. Wherein, in the change trend between the historical recovery time and the health status information, the shorter the recovery time, the easier it is to charge the battery, and the better the battery performance, the better the health status of the car battery; the recovery time The longer it is, it indicates that it is difficult for the charge to enter and exit the battery, and the worse the performance of the battery, the worse the health of the car battery.
本实施例将所述本次汽车点火启动过程中的回升电压,与历史回升时间和健康状态信息之间的变化趋势进行匹配。In this embodiment, the rebound voltage during the ignition start process of the current automobile is matched with the change trend between the historical rebound time and the health status information.
在步骤S602中,根据查询结果生成汽车蓄电池的健康状态信息,并输出所述健康状态信息。In step S602, the health status information of the car battery is generated according to the query result, and the health status information is output.
具体地,根据查询结果生成汽车蓄电池的健康状态信息,比如蓄电池性能较好、蓄电池性能较差等。作为本申请的一个优选示例,还可以根据回升时间的覆盖范围将蓄电池的健康状态信息划分出多个梯度,比如按照回升时间由小到大划分出第一梯度范围、第二梯度范围、第三梯度范围、第四梯段范围、第五梯度范围,并定义第一梯度范围对应电池性能优,第二梯度范围对应电池性能较优,第三梯段范围对应电池性能一般,第四梯度范围对应电池性能较差,第五梯度范围对应电池性能差。当回升时间落在第一梯度范围内时,电池性能优;回升时间落在第二梯度范围内时,电池性能较优;回升时间落在第三梯度范围内时,电池性能一般;回升时间落在第四梯度范围内时,电池性能较差,需要更换电池;回升时间落在第五梯度范围内时,电池性能差,需要更换电池。Specifically, the health status information of the car battery is generated according to the query result, such as good battery performance, poor battery performance, and so on. As a preferred example of the present application, the health status information of the battery can also be divided into multiple gradients according to the coverage of the recovery time. For example, according to the recovery time, the first gradient range, the second gradient range, and the third Gradient range, fourth step range, fifth gradient range, and define that the first gradient range corresponds to excellent battery performance, the second gradient range corresponds to better battery performance, the third step range corresponds to normal battery performance, and the fourth gradient range corresponds to The battery performance is poor, and the fifth gradient range corresponds to poor battery performance. When the recovery time falls within the first gradient range, the battery performance is excellent; when the recovery time falls within the second gradient range, the battery performance is better; when the recovery time falls within the third gradient range, the battery performance is average; the recovery time falls In the fourth gradient range, the battery performance is poor and the battery needs to be replaced; when the recovery time falls within the fifth gradient range, the battery performance is poor and the battery needs to be replaced.
输出所述健康状态信息,以将检测结果反馈给用户。The health status information is output to feed back the detection result to the user.
本实施例基于采集汽车点火启动过程中的一组OBD电压信息,筛选出其中的最小电压,并获取最小电压值上升至工作电压的回升时间,根据所述回升时间判断蓄电池的健康状态,有效地避免了现有技术采用一次过的数据采集方式存在的检测准确度欠佳的问题,也有利于及时发现蓄电池的老化。This embodiment is based on collecting a set of OBD voltage information during the ignition and starting process of the car, filtering out the minimum voltage among them, and obtaining the rise time from the minimum voltage value to the working voltage, and judging the health status of the battery according to the rise time, effectively It avoids the problem of poor detection accuracy in the one-time data collection method in the prior art, and is also conducive to timely detection of the aging of the storage battery.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
在一实施例中,提供一种汽车启动负荷的检测装置,该汽车启动负荷的检测装置与上述实施例中汽车启动负荷的检测方法一一对应。如图7所示,该汽车启动负荷的检测装置包括采集模块71、最小电压获取模块72、第一状态检测模块73、回升时间获取模块74、第二状态检测模块75。各功能模块详细说明如下:In one embodiment, a device for detecting the starting load of an automobile is provided, and the device for detecting the starting load of the automobile corresponds to the method for detecting the starting load of the automobile in the above-mentioned embodiment in a one-to-one correspondence. As shown in FIG. 7, the detection device for the starting load of the automobile includes an acquisition module 71, a minimum voltage acquisition module 72, a first state detection module 73, a pick-up time acquisition module 74, and a second state detection module 75. The detailed description of each functional module is as follows:
采集模块71,用于在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息;The collection module 71 is used to collect the voltage information of the on-board automatic diagnosis system through the high-frequency analog-to-digital converter during the ignition and start of the car;
最小电压获取模块72,用于根据所述电压信息获取汽车点火启动过程中的最小电压;The minimum voltage obtaining module 72 is configured to obtain the minimum voltage during the ignition start process of the automobile according to the voltage information;
第一状态检测模块73,用于根据所述最小电压获取汽车蓄电池的健康状态信息,并输出所述健康状态信息;或者The first state detection module 73 is configured to obtain the health state information of the car battery according to the minimum voltage, and output the health state information; or
回升时间获取模块74,用于获取汽车从所述最小电压上升到工作电压的回升时间;The pick-up time acquisition module 74 is used to acquire the pick-up time of the car from the minimum voltage to the working voltage;
第二状态检测模块75,用于根据所述回升时间获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。The second state detection module 75 is configured to obtain the health state information of the car battery according to the rebound time, and output the health state information.
可选地,所述最小电压获取模块72包括:Optionally, the minimum voltage obtaining module 72 includes:
曲线化单元,用于将所述电压信息以节点形式添加到以时间信息为横坐标、电压信息为纵坐标的折线图中,生成电压变化曲线;A curve-forming unit for adding the voltage information in the form of a node to a broken line graph with time information as the abscissa and voltage information as the ordinate to generate a voltage change curve;
爬坡分析单元,用于利用爬坡算法对所述电压变化曲线进行分析,得到最小电压。The climbing analysis unit is used to analyze the voltage change curve by using a climbing algorithm to obtain the minimum voltage.
可选地,所述爬坡分析单元具体用于:Optionally, the climbing analysis unit is specifically configured to:
选取汽车点火启动时的电压信息作为爬坡算法的起点;Select the voltage information when the car ignition is started as the starting point of the climbing algorithm;
将当前节点上的电压信息与下一个节点的电压信息进行比较,根据比较结果获取其中电压信息的较小值;The voltage information on the current node is compared with the voltage information of the next node, and the smaller value of the voltage information is obtained according to the comparison result;
将所述较小值与下下一个节点的电压信息进行比较,直至节点的电压信息等于工作电压;Comparing the smaller value with the voltage information of the next node until the voltage information of the node is equal to the operating voltage;
选取本次爬坡算法得到的最小值作为所述最小电压。The minimum value obtained by this climbing algorithm is selected as the minimum voltage.
可选地,所述第一状态检测模块73包括:Optionally, the first state detection module 73 includes:
比较单元,用于将所述最小电压与预设电压阈值进行比较;A comparison unit, configured to compare the minimum voltage with a preset voltage threshold;
第一结果生成单元,用于根据比较结果生成汽车蓄电池的健康状态信息,并输出所述健康状态信息;The first result generating unit is configured to generate health status information of the car battery according to the comparison result, and output the health status information;
其中,所述最小电压小于或等于所述预设电压阈值时,所述汽车蓄电池的健康状态信息为佳;所述最小电压大于所述预设电压阈值时,所述汽车蓄电池的健康状态为差。Wherein, when the minimum voltage is less than or equal to the preset voltage threshold, the state of health of the car battery is good; when the minimum voltage is greater than the preset voltage threshold, the state of health of the car battery is bad .
可选地,所述第二状态检测模块75包括:Optionally, the second state detection module 75 includes:
查询单元,用于根据所述回升时间查询历史回升时间和健康状态信息之间的变化趋势;The query unit is configured to query the change trend between the historical recovery time and the health status information according to the recovery time;
第二结果生成单元,用于根据查询结果生成汽车蓄电池的健康状态信息,并输出所述健康状态信息;The second result generating unit is configured to generate health status information of the car battery according to the query result, and output the health status information;
其中,在所述历史回升时间和健康状态信息之间的变化趋势中,所述回升时间越短,汽车蓄电池的健康状态越优;所述回升时间越长,汽车蓄电池的健康状态越差。Wherein, in the change trend between the historical recovery time and the health status information, the shorter the recovery time, the better the health status of the car battery; the longer the recovery time, the worse the health status of the car battery.
关于汽车启动负荷的检测装置的具体限定可以参见上文中对于汽车启动负荷的检测方法的限定,在此不再赘述。上述汽车启动负荷的检测装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the detection device for the starting load of the automobile, please refer to the limitation on the detection method of the starting load of the automobile above, which will not be repeated here. Each module in the above-mentioned vehicle starting load detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行 时以实现一种汽车启动负荷的检测方法。所述处理器与OBD接口通过双向线路连接,处理器与OBD接口之间可双向通信,OBD接口与汽车OBD模块之间可双向通信。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 8. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a method for detecting the starting load of the automobile is realized. The processor and the OBD interface are connected by a two-way line, the processor and the OBD interface can communicate in two ways, and the OBD interface and the car OBD module can communicate in two ways.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可读指令,处理器执行计算机可读指令时实现以下步骤:In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and running on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
在汽车点火启动过程中,通过高频模数转换器采集车载自动诊断系统的电压信息;During the ignition of the car, the voltage information of the on-board automatic diagnosis system is collected through the high-frequency analog-to-digital converter;
根据所述电压信息获取汽车点火启动过程中的最小电压;Obtaining the minimum voltage during the ignition start process of the automobile according to the voltage information;
根据所述最小电压获取汽车蓄电池的健康状态信息,并输出所述健康状态信息;或者Obtain the health status information of the car battery according to the minimum voltage, and output the health status information; or
获取汽车从所述最小电压上升到工作电压的回升时间;Acquiring the time for the car to rise from the minimum voltage to the working voltage;
根据所述回升时间获取汽车蓄电池的健康状态信息,并输出所述健康状态信息。Obtain the health status information of the car battery according to the rebound time, and output the health status information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于计算机可读取存储介质中,所述计算机可读存储介质可以是非易失性,也可以是易失性,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. In this case, the computer-readable storage medium may be non-volatile or volatile. When the computer-readable instruction is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as required. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.