Wire protection method and device, electronic equipment, storage medium and vehicle
By calculating the current value and historical risk value of the wire, the smoke risk function is used to estimate the total risk value. If the preset value is reached, the power is cut off. This solves the problem of wire protection occupying space and increasing costs in the existing technology, and achieves accurate Prediction and protection of conductor smoke risks.
Patent Information
- Application Number
- CN202410739503.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-13
AI Technical Summary
The wire protection method in the prior art occupies vehicle body space, increases vehicle manufacturing costs, and makes it difficult to accurately predict the risk of wire smoke.
By obtaining the current value of the wire to be monitored, the smoke risk value is generated based on the preset smoke risk function, and the total risk value is calculated based on the historical risk value. If the total risk value reaches the preset value, a power outage operation is performed to avoid wire risk. cigarette.
There is no need to install fuses to protect wires, saving body space and manufacturing costs, and ensuring accurate prediction of smoke risks and timely power outages to avoid wire smoke and fires.
Smart Images

Figure CN118645967A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a wire protection method, device, electronic equipment, storage medium and vehicle. Background Art
[0002] At present, as vehicles develop towards electric control, intelligence and networking, wiring harnesses, as key components in vehicles, have been widely used in vehicles. For example, the camera, headlights, air conditioners, radars and other components in the vehicle are connected to the power supply through wiring harnesses. Without wiring harnesses, the current cannot reach the different electrical components of the vehicle, which will cause these electrical components in the vehicle to not work properly. For the wires in the wiring harness, when the current passing through the wires is too large during use, the insulation layer on the surface of the wires may start to heat up until smoke occurs, that is, the wires smoke and catch fire.
[0003] In the prior art, a current fuse or a temperature fuse is often added to the wire. When the current passing through the current fuse exceeds the rated current, the current fuse blows, or when the temperature sensed by the temperature fuse exceeds the rated temperature, the temperature fuse blows, thereby preventing the wire from smoking and catching fire, and realizing overcurrent protection for the wire. However, in this method, the installed fuse will occupy the space of the vehicle body, increasing the manufacturing cost of the vehicle. Summary of the invention
[0004] One of the purposes of the present invention is to provide a wire protection method to solve the problem that the wire protection method in the prior art occupies vehicle body space and increases vehicle manufacturing cost; the second purpose is to provide a wire protection device; the third purpose is to provide an electronic device; the fourth purpose is to provide a storage medium; the fifth purpose is to provide a vehicle.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, an embodiment of the present application provides a wire protection method, which is applied to any wire protection assembly, and the method includes:
[0007] For any wire to be monitored, obtaining a current value of the wire to be monitored in a current detection cycle as a target current value;
[0008] Based on the target current value and a preset smoke risk function, a smoke risk value of the wire to be monitored in the detection period is generated; the smoke risk function is obtained by fitting based on the test current values of different wires and their corresponding smoke risk test values, and the smoke risk test value is determined based on the smoke time, which is the time required for the wire to produce a smoke event when a current of the current test value passes through the wire;
[0009] Determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle;
[0010] If the total risk value meets the preset value requirement, the wire to be monitored is powered off.
[0011] In a second aspect, an embodiment of the present application provides a wire protection device, which is applied to any wire protection assembly, and the wire protection device includes:
[0012] A first acquisition module is used to acquire, for any wire to be monitored, a current value of the wire to be monitored in a current detection cycle as a target current value;
[0013] A first generating module is used to generate a smoke risk value of the wire to be monitored in the detection period based on the target current value and a preset smoke risk function; the smoke risk function is obtained by fitting based on test current values of different wires and their corresponding smoke risk test values, the smoke risk test value is determined based on the smoke time, and the smoke time is the time required for the wire to produce a smoke event when a current of the current test value passes through the wire;
[0014] A first determination module is used to determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle;
[0015] A power-off module is used to perform a power-off operation on the wire to be monitored if the total risk value meets a preset numerical requirement.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device executes the method described in the first aspect.
[0018] In a fifth aspect, an embodiment of the present application provides a vehicle, comprising the device as described in the second aspect, for executing the method described in the first aspect.
[0019] Beneficial effects of the present invention:
[0020] In the wire protection method of the embodiment of the present application, for any wire to be monitored, the current value of the wire to be monitored in the current detection cycle is obtained as the target current value. Then, based on the target current value and the preset smoke risk function, the smoke risk value of the wire to be monitored in the detection cycle is generated. The smoke risk function is obtained based on the test current value of different wires and their corresponding smoke risk test values. The smoke risk test value is determined based on the smoke time. The smoke time is the time required for the wire to smoke when the current of the current test value is passed through the wire. The total risk value of the wire to be monitored is determined based on the smoke risk value of the detection cycle and the historical risk value. The historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle. If the total risk value meets the preset numerical value requirement, the power-off operation is performed on the wire to be monitored. In this way, it is estimated based on the preset smoke risk function whether the total risk value of the wire to be monitored meets the preset numerical value requirement, and when the preset numerical value requirement is met, the power-off operation is performed on the wire to be monitored. Since the protection of the wire can be achieved without setting a fuse, the vehicle body space can be saved, and the vehicle manufacturing cost can be saved.
[0021] And because the smoke risk function is fitted based on the actual test current value passing through the conductor and the smoke risk test value determined by the time required for the actual smoke event to occur in the conductor, it can be ensured that the smoke risk value determined by the smoke risk function can more accurately characterize the risk probability of a smoke event, thereby ensuring that the power-off operation can be performed on the monitored conductor in a timely manner to avoid the problem of smoke and fire in the monitored conductor. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flowchart of a conductor protection method provided by an embodiment of the present application;
[0023] Figure 2 This is a schematic diagram of risk value processing provided by an embodiment of the present application;
[0024] Figure 3 is a curve diagram corresponding to an original data point provided in an embodiment of the present application;
[0025] Figure 4 It is a data comparison chart provided in the embodiment of the present application;
[0026] Figure 5 This is a data acquisition schematic diagram provided in an embodiment of the present application;
[0027] Figure 6 This is a schematic diagram of wire protection provided by an embodiment of the present application;
[0028] Figure 7 is a structural schematic diagram of a wire protection device according to an embodiment of the present application;
[0029] Figure 8 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0031] Figure 1 The present invention provides a flowchart of a method for protecting a conductor. Figure 1 As shown, the method includes:
[0032] Step 101: For any wire to be monitored, obtain the current value of the wire to be monitored in the current detection cycle as a target current value.
[0033] In the embodiment of the present application, the wire protection method can be applied to any wire protection component in the vehicle, and the wire protection component can be a processor with software code running capability. For example, the wire protection component can be a target vehicle information unit (Vehicle Information Unit1, VIU) in the vehicle. Among them, the target VIU can be a VIU with a wire protection function. Exemplarily, when the VIU needs to be used as the target VIU, a software code file for implementing the wire protection method provided in the embodiment of the present application can be configured in advance in the VIU, and the wire protection function is added to the VIU so that the VIU can execute the wire protection method. In this way, the function of protecting the wire can be realized in the form of software in combination with the smoke risk function obtained by function fitting. Specifically, the target VIU can be set according to actual needs, and the target VIU can be all or part of the VIU in the vehicle, and the embodiment of the present application does not limit this. The wire that needs to be protected can be used as the wire to be monitored, and the wire to be monitored can be all or part of the wire in the vehicle. Exemplarily, the wire to be monitored can be allocated to the target VIU. Accordingly, the wire allocated to the target VIU is the wire to be monitored. Exemplarily, the wire identification (Identity, ID) of the wire to be monitored can be configured in the target VIU to realize the allocation of the wire to be monitored to the target VIU. For example, three target VIUs can be set: VIU1, VIU2, and VIU3, and 70 wires to be monitored can be set. The wire IDs of these 70 wires are: wire ID1 to wire ID70. The wires to be monitored can be allocated to the target VIU according to a preset allocation method. For example, the preset allocation method can be a random allocation, or the preset allocation method can also be allocated according to purpose, which is not limited in the embodiment of the present application. Taking allocation according to purpose as an example, the wires used to power interfaces such as water pumps, USB power ports, and instrument panels can be allocated to the same target VIU, for example, to VIU1. The wires used to power interfaces such as radars, atmosphere lights, rearview mirrors, and central control displays are allocated to the same target VIU, for example, to VIU2. The wires used to power interfaces such as rear light controllers and rear sonic radars are allocated to the same target VIU, for example, to VIU3.
[0034] The detection cycle can be pre-set according to actual conditions. For example, the detection cycle can be 500 milliseconds, 800 milliseconds, 1 second, and so on. In the embodiment of the present application, each time a detection cycle is reached, the current value of the wire to be monitored in the current detection cycle can be obtained to obtain the target current value. Exemplarily, the target VIU, as the circuit board hardware on which the software runs, can collect relevant information about wires located at different positions of the vehicle body. Specifically, for any target VIU, when the current detection cycle is reached, the current value of the wire to be monitored corresponding to each wire ID in the detection cycle can be obtained according to the configured wire ID, as the target current value. Take the detection cycle of 500 milliseconds and the wire IDs assigned to VIU1 as: wire ID1 to wire ID30 as an example. At every 500 millisecond interval, it can be considered that a detection cycle has been reached. Assuming that the time interval between the current moment and the last time the target current value was obtained has reached 500 milliseconds, the current data actively sent by the current sensor can be obtained, wherein the current data may include: the current value corresponding to each wire ID in wire ID1 to wire ID30, and then the current value of the wire to be monitored 1, wire to be monitored 2, ..., wire to be monitored 30 in the current detection cycle is obtained. Alternatively, the current value corresponding to each wire ID in wire ID1 to wire ID30 detected by the current sensor can also be actively collected, and the embodiment of the present application does not limit this. Among them, the current sensor can be located in the VIU chip or in other locations, as long as it is ensured that the current value of the wire to be monitored can be detected, and the embodiment of the present application does not limit this. After obtaining the target current value, these target current values can be packaged and sent to the part responsible for calculation in the VIU to perform subsequent operations. In an embodiment of the present application, by configuring the wire ID of the wire to be monitored assigned to the target VIU in the target VIU, the target VIU obtains the target current value based on the configured wire ID and performs subsequent operations, that is, the target VIU identifies the wire to be monitored based on the configured wire ID. In this way, when the wire to be monitored is subsequently adjusted, such as adding a new wire to be monitored, or deleting the previous wire to be monitored, it is only necessary to adjust the wire ID configured in the target VIU accordingly, without affecting the wire protection function.
[0035] Step 102: Generate a smoke risk value of the wire to be monitored during the detection period based on the target current value and a preset smoke risk function; the smoke risk function is obtained by fitting based on test current values of different wires and their corresponding smoke risk test values; the smoke risk test value is determined based on a smoke time, which is the time required for a smoke event to occur when a current having a magnitude of the current test value passes through the wire.
[0036] In the embodiment of the present application, the test current value may be the current value of the test current used to collect data points for fitting the smoke risk function. Wires of different wire diameters may be selected to determine the corresponding smoke risk values when these wires pass through different test current values, as the smoke risk test values corresponding to different test current values. Exemplarily, the current of the test current value may be passed through these wires, and the corresponding smoking time of the wires may be counted when the current of the test current value is connected. Among them, the smoking time may represent the actual time required for the smoking event to occur when the wire passes through the test current value. Since the longer the smoking time, the probability of the smoking event is often relatively lower, and the shorter the smoking time, the probability of the smoking event is often relatively higher. Therefore, a numerical value for characterizing the probability of the smoking event can be determined based on the smoking time to obtain the smoking risk value. Among them, the smoking risk value calculated for fitting the smoking risk function may be referred to as the smoking risk test value. Taking 800A as an example, the wire can be continuously connected to a current of 800A and the timing can be started. When the wire has a problem of smoking and catching fire, the time interval between the moment when the current is connected and the current moment is determined as the corresponding smoking time of the wire when the current value of 800A is connected. Accordingly, the current value: 800A, and the smoking time corresponding to the current value of 800A can be used as a data point. By performing multiple tests on different wires using different current values, multiple data points can be collected. The smoking time in the data point can be converted into a value that can characterize the probability of a smoking event, and the smoking risk test value of the data point can be obtained. Function fitting is performed based on the current value in the data point and the smoke risk test value of the data point to obtain a smoke risk function.
[0037] Further, the input of the smoke risk function may include a current value, and the output of the smoke risk function may be a smoke risk value. The smoke risk value of the wire to be monitored in the current detection cycle generated by the smoke risk function can characterize the relative risk probability of a smoke event occurring in the detection cycle. Since the smoke risk function is obtained by fitting based on the test current value actually passing through the wire and the smoke risk test value determined by the time required for the wire to actually have a smoke event, the smoke risk value finally output by the smoke risk function can more accurately characterize the risk probability of a smoke event, ensuring that the smoke risk value output by the smoke risk function according to the target current value is related to the actual smoke time of the smoke event when the wire to be monitored passes through a current of the target current value, and the smoke risk value can more reasonably and accurately characterize the probability of a smoke event occurring in the wire to be monitored in the current detection cycle. Among them, the larger the smoke risk value, the higher the relative risk of a smoke event, and the higher the probability of a smoke time. Conversely, the smaller the smoke risk value, the lower the relative risk of a smoke event, and the lower the probability of a smoke time.
[0038] Step 103: Determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle.
[0039] In an embodiment of the present application, the current detection cycle may be the first detection cycle in the detection process, or it may be a non-first detection cycle in the detection process. When the current detection cycle is the first detection cycle, it means that there is no detection cycle before the current detection cycle, that is, there is no historical risk value. Accordingly, the smoke risk value of the current detection cycle can be directly determined as the total risk value of the wire to be monitored. Conversely, when the current detection cycle is not the first detection cycle, it means that there is a detection cycle before the current detection cycle, that is, there is a historical detection cycle, and accordingly, there is a historical risk value. Therefore, the smoke risk value previously generated for each historical detection cycle based on the smoke risk function can be loaded as the historical risk value. Based on the smoke risk value of the current detection cycle and the historical risk value, the total risk value of the wire to be monitored is determined.
[0040] Optionally, in one embodiment, the step of determining the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value may specifically include: calculating the sum of the smoke risk value of the detection cycle and all historical risk values, and determining the sum as the total risk value of the wire to be monitored.
[0041] Among them, when the current detection cycle is the first detection cycle, it means that there is no detection cycle before the detection cycle, that is, there is no historical risk value, and the historical risk value is 0. Therefore, the sum of the smoke risk value of the detection cycle and all historical risk values is calculated, and the sum obtained is the smoke risk value of the detection cycle. Correspondingly, the total risk value of the wire to be monitored is the smoke risk value of the detection cycle itself. When the current detection cycle is not the first detection cycle, it means that there is a detection cycle before the current detection cycle, that is, there is at least one historical risk value, and the historical risk value is not 0. Therefore, the smoke risk value of the detection cycle and all historical risk values are accumulated. Correspondingly, the total risk value of the wire to be monitored is the sum of the smoke risk values of all detection cycles up to the current moment. In the embodiment of the present application, the smoke risk value of each detection cycle can be regarded as the risk component corresponding to each detection cycle. Among them, the risk component corresponding to the detection cycle is related to the corresponding smoking time when the current value of the wire to be monitored is connected to the detection cycle. Therefore, the risk component corresponding to each detection cycle can also be called the time component Δt corresponding to each detection cycle, and the smoke risk function can also be called the smoke time function. The total risk value can be expressed as Σt=Δt(n)+Δt(n-1)+…+Δt(1), where Δt(n) represents the smoke risk value corresponding to the nth detection cycle.
[0042] In an embodiment of the present application, the smoke risk value is used as a risk measure for a smoke event occurring during a detection period. The smoke risk values of the detection period and all historical detection periods are accumulated as the total risk value of the wire to be monitored, so that the total risk value can more accurately represent the overall risk measure currently accumulated by the wire to be monitored, so that the power-off operation can be performed on the wire to be monitored in a timely manner based on the total risk value, thereby achieving protection for the wire to be monitored.
[0043] Step 104: If the total risk value meets the preset value requirement, the wire to be monitored is powered off.
[0044] In an embodiment of the present application, the preset numerical requirement may be set according to demand. For example, the preset numerical requirement may include a total risk value of not less than 1, or a total risk value of not less than 0.9, which is not limited in the embodiment of the present application. If the total risk value meets the preset numerical requirement, it can be determined that the overall risk currently accumulated by the monitored wire has reached the upper limit of the risk, and the monitored wire has currently reached the smoking condition, and smoking and fire are about to occur. For example, smoking and fire may occur after 30 seconds to 1 minute. Therefore, a power-off operation can be performed on the monitored wire, that is, the current of the monitored wire is disconnected to avoid overcurrent in the monitored wire, which causes the problem of smoking and fire, thereby ensuring the safety of the vehicle.
[0045] In summary, in the wire protection method provided by the embodiment of the present application, for any wire to be monitored, the current value of the wire to be monitored in the current detection cycle is obtained as the target current value. Then, based on the target current value and the preset smoke risk function, the smoke risk value of the wire to be monitored in the detection cycle is generated. The smoke risk function is obtained by fitting based on the test current values of different wires and their corresponding smoke risk test values. The smoke risk test value is determined based on the smoke time. The smoke time is the time required for the smoke event to occur when the wire passes through a current of the current test value. Based on the smoke risk value of the detection cycle and the historical risk value, the total risk value of the wire to be monitored is determined, and the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle. If the total risk value meets the preset numerical value requirements, the power-off operation is performed on the wire to be monitored. In this way, it is estimated based on the preset smoke risk function whether the total risk value of the wire to be monitored meets the preset numerical value requirements, and when the preset numerical value requirements are met, the power-off operation is performed on the wire to be monitored. Since the protection of the wire can be achieved without setting a fuse, the vehicle body space can be saved, and the vehicle manufacturing cost can be saved.
[0046] And because the smoke risk function is fitted based on the actual test current value passing through the conductor and the smoke risk test value determined by the time required for the actual smoke event to occur in the conductor, it can be ensured that the smoke risk value determined by the smoke risk function can more accurately characterize the risk probability of a smoke event, thereby ensuring that the power-off operation can be performed on the monitored conductor in a timely manner to avoid the problem of smoke and fire in the monitored conductor.
[0047] Optionally, after the above step 103, the embodiment of the present application may also include: if the total risk value does not meet the preset numerical requirement, then when the next detection cycle is reached, re-entering the step of obtaining the current value of the monitored conductor in the current detection cycle as the target current value.
[0048] In the embodiment of the present application, if the total risk value does not meet the preset numerical value requirements, it can be determined that the current accumulated overall risk of the wire to be monitored has not reached the risk upper limit, so the wire to be monitored continues to be monitored. Specifically, when the next detection cycle is reached, that is, when the current detection cycle becomes the next detection cycle reached, return to step 101 to continue execution. Exemplarily, taking the detection cycle as 500 milliseconds as an example, it can be performed once every 500 milliseconds, obtaining the current value of the wire to be monitored as the target current value, determining the smoke risk value based on the target current value, and determining the total risk value based on the smoke risk value and the historical risk value. If the current total risk value meets the preset numerical value requirements, the power-off operation is performed on the wire to be monitored. On the contrary, if the current total risk value does not meet the preset numerical value requirements, the above-mentioned operation of obtaining the current value of the wire to be monitored as the target current value, determining the smoke risk value based on the target current value, and determining the total risk value based on the smoke risk value and the historical risk value can be re-executed after 500 milliseconds of the current detection cycle. And re-judge whether the current total risk value meets the preset numerical value requirements. In this way, when the total risk value does not meet the preset numerical requirements, the smoke risk value of the subsequent detection cycle can be determined, and the total risk value accumulated by the monitored wire can be recalculated until the total risk value meets the preset numerical requirements. Of course, the monitoring of the monitored wire can also be stopped when a stop command is received or other preset stop conditions are met, and the embodiments of the present application are not limited to this.
[0049] In an embodiment of the present application, when the total risk value does not meet the preset numerical requirement, the current value of the wire to be monitored continues to be detected according to the detection cycle, and the smoke risk value of the wire to be monitored in the detection cycle is determined based on the preset smoke risk function. The total risk value of the wire to be monitored is determined based on the smoke risk value of the detection cycle and the previous detection cycle. This can dynamically evaluate the risk of a smoke event occurring in the wire to be monitored. In this way, the moment when the accumulated risk of the wire to be monitored reaches the risk upper limit can be monitored in time, thereby ensuring that the current of the wire to be monitored can be disconnected in time.
[0050] Optionally, in an embodiment, the step of generating the smoke risk value of the wire to be monitored in the detection period based on the target current value and a preset smoke risk function may specifically include:
[0051] Step 1021, obtaining a target coefficient corresponding to the wire diameter of the wire to be monitored; wherein the target coefficient is a function coefficient obtained from a coefficient set of the smoke risk function, and the coefficient set includes function coefficients corresponding to different wire diameters;
[0052] Step 1022: Input the target current value and the target coefficient into the smoke risk function.
[0053] Step 1023: Obtain the output of the smoke risk function to obtain the smoke risk value of the wire to be monitored in the detection cycle.
[0054] In the embodiment of the present application, the coefficient set of the smoke risk function can be pre-generated and stored in the target VIU, and the coefficient set can include multiple groups of function coefficients corresponding to different wire diameters, wherein the coefficient types included in each group of function coefficients are the same. The target coefficient corresponding to the wire diameter of the wire to be monitored can be determined based on the wire diameter of the wire to be monitored and the coefficient set. Specifically, the wire diameter corresponding to the wire ID of the wire to be monitored can be found based on the corresponding relationship between the wire ID and the wire diameter stored in the target VIU, as the wire diameter of the wire to be monitored. Then, the wire diameter of the wire to be monitored is matched with the wire diameter corresponding to each group of function coefficients in the coefficient set. The function coefficient corresponding to the matched wire diameter is determined as the target coefficient. Accordingly, based on the wire diameter of the wire to be monitored and the coefficient set, the step of determining the target coefficient corresponding to the wire diameter of the wire to be monitored can be performed when the smoke risk value is calculated for the wire to be monitored for the first time, and when the smoke risk value of the wire to be monitored is calculated again later, the target coefficient determined before can be directly reused to save processing resources. That is, when step 1021 is executed for the first time, the target coefficient corresponding to the wire diameter of the wire to be monitored can be determined based on the wire diameter of the wire to be monitored and the coefficient set. When step 1021 is executed again later, the previously determined target coefficient can be directly read. Of course, each time the smoke risk value of the wire to be monitored is calculated, the operation of determining the target coefficient corresponding to the wire diameter of the wire to be monitored based on the wire diameter of the wire to be monitored and the coefficient set can be performed, that is, each time the target coefficient corresponding to the wire diameter of the wire to be monitored is determined based on the wire diameter of the wire to be monitored and the coefficient set, so as to obtain the target coefficient, and the embodiment of the present application is not limited to this.
[0055] Furthermore, when calculating the smoke risk value of the wire to be monitored in the detection cycle, the values of the function coefficients in the smoke risk function can be set to the specific values represented by the target coefficients, and the target current value can be used as the independent variable of the smoke risk function. The smoke risk value of the wire to be monitored in the detection cycle is calculated based on the smoke risk function.
[0056] When wires of different wire diameters pass the same current, the time required for a smoke event to occur often differs. And the wire diameter has an impact on heat accumulation. Therefore, in an embodiment of the present application, by providing function coefficients corresponding to different wire diameters, when using the smoke risk function to calculate the smoke risk value of the wire to be monitored, the function coefficient corresponding to the wire diameter of the wire to be monitored is used as the target coefficient, and the target current value and the target coefficient are combined to calculate the smoke risk value of the wire to be monitored in the current detection cycle. In this way, the degree of adaptation of the calculated smoke risk value to the wire to be monitored can be improved, and the accuracy of the smoke risk value generated for the wire to be monitored can be improved.
[0057] Optionally, in one implementation, the function coefficients of the smoke risk function may include a heat rise coefficient, a heat dissipation coefficient, and an offset coefficient. Accordingly, the target coefficients include the heat rise coefficient, the heat dissipation coefficient, and the offset coefficient corresponding to the wire diameter of the wire to be monitored. The above step of inputting the target current value and the target coefficient into the smoke risk function may specifically include:
[0058] Step 1022a, loading the function model corresponding to the smoke risk function;
[0059] Step 1023b: input the target current value, the heat rise coefficient, the heat dissipation coefficient, and the offset coefficient into a function model corresponding to the smoke risk function.
[0060] The function model corresponding to the smoke risk function may be a pre-set function form. The function form may be set according to the current value feature whose variance explanation rate of the smoke risk value meets the preset explanation rate requirement. The current value feature may be obtained by changing the test current value. Exemplarily, in one implementation, the function model corresponding to the smoke risk function may be expressed as:
[0061] A*I(n) 2 +B / I(n)+C
[0062] Wherein, I(n) represents the target current value of the nth sampling cycle, A represents the heat rise coefficient, B represents the heat dissipation coefficient, and C represents the offset coefficient. When the smoke risk function is used to determine the smoke risk value of the wire to be monitored in the current detection cycle, the values of A, B, and C are set to the specific values of the coefficients included in the target coefficient.
[0063] Specifically, the thermal rise coefficient can be used to characterize the ability of the conductor temperature to rise when the current value increases. Accordingly, A*I(n) 2It can characterize the heat effect generated by the current I passing through the wire. The heat dissipation coefficient can characterize the ability of the wire to dissipate heat, and accordingly, B / I(n) can characterize the heat dissipation effect of the wire. The offset coefficient can be a random quantity introduced to combat the error caused by noise so that the smoke risk function can be more consistent with the actual data. Among them, the heat dissipation coefficient and the offset coefficient can both be negative numbers to ensure that the B / I(n) calculated based on the heat dissipation coefficient in the smoke risk function can be calculated based on the thermal rise coefficient. A*I(n) 2 To cancel out, A*I(n) 2 The +B / I(n) result can indicate whether the wire is heating up or down. Also, it can ensure that the offset factor can attenuate the error caused by noise.
[0064] Furthermore, the heat rise coefficient, heat dissipation coefficient and offset coefficient in the target coefficient can be used as the values of A, B and C in the above formula respectively, and the target current value can be used as the value of I(n) in the above formula. The calculation result of the formula is the smoke risk value of the monitored wire in the current detection cycle. Figure 2 Schematic diagram of risk value processing provided by the embodiment of the present application. Figure 2 As shown, for the target current value of the nth sampling cycle, the smoke risk value Δt(n) of the nth sampling cycle can be calculated. Then, based on the accumulation of the smoke risk value Δt(n) of the nth sampling cycle and the historical risk value, namely: Δt(n-1), ..., Δt(1), the total risk value is obtained: Σt=Δt(n)+Δt(n-1)+...+Δt(1).
[0065] In the embodiment of the present application, by loading the function model corresponding to the smoke risk function and inputting the target current value, the heat rise coefficient, the heat dissipation coefficient and the offset coefficient in the target coefficient into the function model corresponding to the smoke risk function, the smoke risk value of the wire to be monitored in the current detection cycle can be obtained conveniently. In this way, the efficiency of generating the smoke risk value can be ensured to a certain extent.
[0066] Optionally, in one implementation, the above-mentioned smoke risk function can be fitted by the following steps:
[0067] Step S21: Select at least two current values as test current values, and select at least two wires with different wire diameters as test wires.
[0068] Step S22: for any of the test current values, determine the time when a smoke event occurs when each of the test wires passes a current of the test current value, as the smoke time corresponding to the test current value.
[0069] Step S23, taking the inverse of the smoke time corresponding to each test current value as the smoke risk test value corresponding to each test current value, and generating fitting data points based on each test current value and the smoke risk test value corresponding to each test current value.
[0070] Step S24: performing function fitting based on the fitting data points to obtain the smoke risk function.
[0071] In the embodiment of the present application, the overload current of the test wire is selected as the test current value. Different test current values can be applied to the test wire at different ambient temperatures, and wait until the test wire has a smoking event. At this time, the time required from the start of applying the test current value to the occurrence of a smoking event in the test wire is recorded as the smoking time corresponding to the test current value. In this way, multiple raw data pairs (test current value, smoking time) can be obtained. The ambient temperature can be selected according to the actual situation. For example, 23 degrees, 40 degrees, 50 degrees, 70 degrees, 85 degrees, and 100 degrees can be selected as the ambient temperature during the test, and experiments are carried out at different ambient temperatures of 23 degrees, 40 degrees, 50 degrees, 70 degrees, 85 degrees, and 100 degrees. The wire diameter involved in the test wire can be set according to the actual situation. For example, 12 wire diameters can be selected as the test wire. When testing, the load can be adjusted to achieve a stable current output for the test wire. It should be noted that in the embodiment of the present application, for a test wire of any wire diameter, the test wire can be tested multiple times at the same ambient temperature using each test current value, that is, multiple smoke times can be obtained for one test current value. Accordingly, the test current value and the median of the multiple smoke times can be combined into one raw data point. In this way, the influence of noise can be shielded and the accuracy of the data can be improved. Figure 3 is a curve diagram corresponding to an original data point provided in an embodiment of the present application. Figure 3 As shown in the figure, the original data points obtained by testing 12 test wires with different wire diameters are plotted, and the Figure 2 The curves corresponding to the 12 test wires with different wire diameters are shown in Figure 1. The horizontal axis represents the smoke time, and the vertical axis represents the current value of the test current. The corresponding wire diameters decrease from top to bottom. For the same current value, the larger the wire diameter, the longer the smoke time required. Figure 3 It can be seen that the smoking time is basically negatively correlated with the current.
[0072] It should be noted that, in the embodiment of the present application, before using the original data points, the original data points can be cleaned to extract valid data therein. Exemplarily, the original data points can be analyzed based on a preset program to determine the original data points whose deviation is greater than the preset deviation threshold, and these original data points are cleared, and the remaining original data points are valid data. Among them, the preset program can be a program based on the python language, and the subsequent operation of generating a smoke risk function based on the original data points can also be implemented by the preset program. In this way, if there are newly collected original data points later, the newly collected original data points can be directly input into the preset program, and the preset program is combined with the newly collected original data points to optimize the previously generated smoke risk function. In this way, the development process can be simplified and the development efficiency can be improved.
[0073] The smoke time t in the original data point can be set to the reciprocal of the smoke time 1 / t, and then the fitting data point can be obtained. Among them, the reciprocal of the smoke time 1 / t is the smoke risk test value. In this way, the smoke risk value Δt output by the smoke risk function obtained by fitting the fitting data point can represent the reciprocal of the smoke time, and accordingly, 1 / Δt can represent the time required for the smoke event to occur in the monitored conductor after the current of the target current value passes through. The smaller the smoke time, the larger the corresponding reciprocal, and accordingly, the higher the risk value represented. Since the current value in the actual environment often changes, the reciprocal of the smoke time as a dimensionless measure can eliminate the influence of the time unit, so that it is convenient to calculate the total risk value of the monitored conductor by accumulation later.
[0074] Furthermore, the function model can be determined based on the fitting data points, that is, the function form of the smoke risk function can be determined. For example, the test current value in the fitting data point can be changed to obtain current characteristic data sets of different dimensions. For example, the current characteristic can be calculated based on the test current value I in each fitting data point: I 3 ,I 2, 1 / I. In this way, by setting current features of different dimensions, it is convenient to capture features in the data from different current dimensions. Next, a feature matrix A is constructed based on the current feature data set. Among them, the size of matrix A is N*M, N represents the number of dimensions of the current feature, for example, in the above example, N is equal to 3. M represents the data condition, that is, the number of fitted data points. Next, the matrix A can be subjected to singular value decomposition (SVD) to obtain an orthogonal matrix VT of the matrix A, wherein the size of the matrix VT can be N*N, and the variance explanation rate of each current feature dimension in the matrix A for the specified target is calculated through the matrix VT. Among them, the specified target can be a smoke risk test value, and the specified target can be selected based on experience or multiple tests. Finally, the current features whose sum of variance explanation rates is greater than the preset variance explanation rate threshold can be selected, and the function model is determined based on the addition of these selected current features. Assume that the selected current feature is: I 2 , 1 / I, then the function model can be A*I 2 +B / I+C.
[0075] In an embodiment of the present application, at least two current values are selected as test current values, and at least two wires of different wire diameters are selected as test wires. For any test current value, the time when the smoke event occurs when each test wire passes a current of the test current value is determined, and the smoke time corresponding to the test current value is obtained. The inverse of the smoke time corresponding to each test current value is used as the smoke risk test value corresponding to each test current value, and based on each test current value and the smoke risk test value corresponding to each test current value, a fitting data point is generated. Function fitting is performed based on the fitting data points to obtain a smoke risk function. In this way, function fitting is performed using the fitting data points collected in the actual scenario of test wires of different wire diameters passing different test current values, which can ensure the comprehensiveness of the data to a certain extent, and thus ensure the accuracy of the fitted smoke risk function to a certain extent.
[0076] It should be noted that the step of fitting the smoke risk function can be performed before the aforementioned step 101. Specifically, the smoke risk function can be obtained by performing the step of fitting the smoke risk function once. The smoke risk function can be used multiple times later. Among them, the execution subject of the step of fitting the smoke risk function can be the wire protection component, or it can also be other subjects. Accordingly, after the smoke risk function is fitted by other subjects according to the step of fitting the smoke risk function, the smoke risk function can be stored in the wire protection component. The embodiment of the present application is not limited to this. Further, in the embodiment of the present application, after the smoke risk function is fitted, the smoke risk function can also be verified. Specifically, after the function fitting is completed, at least two groups of current values that do not belong to the test current value can be selected as the verification current value for retesting to determine the smoke risk value corresponding to the verification current value as the first risk value. Then, the smoke risk value corresponding to the verification current value is determined using the fitted smoke risk function as the second risk value. The result error is calculated based on the first risk value and the second risk value. If the result error is less than the preset threshold, it is determined that the smoke risk function has passed the verification. Otherwise, it is determined that it has not passed the verification. The preset threshold value can be set according to actual needs, for example, the preset threshold value can be 0.5. In the specific verification process, the verification can also be performed in the form of changing the current, for example, the current can be increased from 5A to 15A in 30 seconds, or the current can be randomly jumped in the range of 10A to 20A, and the deviation between the first risk value determined according to the actual data and the second risk value predicted by the smoke risk function can be compared. Figure 4 This is a data comparison chart provided in the embodiment of the present application. Figure 4 As shown, the horizontal axis represents the current value, and the vertical axis represents the smoke risk value. The curve in the figure is a curve representation of the smoke risk function. Figure 4 The origin in represents the actual data, that is, the data point consisting of the verification current value and its corresponding first risk value. Figure 4 As shown in the figure, the maximum error between the actual data and the predicted data of the function is less than the preset threshold, and the fitting effect of the smoke risk function is relatively accurate.
[0077] The actual environment of a car is very complex, and it is easy for errors to accumulate due to noise during calculations, causing a large deviation between the final result and the actual data. In the embodiment of the present application, a large number of tests are performed on test wires of different wire diameters, and function fitting is performed based on the actual data obtained from the test to fit the functional relationship between the current value and the smoke risk value. Using the smoke risk function for calculations can better explore and shield the influence of noise. And when the smoke risk value of each detection cycle is determined using the smoke risk function, the calculation is performed only based on the data within the detection cycle, for example, the current value within the detection cycle. The smoke risk value of each detection cycle does not depend on the data within the previous detection cycle and the smoke risk value calculated in the previous detection cycle, that is, each calculation is independent of each other. Therefore, the accumulation of errors can be avoided to a certain extent, thereby improving the accuracy of the smoke risk value.
[0078] Optionally, in one implementation, the coefficient set may be calculated by the following steps:
[0079] Step S31: when the vehicle is started, obtaining the vehicle temperature and a wire diameter set of the vehicle; the wire diameter set includes the wire diameters of all wires to be monitored.
[0080] Step S32: generating function coefficients corresponding to the wire diameters of each wire according to the vehicle temperature and the wire diameter set, to obtain the coefficient set.
[0081] Specifically, for any target VIU, when it is detected that the vehicle enters the startup phase, the wire diameters of all wires to be monitored allocated to the target VIU can be loaded from the preset buffer area to obtain a wire diameter set. And, the vehicle temperature detected by the preset body temperature sensor is obtained. Among them, the vehicle temperature can be regarded as the initial temperature of the wire. The wire diameters of all wires to be monitored allocated to the target VIU can be stored corresponding to the wire IDs of all wires to be monitored allocated to the target VIU. The preset buffer area can be an area for storing the software and hardware configuration information of the vehicle. For example, the preset buffer area can be used to store configuration information that will not change in the vehicle. The preset buffer area can still maintain data after the vehicle is powered off. In this way, it can be ensured that the data in the preset buffer area can be re-read after the vehicle is powered on. In the embodiment of the present application, the wire protection function can be started after the vehicle enters the startup, that is, from the start of the vehicle, the target current value is obtained once every detection cycle length to determine the smoke risk value based on the target current value, and the total risk value is determined based on the smoke risk value calculated this time.
[0082] For any wire diameter in the wire diameter set, a function coefficient corresponding to the wire diameter can be generated based on the wire diameter and the vehicle temperature, thereby realizing parameter initialization of the smoke risk function. The function coefficients corresponding to all wire diameters in the wire diameter set constitute a coefficient set of the smoke risk function. In an embodiment of the present application, when the vehicle is started, the vehicle temperature and the wire diameter set of the vehicle are obtained, and the function coefficients corresponding to each wire diameter are generated according to the vehicle temperature and the wire diameter set to obtain a coefficient set. Since the wire diameter set includes the wire diameters of all wires to be detected, it can be ensured that the required monitored wires can be covered, thereby ensuring that the target coefficients of all wires to be monitored can be determined based on the coefficient set in the future.
[0083] Optionally, in one implementation, the step of generating the function coefficient corresponding to each wire diameter according to the vehicle temperature and the wire diameter set may specifically include:
[0084] Step S321: for any of the wire diameters in the wire diameter set, input the vehicle temperature and the wire diameter into a first preset formula to obtain a heat rise coefficient corresponding to the wire diameter.
[0085] Step S322: input the vehicle temperature and the wire diameter into a second preset formula to obtain a heat dissipation coefficient corresponding to the wire diameter.
[0086] Step S323: input the wire diameter into a third preset formula to obtain an offset coefficient corresponding to the wire diameter.
[0087] In an embodiment of the present application, the heat rise coefficient and the heat dissipation coefficient may be coefficients determined according to the vehicle temperature and the wire diameter. The offset coefficient may be a coefficient related only to the wire diameter. Among them, the first preset formula may be: A=aQ+bd+c, the second preset formula may be: B=iQ+jd+k, and the third preset formula may be: C=ud+v, Q represents the vehicle temperature, d represents the wire diameter, and a, b, c, i, j, k, u, and v represent preset coefficient acquisition parameters. Among them, v may be a noise value determined empirically. For example, 10 groups of noise values may be determined as a value set of v. Figure 5 is a data acquisition schematic diagram provided in an embodiment of the present application, such as Figure 5 As shown, the vehicle temperature Q can be obtained based on the temperature sensor, and the wire diameter d in the wire diameter set can be obtained based on the preset buffer area. Based on the vehicle temperature Q, the wire diameter d and the first preset formula: A = aQ + bd + c, the second preset formula: B = iQ + jd + k, and the third preset formula: C = ud + v, the function coefficient corresponding to the wire diameter d is calculated.
[0088] Among them, the coefficients a, b, c, i, j, k in the first preset formula and the second preset formula can be obtained by calculating the actual data through the nonlinear least squares method. Exemplarily, for any test wire, the wire diameter of the test wire and the ambient temperature corresponding to the fitting data point generated based on the test wire can be recorded. Among them, the ambient temperature corresponding to the fitting data point refers to the ambient temperature of the test wire when the original data point corresponding to the fitting data point is collected. The coefficients A, B and C in the function model are determined using the multiple fitting data points generated based on the test wire and the previously determined function model. For example, it can be determined based on the nonlinear least squares method. Specifically, the values of A and B can be determined first, and then the coefficient C is determined according to the smoke risk test value in the fitting data point, and the values of A and B and the actual current value in the fitting data point are brought into the function model. The value obtained. Further, a first data group for determining the coefficients in the first preset formula can be generated: (wire diameter of the test wire, ambient temperature, A), and a second data group for determining the coefficients in the second preset formula: (wire diameter of the test wire, ambient temperature, B). A third data group for determining coefficient u in a third preset formula: (wire diameter of the test wire, C). Corresponding to test wires of different wire diameters, multiple first data groups, multiple second data groups, and multiple third data groups can be obtained. Accordingly, the coefficients a, b, and c in A=aQ+bd+c can be determined based on multiple first data groups, and the coefficients i, j, and k in B=iQ+jd+k can be determined based on multiple second data groups by a nonlinear least squares method.
[0089] For the offset coefficient C, since C is only related to the wire diameter, and the specification of the wire diameter is discrete, the actual data can be inversely calculated to obtain multiple available values. Specifically, C in each third data group can be divided by the wire diameter of the test wire in the third data group to obtain multiple available values of u. When the offset coefficient is calculated using the third preset formula, a value can be randomly selected from multiple available values as u, and a value can be randomly selected from the value set of v as n.
[0090] In the embodiment of the present application, the first preset formula and the second preset formula are respectively used to calculate the heat rise coefficient and the heat dissipation coefficient for different wire diameters according to the vehicle temperature and the wire diameter. And, the third preset formula is used to calculate the offset coefficient for different wire diameters according to the wire diameter. In this way, it can be ensured that when the smoke risk value of the function to be monitored is subsequently calculated, the function coefficient used is more compatible with the function to be monitored, thereby improving the calculation effect.
[0091] Optionally, in an embodiment, the method may further include: Step S41, determining the protection level of the wire to be monitored.
[0092] Accordingly, the above step of performing a power-off operation on the wire to be monitored may specifically include:
[0093] Step 1041: When the protection level is the first level, directly perform the power-off operation on the wire to be monitored.
[0094] Step 1042: When the protection level is the second level, output a disconnection prompt message to the user, and when the time interval with the target time point reaches a preset time length, perform the power-off operation on the monitored wire; the target time point is the time point when the disconnection prompt message is output.
[0095] In the embodiment of the present application, the protection level of the wire to be monitored can be set in advance for the wire to be monitored according to actual needs. The execution timeliness of the power-off operation corresponding to different protection levels is different. Specifically, in one implementation, the protection level can be divided into a first level and a second level. The first level can be higher than the second level. Accordingly, when the protection level of the wire to be monitored is the first level, the power-off operation can be directly performed on the wire to be monitored, so that the problem of smoke and fire in the wire to be monitored can be avoided to the greatest extent. Exemplarily, after the wire to be monitored is powered off, it will not affect the normal driving function of the vehicle, and the first protection level can be set for the wire. On the contrary, when the protection level of the wire to be monitored is the second level, the disconnection prompt information can be output to the user first, so that the user can be informed in time that the wire to be monitored is about to be powered off, so that the user can take countermeasures in time, ensure that the user can effectively control the vehicle, avoid directly performing the power-off operation, resulting in the vehicle driving being suddenly interrupted, and reduce the problem of vehicle safety. Exemplarily, the disconnection prompt information may include functional information for indicating that the function that will affect the user after the wire to be monitored is powered off, and time information representing the preset duration. Taking the case that the vehicle's driving function will be affected after the monitored wire is disconnected, and the preset duration is 30 seconds, the disconnection prompt information can be displayed on the vehicle's central control screen: the wire is overcurrent, and the wire current will be cut off after 20 seconds, affecting the vehicle's driving function. Please stop as soon as possible. Accordingly, the time point of outputting the disconnection prompt information can be used as the target time point to start the countdown, and after the 30-second countdown ends, the power-off operation is performed on the monitored wire. Specifically, the power-off operation can be performed on the monitored wire based on the wire on-off service. Among them, the wire on-off service can receive and execute the wire on-off request. The current of the wire to be monitored can be disconnected by sending a wire disconnection request through the wire on-off service. The wire on-off service can be provided by an electronic control unit responsible for controlling the current, such as provided by a power management system. Exemplarily, when the total risk value of the wire to be monitored meets the preset risk requirement, a disconnection request carrying the wire ID of the wire to be monitored can be sent to disconnect the current supply corresponding to the wire ID of the wire to be monitored. The wire on-off service can return a response message indicating a successful disconnection after successfully disconnecting the current supply. On the contrary, if the current supply is not disconnected successfully, response information indicating the disconnection failure may be returned so that the target VIU can process accordingly. For example, the target VIU may directly send a disconnection instruction again until the disconnection is successful.
[0096] It should be noted that in the embodiment of the present application, the current of the wire to be monitored can also be realized based on the wire on-off service when the current of the wire to be monitored is subsequently conducted. Compared with the method of setting a fuse, after the fuse blows, if it is necessary to re-power on, a new fuse needs to be replaced. In the embodiment of the present application, after performing a protection operation on the wire, that is, after the power is cut off to the wire, when it is necessary to re-power on, power can be directly turned on based on the wire on-off service, thereby reducing subsequent costs. And in the embodiment of the present application, overcurrent protection of the wire can be achieved based on the wire protection function, so that when selecting the wire diameter for the vehicle, a smaller wire diameter can be selected without worrying about the current carrying problem, thereby further reducing manufacturing costs.
[0097] In the embodiment of the present application, by obtaining the protection level of the wire to be monitored, when the protection level of the wire to be monitored is the first level, the wire to be monitored is directly powered off, so that the problem of smoke and fire in the wire to be monitored can be avoided to the greatest extent. When the protection level of the wire to be monitored is the second level, a disconnection prompt message can be output to the user first, so that the user can be informed in time that the wire to be monitored is about to be powered off, so that the user can take timely countermeasures, thereby avoiding the problem of directly performing a power-off operation, causing the vehicle to be suddenly interrupted, and thus reducing the safety of the vehicle.
[0098] Optionally, in one embodiment, the above-mentioned determination of the protection level of the wire to be monitored may specifically include: obtaining the wire identification of the wire to be monitored as the target identification; from the preset corresponding relationship between the wire identification and the protection level, searching for the protection level corresponding to the wire identification corresponding to the target identification, and obtaining the protection level of the wire to be monitored. In this implementation, the preset corresponding relationship between the wire identification and the protection level can be pre-set according to actual needs, and the corresponding relationship can be pre-stored in the target VIU. The corresponding relationship stored in each target VIU may specifically include the wire identification of the wire assigned to the target VIU and its corresponding protection level. For any target VIU, the corresponding relationship can be loaded from a preset buffer area. Then, the corresponding relationship is searched based on the wire identification of the wire to be monitored. In this way, by setting the corresponding relationship between the wire identification and the protection level, and determining the protection level of the wire to be monitored based on the corresponding relationship between the wire identification and the protection level, different protection levels can be set for different wires, thereby realizing diversified protection of the wires.
[0099] Alternatively, in one embodiment, the above-mentioned determination of the protection level of the wire to be monitored may specifically include: determining the protection level of the wire protection component to which the wire to be monitored belongs; and determining the protection level of the wire protection component as the protection level of the wire to be monitored. The wire protection component to which the wire to be monitored belongs is the target VIU responsible for managing the wire to be monitored. For any target VIU, the protection level set in its own preset buffer area can be obtained as the protection level of the wire to be monitored. Exemplarily, after the vehicle computer is started, the level of the protection function of the target VIU can be read from the preset buffer area to obtain the protection level of the target VIU. In this implementation, the protection levels of all wires to be monitored managed by the target VIU are the protection levels set in the preset buffer area of the target VIU. In this way, the protection level of the wire to be monitored can be determined by only obtaining the protection level of the wire protection component, thereby improving the efficiency of determining the protection level.
[0100] Figure 6 Schematic diagram of wire protection provided by an embodiment of the present application. Figure 6As shown, three target VIUs: VIU1, VIU2 and VIU3 can obtain the vehicle temperature based on the temperature sensor, and obtain the protection level, the wire ID of the wire to be monitored and the wire diameter of the wire to be monitored managed by each from their respective cache areas. For example, VIU1 can obtain the protection level, the wire ID of the wire to be monitored managed by it and the wire diameter from cache area 1, for example, the protection level is obtained: 0, [wire ID1, wire diameter 0.35], [wire ID2, wire diameter 0.5]... VIU2 can obtain the protection level, the wire ID of the wire to be monitored managed by it and the wire diameter from cache area 2, for example, the protection level is obtained: 0, [wire ID31, wire diameter 0.35], [wire ID32, wire diameter 0.5]... VIU3 can obtain the protection level, the wire ID of the wire to be monitored managed by it and the wire diameter from cache area 3, for example, the protection level is obtained: 1, [wire ID51, wire diameter 1.5], [wire ID52, wire diameter 1.0]... At the same time, the target VIU can obtain the current value corresponding to the wire ID of each wire to be monitored based on the current sensor responsible for collecting the current value of the wire to be monitored managed by each. For example, VIU1 can obtain the current value corresponding to the wire ID of each wire to be monitored managed by the current sensor 1, for example, obtain: [wire ID1, current 5A], [wire ID2, current 10A], .... VIU2 can obtain the current value corresponding to the wire ID of each wire to be monitored managed by the current sensor 2, for example, obtain: [wire ID31, current 5A], [wire ID32, current 10A], .... VIU3 can obtain the current value corresponding to the wire ID of each wire to be monitored managed by the current sensor 3, for example, obtain: [wire ID51, current 5A], [wire ID52, current 10A], .... Accordingly, each target VIU can calculate the smoke risk value of each wire to be monitored in each detection cycle. Then, the total risk value of each wire to be monitored is calculated, and it is determined whether the total risk value of each wire to be monitored meets the preset risk requirement. If it does, the current of the wire to be monitored is disconnected. The total risk value of each wire to be monitored can be stored corresponding to the wire ID of the wire to be monitored, and accordingly, the current of the wire ID corresponding to the total risk value that meets the preset risk requirement can be disconnected.
[0101] Figure 7 A wire protection device is provided in an embodiment of the present application, such as Figure 7 As shown, the device can be applied to any wire protection assembly, and the wire protection device includes:
[0102] A first acquisition module 201 is used to acquire, for any wire to be monitored, a current value of the wire to be monitored in a current detection cycle as a target current value;
[0103] The first generating module 202 is used to generate the smoke risk value of the wire to be monitored in the detection period based on the target current value and a preset smoke risk function; the smoke risk function is obtained by fitting based on the test current values of different wires and their corresponding smoke risk test values, and the smoke risk test value is determined based on the smoke time, which is the time required for the wire to produce a smoke event when a current of the current test value passes through the wire;
[0104] A first determination module 203 is used to determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle;
[0105] The power-off module 204 is configured to perform a power-off operation on the wire to be monitored if the total risk value meets a preset value requirement.
[0106] Optionally, the first generating module 202 is specifically configured to:
[0107] Obtaining a target coefficient corresponding to the wire diameter of the wire to be monitored; wherein the target coefficient is a function coefficient obtained from a coefficient set of the smoke risk function, and the coefficient set includes function coefficients corresponding to different wire diameters;
[0108] Inputting the target current value and the target coefficient into the smoke risk function;
[0109] The output of the smoke risk function is obtained to obtain the smoke risk value of the wire to be monitored in the detection cycle.
[0110] Optionally, the target coefficients include a heat rise coefficient, a heat dissipation coefficient and an offset coefficient; the first generation module 202 is further specifically used to: load a function model corresponding to the smoke risk function; input the target current value, the heat rise coefficient, the heat dissipation coefficient and the offset coefficient into the function model corresponding to the smoke risk function.
[0111] Optionally, the smoke risk function is obtained by fitting the following modules:
[0112] A selection module, used for selecting at least two current values as test current values, and selecting at least two wires with different wire diameters as test wires;
[0113] A second determination module is used to determine, for any of the test current values, a time at which a smoke event occurs when each of the test wires passes a current of the test current value, as a smoke time corresponding to the test current value;
[0114] A second generating module is used to use the inverse of the smoke time corresponding to each test current value as the smoke risk test value corresponding to each test current value, and generate fitting data points based on each test current value and the smoke risk test value corresponding to each test current value;
[0115] A fitting module is used to perform function fitting based on the fitting data points to obtain the smoke risk function.
[0116] Optionally, the device further comprises:
[0117] A second acquisition module is used to acquire the vehicle temperature and a wire diameter set of the vehicle when the vehicle is started; the wire diameter set includes the wire diameters of all wires to be monitored;
[0118] The third generating module is used to generate function coefficients corresponding to the wire diameters of each wire according to the vehicle temperature and the wire diameter set, so as to obtain the coefficient set.
[0119] Optionally, the third generating module is specifically used to:
[0120] For any of the wire diameters in the wire diameter set, inputting the vehicle temperature and the wire diameter into a first preset formula to obtain a heat rise coefficient corresponding to the wire diameter;
[0121] Inputting the vehicle temperature and the wire diameter into a second preset formula to obtain a heat dissipation coefficient corresponding to the wire diameter;
[0122] The wire diameter is input into a third preset formula to obtain an offset coefficient corresponding to the wire diameter.
[0123] Optionally, the device further comprises: a third determination module, configured to determine a protection level of the wire to be monitored;
[0124] The power-off module 204 is specifically used for:
[0125] When the protection level is the first level, directly performing the power-off operation on the wire to be monitored;
[0126] When the protection level is the second level, a disconnection prompt message is output to the user, and when the time interval with the target time point reaches a preset time length, the power-off operation is performed on the monitored wire; the target time point is the time point when the disconnection prompt message is output.
[0127] Optionally, the third determination module is specifically used to: obtain the conductor identifier of the conductor to be monitored as the target identifier; search for the protection level corresponding to the conductor identifier corresponding to the target identifier from the preset correspondence relationship between the conductor identifier and the protection level, and obtain the protection level of the conductor to be monitored;
[0128] Alternatively, the protection level of the wire protection component to which the wire to be monitored belongs is determined; and the protection level of the wire protection component is determined as the protection level of the wire to be monitored.
[0129] Optionally, the device also includes: a jump module, which is used to re-enter the step of obtaining the current value of the monitored conductor in the current detection cycle as the target current value when the next detection cycle is reached if the total risk value does not meet the preset numerical requirement.
[0130] Optionally, the first determination module 203 is specifically configured to: calculate the sum of the smoke risk value of the detection period and all historical risk values; and determine the sum as the total risk value of the wire to be monitored.
[0131] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0132] The advantages of the wire protection device and the method described in the above embodiment over the prior art are the same, which will not be described in detail here.
[0133] The present application embodiment provides an electronic device, see Figure 8 The electronic device 30 includes: a processor 301, a memory 302, and a computer program 3021 stored in the memory 302 and executable on the processor 301. When the processor 301 executes the program, the wire protection method of the aforementioned embodiment is implemented.
[0134] An embodiment of the present application provides a storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the aforementioned method.
[0135] An embodiment of the present application provides a vehicle, comprising the device as described in the above embodiment, used to execute the method as described in the above embodiment.
[0136] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other equipment. According to the above description, it is obvious that the structure required for constructing such a system is. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific language is for disclosing the best mode of the present invention.
[0137] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0138] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0139] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0140] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention may also be implemented as a device or apparatus program for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0141] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0143] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0144] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0145] It should be noted that the various data-related processes in the embodiments of the present application are all carried out in compliance with the corresponding data protection laws and policies of the country where the device is located, and with the authorization given by the owner of the corresponding device.
[0146] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.
Claims
1. A conductor protection method, It is characterized in that Applied to any conductor protection assembly, the method comprises: For any wire to be monitored, obtaining a current value of the wire to be monitored in a current detection cycle as a target current value; Based on the target current value and a preset smoke risk function, a smoke risk value of the wire to be monitored in the detection period is generated; the smoke risk function is obtained by fitting based on the test current values of different wires and their corresponding smoke risk test values, and the smoke risk test value is determined based on the smoke time, which is the time required for the wire to produce a smoke event when a current of the current test value passes through the wire; Determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle; If the total risk value meets the preset value requirement, the wire to be monitored is powered off.
2. The method according to claim 1, It is characterized in that The step of generating a smoke risk value of the wire to be monitored during the detection period based on the target current value and a preset smoke risk function includes: Obtaining a target coefficient corresponding to the wire diameter of the wire to be monitored; wherein the target coefficient is a function coefficient obtained from a coefficient set of the smoke risk function, and the coefficient set includes function coefficients corresponding to different wire diameters; Inputting the target current value and the target coefficient into the smoke risk function; The output of the smoke risk function is obtained to obtain the smoke risk value of the wire to be monitored in the detection cycle.
3. The method according to claim 2, It is characterized in that The target coefficients include heat rise coefficient, heat dissipation coefficient and offset coefficient; The step of inputting the target current value and the target coefficient into the smoke risk function comprises: Loading the function model corresponding to the smoke risk function; The target current value, the heat rise coefficient, the heat dissipation coefficient, and the offset coefficient are input into a function model corresponding to the smoke risk function.
4. The method according to any one of claims 1 to 3, It is characterized in that The smoke risk function is fitted in the following way: Selecting at least two current values as test current values, and selecting at least two wires with different wire diameters as test wires; For any of the test current values, determining the time at which a smoke event occurs when a current of the test current value passes through each of the test wires, as the smoke time corresponding to the test current value; Taking the inverse of the smoke time corresponding to each of the test current values as the smoke risk test value corresponding to each of the test current values, and generating fitting data points based on each of the test current values and the smoke risk test value corresponding to each of the test current values; Function fitting is performed based on the fitting data points to obtain the smoke risk function.
5. The method according to claim 2, It is characterized in that The method further comprises: When the vehicle is started, obtaining the vehicle temperature and a wire diameter set of the vehicle; the wire diameter set includes the wire diameters of all wires to be monitored; According to the vehicle temperature and the wire diameter set, function coefficients corresponding to the wire diameters are generated to obtain the coefficient set.
6. The method according to claim 5, It is characterized in that The step of generating function coefficients corresponding to the wire diameters of the respective wires according to the vehicle temperature and the wire diameter set to obtain the coefficient set includes: For any of the wire diameters in the wire diameter set, inputting the vehicle temperature and the wire diameter into a first preset formula to obtain a heat rise coefficient corresponding to the wire diameter; Inputting the vehicle temperature and the wire diameter into a second preset formula to obtain a heat dissipation coefficient corresponding to the wire diameter; The wire diameter is input into a third preset formula to obtain an offset coefficient corresponding to the wire diameter.
7. The method according to claim 1, It is characterized in that The method further comprises: determining a protection level of the conductor to be monitored; The performing a power-off operation on the wire to be monitored comprises: When the protection level is the first level, directly performing the power-off operation on the wire to be monitored; When the protection level is the second level, a disconnection prompt message is output to the user, and when the time interval with the target time point reaches a preset time length, the power-off operation is performed on the monitored wire; the target time point is the time point when the disconnection prompt message is output.
8. The method according to claim 7, It is characterized in that Determining the protection level of the wire to be monitored includes: Obtaining the conductor identifier of the conductor to be monitored as the target identifier; searching for the protection level corresponding to the conductor identifier corresponding to the target identifier from the preset correspondence between the conductor identifier and the protection level, and obtaining the protection level of the conductor to be monitored; Alternatively, the protection level of the wire protection component to which the wire to be monitored belongs is determined; and the protection level of the wire protection component is determined as the protection level of the wire to be monitored.
9. The method according to claim 1, It is characterized in that The method further comprises: If the total risk value does not meet the preset value requirement, then when the next detection cycle is reached, the step of obtaining the current value of the wire to be monitored in the current detection cycle as the target current value is re-entered.
10. The method according to claim 1, It is characterized in that The determining of the total risk value of the wire to be monitored based on the smoke risk value of the detection period and the historical risk value includes: Calculating the sum of the smoke risk value of the detection period and all historical risk values; The sum is determined as the total risk value of the conductor to be monitored.
11. A conductor protection device, It is characterized in that Applicable to any wire protection assembly, the wire protection device comprises: A first acquisition module is used to acquire, for any wire to be monitored, a current value of the wire to be monitored in a current detection cycle as a target current value; A first generating module is used to generate a smoke risk value of the wire to be monitored in the detection period based on the target current value and a preset smoke risk function; the smoke risk function is obtained by fitting based on test current values of different wires and their corresponding smoke risk test values, the smoke risk test value is determined based on the smoke time, and the smoke time is the time required for the wire to produce a smoke event when a current of the current test value passes through the wire; A first determination module is used to determine the total risk value of the wire to be monitored based on the smoke risk value of the detection cycle and the historical risk value; the historical risk value includes the smoke risk value of the wire to be monitored in the detection cycle before the detection cycle; A power-off module is used to perform a power-off operation on the wire to be monitored if the total risk value meets a preset numerical requirement.
12. An electronic device, It is characterized in that The electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of any method described in claims 1-10 are implemented.
13. A storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device executes any one of the methods of claims 1-10.
14. A vehicle, It is characterized in that The method comprises the apparatus as claimed in claim 11, and is used to execute the method as claimed in any one of claims 1 to 10.
Citation Information
Cited By
Wire protection method and apparatus, and electronic device, storage medium and vehicle
EP4815235A1
Wire protection method and apparatus, and electronic device, storage medium and vehicle
WO2025252178A1
