Output current determination method and device, equipment and storage medium

By calculating the output heat and integral step length of the motor, the output current of the motor is accurately determined, which solves the problem of inaccurate current calculation under motor temperature changes and overload calculation, and realizes accurate current monitoring and overload detection.

CN119050958APending Publication Date: 2024-11-29CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411153213.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The prior art is difficult to accurately determine the output current of the motor, especially in the case of motor temperature changes and overloads, resulting in inaccurate current calculations.

Method used

By obtaining the temperature and output current of the motor, calculating the output heat, and determining the output current for the next time period based on the output heat, the calculation is performed using the integral step length and the rated current formula to ensure the accuracy of the current change.

Benefits of technology

When the motor temperature is greater than the preset threshold and overload, accurately determine the output current to avoid calculation inaccurate problems caused by excessive current changes, and detect overload in a timely manner to prevent abnormal motor operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119050958A_ABST
    Figure CN119050958A_ABST
Patent Text Reader

Abstract

The invention relates to an output current determination method and device, equipment and a storage medium, and relates to the technical field of hybrid power. The method comprises the following steps: acquiring the temperature and the first output current of the motor in the current time period; when the temperature of the motor is greater than a preset threshold value and the motor is overloaded, determining the output heat of the motor according to the first output current; and determining the output current of the motor in the next time period of the current time period according to the output heat of the motor. Therefore, when the temperature of the motor is greater than the preset threshold value and the motor is overloaded, the output heat of the current time period can be determined, and the influence on the motor can be judged according to the output heat, so that the output current of the next time period can be accurately determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of hybrid power technology, and in particular to a method, device, equipment and storage medium for determining an output current. Background Art

[0002] With the proposal of the "dual carbon" strategic goal, green, environmentally friendly and low-carbon lifestyles have become popular. New energy vehicles are also experiencing rapid development, and more and more hybrid vehicles are entering the public eye. As one of the important power output components of the hybrid system, the motor plays a very important role. Motor protection is one of the important key technologies in the motor software development process, which is directly related to the durability and reliability of the motor.

[0003] At present, the protection of motors is mainly determined by judging the magnitude of the current to determine whether to limit the output current. However, the current of the motor changes continuously during operation, so how to accurately determine the output current of the motor is a problem to be solved. Summary of the invention

[0004] The present application provides a method, device, equipment and storage medium for determining an output current, so as to at least solve the technical problem of how to accurately determine the output current of a motor in the related art. The technical solution of the present application is as follows:

[0005] According to the first aspect of the present application, a method for determining an output current is provided, the method comprising: obtaining the temperature of the motor and a first output current in a current time period; when the temperature of the motor is greater than a preset threshold and the motor is overloaded, determining the output heat of the motor according to the first output current; and determining the output current of the motor in the next time period of the current time period according to the output heat of the motor.

[0006] According to the above technical means, the present application can obtain the temperature of the motor and the first output current of the current time period; when the temperature of the motor is greater than the preset threshold and the motor is overloaded, the output heat of the motor is determined according to the first output current, and the output current of the motor in the next time period of the current time period is determined according to the output heat of the motor. Thus, when the temperature of the motor is greater than the preset threshold and the motor is overloaded, the output heat of the current time period can be determined, and the impact on the motor can be judged according to the output heat, so as to accurately determine the output current of the next time period.

[0007] In a possible implementation, the above-mentioned "determining the output heat of the motor based on the first output current" method includes: determining the integral step corresponding to the first output current; determining the output heat of the motor based on the integral step, the first output current and the rated current of the motor.

[0008] According to the above technical means, the present application can determine the integral step corresponding to the first output current, and determine the output heat of the motor according to the integral step, the first output current and the rated current of the motor. Thus, the integral step corresponding to the first output current in the current time period can be determined, and the output heat of the motor can be determined by the integral step, the first output current and the rated current of the motor, thereby avoiding the problem of inaccurate calculation caused by too fast current change.

[0009] In a possible implementation manner, the above-mentioned output heat needs to satisfy a first preset formula, which is: Where, Value represents the output heat, a represents the start time of the current time period, b represents the end time of the current time period, and I current Represents the first output current, I nom Represents the rated current of the motor, and step represents the integration step size.

