Main and negative relay control systems, methods, computer equipment, readable storage media and program products
By precisely controlling the opening and closing of the main and negative relays in pure electric new energy commercial vehicles, the problem that the high-voltage system cannot directly detect the status of the back-end circuit is solved, improving the stability and safety of the system and extending the battery's lifespan.
Patent Information
- Application Number
- CN202411222470.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-09-02
AI Technical Summary
In the high-voltage topology of pure electric commercial vehicles, the main negative relay cannot directly detect the status of the back-end circuit, which may lead to energized closure under unknown conditions, affecting the stability and reliability of the vehicle's high-voltage system.
By acquiring the voltage difference between the target sampling point and the negative terminal of the power battery, and controlling the closing of the main negative relay and the power-on of the high-voltage system within a specific voltage range, combined with the intelligent control of the battery management module, voltage stability and system safety are ensured.
It improves the safety of the main and negative relays and the high-voltage system, avoids instantaneous high-current surges caused by excessive or insufficient voltage differences, ensures the stability of the vehicle's high-voltage system and the optimal working condition of the battery, and extends battery life.
Smart Images

Figure CN119037145B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technology for new energy commercial vehicles, and in particular to a main and negative relay control system, method, computer equipment, readable storage medium, and program product. Background Technology
[0002] With the rapid development of new energy vehicle technology, pure electric commercial vehicles have gradually become the focus of market attention due to their advantages such as zero emissions, low noise, and high efficiency. In the power system of pure electric commercial vehicles, the design of the high-voltage topology is crucial to the vehicle's performance, safety, and reliability. Currently, the mainstream high-voltage topology generally adopts an architecture of "battery PACK - high-voltage box - multi-function controller - back-end electrical components".
[0003] In this architecture, the battery pack serves as the energy core, providing power to the entire system. The high-voltage box acts as the high-voltage power distribution hub, responsible for distributing the battery's output power to various key components. The all-in-one controller is the brain of the entire high-voltage system, integrating multiple functions such as motor control, power distribution, and fault diagnosis, ensuring the coordinated operation of all components through precise regulation. Back-end electrical components include the electric motor, air conditioning compressor, and PTC heater, which together constitute the vehicle's drive and auxiliary systems.
[0004] However, since the main negative relay is designed inside the high-voltage box, and the high-voltage box cannot directly detect the status of the back-end circuit when closing the main negative relay, it may lead to a live closing operation without knowing the status of the back-end circuit, which may result in unstable operation of the high-voltage system and affect the overall performance and reliability of the vehicle. Summary of the Invention
[0005] Therefore, it is necessary to provide a main and negative relay control system, method, computer equipment, readable storage medium, and program product that can improve the stability of the vehicle high-voltage system in response to the above-mentioned technical problems.
[0006] In a first aspect, this application provides a main negative relay control method, including:
[0007] Obtain the first current voltage difference at the target sampling point relative to the negative terminal of the power battery;
[0008] When the first current voltage difference is less than or equal to the first calibrated voltage difference and greater than or equal to the second calibrated voltage difference, the main negative relay is controlled to close.
[0009] With the main negative relay in a closed state, the second current voltage difference at the target sampling point relative to the negative terminal of the power battery is obtained;
[0010] When the second current voltage difference is less than or equal to the third calibration difference, control the high voltage system of the whole vehicle to be upgraded to high voltage.
[0011] In one embodiment, the method further includes:
[0012] With the back-end circuit of the main negative relay in an open state, determine the first voltage difference at the target sampling point relative to the negative terminal of the power battery;
[0013] With the back-end circuit in a closed state, a second voltage difference relative to the negative terminal of the power battery at the target sampling point is determined;
[0014] The first calibration error is determined based on the first voltage difference and the second voltage difference.
[0015] In one embodiment, the method further includes:
[0016] When the main negative relay is in an unattached state, determine the third voltage difference relative to the negative terminal of the power battery at the target sampling point;
[0017] The second calibration error is determined based on the third voltage difference.
[0018] In one embodiment, the method further includes:
[0019] When the main negative relay is in the open state, determine the fourth voltage difference at the target sampling point relative to the negative terminal of the power battery;
[0020] The third calibration error is determined based on the fourth voltage difference.
[0021] In one embodiment, the method further includes:
[0022] If the first current voltage difference is greater than the first current voltage difference, the main negative relay is controlled to disconnect, and maintenance personnel are prompted to check the back-end circuit of the main negative relay;
[0023] If the first current voltage difference is less than the second calibrated voltage difference, or the second current voltage difference is greater than the third calibrated voltage difference, the process of applying high voltage to the vehicle's high-voltage system is stopped, and the maintenance personnel are prompted to replace the main negative relay.
[0024] Secondly, this application also provides a main negative relay control system, including a power battery, a main negative relay, a main positive relay, a voltage acquisition module, a first resistor, a second resistor, a battery management module, and a drive circuit;
[0025] The first terminal of the main positive relay is connected to the positive terminal of the power battery, and the second terminal of the main positive relay is connected to the first terminal of the first resistor;
[0026] The first terminal of the main negative relay is connected to the negative terminal of the power battery, and the second terminal of the main negative relay is connected to the second terminal of the first resistor;
[0027] The first end of the second resistor is connected to the positive terminal of the power battery, and the second end of the second resistor is connected to the second end of the main negative relay;
[0028] The first terminal of the voltage acquisition module is connected to the negative terminal of the power battery and the first terminal of the main negative relay, respectively; the second terminal of the voltage acquisition module is connected to the second terminal of the second resistor and the second segment of the main negative relay, respectively.
[0029] The battery management module is used to control the main negative relay to open or close based on the voltage value collected at the target sampling point through the drive circuit; the target sampling point is the connection point between the second terminal of the voltage acquisition module and the second terminal of the main negative relay.
[0030] In one embodiment, the main negative relay, the second resistor, the battery management module, and the drive circuit are arranged in a high-voltage box; the main positive relay and the first resistor are arranged in an all-in-one controller.
[0031] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method steps of any one of the first aspects.
[0032] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method steps of any one of the first aspects.
[0033] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method steps of any one of the first aspects.
[0034] The aforementioned main and negative relay control method, device, computer equipment, computer-readable storage medium, and computer program product, by acquiring a first current voltage difference at the target sampling point relative to the negative terminal of the power battery, and controlling the main and negative relay to close when the first current voltage difference is less than or equal to a first calibrated voltage difference and greater than or equal to a second calibrated voltage difference, and while the main and negative relay is in the closed state, acquiring a second current voltage difference at the target sampling point relative to the negative terminal of the power battery, and controlling the high voltage of the vehicle's high-voltage system to be applied when the second current voltage difference is less than or equal to a third calibrated voltage difference, can ensure that the relay closing operation is performed within a suitable voltage range, avoid instantaneous high current surges caused by excessively large or small voltage differences, improve the safety of the relay and the high-voltage system, and thus improve the stability of the vehicle's high-voltage system. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a block diagram of the main negative relay control system in one embodiment;
[0037] Figure 2 This is a flowchart illustrating the main negative relay control method in one embodiment;
[0038] Figure 3 This is a flowchart illustrating the main negative relay control method in another embodiment;
[0039] Figure 4 This is a structural block diagram of the main negative relay control device in one embodiment;
[0040] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0042] In one exemplary embodiment, such as Figure 1As shown, a main negative relay control system is provided, including a power battery 110, a main negative relay 120, a main positive relay 130, a voltage acquisition module 140, a first resistor 150, a second resistor 160, a battery management module 170, and a drive circuit 180.
[0043] Specifically, the first terminal of the main positive relay 130 is connected to the positive terminal of the power battery 110, and the second terminal of the main positive relay 130 is connected to the first terminal of the first resistor 150; the first terminal of the main negative relay 120 is connected to the negative terminal of the power battery 110, and the second terminal of the main negative relay 120 is connected to the second terminal of the first resistor 150; the first terminal of the second resistor 160 is connected to the positive terminal of the power battery 110, and the second terminal of the second resistor 160 is connected to the second terminal of the main negative relay 120; the first terminal of the voltage acquisition module 140 is connected to the negative terminal of the power battery 110 and the first terminal of the main negative relay 120, respectively, and the second terminal of the voltage acquisition module 140 is connected to the second terminal of the second resistor 160 and the second terminal of the main negative relay 120, respectively; the battery management module 170 is used to control the main negative relay 120 to open or close according to the voltage value acquired at the target sampling point through the drive circuit 180; the target sampling point is the connection point between the second terminal of the voltage acquisition module 140 and the second terminal of the main negative relay 120.
[0044] In this embodiment, by precisely controlling the opening and closing of the main and negative relays, direct connection to the high-voltage system can be avoided when the power battery voltage is unstable or abnormal, thereby protecting the vehicle's high-voltage system from damage. At the same time, through the intelligent control of the battery management module, the vehicle's high-voltage system can be ensured to be in a stable state during power-on, reducing system instability caused by voltage fluctuations, ensuring that the power battery operates in the best working condition, reducing damage to the battery caused by improper operation such as overcharging and over-discharging, thereby extending the battery's service life.
[0045] In one exemplary embodiment, it remains as follows Figure 1 As shown, the main negative relay 120, the second resistor 160, the battery management module 170, and the drive circuit 180 are arranged in the high voltage box; the main positive relay 130 and the first resistor 150 are arranged in the multi-function controller.
[0046] In this embodiment, components with different functions are divided into modules and arranged separately in the high-voltage box and the multi-function controller, making the structure of the entire power system clearer. By integrating multiple control functions into the multi-function controller, the number of controllers and the complexity of wiring harnesses are reduced, thereby improving the system's response speed and control accuracy.
[0047] In one exemplary embodiment, such as Figure 2 As shown, a main negative relay control method is provided, which is applied to... Figure 1The following steps, 202 to 208, will be used as an example for illustration. Among them:
[0048] S202: Obtain the first current voltage difference at the target sampling point relative to the negative terminal of the power battery.
[0049] Optionally, the voltage difference between the target sampling point (i.e., the connection point between the second end of the voltage acquisition module and the second end of the main negative relay) and the negative terminal of the power battery is measured by the voltage acquisition module, reflecting the potential difference of that point relative to the negative terminal of the power battery when the relay is not closed.
[0050] S204: When the first current voltage difference is less than or equal to the first rated voltage difference and greater than or equal to the second rated voltage difference, control the main negative relay to close.
[0051] Optionally, the measured first current voltage difference is compared with two preset thresholds (first calibration voltage difference and second calibration voltage difference). If the voltage difference is between these two thresholds, it indicates that the current conditions are suitable for closing the relay, thereby ensuring that when closing the relay, current surges or system instability will not occur due to excessively large or small voltage differences.
[0052] S206: When the main negative relay is in the closed state, acquire the second current voltage difference at the target sampling point relative to the negative terminal of the power battery.
[0053] Optionally, after the relay is closed, the voltage difference between the target sampling point and the negative terminal of the power battery is measured again (this is called the second current voltage difference). By monitoring the change in voltage at this point after the relay is closed, it can be determined whether the system has entered a stable state.
[0054] S208: When the second current voltage difference is less than or equal to the third calibration difference, control the high voltage system of the whole vehicle to apply high voltage.
[0055] Optionally, the second current voltage difference is compared with another preset threshold (third calibration difference). If the voltage difference is less than or equal to the threshold, it indicates that the system has stabilized and can be safely connected to high voltage.
[0056] In the aforementioned main and negative relay control method, by acquiring the first current voltage difference at the target sampling point relative to the negative terminal of the power battery, and when the first current voltage difference is less than or equal to the first calibrated voltage difference and greater than or equal to the second calibrated voltage difference, the main and negative relay is controlled to close. While the main and negative relay is in the closed state, the second current voltage difference at the target sampling point relative to the negative terminal of the power battery is acquired. When the second current voltage difference is less than or equal to the third calibrated voltage difference, the high voltage of the vehicle's high-voltage system is controlled to be applied. This ensures that the relay closing operation is performed within a suitable voltage range, avoiding instantaneous high current surges caused by excessively large or small voltage differences, improving the safety of the relay and the high-voltage system, and thus improving the stability of the vehicle's high-voltage system.
[0057] In an exemplary embodiment, the method further includes: determining a first voltage difference at the target sampling point relative to the negative terminal of the power battery when the back-end circuit of the main negative relay is in an open state; determining a second voltage difference at the target sampling point relative to the negative terminal of the power battery when the back-end circuit is in a closed state; and determining a first calibration error based on the first voltage difference and the second voltage difference.
[0058] Optionally, when the back-end circuit of the main negative relay is open, the voltage difference between the target sampling point and the negative terminal of the power battery is measured and recorded as the first voltage difference. At this time, because the circuit is open, the voltage difference may be close to zero or exhibit a specific value due to the influence of other components in the circuit (such as capacitors, resistors, etc.). Subsequently, when the back-end circuit of the main negative relay is closed, the voltage difference between the same target sampling point and the negative terminal of the power battery is measured again and recorded as the second voltage difference. At this time, because the circuit is closed, the voltage of the power battery will directly or through the voltage divider circuit affect the voltage of the target sampling point, causing the second voltage difference to increase significantly. Based on the first voltage difference and the second voltage difference, the difference between them can be calculated, i.e., the first calibration error. This difference reflects the change in the voltage of the target sampling point before and after the main negative relay is closed, and also indirectly reflects the degree of influence of the power battery voltage on the target sampling point.
[0059] In this embodiment, by measuring and comparing the voltage difference under different states, potential problems in the circuit can be detected in a timely manner, thereby avoiding safety accidents when the high-voltage system is powered on. Furthermore, based on accurate voltage difference measurement and calibration error, the current state can be accurately determined, thereby taking appropriate control strategies to ensure stable system operation.
[0060] In an exemplary embodiment, the method further includes: determining a third voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in an unattached state; and determining a second calibration error based on the third voltage difference.
[0061] Optionally, when the main negative relay is in a non-sticky state (i.e., normally open or closed, but without sticking), the voltage at the target sampling point is measured and compared with the voltage at the negative terminal of the power battery to obtain a third voltage difference. This voltage difference reflects the difference between the potential at the target sampling point and the potential at the negative terminal of the power battery under normal relay conditions. By comparing the third voltage difference with the second calibration difference, it can be determined whether the current system state meets expectations or whether there are potential fault risks. In practical applications, the determination of the second calibration difference may involve a comprehensive consideration of multiple factors, such as the rated voltage, internal resistance, and discharge characteristics of the power battery, as well as the voltage divider circuit and load characteristics that may exist at the target sampling point.
[0062] In this embodiment, by measuring and comparing the third voltage difference with the second calibration difference, potential problems in the main negative relay and its downstream circuit can be detected in a timely manner, the current state can be accurately determined, and appropriate control strategies can be adopted to ensure stable system operation.
[0063] In an exemplary embodiment, the method further includes: determining a fourth voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in the open state; and determining a third calibration error based on the fourth voltage difference.
[0064] Optionally, after the main negative relay is disconnected, the battery management system (BMS) can safely measure the voltage of the target sampling point using a high-precision voltage sensor. At this time, since the negative terminal is disconnected, the measured voltage difference will accurately reflect the voltage state of the target sampling point relative to the original negative terminal of the power battery. The fourth voltage difference refers to the voltage difference between the target sampling point and the negative terminal of the power battery under specific conditions. The third calibration difference is a parameter calculated or derived based on the fourth voltage difference, which can be used to correct errors in the voltage measurement system, estimate battery status (such as SOC, SOH), or serve as a basis for fault diagnosis.
[0065] In this embodiment, by performing voltage measurement with the main negative relay disconnected, the influence of the vehicle-side load on the measurement results can be avoided, thereby improving the accuracy of voltage measurement, enhancing the safety of the relay and high-voltage system, and thus improving the stability of the vehicle's high-voltage system.
[0066] In an exemplary embodiment, the method further includes: when the first current voltage difference is greater than the first current voltage difference, controlling the main negative relay to disconnect and prompting maintenance personnel to check the back-end circuit of the main negative relay; when the first current voltage difference is less than the second rated voltage difference, or the second current voltage difference is greater than the third rated voltage difference, stopping the process of applying high voltage to the vehicle high voltage system and prompting maintenance personnel to replace the main negative relay.
[0067] Optionally, the system detects the current voltage difference and compares it with preset thresholds (such as a first current voltage difference, a second calibrated voltage difference, etc.), making corresponding control decisions based on the comparison results. For example, if the voltage difference exceeds a certain threshold, it may indicate an abnormality in the downstream circuit. In this case, the system will control the main negative relay to disconnect, cutting off the connection between the power battery and the vehicle's high-voltage system. When a potential fault or abnormality is detected, the system will alert maintenance personnel for timely inspection and repair. During the power-on process of the vehicle's high-voltage system, the system continuously monitors relevant voltage parameters (such as a second current voltage difference) and compares them with calibrated values (such as a third calibrated difference). If the voltage parameters exceed the normal range, the system will immediately stop the high-voltage power-on process to prevent potential electrical faults or safety accidents. In some cases, if the fault is determined to be directly related to the main negative relay (such as a faulty relay itself or a serious abnormality in the downstream circuit), the system will prompt maintenance personnel to replace the main negative relay.
[0068] In this embodiment, by promptly cutting off the high-voltage power supply when a potential fault is detected, the risk of the fault escalating or causing more serious consequences can be further reduced, thereby protecting the vehicle's high-voltage system from the impact of potential faults.
[0069] In one exemplary embodiment, such as Figure 3 As shown, a main negative relay control method is provided, which includes the following steps:
[0070] S302: Obtain the first current voltage difference at the target sampling point relative to the negative terminal of the power battery.
[0071] S304: When the first current voltage difference is less than or equal to the first rated voltage difference and greater than or equal to the second rated voltage difference, control the main negative relay to close.
[0072] S306: When the main negative relay is in the closed state, acquire the second current voltage difference at the target sampling point relative to the negative terminal of the power battery.
[0073] S308: When the second current voltage difference is less than or equal to the third calibration difference, control the high voltage system of the whole vehicle to apply high voltage.
[0074] S310: When the back-end circuit of the main negative relay is in the open state, determine the first voltage difference at the target sampling point relative to the negative terminal of the power battery; when the back-end circuit is in the closed state, determine the second voltage difference at the target sampling point relative to the negative terminal of the power battery; determine the first calibration error based on the first voltage difference and the second voltage difference.
[0075] S312: When the main negative relay is in an unattached state, determine the third voltage difference at the target sampling point relative to the negative terminal of the power battery; determine the second calibration error based on the third voltage difference.
[0076] S314: With the main negative relay in the open state, determine the fourth voltage difference at the target sampling point relative to the negative terminal of the power battery; determine the third calibration error based on the fourth voltage difference.
[0077] S316: If the first current voltage difference is greater than the first current voltage difference, control the main negative relay to disconnect and prompt the maintenance personnel to check the back-end circuit of the main negative relay; if the first current voltage difference is less than the second rated voltage difference, or the second current voltage difference is greater than the third rated voltage difference, stop the process of applying high voltage to the vehicle's high voltage system and prompt the maintenance personnel to replace the main negative relay.
[0078] In this embodiment, by acquiring the first current voltage difference at the target sampling point relative to the negative terminal of the power battery, and when the first current voltage difference is less than or equal to the first calibrated voltage difference and greater than or equal to the second calibrated voltage difference, the main negative relay is controlled to close. While the main negative relay is in the closed state, the second current voltage difference at the target sampling point relative to the negative terminal of the power battery is acquired. When the second current voltage difference is less than or equal to the third calibrated voltage difference, the high voltage of the vehicle's high-voltage system is controlled to be applied. This ensures that the relay closing operation is performed within a suitable voltage range, avoiding instantaneous high current surges caused by excessively large or small voltage differences, improving the safety of the relay and the high-voltage system, and thus improving the stability of the vehicle's high-voltage system.
[0079] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0080] Based on the same inventive concept, this application also provides a main and negative relay control device for implementing the main and negative relay control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the main and negative relay control device provided below can be found in the limitations of the main and negative relay control method described above, and will not be repeated here.
[0081] In one exemplary embodiment, such as Figure 4 As shown, a main and negative relay control device is provided, including: a first acquisition module 410, a first control module 420, a second acquisition module 430, and a second control module 440, wherein:
[0082] The first acquisition module 410 is used to acquire the first current voltage difference at the target sampling point relative to the negative electrode of the power battery.
[0083] The first control module 420 is used to control the main negative relay to close when the first current voltage difference is less than or equal to the first calibrated voltage difference and greater than or equal to the second calibrated voltage difference.
[0084] The second acquisition module 430, when controlling the main negative relay to be in the closed state, acquires the second current voltage difference at the target sampling point relative to the negative terminal of the power battery.
[0085] The second control module 440 is used to control the high voltage of the vehicle's high voltage system when the second current voltage difference is less than or equal to the third calibration difference.
[0086] In an exemplary embodiment, the first acquisition module 410 is further configured to determine a first voltage difference at the target sampling point relative to the negative terminal of the power battery when the back-end circuit of the main negative relay is in an open state; determine a second voltage difference at the target sampling point relative to the negative terminal of the power battery when the back-end circuit is in a closed state; and determine a first calibration error based on the first voltage difference and the second voltage difference.
[0087] In an exemplary embodiment, the second control module 440 is further configured to determine a third voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in an unattached state; and to determine a second calibration error based on the third voltage difference.
[0088] In an exemplary embodiment, the second control module 440 is further configured to determine a fourth voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in the off state; and determine a third calibration error based on the fourth voltage difference.
[0089] In an exemplary embodiment, the second control module 440 is further configured to control the main negative relay to disconnect and prompt maintenance personnel to check the back-end circuit of the main negative relay when the first current voltage difference is greater than the first current voltage difference; and to stop the process of applying high voltage to the vehicle high voltage system and prompt maintenance personnel to replace the main negative relay when the first current voltage difference is less than the second rated voltage difference or the second current voltage difference is greater than the third rated voltage difference.
[0090] Each module in the aforementioned main and negative relay control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0091] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a main / negative relay control method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0092] Those skilled in the art will understand that Figure 5The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0093] In one exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring a first current voltage difference at a target sampling point relative to the negative terminal of a power battery; controlling a main negative relay to close when the first current voltage difference is less than or equal to a first calibrated voltage difference and greater than or equal to a second calibrated voltage difference; acquiring a second current voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in a closed state; and controlling the high voltage of the vehicle's high-voltage system to be applied when the second current voltage difference is less than or equal to a third calibrated voltage difference.
[0094] In one embodiment, when the processor executes the computer program, it further performs the following steps: when the back-end circuit of the main negative relay is in an open state, determining a first voltage difference at the target sampling point relative to the negative terminal of the power battery; when the back-end circuit is in a closed state, determining a second voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a first calibration error based on the first voltage difference and the second voltage difference.
[0095] In one embodiment, when the processor executes the computer program, it further performs the following steps: when the main negative relay is in an unattached state, determining a third voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a second calibration error based on the third voltage difference.
[0096] In one embodiment, when the processor executes the computer program, it further performs the following steps: when the main negative relay is in the open state, determining a fourth voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a third calibration error based on the fourth voltage difference.
[0097] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the first current voltage difference is greater than the first current voltage difference, it controls the main negative relay to disconnect and prompts the maintenance personnel to check the back-end circuit of the main negative relay; when the first current voltage difference is less than the second rated voltage difference, or the second current voltage difference is greater than the third rated voltage difference, it stops the process of applying high voltage to the vehicle's high voltage system and prompts the maintenance personnel to replace the main negative relay.
[0098] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When the computer program is executed by a processor, it performs the following steps: acquiring a first current voltage difference at a target sampling point relative to the negative terminal of the power battery; controlling the main negative relay to close when the first current voltage difference is less than or equal to a first calibrated voltage difference and greater than or equal to a second calibrated voltage difference; acquiring a second current voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in a closed state; and controlling the high voltage to be applied to the high voltage system of the vehicle when the second current voltage difference is less than or equal to a third calibrated voltage difference.
[0099] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the back-end circuit of the main negative relay is in an open state, determining a first voltage difference at the target sampling point relative to the negative terminal of the power battery; when the back-end circuit is in a closed state, determining a second voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a first calibration error based on the first voltage difference and the second voltage difference.
[0100] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a third voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in an unattached state; and determining a second calibration error based on the third voltage difference.
[0101] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the main negative relay is in the open state, determining a fourth voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a third calibration error based on the fourth voltage difference.
[0102] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the first current voltage difference is greater than the first current voltage difference, it controls the main negative relay to disconnect and prompts the maintenance personnel to check the back-end circuit of the main negative relay; when the first current voltage difference is less than the second rated voltage difference, or the second current voltage difference is greater than the third rated voltage difference, it stops the process of applying high voltage to the vehicle's high voltage system and prompts the maintenance personnel to replace the main negative relay.
[0103] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: acquiring a first current voltage difference at a target sampling point relative to the negative terminal of the power battery; controlling a main negative relay to close when the first current voltage difference is less than or equal to a first calibrated voltage difference and greater than or equal to a second calibrated voltage difference; acquiring a second current voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in a closed state; and controlling the high voltage to be applied to the high voltage system of the vehicle when the second current voltage difference is less than or equal to a third calibrated voltage difference.
[0104] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the back-end circuit of the main negative relay is in an open state, determining a first voltage difference at the target sampling point relative to the negative terminal of the power battery; when the back-end circuit is in a closed state, determining a second voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a first calibration error based on the first voltage difference and the second voltage difference.
[0105] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a third voltage difference at the target sampling point relative to the negative terminal of the power battery when the main negative relay is in an unattached state; and determining a second calibration error based on the third voltage difference.
[0106] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: when the main negative relay is in the open state, determining a fourth voltage difference at the target sampling point relative to the negative terminal of the power battery; and determining a third calibration error based on the fourth voltage difference.
[0107] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the first current voltage difference is greater than the first current voltage difference, it controls the main negative relay to disconnect and prompts the maintenance personnel to check the back-end circuit of the main negative relay; when the first current voltage difference is less than the second rated voltage difference, or the second current voltage difference is greater than the third rated voltage difference, it stops the process of applying high voltage to the vehicle's high voltage system and prompts the maintenance personnel to replace the main negative relay.
[0108] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0109] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0110] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for controlling a main negative relay, characterized in that, Applied to a main-negative relay control system; the method includes: Obtain the first current voltage difference at the target sampling point relative to the negative terminal of the power battery; When the first current voltage difference is less than or equal to the first calibration difference and greater than or equal to the second calibration difference, the main negative relay is controlled to close. With the main negative relay in a closed state, the second current voltage difference at the target sampling point relative to the negative terminal of the power battery is obtained; When the second current voltage difference is less than or equal to the third calibration difference, control the high voltage system of the vehicle to be upgraded to high voltage. The process of determining the first calibration error includes: With the back-end circuit of the main negative relay in an open state, determine the first voltage difference at the target sampling point relative to the negative terminal of the power battery; With the back-end circuit in a closed state, a second voltage difference relative to the negative terminal of the power battery at the target sampling point is determined; The first calibration error is determined based on the first voltage difference and the second voltage difference; The process of determining the second calibration error includes: When the main negative relay is in an unattached state, determine the third voltage difference relative to the negative terminal of the power battery at the target sampling point; The second calibration error is determined based on the third voltage difference; The process of determining the third calibration error includes: When the main negative relay is in the open state, determine the fourth voltage difference at the target sampling point relative to the negative terminal of the power battery; The third calibration error is determined based on the fourth voltage difference; The main negative relay control system includes a power battery, a main negative relay, a main positive relay, a voltage acquisition module, a first resistor, a second resistor, a battery management module, and a drive circuit. The first terminal of the main positive relay is connected to the positive terminal of the power battery, and the second terminal of the main positive relay is connected to the first terminal of the first resistor; The first terminal of the main negative relay is connected to the negative terminal of the power battery, and the second terminal of the main negative relay is connected to the second terminal of the first resistor; The first end of the second resistor is connected to the positive terminal of the power battery, and the second end of the second resistor is connected to the second end of the main negative relay; The first terminal of the voltage acquisition module is connected to the negative terminal of the power battery and the first terminal of the main negative relay, respectively; the second terminal of the voltage acquisition module is connected to the second terminal of the second resistor and the second terminal of the main negative relay, respectively. The battery management module is used to control the main negative relay to open or close based on the voltage value collected at the target sampling point through the drive circuit; the target sampling point is the connection point between the second terminal of the voltage acquisition module and the second terminal of the main negative relay.
2. The method according to claim 1, characterized in that, The method further includes: If the first current voltage difference is greater than the first calibration difference, the main negative relay is controlled to disconnect, and maintenance personnel are prompted to check the back-end circuit of the main negative relay. If the first current voltage difference is less than the second calibration difference, or the second current voltage difference is greater than the third calibration difference, the process of applying high voltage to the vehicle's high-voltage system is stopped, and the maintenance personnel are prompted to replace the main negative relay.
3. The method according to claim 1, characterized in that, The main negative relay, the second resistor, the battery management module, and the drive circuit are arranged in the high-voltage box; the main positive relay and the first resistor are arranged in the multi-function controller.
4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.
6. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
High-voltage power-on control method and device and automobile
CN115139796A
Relay fault detection circuit, battery management system and vehicle
CN214539920U