Welcome to the Analog Devices page on element14. Here you can find things such as our latest news, training videos, and product details. Additionally, you can engage with us in our forums.
by Anders Frederiksen & Margaret Naughton
Welcome to the first installment in our blog series exploring the dynamic world of industrial mobile robots. As industries continue to push the boundaries of automation, mobile robots are becoming essential tools for achieving greater efficiency, flexibility, and scalability in manufacturing environments. This series aims to provide a holistic overview of the design challenges and technology innovations that are driving the evolution of industrial mobile robots – from understanding the right robotic fit for your industrial automation needs, to the exploration of critical topics such as localization, navigation, safety and motion control. Experts draw on ADI’s rich history in industrial automation as well as their comprehensive system level knowledge to explore how key enabling technologies are addressing the challenges faced on the path to more efficient and flexible manufacturing capabilities.
The automation of tasks is becoming commonplace in all facets of our lives. Who hasn’t seen their neighbor out mowing their lawn lately but instead has seen a robotic lawnmower happily moving around the garden keeping the grass at bay. This is just one example of where automation in the form of a mobile robot is freeing humans from repetitive tasks. As much as I love not having to mow my lawn, the real impact of mobile robotics and the automation of tasks is most evident in factories and warehouses. Where constant movement of materials and assets within a manufacturing facility is required, here you see the power of what mobile robots can do.
Autonomous Mobile Robots (AMRs) or Automated Guided Vehicles (AGVs) allow disparate parts of a production process to be connected, they can be the go-betweens for humans or other machines facilitating the handoff from one station to another.
You might wonder “why are mobile robots making more of an impact today?” – the answer is simple; firstly, they are more perceptive. Data-driven insights are making a difference in today’s automation revolution. In a true fusion of sensors, data from 3D time of flight cameras, Inertial Measurement Units (IMUs), Lidar, and many more systems are collected and processed to create a real-time awareness of the robots’ surroundings, seamlessly mapping the environment, and the robot’s location within the factory floor.
Secondly, they are efficient. With advancement in real-time perception comes more freedom, and the ability to move around a dynamically changing environment. Warehouse and factory automation is relying on mobile robotics to improve efficiency, manage inventory, and speed up operations. In large warehouses, the management and movement of inventory is streamlined with mobile robots that can scan, locate, and move equipment and products, to ensure a 24 / 7 level of operation to meet demands for fulfilment, in the case of retail and online shopping. Another key factor is that fully automated factories can operate at lower temperatures and light conditions where humans normally would not work but robots “don’t care”.
With predictable movement comes the added benefit of safety. Having mobile robots transferring materials not only brings efficiency but also removes risks inherently involved in certain tasks. A task performed by a forklift controlled by a human has the potential for injury to the driver, to others in the location, and can be unpredictable in its operation. A mobile robot will consistently choose the most efficient way of getting from point A to point B, it will move slowly to its required location and, in the case, where accidents happen, no human is there to be injured. Some tasks may involve hazardous materials, or interaction with dangerous equipment, these scenarios pose no risk to a mobile robot tasked with transporting that material or getting close to a large piece of moving equipment, unlike a human operator tasked with the same job.
Thirdly, today’s robots are more flexible, they can be programmed for new tasks as the needs arise in processes. With the quest for batch-size-of-one production facilities requiring customized processes, mobile robots that can adapt are vital. The Robot Operating System (ROS) which is a powerful developer tool for driver development has enabled many to begin their robotic journeys. Designing algorithms to bring human-like behavior to a mobile robot and the tasks that it must carry out. It’s a fascinating time to be working in the field of robotics with more standardization, more collaboration, and the digital transformation happening in the industrial world – making mobile and mounted robots capable of understanding the environment, interacting, and communicating like never before.
Intelligence at the edge, improvements in battery management, and seamlessly connected factories are all supporting the deployment of mobile robotics. While some tasks are easier than others to automate, when it comes to the world of Industrial Mobile Robotics, the tasks are more complex, the environments more challenging and the intelligence onboard the robot will be key in its seamless integration into a highly automated manufacturing environment. To learn more visit analog.com/mobile-robotics
We examined the power inverter, the power electronics block that sits at the heart of every motor drive, in the previous blog in this series . It is the controllable power element that enables modulation of the power to the motor in order that its speed and torque can be precisely controlled. Control of the inverter is thus critical to the whole operation of the drive. For any closed loop control system we generally need a set point (e.g. the desired operating point) and a measured variable (known as feedback) to compare it with, in order that the control loop can respond to any difference between these. In drives, the key measured variables are typically motor current, and motor position. Other variables such as DC bus voltage are helpful to the operation of the control loop. In this blog, we will examine the current feedback and the DC bus voltage measurement as these occur within the inverter stage described in the last blog, as indicated again in our architecture diagram below.
Figure 1: Servo Drive Architecture Diagram
What is important in the current feedback path is that the measurement is synchronized with the PWM cycle in order that no high frequency switching current ripple is introduced into the feedback path. This requires precise timing of the current sampling in order that it is sampled at the midpoint of the waveform. At this point in the waveform, the instantaneous current is equal to the PWM cycle average, and the measurement will not include any of the PWM switching ripple current. This is illustrated in Figure 2 in a simplified fashion – where the sampling point on the phase current waveform is shown, along with its relative alignment to the PWM high-side switching waveform, and the switching period Tsw. The PWM_SYNC pulse indicates the point at which sampling of the current must be triggered in this scenario (this can also be understood as the center-point of the digital filter in the case where sigma-delta ADC type sampling is used which is not a single-point sample, see [1])
Figure 2: Motor current mid-point sampling
Simultaneous sampling of at least two phases is also required, and usually 14-16 bit measurement resolution is sufficient, with microsecond-level latency so that the control loop can respond within the PWM cycle time (Tsw) or in half the cycle time for higher performance control loops.
There are a few different ways to implement the current measurement – these are shown in Figure 3, and described in the table below, along with some example part numbers to implement the scheme for a 20A application. The most accurate location to measure the motor current is in the actual motor phases, i.e the output lines of the inverter – but this usually requires galvanic isolation, due to the high voltage present at these nodes. Motor current measurements can be inferred from other locations such as inverter leg, and DC bus positive or negative rail – however these measurement locations, while potentially cheaper to implement have other disadvantages associated with them.
Figure 3: Current feedback options
|
Description |
Comments |
Example Parts (20A) |
1 |
Series shunt resistor + high common mode voltage (CMV) op-amp + simultaneous sampling ADC (SSADC) |
Usually used in <100V applications, as high CMV op-amps are usually rated for this range. |
CFN1206AFXR010 (Bourns) AD8410 (ADI) MAX11195(ADI) |
2 |
Series shunt resistor + isolated ADC |
Best solution for noise immunity, size and performance. Bitstream output – needs digital filter |
CFN1206AFXR010 (Bourns) ADuM7701-8 |
3 |
Isolated current sensor + opamp + SSADC |
Good solution for higher current levels where shunt resistors become too inefficient |
HMSR 20-SMS (LEM) AD8515 (ADI) AD7380 (ADI) |
4 |
Leg shunt resistor + opamp + SSADC |
Cheapest solution as no isolation needed if controller is DC bus grounded. Less accurate than in-phase shunt |
CFN1206AFXR010 (Bourns) MAX4477(ADI) MAX11195(ADI) |
High fidelity, precision, current feedback is important to the overall control loop of the inverter. It has a big impact on the overall control bandwidth and torque ripple. Bandwidth translates into faster transient performance of the motor control – which can be very important in applications like pick-and-place machines. Torque ripple translates into effects such as machining quality and finish tolerance in applications like grinding, cutting and polishing.
While current feedback is the most important feedback variable from the inverter to the controller, DC bus voltage can also be valuable as a control feedforward variable. It is not used as a controlled quantity, but because variation in the DC bus voltage impacts the dynamics of the current control loop it can be used as a feedforward variable, which improves the dynamics of the overall current controller. The end result of this is as shown in Figure 4.
Figure 4: Current Controller Block Diagram
The DC bus voltage sense signal can be derived directly from a voltage divider across the DC bus if the controller ground is at the DC bus negative, or else by using an isolated amplifier or ADC (such as the ADuM7701 mentioned previously) connected to the voltage divider output.
The next blog will look at another important feedback variable – position sensing – that is utilized in another part of the motor control system in conjunction with the current and voltage sensing described in this blog post.
References
[1] “Part 1: Optimized Sigma-Delta Modulated Current Measurement for Motor Control” by Jens Sorensen, Dara O’Sullivan, and Shane O’Meara, https://www.analog.com/en/resources/analog-dialogue/articles/optimized-sigma-delta-modulated-current-measurement-for-motor-control.html
The inverter stage is the “muscle” of the drive – a power electronics block that provides the regulated, conditioned power directly to the motor, driving it in the manner required by the end application, providing the amperes needed for torque production, the voltage needed for speed and magnetic flux regulation, and the frequency and phase relationships required for control of the speed and torque in the most efficient manner.
In a previous blog, we finished our consideration of the power supply functions within the variable speed drive (VSD). In this blog, we move into the heart of the drive – the inverter stage. This is highlighted in Figure 1.
Figure 1: Detailed Variable Speed Drive Architecture
The inverter stage fundamentally has two sets of inputs and one set of outputs. The main power input is the DC bus (discussed in the previous blog on the input stage). The main power outputs are the three-phase lines to the motor. The main control inputs are the gate signals to each of the switching power transistors in each leg of the inverter. There are various flavors of an inverter with different numbers of phases, and different power electronics topologies (multi-level, matrix, etc) but the vast majority of inverters on the market are three-phase, two-level inverters as shown in Figure 2.
Figure 2: Inverter Stage Driving Three-Phase Motor
The power transistors in each leg of the inverter are power-switching devices that turn fully on or fully off at a high frequency (usually in the range of 5-20kHz) and a controlled duty cycle or modulation index. They act as quasi-ideal switches that modulate the voltage applied at each motor phase winding and re-create a waveform with low-frequency components (typically sinusoidal) related to the motor velocity (typically in the range DC-1kHz) and instantaneous position and an averaged voltage amplitude related to the motor velocity and rated magnetic flux. This is illustrated in Figure 3. The output inverter phase-to-negative voltage is a pulse width modulated square wave switching between the DC bus voltage and zero. The inherent inductance of the motor windings will filter this signal to result in a motor current at the required low-frequency phase, frequency, and amplitude, with some undesirable switching frequency ripple present.
Figure 3: Inverter phase output voltage and current
The power transistors and associated thermal management (heat sinks, fans) are usually amongst the most expensive components in a VSD and also tend to take up the most space, especially at higher power levels. Power losses in the transistors come from the fact that they are not ideal switches, have a small voltage drop across them when conducting current, and also have non-zero turn-on and turn-off switching times when high voltage and high current within the switch overlap for short periods resulting in switching losses. Historically MOSFETs and IGBTs have dominated the power transistor market, but in recent years, there has been a trend to look to wider band-gap SiC and GaN-based power transistors. These can offer lower switching losses, which can allow for higher switching frequencies or more efficient inverters at the same switching frequency. The incentive for VSD designers to move to SiC and GaN is not quite as compelling as in other application spaces, where moving to higher switching frequencies allows for smaller filters. In VSDs, the filter is the motor winding, so in many applications, a higher switching frequency does not give a huge advantage.
Gate drivers are responsible for converting the logic level signals from the motor controller to signals that have the voltage amplitude and current drive capable of fully controlling the power transistors, and for ensuring that those drive signals are correctly referenced, as illustrated in Figure 4.
Figure 4: Switching function of a gate driver
Other functions provided by the gate drivers can be:
So gate drivers can be very complex devices with full communication interfaces (e.g. ADuM4177), or quite simple devices with only driving functionality (e.g. MAX22700). Whatever features are included in the gate driver, robustness to transients (expressed in specifications such as Common Mode Transient Immunity – CMTI) is an important feature as these devices live in a very noisy domain in the inverter, and need to be able to sit between the quiet, low voltage environment of the motor controller, and the high voltage, high current, noisy domain of the power transistors.
The power inverter is the heart of the VSD and manages the currents and voltages applied to the motor. Safe, robust, efficient switching of the power transistors within the power inverter is an important function of the gate drivers within a VSD. The next blog will consider some of the signals that are measured within the inverter stage to accurately control its operation.
We addressed the requirements and circuits needed within a variable speed drive (VSD) to provide the main control power supply and the power supplies for the inverter electronics – namely gate drivers and current sense circuits in the previous blog in the series.
These are highlighted once again in graphical form in Figure 1, which shows a generalized view of a typical VSD architecture.
Figure 1: Detailed Variable Speed Drive Architecture
This blog addresses two more important power supply topics within the highlighted block of the VSD in Figure 1:
Protection of the main control power supply (usually 24V) from transients and anomaly conditions is extremely important within a VSD. The reason for this is that there are generally two paths for this supply rail. The first path is that described in the last blog in which the 24V control power supply is derived from the AC mains, or high voltage DC bus via an isolated power conversion stage. However, this 24V rail can also usually be supplied directly from an auxiliary power input connected to the VSD. Most automation environments distribute 24V supplies around the control cabinets for a range of control equipment, and the VSD usually taps into this supply. This auxiliary 24V input is usually diode OR’ed with the converter-derived 24V supply, to ensure that only one supply source is active at a time. The advantage of having this available is that even if the AC mains drops out or trips, usually the auxiliary 24V supply will keep running, meaning the VSD’s control electronics can stay energized, resulting in the capability to quickly restart the VSD and not lose any context information. The disadvantage is that the VSD power supplies are now exposed to all of the voltage transients existing on the factory-wide 24V supply system – these can occur through switching loads that excite voltage ringing on distribution cables, lightning events that propagate through the system, electrostatic discharge from nearby electric fields or human contact, as well as electromagnetic interference picked up on cables. Hence the a need for solid protection on this auxiliary supply input.
The VSD functional safety standard IEC 61800-5-2 Annex A (Section B.3.2) shows a recommended Power Supply (PS) and Voltage Monitor (VM) subsystem for such a 24VDC rail. It consists of protection against a variety of common faults such as reverse polarity, overcurrent, and voltage transients.
Figure 2: Recommended auxiliary supply protection per IEC 61800-5-2
As the transients involved can vary in energy level and duration, designing a discrete circuit can be time-consuming and prone to error, and may have poor long-term reliability. Integrated solutions such as Analog Devices Surge Stopper family integrate all of the IEC 61800 requirements, including input reverse polarity detection and protection, overcurrent, short circuit and inrush current detection and protection, and high voltage transient disconnect.
Figure 3: Analog Devices’ Surge Stopper implementation of IEC 61800-5-2
Figure 3 depicts the use of surge stopper solutions from Analog Devices as a potential implementation of IEC61800-5-2 protection recommendations. Components such as the LT4363 or the integrated MOSFET variant LTC4381 can provide robust and reliable protection solutions for the main control power supply.
Downstream of the main control power supply sit the low voltage (<12V) power rails. These are by and large the point-of-load (POL) supplies that directly power the main controller devices (CPU, FPGA), other digital components (memory, transceivers, interfaces) analog circuitry (ADC, DAC, op-amps, etc), and I/O devices and terminals. The specific design of these power architectures is unique to each VSD, and it is difficult to speak in generalizations, but the typical approaches to these power supplies are illustrated in Figure 4 and Figure 5. In Figure 4, single-stage switching regulators are utilized for some key low voltage rails, with downstream low-dropout (LDO) regulator being added for noise-sensitive analog rails or very low current rails at lower voltage levels.
Figure 4: Single-stage switcher approach
In Figure 5, a single intermediate rail is generated (in this case 5V) and this is further stepped down to individual rails as needed by the POL devices. Also shown here, is the potential need for startup sequencing or tracking of supply rails, which can be important in the complex multi-controller systems used in many VSDs.
Figure 5: Multi-stage switcher approach
POL power supply architecture design is complex and involves many tradeoffs related to overall efficiency, cost, space, and noise. Tools such as LTpowerCAD, LTpowerPlanner, and LTSPICE, from Analog Devices can significantly ease the design challenge.
This blog has completed the topic of power supplies within the VSD, underlining the importance of protection circuits for the main control power supply, and touching on the challenges related to POL low voltage supply design. In the next blog post, we will start looking at the main DC/AC inverter stage that implements the power conversion to control the motor itself.
The last blog addressed the AC input stage of the motor drive. This is primarily an AC-DC power conversion stage where the AC input power is converted to a DC level that provides the input to the main three-phase inverter. Several other power domains are required in the drive apart from the high-voltage inverter power domain. Managing these power domains, providing the appropriate ground referencing and isolation, and protecting them from external transients is a critical task of the variable speed drive designer. This blog examines the topic of power management in a variable speed drive and looks at some of the requirements that exist in the different power domains. In the last blog, we introduced a typical architecture diagram, shown here again in Figure 1. This section of the drive under consideration is highlighted.
Figure 1: Detailed Variable Speed Drive Architecture
Firstly, let’s identify the main power supplies within a variable-speed drive. These are:
Each of these power supplies carries out a unique function and has certain requirements associated with it. In this blog, we will look at the first two of these power supply sub-systems.
Main Control Power
The main control power supply is usually a 24V DC bus (although it can sometimes be a 12V bus). This power supply has several functions. It acts as the intermediate DC voltage from which the low-voltage rails are distributed. It can also be used to directly supply the power for any cooling fans that may needed within the drive housing or for other higher voltage loads such as motor brakes, as illustrated in Figure 2.
Figure 2: Main Control Supply
This is mostly derived from the main high-voltage DC bus via an isolated DC-DC converter. In some cases, it can be derived directly from one of the AC input phases. In both of these cases, a flyback converter is a popular choice of power topology. Flybacks are not the nicest power converters to work with! They are quite noisy, and it can be challenging to provide tight control of the output voltage. However, they have some major plusses associated with them in their simplicity (one transistor, one magnetic component) and low cost. In the context of variable speed drives, which can be highly competitive in terms of cost, and which are already huge noise generators, the disadvantages of flyback converters are mostly outweighed by their advantages. An example is shown in Figure 3 of a solution from Analog Devices which has the advantage of providing good control of the output voltage without requiring an optocoupler to provide output voltage feedback to the controller, a “no-opto flyback”. In higher power variable speed drives, a flyback may not be suitable and in this case, half-bridge or full-bridge isolated topologies are generally chosen (e.g. LLC converter).
Figure 3: No-Opto Flyback Converter Example
Inverter Isolated Power Supplies
Isolated power supplies are needed for each of the gate driver units, which are responsible for controlling the inverter power switches. Gate drivers and the inverter will be covered in a later blog but for this blog, the requirement is typically three 12-20V supply rails (sometimes with a negative rail also), referenced to the three motor phase switching nodes and 1 low side supply referenced to DC bus negative rail. The “grounds” for these power supplies are not tied to safety earth, or even to a quiet ground reference, and are rapidly moving over hundreds of volts in the case of the gate driver supplies – hence the need for isolation. Overall this usually translates into four isolated DC-DC converters, normally from the intermediate DC bus to the gate driver supply. These isolated voltage rails are designed to provide the switching voltage levels for the power transistors used in the VSD – whether they are power MOSFETs, IGBTs, or SiC/GaN devices. Any current sensors connected in the motor phases, will also generally require isolated supply voltages – these are often derived directly from the gate driver supplies using an LDO (low dropout) regulator as shown in Figure 4.
Figure 4: Inverter-isolated Supplies
Once again, multi-output flybacks can be a solution for these supplies, although these tend to have quite complex and bulky transformer designs due to the need for so many outputs.
Summary
The power supplies within a variable-speed drive fulfill different functions that are fundamental to the overall operation of the drive. Isolation for reasons of electrical safety, and galvanic separation of voltage reference levels is an important factor in many of these power supplies. The next blog post will continue this topic and will look at the power supplies needed for the various control and output circuitry, as well as the protection needs of the power supply sub-system.