[0010] According to the above technical means, the present application can accurately calculate the output heat in the current time period through the first preset formula.

[0011] In one possible implementation, the above-mentioned method of "determining the integral step corresponding to the first output current" includes: determining the over-temperature duration corresponding to the first output current; the over-temperature duration is the time it takes for the temperature of the motor to reach a preset temperature when the motor continuously outputs the first output current; determining the integral step based on the over-temperature duration, the maximum output current of the motor, the rated current of the motor and the first output current.

[0012] According to the above technical means, the present application can accurately determine the integral step corresponding to the first output current in the current time period through the over-temperature duration corresponding to the first output current, the maximum output current of the motor, the rated current of the motor and the first output current.

[0013] In a possible implementation manner, the above integration step satisfies a second preset formula, which is: Among them, step represents the integration step length; I max Indicates the maximum output current of the motor; I current Represents the first output current; I nom Indicates the rated current of the motor; t hold Indicates the over-temperature duration; t max-hold Indicates the over-temperature duration corresponding to the maximum output current of the motor.

[0014] According to the above technical means, the present application can accurately determine the integral step size corresponding to the first output current of the motor through a second preset formula.

[0015] In a possible implementation, the method further includes: when the output heat is less than or equal to a first preset threshold, determining that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor; when the output heat is greater than the first preset threshold and less than or equal to a second preset threshold, determining that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor; the second preset threshold is greater than the first preset threshold; when the output heat is greater than the second preset threshold, determining that the motor is faulty.

[0016] According to the above technical means, the present application can determine that the maximum value of the output current is equal to the maximum output current of the motor when the output heat is less than or equal to the first preset threshold; determine that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor when the output heat is greater than the first preset threshold and less than or equal to the second preset threshold; determine that the motor is faulty when the output heat is greater than the second preset threshold. Thus, the maximum value of the output current of the motor can be limited to avoid excessive current of the motor, thereby causing safety problems.

[0017] In a possible implementation, the above-mentioned overload includes current overload and thermal overload. Current overload indicates that the actual current of the motor is greater than the rated current; thermal overload indicates that the output heat of the motor within a preset time period is greater than a first preset threshold.

[0018] According to the above technical means, the present application can determine that the motor is overloaded when the actual current is greater than the rated current. It can also determine that the motor is overloaded when the heat output of the motor within a preset time is greater than a first preset threshold. In this way, overload can be detected in time to avoid abnormal operation of the motor due to overload.

[0019] According to a second aspect provided by the present application, a device for determining an output current is provided, comprising an acquisition unit for acquiring the temperature of the motor and a first output current in a current time period; a determination unit for determining the output heat of the motor according to the first output current when the temperature of the motor is greater than a preset threshold and the motor is overloaded; the determination unit is also for determining the output current of the motor in a next time period of the current time period according to the output heat of the motor.

[0020] In a possible implementation manner, the determination unit is specifically used to determine an integral step corresponding to the first output current; and determine the output heat of the motor according to the integral step, the first output current and the rated current of the motor.

[0021] In a possible implementation manner, the determination unit is further used to determine the output heat, and the output heat needs to satisfy a first preset formula, which is: Where, Value represents the output heat, a represents the start time of the current time period, b represents the end time of the current time period, and I current Represents the first output current, I nom Represents the rated current of the motor, and step represents the integration step size.

[0022] In a possible implementation, the above-mentioned determination unit is also specifically used to determine the over-temperature time corresponding to the first output current; the over-temperature time is the time it takes for the temperature of the motor to reach a preset temperature when the motor continuously outputs the first output current; the integral step is determined based on the over-temperature time, the maximum output current of the motor, the rated current of the motor and the first output current.

[0023] In a possible implementation manner, the determination unit is further configured to determine an integral step length, and the integral step length satisfies a second preset formula, which is: Among them, step represents the integration step length; I max Indicates the maximum output current of the motor; I current Represents the first output current; I nom Indicates the rated current of the motor; t hold Indicates the over-temperature duration; t max-hold Indicates the over-temperature duration corresponding to the maximum output current of the motor.

