A control method and system for heat generation of a vehicle motor
By controlling the heating current vector of the motor winding to swing 180° or 360° in the stator coordinate system, the problem of uneven heating of the motor winding is solved, achieving efficient and balanced heating of the motor winding and improving the heat generation capacity of the motor in low-temperature environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GAC AION NEW ENERGY AUTOMOBILE CO LTD
- Filing Date
- 2022-11-25
- Publication Date
- 2026-07-10
Smart Images

Figure CN115833707B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electrical equipment technology, and more specifically, to a control method, system, electronic device, and computer-readable storage medium for heat generation by a vehicle motor. Background Technology
[0002] Currently, in low-temperature environments, electric vehicles primarily generate heat through thermistor (PTC) heating, motor winding heating, and a combination of both. Motor winding heating offers the advantage of lower cost compared to PTC heating. When charging a vehicle in low temperatures, the battery needs to be heated to increase charging power and accelerate the charging speed. Therefore, improving the heating power of the motor windings when the vehicle is stationary is of great significance.
[0003] In existing technologies, the heating power of motor windings is relatively low when the motor is not rotating. Most pure electric vehicle electric drive systems use permanent magnet synchronous motors. To prevent the permanent magnet synchronous motor from outputting torque while generating heat in a stationary state, the traditional winding heating solution involves the inverter outputting a constant current to the motor. This current corresponds to a constant direct-axis current in the motor's rotor coordinate system, aiming to prevent the motor from generating torque. The problem with this method is that it leads to an imbalance in the three-phase current of the motor. As a result, one phase of the three-phase motor experiences a larger current and generates more heat, reaching its allowable temperature rise first, while the other two phases fail to reach their allowable temperature rise. This prevents the motor windings from fully utilizing their heating capacity, limiting the heating of the motor windings when the vehicle is stationary. Existing motor heat generation methods result in uneven heating of the three-phase windings, failing to fully utilize the heating capacity of the motor windings. Summary of the Invention
[0004] The purpose of this application is to provide a method, system, electronic device, and computer-readable storage medium for controlling heat generation in a vehicle motor, which can achieve the technical effect of improving the heating efficiency of the motor windings.
[0005] In a first aspect, embodiments of this application provide a method for controlling heat generation by a vehicle motor, including:
[0006] Obtain the initial rotation angle data of the motor rotor at the current moment;
[0007] Acquire preset current vector magnitude data and preset scan cycle data;
[0008] Based on the initial rotation angle data, the preset current vector magnitude data, and the preset scanning cycle data, the inverter controls the motor to generate a heating current, and the current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor.
[0009] In the above implementation process, the vehicle motor heat generation control method obtains the initial rotation angle data, preset current vector magnitude data, and preset scanning cycle data of the motor, so that the current vector of the heating current of the motor winding swings 180° or 360° in the stator coordinate system, thereby achieving three-phase balanced heating; the balanced heating of the three-phase windings in the motor stationary state allows the three-phase motor to simultaneously rise to the allowable temperature, thereby maximizing the heating power of the motor windings; therefore, the vehicle motor heat generation control method can achieve the technical effect of improving the heating efficiency of the motor windings.
[0010] Furthermore, the step of obtaining the preset current vector magnitude data and the preset scan period data includes:
[0011] The current vector magnitude data and the preset scan cycle data are obtained according to the motor heating requirements.
[0012] Further, after the step of controlling the motor to generate heating current via the inverter based on the initial rotation angle data, the preset current vector magnitude data, and the preset scan cycle data, the process includes:
[0013] The bisector of the angular swing angle of the controlled current vector is aligned with the bisector of the rotor's free rotation angle.
[0014] Further, the step of aligning the bisector of the angular swing angle of the controlled current vector with the bisector of the rotor's free rotation angle includes:
[0015] The first initialization data and the second initialization data are obtained based on the initial rotation data;
[0016] The current vector is controlled to start a counterclockwise uniform speed scan with reference to the stator coordinate system of the motor;
[0017] When the angle of the current vector reaches the first initialization data counterclockwise, the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0018] The current vector is controlled to start scanning clockwise at a constant speed with reference to the stator coordinate system of the motor;
[0019] When the angle of the current vector reaches the second initialization data clockwise, the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0020] Angle deviation data is obtained based on the first rotor angle data and the second rotor angle data;
[0021] Based on the angle deviation data, obtain the target angle data of the current vector in the stator coordinate system for the next cycle;
[0022] Based on the target angle data, the bisector of the current vector's angular swing angle and the bisector of the rotor's free rotation angle are aligned.
[0023] Furthermore, in the step of obtaining the angle deviation data based on the first rotor angle data and the second rotor angle data, the calculation formula is as follows:
[0024] Δθ c =(Δθ) ccw +Δθ cw )×0.5;
[0025] Where, Δθ c For the angle deviation data, Δθ ccw The first rotor angle data, Δθ cw This refers to the rotation angle data of the second rotor.
[0026] Furthermore, in the step of obtaining the target angle data of the current vector in the stator coordinate system for the next cycle based on the angle deviation data, the calculation formula is as follows:
[0027] θ ccw '=θ cw +180°-Δθ c ×A;
[0028] θ cw '=θ ccw -180°;
[0029] Where, θ ccw ' is the first limit value of the target angle data, θ cw ' is the second limit value of the target angle data, θ ccw For the first stator rotation angle data, θ cw Here is the second stator rotation angle data, and A is a preset coefficient.
[0030] Furthermore, before the step of obtaining the initial rotation angle data of the motor rotor at the current moment, the method further includes:
[0031] When heating is performed while the vehicle is parked, the EPB is controlled to activate and the vehicle's wheels are locked.
[0032] Secondly, embodiments of this application provide a control system for heat generation by a vehicle motor, comprising:
[0033] The initial rotation angle module is used to obtain the initial rotation angle data of the motor rotor at the current moment;
[0034] The motor preset module is used to acquire preset current vector magnitude data and preset scan cycle data;
[0035] The heating control module is used to control the motor to generate heating current through the inverter based on the initial rotation angle data, the preset current vector magnitude data and the preset scanning cycle data. The current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor.
[0036] Furthermore, the motor preset module is specifically used to: obtain the current vector magnitude data and the preset scan cycle data according to the motor heating requirements.
[0037] Furthermore, the control system for heat generation by the vehicle motor also includes:
[0038] The alignment module is used to align the bisector of the current vector's angular swing angle with the bisector of the rotor's free rotation angle.
[0039] Furthermore, the alignment module is specifically used for:
[0040] The first initialization data and the second initialization data are obtained based on the initial rotation data;
[0041] The current vector is controlled to start a counterclockwise uniform speed scan with reference to the stator coordinate system of the motor;
[0042] When the angle of the current vector reaches the first initialization data counterclockwise, the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0043] The current vector is controlled to start scanning clockwise at a constant speed with reference to the stator coordinate system of the motor;
[0044] When the angle of the current vector reaches the second initialization data clockwise, the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0045] Angle deviation data is obtained based on the first rotor angle data and the second rotor angle data;
[0046] Based on the angle deviation data, obtain the target angle data of the current vector in the stator coordinate system for the next cycle;
[0047] Based on the target angle data, the bisector of the current vector's angular swing angle and the bisector of the rotor's free rotation angle are aligned.
[0048] Furthermore, the control system for heat generation by the vehicle motor also includes:
[0049] The wheel locking module is used to control the EPB action and lock the vehicle's wheels when the vehicle is parked and heating is in progress.
[0050] Thirdly, an electronic device provided in this application includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as described in any of the first aspects.
[0051] Fourthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in any of the first aspects.
[0052] Fifthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method described in any of the first aspects.
[0053] Other features and advantages disclosed in this application will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the above-described technology disclosed in this application.
[0054] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0055] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0056] Figure 1 A flowchart illustrating a method for controlling heat generation by a vehicle motor, provided in an embodiment of this application;
[0057] Figure 2 A schematic diagram of the current vector scanning in the stator coordinate system provided in the embodiments of this application;
[0058] Figure 3 A waveform diagram of the current vector provided in the embodiments of this application;
[0059] Figure 4 A flowchart illustrating another method for controlling heat generation by a vehicle motor, provided in an embodiment of this application;
[0060] Figure 5 A schematic diagram illustrating the free rotation range of the current scanning angle alignment provided in an embodiment of this application;
[0061] Figure 6 A schematic diagram illustrating the changes in motor rotation angle and torque during the oscillation process provided in an embodiment of this application;
[0062] Figure 7 This is a schematic diagram of current vector control provided in an embodiment of this application;
[0063] Figure 8 This is a structural block diagram of a vehicle motor heat generation control system provided in an embodiment of this application;
[0064] Figure 9 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0065] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0066] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0067] This application provides a method, system, electronic device, and computer-readable storage medium for controlling heat generation in a vehicle motor, which can be applied to the motor heating control process of electric vehicles. The method acquires the initial rotation angle data, preset current vector magnitude data, and preset scanning cycle data of the motor, causing the current vector of the motor winding heating current to oscillate 180° or 360° in the stator coordinate system, thereby achieving balanced three-phase heating. This balanced heating of the three-phase windings in a stationary motor state allows the three-phase motor to simultaneously rise to the allowable temperature, maximizing the heating power of the motor windings. Therefore, this method for controlling heat generation in a vehicle motor can achieve the technical effect of improving the heating efficiency of the motor windings.
[0068] Please see Figure 1 , Figure 1 This is a flowchart illustrating a method for controlling heat generation by a vehicle motor, as provided in an embodiment of this application. Figure 2 This is a schematic diagram of the current vector scanning in the stator coordinate system provided in an embodiment of this application. Figure 2 The waveform diagram of the current vector provided in the embodiment of this application; the control method for heat generation of the vehicle motor includes the following steps:
[0069] S100: Obtain the initial rotation angle data of the motor rotor at the current moment.
[0070] For example, the initial rotation angle data is the motor rotor rotation angle at the current moment.
[0071] S200: Acquire preset current vector magnitude data and preset scan cycle data.
[0072] For example, by presetting the current vector magnitude data and the presetting scan cycle data, the magnitude of the current vector and the scan cycle can be preset according to the heating requirements.
[0073] S300: Based on the initial rotation angle data, preset current vector magnitude data, and preset scanning cycle data, the inverter controls the motor to generate heating current. The current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor.
[0074] For example, the current vector (Is) of the motor winding heating current is allowed to oscillate 180° or 360° in the stator coordinate system, thereby achieving balanced three-phase heating; such as Figure 2 and Figure 3 As shown, during winding heating, if the current vector sweeps back and forth at a constant speed of 180° in the stator coordinate system, uniform heating of the three phases of the motor can be achieved. The calculation is as follows:
[0075]
[0076]
[0077]
[0078] Where R is the internal resistance of each phase winding, T is the period of the current vector scan (preset scan period data), and θc is the angle bisector of the angular swing angle of the current vector scan range in the stator coordinate system; as can be seen from the above analysis, the heat generation of the three-phase windings is equal within one cycle. Therefore, the above method can achieve balanced heating of the three-phase windings when the motor is stationary, thereby allowing the three-phase motor to simultaneously rise to the allowable temperature and maximizing the heating power of the motor windings.
[0079] In some implementations, torque may be generated during the current vector scan, but the vehicle will not move because the wheel ends are locked by the EPB.
[0080] In some implementations, the period T of the current vector oscillation is selected according to the requirements for limiting vehicle body vibration during the scanning process and the limitation of temperature difference of three-phase windings, and can generally be selected in the range of 0.1s to 100s.
[0081] In some implementations, θc can be chosen arbitrarily without affecting the achievement of balanced three-phase heating. However, its selection will affect the torque generated by the motor during the heating process. Appropriate selection of θc can minimize the torque generated by the motor.
[0082] Please see Figure 4 , Figure 4 This is a flowchart illustrating another method for controlling heat generation by a vehicle motor, provided in an embodiment of this application.
[0083] For example, S200: the step of obtaining preset current vector magnitude data and preset scan period data includes:
[0084] S210: Obtain current vector magnitude data and preset scan cycle data according to the motor heating requirements.
[0085] For example, S300: After the step of controlling the motor to generate heating current through the inverter based on the initial rotation angle data, preset current vector magnitude data, and preset scan cycle data, the process includes:
[0086] S400: The bisector of the oscillation angle of the control current vector is aligned with the bisector of the rotor's free rotation angle.
[0087] Please see Figure 5 and Figure 6 , Figure 5 This is a schematic diagram illustrating the free rotation range aligned with the current scanning angle, as provided in an embodiment of this application. Figure 6 This is a schematic diagram illustrating the changes in motor rotation angle and torque during the oscillation process provided in an embodiment of this application.
[0088] In some implementations, when the inverter controls the motor's current vector to swing back and forth in the motor's stator coordinate system, the bisector of the swing angle range coincides with the bisector of the motor's rotor free swing angle range; and during the swing process, the current vector and the positive direction of the motor's D-axis are chosen to be at an acute angle, thereby reducing the motor torque during the heating process.
[0089] For example, when the current vector is fixed in the stator coordinate system, the rotor will rotate in the direction of the current vector, exhibiting a tendency for the rotor magnetic field and the stator magnetic field to be in the same direction and parallel; therefore, by adopting the strategy provided in the embodiments of this application, when the current vector angle is within the range of the rotor's free rotation angle... Within the specified range, the rotor will oscillate following the current vector, and the difference between the rotor angle and the current vector angle is almost zero, resulting in almost no torque. When the current vector angle exceeds the range of the rotor's free rotation angle, due to the flexibility of the transmission shaft system, although the rotor angle cannot keep up with the current vector angle, it will still try to deflect as much as possible, thereby reducing the angle difference and suppressing the generation of torque, resulting in a smaller torque.
[0090] For example, since the bisector of the current vector angle range coincides with the bisector of the rotor free rotation angle range, the maximum clockwise and maximum counterclockwise angles relative to the D-axis during the 180° oscillation of the current vector are symmetrical, thereby minimizing the absolute torque values at the two extreme angles.
[0091] For example, S400: The step of aligning the bisector of the angular swing angle of the control current vector and the bisector of the rotor's free rotation angle includes:
[0092] S410: Obtain the first initialization data and the second initialization data based on the initial rotation angle data;
[0093] S420: The control current vector starts to scan counterclockwise at a constant speed with reference to the stator coordinate system of the motor;
[0094] S430: When the angle of the current vector reaches the first initialization data counterclockwise, acquire the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system.
[0095] S440: The control current vector starts to scan clockwise at a constant speed with reference to the stator coordinate system of the motor.
[0096] S450: When the angle of the current vector reaches the second initialization data clockwise, acquire the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system;
[0097] S460: Obtain angle deviation data based on the first rotor angle data and the second rotor angle data;
[0098] S470: Obtain the target angle data of the next cycle current vector in the stator coordinate system based on the angle deviation data;
[0099] S480: Align the bisector of the oscillation angle of the control current vector with the bisector of the rotor's free rotation angle based on the target angle data.
[0100] For example, in the step of obtaining the angle deviation data based on the first rotor angle data and the second rotor angle data, the calculation formula is as follows:
[0101] Δθ c =(Δθ) ccw +Δθ cw )×0.5;
[0102] Where, Δθ c For angular deviation data, Δθ ccw The first rotor angle data, Δθ cw This is the rotation angle data for the second rotor.
[0103] For example, in the step of obtaining the target angle data of the next cycle current vector in the stator coordinate system based on the angle deviation data, the calculation formula is as follows:
[0104] θ ccw '=θ cw +180°-Δθ c ×A;
[0105] θ cw '=θ ccw -180°;
[0106] Where, θ ccw ' represents the first limit of the target angle data, θ cw ' is the second limit value for the target angle data, θ ccw For the first stator rotation angle data, θ cw This is the second stator rotation angle data, where A is a preset coefficient.
[0107] For example, before step S100: obtaining the initial rotation angle data of the motor rotor at the current moment, the method further includes:
[0108] S101: When heating is performed while the vehicle is parked, control the EPB action and lock the vehicle's wheels.
[0109] Please see Figure 7 , Figure 7 A schematic diagram of current vector control provided in an embodiment of this application.
[0110] For example, combined Figures 1 to 7 This application provides a control method for dynamically aligning the angle bisector of the current vector with the angle bisector of the rotor's free rotation range, comprising the following steps:
[0111] Step 1: If heating is required while the vehicle is parked, enable EPB to lock the wheels;
[0112] Step 2: Read the current motor rotor angle θ0 = θ e (0);
[0113] Initialize Δθ ccw =0;
[0114] Initialize Δθ cw =0;
[0115] Initialize θ cw =θ0 + 90°;
[0116] Initialize θ ccw =θ0-90°;
[0117] Step 3: Set the stator current vector magnitude Is and the scanning period T according to the current heating requirement;
[0118] Step 4: The inverter controls the motor to generate current, and the current vector starts to scan counterclockwise at a constant speed with reference to the stator coordinates;
[0119] Step 5: When the current vector angle reaches θ counterclockwise ccw hour:
[0120] Record the rotation angle θ of the current vector within the stator coordinate system. ccw =θ I (t);
[0121] Record the rotation angle Δθ of the current current vector in the rotor coordinate system. ccw =θ I (t)-θ e (t);
[0122] Step 6: The inverter controls the motor current to begin scanning clockwise at a constant speed in the stator coordinate system;
[0123] Step 7: When the current vector angle reaches θ clockwise cw hour:
[0124] Record the rotation angle θ of the current vector within the stator coordinate system. cw =θ I (t);
[0125] Record the rotation angle Δθ of the current current vector in the rotor coordinate system. cw =θ I (t)-θ e (t);
[0126] Step 7: Calculate the angular deviation of the bisector of the angle swing from the bisector of the free rotation angle:
[0127] Δθ c =(Δθ) ccw +Δθ cw )*0.5;
[0128] The target angle of the current vector in the stator coordinate system for the next cycle is calculated as follows:
[0129] θ ccw '=θ cw +180°-Δθ c *A;
[0130] θ cw '=θ ccw -180°;
[0131] Among them, the coefficient A is adjustable and can be selected as a number between 0 and 1. Although the angle alignment is slower, the angle that has been aligned in steady state has better anti-disturbance performance.
[0132] Step 9: Return to step 3, or end the heating process.
[0133] Optionally, since the angle bisector alignment deviation is estimated using the angle information from the previous cycle in step 8, the angle will automatically align after repeating the above steps multiple times.
[0134] In some embodiments, this application also provides a method for preventing EPB failure during the heating process:
[0135] In step 8, after calculating the new target angle, if |(θccw+θcw) / 2-θ0| > the limit, then a fault is reported and winding heating is stopped. Generally, this limit is greater than... The detection method can be designed based on specific conditions such as the free clearance of the vehicle's drive shaft system, the reduction ratio of the transmission system, and the allowable abnormal movement distance of the vehicle. The principle of this detection method is: if the EPB fails, the vehicle may move, and the range of free rotation angles will shift accordingly. By continuously tracking the latest free rotation angle, this abnormal shift can be detected.
[0136] Please see Figure 8 , Figure 8 This is a structural block diagram of a vehicle motor heat generation control system provided in an embodiment of this application. The vehicle motor heat generation control system includes:
[0137] The initial rotation angle module 100 is used to acquire the initial rotation angle data of the motor rotor at the current moment;
[0138] The motor preset module 200 is used to acquire preset current vector magnitude data and preset scan cycle data;
[0139] The heating control module 300 is used to control the motor to generate heating current through the inverter based on the initial rotation angle data, the preset current vector magnitude data and the preset scanning cycle data. The current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor.
[0140] For example, the motor preset module 200 is specifically used to: obtain current vector magnitude data and preset scan cycle data according to the motor heating requirements.
[0141] For example, the control system for heat generation by the vehicle motor also includes:
[0142] The alignment module is used to align the bisector of the current vector's angular swing angle with the bisector of the rotor's free rotation angle.
[0143] For example, the alignment module is specifically used for:
[0144] Obtain the first and second initialization data based on the initial rotation angle data;
[0145] The control current vector is referenced to the stator coordinate system of the motor and begins to scan counterclockwise at a constant speed.
[0146] When the angle of the current vector reaches the first initialization data counterclockwise, the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0147] The control current vector is referenced to the stator coordinate system of the motor and begins to scan clockwise at a constant speed.
[0148] When the angle of the current vector reaches the second initialization data clockwise, the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system are obtained.
[0149] The angle deviation data is obtained based on the first rotor angle data and the second rotor angle data;
[0150] The target angle data of the current vector in the stator coordinate system for the next cycle is obtained based on the angle deviation data;
[0151] Align the bisector of the angular swing angle of the control current vector with the bisector of the rotor's free rotation angle based on the target angle data.
[0152] For example, the control system for heat generation by the vehicle motor also includes:
[0153] The wheel locking module is used to control the EPB action and lock the vehicle's wheels when the vehicle is parked and heating is in progress.
[0154] This application also provides an electronic device, please refer to [link to application]. Figure 9 , Figure 9 This is a structural block diagram of an electronic device provided in an embodiment of this application. The electronic device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. The communication bus 540 is used to enable direct communication between these components. In this embodiment, the communication interface 520 of the electronic device is used for signaling or data communication with other node devices. The processor 510 may be an integrated circuit chip with signal processing capabilities.
[0155] The processor 510 described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor, or the processor 510 can be any conventional processor.
[0156] The memory 530 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc. The memory 530 stores computer-readable instructions. When these computer-readable instructions are executed by the processor 510, the electronic device can perform the aforementioned operations. Figures 1 to 7 The various steps involved in the method implementation examples.
[0157] Alternatively, the electronic device may also include a storage controller and an input / output unit.
[0158] The memory 530, storage controller, processor 510, peripheral interface, and input / output unit are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses 540. The processor 510 is used to execute executable modules stored in the memory 530, such as software function modules or computer programs included in electronic devices.
[0159] The input / output unit is used to provide users with the ability to create tasks and to set optional start periods or preset execution times for those tasks, thereby enabling user-server interaction. The input / output unit may be, but is not limited to, a mouse and keyboard.
[0160] Understandable. Figure 9 The structure shown is for illustrative purposes only; the electronic device may also include components that are more advanced than those shown. Figure 9 The more or fewer components shown, or having the same Figure 9 The different configurations shown. Figure 9 The components shown can be implemented using hardware, software, or a combination thereof.
[0161] This application also provides a storage medium storing instructions. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described again here.
[0162] This application also provides a computer program product that, when run on a computer, causes the computer to perform the method described in the method embodiment.
[0163] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0164] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0165] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0166] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0167] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0168] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for controlling heat generation by a vehicle motor, characterized in that, include: Obtain the initial rotation angle data of the motor rotor at the current moment; Acquire preset current vector magnitude data and preset scan cycle data; Based on the initial rotation angle data, the preset current vector magnitude data, and the preset scanning cycle data, the inverter controls the motor to generate heating current, and the current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor. After the step of controlling the motor to generate heating current via the inverter based on the initial rotation angle data, the preset current vector magnitude data, and the preset scan cycle data, the following steps are included: The bisector of the angular swing angle of the controlled current vector is aligned with the bisector of the rotor's free rotation angle. The step of aligning the bisector of the angular swing angle of the controlled current vector with the bisector of the rotor's free rotation angle includes: The first initialization data and the second initialization data are obtained based on the initial rotation data; The current vector is controlled to start a counterclockwise uniform speed scan with reference to the stator coordinate system of the motor; When the angle of the current vector reaches the first initialization data counterclockwise, the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system are obtained. The current vector is controlled to start scanning clockwise at a constant speed with reference to the stator coordinate system of the motor; When the angle of the current vector reaches the second initialization data clockwise, the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system are obtained. Angle deviation data is obtained based on the first rotor angle data and the second rotor angle data; Based on the angle deviation data, obtain the target angle data of the current vector in the stator coordinate system for the next cycle; Based on the target angle data, the bisector of the current vector's angular swing angle and the bisector of the rotor's free rotation angle are aligned.
2. The method for controlling heat generation by a vehicle motor according to claim 1, characterized in that, The steps of obtaining the preset current vector size data and the preset scan period data include: The current vector magnitude data and the preset scan cycle data are obtained according to the motor heating requirements.
3. The method for controlling heat generation by a vehicle motor according to claim 1, characterized in that, In the step of obtaining the angle deviation data based on the first rotor angle data and the second rotor angle data, the calculation formula is as follows: Dth c =(Δθ ccw +Δθ cw )×0.5; Where, Δθ c For the angle deviation data, Δθ ccw The first rotor angle data, Δθ cw This refers to the rotation angle data of the second rotor.
4. The method for controlling heat generation by a vehicle motor according to claim 3, characterized in that, In the step of obtaining the target angle data of the current vector in the stator coordinate system for the next cycle based on the angle deviation data, the calculation formula is as follows: i ccw '=θ cw +180°-Δθ c ×A; i cw '=θ ccw -180°; Where, θ ccw ' is the first limit value of the target angle data, θ cw ' is the second limit value of the target angle data, θ ccw For the first stator rotation angle data, θ cw Here is the second stator rotation angle data, and A is a preset coefficient.
5. The method for controlling heat generation by a vehicle motor according to claim 1, characterized in that, Before the step of obtaining the initial rotation angle data of the motor rotor at the current moment, the method further includes: When heating is performed while the vehicle is parked, the EPB is controlled to activate and the vehicle's wheels are locked.
6. A control system for heat generation by a vehicle motor, characterized in that, include: The initial rotation angle module is used to obtain the initial rotation angle data of the motor rotor at the current moment; The motor preset module is used to acquire preset current vector magnitude data and preset scan cycle data; The heating control module is used to control the motor to generate heating current through the inverter based on the initial rotation angle data, the preset current vector magnitude data and the preset scanning cycle data. The current vector of the heating current swings 180° or 360° in the stator coordinate system of the motor. The control system for heat generation by the vehicle motor also includes: an alignment module for aligning the bisector of the current vector's angular swing angle with the bisector of the rotor's free rotation angle. The alignment module is specifically used for: The first initialization data and the second initialization data are obtained based on the initial rotation data; The current vector is controlled to start a counterclockwise uniform speed scan with reference to the stator coordinate system of the motor; When the angle of the current vector reaches the first initialization data counterclockwise, the first stator rotation angle data of the current vector in the stator coordinate system and the first rotor rotation angle data of the current vector in the rotor coordinate system are obtained. The current vector is controlled to start scanning clockwise at a constant speed with reference to the stator coordinate system of the motor; When the angle of the current vector reaches the second initialization data clockwise, the second stator rotation angle data of the current vector in the stator coordinate system and the second rotor rotation angle data of the current vector in the rotor coordinate system are obtained. Angle deviation data is obtained based on the first rotor angle data and the second rotor angle data; Based on the angle deviation data, obtain the target angle data of the current vector in the stator coordinate system for the next cycle; Based on the target angle data, the bisector of the current vector's angular swing angle and the bisector of the rotor's free rotation angle are aligned.
7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the control method for generating heat from a vehicle motor as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the control method for generating heat from a vehicle motor as described in any one of claims 1 to 5.