CN115981957A - Information detection method, device, electronic equipment and medium - Google Patents

Information detection method, device, electronic equipment and medium Download PDF

Info

Publication number
CN115981957A
CN115981957A CN202211698395.8A CN202211698395A CN115981957A CN 115981957 A CN115981957 A CN 115981957A CN 202211698395 A CN202211698395 A CN 202211698395A CN 115981957 A CN115981957 A CN 115981957A
Authority
CN
China
Prior art keywords
voltage signal
input voltage
preset
flag bit
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211698395.8A
Other languages
Chinese (zh)
Inventor
董浩
万继云
王泽北
李冀辉
李良伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Automotive Research Institute of Tsinghua University
Original Assignee
Suzhou Automotive Research Institute of Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Automotive Research Institute of Tsinghua University filed Critical Suzhou Automotive Research Institute of Tsinghua University
Priority to CN202211698395.8A priority Critical patent/CN115981957A/en
Publication of CN115981957A publication Critical patent/CN115981957A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The embodiment of the application discloses an information detection method, an information detection device, electronic equipment and a medium. The method comprises the following steps: acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework, and transmitting the input voltage signal to a function monitoring layer; detecting the input voltage signal through the function monitoring layer, and determining zone bit information corresponding to the input voltage signal according to a detection result; and outputting the flag bit information to the vehicle so that the vehicle determines the use strategy of the input voltage signal according to the flag bit information. By adopting the technical scheme, the influence caused by the operation of other two levels can be avoided when the data are used, the accuracy of the data use is further ensured, and the software framework which meets the monitoring and functional safety requirements of the functional monitoring layer in the E-Gas and is based on model development is successfully constructed.

Description