[0024] In a possible implementation, the above-mentioned determination unit is also specifically used to determine that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor when the output heat is less than or equal to the first preset threshold value; determine that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor when the output heat is greater than the first preset threshold value and less than or equal to the second preset threshold value; the second preset threshold value is greater than the first preset threshold value; and determine that the motor is faulty when the output heat is greater than the second preset threshold value.

[0025] In a possible implementation, the above-mentioned determination unit is also specifically used to determine whether there is an overload, where the overload includes current overload and thermal overload. Current overload indicates that the actual current of the motor is greater than the rated current; thermal overload indicates that the output heat of the motor within a preset time period is greater than a first preset threshold.

[0026] According to the third aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0027] According to a fourth aspect provided by the present application, a vehicle is provided, comprising the electronic device provided by the third aspect above.

[0028] According to the fifth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.

[0029] According to the sixth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0030] Therefore, the above technical features of the present application have the following beneficial effects:

[0031] (1) The temperature of the motor and the first output current in the current time period can be obtained; when the temperature of the motor is greater than a preset threshold and the motor is overloaded, the output heat of the motor is determined according to the first output current, and the output current of the motor in the next time period of the current time period is determined according to the output heat of the motor. Thus, when the temperature of the motor is greater than a preset threshold and the motor is overloaded, the output heat of the current time period can be determined, and the impact on the motor can be judged according to the output heat, so as to accurately determine the output current in the next time period.

[0032] (2) The integral step corresponding to the first output current can be determined, and the output heat of the motor can be determined based on the integral step, the first output current, and the rated current of the motor. Thus, the integral step corresponding to the first output current in the current time period can be determined, and the output heat of the motor can be determined based on the integral step, the first output current, and the rated current of the motor, thereby avoiding inaccurate calculation problems caused by too fast current changes.

[0033] (3) The output heat in the current time period can be accurately calculated using the first preset formula.

[0034] (4) The integral step corresponding to the first output current in the current time period can be accurately determined by the over-temperature duration corresponding to the first output current, the maximum output current of the motor, the rated current of the motor and the first output current.

[0035] (5) The integration step corresponding to the first output current of the motor can be accurately determined by the second preset formula.

[0036] (6) When the output heat is less than or equal to the first preset threshold, it can be determined that the maximum value of the output current is equal to the maximum output current of the motor; when the output heat is greater than the first preset threshold and less than or equal to the second preset threshold, it can be determined that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor; when the output heat is greater than the second preset threshold, it is determined that the motor is faulty. In this way, by limiting the maximum value of the output current of the motor, it is possible to avoid excessive current of the motor, thereby avoiding safety problems.

[0037] (7) When the actual current of the motor is greater than the rated current, it can be determined as current overload. When the heat output of the motor within a preset time is greater than a first preset threshold, it can be determined as thermal overload. In this way, overload can be detected in time to avoid abnormal operation of the motor due to overload.

[0038] It should be noted that the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0039] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0041] Figure 1 is a schematic diagram of a framework of a system for determining an output current according to an exemplary embodiment;

[0042] Figure 2 is a flow chart showing a method for determining an output current according to an exemplary embodiment;

[0043] Figure 3 is an exemplary diagram showing a method for determining an output current according to an exemplary embodiment;

[0044] Figure 4 is a flow chart showing another method for determining an output current according to an exemplary embodiment;

[0045] Figure 5 is a block diagram of a device for determining an output current according to an exemplary embodiment;

[0046] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0047] In order to make ordinary people in the field better understand the technical solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the present application.

[0048] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0049] Generally, the main schemes for motor controller protection in the prior art are as follows.

[0050] A motor overload protection method, a motor controller, a vehicle and a storage medium. The method includes: collecting the current effective value of the motor phase current; integrating the current effective value of the phase current over time to obtain a first integral value; obtaining a first threshold value; performing overload detection according to the first threshold value and the first integral value; if there is an overload, determining the target limiting current of the motor operation, and controlling the motor operation based on the target limiting current. The method can avoid damage to components caused by overload, increase the service life of the motor controller, prevent false triggering of overload protection, provide current to maintain normal rotation of the motor, and enable the vehicle to operate normally to ensure driving safety.

