Protection method, device and equipment of top-mounted pre-charging resistor and readable storage medium
By turning on the pre-charge relay and monitoring the capacitor voltage in real time during the modification process of the new energy commercial vehicle, the short circuit or load output is judged and the relay is disconnected, which solves the problem of damage to the pre-charge resistor of the vehicle and reduces maintenance costs.
Patent Information
- Application Number
- CN202510861542.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-09-16
AI Technical Summary
After the new energy commercial vehicle body is modified, there is a case where the body pre-resistor is damaged, which increases the after-sales maintenance cost.
By turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, it is determined whether the upper-mounted capacitor is short-circuited or outputting with load based on the voltage changes at different times. If short-circuited or outputting with load, the pre-charging relay is disconnected to protect the upper-mounted pre-charging circuit.
The probability of damage to the pre-charge resistor is reduced, and the cost of replacing the pre-charge circuit board after sales is reduced.
Smart Images

Figure CN120657687A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of upper-mounted pre-charging resistor protection, and in particular to a protection method, device, equipment and readable storage medium for an upper-mounted pre-charging resistor. Background Art
[0002] New energy commercial vehicles offer numerous advantages in the transportation industry. First, their electric powertrains eliminate exhaust emissions, meeting environmental requirements and effectively reducing pollution for frequently used logistics and distribution vehicles. Second, they offer low operating costs, with energy costs lower than fuel and stable prices. New energy commercial vehicles often require body modifications for use in the transportation industry, such as sanitation vehicles.
[0003] For new energy commercial vehicles with modified bodywork, before the bodywork officially starts to operate, the all-in-one controller of the new energy commercial vehicle interacts with the bodywork controller. The all-in-one controller decides whether to close the pre-charge relay of the bodywork circuit based on the start signal of the bodywork controller. After the pre-charging of the bodywork capacitor is completed, the bodywork controller decides whether to start the bodywork based on the signal feedback from the all-in-one controller whether the bodywork main relay is energized.
[0004] However, most modification factories make modifications based on experience, and the wiring harness may be connected incorrectly during the modification process. During the pre-charging process of the upper-mounted capacitor, there may be a short circuit in the upper-mounted capacitor, which may easily cause damage to the upper-mounted pre-resistor. At the same time, during the pre-charging process of the upper-mounted capacitor, there may be a continuous large current, which may also cause damage to the upper-mounted pre-resistor, and then lead to high repair costs for replacing the pre-charged circuit board after sales. Summary of the Invention
[0005] The embodiments of the present invention provide a protection method, device, equipment and readable storage medium for a mounted pre-charge resistor to solve the technical problem in the related art that after the existing new energy commercial vehicle mounted pre-charge resistor is modified, it may be damaged during use, thereby increasing after-sales maintenance costs.
[0006] In a first aspect, a protection method for a pre-charge resistor is provided, comprising the following steps: Turn on the upper load pre-charge relay and continuously obtain the upper load capacitor voltage, and judge whether the upper load capacitor is short-circuited or outputting with load according to the upper load capacitor voltage at different times; If the upper-mounted capacitor is short-circuited or outputs with load, disconnect the upper-mounted pre-charge relay to cut off the power to the upper-mounted pre-charge circuit.
[0007] In some embodiments, the step of turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, and determining whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (0, AT) after the upper-load pre-charge relay is turned on; where T is the time constant, T=RC, R and C are the resistance of the upper-load pre-charge resistor and the capacitance of the upper-load capacitor, respectively; A takes a value between (0, 1); Determine whether the absolute value of the difference between two adjacent upper-mounted capacitor voltages in a plurality of upper-mounted capacitor voltages in a (0, AT] period is less than a preset first voltage value; If so, it is determined that the upper capacitor is short-circuited.
[0008] In some embodiments, the step of turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, and determining whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtaining several upper-mounted capacitor voltages during the (AT, T) period after the upper-mounted pre-charge relay is turned on, as well as the upper-mounted capacitor voltage at time T; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (AT, T) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at time T is less than a preset second voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0009] In some embodiments, the step of turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, and determining whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (T, BT) after the upper-load pre-charge relay is turned on, as well as the upper-load capacitor voltage at the BT moment; wherein B is greater than 1; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (T, BT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the BT moment is less than a preset third voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0010] In some embodiments, the step of turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, and determining whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper load capacitor voltages during the (BT, CT) period after the upper load pre-charge relay is turned on, as well as the upper load capacitor voltage at the BT moment; wherein C is greater than B; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (BT, CT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the CT moment is less than a preset fourth voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0011] In some embodiments, after the step of turning on the upper-mounted pre-charging relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load based on the upper-mounted capacitor voltage at different times, the following steps are further included: If the upper load capacitor is not short-circuited and there is no load output, obtain the upper load capacitor voltage at time DT after the upper load pre-charge relay is turned on; where D is greater than C; Determine whether the upper capacitor voltage at time DT is less than a preset fifth voltage value; If so, it is determined that the upper capacitor pre-charge has timed out, and the upper capacitor pre-charge relay is disconnected.
[0012] In some embodiments, after the step of disconnecting the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or outputting with load, the method further includes: The information of the upper-mounted pre-charging fault is sent to the vehicle instrument, and the instruction to turn on the upper-mounted pre-charging relay is no longer executed until the upper-mounted equipment is restarted or the vehicle is powered on and off again.
[0013] In a second aspect, a protection device with a pre-charge resistor is provided, including an all-in-one controller, the all-in-one controller including: A judgment unit, the judgment unit being used to turn on the upper loading pre-charging relay and continuously obtain the upper loading capacitor voltage, and judge whether the upper loading capacitor is short-circuited or outputting with load according to the upper loading capacitor voltage at different times; The protection unit is used to disconnect the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or the output is loaded.
[0014] In a third aspect, a computer device is provided, comprising: a memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the aforementioned protection method for the upper pre-charge resistor.
[0015] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed by a computer, the computer executes the aforementioned protection method for the upper pre-charge resistor.
[0016] The beneficial effects brought about by the technical solution provided by the present invention include: The embodiment of the present invention provides a kind of protection method, device, equipment and readable storage medium of upper loading pre-charging resistance, the protection method first turns on the upper loading pre-charging relay and continuously obtains the upper loading capacitor voltage, judges whether the upper loading capacitor is short-circuited or loaded output according to the upper loading capacitor voltage at different times; Then if the upper loading capacitor is short-circuited or loaded output, disconnects the upper loading pre-charging relay, and makes the upper loading pre-charging circuit power off. The present invention judges whether the upper loading capacitor is short-circuited or loaded output according to the upper loading capacitor voltage at different times, and disconnects the upper loading pre-charging relay when the upper loading capacitor is short-circuited or loaded output, makes the upper loading pre-charging circuit power off, that is, makes the upper loading pre-charging block in the upper loading pre-charging circuit power off, protects the upper loading pre-charging resistance, reduces the probability of the upper loading pre-charging resistance burning damage, and then reduces the cost of after-sales replacement of pre-charging circuit board. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic flow chart of a protection method for a pre-charge resistor provided in an embodiment of the present invention; Figure 2 A schematic diagram of a pre-charging circuit according to an embodiment of the present invention; Figure 3 A schematic structural diagram of a protection device with pre-charging resistor provided by an embodiment of the present invention; Figure 4 A schematic structural diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0020] The embodiment of the present invention provides a method for protecting a pre-charge resistor mounted on an existing new energy commercial vehicle, which can solve the technical problem that after the existing new energy commercial vehicle is modified and the pre-charge resistor is damaged during use, the cost of after-sales maintenance is increased.
[0021] See also Figure 1As shown, an embodiment of the present invention provides a protection method for a pre-charging resistor, comprising the following steps: Step S10: Turn on the upper load pre-charging relay and continuously obtain the upper load capacitor voltage, and judge whether the upper load capacitor is short-circuited or outputting with load according to the upper load capacitor voltage at different times.
[0022] Specifically, see Figure 2 As shown, the all-in-one controller is internally integrated with an upper-mounted pre-charging relay and an upper-mounted pre-charging resistor. The upper-mounted device is generally a motor-driven device, which can be simplified into an upper-mounted capacitor and an upper-mounted load. After the new energy commercial vehicle is modified, before the upper-mounted device is officially activated, the all-in-one controller interacts with the controller of the upper-mounted device. The all-in-one controller turns on the upper-mounted circuit pre-charging relay according to the upper-mounted controller start signal. The upper-mounted pre-charging relay, the upper-mounted pre-charging resistor, the upper-mounted capacitor and the battery constitute the upper-mounted pre-charging circuit, and the upper-mounted capacitor starts to pre-charge. The all-in-one controller is generally integrated with a voltage acquisition module to continuously acquire the upper-mounted capacitor voltage, and then judge whether the upper-mounted capacitor is short-circuited or outputting with load based on the upper-mounted capacitor voltage at different times.
[0023] Step S20: If the upper-mounted capacitor is short-circuited or outputting with load, the upper-mounted pre-charging relay is disconnected to cut off the power to the upper-mounted pre-charging circuit.
[0024] Specifically, when it is determined that the upper-mounted capacitor is short-circuited or outputting with load, the upper-mounted pre-charging relay is disconnected to cut off the power to the upper-mounted pre-charging circuit, that is, the upper-mounted pre-charging block in the upper-mounted pre-charging circuit is de-energized, protecting the upper-mounted pre-charging resistor, reducing the probability of burning and damaging the upper-mounted pre-charging resistor, and thereby reducing the cost of after-sales replacement of the pre-charging circuit board.
[0025] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (0, AT) after the upper-load pre-charge relay is turned on; where T is the time constant, T=RC, R and C are the resistance of the upper-load pre-charge resistor and the capacitance of the upper-load capacitor, respectively; A takes a value between (0, 1); Determine whether the absolute value of the difference between two adjacent upper-mounted capacitor voltages in a plurality of upper-mounted capacitor voltages in a (0, AT] period is less than a preset first voltage value; If so, it is determined that the upper capacitor is short-circuited.
[0026] Specifically, A can be set to 0.25, and the preset first voltage value can be set to 0.03Ub, where Ub is the battery voltage. For example, after the upper-mounted pre-charge relay is turned on, three upper-mounted capacitor voltages in the period (0, 0.25RC] are obtained. If the absolute value of the difference between two adjacent upper-mounted capacitor voltages among the three upper-mounted capacitor voltages is less than 0.03Ub, it is determined that the upper-mounted capacitor is short-circuited.
[0027] During the above period, the upper-mounted capacitor is just beginning to be pre-charged. The voltage at the upper-mounted load end has not risen, and the upper-mounted load is not working. Generally, there is no loaded output. However, if the upper-mounted capacitor is short-circuited at this time, a large current will continue, which may easily burn out the upper-mounted pre-charging resistor. This requires priority identification and judgment.
[0028] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtaining several upper-mounted capacitor voltages during the (AT, T) period after the upper-mounted pre-charge relay is turned on, as well as the upper-mounted capacitor voltage at time T; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (AT, T) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at time T is less than a preset second voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0029] Specifically, A can be taken as 0.25, and the preset second voltage value can be taken as 0.56Ub, where Ub is the battery voltage. For example, the three upper-mounted capacitor voltages in the (0.25RC, RC) period after the upper-mounted pre-charge relay is turned on and the upper-mounted capacitor voltage at the RC moment are obtained. If the latter of the three upper-mounted capacitor voltages is less than the previous upper-mounted capacitor voltage, the upper-mounted capacitor load output is determined. If the upper-mounted capacitor voltage at the RC moment is less than 0.56Ub, the upper-mounted capacitor load output is determined.
[0030] The lowest voltage at which the upper load can work is different. When the capacitor terminal voltage reaches the upper load (generally a motor) operating voltage, the upper load can theoretically work. There is a situation where the upper capacitor pre-charge is not completed and it is started, that is, the upper capacitor is output with load, so it is necessary to detect in sections and at different times. The protection method of the upper pre-charge resistance of the embodiment of the present invention sets the time period (AT, T) and time T for detection, which can adapt to the lowest operating voltage of the first type of upper load.
[0031] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (T, BT) after the upper-load pre-charge relay is turned on, as well as the upper-load capacitor voltage at the BT moment; wherein B is greater than 1; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (T, BT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the BT moment is less than a preset third voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0032] Specifically, B can take 2, and the preset second voltage value can take 0.77Ub, where Ub is the battery voltage. For example, the three upper-mounted capacitor voltages in the (RC, 2RC) period after the upper-mounted pre-charge relay is turned on and the upper-mounted capacitor voltage at the 2RC moment are obtained. If the latter upper-mounted capacitor voltage of the three upper-mounted capacitor voltages is less than the previous upper-mounted capacitor voltage, it is determined that the upper-mounted capacitor is loaded and output. If the upper-mounted capacitor voltage at the 2RC moment is less than 0.77Ub, it is determined that the upper-mounted capacitor is loaded and output.
[0033] The lowest voltage at which the upper load can work is different. When the capacitor terminal voltage reaches the upper load (generally a motor) operating voltage, the upper load can theoretically work. There is a situation where the upper capacitor pre-charge is not completed and it is started, that is, the upper capacitor is loaded and output, so it is necessary to detect in sections and at different times. The protection method of the upper pre-charge resistance of the embodiment of the present invention sets the time period (T, BT) and the time BT for detection, which can adapt to the lowest operating voltage of the second type of upper load.
[0034] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper load capacitor voltages during the (BT, CT) period after the upper load pre-charge relay is turned on, as well as the upper load capacitor voltage at the BT moment; wherein C is greater than B; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (BT, CT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the CT moment is less than a preset fourth voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0035] Specifically, B can take 2, C can take 3, and the preset second voltage value can take 0.85Ub, where Ub is the battery voltage. For example, after the upper pre-charge relay is turned on, the three upper capacitor voltages in the (2RC, 3RC) period and the upper capacitor voltage at the 3RC moment are obtained. If the latter of the three upper capacitor voltages is less than the previous upper capacitor voltage, the upper capacitor load output is judged. If the upper capacitor voltage at the 3RC moment is less than 0.85Ub, the upper capacitor load output is judged.
[0036] The lowest voltage at which the upper load can work is different. When the capacitor terminal voltage reaches the upper load (generally a motor) operating voltage, the upper load can theoretically work. There is a situation where the upper capacitor pre-charge is not completed and it is started, that is, the upper capacitor is output with load, so it is necessary to detect in sections and moments. The protection method of the upper pre-charge resistance of the embodiment of the present invention sets the time period (BT, CT) and the moment CT for detection, which can adapt to the lowest operating voltage of the third type of upper load.
[0037] As an optional implementation manner, in one embodiment of the invention, after the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, the step further includes: If the upper load capacitor is not short-circuited and there is no load output, obtain the upper load capacitor voltage at time DT after the upper load pre-charge relay is turned on; where D is greater than C; Determine whether the upper capacitor voltage at time DT is less than a preset fifth voltage value; If so, it is determined that the upper capacitor pre-charge has timed out, and the upper capacitor pre-charge relay is disconnected.
[0038] Specifically, D can be 5, and the preset second voltage value can be 0.9Ub, where Ub is the battery voltage. For example, the voltage of the upper-mounted capacitor at 5RC seconds after the upper-mounted pre-charge relay is turned on is obtained. If the voltage of the upper-mounted capacitor at 5RC seconds is less than 0.9Ub, it is determined that the upper-mounted capacitor pre-charge has timed out, and the upper-mounted pre-charge relay is turned off.
[0039] The minimum operating voltage of the upper load varies. The upper load (typically a motor) can theoretically operate when the capacitor terminal voltage reaches the upper load's operating voltage. However, there is a possibility that the upper load capacitor starts before precharging is complete, i.e., the upper load capacitor outputs with load, so segmented and time-divided detection is required. The protection method for the upper load precharging resistor in the embodiment of the present invention sets a detection time DT, which can adapt to the minimum operating voltage of the fourth type of upper load.
[0040] As an optional implementation manner, in one embodiment of the invention, after the step of disconnecting the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or outputting with load, the method includes: The information of the upper-mounted pre-charging fault is sent to the vehicle instrument, and the instruction to turn on the upper-mounted pre-charging relay is no longer executed until the upper-mounted equipment is restarted or the vehicle is powered on and off again.
[0041] When the upper-mounted capacitor is short-circuited, the upper-mounted pre-charge resistor will be subjected to a large current before the fault is detected. If pre-charging is allowed to continue, it will automatically repeat multiple times, which will damage the upper-mounted pre-charge resistor. When the upper-mounted capacitor is started with load, the voltage at the upper-mounted capacitor terminal will be pulled down. If it falls below the upper-mounted operating voltage, the upper-mounted device will not work. At this time, if pre-charging is allowed to continue, the voltage at the upper-mounted capacitor terminal will reach the upper-mounted device's allowable operating voltage, and the upper-mounted capacitor will continue to work with load. This repetition will also damage the upper-mounted pre-charge resistor. Both of the above situations should be avoided.
[0042] The following is a specific example to further illustrate: The upper load pre-charge resistor R = 200Ω, the upper load capacitor C = 1000uF, and the battery voltage Ub = 600V, then RC = 200ms. The execution process of the upper load pre-charge resistor protection method is as follows: 1. At t = 0-50ms, obtain the upper capacitor voltage three times in succession and determine whether the absolute value of the two voltage differences is less than 18V (0.03*600); 2. At t=50-200ms, obtain the upper capacitor voltage three times in succession to determine whether the subsequent voltage is less than the previous voltage. At t=200ms, obtain the upper capacitor voltage to determine whether the voltage reaches 341V (0.569*600). 3. At t=200-400ms, obtain the upper capacitor voltage three times in a row to determine whether the previous voltage is less than the next voltage. At t=400ms, obtain the upper capacitor voltage to determine whether the voltage reaches 467V (0.778*600). 4. At t=400-600ms, obtain the upper capacitor voltage three times in a row to determine whether the previous voltage is less than the next voltage. At t=600ms, obtain the upper capacitor voltage to determine whether the voltage reaches 513V (0.855*600). 5. At t=1000ms, obtain the upper capacitor voltage and determine whether the voltage reaches 540V (0.9*600); If any of the above stages is abnormal, the pre-charging will be exited and the instrument will prompt the pre-charging failure.
[0043] See also Figure 3 As shown, an embodiment of the present invention further provides a protection device with a pre-charging resistor, including an all-in-one controller, wherein the all-in-one controller includes: a judgment unit and a protection unit.
[0044] The judgment unit is used to turn on the upper loading pre-charging relay and continuously obtain the upper loading capacitor voltage, and judge whether the upper loading capacitor is short-circuited or outputting with load according to the upper loading capacitor voltage at different times.
[0045] The protection unit is used to disconnect the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or the output is loaded.
[0046] An embodiment of the present invention also provides a computer device, comprising: a memory, a processor, and a network interface connected via a system bus, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement all or part of the steps of the aforementioned protection method for the upper pre-charge resistor.
[0047] Among them, the network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0048] The processor can be a CPU, other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor, or any conventional processor. The processor is the control center of a computer device, connecting all parts of the entire computer device using various interfaces and lines.
[0049] The memory can be used to store computer programs and / or modules. The processor implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory and accessing the data stored in the memory. The memory may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as video playback or image playback); the data storage area may store data generated based on the use of the mobile phone (such as video data or image data). Furthermore, the memory may include high-speed random access memory (RAM) and non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a SmartMedia Card (SMC), a Secure Digital (SD) card, a flash memory card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0050] In one embodiment of the invention, the processor is configured to execute a computer program stored in the memory to implement the following steps: Step S10, turning on the upper loading pre-charging relay and continuously obtaining the upper loading capacitor voltage, and judging whether the upper loading capacitor is short-circuited or outputting with load according to the upper loading capacitor voltage at different times; Step S20: If the upper-mounted capacitor is short-circuited or outputting with load, the upper-mounted pre-charging relay is disconnected to cut off the power to the upper-mounted pre-charging circuit.
[0051] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (0, AT) after the upper-load pre-charge relay is turned on; where T is the time constant, T=RC, R and C are the resistance of the upper-load pre-charge resistor and the capacitance of the upper-load capacitor, respectively; A takes a value between (0, 1); Determine whether the absolute value of the difference between two adjacent upper-mounted capacitor voltages in a plurality of upper-mounted capacitor voltages in a (0, AT] period is less than a preset first voltage value; If so, it is determined that the upper capacitor is short-circuited.
[0052] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtaining several upper-mounted capacitor voltages during the (AT, T) period after the upper-mounted pre-charge relay is turned on, as well as the upper-mounted capacitor voltage at time T; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (AT, T) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at time T is less than a preset second voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0053] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (T, BT) after the upper-load pre-charge relay is turned on, as well as the upper-load capacitor voltage at the BT moment; wherein B is greater than 1; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (T, BT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the BT moment is less than a preset third voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0054] As an optional implementation manner, in one embodiment of the invention, the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper load capacitor voltages during the (BT, CT) period after the upper load pre-charge relay is turned on, as well as the upper load capacitor voltage at the BT moment; wherein C is greater than B; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (BT, CT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the CT moment is less than a preset fourth voltage value; If so, determine whether the upper capacitor is loaded and outputting.
[0055] As an optional implementation manner, in one embodiment of the invention, after the step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, the step further includes: If the upper load capacitor is not short-circuited and there is no load output, obtain the upper load capacitor voltage at time DT after the upper load pre-charge relay is turned on; where D is greater than C; Determine whether the upper capacitor voltage at time DT is less than a preset fifth voltage value; If so, it is determined that the upper capacitor pre-charge has timed out, and the upper capacitor pre-charge relay is disconnected.
[0056] As an optional implementation manner, in one embodiment of the invention, after the step of disconnecting the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or outputting with load, the method includes: The information of the upper-mounted pre-charging fault is sent to the vehicle instrument, and the instruction to turn on the upper-mounted pre-charging relay is no longer executed until the upper-mounted equipment is restarted or the vehicle is powered on and off again.
[0057] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, all or part of the steps of the aforementioned protection method for the upper pre-charge resistor are implemented.
[0058] The embodiments of the present invention may implement all or part of the aforementioned processes by instructing related hardware through a computer program. The computer program may be stored in a computer-readable storage medium. When executed by a processor, the computer program may implement the steps of each of the aforementioned methods. The computer program includes computer program code, which may be in source code form, object code form, an executable file, or some intermediate form. Computer-readable media may include any entity or device capable of carrying computer program code, recording media, USB flash drives, removable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signals, telecommunications signals, and software distribution media. It should be noted that the content of computer-readable media may be appropriately expanded or reduced based on the requirements of legislation and patent practice within a jurisdiction. For example, in some jurisdictions, legislation and patent practice do not require computer-readable media to include electric carrier signals or telecommunications signals.
[0059] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, servers, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage) containing computer-usable program code.
[0060] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0061] The serial numbers in the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0062] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0063] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is to be construed in the widest possible manner consistent with the principles and novel features disclosed herein.
Claims
1. A protection method for pre-charging resistor, characterized in that: The following steps are involved: Turn on the upper load pre-charge relay and continuously obtain the upper load capacitor voltage, and judge whether the upper load capacitor is short-circuited or outputting with load according to the upper load capacitor voltage at different times; If the upper-mounted capacitor is short-circuited or outputs with load, disconnect the upper-mounted pre-charge relay to cut off the power to the upper-mounted pre-charge circuit.
2. The protection method for pre-loading charging resistance according to claim 1, wherein: The step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (0, AT) after the upper-load pre-charge relay is turned on; where T is the time constant, T=RC, R and C are the resistance of the upper-load pre-charge resistor and the capacitance of the upper-load capacitor, respectively; A takes a value between (0, 1); Determine whether the absolute value of the difference between two adjacent upper-mounted capacitor voltages in a plurality of upper-mounted capacitor voltages in a (0, AT] period is less than a preset first voltage value; If so, it is determined that the upper capacitor is short-circuited.
3. The protection method for pre-loading charging resistance according to claim 2, wherein: The step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtaining several upper-mounted capacitor voltages during the (AT, T) period after the upper-mounted pre-charge relay is turned on, as well as the upper-mounted capacitor voltage at time T; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (AT, T) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at time T is less than a preset second voltage value; If so, determine whether the upper capacitor is loaded and outputting.
4. The protection method for the upper pre-charging resistor according to claim 3, wherein: The step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper-load capacitor voltages during the period (T, BT) after the upper-load pre-charge relay is turned on, as well as the upper-load capacitor voltage at the BT moment; wherein B is greater than 1; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (T, BT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the BT moment is less than a preset third voltage value; If so, determine whether the upper capacitor is loaded and outputting.
5. The protection method for the upper pre-charging resistor according to claim 4, characterized in that: The step of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, includes: Obtain several upper load capacitor voltages during the (BT, CT) period after the upper load pre-charge relay is turned on, as well as the upper load capacitor voltage at the BT moment; wherein C is greater than B; Determine whether the last upper-loading capacitor voltage among the plurality of upper-loading capacitor voltages in the (BT, CT) period is smaller than the previous upper-loading capacitor voltage; If yes, determine whether the upper capacitor is loaded and output; if not, determine whether the upper capacitor voltage at the CT moment is less than a preset fourth voltage value; If so, determine whether the upper capacitor is loaded and outputting.
6. The protection method for the upper pre-charging resistor according to claim 5, characterized in that: After the steps of turning on the upper-mounted pre-charge relay and continuously obtaining the upper-mounted capacitor voltage, and judging whether the upper-mounted capacitor is short-circuited or outputting with load according to the upper-mounted capacitor voltage at different times, the method further includes: If the upper load capacitor is not short-circuited and there is no load output, obtain the upper load capacitor voltage at time DT after the upper load pre-charge relay is turned on; where D is greater than C; Determine whether the upper capacitor voltage at time DT is less than a preset fifth voltage value; If so, it is determined that the upper capacitor pre-charge has timed out, and the upper capacitor pre-charge relay is disconnected.
7. The protection method for pre-loading charging resistance according to claim 1, characterized in that: After the step of disconnecting the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or the output is loaded, the method further includes: The information of the upper-mounted pre-charging fault is sent to the vehicle instrument, and the instruction to turn on the upper-mounted pre-charging relay is no longer executed until the upper-mounted equipment is restarted or the vehicle is powered on and off again.
8. A protective device with a pre-charge resistor, characterized in that: An all-in-one controller is included, comprising: A judgment unit, the judgment unit being used to turn on the upper loading pre-charging relay and continuously obtain the upper loading capacitor voltage, and judge whether the upper loading capacitor is short-circuited or outputting with load according to the upper loading capacitor voltage at different times; The protection unit is used to disconnect the upper-mounted pre-charge relay if the upper-mounted capacitor is short-circuited or the output is loaded.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the protection method of the upper pre-charging resistor according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is enabled to execute the method for protecting the upper pre-charging resistor according to any one of claims 1 to 7.