A method, system and storage medium for verifying performance of a soft decoding of a rotary transformer
By working together with the host computer, resolver signal generator, and measuring equipment, the problem of high cost in verifying resolver soft decoding performance was solved, achieving low-cost and efficient accurate verification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FAW JIEFANG AUTOMOTIVE CO
- Filing Date
- 2023-12-14
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, the performance verification of resolver soft decoding is costly and limited by motor model and speed, making it difficult to achieve accurate verification at low cost and high efficiency.
The host computer generates a rotation speed command, the resolver signal generator generates a target resolver signal and a reference signal, the target electronic control equipment analyzes the signal to obtain the angle, the measuring equipment reads and sends the signal to the host computer in real time, and the host computer is used to verify the resolver soft decoding performance.
It enables low-cost, convenient, and accurate verification of resolver soft decoding performance, saving dedicated decoding chips and improving the accuracy of verification.
Smart Images

Figure CN117723103B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, system and storage medium for verifying the performance of resolver soft decoding. Background Technology
[0002] In a vehicle's electric drive system, the motor rotor position is one of the key input parameters of the motor. Vehicle drive motors typically use a resolver to obtain the rotor position. Given that resolvers require a sinusoidal excitation signal and the returned signal is a sine and cosine modulation of the sinusoidal excitation signal, existing technologies usually require dedicated decoding chips (such as FPGA chips) to analyze the rotor position. Furthermore, when verifying the soft decoding performance of resolvers, a test bench is typically built using the vehicle's resolver, motor, and photoelectric encoder, resulting in excessively high costs. The type and speed of the motor also limit the verification of the resolver's soft decoding performance.
[0003] How to verify the performance of resolver soft decoding in a low-cost, efficient and accurate manner is a problem that must be solved for the commercialization of soft decoding. Therefore, there is an urgent need for a resolver soft decoding performance verification method to meet the above requirements. Summary of the Invention
[0004] This invention provides a method, system, and storage medium for verifying the performance of resolver soft decoding, which can more conveniently verify the performance of resolver soft decoding and improve the accuracy of verifying the performance of resolver soft decoding.
[0005] According to one aspect of the present invention, a method for verifying the performance of resolver soft decoding is provided, applied to a resolver soft decoding performance verification system, the method comprising:
[0006] The host computer generates a rotation speed command and sends the rotation speed command to the resolver signal generating device;
[0007] The resolver signal generating device generates a target resolver signal and a target reference signal according to the rotation speed command, and sends the target resolver signal and the target reference signal to the target electronic control device;
[0008] The target electronic control equipment analyzes the target resolver signal to obtain the target soft-decoded angle, and analyzes the target reference signal to obtain the target reference angle;
[0009] The measuring device reads the target soft decoding angle and the target reference angle in the target electronic control device in real time according to the preset sampling period, and sends the target soft decoding angle and the target reference angle to the host computer;
[0010] The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle.
[0011] According to another aspect of the present invention, a resolver soft decoding performance verification system is provided. The resolver soft decoding performance verification system includes: a host computer, a resolver signal generating device, a target electronic control device, and a measuring device. The host computer is connected to the resolver signal generating device and the measuring device, respectively. The resolver signal generating device is connected to the target electronic control device, and the target electronic control device is connected to the measuring device.
[0012] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the spinner soft decoding performance verification method according to any embodiment of the present invention.
[0013] This invention generates a rotation speed command via a host computer and sends the command to the resolver signal generating device. The resolver signal generating device generates a target resolver signal and a target reference signal based on the rotation speed command, and sends these signals to the target electronic control device. The target electronic control device parses the target resolver signal to obtain a target soft-decoding angle and parses the target reference signal to obtain a target reference angle. The measuring device reads the target soft-decoding angle and the target reference angle from the target electronic control device in real time according to a preset sampling period and sends them to the host computer. The host computer verifies the resolver soft-decoding performance of the resolver signal generating device based on the target soft-decoding angle and the target reference angle. This solves the problem in the prior art where the use of a vehicle's resolver, motor, dedicated decoding chip, and photoelectric encoder to build a test bench for soft-decoding performance leads to excessively high costs, and the limitations imposed by the motor model and speed on the verification of resolver soft-decoding performance. This invention saves on dedicated resolver decoding chips, makes verifying resolver soft-decoding performance more convenient, and improves the accuracy of resolver soft-decoding performance verification.
[0014] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a flowchart of a method for verifying the performance of a resolver soft decoding according to Embodiment 1 of the present invention;
[0017] Figure 2 This is a schematic diagram of the structure of a resolver soft decoding performance verification system according to Embodiment 2 of the present invention. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0021] Example 1
[0022] Figure 1This is a flowchart of a resolver soft decoding performance verification method according to Embodiment 1 of the present invention. This embodiment is applicable to verifying the resolver soft decoding performance of a vehicle. The method can be executed by the resolver soft decoding performance verification system of this embodiment, which includes: a host computer, a resolver signal generating device, a target electronic control device, and a measuring device. Figure 1 As shown, the method specifically includes the following steps:
[0023] S110, the host computer generates a speed command and sends the speed command to the resolver signal generator.
[0024] Among them, the speed command is the simulated motor speed command. The speed command can be generated by the host computer after the user inputs the corresponding parameters in the host computer. The speed command can carry different speeds.
[0025] Specifically, the host computer communicates with the resolver signal generator via Ethernet. Once the host computer generates a speed command, it sends the speed command to the resolver signal generator.
[0026] S120, the resolver signal generating device generates a target resolver signal and a target reference signal according to the speed command, and sends the target resolver signal and the target reference signal to the target electronic control equipment.
[0027] The resolver signal generator can be a HIL (Hardware-In-the-Loop) device, which facilitates setting resolver parameters, receiving speed commands, and fault injection commands. Compared to a motor, it has no speed limit and significantly reduces electromagnetic interference. The target resolver signal includes: sinusoidal differential signals Sin+, Sin-, cosine differential signals Cos+, and Cos-, containing the current resolver angle. The target reference signal is a position signal of another form independent of the target resolver signal, also containing the current resolver angle. Optionally, the target reference signal is a target ABZ signal, where A represents the rotation direction, B represents the position count, and Z represents the starting point marker. The target reference signal provides a reference angle for verifying the resolver soft decoding performance, and then verifies the resolver soft decoding accuracy based on the calculated resolver soft decoding angle and the reference angle.
[0028] Specifically, the resolver signal generating device receives the rotation speed command and performs resolver operation according to the rotation speed command, synchronously generating the target resolver signal and the target reference signal, and synchronously sending the target resolver signal and the target reference signal to the target electronic control equipment.
[0029] Optionally, the resolver signal generating device generates a target resolver signal and a target reference signal according to the rotational speed command, including:
[0030] The resolver signal generator receives the excitation signal sent by the target electronic control equipment;
[0031] The resolver signal generating device determines the current resolver angle based on the rotation speed command;
[0032] The resolver signal generating device generates a target resolver signal and a target reference signal corresponding to the current resolver angle based on the current resolver angle and the excitation signal.
[0033] The excitation signals include the excitation differential signals Exc+ and Exc-.
[0034] Specifically, after the resolver signal generator establishes a connection with the target electronic control equipment, the resolver signal generator receives the excitation differential signal sent by the target electronic control equipment in real time, ensuring that the resolver signal generator can work normally according to the speed command and the excitation differential signal, so as to generate the target resolver signal and the target reference signal.
[0035] Specifically, the resolver signal generating device performs integral calculations based on the received rotation speed command to determine the current resolver angle.
[0036] Specifically, the resolver signal generator calculates the target resolver signal and the target reference signal based on the current resolver angle and the excitation signal using the resolver calculation formula. For example, if the excitation signal is V... e =Esin(wt), then the generated target resolver signal can be a sine output V1 = K*Esin(wt)sinθ, a cosine output V1 = K*Esin(wt)cosθ, and simultaneously, an ABZ signal is generated according to the current resolver angle.
[0037] The resolver signal generator generates a target resolver signal and a target reference signal corresponding to the current resolver angle based on the current resolver angle and the excitation signal. It can simultaneously generate a target resolver signal containing resolver angle information and a target reference signal independent of the target resolver signal, which facilitates subsequent verification of resolver soft decoding performance.
[0038] S130, the target electronic control equipment analyzes the target resolver signal to obtain the target soft decoding angle, and analyzes the target reference signal to obtain the target reference angle.
[0039] The target electronic control device can be the main control board of the motor controller under test (MTB), for example, the main control chip in the main control board can be an Infineon ARUIX series chip. By sending excitation signals to the resolver signal generator through the target electronic control device and sampling the target resolver signal and the target reference signal, the dedicated resolver decoding chip can be saved when verifying the resolver soft decoding performance. The target resolver signal and the target reference signal can be directly analyzed by the main control chip of the MTB, and the target soft decoding angle and the target reference angle can be obtained.
[0040] Specifically, after receiving the target resolver signal and the target reference signal, the target electronic control equipment runs a resolver soft decoding algorithm to parse the target resolver signal and runs the corresponding parsing algorithm for the target reference signal, such as the ABZ signal parsing algorithm. Through hard synchronization triggering, it ensures that the parsed target soft decoding angle and target reference angle are obtained synchronously.
[0041] S140, the measuring device reads the target soft decoding angle and the target reference angle in the target electronic control device in real time according to the preset sampling period, and sends the target soft decoding angle and the target reference angle to the host computer.
[0042] The measuring equipment is a high-speed measuring device, capable of rapidly reading the synchronous target soft-decoding angle and target reference angle from the target's electronic control equipment. The preset sampling period can be set according to actual needs.
[0043] Specifically, the measuring device is connected to the host computer via Ethernet. It reads the target soft-decoding angle and target reference angle synchronously in the target electronic control device in real time according to the preset sampling period, and sends the real-time acquired target soft-decoding angle and target reference angle to the host computer. The measuring device can meet the requirements of high-speed reading of target soft-decoding angle and target reference angle.
[0044] S150, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle.
[0045] Among them, the performance of resolver soft decoding includes the angle accuracy and dynamic response performance of resolver soft decoding, and may also include the performance of fault diagnosis accuracy.
[0046] Specifically, after the host computer acquires the synchronized target soft decoding angle and target reference angle in real time, it verifies the accuracy and dynamic response performance of the resolver soft decoding angle based on the real-time acquired target soft decoding angle and target reference angle. If the difference between the target soft decoding angle and the target reference angle under the same sampling period within a preset time period is less than or equal to a preset difference threshold, then the accuracy of the resolver soft decoding angle is determined to meet the requirements. If the rate of change of the target soft decoding angle within a preset time period is stable at a preset change threshold, then the dynamic response of the resolver soft decoding is determined to meet the requirements.
[0047] Optionally, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, including:
[0048] If the rotation speed command is the first command, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the difference between the target soft decoding angle and the target reference angle.
[0049] If the rotation speed command is the second command, the host computer obtains the soft decoding angle change rate based on the target soft decoding angle, and verifies the resolver soft decoding performance of the resolver signal generator based on the soft decoding angle change rate.
[0050] The first instruction can be a speed command within a continuously changing preset range, and the second instruction can be a step speed command.
[0051] Specifically, if the rotation speed command is the first command, the host computer verifies the resolver signal generator's soft decoding performance based on the difference between the target soft decoding angle and the target reference angle. For example, if the first command is a continuously changing rotation speed command within a preset range, the host computer generates the first command and sends it to the resolver signal generator. The resolver signal generator generates a target resolver signal and a target reference signal based on the first command and sends them to the target electronic control device. The target electronic control device parses the target resolver signal and the target reference signal to obtain the target soft decoding angle and the target reference angle. The measuring device acquires the synchronous target soft decoding angle and the target reference angle and sends them to the host computer. The host computer calculates the difference between the target soft decoding angle and the target reference angle in real time under the same sampling period and displays the angle difference over time in a graph. If the angle difference within the preset time period is less than or equal to 1.5 electrical angles, the angle accuracy performance of the resolver soft decoding is determined to meet the requirements.
[0052] Specifically, if the rotation speed command is the second command, the host computer obtains the rate of change of the soft decoding angle based on the target soft decoding angle, and verifies the soft decoding performance of the resolver signal generator based on the rate of change of the soft decoding angle. For example, if the second command is a step speed command with an amplitude of 5000 rpm, the host computer obtains the target soft decoding angle in real time, and calculates the rate of change of the angle corresponding to the target soft decoding angle based on the target soft decoding angle in a preset time period. If the rate of change of the angle corresponding to the target soft decoding angle can converge within the preset time period, that is, the rate of change of the angle is stable at the step speed, it is determined that the dynamic response performance of the resolver soft decoding meets the requirements.
[0053] The host computer obtains the target soft decoding angle and target reference angle in real time through changes in rotation speed command. Then, the performance of the resolver soft decoding is verified based on the target soft decoding angle and target reference angle. This method is simple and easy to implement. It can also verify different performances of the resolver soft decoding based on different rotation speed commands, thereby improving the accuracy of the resolver soft decoding performance verification.
[0054] Optionally, before the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, the method further includes:
[0055] The host computer generates a fault injection command and sends the fault injection command to the resolver signal generating device;
[0056] The resolver signal generator executes the fault injection command;
[0057] The target electronic control equipment acquires the target fault status information of the resolver signal generator in real time.
[0058] The measuring device reads the target fault status information in the target electronic control equipment in real time and sends the target fault status information to the host computer.
[0059] Accordingly, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, including:
[0060] The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command.
[0061] The fault in the fault injection command may include open circuit fault of resolver signal, short to power supply fault, short to ground fault, etc. Optionally, the fault injection command carries a fault identifier and a fault status signal; the target fault status information includes: target fault identifier and target fault status signal. For example, the fault status signal can be represented by 1 or 0. If a fault occurs, the fault status signal is 1, and if a fault does not occur, the fault status signal is 0.
[0062] Specifically, the host computer communicates with the resolver signal generator via Ethernet. When the host computer generates a fault injection command, it sends the command to the resolver signal generator. The resolver signal generator executes the command, simulating the triggering of the fault corresponding to the command. The target electronic control device diagnoses the relevant faults in the resolver signal generator in real time and obtains the target fault status information. The measuring device reads the diagnosed target fault status information from the target electronic control device in real time and sends it to the host computer. The host computer can verify the angle accuracy and dynamic response performance of the resolver soft decoding based on the target soft decoding angle and the target reference angle. It can also verify the fault diagnosis accuracy of the resolver soft decoding based on the target fault status information and the fault injection command. If the target fault identifier in the target fault status information is the same as the fault identifier in the fault injection command, and the target fault status signal in the target fault status information is the same as the fault status signal in the fault injection command, then the fault diagnosis accuracy of the resolver soft decoding meets the requirements.
[0063] The host computer generates a fault injection command and sends it to the resolver signal generator. The resolver signal generator executes the fault injection command. The target electronic control device acquires the target fault status information of the resolver signal generator in real time. The measuring device reads the target fault status information in the target electronic control device in real time and sends the target fault status information to the host computer. The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command. This allows for multi-faceted and more convenient verification of the resolver soft decoding performance.
[0064] Optionally, the target resolver signal includes: a target resolver Sin+ signal and a target resolver Cos+ signal;
[0065] Correspondingly, the target electronic control equipment acquires the target fault status information of the resolver signal generator in real time, including:
[0066] If the voltage of the target resolver Sin+ signal acquired by the target electronic control equipment is greater than the first voltage threshold and less than the second voltage threshold, or if the voltage of the target resolver Cos+ signal is greater than the first voltage threshold and less than the second voltage threshold, then the target electronic control equipment determines the target fault status information as resolver signal open circuit fault information.
[0067] If the voltage of the target resolver Sin+ signal acquired by the target electronic control device is always at the second voltage threshold, or if the voltage of the target resolver Cos+ signal is always at the second voltage threshold, then the target electronic control device determines the target fault status information as a short fault information of the resolver signal to the power supply.
[0068] If the voltage of the target resolver Sin+ signal acquired by the target electronic control equipment is less than the first voltage threshold, or if the voltage of the target resolver Cos+ signal is less than the first voltage threshold, then the target electronic control equipment determines the target fault status information as a short fault information between the resolver signal and ground.
[0069] The first voltage threshold and the second voltage threshold can be set according to actual needs.
[0070] Specifically, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is greater than the first voltage threshold and less than the second voltage threshold, or if the voltage of the target resolver Cos+ signal is greater than the first voltage threshold and less than the second voltage threshold, then the target electronic control device determines the target fault status information as resolver signal open circuit fault information. For example, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is greater than 2.5V and less than 5V, then the target electronic control device determines the target fault status information as Sin+ open circuit fault information; or if the voltage of the target resolver Cos+ signal is greater than 2.5V and less than 5V, then the target electronic control device determines the target fault status information as Cos+ open circuit fault information.
[0071] Specifically, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is always at the second voltage threshold, or if the voltage of the target resolver Cos+ signal is always at the second voltage threshold, then the target electronic control device determines the target fault status information as a short fault information between the resolver signal and the power supply. For example, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is always 5V, then the target electronic control device determines the target fault status information as a short fault information between Sin+ and the power supply, or if the voltage of the target resolver Cos+ signal is always 5V, then the target electronic control device determines the target fault status information as a short fault information between Cos+ and the power supply.
[0072] Specifically, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is less than the first voltage threshold, or if the voltage of the target resolver Cos+ signal is less than the first voltage threshold, then the target electronic control device determines the target fault status information as a short fault information of the resolver signal to ground. For example, if the voltage of the target resolver Sin+ signal acquired by the target electronic control device is always less than 2.5V, then the target electronic control device determines the target fault status information as a short fault information of Sin+ to ground, or if the voltage of the target resolver Cos+ signal acquired by the target electronic control device is always less than 2.5V, then the target electronic control device determines the target fault status information as a short fault information of Cos+ to ground.
[0073] By using the target electrical control equipment to diagnose the target fault status information of the resolver signal generating equipment in real time based on the voltage value corresponding to the acquired target resolver signal, the function of setting a diagnostic strategy in the target electrical control equipment and then diagnosing the target fault status information in real time is realized, thereby improving the accuracy of determining the target fault status information.
[0074] Optionally, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command, including:
[0075] The host computer generates a resolver soft decoding performance chart based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command, and displays the resolver soft decoding performance chart.
[0076] Specifically, the host computer can generate a resolver soft decoding performance chart based on the real-time acquired target soft decoding angle and target reference angle in chronological order. It can also determine the difference between the real-time acquired target soft decoding angle and target reference angle, and generate a resolver soft decoding performance chart based on the difference in chronological order. The host computer can also graphically display the resolver soft decoding performance based on the target fault identifier and target fault status signal in the target fault status information, and the fault identifier and fault status signal in the fault injection command. This allows for comparison of the target fault identifier, target fault status signal, fault identifier, and fault status signal in the target fault status information, and verifying the accuracy of fault diagnosis in resolver soft decoding.
[0077] The host computer displays a resolver soft decoding performance chart based on the target soft decoding angle, target reference angle, target fault status information, and fault injection command. This chart provides a visual representation of the resolver soft decoding performance, facilitating performance analysis.
[0078] The technical solution of this embodiment involves a host computer generating a rotation speed command and sending the command to the resolver signal generating device. The resolver signal generating device generates a target resolver signal and a target reference signal based on the rotation speed command, and sends these signals to the target electronic control device. The target electronic control device parses the target resolver signal to obtain a target soft-decoding angle and parses the target reference signal to obtain a target reference angle. The measuring device reads the target soft-decoding angle and target reference angle from the target electronic control device in real time according to a preset sampling period and sends them to the host computer. The host computer verifies the resolver soft-decoding performance of the resolver signal generating device based on the target soft-decoding angle and target reference angle. This solves the problem in the prior art where the use of a vehicle's resolver, motor, dedicated decoding chip, and photoelectric encoder to build a test bench for soft-decoding performance leads to excessively high costs, and the limitations imposed by the motor model and speed on the verification of resolver soft-decoding performance. This solution saves on dedicated resolver decoding chips, makes verifying resolver soft-decoding performance more convenient, and improves the accuracy of resolver soft-decoding performance verification.
[0079] Example 2
[0080] Figure 2 This is a schematic diagram of a resolver soft decoding performance verification system according to Embodiment 2 of the present invention. This embodiment is applicable to verifying the resolver soft decoding performance of vehicles, such as... Figure 2 As shown, the resolver soft decoding performance verification system 20 specifically includes: a host computer 210, a resolver signal generator 220, a target electronic control device 230, and a measuring device 240.
[0081] The host computer 210 is connected to the resolver signal generator 220 and the measuring device 240, respectively. The resolver signal generator 220 is connected to the target electronic control device 230, and the target electronic control device 230 is connected to the measuring device 240.
[0082] Optionally, the host computer is used to generate a rotation speed command and send the rotation speed command to the resolver signal generating device;
[0083] The resolver signal generating device is used to generate a target resolver signal and a target reference signal according to the rotation speed command, and send the target resolver signal and the target reference signal to the target electronic control device;
[0084] The target electronic control equipment is used to analyze the target resolver signal to obtain the target soft decoding angle, and to analyze the target reference signal to obtain the target reference angle;
[0085] The measuring device is used to read the target soft decoding angle and the target reference angle in the target electronic control device in real time according to a preset sampling period, and send the target soft decoding angle and the target reference angle to the host computer;
[0086] The host computer is used to verify the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle.
[0087] Optional, also includes:
[0088] The host computer is used to generate fault injection commands and send the fault injection commands to the resolver signal generating device;
[0089] The resolver signal generator is used to execute the fault injection command;
[0090] The target electrical control equipment is used to acquire target fault status information of the resolver signal generator in real time.
[0091] The measuring device is used to read the target fault status information in the target electronic control equipment in real time, and send the target fault status information to the host computer;
[0092] Accordingly, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, including:
[0093] The host computer is used to verify the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command.
[0094] like Figure 2 As shown, the host computer and the resolver signal generator are connected via Ethernet. The host computer sends speed commands and fault injection commands to the resolver signal generator. The target electronic control device sends excitation signals Exc+ and Exc- to the resolver signal generator. Based on the speed commands and excitation signals, the resolver signal generator sends sinusoidal differential signals Sin+, Sin-, cosine differential signals Cos+, and Cos- to the target electronic control device, simultaneously sending ABZ signals. At the same time, the resolver signal generator triggers the corresponding fault according to the fault injection command. The target electronic control device analyzes the sinusoidal differential signals... The target soft-decoding angle and target reference angle are obtained from the signal, cosine differential signal, and ABZ signal. At the same time, the target electronic control equipment diagnoses the target fault status information of the resolver signal generating equipment in real time. The target electronic control equipment sends the target soft-decoding angle, target reference angle, and target fault status information to the measuring equipment through the debugging port DAP. The measuring equipment sends the target soft-decoding angle, target reference angle, and target fault status information to the host computer via Ethernet. The host computer verifies the resolver soft-decoding performance based on the target soft-decoding angle, target reference angle, target fault status information, and fault injection commands.
[0095] The above-described products can perform the methods provided in any embodiment of the present invention and have the corresponding beneficial effects of performing the methods.
[0096] Example 3
[0097] In some embodiments, the revolver soft decoding performance verification method can be implemented as a computer program tangibly contained in a computer-readable storage medium. In some embodiments, part or all of the computer program can be loaded and / or installed on the revolver soft decoding performance verification system via read-only memory and / or communication methods such as network interface cards, modems, and wireless communication. When the computer program is loaded into random access memory and executed on the revolver soft decoding performance verification system, one or more steps of the revolver soft decoding performance verification method described above can be performed.
[0098] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0100] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0101] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0102] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0103] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0104] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0105] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for verifying the performance of resolver soft decoding, characterized in that, An application is made in a resolver soft decoding performance verification system, the resolver soft decoding performance verification system comprising: a host computer, a resolver signal generator, a target electronic control device, and a measuring device, the method comprising: The host computer generates a rotation speed command and sends the rotation speed command to the resolver signal generating device; The resolver signal generating device generates a target resolver signal and a target reference signal according to the rotation speed command, and sends the target resolver signal and the target reference signal to the target electronic control device; The target electronic control equipment analyzes the target resolver signal to obtain the target soft-decoded angle, and analyzes the target reference signal to obtain the target reference angle; The measuring device reads the target soft decoding angle and the target reference angle in the target electronic control device in real time according to the preset sampling period, and sends the target soft decoding angle and the target reference angle to the host computer; The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle; The resolver signal generating device generates a target resolver signal and a target reference signal according to the rotation speed command, including: The resolver signal generator receives the excitation signal sent by the target electronic control equipment; The resolver signal generating device determines the current resolver angle based on the rotation speed command; The resolver signal generating device generates a target resolver signal and a target reference signal corresponding to the current resolver angle based on the current resolver angle and the excitation signal; The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, including: If the rotation speed command is the first command, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the difference between the target soft decoding angle and the target reference angle; wherein, the first command is a rotation speed command within a continuously changing preset range; If the rotation speed command is the second command, the host computer obtains the soft decoding angle change rate based on the target soft decoding angle, and verifies the resolver soft decoding performance of the resolver signal generator based on the soft decoding angle change rate; wherein, the second command is a step speed command.
2. The method according to claim 1, characterized in that, Before the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, the method further includes: The host computer generates a fault injection command and sends the fault injection command to the resolver signal generating device; The resolver signal generator executes the fault injection command; The target electronic control equipment acquires the target fault status information of the resolver signal generator in real time. The measuring device reads the target fault status information in the target electronic control equipment in real time and sends the target fault status information to the host computer. Accordingly, the host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle and the target reference angle, including: The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command.
3. The method according to claim 2, characterized in that, The target refractive signal includes: the target refractive Sin+ signal and the target refractive Cos+ signal; Correspondingly, the target electronic control equipment acquires the target fault status information of the resolver signal generator in real time, including: If the voltage of the target resolver Sin+ signal acquired by the target electronic control equipment is greater than the first voltage threshold and less than the second voltage threshold, or if the voltage of the target resolver Cos+ signal is greater than the first voltage threshold and less than the second voltage threshold, then the target electronic control equipment determines the target fault status information as resolver signal open circuit fault information. If the voltage of the target resolver Sin+ signal acquired by the target electronic control device is always at the second voltage threshold, or if the voltage of the target resolver Cos+ signal is always at the second voltage threshold, then the target electronic control device determines the target fault status information as a short fault information of the resolver signal to the power supply. If the voltage of the target resolver Sin+ signal acquired by the target electronic control equipment is less than the first voltage threshold, or if the voltage of the target resolver Cos+ signal is less than the first voltage threshold, then the target electronic control equipment determines the target fault status information as a short fault information between the resolver signal and ground.
4. The method according to claim 1, characterized in that, The target reference signal is the target ABZ signal.
5. The method according to claim 2, characterized in that, The host computer verifies the resolver soft decoding performance of the resolver signal generator based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command, including: The host computer generates a resolver soft decoding performance chart based on the target soft decoding angle, the target reference angle, the target fault status information, and the fault injection command, and displays the resolver soft decoding performance chart.
6. The method according to claim 2, characterized in that, The fault injection command carries a fault identifier and a fault status signal; The target fault status information includes: target fault identifier and target fault status signal.
7. A system for verifying the performance of a resolver soft decoding algorithm, characterized in that, The resolver soft decoding performance verification system includes: a host computer, a resolver signal generator, a target electronic control device, and a measuring device. The host computer is connected to the resolver signal generator and the measuring device, the resolver signal generator is connected to the target electronic control device, and the target electronic control device is connected to the measuring device. The resolver soft decoding performance verification system is used to perform the resolver soft decoding performance verification method according to any one of claims 1-6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the spinner soft decoding performance verification method according to any one of claims 1-6.