[0051] However, the above scheme only considers the integral of current over time. As long as the first integral value meets the threshold condition, the current capacity is limited. The influence of the actual electronic control temperature on the current integral protection function is not considered. For example, in a low temperature environment, the actual electronic control temperature is not high, but the current integral protection function will be triggered. Frequent triggering of the protection function affects the motor power torque output and brings a bad driving experience to the whole vehicle.

[0052] At present, the protection of the motor is mainly determined by judging the magnitude of the current to determine whether to limit the output current. However, the current of the motor changes continuously during operation, so how to accurately determine the output current of the motor is a problem to be solved.

[0053] In order to solve the problem of how to accurately determine the output current of a motor in the prior art, the present application provides a method for determining the output current. The method includes: obtaining the temperature of the motor and the first output current in the current time period; when the temperature of the motor is greater than a preset threshold and the motor is overloaded, determining the output heat of the motor according to the first output current; and determining the output current of the motor in the next time period of the current time period according to the output heat of the motor.

[0054] For ease of understanding, a method for determining an output current provided by the present application is specifically introduced below with reference to the accompanying drawings.

[0055] Figure 1 is a schematic diagram of a framework of a system for determining an output current according to an exemplary embodiment. Figure 1 As shown, applied to a vehicle, the output current determination system 100 includes a motor controller 101 , a motor 102 and a power battery 103 .

[0056] The motor controller 101 is used to convert the electric energy stored in the power battery 103 into the electric energy required to drive the motor 102 according to the instructions such as the gear position, throttle, brake, etc.

[0057] In the embodiment of the present application, the motor controller 101 includes multiple components. For example, the components may include a main control board, a drive board, a core package, a filter assembly, a busbar, a DC busbar, an AC busbar, a filter capacitor at the DC busbar, and the like.

[0058] The motor 102 is used to convert electrical energy into mechanical energy to control the starting, speed, climbing strength and other driving conditions of the electric vehicle. A temperature sensor is configured on the motor to detect the actual temperature of the motor.

[0059] The power battery 103 is used to receive and store electric energy provided by an on-board charger, a generator, a braking energy recovery device or an external charging device, and to provide electric energy for the electric vehicle.

[0060] In the embodiment of the present application, a first end of the motor controller 101 is connected to the power battery 103 , and a second end is connected to the motor 102 .

[0061] The execution subject in the embodiment of the present application may be a motor controller, and the embodiment is described in detail below.

[0062] like Figure 2 As shown, a flowchart of a method for determining an output current provided in an embodiment of the present application includes the following S201-S203.

[0063] S201 . A motor controller obtains a temperature and a first output current of a motor in a current time period.

[0064] In a possible implementation, the motor controller may obtain the temperature of the motor in the current time period through a temperature sensor, and obtain the first output current of the motor in the current time period through an ammeter.

[0065] S202: When the temperature of the motor is greater than a preset threshold and the motor is overloaded, the motor controller determines the output heat of the motor according to the first output current.

[0066] Wherein, overload includes current overload and thermal overload. Current overload means that the actual current of the motor is greater than the rated current of the motor. Thermal overload means that the output heat of the motor within a preset time is greater than a first preset threshold.

[0067] In a possible implementation, when the temperature of the motor is greater than a preset threshold and the motor is overloaded, the motor controller determines the integral step corresponding to the first output current, and determines the output heat of the motor based on the integral step, the first output current and the rated current of the motor.

[0068] In the embodiment of the present application, the output heat may be obtained by integrating the product of the difference between the square of the first output current and the square of the rated current and the integration step length. The output heat must satisfy Formula 1:

[0069]

[0070] Where, Value represents the output heat, a represents the start time of the current time period, b represents the end time of the current time period, and I current Represents the first output current, I nom Represents the rated current of the motor, and step represents the integration step size.

[0071] In an embodiment of the present application, the method for determining the integral step may include: a motor controller determines the over-temperature duration corresponding to the first output current; and determines the integral step according to the over-temperature duration, the maximum output current of the motor, the rated current of the motor, and the first output current.

[0072] It should be noted that the over-temperature duration in the embodiment of the present application refers to the time it takes for the temperature of the motor to reach a preset temperature when the motor continuously outputs the first output current.

[0073] In the embodiment of the present application, the integral step size needs to satisfy Formula 2:

