Check patentability & draft patents in minutes with Patsnap Eureka AI!

SoC-based motor hardware-in-loop simulation method

A simulation method and hardware technology, applied in the direction of instruments, control/adjustment systems, simulators, etc., can solve the problems of slow simulation speed and simulation model, and achieve the effects of short development cycle, high integration and good reliability

Pending Publication Date: 2022-06-10
HUAZHONG PHOTOELECTRIC TECH INST (CHINA SHIPBUILDING IND CORP THE NO 717 INST)
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Using MATLAB / SIMULINK simulation software to build a mathematical model of the system for virtual digital simulation can reflect the working conditions of the actual equipment to a certain extent, but there is often a large deviation from the actual engineering practice and the simulation speed increases with the complexity of the simulation model. increase and slow down

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SoC-based motor hardware-in-loop simulation method
  • SoC-based motor hardware-in-loop simulation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Example 1: See Figure 1 As shown, an SoC-based motor hardware-in-the-loop simulation method consists of the following steps:

[0024] Step A, simulation model construction: in Simulink to build a DC motor control simulation model, including the controller part and DC motor model, DC motor model using simscape physical model construction, set DC motor related parameters, debug controller related parameters, run model simulation, to meet the needs of steady-state corresponding accuracy and dynamic corresponding speed. Exclude nonlinear modules from the model, which ensures that the model can be converted to HDL code while the model results correctly.

[0025] Step B: Generate HDL code: Use the Simscape HDL Workflow Advisor to check the configuration of the solver, check the model HDL compatibility, extract the equation of state of the motor model built from the module in the Simscape library, and discretize the equation of state. The number of iterations of the corresponding ...

Embodiment 2

[0029] Example 2, on the basis of Example 1: the simulation platform employed in the present design, such as Figure 2 Shown includes a semi-physical motor system on the PL side and a motor controller on the PS side. Replace actual high-power inverters, motors, and sensors with signal-level, semi-physical motor systems compared to real,400-physical test benches. Embedded in the power circuit model and motor model at the PL end of the SoC, according to the control instructions issued by the PS side controller, the PWM pulse width signal at the PL end is generated, and after the PL side receives the control instructions, the electrical amount and mechanical amount are obtained based on the mathematical model operation of the motor, such as the current, angle and other signals fed back to the controller in the PS, so as to complete the closed-loop control.

[0030] The present invention has the following technical advantages:

[0031] 1. Build a simulation model of dc motor double clo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a motor hardware-in-loop simulation method based on SoC, and the method comprises the following specific steps: A, building a closed-loop control simulation model of a DC motor in Simulink, adjusting the parameters of a controller in the simulation model, and converting a motor model in the simulation model into a model compatible with HDL after the expected steady-state control precision and dynamic response speed are reached; step B, calling an HDL Coder toolkit to convert the direct current motor model with parameters into Verilog HDL codes, packaging the direct current motor model into an IP core of an AXI interface, and integrating the IP core at a PL end of the SoC; and step C, deploying a motor model IP core at a PL side and a PS side to construct a control algorithm, and carrying out HIL simulation on the direct current motor. According to the method, early algorithm design and test can be conveniently carried out on the motor controller, a real motor is not needed, the cost is low, and the research and development period is short.

Description

Technical field [0001] The present invention relates to the field of servo drive control technology, specifically a soC-based motor hardware-in-the-loop simulation method. Background [0002] As a power output component, the motor plays a very important role in the process of modern industrialization. Research on the control, testing and practical application of motors has been a major concern. Before the actual equipment application of the motor control system, it is often necessary to carry out a large number of tests, and the traditional test method is to build a complete set of prototype equipment platform containing controllers, motors and loads, etc., and conduct relevant experiments on this platform. This method is costly, has a long execution cycle, poor operability and repeatability, and there is a certain test hazard in high-power motor control applications. With the development of digital computers, simulation applications based on system-level models are beginning to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B17/02
CPCG05B17/02
Inventor 肖从斌江涛陈强黎凡
Owner HUAZHONG PHOTOELECTRIC TECH INST (CHINA SHIPBUILDING IND CORP THE NO 717 INST)
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More