Information detection method, device, electronic equipment and medium
Technical Field
The present disclosure relates to the field of computer system structures, and in particular, to an information detection method, an information detection apparatus, an electronic device, and a medium.
Background
With the increasing complexity of technology and the increasing use of software and mechatronics, the risks from systematic failures and random hardware failures (these are regarded as functional safety ranges) are increasing, and the low-voltage power supply architecture of the new energy automobile needs to be reselected.
The traditional E-Gas framework is only applied to an engine controller EMS of a traditional automobile or is difficult to meet the safety requirement, and in addition, the E-Gas framework does not explicitly provide level1 and level2 layer software frameworks developed based on specific function models, and the problems are urgently needed to be solved.
Disclosure of Invention
The application provides an information detection method, an information detection device, electronic equipment and a medium, and aims to realize the specific application of an E-gas architecture in the control of a vcu low-voltage power supply.
According to an aspect of the present application, there is provided an information detection method, including:
acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework, and transmitting an information detection input voltage signal to a function monitoring layer;
detecting the information detection input voltage signal through the information detection function monitoring layer, and determining zone bit information corresponding to the information detection input voltage signal according to a detection result;
and outputting the information detection zone bit information to the vehicle so that the vehicle determines the use strategy of the information detection input voltage signal according to the information detection zone bit information.
According to another aspect of the present application, there is provided an information detecting apparatus including:
the voltage signal acquisition module is used for acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework and transmitting an information detection input voltage signal to the function monitoring layer;
the zone bit determining module is used for detecting the information detection input voltage signal through the information detection function monitoring layer and determining zone bit information corresponding to the information detection input voltage signal according to a detection result;
and the use strategy determining module is used for outputting the information detection access voltage signal and the information detection zone bit information to the vehicle so that the vehicle determines the use strategy of the information detection input voltage signal according to the information detection zone bit information.
According to another aspect of the present application, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the information detection at least one processor; wherein the content of the first and second substances,
the information detection memory stores a computer program executable by the information detection at least one processor, and the information detection computer program is executed by the information detection at least one processor to enable the information detection at least one processor to execute the information detection method of information detection according to any embodiment of the present application.
According to another aspect of the present application, there is provided a computer-readable storage medium storing computer instructions for implementing an information detection method for information detection according to any embodiment of the present application when executed by a processor.
According to the technical scheme of the invention, the input voltage signal of the vehicle storage battery is detected by the hardware monitoring layer of the E-Gas framework, so that the hardware monitoring layer is only responsible for acquiring data, the orderly operation of the system is ensured, and the acquired data, the specific method for acquiring the data and the execution main body are conveniently and clearly recorded. By detecting the input voltage signal and determining the zone bit information corresponding to the input voltage signal, the information acquisition and processing are positioned between two different levels, the possibility of interference in the acquisition and processing process is reduced, and the accuracy of data processing is further ensured. The use strategy of the input voltage signal is determined through the zone bit information, so that data acquisition, data processing and data use are divided into three different levels, influence caused by operation of other two levels is avoided when the data are used, and the accuracy of the data use is further ensured. By using the steps, a software architecture which simultaneously meets the monitoring and functional safety requirements of a functional monitoring layer in the E-Gas and is developed based on a model is successfully constructed.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an information detection method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of the low voltage power conversion and control of an electric vehicle according to an embodiment of the present invention;
fig. 3 is a flowchart of another information detection method according to the second embodiment of the present application;
FIG. 4 is a schematic structural diagram of DCDC enable control level1 and level2 according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information detection apparatus according to a sixth embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device implementing an information detection method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," "candidate," "target," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an information detection method according to an embodiment of the present application, where the embodiment is applicable to a case where an E-gas architecture is applied in a vcu low-voltage power control, and the method may be executed by an information detection apparatus, where the information detection apparatus may be implemented in a form of hardware and/or software, and the information detection apparatus may be configured in an electronic device with an information detection capability. As shown in fig. 1, the method includes:
s110, acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework, and transmitting the information detection input voltage signal to a function monitoring layer.
The E-Gas architecture may have three components, which are a functional layer, a function monitoring layer, and a hardware monitoring layer, respectively, where the functional layer may have functions of implementing operation of device components, component monitoring, input or/and output variable diagnosis, controlling system reaction when a fault is detected, and the like, the function monitoring layer may have a function of detecting operation of the functional layer, and the hardware monitoring layer may have a function of detecting whether a program is correctly operated in a data question-answering process. The input voltage signal may be information such as the magnitude of voltage input into the battery, the type of current, and the input time.
Fig. 2 is a schematic diagram of the low-voltage power conversion and control of the electric vehicle according to the embodiment of the invention. Referring to fig. 2, when the electric vehicle is running or the battery is charged, the specification of the Current output from the high-voltage power battery is converted by a Direct Current converter (DCDC) into a specification of the Current that can be received and stored by the battery, thereby charging the battery of the electric vehicle. After receiving the high-voltage input of the high-voltage power battery, the DCDC transmits the real-time working state of the DCDC to the VCU through a CAN bus connected with a Vehicle Control Unit (VCU), and the VCU sends a DCDC enabling signal to Control the operation of the DCDC according to the real-time working state of the DCDC. When the VCU detects that the DCDC or the storage battery has faults, the current faults are transmitted to the instrument for displaying through a CAN bus connected with an instrument display (ICM).
Because the hardware monitoring layer has the function of detecting whether the program runs correctly in the data question-answering process, when the vehicle storage battery is charged, the hardware monitoring layer can acquire an input voltage signal of the storage battery in the vehicle, further determine the input voltage of the storage battery and data information such as current types, and transmit the acquired information to the function monitoring layer.
The input voltage signal of the vehicle storage battery is detected through the hardware monitoring layer of the E-Gas framework, so that the hardware monitoring layer is only responsible for acquiring data, the orderly operation of the system is ensured, and the acquired data, a specific method for acquiring the data and an execution main body are conveniently and clearly recorded.
And S120, detecting the information detection input voltage signal through the information detection function monitoring layer, and determining the zone bit information corresponding to the information detection input voltage signal according to the detection result.
The flag bit information may be information indicating whether the storage battery is faulty or not and a fault type when the storage battery is faulty, and a specific representation method of the flag bit information is not limited in the present invention.
After the function monitoring layer receives the input voltage signal sent by the hardware monitoring layer, the function monitoring layer detects the input voltage information, so that data carried in the input voltage signal is analyzed, and whether the storage battery breaks down or not is judged according to the data. And if the storage battery is detected to be in fault, further detecting the fault type of the storage battery, and determining corresponding zone bit information according to the detection result.
By detecting the input voltage signal and determining the zone bit information corresponding to the input voltage signal, the information acquisition and processing are positioned between two different levels, the possibility of interference in the acquisition and processing process is reduced, and the accuracy of data processing is further ensured.
In an alternative, before the information detecting input voltage signal is detected by the information detecting function monitoring layer, the information detecting method further includes:
and filtering the input voltage signal obtained by sampling in the current sampling period according to the input voltage signal obtained by sampling in the current sampling period, the input voltage signal obtained by sampling in the last sampling period, the sampling period and a preset time constant.
The sampling period may be a time interval in which the hardware monitoring layer twice acquires the input voltage signal of the battery in the vehicle. The predetermined time constant may be predetermined to determine whether the current output voltage is close to the output voltage of the current period and the previous period.
Due to the fact that the voltage may fluctuate abnormally or be located at a wave crest just during detection, the acquired data are wrong, and the accuracy of overall judgment is affected, filtering processing needs to be carried out on the input voltage signal, and therefore the situation is avoided.
After obtaining the input voltage signal sampled in the current sampling period, correlating the input voltage signal sampled in the current sampling period with the input voltage signal sampled in the previous sampling period and the sampling period, and drawing the correlation into table 1:
TABLE 1
Figure BDA0004023060950000061
Referring to table 1, in table 1, new _ value is used to indicate an input voltage signal sampled in a current sampling period, old _ value is used to indicate an input voltage signal sampled in a previous sampling period, and delta _ t is used to indicate a sampling period, where the new _ value and old _ value are in V (volt), the delta _ t is in S (second), all three data types are single data types, and except that a sampling period cannot be zero, no requirement exists in the data ranges of the new _ value and old _ value.
Drawing a table by using a preset time constant to obtain a table 2:
TABLE 2
Figure BDA0004023060950000071
Referring to table 2, the Time Constant is used to represent the preset Time Constant, and the data type of the preset Time Constant is also a single data type, and the unit of the preset Time Constant is the same as the sampling period, and is S (seconds), but the preset Time Constant has no requirement on the data range.
After the data in table 1 and table 2 are filtered, the filtered input voltage signal of the current sampling period is obtained, and the data is drawn into a table, so that table 3 is obtained:
TABLE 3
Figure BDA0004023060950000072
Referring to table 3, new _ ave is used to represent the filtered input voltage signal in the current sampling period, and the data type is a single data type, the unit of the filtered input voltage signal in the current sampling period is the same as the sampling period, and is S (seconds), and the filtered input voltage signal in the current sampling period has no requirement in the data range.
In one alternative, according to an input voltage signal sampled in a current sampling period, an input voltage signal sampled in a previous sampling period, a sampling period, and a preset time constant, filtering the input voltage signal sampled in the current sampling period, including steps A1-A3:
step A1, determining the sum of a sampling period and a preset time constant, and taking the ratio of an information detection sampling period to the information detection sum as a period parameter.
And A2, determining the difference value of the input voltage signal obtained by sampling in the current sampling period and the input voltage signal obtained by sampling in the previous sampling period.
And A3, determining the product of the information detection period parameter and the information detection difference value, and taking the sum of the information detection product and the input voltage signal obtained by sampling in the last sampling period as the input voltage signal of the current sampling period after filtering processing.
After an input voltage signal obtained by sampling in the current sampling period, an input voltage signal obtained by sampling in the previous sampling period, a sampling period and a preset time constant are obtained, calculating according to the obtained data, and filtering the input voltage signal obtained by sampling in the current sampling period, wherein the calculation formula is as follows:
output value = [ sampling period/(sampling period + time constant) ] (current period sampling value-previous period sampling value) + previous period sampling value
Namely new _ ave = [ delta _ t/(delta _ t + Time Constant) ] (new _ value-old _ value) + old _ value
And S130, outputting the information detection zone bit information to the vehicle so that the vehicle can determine the use strategy of the information detection input voltage signal according to the information detection zone bit information.
After the corresponding zone bit information is determined according to the input voltage signal, the function monitoring layer sends the obtained zone bit information to the vehicle. After the vehicle receives the zone bit information, the abnormal type of the storage battery in the period can be determined according to the obtained zone bit information, and then the use strategy of the input voltage signal is determined according to different abnormal types.
The use strategy of the input voltage signal is determined through the zone bit information, so that the data acquisition, the data processing and the data use are divided into three different levels, the influence caused by the operation of other two levels can be avoided when the data are used, and the accuracy of the data use is further ensured.
According to the technical scheme of the invention, the input voltage signal of the vehicle storage battery is detected by the hardware monitoring layer of the E-Gas framework, so that the hardware monitoring layer is only responsible for acquiring data, the orderly operation of the system is ensured, and the acquired data, the specific method for acquiring the data and the execution main body are conveniently and clearly recorded. By detecting the input voltage signal and determining the zone bit information corresponding to the input voltage signal, the information acquisition and processing are positioned between two different levels, the possibility of interference in the acquisition and processing process is reduced, and the accuracy of data processing is further ensured. The use strategy of the input voltage signal is determined through the zone bit information, so that the data acquisition, the data processing and the data use are divided into three different levels, the influence caused by the operation of other two levels can be avoided when the data are used, and the accuracy of the data use is further ensured. By using the steps, a software architecture which simultaneously meets the monitoring and functional safety requirements of a functional monitoring layer in the E-Gas and is developed based on a model is successfully constructed.
Example two
Fig. 3 is a flowchart of another information detection method according to the second embodiment of the present application, where the present embodiment is based on the second embodiment, and optimizes a process of detecting an information detection input voltage signal by an information detection function monitoring layer and determining flag bit information corresponding to the information detection input voltage signal according to a detection result. As shown in fig. 3, the method of this embodiment specifically includes the following steps:
s210, acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework, and transmitting the information detection input voltage signal to a function monitoring layer.
And S220, if the information detection input voltage signal is greater than the preset voltage upper limit value and the duration time meeting the condition is greater than a first preset period number, setting an upper limit fault flag position corresponding to the information detection input voltage signal as a first preset flag position.
And S230, if the information detection input voltage signal is smaller than the lower limit value of the preset voltage and the duration time meeting the condition is larger than a second preset period number, setting the lower limit fault flag position corresponding to the information detection input voltage signal as a second preset flag position.
The preset upper voltage limit may be a preset maximum voltage value that can be accepted by the storage battery, and the preset lower voltage limit may be a preset minimum voltage value that can be accepted by the storage battery. The first predetermined number of cycles may be a minimum number of cycles for determining that the input voltage signal is greater than the predetermined upper limit of the voltage. The second preset period number is the minimum period number for judging that the input voltage signal is smaller than the lower limit value of the preset voltage. The first predetermined flag may identify a condition that the input voltage signal is greater than a predetermined upper voltage limit. The second predetermined flag may identify the occurrence of the input voltage signal being less than the lower limit of the predetermined voltage.
When the voltage of the input voltage signal is judged, the problem that the judgment result is wrong when the abnormality occurs is judged only once, so that the continuous period number is judged besides the judgment of the voltage of the input voltage signal, and the misjudgment is further reduced.
The input voltage signal is processed and plotted into a table:
TABLE 4
Figure BDA0004023060950000101
Referring to table 4, the filtered INPUT voltage signal is represented by INPUT _ SignalIn _ unit, which has a single data type, unit of V (volt) and no requirement for data range.
The values of the preset voltage range and the data of the number of continuous occurrences of the statistically filtered input voltage signal are plotted in table 5:
TABLE 5
Figure BDA0004023060950000102
Figure BDA0004023060950000111
Referring to table 5, kfInput _ ValidCheck _ signal _ name _ inc in the table indicates the number of cycles that the fault lasts after the fault occurs, the data type may be a uint8 data type, and the size range of the data is [0,255]; kfInput _ ValidCheck _ signal _ name _ dec represents the number of cycles of duration of the disappearance of the failure after the disappearance of the failure, and the data type may be a uint8 data type, and the size range of the data is [0,255].
KfInput _ Range _ signal _ name _ High _ unit represents a preset voltage upper limit value, and the data type can be a single data type; kfInput _ Range _ signal _ name _ Low _ unit represents a preset voltage lower limit value, and the data type may be a single data type.
KfInput _ Filter _ signal _ name _ ms represents the minimum value of the number of cycles of the normal input voltage signal that need to continuously occur when the filtered input voltage signal is determined to be normal, and the data type may be a single data type. The present invention does not limit the data types and the specific numerical ranges of the above data.
After the input voltage signal is acquired, whether the input voltage signal is within a preset voltage range or not is judged, if the input voltage signal exceeds the maximum value within the preset voltage range and the continuously-occurring number exceeds a first preset period number, the voltage of the input voltage signal is determined to be overlarge, and then the upper limit fault flag position corresponding to the input voltage signal is set to be a first preset flag bit.
And if the input voltage signal exceeds the minimum value in the preset voltage range and the continuously appeared number exceeds the second preset period number, determining that the voltage of the input voltage signal is too small, and further setting the lower limit fault flag position corresponding to the input voltage signal as a second preset flag bit.
The output results are plotted in table 6:
TABLE 6
Figure BDA0004023060950000121
/>
In the table, output _ SignalShortHigh _ flg represents a first preset zone bit, output _ SignalShortLow _ flg represents a second preset zone bit, and the data types of the first preset zone bit and the second preset zone bit are Boolen and the numerical range is [0,1]. The present invention is not limited to the types of data and the numerical ranges.
The present invention does not limit the execution order of S220 and S230.
Optionally, the input voltage signal includes a first input voltage signal and a second input voltage signal.
Fig. 4 is a schematic structural diagram of DCDC enabling control levels 1 and 2 according to an embodiment of the present invention. Referring to fig. 4, level1 is a functional layer, and level2 is a functional monitoring layer. In order to meet the requirement of functional safety diagnosis coverage rate, two hard-line acquisition channels are used for transmitting data, namely hard-line acquisition 1 and hard-line acquisition 2, so that two redundant acquisition channels are formed, and a first input voltage signal and a second input voltage signal exist in an input voltage signal. The invention does not limit the corresponding relation between the hard-line acquisition and the input voltage signal.
In an alternative scheme, the information detection input voltage signal is detected by an information detection function monitoring layer, and flag bit information corresponding to the information detection input voltage signal is determined according to a detection result, and the method comprises the following steps of B1-B3:
and step B1, determining a signal difference value of the first input voltage signal and the second input voltage signal, and comparing the information detection signal difference value with a preset constant.
And B2, if the difference value of the information detection signals is larger than a preset constant, setting the candidate fault flag bit as a third preset flag bit.
And B3, detecting the zone bit information corresponding to the input voltage signal according to the candidate fault zone bit determination information.
The candidate fault flag location may be to indicate that the input voltage signal may be faulty.
The signal values of the first input voltage signal and the second input voltage signal are plotted into a table, resulting in table 7:
TABLE 7
Figure BDA0004023060950000131
In the table, in1 represents the signal magnitude of the first input voltage signal, in2 represents the signal magnitude of the second input voltage signal, the data types of in1 and in2 are both single, and there is no range requirement, and the units of in1 and in2 are both V (volt). The invention has no limitation on the data type and range requirements, units and variable names of in1 and in 2.
Drawing the data types, ranges and the like of the preset constants into a table to obtain a table 8:
TABLE 8
Figure BDA0004023060950000132
In table 8, limit represents a preset constant, the data type is a single data type, and there is no range requirement.
After the first input voltage signal and the second input voltage signal are obtained, the first input voltage signal and the second input voltage signal are subjected to subtraction, and then a signal difference value is obtained. And comparing the obtained signal difference value with a preset constant, and judging the magnitude relation between the signal difference value and the preset constant.
And if the signal difference value is larger than the preset constant, determining that the first input voltage signal and the second input voltage signal are not in a reasonable range, further determining that a fault possibly occurs, setting the candidate fault flag position as a third preset flag position, and determining the flag position information corresponding to the input voltage signal according to the candidate fault flag position.
Drawing the candidate fault flag positions into a table to obtain table 9:
TABLE 9
Figure BDA0004023060950000141
In table 9, i _ fault indicates the confirmed suspected fault flag, and the data type of i _ fault is single and has no range requirement. The invention does not limit the data type, range, unit and variable name of the suspected fault zone bit.
In an alternative, the flag bit information corresponding to the input voltage signal is detected according to the candidate fault flag bit determination information, and the method comprises the following steps of C1-C2:
and step C1, if the candidate fault zone bit is a third preset zone bit and the duration time meeting the condition reaches a third preset period number, setting the fault zone bit corresponding to the information detection input voltage signal as the third preset zone bit.
And step C2, if the candidate fault zone bit is a fourth preset zone bit and the duration time meeting the condition reaches a fourth preset period number, setting the fault zone bit corresponding to the information detection input voltage signal as the fourth preset zone bit.
The third preset period number may be the minimum period number where a fault occurs when the candidate fault flag is the third preset flag, and the fourth preset period number may be the minimum period number where no fault occurs when the candidate fault flag is the fourth preset flag.
After the suspected fault zone bit is determined, drawing the data of the judged fault zone bit into a table to obtain a table 10:
watch 10
Figure BDA0004023060950000142
Figure BDA0004023060950000151
In the table, increment represents the increment of the period count, decrement represents the decrement of the period count, limit represents the limit value of the counter, the data types of the increment and the counter are all Uint8 types, and the range is 0-255.
And when the candidate fault zone bit is a third preset zone bit, if the duration time reaches a third preset period number, determining that the fault really occurs, and determining that the fault zone bit corresponding to the input voltage signal is set as the third preset zone bit.
And when the candidate fault zone bit is a fourth preset zone bit, if the duration time reaches a fourth preset period number, determining that the fault really occurs, and determining that the fault zone bit corresponding to the input voltage signal is set as the fourth preset zone bit.
When the counter value does not exceed the counter limit value, the fault flag bit will not change.
Drawing the determination result of the fault flag bit into a table to obtain table 11:
TABLE 11
Figure BDA0004023060950000152
In Table 11, fault _ flg indicates the confirmed fault flag, and the data leixin is given as a coolean type with a data range of 0-1. The present invention does not limit the data type, data range, unit, and variable name when determining the fault flag.
And S240, outputting the information detection zone bit information to the vehicle so that the vehicle can determine the use strategy of the information detection input voltage signal according to the information detection zone bit information.
In one alternative, outputting information detection flag bit information to a vehicle includes steps D1-D2:
and D1, if the information detection zone bit information is a value except the first preset zone bit, the second preset zone bit and the third preset zone bit, if the duration time meeting the condition reaches preset time, outputting the input voltage signal after filtering and the information detection zone bit information to the vehicle.
And D2, if the information detection zone bit information is one of the first preset zone bit, the second preset zone bit and the third preset zone bit, outputting the input voltage signal after filtering processing and the information detection zone bit information to the vehicle.
After the flag bit information is determined, there are two possibilities, one is that the flag bit information is one of a first preset flag bit, a second preset flag bit and a third preset flag bit, and the other is that the flag bit information is not one of the first preset flag bit, the second preset flag bit and the third preset flag bit.
If the flag bit information is one of the first preset flag bit, the second preset flag bit and the third preset flag bit, and the continuous period is detected in the previous step, the fault can be directly determined, and the filtered input voltage signal and the information detection flag bit information are output to the vehicle.
And if the zone bit information is not one of the first preset zone bit, the second preset zone bit and the third preset zone bit and the duration time reaches preset time, determining that no fault occurs, and outputting the input voltage signal after filtering and the information detection zone bit information to the vehicle.
According to the technical scheme of the invention, when the voltage of the input voltage signal is judged, the problem that the judgment result is wrong when the abnormality occurs is judged only once, so that the continuous period number is judged besides the judgment of the voltage of the input voltage signal, the misjudgment is further reduced, and the accuracy and the stability of the integral judgment of the system are finally ensured.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an information detection apparatus provided in the third embodiment of the present application, which is capable of executing the information detection method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus includes:
the voltage signal acquisition module 310 is used for acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework and transmitting the information detection input voltage signal to a function monitoring layer;
the zone bit determining module 320 is configured to detect the information detection input voltage signal through the information detection function monitoring layer, and determine zone bit information corresponding to the information detection input voltage signal according to a detection result;
the usage strategy determination module 330 is configured to output the information detection flag information to the vehicle, so that the vehicle determines a usage strategy of the information detection input voltage signal according to the information detection flag information.
On the basis of the foregoing embodiment, optionally, before the flag bit determining module 320, the method further includes:
and the filtering processing unit is used for filtering the input voltage signal sampled in the current sampling period according to the input voltage signal sampled in the current sampling period, the input voltage signal sampled in the previous sampling period, the sampling period and a preset time constant.
On the basis of the foregoing embodiment, optionally, the filtering processing unit includes:
the period parameter determining unit is used for determining the sum of the sampling period and a preset time constant and taking the ratio of the information detection sampling period to the sum of the information detection as a period parameter;
the difference value determining unit is used for determining the difference value between the input voltage signal obtained by sampling in the current sampling period and the input voltage signal obtained by sampling in the previous sampling period;
and the input voltage signal determining unit is used for determining the product of the information detection period parameter and the information detection difference value, and taking the sum of the information detection product and the input voltage signal obtained by sampling in the previous sampling period as the input voltage signal of the current sampling period after filtering processing.
On the basis of the foregoing embodiment, optionally, the flag bit determining module 320 includes:
the flag bit determining unit is used for setting the upper limit fault flag bit corresponding to the information detection input voltage signal as a first preset flag bit if the information detection input voltage signal is greater than the preset voltage upper limit value and the duration time meeting the condition is greater than a first preset cycle number;
and the zone bit acquisition unit is used for setting the lower limit fault zone bit corresponding to the information detection input voltage signal as a second preset zone bit if the information detection input voltage signal is smaller than the lower limit value of the preset voltage and the duration time meeting the condition is larger than a second preset period number.
On the basis of the above embodiment, optionally, the information detection input voltage signal includes a first input voltage signal and a second input voltage signal;
a flag bit determining module 320, comprising:
the difference comparison unit is used for determining the signal difference between the first input voltage signal and the second input voltage signal and comparing the information detection signal difference with a preset constant;
the mark position acquisition unit is used for setting the candidate fault mark position as a third preset mark position if the information detection signal difference value is greater than a preset constant;
and the information determining unit is used for detecting the flag bit information corresponding to the input voltage signal according to the candidate fault flag bit determining information.
On the basis of the foregoing embodiment, optionally, the information determining unit includes:
a third flag bit setting subunit, configured to set, if the candidate fault flag bit is a third preset flag bit and the duration meeting the condition reaches a third preset number of cycles, the fault flag bit corresponding to the information detection input voltage signal as the third preset flag bit;
and the fourth flag bit setting subunit is configured to set the fault flag bit corresponding to the information detection input voltage signal as a fourth preset flag bit if the candidate fault flag bit is the fourth preset flag bit and the duration meeting the condition reaches a fourth preset period number.
On the basis of the foregoing embodiment, optionally, the policy determining module 330 includes:
a signal and information output unit, configured to output the filtered input voltage signal and the information detection flag information to the vehicle if the information detection flag information is a value other than the first preset flag, the second preset flag, and the third preset flag, and if the duration meeting the condition reaches a preset time;
and the information output unit is used for outputting the input voltage signal after filtering processing and the information detection zone bit information to the vehicle if the information detection zone bit information is one of the first preset zone bit, the second preset zone bit and the third preset zone bit.
The information detection device provided by the embodiment of the application can execute the information detection method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 6 shows a schematic structural diagram of an electronic device 10 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18, such as a second storage area, an optical disc, etc.; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the information detection method.
In some embodiments, the information detection method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the information detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the information detection method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable goal determining apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of this application, a computer readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, 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: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, may be executed sequentially, or may be executed in different orders, as long as the information desired by the technical solution of the present application can be realized, and the present disclosure is not limited thereto.
The above-described embodiments are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An information detection method, characterized in that the method comprises:
acquiring an input voltage signal of a storage battery in a vehicle through a hardware monitoring layer of an E-Gas framework, and transmitting the input voltage signal to a function monitoring layer;
detecting the input voltage signal through the function monitoring layer, and determining flag bit information corresponding to the input voltage signal according to a detection result;
and outputting the flag bit information to a vehicle so that the vehicle determines the use strategy of the input voltage signal according to the flag bit information.
2. The method of claim 1, wherein prior to detecting the input voltage signal by the functional monitoring layer, the method further comprises:
and filtering the input voltage signal sampled in the current sampling period according to the input voltage signal sampled in the current sampling period, the input voltage signal sampled in the previous sampling period, the sampling period and a preset time constant.
3. The method of claim 2, wherein filtering the input voltage signal sampled in the current sampling period according to the input voltage signal sampled in the current sampling period, the input voltage signal sampled in the previous sampling period, the sampling period, and a preset time constant, comprises:
determining the sum of a sampling period and a preset time constant, and taking the ratio of the sampling period to the sum as a period parameter;
determining the difference value of an input voltage signal obtained by sampling in the current sampling period and an input voltage signal obtained by sampling in the previous sampling period;
and determining the product of the period parameter and the difference value, and taking the sum of the product and the input voltage signal obtained by sampling in the previous sampling period as the input voltage signal of the current sampling period after filtering processing.
4. The method according to claim 1, wherein detecting the input voltage signal by the function monitoring layer and determining flag bit information corresponding to the input voltage signal according to a detection result comprises:
if the input voltage signal is greater than a preset voltage upper limit value and the duration time meeting the condition is greater than a first preset period number, setting an upper limit fault flag position corresponding to the input voltage signal as a first preset flag position;
and if the input voltage signal is smaller than the lower limit value of the preset voltage and the duration time meeting the condition is longer than a second preset period number, setting the lower limit fault flag position corresponding to the input voltage signal as a second preset flag position.
5. The method of any of claims 1-4, wherein the input voltage signal comprises a first input voltage signal and a second input voltage signal;
the detecting of the input voltage signal by the function monitoring layer and the determining of the flag bit information corresponding to the input voltage signal according to the detecting result comprise:
determining a signal difference value of a first input voltage signal and a second input voltage signal, and comparing the signal difference value with a preset constant;
if the signal difference value is larger than a preset constant, setting the candidate fault flag bit as a third preset flag bit;
and determining the zone bit information corresponding to the input voltage signal according to the candidate fault zone bit.
6. The method of claim 5, wherein determining flag bit information corresponding to the input voltage signal according to the candidate fault flag bits comprises:
if the candidate fault flag bit is a third preset flag bit and the duration time meeting the condition reaches a third preset cycle number, setting the fault flag bit corresponding to the input voltage signal as a third preset flag bit;
and if the candidate fault flag bit is a fourth preset flag bit and the duration time meeting the condition reaches a fourth preset cycle number, setting the fault flag bit corresponding to the input voltage signal as the fourth preset flag bit.
7. The method of claim 1, wherein outputting the flag information to a vehicle comprises:
if the flag bit information is a value except for a first preset flag bit, a second preset flag bit and a third preset flag bit, the duration time meeting the condition reaches preset time, and the input voltage signal after filtering and the flag bit information are output to a vehicle;
and if the flag bit information is one of a first preset flag bit, a second preset flag bit and a third preset flag bit, outputting the input voltage signal after filtering processing and the flag bit information to the vehicle.
8. An information detecting apparatus, characterized in that the apparatus comprises:
the voltage signal acquisition module is used for acquiring an input voltage signal of a storage battery in the vehicle through a hardware monitoring layer of an E-Gas framework and transmitting the input voltage signal to a function monitoring layer;
the zone bit determining module is used for detecting the input voltage signal through the function monitoring layer and determining zone bit information corresponding to the input voltage signal according to a detection result;
and the use strategy determining module is used for outputting the flag bit information to the vehicle so that the vehicle determines the use strategy of the input voltage signal according to the flag bit information.
9. An electronic device, characterized in that the device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the information detection method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the information detection method of any one of claims 1-7 when executed.
CN202211698395.8A 2022-12-28 2022-12-28 Information detection method, device, electronic equipment and medium Pending CN115981957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211698395.8A CN115981957A (en) 2022-12-28 2022-12-28 Information detection method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211698395.8A CN115981957A (en) 2022-12-28 2022-12-28 Information detection method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115981957A true CN115981957A (en) 2023-04-18

