Relay coil power supply method and related equipment
By obtaining the target coil resistance value and detecting the power supply voltage of the driving circuit in the relay, determining the target power supply voltage threshold of the relay, solving the problem of insufficient power supply at low temperatures, and achieving reliable judgment and efficient control of the power supply of the relay coil.
Patent Information
- Application Number
- CN202411954396.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-04
AI Technical Summary
In low temperature or faulty conditions, the voltage of the 12V lithium battery may be too low, resulting in insufficient power supply voltage of the driving circuit and the relay cannot stably connect the high-voltage circuit. The existing technology relies on human experience to determine, and errors are prone to occur.
By obtaining the relay target coil resistance value at the current ambient temperature, determining the target supply voltage threshold based on the correspondence between the coil resistance value and the supply voltage threshold, and detecting the actual supply voltage of the driving circuit. If the preset conditions are met, the driving circuit will be controlled to supply power to the relay coil.
It realizes effective detection of the power supply voltage required for the relay coil in low-temperature environment, reduces dependence on human experience, improves the reliability of the relay power supply, and avoids the problem of occasional inability to get high voltage at low temperatures.
Smart Images

Figure CN119764122A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent drive technology, and in particular, relates to a relay coil power supply method and related equipment. Background Art
[0002] With the rapid development of the new energy vehicle industry, in the high-voltage circuit of electric vehicles and hybrid vehicles, relays (Contactor) are used as a key control element to control the connection and disconnection between the high-voltage battery and the high-voltage system of the vehicle. The relay is usually powered by a low voltage from the drive circuit, so that the relay is closed, connecting the high-voltage battery to the high-voltage system of the vehicle (such as motors, inverters, etc.) to provide power for the vehicle. The power supply of the drive circuit can come from a 12V lithium battery.
[0003] At present, in the face of low temperature or related fault conditions, the 12V lithium battery may have a low voltage state, and the power supply voltage provided by this drive circuit is too low. At this time, the relevant software will determine that the independent power supply voltage of the relay is too low. The power supply voltage is not enough to make the relay contacts attract, and thus the high-voltage circuit cannot be stably connected. In this case, the drive circuit will no longer supply power to the relay coil under software control.
[0004] However, when determining whether the power supply voltage that the drive circuit can provide is too low, the prior art usually sets a voltage constant based on experience. For example, the industry generally believes that if the low-voltage power supply is lower than about 9V, there is a risk that the vehicle cannot be attracted, and the vehicle is prohibited from using high voltage. In the above-mentioned prior art solutions, the judgment of whether the relay coil is normally powered on and high voltage is more dependent on human experience, which will lead to a large error in the judgment of whether the relay coil is powered in some low-temperature and low-voltage scenarios, resulting in the mistaken cutting off of the power supply to the relay coil in some situations where the power supply voltage is relatively low but high voltage can be applied, resulting in the problem of occasional failure to apply high voltage at low temperatures. Summary of the invention
[0005] The embodiments of the present application provide a relay coil power supply method and related equipment, which can effectively ensure the normal power supply of the relay coil in a low temperature and low voltage environment, and fully improve the problem of occasional inability to supply high voltage at low temperatures in traditional solutions.
[0006] In a first aspect, an embodiment of the present application provides a relay coil power supply method, the relay coil power supply method comprising:
[0007] Obtain the target coil resistance value of the relay at the current ambient temperature, the contacts of the relay being set in the high-voltage circuit;
[0008] Determine a target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil;
[0009] Detecting an actual power supply voltage provided by a drive circuit connected to the relay, and comparing the actual power supply voltage with a target power supply voltage threshold to obtain a voltage comparison result;
[0010] When the voltage comparison result meets the preset power supply condition, the control driving circuit supplies power to the coil of the relay so that the contacts of the relay are closed.
[0011] In some possible implementations, the corresponding relationship is constructed based on a supply voltage threshold required for the contacts of the relay to be closed at a reference temperature, a coil resistance value of the relay at the reference temperature, and a correction coefficient.
[0012] In some possible implementations, based on the target coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, determining the target power supply voltage threshold corresponding to the target coil resistance value includes:
[0013] The target supply voltage threshold is obtained by substituting the target coil resistance value into the corresponding relationship, wherein the corresponding relationship is as follows:
[0014] Un=K*U20*(Rn / R20);
[0015] Among them, Un is the target power supply voltage threshold, K is the correction coefficient, U20 is the power supply voltage threshold required for the relay contact to be attracted at 20℃, Rn is the target coil resistance value, and R20 is the coil resistance value of the relay at 20℃.
[0016] In some possible implementations, when the voltage comparison result satisfies the preset power supply condition, controlling the drive circuit to provide the actual power supply voltage to the coil of the relay includes:
[0017] When the voltage comparison result satisfies that the actual power supply voltage is greater than the target power supply voltage threshold and lasts for a first time period, the drive circuit is controlled to supply power to the coil of the relay.
[0018] In some possible implementations, after detecting the actual power supply voltage provided by the driving circuit connected to the relay and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result, the relay coil power supply method further includes:
[0019] If the voltage comparison result does not satisfy that the actual power supply voltage is greater than the target power supply voltage threshold value and continues for the first time period, continuing to cyclically detect the actual power supply voltage of the driving circuit at a preset time interval within a second time period;
[0020] When the re-detected actual power supply voltage meets the power supply recovery condition, the drive circuit is controlled to supply power to the coil of the relay.
[0021] In some possible implementations, when the re-detected actual power supply voltage meets the power supply recovery condition, controlling the drive circuit to supply power to the coil of the relay includes:
[0022] When the re-detected actual power supply voltage is greater than or equal to the power supply recovery threshold and lasts for a third period of time, controlling the drive circuit to supply power to the coil of the relay;
[0023] The power supply recovery threshold is higher than the target power supply voltage threshold.
[0024] In some possible implementations, before determining the target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the correspondence between the coil resistance value and the supply voltage threshold of the relay coil, the relay coil power supply method further includes:
[0025] Through multiple pre-tests, the coil resistance values of the relay at different ambient temperatures are obtained, as well as the supply voltage threshold required for the contact of the relay to be closed at different coil resistance values;
[0026] Based on the coil resistance values of the relay at different ambient temperatures and the supply voltage thresholds required for the contacts of the relay to be attracted at different coil resistance values, a corresponding relationship is determined.
[0027] Based on the same inventive concept, in a second aspect, an embodiment of the present application further provides a battery management unit, the battery management unit comprising a coil resistance detection circuit, a drive circuit and a controller, the controller being used to execute the relay coil power supply method as described in any one of the embodiments of the first aspect above;
[0028] The coil resistance detection circuit is electrically connected to the coil of the relay and is configured to measure a target coil resistance value of the relay at a current ambient temperature and transmit the target coil resistance value to the controller;
[0029] The drive circuit is electrically connected to the coil of the relay and is configured to supply power to the coil of the relay under the control of the controller so as to close the contacts of the relay.
[0030] In some possible implementations, the coil resistance detection circuit includes: a first resistor, a second resistor, an operational amplifier, and an analog-to-digital converter;
[0031] The first resistor is arranged between the reference voltage terminal and the target node, the target node is electrically connected to one end of the coil of the relay, and the other end of the coil of the relay is grounded;
[0032] The second resistor is arranged between the positive input terminal of the operational amplifier and the target node;
[0033] The negative input terminal of the operational amplifier is electrically connected to the output terminal thereof, and the output terminal of the operational amplifier is electrically connected to the input terminal of the analog-to-digital converter;
[0034] The output end of the analog-to-digital converter is electrically connected to the controller.
[0035] Based on the same inventive concept, in a third aspect, an embodiment of the present application provides a battery management system, which includes the battery management unit described in any one of the embodiments of the second aspect.
[0036] Based on the same inventive concept, in a fourth aspect, an embodiment of the present application provides a relay coil power supply device, the relay coil power supply device comprising:
[0037] A first acquisition module is used to acquire a target coil resistance value of a relay at a current ambient temperature, wherein the contacts of the relay are arranged in a high-voltage circuit;
[0038] A first determination module, configured to determine a target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and a corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil;
[0039] A first detection module is used to detect an actual power supply voltage provided by a drive circuit connected to the relay, and compare the actual power supply voltage with a target power supply voltage threshold to obtain a voltage comparison result;
[0040] The first control module is used to control the drive circuit to supply power to the coil of the relay so that the contacts of the relay are attracted when the voltage comparison result meets the preset power supply condition.
[0041] Based on the same inventive concept, in a fifth aspect, an embodiment of the present application provides a relay coil power supply device, the relay coil power supply device comprising:
[0042] a processor and a memory storing computer program instructions;
[0043] When the processor executes the computer program instructions, the relay coil power supply method provided in any one of the above-mentioned embodiments of the present application is implemented.
[0044] Based on the same inventive concept, in the sixth aspect, an embodiment of the present application provides a computer storage medium, on which computer readable storage medium is stored computer program instructions, and when the computer program instructions are executed by a processor, a relay coil power supply method provided in any one of the above-mentioned embodiments of the present application is implemented.
[0045] Based on the same inventive concept, in the seventh aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a relay coil power supply method provided in any one of the above-mentioned embodiments of the present application.
[0046] Based on the same inventive concept, in the eighth aspect, an embodiment of the present application provides a vehicle, the vehicle comprising at least one of the following: a battery management unit as provided in the above-mentioned embodiment of the present application; a battery management system as provided in the above-mentioned embodiment of the present application; a relay coil power supply device as provided in the above-mentioned embodiment of the present application; a relay coil power supply device as provided in the above-mentioned embodiment of the present application; a computer-readable storage medium as provided in the above-mentioned embodiment of the present application; a computer program product as provided in the above-mentioned embodiment of the present application.
[0047] It can be known from the above description that a relay coil power supply method and related equipment of an embodiment of the present application can calculate the power supply voltage threshold required for the current contact of the relay to be attracted in real time based on the collected coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, thereby realizing effective detection of the power supply voltage required for the coil in a low temperature environment and overcoming the dependence on human experience. In this way, the subsequent detection based on the calculated power supply voltage threshold and the actual power supply voltage of the drive circuit and the determination of whether the relay can be powered normally can more reasonably realize the feasibility judgment of the relay coil power supply, thereby fully ensuring the reliable judgment of the high voltage on the vehicle.
[0048] Overall, a relay coil power supply method and related equipment in an embodiment of the present application corresponds to different power supply voltage thresholds according to the current coil resistance value, so as to judge whether the actual power supply voltage of the drive circuit is too low, which can effectively ensure the normal power supply of the relay coil in a low temperature and low voltage environment, and then effectively ensure high voltage under a lower supply voltage while avoiding damage to the relay, which fully improves the problem of occasional inability to provide high voltage under low temperature in traditional solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 It is a flow chart of a relay coil power supply method provided in one embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of a scenario flow of a relay coil power supply method provided in an embodiment of the present application;
[0052] Figure 3 is a structural diagram of a battery management unit provided in an embodiment of the present application;
[0053] Figure 4 is a structural schematic diagram of a battery management unit provided in another embodiment of the present application;
[0054] Figure 5 is a structural diagram of a battery management system provided by an embodiment of the present application;
[0055] Figure 6 It is a structural schematic diagram of a relay coil power supply device provided in one embodiment of the present application;
[0056] Figure 7 It is a structural schematic diagram of a relay coil power supply device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0057] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0058] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0059] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0060] As described in the background technology section, when determining whether the power supply voltage provided by the driving circuit is too low, the prior art usually sets a voltage constant based on experience. This solution relies more on human experience and does not effectively detect the voltage value required for the normal closure of the relay in a low-temperature environment. As a result, it will cause a large error in determining whether the relay coil is powered in some low-temperature and low-voltage scenarios, causing the power supply to the relay coil to be mistakenly cut off in some situations where the power supply voltage is low but high voltage can be applied.
[0061] In view of the above, in order to solve the problems of the prior art, the embodiments of the present application provide a relay coil power supply method and related equipment. It should be noted that the embodiments provided in the present application are not intended to limit the scope of the present application.
[0062] The following first introduces the relay coil power supply method provided in the embodiment of the present application.
[0063] Figure 1 The figure shows a flow chart of a relay coil power supply method provided by an embodiment of the present application. The relay coil power supply method can be implemented by a controller, a battery management unit (BMU) or other devices with control and management functions, and is not strictly limited here. Figure 1 As shown, the relay coil power supply method includes the following steps:
[0064] S110, obtaining a target coil resistance value of a relay at a current ambient temperature, wherein the contacts of the relay are set in a high-voltage circuit;
[0065] S120, determining a target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil;
[0066] S130, detecting an actual power supply voltage provided by a drive circuit connected to the relay, and comparing the actual power supply voltage with a target power supply voltage threshold to obtain a voltage comparison result;
[0067] S140, when the voltage comparison result meets the preset power supply condition, control the drive circuit to supply power to the coil of the relay so that the contacts of the relay are attracted.
[0068] Compared with the prior art, a relay coil power supply method in an embodiment of the present application can calculate the power supply voltage threshold required for the current contact of the relay to be attracted in real time according to the collected coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, thereby realizing effective detection of the power supply voltage required for the coil in a low temperature environment and overcoming the dependence on human experience. In this way, the subsequent detection based on the calculated power supply voltage threshold and the actual power supply voltage of the drive circuit and the determination of whether the relay can be powered normally can more reasonably realize the feasibility judgment of the power supply of the relay coil, thereby fully guaranteeing the reliable judgment of the high voltage on the vehicle. The embodiment of the present application corresponds to different power supply voltage thresholds according to the current coil resistance value, so as to judge whether the actual power supply voltage of the drive circuit is too low, which can effectively guarantee the normal power supply of the relay coil in a low temperature and low pressure environment, and then effectively ensure that the high voltage is applied under a lower power supply voltage while avoiding damage to the relay, which fully improves the problem of occasional failure to apply high voltage under low temperature in the traditional solution.
[0069] The specific implementation of the above steps 110 to 140 is described in detail below.
[0070] In S110, during specific implementation, as the external environment, climate, etc. change, the current ambient temperature will also change, thereby affecting the battery supply voltage and the coil resistance of the relay.
[0071] Therefore, in this embodiment, the target coil resistance value of the relay at the current ambient temperature can be obtained by setting a coil resistance detection circuit, and the range of the coil resistance is generally 18-38.5Ω (single coil). The contacts of the relay are set in a high-voltage circuit. The high-voltage circuit can be, for example, a high-voltage circuit of an electric vehicle and a hybrid vehicle, and the high-voltage circuit can be connected to provide power for the vehicle.
[0072] The relay can be, for example, a main positive relay or a main negative relay, and its contacts are set in the high-voltage circuit. In this way, when the supply voltage of the relay coil meets its supply voltage threshold, the contacts of the relay are energized, thereby connecting the high-voltage circuit and applying high voltage to the vehicle. Among them, the supply voltage threshold can be understood as the minimum voltage value required for the relay to be normally energized.
[0073] It should be noted that the supply voltage threshold is often not a fixed threshold, but will change with the change of ambient temperature. Therefore, the present application aims to effectively detect the voltage value required for the normal closure of the relay in a low temperature environment, so as to more reasonably and accurately determine whether the relay coil is powered.
[0074] In S120, during specific implementation, based on the target coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, a target power supply voltage threshold corresponding to the target coil resistance value is determined.
[0075] The corresponding relationship may be, for example, a positive correlation between the coil resistance value and the supply voltage threshold of the relay coil. For example, the greater the coil resistance value, the greater the required supply voltage threshold. The above-mentioned corresponding relationship may be determined in advance by actual testing or simulation, and the corresponding relationship may be in the form of a table, a curve or a function relationship, which is not limited here.
[0076] In some feasible embodiments of the present application, more specifically, the above correspondence is constructed based on the supply voltage threshold required for the relay contacts to be closed at a reference temperature, the coil resistance value of the relay at the reference temperature, and a correction coefficient.
[0077] In this embodiment, the reference temperature is, for example, 20°, or may be 15°, etc. The supply voltage threshold required for the contact of the relay to be closed at the reference temperature and the coil resistance value of the relay at the reference temperature are obtained by testing, and then the correction coefficient is introduced based on this, so that the corresponding relationship between the above coil resistance value and the supply voltage threshold of the relay coil can be effectively constructed.
[0078] In some feasible embodiments of the present application, in order to effectively calculate the current power supply voltage threshold based on the relay coil resistance at the current ambient temperature, so as to facilitate the subsequent more reasonable and accurate determination of whether the relay coil is powered, the above-mentioned target supply voltage threshold corresponding to the target coil resistance value is determined based on the target coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, which may specifically include:
[0079] The target supply voltage threshold is obtained by substituting the target coil resistance value into the corresponding relationship, wherein the corresponding relationship is as follows:
[0080] Un=K*U20*(Rn / R20);
[0081] Among them, Un is the target power supply voltage threshold, K is the correction coefficient, U20 is the power supply voltage threshold required for the relay contact to be attracted at 20℃, Rn is the target coil resistance value, and R20 is the coil resistance value of the relay at 20℃.
[0082] In this embodiment, by providing a specific mathematical relationship between the above parameters, the calculation of the power supply voltage threshold required for the relay contacts to be closed at the current ambient temperature can be achieved more reasonably and accurately, thereby helping to lay a good data foundation for subsequent reasonable judgments based on the power supply voltage threshold on whether the relay coil can be powered and whether the vehicle can be powered by high voltage.
[0083] In some feasible embodiments of the present application, before determining the target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the correspondence between the coil resistance value and the supply voltage threshold of the relay coil, the relay coil power supply method further includes:
[0084] Through multiple pre-tests, the coil resistance values of the relay at different ambient temperatures are obtained, as well as the supply voltage threshold required for the contact of the relay to be closed at different coil resistance values;
[0085] Based on the coil resistance values of the relay at different ambient temperatures and the supply voltage thresholds required for the contacts of the relay to be attracted at different coil resistance values, a corresponding relationship is determined.
[0086] When the actual relay is working, the coil resistance value under different ambient temperatures often changes, and the power supply voltage required for the relay contacts to be attracted is different under different coil resistance values.
[0087] Therefore, in this embodiment, the voltage values required by the relay contacts corresponding to different coil resistances are obtained through multiple tests, so that the corresponding relationship can be fitted through mathematical processing means, and the corresponding relationship is generally a positive correlation.
[0088] It should be added that the present embodiment does not impose strict restrictions on the above data processing means, for example, it can be implemented by linear fitting, least squares method, polynomial fitting, etc.
[0089] In S130, during specific implementation, an actual power supply voltage provided by a drive circuit connected to the relay is detected, and the actual power supply voltage is compared with a target power supply voltage threshold to obtain a voltage comparison result.
[0090] Exemplarily, the voltage comparison result is obtained by comparing and detecting the magnitude relationship between the actual power supply voltage provided by the driving circuit and the target power supply voltage threshold. The driving circuit can be implemented using a driving chip.
[0091] Furthermore, the voltage stability of the actual power supply voltage (for example, the stability maintenance time of the current actual power supply voltage) can also be detected, so as to improve the reliability of the subsequent high voltage determination, which is not strictly limited here.
[0092] In S140, during specific implementation, when the voltage comparison result meets the preset power supply condition, the driving circuit is controlled to supply power to the coil of the relay so that the contacts of the relay are attracted.
[0093] For example, if the voltage comparison result indicates that the actual power supply voltage provided by the drive circuit is greater than the target power supply voltage threshold, it can be considered that the preset power supply condition is met. In this case, the control drive circuit supplies power to the coil of the relay so that the contacts of the relay are closed.
[0094] In this embodiment, when controlling the driving circuit to supply power to the coil of the relay, an enable control signal may be sent to the driving circuit so that an IO port (Input / Output Port) connected to the relay coil in the driving circuit outputs a voltage. Alternatively, the power supply control of the driving circuit to the coil may be realized by controlling a switch device in the driving circuit.
[0095] In some feasible embodiments of the present application, in order to more reasonably realize the feasibility judgment of power supply to the relay coil, thereby fully ensuring the reliable judgment of the high voltage on the vehicle, when the voltage comparison result meets the preset power supply condition, the control driving circuit provides the actual power supply voltage to the coil of the relay, including:
[0096] When the voltage comparison result satisfies that the actual power supply voltage is greater than the target power supply voltage threshold and lasts for a first time period, the drive circuit is controlled to supply power to the coil of the relay.
[0097] In this embodiment, the preset power supply condition is limited to the actual power supply voltage being greater than the target power supply voltage threshold and lasting for a first time period. In other words, the actual power supply voltage needs to be greater than the target power supply voltage threshold for a period of time before the high voltage can be applied, thereby avoiding the erroneous judgment of the power supply of the relay coil when the actual power supply voltage fluctuates or is unstable.
[0098] For example, if the instantaneous detection judgment method is used, the actual power supply voltage may fluctuate due to interference, resulting in the detected instantaneous voltage being greater than the target power supply voltage threshold. However, the drive circuit cannot stably provide a voltage greater than the target power supply voltage threshold to the relay coil for a long time. In this case, the relay contacts cannot maintain a stable energized state, which is not conducive to the safety of high voltage on the vehicle.
[0099] Therefore, the above-mentioned continuous detection of the actual power supply voltage and power supply determination method adopted in this embodiment are conducive to reasonable protection of the life of the relay, and also more fully guarantee the reliability and safety of the high voltage on the vehicle.
[0100] It should be added that the first time length may be, for example, 30 ms, which may be determined based on actual voltage stability judgment experience and is not strictly limited here.
[0101] In some feasible embodiments of the present application, after detecting the actual power supply voltage provided by the driving circuit connected to the relay and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result, the relay coil power supply method further includes:
[0102] If the voltage comparison result does not satisfy that the actual power supply voltage is greater than the target power supply voltage threshold value and continues for the first time period, continuing to cyclically detect the actual power supply voltage of the driving circuit at a preset time interval within a second time period;
[0103] When the re-detected actual power supply voltage meets the power supply recovery condition, the drive circuit is controlled to supply power to the coil of the relay.
[0104] In specific implementation, if during the initial voltage detection, the actual power supply voltage that the drive circuit can provide is not greater than the target power supply voltage threshold, or cannot remain greater than the target power supply voltage threshold for the first period of time, in this case, it is considered that the drive circuit does not have the power supply capacity to ensure long-term and stable closure of the relay contacts, and therefore high voltage is prohibited.
[0105] However, in order to prevent the actual power supply voltage from failing to meet the above-mentioned preset power supply conditions due to interference or short-term failure of the driving circuit, the present embodiment further provides the following cycle detection link.
[0106] Specifically, in the following second time period, the actual power supply voltage of the drive circuit is cyclically detected at a preset time interval. Exemplarily, the second time period is 500ms, and the preset time interval is 10ms. Then, within 500ms, the latest actual power supply voltage of the drive circuit is re-detected every 10ms. In this way, when the re-detected actual power supply voltage meets the power supply recovery condition, the drive circuit is controlled to supply power to the coil of the relay.
[0107] In this embodiment, by adding the above-mentioned cyclic detection step, it is helpful to timely detect the recovery of the actual power supply voltage of the drive circuit in some interference elimination or fault recovery situations. This also helps to ensure the normal power supply of the relay coil and avoid the situation where the relay is capable of power supply but is mistakenly judged as incapable.
[0108] It should be added that the second duration and the preset time interval can be flexibly set according to actual needs and judgment experience. The power supply recovery condition, such as re-detecting that the actual power supply voltage is greater than the target power supply voltage threshold, is not strictly limited here.
[0109] In some feasible embodiments of the present application, in order to fully ensure the reliability of re-determining the power supply, when the actual power supply voltage re-detected meets the power supply recovery condition, the control driving circuit supplies power to the coil of the relay, including:
[0110] When the re-detected actual power supply voltage is greater than the power supply recovery threshold and lasts for a third period of time, controlling the drive circuit to supply power to the coil of the relay;
[0111] The power supply recovery threshold is higher than the target power supply voltage threshold.
[0112] In specific implementation, for example, when performing cyclic detection on the actual power supply voltage of the driving circuit within the second time period, if it is detected that the current actual power supply voltage is greater than the power supply recovery threshold, the time during which the actual power supply voltage is greater than the power supply recovery threshold can be started to be counted.
[0113] If the timing continues for the third time, it means that the actual power supply voltage that the drive circuit can provide has been restored and has a certain stability. In this case, it is determined that the drive circuit can supply power to the relay coil, so the drive circuit is controlled to supply power to the relay coil. After the coil is powered, the relay contacts are closed, the high-voltage circuit is connected, and the vehicle is allowed to be on high voltage.
[0114] In this embodiment, a more stringent power supply recovery condition is set to ensure the reliability of the secondary determination result. The power supply recovery threshold is higher than the target power supply voltage threshold, which can fully ensure that the actual power supply voltage of the drive circuit meets the power supply requirements of the coil, and also helps to filter out detection interference caused by slight voltage fluctuations.
[0115] It should be noted that the third time period may be the same as the first time period. Alternatively, in order to more fully improve the reliability of the secondary power supply, the third time period may be greater than the first time period.
[0116] In order to facilitate understanding of the relay coil power supply method provided in the above embodiment, the above method is described below using a specific scenario embodiment. Figure 2 A schematic diagram of a scenario implementation flow of a relay coil power supply method provided in one embodiment of the present application.
[0117] The application scenario of this scenario embodiment can be: a high-voltage relay is provided in the high-voltage circuit of electric vehicles and hybrid vehicles. In order to avoid the erroneous cutting off of the power supply to the relay coil when the vehicle can be powered on at high voltage under some low power supply voltage, it is necessary to accurately determine whether the relay coil can be powered on at low voltage under low temperature environment, so as to improve the problem of occasional failure to power on at high voltage under low temperature.
[0118] The relay coil power supply method provided in this scenario embodiment is specifically performed when the vehicle is powered on at low voltage (the battery management module completes self-test), and this scenario embodiment may specifically include the following steps 201 to 207:
[0119] S201, obtaining a target coil resistance value Rn of the relay at the current ambient temperature. For example, the target coil resistance value Rn at the current ambient temperature is obtained by setting a coil resistance detection circuit.
[0120] S202, based on the target coil resistance value Rn, Un is calculated by the relationship Un=K*U20*(Rn / R20). Wherein, Un is the target power supply voltage threshold, K is the correction coefficient, U20 is the power supply voltage threshold required for the contact of the relay to be closed at 20°C, Rn is the target coil resistance value, and R20 is the coil resistance value of the relay at 20°C. This relationship can be determined by pre-testing.
[0121] S203, detect that the actual power supply voltage Ucsp of the driving circuit is greater than Un and lasts for T1 time. If the actual power supply voltage Ucsp is greater than Un and lasts for T1 time, execute S204. Otherwise, execute S205.
[0122] The actual power supply voltage Ucsp of the driving circuit can be understood as the voltage of the relay coil independent power supply system (Contactor separate power). T1 corresponds to the first duration in the above embodiment.
[0123] S204, allowing the drive circuit to supply power to the relay coil, so that the relay contacts are energized. In this step, the drive circuit can be controlled to supply power to the relay coil, so that the relay contacts are energized, thereby connecting the high-voltage circuit and applying high voltage to the vehicle.
[0124] S205: The drive circuit is not allowed to supply power to the relay coil, and the relay contacts are not energized. In this step, the vehicle is prohibited from applying high voltage.
[0125] S205, cyclic detection Ucsp, duration T2. T2 corresponds to the second duration in the above embodiment. In this step, by adding the above cyclic detection step, it is helpful to timely detect the actual power supply voltage recovery of the drive circuit in some interference elimination or fault recovery situations. In this way, it is also helpful to ensure the normal power supply of the relay coil and avoid the situation where the relay is capable of power supply but is mistakenly judged as incapable.
[0126] S206, detect the actual power supply voltage Ucsp≥Un+X of the drive circuit and last for T3 time. If the actual power supply voltage Ucsp≥Un+X and lasts for T3 time, execute S204. Otherwise, execute S205. By setting this detection step, the vehicle is allowed to be high voltage after fault recovery or interference removal, so as to better improve the problem of occasional failure to provide high voltage at low temperature.
[0127] Among them, Un+X corresponds to the power supply recovery threshold in the above embodiment, X is a positive number, and the power supply recovery threshold Un+X is higher than the target power supply voltage threshold Un. This can fully ensure that the actual power supply voltage of the drive circuit meets the power supply requirements of the coil, and also helps to filter out the detection interference caused by slight voltage fluctuations.
[0128] In this scenario embodiment, by setting the above steps to power the coil and determine the high voltage, the power supply voltage threshold required for the current contact of the relay to be attracted can be calculated in real time based on the collected coil resistance value, thereby achieving effective detection of the power supply voltage required for the coil in a low temperature environment. In this way, a reliable judgment can be made on whether the relay coil can be powered normally based on the calculated power supply voltage threshold, overcoming the dependence on human experience and fully improving the problem of occasional failure to provide high voltage at low temperatures in traditional solutions.
[0129] In general, this scenario embodiment determines whether the independent power supply voltage of the relay is too low according to the coil resistance value corresponding to different pull-in voltage thresholds, thereby ensuring that the vehicle can be powered on at high voltage at a lower power supply voltage while avoiding damage to the relay. For hybrid and pure electric vehicles, it can effectively ensure cold start at low temperatures and reasonable protection of the relay life, and can ensure that the vehicle can normally power on at high voltage at low temperatures, while also reliably avoiding abnormal attenuation of the relay life.
[0130] Based on the relay coil power supply method provided in the above embodiment, based on the same inventive concept, the present application also provides a battery management unit. Figure 3 , Figure 3 1 is a schematic diagram of the structure of a battery management unit 10 provided in an embodiment of the present application.
[0131] like Figure 3 As shown, the battery management unit 10 includes a coil resistance detection circuit 1, a drive circuit 2 and a controller 3. The controller 3 can be used to execute the relay coil power supply method as described in any of the aforementioned embodiments of the present application. The controller 3 can be implemented by MCU (Microcontroller Unit) or CPU (Central Processing Unit), etc., and is not strictly limited here.
[0132] The coil resistance detection circuit 1 is electrically connected to the coil 5 of the relay, and is configured to measure a target coil resistance value of the relay at a current ambient temperature, and transmit the target coil resistance value to the controller 3 .
[0133] The drive circuit 2 is electrically connected to the coil 5 of the relay, and is configured to supply power to the coil 5 of the relay under the control of the controller 3 so as to close the contact 6 of the relay.
[0134] like Figure 3 As shown, the contact 6 of the relay is set in the high-voltage circuit, and the contact 6 can be closed or disconnected to realize the on-off control of the high-voltage circuit. The reaction spring 4 provides a repulsive force opposite to the action direction for the armature, and it can help the armature and the contact 6 to reset when the coil 5 is powered off.
[0135] When the relay is working, when the coil 5 of the relay is energized and reaches a certain coil current (the supply voltage of the coil 5 is greater than the voltage required for the contact 6 to be attracted), the magnetic field formed by the energization of the coil 5 generates an attraction force greater than the force of the reaction spring 4, and the contact 6 of the relay is attracted. In this way, the high-voltage circuit is connected and the vehicle is high-voltage. Among them, the supply voltage of the relay coil 5 is provided by the drive circuit 2 to which it is electrically connected.
[0136] In this embodiment, the coil resistance detection circuit 1 measures the target coil resistance value of the coil 5 of the relay at the current ambient temperature, and transmits the target coil resistance value to the controller 3 .
[0137] The controller 3 can calculate the target power supply voltage threshold required for the current relay contact 6 to be closed (moving contact fits static contact) according to the target coil resistance value. Then, the controller 3 detects the relationship between the actual power supply voltage that the drive circuit 2 can provide to the coil 5 and the target power supply voltage threshold. If the conditions are met, the controller 3 can control the drive circuit 2 to supply power to the coil 5 of the relay by sending instructions, etc., so that the vehicle is on high voltage. If the conditions are not met, the controller 3 does not allow the drive circuit 2 to supply power to the coil 5 of the relay, and the vehicle is prohibited from being on high voltage.
[0138] Thus, in a battery management unit 10 provided by an embodiment of the present application, the coil resistance detection circuit 1 collects the current coil resistance value, and then the controller 3 calculates the supply voltage threshold of the coil 5 required for the corresponding relay contact 6 to be attracted, and judges whether the actual supply voltage of the drive circuit 2 is too low based on the supply voltage threshold. When the actual supply voltage of the drive circuit 2 meets the power supply requirements, the controller 3 controls the drive circuit 2 to supply power to the coil 5, thereby fully ensuring that the vehicle can effectively avoid damage to the relay while supplying high voltage at a lower supply voltage.
[0139] For more specific examples, see Figure 4 , Figure 4FIG. 1 is a schematic diagram of the structure of a battery management unit 10 provided in another embodiment of the present application. Figure 4 As shown, the coil resistance detection circuit 1 includes: a first resistor R1, a second resistor R2, an operational amplifier and an analog-to-digital converter.
[0140] The first resistor R1 is disposed between the reference voltage terminal and the target node N. The target node N is electrically connected to one end of the coil 5 of the relay. The other end of the coil 5 of the relay is grounded.
[0141] The second resistor R2 is disposed between the positive input terminal of the operational amplifier and the target node N.
[0142] The negative input terminal of the operational amplifier is electrically connected to the output terminal thereof, and the output terminal of the operational amplifier is electrically connected to the input terminal of the analog-to-digital converter.
[0143] The output end of the analog-to-digital converter is electrically connected to the controller 3 .
[0144] In this embodiment, the specific circuit structure of the coil resistance detection circuit 1 is described in detail. The coil resistance detection circuit 1 specifically includes a first resistor R1, a second resistor R2, an operational amplifier, and an analog-to-digital converter.
[0145] When performing specific resistance detection, the reference voltage terminal may provide a voltage of, for example, 3 V. The first resistor R1 and the second resistor R2 may be detected using the resistor voltage division principle to obtain a voltage value related to the coil resistance. The resistance values of the first resistor R1 and the second resistor R2 may be set as required.
[0146] An operational amplifier (OPA) can be used to perform operational amplification on the voltage value received at the positive input terminal. The specific type of operational amplifier is LM324. In practical applications, the appropriate OPA model and connection method can be selected according to specific needs.
[0147] The analog-to-digital converter (ADC) can convert the analog voltage signal transmitted by the operational amplifier into a digital signal representing the resistance value of the target coil after a series of analysis and processing. The digital signal will be transmitted to the controller 3 by the ADC.
[0148] In this way, the coil resistance detection circuit 1 can accurately and inexpensively detect the resistance of the relay coil 5 , thereby laying a good data foundation for the subsequent controller 3 to achieve reliable high-voltage determination.
[0149] Based on the same inventive concept, the embodiment of the present application also provides a battery management system 100 (Battery Management System, BMS). Figure 5 FIG. 1 is a schematic diagram of the structure of a battery management system 100 provided in an embodiment of the present application. Figure 5 As shown, the battery management system 100 includes the battery management unit 10 described in any of the above embodiments. The battery management system 100 can be used to monitor, protect and manage battery packs. The battery management system 100 is integrated with the power battery in a battery pack of a vehicle, such as an electric vehicle or a hybrid vehicle.
[0150] It should be understood that the battery management system 100 provided in the embodiment of the present application includes the beneficial effects of the relay coil power supply method provided in the embodiment of the present application. For details, please refer to the specific description of the relay coil power supply method in the above embodiments, and this embodiment will not be repeated here.
[0151] Based on the relay coil power supply method provided in the above embodiment, out of the same inventive concept, the present application also provides a relay coil power supply device corresponding to the above relay coil power supply method. Figure 6 The relay coil power supply device is introduced in detail.
[0152] Figure 6 A schematic structural diagram of a relay coil power supply device provided in one embodiment of the present application is shown. Figure 6 The relay coil power supply device 600 shown includes:
[0153] A first acquisition module 610 is used to acquire a target coil resistance value of a relay at a current ambient temperature, wherein the contacts of the relay are arranged in a high-voltage circuit;
[0154] A first determination module 620, configured to determine a target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and a correspondence relationship between the coil resistance value and the supply voltage threshold of the relay coil;
[0155] A first detection module 630, used to detect an actual power supply voltage provided by a drive circuit connected to the relay, and compare the actual power supply voltage with a target power supply voltage threshold to obtain a voltage comparison result;
[0156] The first control module 640 is used to control the drive circuit to supply power to the coil of the relay so that the contacts of the relay are attracted when the voltage comparison result meets the preset power supply condition.
[0157] A relay coil power supply device provided in an embodiment of the present application, by setting corresponding functional modules, calculates in real time the power supply voltage threshold required for the current contact of the relay to be attracted according to the collected coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, thereby realizing effective detection of the power supply voltage required for the coil in a low temperature environment and overcoming the dependence on human experience. In this way, subsequent detection based on the calculated power supply voltage threshold and the actual power supply voltage of the drive circuit and determination of whether the relay can be powered normally can more reasonably realize the feasibility judgment of the power supply of the relay coil, thereby fully guaranteeing the reliable judgment of the high voltage on the vehicle. Overall, a relay coil power supply device in an embodiment of the present application can effectively ensure that high voltage is applied at a lower power supply voltage while avoiding damage to the relay, which fully improves the problem of occasional failure to apply high voltage at low temperatures in traditional solutions.
[0158] In some feasible embodiments of the present application, the above correspondence is constructed based on the supply voltage threshold required for the relay contacts to be attracted at a reference temperature, the coil resistance value of the relay at the reference temperature, and the correction coefficient.
[0159] In some feasible embodiments of the present application, the first determination module 620 determines the target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil, including:
[0160] The target supply voltage threshold is obtained by substituting the target coil resistance value into the corresponding relationship, wherein the corresponding relationship is as follows:
[0161] Un=K*U20*(Rn / R20);
[0162] Among them, Un is the target power supply voltage threshold, K is the correction coefficient, U20 is the power supply voltage threshold required for the relay contact to be attracted at 20℃, Rn is the target coil resistance value, and R20 is the coil resistance value of the relay at 20℃.
[0163] In some feasible embodiments of the present application, the first control module 640 controls the drive circuit to provide an actual power supply voltage to the coil of the relay when the voltage comparison result meets the preset power supply condition, including:
[0164] When the voltage comparison result satisfies that the actual power supply voltage is greater than the target power supply voltage threshold and lasts for a first time period, the drive circuit is controlled to supply power to the coil of the relay.
[0165] In some feasible embodiments of the present application, after detecting the actual power supply voltage provided by the driving circuit connected to the relay and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result, the relay coil power supply device further includes:
[0166] The cyclic detection module can be used to continue to cyclically detect the actual power supply voltage of the driving circuit at a preset time interval within a second time period when the voltage comparison result does not satisfy that the actual power supply voltage is greater than the target power supply voltage threshold and continues for a first time period;
[0167] The second control module can be used to control the drive circuit to supply power to the coil of the relay when the re-detected actual power supply voltage meets the power supply recovery condition.
[0168] In some feasible embodiments of the present application, the second control module controls the drive circuit to supply power to the coil of the relay when the actual power supply voltage re-detected satisfies the power supply recovery condition, including:
[0169] When the re-detected actual power supply voltage is greater than or equal to the power supply recovery threshold and lasts for a third period of time, controlling the drive circuit to supply power to the coil of the relay;
[0170] The power supply recovery threshold is higher than the target power supply voltage threshold.
[0171] In some feasible embodiments of the present application, before determining the target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil, the relay coil power supply device further includes:
[0172] The second acquisition module can be used to obtain the coil resistance value of the relay at different ambient temperatures through multiple pre-tests, and obtain the supply voltage threshold required for the contact of the relay to be closed at different coil resistance values;
[0173] The second determination module can be used to determine the corresponding relationship based on the coil resistance value of the relay at different ambient temperatures and the supply voltage threshold required for the contact of the relay to be closed at different coil resistance values.
[0174] Based on the relay coil power supply method provided in the above embodiment, for the same inventive concept, the present application also provides a relay coil power supply device corresponding to the above relay coil power supply method. Figure 7 A detailed introduction to the relay coil power supply equipment.
[0175] See below Figure 7 , Figure 7It is a structural schematic diagram of a relay coil power supply device provided in one embodiment of the present application.
[0176] The relay coil power supply device may include a processor 701 and a memory 702 storing computer program instructions.
[0177] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0178] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.
[0179] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0180] The processor 701 implements any one of the relay coil power supply methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .
[0181] In one example, the data relay coil power supply device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.
[0182] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0183] Bus 710 includes hardware, software or both, and the parts of relay coil power supply equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0184] The relay coil power supply device executes the relay coil power supply method in the embodiment of the present application, thereby realizing the relay coil power supply method described in the embodiment of the present application.
[0185] In addition, in combination with the relay coil power supply method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the relay coil power supply methods in the above embodiment is implemented.
[0186] Based on the relay coil power supply method in the above-mentioned embodiment, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the relay coil power supply method provided in any one of the above-mentioned embodiments of the present application.
[0187] In addition, an embodiment of the present application further provides a vehicle, the vehicle comprising at least one of the following: a battery management unit as provided in the above-mentioned embodiment of the present application; a battery management system as provided in the above-mentioned embodiment of the present application; a relay coil power supply device as provided in the above-mentioned embodiment of the present application; a relay coil power supply device as provided in the above-mentioned embodiment of the present application; a computer-readable storage medium as provided in the above-mentioned embodiment of the present application; and a computer program product as provided in the above-mentioned embodiment of the present application.
[0188] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0189] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0190] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0191] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0192] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A relay coil power supply method, characterized in that: The method comprises: Obtaining a target coil resistance value of a relay at a current ambient temperature, wherein a contact of the relay is arranged in a high-voltage circuit; Based on the target coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, determining the target power supply voltage threshold corresponding to the target coil resistance value; Detecting an actual power supply voltage provided by a drive circuit connected to the relay, and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result; When the voltage comparison result meets the preset power supply condition, the drive circuit is controlled to supply power to the coil of the relay so that the contacts of the relay are attracted.
2. The method according to claim 1, characterized in that The corresponding relationship is constructed based on a supply voltage threshold required for the contacts of the relay to be closed at a reference temperature, a coil resistance value of the relay at the reference temperature, and a correction coefficient.
3. The method according to claim 2, characterized in that The determining, based on the target coil resistance value and the corresponding relationship between the coil resistance value and the power supply voltage threshold of the relay coil, a target power supply voltage threshold corresponding to the target coil resistance value comprises: The target supply voltage threshold is obtained by substituting the target coil resistance value into the corresponding relationship, wherein the corresponding relationship is as follows: Un=K*U20*(Rn / R20); Among them, Un is the target power supply voltage threshold, K is the correction coefficient, U20 is the power supply voltage threshold required for the contact of the relay to be closed at 20°C, Rn is the target coil resistance value, and R20 is the coil resistance value of the relay at 20°C.
4. The method according to claim 1, characterized in that: When the voltage comparison result satisfies the preset power supply condition, controlling the drive circuit to provide the actual power supply voltage to the coil of the relay comprises: When the voltage comparison result satisfies that the actual power supply voltage is greater than the target power supply voltage threshold and lasts for a first time period, the drive circuit is controlled to supply power to the coil of the relay.
5. The method according to claim 4, characterized in that After detecting the actual power supply voltage provided by the drive circuit connected to the relay and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result, the method further includes: If the voltage comparison result does not satisfy that the actual power supply voltage is greater than the target power supply voltage threshold value and lasts for a first time period, continue to cyclically detect the actual power supply voltage of the drive circuit at a preset time interval within a second time period; When the re-detected actual power supply voltage meets the power supply recovery condition, the drive circuit is controlled to supply power to the coil of the relay.
6. The method according to claim 5, characterized in that When the re-detected actual power supply voltage meets the power supply recovery condition, controlling the drive circuit to supply power to the coil of the relay includes: When the re-detected actual power supply voltage is greater than or equal to the power supply recovery threshold and lasts for a third time period, controlling the drive circuit to supply power to the coil of the relay; Among them, the power supply recovery threshold is higher than the target power supply voltage threshold.
7. The method according to any one of claims 1 to 6, characterized in that: Before determining the target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and the correspondence between the coil resistance value and the supply voltage threshold of the relay coil, the method further includes: Through multiple pre-tests, the coil resistance value of the relay at different ambient temperatures is obtained, and the supply voltage threshold required for the contact of the relay to be closed at different coil resistance values is obtained; The corresponding relationship is determined based on the coil resistance values of the relay at different ambient temperatures and the supply voltage thresholds required for the contacts of the relay to be closed at the different coil resistance values.
8. A battery management unit, characterized in that: The battery management unit comprises a coil resistance detection circuit, a drive circuit and a controller, and the controller is used to execute the relay coil power supply method according to any one of claims 1 to 7; The coil resistance detection circuit is electrically connected to the coil of the relay and is configured to measure a target coil resistance value of the relay at a current ambient temperature and transmit the target coil resistance value to the controller; The drive circuit is electrically connected to the coil of the relay, and is configured to supply power to the coil of the relay under the control of the controller so as to close the contacts of the relay.
9. The battery management unit according to claim 8, characterized in that: The coil resistance detection circuit includes: a first resistor, a second resistor, an operational amplifier and an analog-to-digital converter; The first resistor is arranged between a reference voltage terminal and a target node, the target node is electrically connected to one end of a coil of the relay, and the other end of the coil of the relay is grounded; The second resistor is arranged between the positive input terminal of the operational amplifier and the target node; The negative input terminal of the operational amplifier is electrically connected to its output terminal, and the output terminal of the operational amplifier is electrically connected to the input terminal of the analog-to-digital converter; The output end of the analog-to-digital converter is electrically connected to the controller.
10. A battery management system, characterized in that: The battery management system comprises the battery management unit as claimed in claim 8 or 9.
11. A relay coil power supply device, characterized in that: The device comprises: A first acquisition module is used to acquire a target coil resistance value of a relay at a current ambient temperature, wherein the contacts of the relay are arranged in a high-voltage circuit; A first determination module, configured to determine a target supply voltage threshold corresponding to the target coil resistance value based on the target coil resistance value and a corresponding relationship between the coil resistance value and the supply voltage threshold of the relay coil; A first detection module, used for detecting an actual power supply voltage provided by a drive circuit connected to the relay, and comparing the actual power supply voltage with the target power supply voltage threshold to obtain a voltage comparison result; The first control module is used to control the drive circuit to supply power to the coil of the relay so that the contacts of the relay are attracted when the voltage comparison result meets the preset power supply condition.
12. A relay coil power supply device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the relay coil power supply method according to any one of claims 1 to 7 is implemented.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the relay coil power supply method according to any one of claims 1 to 7 is implemented.
14. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the relay coil power supply method as described in any one of claims 1-7.
15. A vehicle, characterized in that: The vehicle comprises at least one of the following: a battery management unit as claimed in claim 8 or 9; a battery management system as claimed in claim 10; a relay coil power supply device as claimed in claim 11; a relay coil power supply device as claimed in claim 12; The computer readable storage medium of claim 13; the computer program product of claim 14.