[0074]

[0075] Where, Value represents the output heat, a represents the start time of the current time period, b represents the end time of the current time period, and I current Represents the first output current, I nom represents the rated current of the motor, step represents the integration step; t max-hold Indicates the over-temperature duration corresponding to the maximum output current of the motor.

[0076] The embodiment of the present application does not limit the storage format of the integral step length corresponding to the first output current, and can be stored in the form of text or in the form of a table. For example, Table 1 is a storage method in the form of a table.

[0077] Table 1 is a corresponding relationship table of the first output current and the integration step length.

[0078] Table 1

[0079] First output current / A Over temperature duration / s Integration threshold Integration step <![CDATA[I1]]> <![CDATA[T1]]> <![CDATA[K1]]> <![CDATA[Step1]]> … … … … <![CDATA[I n ]]> <![CDATA[T n ]]> <![CDATA[K n ]]> <![CDATA[Step n ]]> <![CDATA[I max ]]> <![CDATA[T max ]]> <![CDATA[K max ]]> <![CDATA[Step max ]]>

[0080] As shown in Table 1, each first output current corresponds to a different integration step size. max is the maximum output current of the motor, and the integral step length Step corresponding to the maximum output current max is 1, K max is the integration threshold corresponding to the maximum output current.

[0081] Among them, the integral threshold must satisfy Formula 3:

[0082]

[0083] Where K represents the integral threshold; I current Represents the first output current, I nom Indicates the rated current of the motor; t hold Indicates the over-temperature duration.

[0084] For example, when the first output current is I1, the corresponding integration step is Step1=K max / K1. When the first output current is I3, the corresponding integration step is Step1 = K max / K3.

[0085] In the embodiment of the present application, the corresponding relationship between the first output current and the integration step may be a linear relationship, that is, I=k*step+b.

[0086] S203: The motor controller determines the output current of the motor in the next time period of the current time period according to the output heat of the motor.

[0087] In a possible implementation, the motor controller obtains the output heat in the current time period through steps S201 and S202, and determines the output current of the motor in the next time period according to the output heat in the current time period.

[0088] In an embodiment of the present application, when the output heat is less than or equal to the first preset threshold, the motor controller determines that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor. When the output heat is greater than the first preset threshold and less than or equal to the second preset threshold, the maximum value of the output current of the motor is determined to be greater than the rated current of the motor and less than the maximum output current of the motor. The second preset threshold is greater than the first preset threshold. When the output heat is greater than the second preset threshold, it is determined that the motor is faulty.

[0089] In an embodiment of the present application, the first preset threshold value may be an integral threshold value corresponding to the maximum output current. The second preset threshold value may be adjusted according to actual conditions. If the temperature of the motor exceeds the preset threshold value during the process of the output current of the motor decreasing from the maximum output current to the rated current, the second preset threshold value is lowered. On the contrary, if the temperature of the motor does not exceed the preset threshold value and the difference with the preset threshold value is greater than a fixed value, the second preset threshold value is increased.

[0090] For example, Figure 3 As shown, in the time period 0-t0, the output heat is less than or equal to the first preset threshold, and the motor controller determines that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor. In the time period t0-t2, the output heat is greater than the first preset threshold and less than or equal to the second preset threshold, and the maximum value of the output current of the motor in the next time period is determined as follows Figure 3 As shown in the curve trend.

[0091] Figure 3 The derating mark in indicates that the output heat is greater than the first preset threshold and less than or equal to the second preset threshold.

[0092] Through the above technical solution, the present application can obtain the temperature of the motor and the first output current of the current time period; when the temperature of the motor is greater than the preset threshold and the motor is overloaded, the output heat of the motor is determined according to the first output current, and the output current of the motor in the next time period of the current time period is determined according to the output heat of the motor. Thus, when the temperature of the motor is greater than the preset threshold and the motor is overloaded, the output heat of the current time period can be determined, and the impact on the motor can be judged according to the output heat, so as to accurately determine the output current of the next time period.

[0093] like Figure 4As shown, a flowchart of another method for determining an output current provided in an embodiment of the present application includes the following 401-S404.

[0094] S401. A motor controller determines temperature rise data of multiple breakpoint currents.

[0095] The breakpoint current is greater than the rated current of the motor and less than the maximum output current of the motor. The breakpoint current is a plurality of current values ​​selected between the rated current and the maximum output current.

[0096] In the embodiment of the present application, the motor controller determines the temperature rise data of multiple breakpoint currents through a temperature rise test. The motor controller runs the motor at the rated current to a thermal equilibrium state. After reaching thermal equilibrium, the motor is run at the breakpoint current to obtain the temperature change of the motor.

[0097] S402: When the temperature of the motor is greater than a preset threshold, the motor controller obtains the output current of the motor.

[0098] In the embodiment of the present application, the motor controller turns on the current integration function to obtain the output current of the motor when the temperature of the motor exceeds a preset threshold, and turns off the current integration function when the temperature is less than the preset threshold.

[0099] S403: The motor controller integrates the output current of the motor to determine the current integral value of the motor.

[0100] In the embodiment of the present application, the motor controller integrates the output current through the above formula 1 to determine the current integral value of the motor. The current integral value can also be called output heat. For details, please refer to the content in the above S202, which will not be repeated here.

[0101] S404: The motor controller determines the output current of the motor in the next time period according to the current integral value.

[0102] For details, please refer to the content in S203 above, which will not be repeated here.

[0103] Through the above technical solution, the present application can determine the temperature rise data of multiple breakpoint currents, and obtain the output current of the motor when the temperature of the motor is greater than the preset threshold. The output current of the motor is integrated to determine the current integral value of the motor, and the output current of the motor in the next time period is determined according to the current integral value. Therefore, the output current in the next time period can be accurately determined by the current integral value.

[0104] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the output current determination device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0105] The embodiment of the present application can divide the functional modules of the output current determination device or electronic device according to the above method. For example, the output current determination device or electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0106] Figure 5 is a block diagram of a device for determining an output current according to an exemplary embodiment. Figure 5 The output current determination device 500 includes: an acquisition unit 501 and a determination unit 502 .

[0107] The acquisition unit 501 is used to acquire the temperature and the first output current of the motor in the current time period.

[0108] The determination unit 502 is configured to determine the output heat of the motor according to the first output current when the temperature of the motor is greater than a preset threshold and the motor is overloaded.

[0109] The determination unit 502 is further configured to determine the output current of the motor in the next time period of the current time period according to the output heat of the motor.

[0110] In a possible implementation, the determination unit 502 is specifically configured to determine an integral step corresponding to the first output current; and determine the output heat of the motor according to the integral step, the first output current, and the rated current of the motor.

[0111] In a possible implementation, the determination unit 502 is further configured to determine the output heat, and the output heat needs to satisfy a first preset formula, which is: Where, Value represents the output heat, a represents the start time of the current time period, b represents the end time of the current time period, and I current Represents the first output current, I nom Represents the rated current of the motor, and step represents the integration step size.

[0112] In a possible implementation, the determination unit 502 is also specifically used to determine the over-temperature time corresponding to the first output current; the over-temperature time is the time it takes for the temperature of the motor to reach a preset temperature when the motor continuously outputs the first output current; the integral step is determined based on the over-temperature time, the maximum output current of the motor, the rated current of the motor and the first output current.

[0113] In a possible implementation, the determination unit 502 is further configured to determine an integration step length, and the integration step length satisfies a second preset formula, which is: Among them, step represents the integration step length; I max Indicates the maximum output current of the motor; I current Represents the first output current; I nom Indicates the rated current of the motor; t hold Indicates the over-temperature duration; t max-hold Indicates the over-temperature duration corresponding to the maximum output current of the motor.

[0114] In a possible implementation, the determination unit 502 is also specifically used to determine that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor when the output heat is less than or equal to a first preset threshold value; to determine that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor when the output heat is greater than the first preset threshold value and less than or equal to a second preset threshold value; the second preset threshold value is greater than the first preset threshold value; and to determine that the motor is faulty when the output heat is greater than the second preset threshold value.

[0115] In a possible implementation, the determination unit 502 is further specifically used to determine whether there is an overload, where the overload includes current overload and thermal overload. Current overload indicates that the actual current of the motor is greater than the rated current; thermal overload indicates that the output heat of the motor within a preset time period is greater than a first preset threshold.