Family

ID=85964436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211698395.8A Pending CN115981957A (en) 2022-12-28 2022-12-28 Information detection method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115981957A (en)

Similar Documents

Publication Publication Date Title
CN105607615B (en) A kind of fault diagnosis system
CN110674009A (en) Application server performance monitoring method and device, storage medium and electronic equipment
CN110659130A (en) CPU utilization rate self-adaptive adjusting method, device, terminal and storage medium
CN115904656A (en) State control method, device and equipment applied to chip and storage medium
CN115396289A (en) Fault alarm determination method and device, electronic equipment and storage medium
CN111815118A (en) Autonomous health management system of remote sensing satellite
CN108845285B (en) Electric energy metering device detection method and system
CN115981957A (en) Information detection method, device, electronic equipment and medium
EP3312844A1 (en) Abnormality indication monitoring system
CN116626492A (en) Battery fault diagnosis method and device and vehicle
CN116226644A (en) Method and device for determining equipment fault type, electronic equipment and storage medium
CN115062026A (en) Power consumption data detection method and device, electronic equipment and storage medium
CN114938521A (en) Network state detection method and device, electronic equipment and storage medium
CN108124442A (en) A kind of elevator elements parameter calibrating method, device, equipment and storage medium
CN109738694A (en) A kind of chip power-consumption prediction technique, device, electronic equipment and storage medium
CN114889390A (en) Spring detection method and device, electronic equipment and storage medium
CN111831153B (en) Capacitive touch screen control method and device and capacitive touch screen
CN113885401B (en) Analog quantity output method, device and medium
CN117538643A (en) Elevator component detection method, device, electronic equipment and storage medium
CN113866707A (en) Intelligent electric power measuring instrument
CN116952285A (en) Equipment measurement state monitoring method and device, electronic equipment and storage medium
CN115902542A (en) Transformer substation partial discharge monitoring method and system, electronic equipment and storage medium
CN116281054A (en) Power grid fault type determining method, device and equipment
CN116303070A (en) Abnormality detection method, device, equipment and medium
CN116572867A (en) Vehicle speed signal diagnosis method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination