Electrical angle acquisition device and method, and vehicle motor control system and method
By designing the signal acquisition and integral compensation unit in the resolver, the problem of being unable to extract the electrical angle when the resolver only outputs a single signal is solved, achieving the acquisition of the electrical angle and normal operation of the motor, and reducing hardware costs.
Patent Information
- Application Number
- CN202410854261.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-22
AI Technical Summary
Existing motors cannot extract the electrical angle when the resolver only outputs a sinusoidal induction signal or a cosine induction signal, resulting in vehicle failure and increased hardware costs.
An electrical angle acquisition device based on a resolver is designed, including a signal acquisition unit, a signal conversion unit, a difference calculation unit, a target electrical angle generation unit and a cache unit. When one signal is abnormal, it switches to acquire another signal and performs integration. and compensation to generate target electrical angles, avoiding dependence on a rotational decoder.
There is no need to rotate the decoder to obtain the electrical angle, which reduces hardware costs, ensures the normal operation of the motor, and improves user experience.
Smart Images

Figure CN118816701A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to an electrical angle acquisition device and method, and a vehicle motor control system and method. Background Art
[0002] A resolver is an electromagnetic sensor, also known as a synchronous resolver. It is a small AC motor used to measure angles. It is used to measure the angular displacement and angular velocity of a rotating object's shaft and consists of a stator and a rotor. When the rotary transformer is used in the motor field, it needs to be decoded by a rotary decoder to extract the electrical angle. The working process of the rotary decoder is as follows: when the magnetic flux U*Sin(Wt) is generated by the excitation signal, the magnetic flux generates an induced voltage signal K1*U*Sin(Wt) in the "sine coil" and "cosine coil" of the rotary transformer; when the rotor rotates, the "sine coil" cuts the magnetic lines of flux to generate an electromotive force K2*Sin(θt), and the "cosine coil" cuts the magnetic lines of flux to generate an electromotive force K2*Cos(θt); the "sine coil" is coupled with the excitation signal K1*K2*U*Sin(Wt)*Sin(θt), and the "cosine coil" is coupled with the excitation signal K1*K2*U*Sin(Wt)*Cos(θt). The rotary decoder extracts the electrical angle θ by processing the sine induction signal and the cosine induction signal, and sends it to the motor control unit (MCU). The MCU controls the torque of the motor according to the electrical angle θ.
[0003] However, the inventors discovered during the process of implementing the invention that the existing method for extracting the electrical angle of the motor requires a rotary decoder to extract the electrical angle, which increases hardware costs, and the existing rotary decoder can only extract the electrical angle when the rotary transformer outputs both a sine sensing signal and a cosine sensing signal. That is, if one signal of the rotary transformer is abnormal, the rotary decoder cannot extract the electrical angle, and the vehicle directly reports a fault and stalls, requiring the vehicle to stop quickly until the fault is rectified, causing problems for users. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art that the rotary transformer requires a rotary decoder to decode and extract the electrical angle, which increases the hardware cost, and the rotary decoder cannot extract the electrical angle when the rotary transformer only outputs a sine sensing signal or a cosine sensing signal, and to provide an electrical angle acquisition device and method, and a vehicle motor control system and method.
[0005] The technical solution of the present invention provides an electrical angle acquisition device based on a rotary transformer, comprising a signal acquisition unit connected to the output end of the rotary transformer, a signal conversion unit, a difference calculation unit, a target electrical angle generation unit, a first cache unit and a second cache unit.
[0006] A signal acquisition unit, used for acquiring another induction signal including a real-time electrical angle when one of the signals of the rotary transformer is abnormal, wherein the induction signal includes a sine induction signal or a cosine induction signal;
[0007] a signal conversion unit, configured to convert the sensing signal and the estimated rotation speed fed back by the first cache unit into an orthogonal electrical angle signal;
[0008] a difference calculation unit, configured to calculate an electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit;
[0009] a target electrical angle generating unit, configured to integrate the electrical angle difference within a first preset period to generate a target electrical angle;
[0010] A first cache unit, configured to cache the electrical angle difference within a second preset period to generate the estimated rotation speed;
[0011] The second cache unit is used to cache the target electrical angle within a third preset period.
[0012] One of the optional technical solutions also includes:
[0013] An angle compensation unit, used to perform angle compensation on the electrical angle difference to obtain the estimated rotational speed, until the estimated rotational speed is the same as the real-time electrical angle;
[0014] The target electrical angle generating unit is further used for:
[0015] Integrating the estimated rotation speed within the first preset period to generate the target electrical angle;
[0016] The first cache unit is further configured to:
[0017] The estimated rotation speed is cached during the second preset period.
[0018] In one of the optional technical solutions, the angle compensation unit includes:
[0019] a first sub-estimated speed generating sub-unit, configured to integrate the electrical angle difference within the first preset period to generate a first sub-estimated speed;
[0020] A second sub-estimated speed generating sub-unit, configured to amplify the electrical angle difference to generate a second sub-estimated speed;
[0021] The addition calculation subunit is used to add the first sub-estimated rotational speed and the second sub-estimated rotational speed to generate the estimated rotational speed.
[0022] One of the optional technical solutions also includes:
[0023] The modulo operation unit is used to perform modulo operation on the target electrical angle within a preset angle range.
[0024] The technical solution of the present invention also provides an electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as described above, comprising:
[0025] When one of the signals of the rotary transformer is abnormal, another induction signal including the real-time electrical angle is obtained, wherein the induction signal includes a sine induction signal or a cosine induction signal;
[0026] Converting the sensing signal and the estimated rotation speed fed back by the first cache unit into orthogonal electrical angle signals;
[0027] Calculating an electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second cache unit;
[0028] If the electrical angle difference is 0, the real-time electrical angle is set as the target electrical angle;
[0029] If the electrical angle difference is not 0, the electrical angle difference is integrated within a first preset period to generate the target electrical angle; the electrical angle difference is cached within a second preset period to generate the estimated rotational speed; and the target electrical angle is cached within a third preset period.
[0030] In one of the optional technical solutions, the calculating of the electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second cache unit further includes:
[0031] Performing angle compensation on the electrical angle difference to generate the estimated rotation speed until the estimated rotation speed is the same as the real-time electrical angle;
[0032] caching the estimated rotation speed within the second preset period;
[0033] The step of integrating the electrical angle difference within a first preset period to generate the target electrical angle comprises:
[0034] Integrating the estimated rotation speed within the first preset period to generate the target electrical angle;
[0035] In one of the optional technical solutions, performing angle compensation on the electrical angle difference to generate the estimated rotation speed includes:
[0036] Integrating the electrical angle difference within the first preset period to generate a first sub-estimated rotational speed;
[0037] amplifying the electrical angle difference to generate a second sub-estimated rotation speed;
[0038] The first sub-estimated rotational speed and the second sub-estimated rotational speed are added to generate the estimated rotational speed.
[0039] In one of the optional technical solutions, the electrical angle difference is integrated within a first preset period to generate the target electrical angle, and then the method further includes:
[0040] The target electrical angle is modulo within a preset angle range.
[0041] The technical solution of the present invention also provides a vehicle motor control system, including an electrical angle acquisition device based on a rotary transformer and a torque control unit as described above, wherein the torque control unit is used to control the torque of the motor according to the target electrical angle acquired by the electrical angle acquisition device.
[0042] The technical solution of the present invention also provides a vehicle motor control method, comprising:
[0043] The target electrical angle obtained by the electrical angle acquisition method as described above is used to control the torque of the motor.
[0044] The above technical solution has the following beneficial effects: there is no need to use a rotary decoder to decode and obtain the electrical angle, which reduces hardware costs. At the same time, the electrical angle can be obtained using only a sinusoidal sensing signal or a cosine sensing signal, so that the motor can continue to work normally without the need to stop the vehicle immediately for maintenance, thereby improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In the drawings:
[0046] Figure 1 A schematic diagram of the structure of an electrical angle acquisition device based on a rotary transformer provided in one embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the optimal circuit structure of the electrical angle acquisition device based on the rotary transformer provided by the present invention;
[0048] Figure 3 A flowchart of an electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as described above is provided in accordance with an embodiment of the present invention;
[0049] Figure 4 Another embodiment of the present invention provides a flowchart of an electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as described above. DETAILED DESCRIPTION
[0050] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings.
[0051] It is easy to understand that according to the technical solution of the present invention, without changing the essential spirit of the present invention, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present invention, and should not be regarded as the whole of the present invention or as a limitation or restriction to the technical solution of the invention.
[0052] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms.
[0053] like Figure 1 As shown, an electrical angle acquisition device based on a rotary transformer provided by an embodiment of the present invention includes a signal acquisition unit 101 connected to the output end of the rotary transformer, a signal conversion unit 102, a difference calculation unit 103, a target electrical angle generation unit 104, a first cache unit 105 and a second cache unit 106.
[0054] The signal acquisition unit 101 is used to acquire another sensing signal including the real-time electrical angle when one of the signals of the rotary transformer is abnormal, wherein the sensing signal includes a sine sensing signal or a cosine sensing signal;
[0055] The signal conversion unit 102 is used to convert the sensing signal and the estimated rotation speed fed back by the first buffer unit 105 into an orthogonal electrical angle signal;
[0056] The difference calculation unit 103 is used to calculate the electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit 106;
[0057] The target electrical angle generating unit 104 is used to integrate the electrical angle difference within a first preset period to generate a target electrical angle;
[0058] A first cache unit 105, used for caching the electrical angle difference within a second preset period to generate an estimated rotation speed;
[0059] The second cache unit 106 is used to cache the target electrical angle within a third preset period.
[0060] The electrical angle acquisition device based on a rotary transformer provided in this embodiment is mainly used in an MCU, and includes a signal acquisition unit 101, a signal conversion unit 102, a difference calculation unit 103, a target electrical angle generation unit 104, a first cache unit 105 and a second cache unit 106.
[0061] The input end of the signal acquisition unit 101 is connected to the output end of the rotary transformer, and the output end of the signal acquisition unit 101 is connected to the input end of the signal conversion unit 102. The signal acquisition unit 101 is used to acquire another induction signal, such as a sine induction signal sinθ or a cosine induction signal cosθ, when one of the signals of the rotary transformer is abnormal. The signal acquisition unit 101 can be connected to the two signal output ends of the rotary transformer by setting a bidirectional switch. For example, when it is detected that the link of the rotary transformer for outputting the sine induction signal sinθ is abnormal, the MCU controls the switch to connect the signal acquisition unit 101 to the link of the rotary transformer for outputting the cosine induction signal cosθ, and acquire the cosine induction signal cosθ; similarly, when it is detected that the link of the rotary transformer for outputting the cosine induction signal cosθ is abnormal, the MCU controls the switch to connect the signal acquisition unit 101 to the link of the rotary transformer for outputting the sine induction signal sinθ, and acquire the sine induction signal sinθ, so as to realize automatic switching of the signal link when only one induction signal is normal, thereby improving efficiency.
[0062] The input end of the signal conversion unit 102 is connected to the output end of the signal acquisition unit 101 and the first buffer unit 105 respectively. The signal conversion unit 102 is used to convert the sensing signal and the estimated speed feedback from the first buffer unit 105 into an orthogonal electrical angle signal V α 、V β During the initial conversion, the estimated speed fed back by the first buffer unit 105 is 0. At this time, only the sensing signal (sine sensing signal sinθ or cosine sensing signal cosθ) is converted by the signal conversion unit 102 to obtain the orthogonal electrical angle signal V α 、V β Preferably, the signal conversion unit 102 is a second-order generalized integrator (SOGI).
[0063] The input end of the difference calculation unit 103 is connected to the output end of the signal conversion unit 102 and the output end of the second buffer unit 106 respectively, and the output end of the difference calculation unit 103 is connected to the input end of the target electrical angle generation unit 104. The difference calculation unit 103 is used to calculate the orthogonal electrical angle signal V α 、V β The electrical angle difference V between the estimated electrical angle fed back by the second buffer unit 106 and q , that is, V q= cosθ ′ ×sinθ-sinθ ′ ×cosθ, during the initial calculation, the estimated electrical angle fed back by the second buffer unit 106 is 0. Preferably, the difference calculation unit 103 is a Park Transformation.
[0064] The input end of the target electrical angle generating unit 104 is connected to the output end of the difference calculating unit 103, and the output end of the target electrical angle generating unit 104 is connected to the MCU and the second cache unit 106. The target electrical angle generating unit 104 is used to convert the electrical angle difference V q Integrate to generate the target electrical angle θ ′ Preferably, the target electrical angle generating unit 104 is an integrator.
[0065] The input end of the first cache unit 105 is connected to the output end of the difference calculation unit 103, and the output end of the first cache unit 105 is connected to the input end of the signal conversion unit 102, forming a phase-locked loop circuit structure. The first cache unit 105 is used to cache the electrical angle difference within a second preset period (such as 100 μs), generate an estimated speed, and generate a continuous value from the discrete electrical angle difference. The estimated speed is fed back to the input end of the signal conversion unit 102 through the first cache unit 105, so that the estimated speed is infinitely close to the real-time speed output by the rotary transformer, until the estimated speed is approximately equal to the real-time speed, so that the error is close to 0, that is, V q = 0. Preferably, the first cache unit 105 is a zero-order holder.
[0066] The input end of the second cache unit 106 is connected to the output end of the target electrical angle generating unit 104, and the output end of the second cache unit 106 is connected to the input end of the difference calculating unit 103. The second cache unit 106 is used to cache the target electrical angle within a third preset period (such as 105 μs) so that the discrete target electrical angle generates a continuous value. Preferably, the second cache unit 106 is a zero-order holder.
[0067] In this embodiment, there is no need to use a rotary decoder to decode and obtain the electrical angle, which reduces hardware costs. At the same time, the electrical angle can be obtained using only a sinusoidal sensing signal or a cosine sensing signal, so that the motor can continue to work normally without the need to stop the vehicle immediately for maintenance, thereby improving the user experience.
[0068] In one embodiment, it also includes:
[0069] An angle compensation unit 107, used to perform angle compensation on the electrical angle difference to obtain an estimated rotation speed until the estimated rotation speed is the same as the real-time electrical angle;
[0070] The target electrical angle generating unit 104 is further configured to:
[0071] Integrating the estimated rotation speed within a first preset period to generate a target electrical angle;
[0072] The first cache unit 105 is further configured to:
[0073] The estimated rotation speed is cached within a second preset period.
[0074] The input end of the angle compensation unit 107 is connected to the output end of the difference calculation unit 103, and the output end of the angle compensation unit 107 is connected to the input end of the target electrical angle generation unit 104 to form a phase-locked loop circuit structure. The angle compensation unit 107 is used to calculate the electrical angle difference V output by the difference calculation unit 103. q Perform angle compensation to obtain the estimated speed until the estimated speed is the same as the real-time electrical angle, making the error 0, that is, V q =0. It should be noted that, since the electrical angle is the product of the rotation speed and time, for the convenience of explanation, the estimated rotation speed is directly compared with the real-time electrical angle. Preferably, the angle compensation unit 107 is a proportional integral (PI) compensator.
[0075] In one embodiment, the angle compensation unit 107 includes:
[0076] A first sub-estimated speed generating sub-unit 1071, configured to integrate the electrical angle difference within a first preset period to generate a first sub-estimated speed;
[0077] The second sub-estimated speed generating sub-unit 1072 is used to amplify the electrical angle difference to generate a second sub-estimated speed;
[0078] The addition calculation subunit 1073 is used to add the first sub-estimated speed and the second sub-estimated speed to generate an estimated speed.
[0079] The input end of the first sub-estimated speed generating sub-unit 1071 is connected to the output end of the difference calculating unit 103, and the output end of the first sub-estimated speed generating sub-unit 1071 is connected to the input end of the addition calculating sub-unit 1073. The input end of the second sub-estimated speed generating sub-unit 1072 is connected to the output end of the difference calculating unit 103, and the output end of the second sub-estimated speed generating sub-unit 1072 is connected to the input end of the addition calculating sub-unit 1073. The electrical angle difference V output by the difference calculating unit 103 is calculated by the first sub-estimated speed generating sub-unit 1071, the second sub-estimated speed generating sub-unit 1072 and the addition calculating sub-unit 1073. q Perform angle compensation until the estimated speed is the same as the real-time electrical angle, making the error 0, that is, V q =0.
[0080] Preferably, the first sub-estimated speed generating sub-unit 1071 is an integrator.
[0081] Preferably, the second sub-estimated speed generating sub-unit 1072 is a proportional amplifier.
[0082] Preferably, the addition calculation subunit 1073 is an adder.
[0083] In one embodiment, it also includes:
[0084] The modulo operation unit 108 is used to perform modulo operation on the target electrical angle within a preset angle range.
[0085] The input end of the modulo operation unit 108 is connected to the output end of the target electrical angle generation unit 104. Since the time integration of the target electrical angle generation unit 104 will always be working and the amount of calculation will continue to increase, the modulo operation unit 108 simplifies the MCU operation and improves efficiency by taking the modulo of the target electrical angle within a preset angle range.
[0086] Preferably, the modulo operation unit 108 is a modulo operator.
[0087] Preferably, the preset angle range is 0∽2π, so that the electrical angle position of the motor within 0∽360° can be obtained.
[0088] like Figure 2 As shown, the optimal circuit structure of the electrical angle acquisition device based on the rotary transformer provided by the present invention includes a second-order generalized integrator SOGI, a Park converter, a PI compensator, an integrator 2, a modulo operator, a zero-order holder 1 and a zero-order holder 2, wherein the PI compensator includes an integrator 1, a proportional amplifier 2 and an adder 3. The sine sensing signal sinθ or the cosine sensing signal cosθ is connected to the second-order generalized integrator SOGI and converted into an orthogonal electrical angle signal V by the second-order generalized integrator SOGI. α 、V β , and then the orthogonal electrical angle signal V is calculated through the Park converter α 、V β The electrical angle difference V between the estimated electrical angle fed back by the zero-order holder 2 q , and then use the PI compensator to adjust the electrical angle difference V q Angle compensation is performed to obtain an estimated rotational speed, which is then cached through the zero-order holder 1 and output to the second-order generalized integrator SOGI. At the same time, integrator 2 integrates the estimated rotational speed to obtain an estimated electrical angle, which is output to the modulo operator to take the modulus within 0∽2π until the estimated electrical angle is the same as the real-time electrical angle to obtain the target electrical angle.
[0089] like Figure 3 As shown, an embodiment of the present invention provides an electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as described above, comprising:
[0090] Step S301: when one of the signals of the rotary transformer is abnormal, obtaining another sensing signal including the real-time electrical angle, the sensing signal including a sine sensing signal or a cosine sensing signal;
[0091] Step S302: converting the sensing signal and the estimated rotation speed fed back by the first buffer unit into an orthogonal electrical angle signal;
[0092] Step S303: Calculate the electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit;
[0093] Step S304: determining whether the electrical angle difference is 0;
[0094] Step S305: setting the real-time electrical angle as the target electrical angle;
[0095] Step S306: Integrate the electrical angle difference within a first preset period to generate a target electrical angle;
[0096] Step S307: caching the electrical angle difference within a second preset period to generate an estimated rotation speed;
[0097] Step S308: caching the target electrical angle within a third preset period.
[0098] Specifically, when one of the signals of the rotating transformer is detected to be abnormal, the MCU executes steps S301 to S304. In step S304, it is determined whether the electrical angle difference is 0. If it is, it means that the real-time electrical angle error is almost 0, and step S305 is executed. Otherwise, step S306 to S308 are executed. Step S303 to S308 are looped until the estimated rotation speed is the same as the real-time electrical angle, thereby obtaining the electrical angle.
[0099] In this embodiment, there is no need to use a rotary decoder to decode and obtain the electrical angle, which reduces hardware costs. At the same time, the electrical angle can be obtained using only a sinusoidal sensing signal or a cosine sensing signal, so that the motor can continue to work normally without the need to stop the vehicle immediately for maintenance, thereby improving the user experience.
[0100] like Figure 4 As shown, another embodiment of the present invention provides an electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as described above, comprising:
[0101] Step S401: when one of the signals of the rotary transformer is abnormal, obtaining another induction signal including the real-time electrical angle;
[0102] Step S402: converting the sensing signal and the estimated rotation speed fed back by the first buffer unit into an orthogonal electrical angle signal;
[0103] Step S403: Calculate the electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit;
[0104] Step S404: determining whether the electrical angle difference is 0;
[0105] Step S405: setting the real-time electrical angle as the target electrical angle;
[0106] Step S406: number of operations CNT+1;
[0107] Step S407: performing angle compensation on the electrical angle difference to generate an estimated rotation speed until the estimated rotation speed is the same as the real-time electrical angle;
[0108] Step S408: Determine whether the number of operations CNT meets the number threshold;
[0109] Step S409: Integrate the estimated rotation speed within a first preset period to generate a target electrical angle;
[0110] Step S410: caching the estimated rotation speed within a second preset period;
[0111] Step S411: caching the target electrical angle within a third preset period;
[0112] Step S412: taking the modulus of the target electrical angle within a preset angle range.
[0113] In this embodiment, there is no need to use a rotary decoder to decode and obtain the electrical angle, which reduces hardware costs. At the same time, the electrical angle can be obtained using only a sinusoidal sensing signal or a cosine sensing signal, so that the motor can continue to work normally without the need to stop the vehicle immediately for maintenance, thereby improving the user experience.
[0114] In one embodiment, in order to facilitate angle compensation and reduce errors, step S406 includes:
[0115] Integrating the electrical angle difference within a first preset period to generate a first sub-estimated rotational speed;
[0116] Amplifying the electrical angle difference to generate a second sub-estimated speed;
[0117] The first sub-estimated rotational speed and the second sub-estimated rotational speed are added to generate an estimated rotational speed.
[0118] The technical solution of the present invention also provides a vehicle motor control system, including an electrical angle acquisition device based on a rotary transformer and a torque control unit as described above, wherein the torque control unit is used to control the torque of the motor according to the target electrical angle acquired by the electrical angle acquisition device.
[0119] The technical solution of the present invention also provides a vehicle motor control method, comprising:
[0120] The target electrical angle obtained by the electrical angle acquisition method as described above is used to control the torque of the motor.
[0121] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the embodiments of the present invention are described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electrical angle acquisition device based on a rotary transformer, It is characterized in that It includes a signal acquisition unit connected to the output end of the rotary transformer, a signal conversion unit, a difference calculation unit, a target electrical angle generation unit, a first cache unit and a second cache unit, A signal acquisition unit, used for acquiring another induction signal including a real-time electrical angle when one of the signals of the rotary transformer is abnormal, wherein the induction signal includes a sine induction signal or a cosine induction signal; a signal conversion unit, configured to convert the sensing signal and the estimated rotation speed fed back by the first cache unit into an orthogonal electrical angle signal; a difference calculation unit, configured to calculate an electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit; a target electrical angle generating unit, configured to integrate the electrical angle difference within a first preset period to generate a target electrical angle; A first cache unit, configured to cache the electrical angle difference within a second preset period to generate the estimated rotation speed; The second cache unit is used to cache the target electrical angle within a third preset period.
2. The electrical angle acquisition device based on a rotary transformer as claimed in claim 1, It is characterized in that Also includes: An angle compensation unit, used to perform angle compensation on the electrical angle difference to obtain the estimated rotational speed, until the estimated rotational speed is the same as the real-time electrical angle; The target electrical angle generating unit is further used for: Integrating the estimated rotation speed within the first preset period to generate the target electrical angle; The first cache unit is further used for: The estimated rotation speed is cached during the second preset period.
3. The electrical angle acquisition device based on a rotary transformer as claimed in claim 2, It is characterized in that The angle compensation unit comprises: a first sub-estimated speed generating sub-unit, configured to integrate the electrical angle difference within the first preset period to generate a first sub-estimated speed; A second sub-estimated speed generating sub-unit, configured to amplify the electrical angle difference to generate a second sub-estimated speed; The addition calculation subunit is used to add the first sub-estimated rotational speed and the second sub-estimated rotational speed to generate the estimated rotational speed.
4. The electrical angle acquisition device based on a rotary transformer according to any one of claims 1 to 3, It is characterized in that Also includes: The modulo operation unit is used to perform modulo operation on the target electrical angle within a preset angle range.
5. An electrical angle acquisition method using the electrical angle acquisition device based on a rotary transformer as claimed in any one of claims 1 to 4, It is characterized in that include: When one of the signals of the rotary transformer is abnormal, another induction signal including the real-time electrical angle is obtained, wherein the induction signal includes a sine induction signal or a cosine induction signal; Converting the sensing signal and the estimated rotation speed fed back by the first cache unit into orthogonal electrical angle signals; Calculating an electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second cache unit; If the electrical angle difference is 0, the real-time electrical angle is set as the target electrical angle; If the electrical angle difference is not 0, integrating the electrical angle difference within a first preset period to generate the target electrical angle; The electrical angle difference is cached within a second preset period to generate the estimated rotational speed; and the target electrical angle is cached within a third preset period.
6. The electrical angle acquisition method according to claim 5, It is characterized in that The step of calculating the electrical angle difference between the orthogonal electrical angle signal and the estimated electrical angle fed back by the second buffer unit further comprises: Performing angle compensation on the electrical angle difference to generate the estimated rotation speed until the estimated rotation speed is the same as the real-time electrical angle; caching the estimated rotation speed within the second preset period; The step of integrating the electrical angle difference within a first preset period to generate the target electrical angle comprises: Integrating the estimated rotation speed within the first preset period to generate the target electrical angle; 7. The electrical angle acquisition method according to claim 6, It is characterized in that The performing angle compensation on the electrical angle difference to generate the estimated rotation speed includes: Integrating the electrical angle difference within the first preset period to generate a first sub-estimated rotational speed; amplifying the electrical angle difference to generate a second sub-estimated rotation speed; The first sub-estimated rotational speed and the second sub-estimated rotational speed are added to generate the estimated rotational speed.
8. The electrical angle acquisition method according to any one of claims 5 to 7, It is characterized in that The step of integrating the electrical angle difference within a first preset period to generate the target electrical angle further comprises: The target electrical angle is modulo within a preset angle range.
9. A vehicle motor control system, It is characterized in that It comprises an electrical angle acquisition device based on a rotary transformer and a torque control unit as described in any one of claims 1 to 5, wherein the torque control unit is used to control the torque of the motor according to the target electrical angle acquired by the electrical angle acquisition device.
10. A vehicle motor control method, It is characterized in that include: The target electrical angle obtained by the electrical angle acquisition method as described in any one of claims 5 to 8 is used to control the torque of the motor.