[0116] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0117] Figure 6 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 6As shown, the electronic device 600 includes but is not limited to: a processor 601 and a memory 602 .

[0118] The memory 602 is used to store executable instructions of the processor 601. It can be understood that the processor 601 is configured to execute instructions to implement a method for determining an output current in the above embodiment.

[0119] It should be noted that those skilled in the art can understand that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Figure 6 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0120] The processor 601 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 601 may include one or more processing units. Optionally, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0121] The memory 602 may be used to store software programs and various data. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0122] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 602 including instructions, and the above instructions can be executed by a processor 601 of an electronic device 600 to implement the method in the above embodiment.

[0123] In actual implementation, Figure 5 The functions of the acquisition unit 501 and the determination unit 502 in Figure 6 The processor 601 in the embodiment calls the computer program stored in the memory 602. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.

[0124] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0125] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 601 of the electronic device to complete the method in the above embodiment.

[0126] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.

[0127] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0128] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.

[0132] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining an output current, characterized in that: Applied to a motor controller, the method comprises: Acquire the temperature and the first output current of the motor in the current time period; When the temperature of the motor is greater than a preset threshold and the motor is overloaded, determining the output heat of the motor according to the first output current; The output current of the motor in a next time period of the current time period is determined according to the output heat of the motor.

2. The method according to claim 1, characterized in that: The step of determining the output heat of the motor according to the first output current comprises: determining an integration step size corresponding to the first output current; The output heat of the motor is determined according to the integration step size, the first output current, and the rated current of the motor.

3. The method according to claim 2, characterized in that The output heat needs to satisfy a first preset formula, which is: Wherein, Value represents the output heat, a represents the starting time of the current time period, b represents the ending time of the current time period, and I current represents the first output current, I nom represents the rated current of the motor, and step represents the integration step.

4. The method according to claim 2, characterized in that: The determining the integration step corresponding to the first output current includes: Determine an over-temperature duration corresponding to the first output current; the over-temperature duration is the duration for the temperature of the motor to reach a preset temperature when the motor continuously outputs the first output current; The integration step size is determined according to the over-temperature duration, the maximum output current of the motor, the rated current of the motor, and the first output current.

5. The method according to claim 4, characterized in that The integration step size satisfies a second preset formula, which is: Wherein, step represents the integration step length; max Represents the maximum output current of the motor; I current represents the first output current; I nom represents the rated current of the motor; t hold Indicates the over-temperature duration; t max-hold Indicates the over-temperature duration corresponding to the maximum output current of the motor.

6. The method according to any one of claims 1 to 5, characterized in that When the output heat is less than or equal to a first preset threshold, determining that the maximum value of the output current of the motor in the next time period is equal to the maximum output current of the motor; When the output heat is greater than the first preset threshold and less than or equal to the second preset threshold, determining that the maximum value of the output current of the motor is greater than the rated current of the motor and less than the maximum output current of the motor; The second preset threshold is greater than the first preset threshold; When the output heat is greater than the second preset threshold, it is determined that the motor fails.

7. The method according to claim 1, characterized in that The overload includes current overload and thermal overload. The current overload indicates that the actual current of the motor is greater than the rated current; the thermal overload indicates that the output heat of the motor within a preset time period is greater than a first preset threshold.

8. A device for determining an output current, characterized in that: The device comprises: An acquisition unit, used for acquiring the temperature and the first output current of the motor in a current time period; a determining unit, configured to determine an output heat of the motor according to the first output current when the temperature of the motor is greater than a preset threshold and the motor is overloaded; The determination unit is further used to determine the output current of the motor in the next time period of the current time period according to the output heat of the motor.

9. An electronic device, characterized in that: Including memory and processor: The memory is coupled to the processor; The memory is used to store computer program code, wherein the computer program code includes computer instructions; When the processor executes the computer instructions, the electronic device performs the method as claimed in any one of claims 1 to 7.

10. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 9.

11. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 7.

12. A computer program product, characterized in that The computer program product includes computer instructions; when part or all of the computer instructions are executed on a computer, the method according to any one of claims 1 to 7 is performed.