This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technology > FPGA > Optimized motor with integrated FPGA design flow Control design - FPGA Technology

Optimized motor with integrated FPGA design flow Control design

Date: Jun 30, 2020

Click Count: 2052

In industrial energy consumption, more than two-thirds of the energy consumption comes from industrial motor drive equipment. Therefore, in the factory expense, efficient electrical characteristics are very important factors. The use of variable speed drives (VSD) to replace traditional drives in motor drive systems can significantly improve efficiency and save nearly 40% in energy consumption. Altera's FPGA architecture has the advantages of flexibility, performance, integration, and design flow shown in Figure 1, and is an efficient platform for VSD systems.

Adjust performance

Parallel processing and flexible functions further improve the performance and efficiency of various types of motors.

Design integration

Integrated embedded processor, encoder interface, DSP motion control algorithm and industrial network in one device.

Flexible design

Reuse intellectual property (IP) and adopt variable precision DSP blocks. Fixed-point or floating-point precision can be achieved in any part of the control path.

Deterministic delay

Implement motor algorithms and deterministic operations in hardware.Powerful and smooth tools-use modeling tools such as Simulink, combined with Altera's DSP Builder and Qsys or SOPC Builder general integration tools, to optimize all-motor systems in low-cost FPGAs. Although commercial microcontroller units (MCUs) or DSP modules are often used to implement processing and control loops, monitor loads and adjust position, speed, and other driving functions, MCUs are not flexible enough and have limitations in performance. These disadvantages are especially evident in systems with very complex algorithms that require a high processing capacity of millions of instructions per second (MIPS). Moreover, it is difficult to write a code in software to achieve a hardware-optimized system.

FPGA design flow Control design.png

Similarly, although high-end DSP modules can generally handle motor control calculation functions, they are not suitable for systems that need to simultaneously handle high-precision time operations and task-oriented operations, such as memory interfaces, signal interfaces, and filtering, or support industrial Ethernet Network protocol standards, etc.

Performance tuning and integration advantages

Many commercial MCU or DSP modules have a basic unit of universal drive work. However, these devices have limited memory, a narrow analog range, a limited number of pulse width modulation (PWM) channels, and insufficient support for multi-axis systems. The next-generation drive function has higher performance requirements and needs to improve motor efficiency. The platform used should have performance adjustment functions to meet processing and DSP requirements, while being able to flexibly integrate and optimize the system.

FPGAs can easily adjust performance based on application needs. Designers can embed multiple processors in FPGAs or use flexible DSP functions, and then use other logic, custom instructions, or multiple supported industrial network protocols. Designers can use Altera FPGAs to implement multiple embedded processors and control each subsystem independently. The parallel nature of Altera FPGAs supports the integration of building blocks for motor control systems. For example, the Altera Nios ® II embedded processor (32-bit RISC soft core processor) can control various interfaces as well as sensors and encoders. Designers can use variable-precision floating-point DSP blocks to complete field-oriented control (FOC) or other algorithms that require extensive mathematical calculations.

Figure 2 shows the various units that can be integrated into the FPGA to build a "single chip driver" system. The integrated IP function can run in parallel, ensuring that there are no bottlenecks in sequential operation or delayed operation.

This design process supports IP integration, including:

■ Position feedback

Encoders with high-precision position feedback, such as EnDAT, Hiperface, and BiSS, support 10x speed and position data.

■ IGBT control

Use an insulated gate bipolar transistor (IGBT) to switch to the high voltage required to drive an AC motor. Space vector modulation (SVM) technology is used on the gate input of the IGBT to generate the sinusoidal voltage waveform required to drive the motor. IGBT can be 2 or 3 variable.

■ ADC interface

Connect with an external analog-to-digital converter (ADC) to measure the feedback current of the motor. It is easy to optically isolate the Sigmadelta (SD) ADC from the large drive voltage, reduce noise, and allow the FPGA to sample its output for fast and accurate read operations.

■ Network interface

Real-time protocols are implemented in FPGA to adapt to the industrial Ethernet protocol standards required by practical applications, such as Ethernet/IP, PROFINET IO/IRT, and EtherCAT. Industrial Ethernet is more and more widely used in industrial drives. The extensive application of these DSP-based motor control functions, communications, and interface standards makes FPGAs an ideal platform for industrial motor drives.

Handling complex mathematical algorithms

The various drive technologies vary greatly, depending on the type of motor and its application. For example, drives that control electric pumps and fans have different requirements and feedback mechanisms to control CNC motors or packaging equipment. The data collected from these encoders and sensors is fed back to the control system for mathematical calculations to determine the target system load and torque voltage levels.

For example, the commonly used permanent magnet synchronous motor (PMSM) uses the FOC function that requires a large number of mathematical algorithms as part of the control loop algorithm, which is also called vector control. FOC is also frequently used in industrial servo motors that require precise torque control. FOC technology helps reduce the size, cost and power consumption of motors. FOC accurately measures the voltage level and the corresponding motor speed, better controls the speed and torque, and can provide a constant torque even if the load changes. In addition, FOC reduces torque ripple and electromagnetic interference. However, as shown in Figure 3, this mathematical model is very complex, and high computational power is required to run this algorithm at high speed.

The above is the sharing about using the integrated FPGA design flow to optimize the motor control design, and I hope it will help you.


<< Previous: Research on unified forest fire prevention communication platform based on FPGA

<< Next: Thinking trap of FPGA three-stage state machine

Relateds

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.