Ground return test method, apparatus, and electronic device
By installing a power-off switch at the grounding point of the vehicle wiring harness, measuring current and voltage, and analyzing ground loop risks, the problem of wire overload caused by grounding point failure was solved, thus improving the safety and reliability of the vehicle's electrical system.
Patent Information
- Application Number
- CN202410832253.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-06-25
AI Technical Summary
Failure or poor contact at the grounding point of the wiring harness in a vehicle can lead to abnormal electrical connections between electrical components, creating a potential ground loop that could cause wire overload and fire risks. There is no effective solution in the current technology.
By installing a power-off switch at the wiring harness grounding point of the vehicle, the on/off state of the wiring harness grounding point is controlled. The current and voltage are measured at each wiring harness grounding point. Based on the current and voltage data, the risk of ground loops is analyzed, high-risk ground loops are identified, and corresponding measures are taken.
It enables high-precision and rapid identification and resolution of high-risk ground loops in vehicles, reduces the risk of wire overload, and improves the safety and reliability of vehicle electrical systems.
Smart Images

Figure CN118731771B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to a ground loop testing method, apparatus, and electronic device. Background Technology
[0002] With the continuous development of vehicle intelligence and connectivity, vehicle functions are constantly being upgraded and improved to meet user needs and enhance the user experience, resulting in an increasing number of electrical components within the vehicle. However, the number of grounding points in the vehicle wiring harness (where the wires in the wiring harness are connected to the vehicle body's grounding point via splicing or soldering to ensure a good ground connection between the wiring harness and the vehicle body, guaranteeing the normal operation of the vehicle's electrical system) is limited. This inevitably leads to situations where electrical components share grounding points. If a grounding point fails or has poor contact, it can cause abnormal electrical connections between electrical components, creating a potential ground loop under abnormal operating conditions. The operating current of other controllers will also flow through this potential ground loop, potentially causing current overload in the wires, leading to overheating or even fire, thus affecting the normal operation of the vehicle.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This invention provides a ground loop testing method, apparatus, and electronic device to at least solve the technical problem in related technologies where ground loops in electrical components lead to current overload through wires.
[0005] According to one embodiment of the present invention, a ground loop testing method is provided, comprising: determining a wiring harness grounding point in a vehicle, wherein each wiring harness grounding point corresponds to a power-off switch, the power-off switch being used to control the on / off state of the circuit at the wiring harness grounding point, and each wiring harness grounding point being connected to at least one electrical component in the vehicle; controlling the vehicle to a target operating state, wherein the target operating state is used to indicate that each power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and the electrical component connected to each wiring harness grounding point is in a closed state; in the target operating state, traversing the wiring harness grounding points, determining a first current, a second current, a first voltage, and a second voltage corresponding to each wiring harness grounding point, wherein the first current is the current corresponding to the grounding point other than the wiring harness grounding point when the electrical component connected to each wiring harness grounding point is in an on state. The current of the electrical switch, the second current is the current of the power disconnect switch corresponding to any wiring harness ground point other than any wiring harness ground point when the electrical component connected to any wiring harness ground point is in the open state and the power disconnect switch corresponding to any wiring harness ground point is in the open state; the first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness ground point is in the open state and the power disconnect switch corresponding to any wiring harness ground point is in the open state; the second voltage is the voltage of the power disconnect switch corresponding to any wiring harness ground point when the electrical component connected to any wiring harness ground point is in the open state and the power disconnect switch corresponding to any wiring harness ground point is in the open state; a ground loop test is performed on any electrical component based on the first current, the second current, the first voltage, and the second voltage to obtain the test result, wherein the test result is used to determine the electrical component with a ground loop of a preset risk level.
[0006] Optionally, traversing the wiring harness grounding points and determining the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point includes: traversing the wiring harness grounding points and determining the currently traversed target wiring harness grounding point; controlling the target electrical component connected to the target wiring harness grounding point to be in an on state during a first time period, and determining the first sub-current of the remaining power-off switches during the first time period, wherein the remaining power-off switches are power-off switches other than the target power-off switch corresponding to the target wiring harness grounding point; controlling the target power-off switch to be in an off state during a second time period, and determining the first sub-voltage of the vehicle battery, the second sub-voltage of the target power-off switch, and the second sub-current of the remaining power-off switches during the second time period, wherein the second time period is after the first time period, the target electrical component is in a off state after the second time period, and the target power-off switch is in a closed state after the second time period; determining the first current based on the first sub-current, determining the second current based on the second sub-current, determining the first voltage based on the first sub-voltage, and determining the second voltage based on the second sub-voltage.
[0007] Optionally, a ground loop test is performed on any electrical component based on a first current, a second current, a first voltage, and a second voltage. The test results include: comparing the magnitudes of the first sub-voltage and the second sub-voltage to obtain a first comparison result; comparing the magnitudes of the first sub-current and the second sub-current to obtain a second comparison result; in response to the first comparison result and the second comparison result satisfying a preset condition, determining the problematic loop current based on the second comparison result; and determining the test result based on the problematic loop current.
[0008] Optionally, in response to the first comparison result and the second comparison result satisfying a preset condition, determining the problem loop current based on the second comparison result includes: in response to the first comparison result indicating that the first sub-voltage is greater than the second sub-voltage and the voltage difference between the first sub-voltage and the second sub-voltage is greater than a preset voltage difference, and the second comparison result indicating that the first sub-current is less than the second sub-current and the current difference between the first sub-current and the second sub-current is greater than a preset current difference, determining the problem loop current based on the second comparison result.
[0009] Optionally, determining the problem loop current based on the second comparison result includes: determining a first problem sub-current and a second problem sub-current based on the second comparison result, wherein the current difference between the first problem sub-current and the second problem sub-current is greater than a preset current difference; and determining the problem loop current based on the first problem sub-current and the second problem sub-current.
[0010] Optionally, determining the test results based on the problematic loop current includes: identifying the problematic loop corresponding to the problematic loop current; identifying the problematic electrical component based on the problematic loop; and determining the test results based on the problematic electrical component.
[0011] Optionally, the method further includes: in response to the first comparison result and the second comparison result satisfying a preset condition, adding the currently traversed target harness grounding point to the problem harness grounding point set.
[0012] Optionally, determining the problematic electrical component based on the problematic circuit includes: controlling the electrical system to be in a non-starting state; in the non-starting state, acquiring the initial temperature corresponding to any problematic circuit; controlling the electrical system to be in a starting state; in the starting state, traversing the set of problematic wiring harness grounding points, controlling the electrical component connected to any wiring harness grounding point in the set of problematic wiring harness grounding points to be in an on state, and controlling the power-off switch corresponding to any wiring harness grounding point in the set of problematic wiring harness grounding points to be in an off state; with the electrical component connected to any wiring harness grounding point in the set of problematic wiring harness grounding points in an on state, and the power-off switch corresponding to any wiring harness grounding point in the set of problematic wiring harness grounding points in an off state, acquiring the target temperature of any problematic circuit, wherein the target temperature is the temperature at which the temperature of the problematic circuit reaches an equilibrium state; determining the target temperature difference between the initial temperature and the target temperature corresponding to any problematic circuit; and determining the problematic electrical component based on the target temperature difference.
[0013] Optionally, determining the problematic electrical component based on the target temperature difference includes: in response to the sum of the target temperature difference and the preset maximum temperature being greater than the preset conductor operating temperature, determining the electrical component corresponding to any problematic circuit as the problematic electrical component.
[0014] According to one embodiment of the present invention, a ground loop testing device is also provided, comprising: a determining module, configured to determine a wiring harness grounding point in a vehicle, wherein each wiring harness grounding point corresponds to a power-off switch, the power-off switch being used to control the on / off state of the circuit at the wiring harness grounding point, and each wiring harness grounding point being connected to at least one electrical component in the vehicle; a controlling module, configured to control the vehicle to be in a target operating state, wherein the target operating state indicates that any power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and the electrical component connected to any wiring harness grounding point is in a shutdown state; and a traversing module, configured to traverse the wiring harness grounding points in the target operating state, and determine a first current, a second current, a first voltage, and a second voltage corresponding to any wiring harness grounding point, wherein the first current is the current of the wiring harness grounding points other than those at any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in an on state. The test module is used to perform a ground loop test on any electrical component based on the first current, second current, first voltage, and second voltage to obtain test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0015] Optionally, the traversal module is also used to traverse the harness grounding points, determine the target harness grounding point being traversed, control the target electrical component connected to the target harness grounding point to be in an on state during a first time period, and determine the first sub-current of the remaining power-off switches during the first time period, wherein the remaining power-off switches are power-off switches other than the target power-off switch corresponding to the target harness grounding point; control the target power-off switch to be in an off state during a second time period, and determine the first sub-voltage of the vehicle battery, the second sub-voltage of the target power-off switch, and the second sub-current of the remaining power-off switches during the second time period, wherein the second time period is after the first time period, the target electrical component is in a off state after the second time period, and the target power-off switch is in a closed state after the second time period; determine the first current based on the first sub-current, determine the second current based on the second sub-current, determine the first voltage based on the first sub-voltage, and determine the second voltage based on the second sub-voltage.
[0016] Optionally, the test module is further configured to compare the magnitudes of the first sub-voltage and the second sub-voltage to obtain a first comparison result; compare the magnitudes of the first sub-current and the second sub-current to obtain a second comparison result; in response to the first comparison result and the second comparison result satisfying a preset condition, determine the problem loop current based on the second comparison result; and determine the test result based on the problem loop current.
[0017] Optionally, the test module is further configured to determine the problem loop current based on the second comparison result, in response to a first comparison result indicating that the first sub-voltage is greater than the second sub-voltage and the voltage difference between the first sub-voltage and the second sub-voltage is greater than a preset voltage difference, and a second comparison result indicating that the first sub-current is less than the second sub-current and the current difference between the first sub-current and the second sub-current is greater than a preset current difference.
[0018] Optionally, the test module is further configured to determine the first sub-current and the second sub-current based on the second comparison result, wherein the current difference between the first sub-current and the second sub-current is greater than a preset current difference; and to determine the problem loop current based on the first sub-current and the second sub-current.
[0019] Optionally, the test module is also used to determine the problem loop corresponding to the problem loop current; determine the problem electrical component based on the problem loop; and determine the test result based on the problem electrical component.
[0020] Optionally, the testing module is also configured to add the currently traversed target harness grounding point to the problem harness grounding point set in response to the first comparison result and the second comparison result meeting preset conditions.
[0021] Optionally, the test module is also used to control the electrical system to a non-start state, and in the non-start state, to collect the initial temperature corresponding to any problematic circuit; to control the electrical system to a start state, and in the start state, to traverse the set of grounding points of the problematic wiring harness, to control the electrical components connected to any grounding point of the problematic wiring harness to be in an on state, and to control the power-off switch corresponding to any grounding point of the problematic wiring harness to be in an off state; with the electrical components connected to any grounding point of the problematic wiring harness in an on state, and the power-off switch corresponding to any grounding point of the problematic wiring harness in an off state, to collect the target temperature of any problematic circuit, wherein the target temperature is the temperature at which the temperature of the problematic circuit reaches an equilibrium state; to determine the target temperature difference between the initial temperature and the target temperature corresponding to any problematic circuit; and to determine the problematic electrical components based on the target temperature difference.
[0022] Optionally, the test module is also used to determine the electrical component corresponding to any problematic circuit as the problematic electrical component in response to the sum of the target temperature difference and the preset maximum temperature being greater than the preset conductor operating temperature.
[0023] According to one embodiment of the present invention, a computer-readable storage medium is also provided, wherein the storage medium stores a computer program, wherein the computer program is configured to execute the ground loop test method described above when run on a computer or processor.
[0024] According to one embodiment of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements the ground loop testing method in the embodiments of the present invention.
[0025] According to one embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the ground loop test method described in any of the above claims.
[0026] In this embodiment of the invention, by determining the grounding points of the wiring harness in the vehicle, wherein each grounding point corresponds to a power-off switch, the power-off switch is used to control the on / off state of the circuit at the grounding point, and each grounding point is connected to at least one electrical component in the vehicle; controlling the vehicle to be in a target operating state, wherein the target operating state indicates that each power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and the electrical component connected to each grounding point is in a closed state; in the target operating state, traversing the grounding points of the wiring harness, determining the first current, second current, first voltage, and second voltage corresponding to each grounding point, wherein the first current is the current of the power-off switch corresponding to the grounding point other than the grounding point when the electrical component connected to the grounding point is in an on state, and the second current... When any electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state, the current of the power disconnect switch corresponding to any wiring harness grounding point other than any wiring harness grounding point is calculated. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state. The second voltage is the voltage of the power disconnect switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state. Based on the first current, the second current, the first voltage, and the second voltage, a ground loop test is performed on any electrical component to obtain the test results. The test results are used to determine the technical solution for electrical components with ground loops of a preset risk level. Therefore, by analyzing potential ground loops in vehicles through bus data, voltage data, and current data, and by collecting temperature data, the risk of these loops can be analyzed and high-risk loops can be resolved. This method has the advantages of high accuracy and fast calculation speed, and thus solves the technical problem in related technologies where ground loops in electrical components lead to current overload through wires. Attached Figure Description
[0027] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:
[0028] Figure 1 This is a flowchart of a ground loop test method according to an embodiment of the present invention;
[0029] Figure 2 This is a schematic diagram of a ground loop test system according to an embodiment of the present invention;
[0030] Figure 3 This is a schematic diagram of the overall concept of ground loop testing according to an embodiment of the present invention;
[0031] Figure 4This is a structural block diagram of a ground loop testing device according to an embodiment of the present invention. Detailed Implementation
[0032] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. In the description of these embodiments, unless otherwise stated, "a plurality of" means two or more. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0034] According to one embodiment of the present invention, an embodiment of a ground loop test method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0035] This method embodiment can be executed in an electronic device, similar control device, or system that includes a memory and a processor. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device for communication functions and a display device. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components than described above, or have a different configuration than described above.
[0036] A processor may include one or more processing units. For example, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), or an artificial intelligence (AI) processor. Different processing units may be independent components or integrated into one or more processors. In some instances, electronic devices may also include one or more processors.
[0037] The memory can be used to store computer programs, such as the computer program corresponding to the ground loop test method in this embodiment of the invention. The processor implements the aforementioned ground loop test method by running the computer program stored in the memory. The memory may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to electronic devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0038] Communication devices are used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the communication device includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the communication device may be a radio frequency (RF) module used for wireless communication with the Internet.
[0039] The display device can be, for example, a touchscreen liquid crystal display (LCD) and a touch display (also referred to as a "touchscreen" or "touch screen"). This LCD allows the user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows the user to interact with the GUI by touching and / or gesturing on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, a call interface, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0040] This embodiment provides a ground loop testing method for electronic devices. Figure 1 This is a flowchart of a ground loop test method according to an embodiment of the present invention, as follows: Figure 1 As shown, the process includes the following steps:
[0041] Step S12: Determine the grounding point of the wiring harness in the vehicle. Each grounding point of the wiring harness corresponds to a power-off switch. The power-off switch is used to control the on / off state of the circuit at the grounding point of the wiring harness. Each grounding point of the wiring harness is connected to at least one electrical component in the vehicle.
[0042] Ground loop testing begins by disassembling the vehicle to identify all wiring harness grounding points. Grounding points are wiring harness connectors used to connect different electrical components and sensors. They are typically made of metal, offering good conductivity and corrosion resistance. Grounding points allow for quick connection and disconnection of the wiring harness, facilitating maintenance and component replacement. They play a crucial role in the vehicle's electrical system, ensuring proper communication and operation between components and guaranteeing the normal functioning of the vehicle's electrical system.
[0043] A power disconnect switch is installed between each wiring harness grounding point and the vehicle body grounding point to control the on / off state of the circuit at the wiring harness grounding point. Each wiring harness grounding point is connected to at least one electrical component in the vehicle. The power disconnect switch can be a manual switch or an automatic switch; the appropriate switch type is selected based on specific needs, and there are no restrictions here. When installing the power disconnect switch, it is necessary to ensure that the installation location is easy to operate and maintain, and attention should be paid to maintaining the continuity and stability of the circuit. Additionally, for vehicles that require frequent power disconnection, a remote control power disconnect switch can be considered for convenient remote operation.
[0044] Step S14: Control the vehicle to a target operating state, wherein the target operating state indicates that any power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and any electrical component connected to any wiring harness grounding point is in a closed state.
[0045] For example, controlling the vehicle to be in a target operating state can be understood as the power-off switch corresponding to the wiring harness grounding point being in a closed state, the electrical components connected to each wiring harness grounding point being in a closed state, and the vehicle's electrical system being in a startup state. For example, the vehicle's electrical system being in a startup state can be represented as the ignition switch being in the "ON" position in a gasoline vehicle, and the entire vehicle being in a "Ready" state in a new energy vehicle.
[0046] Step S16: Under the target operating state, traverse the wiring harness grounding points and determine the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point. The first current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state. The second current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The second voltage is the voltage of the power-off switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state.
[0047] Under the target operating conditions, to comprehensively test all wiring harness grounding points in the vehicle, each wiring harness grounding point is traversed to determine the first current, second current, first voltage, and second voltage corresponding to any given wiring harness grounding point. Taking the currently tested wiring harness grounding point as an example, the first current is the current of the power-off switch corresponding to any other wiring harness grounding point when the electrical component connected to the currently tested wiring harness grounding point is in the ON state. The second current is the current of the power-off switch corresponding to any other wiring harness grounding point when the electrical component connected to the currently tested wiring harness grounding point is in the ON state and the power-off switch corresponding to the currently tested wiring harness grounding point is in the OFF state.
[0048] The first voltage is the vehicle battery voltage when the electrical component connected to the current test harness grounding point is in the ON state and the power disconnect switch corresponding to the current test harness grounding point is in the OFF state. The second voltage is the voltage of the power disconnect switch corresponding to the current test harness grounding point when the electrical component connected to the current test harness grounding point is in the ON state and the power disconnect switch corresponding to the current test harness grounding point is in the OFF state.
[0049] Step S18: Perform a ground loop test on any electrical component based on the first current, the second current, the first voltage, and the second voltage to obtain the test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0050] After determining the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point, a ground loop test is performed on any electrical component based on these parameters to obtain the test results. Low-risk ground loops refer to those where grounding faults may occur but have a minor impact on system equipment and personnel safety, while high-risk ground loops refer to those where grounding faults may seriously affect system equipment and personnel safety. The test results are used to identify electrical components with ground loops of a preset risk level. The preset risk level is high-risk. In the design and maintenance of vehicle electrical systems, ground loops need to be assessed and addressed to avoid high-risk ground loops, thereby reducing system failures and improving safety.
[0051] Based on the above steps, by determining the grounding points of the wiring harness in the vehicle, wherein each grounding point corresponds to a power-off switch, the power-off switch is used to control the on / off state of the circuit at the grounding point, and each grounding point is connected to at least one electrical component in the vehicle; controlling the vehicle to a target operating state, wherein the target operating state indicates that any power-off switch is in the closed state, the vehicle's electrical system is in the start state, and the electrical component connected to any grounding point is in the closed state; in the target operating state, traversing the grounding points of the wiring harness, determining the first current, second current, first voltage, and second voltage corresponding to any grounding point, wherein the first current is the current of the power-off switch corresponding to the grounding point other than any grounding point when the electrical component connected to any grounding point is in the open state, and the second current is... When any electrical component connected to any wiring harness grounding point is in the ON state and the power-off switch corresponding to any wiring harness grounding point is in the OFF state, the current of the power-off switch corresponding to any wiring harness grounding point other than any wiring harness grounding point is considered. The first voltage is the vehicle battery voltage when the electrical component connected to any wiring harness grounding point is in the ON state and the power-off switch corresponding to any wiring harness grounding point is in the OFF state. The second voltage is the voltage of the power-off switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the ON state and the power-off switch corresponding to any wiring harness grounding point is in the OFF state. Based on the first current, second current, first voltage, and second voltage, a ground loop test is performed on any electrical component to obtain the test results. These test results are used to determine the technical solution for electrical components with ground loops of a preset risk level. Therefore, by analyzing potential ground loops in the vehicle using bus data, voltage data, and current data, and by collecting temperature data, the risk of this loop is analyzed, and high-risk loops are resolved. This method has the advantages of high accuracy and fast calculation speed, thus solving the technical problem in related technologies where ground loops in electrical components lead to current overload through the wires.
[0052] Optionally, in step S16, traversing the wire harness grounding points and determining the first current, second current, first voltage, and second voltage corresponding to any wire harness grounding point includes performing the following steps:
[0053] Step S161: Traverse the grounding points of the harness and determine the grounding point of the target harness being traversed.
[0054] Step S162: Control the target electrical component connected to the target harness grounding point to be in the open state during the first time period, and determine the first sub-current of the remaining power-off switches during the first time period, wherein the remaining power-off switches are power-off switches other than the target power-off switch corresponding to the target harness grounding point.
[0055] Step S163: Control the target power-off switch to be in the open state during the second time period, and determine the first sub-voltage of the vehicle battery, the second sub-voltage of the target power-off switch, and the second sub-current of the other power-off switches during the second time period. The second time period is after the first time period, the target electrical component is in the closed state after the second time period, and the target power-off switch is in the closed state after the second time period.
[0056] Step S164: Determine the first current based on the first sub-current, determine the second current based on the second sub-current, determine the first voltage based on the first sub-voltage, and determine the second voltage based on the second sub-voltage.
[0057] To comprehensively test all wiring harness grounding points in the vehicle, each wiring harness grounding point is traversed to determine the target wiring harness grounding point being traversed. This target wiring harness grounding point is then used as the test object for explanation. First, the target electrical component connected to the target wiring harness grounding point is controlled to be in the ON state for a first time period. Within this first time period, the first sub-current of the power-off switch (excluding the target power-off switch corresponding to the target wiring harness grounding point) is determined. The first time period refers to the time during which the target electrical component is in the ON state; this time depends on the wiring harness grounding point and actual test requirements and is not limited here.
[0058] Then, with the target electrical component connected to the target harness grounding point in the first time period, the target power-off switch corresponding to the target harness grounding point is controlled to be in the open state in the second time period. During the second time period, the first sub-voltage of the vehicle battery, the second sub-voltage of the target power-off switch, and the second sub-current of the power-off switches other than those corresponding to the target harness grounding point are determined. The second time period is after the first time period; it is the time during which the target electrical component is in the open state and the target power-off switch is open. This time depends on the harness grounding point and actual test requirements and is not limited here.
[0059] Understandably, the target electrical components are in a switched-off state after the second time period, and the target power-off switch is in a switched-off state after the second time period. That is, the vehicle returns to the target operating state and waits for the next traversal. After the traversal is completed, the first current is determined based on the first sub-current of the traversal, the second current is determined based on the second sub-current of the traversal, the first voltage is determined based on the first sub-voltage of the traversal, and the second voltage is determined based on the second sub-voltage of the traversal.
[0060] For example, select a target harness grounding point N (each grounding point is controlled independently and does not affect others), control the target electrical component connected to this grounding point to be in the ON state and maintain it for 30 seconds, and determine the first sub-currents I1, I2, ..., I of the remaining target power-off switches. N-1Then, the target power-off switch corresponding to the target harness grounding point is opened and kept open for 30 seconds, resulting in the first sub-voltage U0 and the second sub-voltage U. N and the second sub-current I ’ 1. I ’ 2, ..., I ’ N-1 After this traversal, the power-off switch for the target electrical components and the target will be closed again.
[0061] Optionally, in step S18, a ground loop test is performed on any electrical component based on the first current, the second current, the first voltage, and the second voltage. Obtaining the test result includes performing the following steps:
[0062] Step S181: Compare the magnitudes of the first sub-voltage and the second sub-voltage to obtain the first comparison result;
[0063] Step S182: Compare the magnitudes of the first sub-current and the second sub-current to obtain a second comparison result;
[0064] Step S183: In response to the first comparison result and the second comparison result satisfying the preset condition, the problem loop current is determined based on the second comparison result;
[0065] Step S184: Determine the test results based on the current in the problematic loop.
[0066] Under the target operating condition, after determining the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point, a ground loop test is performed on the electrical components connected to any wiring harness grounding point based on the first current, second current, first voltage, and second voltage. Specifically, taking the currently traversed target wiring harness grounding point as an example, the magnitudes of the first sub-voltage and the second sub-voltage are compared to obtain a first comparison result, which is used to represent the magnitude of the voltage before and after the target power-off switch is in the open state. Furthermore, the magnitudes of the first sub-current and the second sub-current are compared to obtain a second comparison result, which is used to represent the magnitude of the current before and after the target power-off switch is in the open state.
[0067] When the first comparison result and the second comparison result meet the preset conditions, the problem loop current, i.e., the ground loop current, is determined based on the second comparison result, and the electrical components with ground loops of a preset risk level are identified based on the problem loop current. The preset conditions are pre-set criteria for determining whether a ground loop exists, which will be explained in detail later.
[0068] Optionally, in step S183, in response to the first comparison result and the second comparison result satisfying a preset condition, determining the problem loop current based on the second comparison result includes performing:
[0069] Step S1831: In response to the first comparison result indicating that the first sub-voltage is greater than the second sub-voltage and the voltage difference between the first sub-voltage and the second sub-voltage is greater than a preset voltage difference, and the second comparison result indicating that the first sub-current is less than the second sub-current and the current difference between the first sub-current and the second sub-current is greater than a preset current difference, the problem loop current is determined based on the second comparison result.
[0070] As can be understood, the above are the preset conditions. The preset voltage difference is the difference between two pre-set voltages. This difference is usually determined based on design requirements and needs to be appropriately selected according to the specific application scenario; no restrictions are imposed here. The preset current difference is the difference between two pre-set currents. This difference is usually determined based on design requirements and needs to be appropriately selected according to the specific application scenario; no restrictions are imposed here either.
[0071] When the first comparison result is that the first sub-voltage is greater than the second sub-voltage and the voltage difference between the first and second sub-voltages is greater than a preset voltage difference, and the second comparison result is that the first sub-current is less than the second sub-current and the current difference between the first and second sub-currents is greater than a preset current difference, the problematic loop current is determined, and the problematic loop current is determined based on the second comparison result. It should be noted that there can be one or more problematic loop currents; this is not limited here.
[0072] For example, taking the target harness grounding point N as an example, its first sub-currents I1, I2, ..., I N-1 First sub-voltage U0, second sub-voltage U N Second sub-current I ’ 1. I ’ 2, ..., I ’ N-1 When the first sub-voltage U0 is greater than the second sub-voltage U N And U0 is greater than U N 3 volts (V) or higher. And a second sub-current exists, consisting of I1, I2, ..., I... N-1 The phase is greater than its corresponding first sub-current I1, I2, ..., I N-1 When the voltage is 1V or higher, the current is identified as the problem loop current.
[0073] Optionally, in step S1831, determining the problem loop current based on the second comparison result includes performing the following steps:
[0074] Step S18311: Determine the first sub-current and the second sub-current based on the second comparison result, wherein the current difference between the first sub-current and the second sub-current is greater than a preset current difference.
[0075] Step S18312: Determine the problem loop current based on the first problem sub-current and the second problem sub-current.
[0076] For example, when the second comparison result indicates that the first sub-current is less than the second sub-current and the current difference between the first sub-current and the second sub-current is greater than a preset current difference, the first sub-current corresponding to the target harness grounding point is determined as the first problem sub-current, and the second sub-current corresponding to the target harness grounding point is determined as the second problem sub-current, that is, the current difference between the first problem sub-current and the second problem sub-current is greater than the preset current difference. Then, the problem loop current is determined based on the first problem sub-current and the second problem sub-current.
[0077] Optionally, in step S184, determining the test result based on the problem loop current includes performing the following steps:
[0078] Step S1841: Determine the problem loop corresponding to the problem loop current;
[0079] Step S1842: Identify the problematic electrical component based on the problematic loop;
[0080] Step S1843: Determine the test results based on the problematic electrical component.
[0081] After determining the current of the problematic circuit, the target electrical component connected to the grounding point of the target harness is identified as the problematic electrical component. Based on the problematic electrical component, the test results are determined, that is, the electrical component with a high-risk ground circuit is identified.
[0082] Optionally, the method further includes: when traversing the current target harness grounding point, if the first comparison result and the second comparison result satisfy a preset condition, adding the currently traversed target harness grounding point to the problem harness grounding point set, so as to save all problem harnesses with problem loops.
[0083] Optionally, in step S1843, determining the problematic electrical component based on the problematic loop includes performing the following steps:
[0084] Step S18431: Control the electrical system to a non-starting state. In the non-starting state, collect the initial temperature corresponding to any problematic loop.
[0085] Step S18432: Control the electrical system to be in the start state. In the start state, traverse the set of grounding points of the problematic wire harness, control the electrical components connected to any grounding point of the problematic wire harness to be in the open state, and control the power disconnect switch corresponding to any grounding point of the problematic wire harness to be in the open state.
[0086] Step S18433: If the electrical component connected to any grounding point of the problematic wiring harness is in the open state, and the power-off switch corresponding to any grounding point of the problematic wiring harness is in the open state, the target temperature of any problematic circuit is collected, wherein the target temperature is the temperature when the temperature of the problematic circuit reaches the equilibrium state.
[0087] Step S18434: Determine the target temperature difference between the initial temperature and the target temperature corresponding to any problem loop;
[0088] Step S18435: Determine the problematic electrical component based on the target temperature difference.
[0089] For example, the electrical system is controlled to be in a non-starting state. For instance, in a gasoline vehicle, the ignition switch is in the "OFF" position, and in a new energy vehicle, the vehicle is not in a "Ready" state. In the non-starting state, multiple temperature sensors are arranged on the relevant wires of the problem circuit at the target ground point, and temperature acquisition is activated. After a preset time, the initial temperature corresponding to any problem circuit is collected. The preset time is determined according to the actual situation and temperature acquisition requirements, and is not limited here.
[0090] Then, the electrical system is put into the startup state. In the startup state, the set of grounding points of the problematic wire harness is traversed, that is, all problematic wire harnesses with problematic loops are traversed. The electrical components connected to any grounding point of any wire harness in the set of problematic wire harness grounding points are put into the on state, and the power disconnect switch corresponding to any grounding point of any wire harness in the set of problematic wire harness grounding points is put into the off state.
[0091] For example, taking the currently tested grounding point of the problematic wiring harness in the set of grounding points as an example, if the electrical component connected to the currently tested grounding point of the problematic wiring harness is in the on state, and the power switch corresponding to the currently tested grounding point of the problematic wiring harness is in the off state, the target temperature of the problematic circuit is collected, where the target temperature is the temperature at which the temperature of the problematic circuit reaches an equilibrium state. Then, the target temperature difference between the initial temperature and the target temperature corresponding to any problematic circuit is determined, and the problematic electrical component is identified based on the target temperature difference.
[0092] For example, taking the currently tested problematic circuit as an example, the initial temperature of the currently tested problematic circuit is first collected. Then, in the set of problematic wiring harness grounding points, the electrical components connected to the grounding point of the currently tested problematic wiring harness are in the on state, and the power switch corresponding to the grounding point of the currently tested problematic wiring harness is in the off state. This process continues until the temperatures of all temperature sensors reach equilibrium, at which point the target temperature of the problematic circuit is collected. The target temperature difference between the target temperature and the initial temperature is calculated and expressed as ΔT. N1 ΔT N2, ..., ΔT NM Where M is the number of problematic loops in the target harness grounding point. Then, the problematic electrical components are determined based on the target temperature difference.
[0093] Optionally, in step S18435, determining the problematic electrical component based on the target temperature difference includes performing:
[0094] In response to the sum of the target temperature difference and the preset maximum temperature being greater than the preset conductor operating temperature, the electrical component corresponding to any problematic circuit is identified as the problematic electrical component.
[0095] The preset maximum temperature is the highest temperature in the temperature field at different locations of the test vehicle, denoted as T. max The preset conductor operating temperature is the pre-set conductor operating temperature, denoted as T. r When the sum of the target temperature difference and the preset maximum temperature exceeds the preset conductor operating temperature, i.e., ΔT + T max ≤T r When any problematic circuit is identified, the electrical component corresponding to it is determined as the problematic electrical component. Here, ΔT can be ΔT N1 ΔT N2 , ..., ΔT NM Any temperature difference.
[0096] For example, when the problem loop M satisfies ΔT NM +T max ≤T r In this process, the target electrical component corresponding to the problematic circuit M is identified as the problematic electrical component, thereby identifying the electrical components with high-risk ground circuits M. To ensure the safety and stability of the vehicle, the existence of ground circuits should be avoided as much as possible in the vehicle design, with a focus on resolving ground circuits with high risks.
[0097] Figure 2 This is a configuration diagram of a ground loop test system according to an embodiment of the present invention, as shown below. Figure 2 As shown, the ground loop test system consists of a bus acquisition system 1, a voltage and current acquisition system 2, and a temperature acquisition system 3. The bus acquisition system collects vehicle bus signals and monitors whether the controller is functioning correctly. A power-off switch is installed between each vehicle wiring harness ground and body ground point (represented as ground point 1, ground point 2, and ground point N in the diagram). The voltage and current acquisition system collects the current flowing through the power-off switch and the voltage across the power-off switch. After determining the existence of a potential ground loop, the temperature acquisition system collects the temperature rise on the ground loop conductors.
[0098] Figure 3 This is a schematic diagram of the overall concept of ground loop testing according to an embodiment of the present invention, as follows: Figure 3As shown, the overall solution of this invention first controls the vehicle to a target operating state. In this state, the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point are determined. When the first sub-voltage is greater than the second sub-voltage and the voltage difference between them is greater than a preset voltage difference, and the first sub-current is less than the second sub-current and the current difference between them is greater than a preset current difference, a problematic circuit is identified. Then, the initial temperature and target temperature corresponding to any problematic circuit are collected, and the target temperature difference between them is determined. If the sum of the target temperature difference and the preset maximum temperature is greater than the preset conductor operating temperature, the electrical component corresponding to any problematic circuit is identified as a problematic electrical component. Based on the problematic electrical component, the test results are determined, i.e., the electrical component with a high-risk ground loop is identified.
[0099] In this embodiment of the invention, by determining the grounding points of the wiring harness in the vehicle, wherein each grounding point corresponds to a power-off switch, the power-off switch is used to control the on / off state of the circuit at the grounding point, and each grounding point is connected to at least one electrical component in the vehicle; controlling the vehicle to be in a target operating state, wherein the target operating state indicates that each power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and the electrical component connected to each grounding point is in a closed state; in the target operating state, traversing the grounding points of the wiring harness, determining the first current, second current, first voltage, and second voltage corresponding to each grounding point, wherein the first current is the current of the power-off switch corresponding to the grounding point other than the grounding point when the electrical component connected to the grounding point is in an on state, and the second current... When any electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state, the current of the power disconnect switch corresponding to any wiring harness grounding point other than any wiring harness grounding point is calculated. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state. The second voltage is the voltage of the power disconnect switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the open state and the power disconnect switch corresponding to any wiring harness grounding point is in the open state. Based on the first current, the second current, the first voltage, and the second voltage, a ground loop test is performed on any electrical component to obtain the test results. The test results are used to determine the technical solution for electrical components with ground loops of a preset risk level. Therefore, by analyzing potential ground loops in vehicles through bus data, voltage data, and current data, and by collecting temperature data, the risk of these loops can be analyzed and high-risk loops can be resolved. This method has the advantages of high accuracy and fast calculation speed, and thus solves the technical problem in related technologies where ground loops in electrical components lead to current overload through wires.
[0100] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0101] This embodiment also provides a ground loop testing device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementations, or a combination of software and hardware, are also possible and contemplated.
[0102] Figure 4 This is a structural block diagram of a ground loop testing device according to an embodiment of the present invention, as shown below. Figure 4As shown, a ground loop testing device 40 is used as an example. This device includes: a determination module 42 for determining wiring harness grounding points in a vehicle, wherein each wiring harness grounding point corresponds to a power-off switch, the power-off switch being used to control the on / off state of the circuit at the wiring harness grounding point, and each wiring harness grounding point being connected to at least one electrical component in the vehicle; a control module 44 for controlling the vehicle to be in a target operating state, wherein the target operating state indicates that each power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and the electrical component connected to each wiring harness grounding point is in a shutdown state; and a traversal module 46 for traversing the wiring harness grounding points in the target operating state, determining a first current, a second current, a first voltage, and a second voltage corresponding to each wiring harness grounding point, wherein the first current is the current of the wiring harness other than that of the wiring harness grounding point when the electrical component connected to each wiring harness grounding point is in an on state. The test module 48 is used to perform a ground loop test on any electrical component connected to any ground point, and obtain test results. The test results are used to determine the electrical components with ground loops of a preset risk level. The second current is the current of the power disconnect switch at any electrical component connected to any ground point of the wiring harness when the electrical component is in the open state and the power disconnect switch at any ground point of the wiring harness is in the open state. The first voltage is the voltage of the vehicle battery when the electrical component connected to any ground point of the wiring harness is in the open state and the power disconnect switch at any ground point of the wiring harness is in the open state. The second voltage is the voltage of the power disconnect switch at any ground point of the wiring harness when the electrical component connected to any ground point of the wiring harness is in the open state. The test module 48 is used to perform a ground loop test on any electrical component based on the first current, the second current, the first voltage and the second voltage, and obtain test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0103] Optionally, the traversal module 46 is further configured to traverse the wiring harness grounding points, determine the target wiring harness grounding point currently being traversed; control the target electrical component connected to the target wiring harness grounding point to be in an on state during a first time period, and determine the first sub-current of the remaining power-off switches during the first time period, wherein the remaining power-off switches are power-off switches other than the target power-off switch corresponding to the target wiring harness grounding point; control the target power-off switch to be in an off state during a second time period, and determine the first sub-voltage of the vehicle battery, the second sub-voltage of the target power-off switch, and the second sub-current of the remaining power-off switches during the second time period, wherein the second time period is after the first time period, the target electrical component is in a off state after the second time period, and the target power-off switch is in a closed state after the second time period; determine the first current based on the first sub-current, determine the second current based on the second sub-current, determine the first voltage based on the first sub-voltage, and determine the second voltage based on the second sub-voltage.
[0104] Optionally, the test module 48 is further configured to compare the magnitudes of the first sub-voltage and the second sub-voltage to obtain a first comparison result; compare the magnitudes of the first sub-current and the second sub-current to obtain a second comparison result; in response to the first comparison result and the second comparison result satisfying a preset condition, determine the problem loop current based on the second comparison result; and determine the test result based on the problem loop current.
[0105] Optionally, the test module 48 is further configured to determine the problem loop current based on the second comparison result in response to the first comparison result indicating that the first sub-voltage is greater than the second sub-voltage and the voltage difference between the first sub-voltage and the second sub-voltage is greater than a preset voltage difference, and the second comparison result indicating that the first sub-current is less than the second sub-current and the current difference between the first sub-current and the second sub-current is greater than a preset current difference.
[0106] Optionally, the test module 48 is further configured to determine the first problem sub-current and the second problem sub-current based on the second comparison result, wherein the current difference between the first problem sub-current and the second problem sub-current is greater than a preset current difference; and to determine the problem loop current based on the first problem sub-current and the second problem sub-current.
[0107] Optionally, the test module 48 is also used to determine the problem loop corresponding to the problem loop current; determine the problem electrical component based on the problem loop; and determine the test result based on the problem electrical component.
[0108] Optionally, the test module 48 is further configured to add the currently traversed target harness grounding point to the problem harness grounding point set in response to the first comparison result and the second comparison result satisfying a preset condition.
[0109] Optionally, the test module 48 is further configured to control the electrical system to be in a non-starting state, and in the non-starting state, collect the initial temperature corresponding to any problematic circuit; control the electrical system to be in a starting state, and in the starting state, traverse the set of grounding points of the problematic wiring harness, control the electrical components connected to any grounding point of the problematic wiring harness to be in an on state, and control the power-off switch corresponding to any grounding point of the problematic wiring harness to be in an off state; with the electrical components connected to any grounding point of the problematic wiring harness in an on state and the power-off switch corresponding to any grounding point of the problematic wiring harness in an off state, collect the target temperature of any problematic circuit, wherein the target temperature is the temperature at which the temperature of the problematic circuit reaches an equilibrium state; determine the target temperature difference between the initial temperature and the target temperature corresponding to any problematic circuit; and determine the problematic electrical components based on the target temperature difference.
[0110] Optionally, the test module 48 is also used to determine the electrical component corresponding to any problematic circuit as the problematic electrical component in response to the sum of the target temperature difference and the preset maximum temperature being greater than the preset conductor operating temperature.
[0111] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0112] According to an embodiment of the present invention, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored computer program, wherein the device containing the non-volatile storage medium executes a ground loop test method by running the computer program.
[0113] Optionally, the device containing the non-volatile storage medium executes the following steps by running the computer program:
[0114] Step S12: Determine the grounding point of the wiring harness in the vehicle. Each grounding point of the wiring harness corresponds to a power-off switch. The power-off switch is used to control the on / off state of the circuit at the grounding point of the wiring harness. Each grounding point of the wiring harness is connected to at least one electrical component in the vehicle.
[0115] Step S14: Control the vehicle to a target operating state, wherein the target operating state indicates that any power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and any electrical component connected to any wiring harness grounding point is in a closed state.
[0116] Step S16: Under the target operating state, traverse the wiring harness grounding points and determine the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point. The first current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state. The second current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The second voltage is the voltage of the power-off switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state.
[0117] Step S18: Perform a ground loop test on any electrical component based on the first current, the second current, the first voltage, and the second voltage to obtain the test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0118] According to embodiments of the present invention, a computer program product is also provided, including a computer program, which is executed by a processor through the steps of any of the above method embodiments.
[0119] Step S12: Determine the grounding point of the wiring harness in the vehicle. Each grounding point of the wiring harness corresponds to a power-off switch. The power-off switch is used to control the on / off state of the circuit at the grounding point of the wiring harness. Each grounding point of the wiring harness is connected to at least one electrical component in the vehicle.
[0120] Step S14: Control the vehicle to a target operating state, wherein the target operating state indicates that any power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and any electrical component connected to any wiring harness grounding point is in a closed state.
[0121] Step S16: Under the target operating state, traverse the wiring harness grounding points and determine the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point. The first current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state. The second current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The second voltage is the voltage of the power-off switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state.
[0122] Step S18: Perform a ground loop test on any electrical component based on the first current, the second current, the first voltage, and the second voltage to obtain the test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0123] Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0124] Embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0125] Optionally, in this embodiment, the processor in the above-described electronic device may be configured to run a computer program to perform the following steps:
[0126] Step S12: Determine the grounding point of the wiring harness in the vehicle. Each grounding point of the wiring harness corresponds to a power-off switch. The power-off switch is used to control the on / off state of the circuit at the grounding point of the wiring harness. Each grounding point of the wiring harness is connected to at least one electrical component in the vehicle.
[0127] Step S14: Control the vehicle to a target operating state, wherein the target operating state indicates that any power-off switch is in a closed state, the vehicle's electrical system is in a startup state, and any electrical component connected to any wiring harness grounding point is in a closed state.
[0128] Step S16: Under the target operating state, traverse the wiring harness grounding points and determine the first current, second current, first voltage, and second voltage corresponding to any wiring harness grounding point. The first current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state. The second current is the current of the power-off switch corresponding to any wiring harness grounding point other than the grounding point itself, when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The first voltage is the voltage of the vehicle battery when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state. The second voltage is the voltage of the power-off switch corresponding to any wiring harness grounding point when the electrical component connected to any wiring harness grounding point is in the on state and the power-off switch corresponding to any wiring harness grounding point is in the off state.
[0129] Step S18: Perform a ground loop test on any electrical component based on the first current, the second current, the first voltage, and the second voltage to obtain the test results. The test results are used to determine the electrical components with ground loops of a preset risk level.
[0130] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0131] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0132] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0133] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.
[0134] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0135] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0136] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0137] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A ground loop testing method characterized by, The method comprises: determining wire harness bonding points in a vehicle, wherein any of the wire harness bonding points corresponds to a power-off switch for controlling the on-off state of a circuit at the wire harness bonding point, and any of the wire harness bonding points is connected with at least one electric component in the vehicle; controlling the vehicle to be in a target working state, wherein the target working state indicates that any of the power-off switches is in a closed state, an electrical system of the vehicle is in a starting state, and any of the electric components connected with the wire harness bonding points is in an off state; under the target working state, traversing the wire harness bonding points to determine a first current, a second current, a first voltage and a second voltage corresponding to any of the wire harness bonding points, wherein the first current is a current of a power-off switch corresponding to any of the wire harness bonding points except the wire harness bonding point when the electric component connected with the wire harness bonding point is in an on state, the second current is a current of a power-off switch corresponding to any of the wire harness bonding points except the wire harness bonding point when the electric component connected with the wire harness bonding point is in an on state and the power-off switch corresponding to the wire harness bonding point is in an off state, the first voltage is a voltage of a vehicle storage battery when the electric component connected with the wire harness bonding point is in an on state and the power-off switch corresponding to the wire harness bonding point is in an off state, and the second voltage is a voltage of the power-off switch corresponding to the wire harness bonding point when the electric component connected with the wire harness bonding point is in an on state and the power-off switch corresponding to the wire harness bonding point is in an off state; performing a ground loop test on any of the electric components based on the first current, the second current, the first voltage and the second voltage to obtain a test result, wherein the test result is used to determine an electric component with a preset risk level of ground loop.
2. The method of claim 1, wherein, The traversing the wire harness bonding points to determine the first current, the second current, the first voltage and the second voltage corresponding to any of the wire harness bonding points comprises: traversing the wire harness bonding points to determine a target wire harness bonding point currently traversed; controlling a target electric component connected with the target wire harness bonding point to be in an on state for a first time period, and determining a first sub-current of the remaining power-off switches in the first time period, wherein the remaining power-off switches are power-off switches except a target power-off switch corresponding to the target wire harness bonding point; controlling the target power-off switch to be in an off state for a second time period, and determining a first sub-voltage of the vehicle storage battery, a second sub-voltage of the target power-off switch and a second sub-current of the remaining power-off switches in the second time period, wherein the second time period is after the first time period, the target electric component is in an off state after the second time period, and the target power-off switch is in a closed state after the second time period. determining the first current based on the first sub-current, determining the second current based on the second sub-current, determining the first voltage based on the first sub-voltage, and determining the second voltage based on the second sub-voltage.
3. The method of claim 2, wherein, the loop test on any of the electrical components based on the first current, the second current, the first voltage, and the second voltage, to obtain a test result including: comparing the first sub-voltage with the second sub-voltage to obtain a first comparison result; comparing the first sub-current with the second sub-current to obtain a second comparison result; in response to the first comparison result and the second comparison result satisfying a preset condition, determining a problem loop current based on the second comparison result; determining the test result based on the problem loop current.
4. The method of claim 3, wherein, the response to the first comparison result and the second comparison result satisfying the preset condition, determining the problem loop current based on the second comparison result including: in response to the first comparison result indicating that the first sub-voltage is greater than the second sub-voltage and a voltage difference between the first sub-voltage and the second sub-voltage is greater than a preset voltage difference, and the second comparison result indicating that the first sub-current is less than the second sub-current and a current difference between the first sub-current and the second sub-current is greater than a preset current difference, determining the problem loop current based on the second comparison result.
5. The method of claim 4, wherein, determining the problem loop current based on the second comparison result including: determining a first problem sub-current and a second problem sub-current based on the second comparison result, wherein a current difference between the first problem sub-current and the second problem sub-current is greater than the preset current difference; determining the problem loop current based on the first problem sub-current and the second problem sub-current.
6. The method of claim 3, wherein, the determination of the test result based on the problem loop current including: determining a problem loop corresponding to the problem loop current; determining a problem electrical component based on the problem loop; determining the test result based on the problem electrical component.
7. The method of claim 6, wherein, the method further including: in response to the first comparison result and the second comparison result satisfying the preset condition, adding a currently traversed target beam bonding point to a problem beam bonding point set.
8. The method of claim 7, wherein, the determination of the problem electrical component based on the problem loop including: controlling the electrical system to be in a non-starting state, in which an initial temperature corresponding to any of the problem loops is collected; controlling the electrical system to be in a starting state, in which an electrical component connected to any of the problem beam bonding points in the problem beam bonding point set is controlled to be in an open state, and a power-off switch corresponding to any of the problem beam bonding points in the problem beam bonding point set is controlled to be in a disconnected state; collecting a target temperature of any of the problem loops, in which the electrical component connected to any of the problem beam bonding points in the problem beam bonding point set is in the open state, and the power-off switch corresponding to any of the problem beam bonding points in the problem beam bonding point set is in the disconnected state, the target temperature being a temperature of the problem loop when the temperature reaches an equilibrium state; determine a target temperature difference of the initial temperature and the target temperature corresponding to any of the problem loops; determine the problem electric component based on the target temperature difference.
9. The method of claim 8, wherein, The determination of the problem electric component based on the target temperature difference comprises: determine the electric component corresponding to any of the problem loops as the problem electric component in response to a sum of the target temperature difference and a preset maximum temperature being greater than a preset wire working temperature.
10. A ground return test apparatus, characterised by comprise: A determination module is configured to determine a wire harness bonding point in a vehicle, wherein any of the wire harness bonding points corresponds to a power-off switch configured to control a connection / disconnection state of a circuit at the wire harness bonding point, and any of the wire harness bonding points is connected to at least one electric component in the vehicle. A control module is configured to control the vehicle to be in a target working state, wherein the target working state is configured to represent that any of the power-off switches is in a closed state, an electrical system of the vehicle is in a starting state, and any of the electric components connected to the wire harness bonding points is in an off state. A traversal module is configured to traverse the wire harness bonding points in the target working state to determine a first current, a second current, a first voltage, and a second voltage corresponding to any of the wire harness bonding points, wherein the first current is a current of the power-off switch corresponding to any of the wire harness bonding points except the wire harness bonding point when the electric component connected to any of the wire harness bonding points is in an on state, the second current is a current of the power-off switch corresponding to any of the wire harness bonding points except the wire harness bonding point when the electric component connected to any of the wire harness bonding points is in the on state and the power-off switch corresponding to any of the wire harness bonding points is in a disconnected state, the first voltage is a voltage of a vehicle storage battery when the electric component connected to any of the wire harness bonding points is in the on state and the power-off switch corresponding to any of the wire harness bonding points is in the disconnected state, and the second voltage is a voltage of the power-off switch corresponding to any of the wire harness bonding points when the electric component connected to any of the wire harness bonding points is in the on state and the power-off switch corresponding to any of the wire harness bonding points is in the disconnected state. A test module is configured to perform a ground loop test on any of the electric components based on the first current, the second current, the first voltage, and the second voltage to obtain a test result, wherein the test result is used to determine an electric component of a ground loop with a preset risk level.
11. A computer readable storage medium characterized by The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the ground loop test method described in any one of claims 1 to 9 when running on a computer or a processor.
12. An electronic device comprising a memory and a processor, characterized in that The memory stores a computer program, and the processor is configured to execute the computer program to perform the ground loop test method described in any one of claims 1 to 9.
13. A computer program product, characterised in that, The computer program is executed by the processor to implement the ground loop test method described in any one of claims 1 to 9.
Citation Information
Patent Citations
Automobile grounding analysis test system and test method thereof
CN107167691A
Power grid maintenance operation grounding wire hanging state on-line detection device and method
CN112147542A