Category: Blog

AQ: What if

Many years ago we used to call this the “what ifs?”. Part of the design phase is when we model what we think the system is meant to do. Just as important is how the system is meant to react when things are not going well, the abnormal situations or what ifs?

Your client will tell you how their machine or process works, well he will describe how he thinks it works. This is OK as a starting point but we need to consider the scenarios of “what If” something goes wrong? Scenarios is also a good word as scenarios paint a situation that can be described to the customer for his comment.

For example on a compressor control project what if the lube oil pump fails on the compressor, how do we alarm this to the Operator, should we trip the compressor or do we start the back-up oil pump (if there is one). As you look at the system you can pick out various components and generate likely scenarios that you can discuss with the client. Using this approach gives more of a real world feel to your client meetings that are likely to generate a deeper insight into how the system is meant to work.

All scenarios do not have to be centered around abnormal situations but can also relate to things that need to be considered as part of normal operation. For example we might look at how a duty/standby pump system works? One scenario might relate to duty pump failure but another scenario might consider rotating the duty and standby pumps to even out wear and tear? You might also have manual mode and auto mode scenarios to consider?

What you have to remember is that most clients are not control systems experts. They might and probably will struggle with flow charts or any other pseudo code expression type formats that describe how you think the client’s system is meant to work? You have to tailor your approach to match your audience and that is also very important when you produce your documentation, you do not want to lose valuable information just because the client doesn’t fully understand what you are trying to tell him? Also make sure that you spend time with your client. Walk the client through your design, do this face to face as much as possible and do it more than once! Getting feedback on a regular basis helps to eliminate the dreaded word “REWORK”! Also taking this partnership approach builds a good relationship with your client.

For the machine builders your client might be in your own company? Remember same company or not they are your client and your success in no small way depends on your relationship with them.

Add the modes of operation and abnormal situations to your system model and develop the methods of how you will flag these situations to the Operator and Maintenance Engineer. Alarm Management is dealt with by EEMUA 191. If you do nothing else then read this document it will help you to set up alarm workshops, alarm reviews, alarm prioritization and rationalization and how to develop an effective alarm management structure for your system.

AQ: DC Drives Basic Operation Principles

DC drives vary the speed of DC motors with greater efficiency & speed regulation than resistor control circuits. Since the speed of a DC motor is directly proportional to armature voltage & inversely proportional to field current, either armature voltage or field current can be used to control speed. To change the direction of rotation of a DC motor, either the armature polarity can be reversed, or the field polarity can be reversed.

DC drive diagram

The block diagram of a DC drive system made up of a DC motor & an electronic drive controller. The shunt motor is constructed with armature & field windings. A common classification of DC motors is by the type of field excitation winding. Shunt wound DC motors are the most commonly used type for adjustable-speed control. In most instances the shunt field winding is excited, as shown, with a constant-level voltage from the controller. The SCR (silicon controller rectifier), also known as thyristor, of the power conversion section converts the fixed-voltage alternating current (AC) of the power source to an adjustable-voltage, controlled direct current (DC) output which is applied to the armature of a DC motor. Speed control is achieved by regulating the armature voltage to the motor. Motor speed is directly proportional to the voltage applied to the armature.

The main function of a DC drive is to convert the fixed applied AC voltage into a variable rectified DC voltage.

SCR switching semiconductors provide a convenient method of accomplishing this. They provide a controllable power output by phase angle control. The firing angle, or point in time where the SCR is triggered into conduction, is synchronized with the phase rotation of the AC power source. The amount of rectified DC voltage is controlled by timing the input pulse current to the gate. Applying gate current near the beginning of the sine-wave cycle results in a higher aver age voltage applied to the motor armature. Gate current applied later in the cycle results in a lower average DC output voltage. The effect is similar to a very high speed switch, capable of being turned on & off at an infinite number of points within each half-cycle. This occurs at a rate of 60 times a second on a 60-Hz line, to deliver a precise amount of power to the motor.

AQ: System operation

Our PSA unit (meaning Pressure Swing Adsorption) uses 5 adsorption vessels. The process itself is a batch process, but in order to run in a continuous process plant, each of the 5 vessels can complete all the adsorption process but at the same time, each of them is in a different status of the sequence (i.e. gas in, gas out, adsorption, pressurizing, depressurizing, cleaning, etc). The sequence is mainly controlled by time and pressure condition in each step of the sequence, by managing several valves (I think 5 by vessel, but I’m not sure right now).

Panel operator experienced some problems with valve 1 (gas entry) in vessel 2 because it should open but immediately it received the close command. Instruments technician check that orders coming from the DCS were OK, and also check the valves by injecting the open order, so, they and operation staff concluded that “the program has some kind of problem”.

Some time ago, I spent a lot of time studying the operation manual of this unit and the code written to control it and I wrote a document merging both knowledge. In page 9, I described a condition (an exclusive pressure difference between vessel and gas coming in the vessel) avoiding valve 1 opening during adsorption stage. I explained this condition to operation staff and they confirm that the values were right and that the excessive delta P really exist so, the decided to check back the valve 1 (already checked), discovering a problem (the stem moved, but the disk not).

Conclusion:
– If operation staff know properly the process, they know about this condition, but this could be solved with a properly designed HMI (i.e. including and alarm indicating “valve 1 closed by excessive deltaP”).
– The initial inspection of the valve didn’t show anything wrong, but stem and disk were disconnected.
– If we didn’t dig into the code, this problem, solved in less of an hour could take several hours.

AQ: How is frequency inverter saving energy?

This studies show that up to 80 percent of the energy from the power source to the industrial consumer can be lost. Energy conversion—converting energy into useful work via motors, heat exchangers, process heaters, pumps, motors, fans, compressors, and so forth—represents a large opportunity for energy savings in manufacturing. Industrial electric motor-driven systems represent the largest single category of electricity use in China.

The industrial sector consumes approximately one-third of the energy used in China (see Fig. 1).

Studies show that up to 80 percent of the energy from the power source to the industrial consumer is lost through the transition of raw material to the point of useful output—much of that at the point of conversion from electrical to mechanical output (see Fig. 2).

Rising energy costs, a sense of environmental responsibility, government regulation, and a need for energy reliability are driving efforts for energy efficiency in manufacturing.

Energy is lost primarily in three areas:

  • Generation
  • Distribution
  • Conversion

The third area, energy conversion—converting energy into useful work via motors, heat exchangers, process heaters, pumps, motors, fans, compressors, and so forth—represents a large opportunity for energy savings in manufacturing.

Industrial electric motor-driven systems represent the largest single category of electricity use in the China—more than 65 percent of power demand in industry. Consequently, motor-driven systems offer the highest energy savings potential in the industrial segment.

Supporting this statistic, studies show that 97 to 99 percent of motor life cycle costs are expended on the energy that the motor uses. This fact alone should be a driving motivation for companies to perform a periodic energy consumption analysis on the motor systems they use in their facilities.

Inefficient and ineffective control methods in two areas waste motor systems’ energy:

  • Mechanical flow control (pumps, fans, compressors)
  • Energy recovery (regeneration of braking energy or inertial energy)

An inverter is an effective tool in conserving and recovering energy in motor systems.

What Is a frequency inverter? Why Use It?

A frequency inverter controls AC motor speed (see Fig. 3). The frequency inverter converts the fixed supply frequency (60 Hz) to a variable-frequency, variable-voltage output to enable precise motor speed control. Many frequency inverters even have the potential to return energy to the power grid through their regenerative capability.

A frequency inverter’s precise process and power factor control and energy optimization result in several advantages:

  • Lower energy consumption saves money
  • Decreased mechanical stress reduces maintenance costs and downtime
  • Reduced mechanical wear and precise control produces more accurate products.
  • Lower consumption lowers carbon emissions and helps reduce negative impact on the environment.
  • Lower consumption qualifies for tax incentives, utility rebates, and, with some companies, energy savings finance programs, which short

AQ: How to improve troubleshooting techniques?

The guy asked for suggestions on how to improve troubleshooting techniques. I mentioned this earlier as a “suggestion” for starters but the idea got lost in all the complaining and totally irrelevant responses like the one above.

Proper lay out of inputs and outputs and a “Troubleshooting guide” or flow chart. I have an Aris cablem modem and Netgear wireless router for internet If loose Internet service I can do three things.

A. Pick up the phone, call tech support and wait two days for someone to show up

B. Take them apart and ‘DIG INTO THE PROGRAMMING”

C. Read the instructions someone took the time to write. Before I can get an output identified by the LEDs, I have to have the correct inputs identified by the LEDs. It’s a waste of time tearing in the “programming” over a loose cable connection somewhere. Same for the wireless router and a bad LAN cable connection or network service issue on the computer. I’m already familiar with the proper LEDs for normal operation. When one goes out it gives me an idea where to start looking before even opening up the instructions which I’ve downloaded in PDFs for quick access to their “troubleshooting” guides. Maybe the service is off line – there is an LED for that. No TVs either, no service or common upstream cable connection problem, no-brainier. The first thing a Xfinity service tech does is go outside and look for a signal at the house customer jack. It’s either in his cable or my house. Once their cable had to be replaced. It mysteriously got damaged right after AT&T dug a big hole in my backyard to upgrade their Uverse service – go figure.

In order to get something to operate output wise, you need a certain amount of inputs to get it. If you don’t have a particular output, then look at the trouble shooing guide and see what inputs are required for it. If there are four direct sensor inputs required for a particular output, group them together.

Grouping internal interlocks together helps also when digging into a program like ladder logic instead of hopping through pages of diagrams or text to find everything it takes to get one output. It’s a common program development issues to throw in ideas as you program depending on where you are sequentially.

AQ: Non-regenerative & Regenerative DC Drives

Non-regenerative DC drives, also known as single-quadrant drives, rotate in one direction only & they have no inherent braking capabilities. Stopping the motor is done by removing voltage & allowing the motor to coast to a stop. Typically nonregenerative drives operate high friction loads such as mixers, where the load exerts a strong natural brake. In applications where supplemental quick braking and/or motor reversing is required, dynamic braking & forward & reverse circuitry, may be provided by external means.

Dynamic braking (DB) requires the addition of a DB contactor & DB resistors that dissipate the braking energy as heat. The addition of an electromechanical (magnetic) reversing contactor or manual switch permits the reversing of the controller polarity & therefore the direction of rotation of the motor armature. Field contactor reverse kits can also be installed to provide bidirectional rotation by reversing the polarity of the shunt field.

All DC motors are DC generators as well. The term regenerative describes the ability of the drive under braking conditions to convert the generated energy of the motor into electrical energy, which is returned (or regenerated) to the AC power source. Regenerative DC drives operate in all four quadrants purely electronically, without the use of electromechanical switching contactors:

  • Quadrant I -Drive delivers forward torque, motor rotating forward (motoring mode of operation). This is the normal condition, providing power to a load similar to that of a motor starter.
  • Quadrant II -Drive delivers reverse torque, motor rotating forward (generating mode of operation). This is a regenerative condition, where the drive itself is absorbing power from a load, such as an overhauling load or deceleration.
  • Quadrant III -Drive delivers reverse torque, motor rotating reverse (motoring mode of opera tion). Basically the same as in quadrant I & similar to a reversing starter.
  • Quadrant IV -Drive delivers forward torque with motor rotating in reverse (generating mode of operation). This is the other regenerative condition, where again, the drive is absorbing power from the load in order to bring the motor towards zero speed.

A single-quadrant nonregenerative DC drive has one power bridge with six SCRs used to control the applied voltage level to the motor armature. The nonregenerative drive can run in only motoring mode, & would require physically switching armature or field leads to reverse the torque direction. A four-quadrant regenerative DC drive will have two complete sets of power bridges, with 12 con trolled SCRs connected in inverse parallel. One bridge controls forward torque, & the other controls reverse torque. During operation, only one set of bridges is active at a time. For straight motoring in the forward direction, the forward bridge would be in control of the power to the motor. For straight motoring in the reverse direction, the reverse bridge is in control.

Cranes & hoists use DC regenerative drives to hold back “overhauling loads” such as a raised weight, or a machine’s flywheel. Whenever the inertia of the motor load is greater than the motor rotor inertia, the load will be driving the motor & is called an over hauling load. Overhauling load results in generator action within the motor, which will cause the motor to send cur rent into the drive. Regenerative braking is summarized as follows:

  • During normal forward operation, the forward bridge acts as a rectifier, supplying power to the motor. During this period gate pulses are withheld from reverse bridge so that it’s inactive.
  • When motor speed is reduced, the control circuit withholds the pulses to the forward bridge & simultaneously applies pulses to reverse b

AQ: Machine tool

Ahh I see the words machine tool and shop floor; now I can see where you guys are coming from. The type of machines that you talk about were controlled by relay logic and then when technology arrived the electrical drawings were probably “converted” into ladder logic. The techs had lots to do because you cannot translate relay based systems into ladder logic 100% successfully as they behave differently.

The guys doing this work are just that programmers. They are probably NOT software engineers and are closer to the shop floor techs who are fiddling about with your machines.

I can and have designed many control systems for automotive type machines such as hobbing machines, milling and borers. Very easy code to write if you do not translate the relay logic directly but use the existing documentation as a reference. All of the systems that I did work really well. I did some similar type of machines in a pharmaceutical plant but that was after another company was kicked out after failing to make the machines work. I had to redesign the whole control philosophy as the machine tool world methods used were really a bad fit for the intended application.

But that is only one facet of the work that we Industrial Automation Engineers do. I work in many different industries where the demands for quality deigned, controlled and maintained systems is paramount. We go through proper project life cycles and we deal with the project from inception through design, build, test and commissioning. We even do the maintenance of the systems. We do not sit in Ivory Towers but do the work at the customer site no matter where that is on the planet.

Electrical engineers are tasked with doing all things electrical and we are tasked with all things control. Programming, that is writing the actual code is only one part of what we do and not necessarily the most time consuming part.

I am here in Kazakhstan at the sharp end of a multi-billion dollar project a long way from any ivory tower. I fix other engineers software too, why? Because the vendor may use offshore resources to code much of the systems that are installed at site. Kazakhstan has extreme Summers (up to 60degC) and Winters (down to -50degC), most of the people are friendly but English is not so prevalent. A long way from your shop floor environment. Far more dangerous too as the plant processes H2S or will when first Oil & Gas comes onshore.

Here I have supported technicians performing loop checks and other engineers doing logic tests. I can diagnose many loop problems without even looking in the code but just by looking at what is happening. I have found that if a loop doesn’t work then the techs approach us first as a one stop shop to give them an answer rather than actually trouble shooting the loop themselves.

I said to you guys before you need to get out and look at other industries and see what is going on in the rest of the world. Much of what I have seen would go a long way to improving your world too! Engineers like myself are far away from the “programmers” you have.

AQ: Calculate Capacitors Power

In general, to calculate the necessary Power of Capacitors, we can use the following formula:

Qc = P ( tgφ1 – tgφ2 )

where :
– Qc : the Power of Capacitors.
– P : the total Power of Loads that are running during normal working.
– tgφ1 : the tangent of φ1 ( the angel between current & voltage before compensation )
– tgφ2 : the tangent of φ2 ( the angel between current & voltage after compensation )

In all cases, we should take into consideration the following points :
1- It will be better to oversize the calculated Qc by ” 10 to 15% “.

2- Be careful when compensate the PF of a Motor to avoid the Over-excitation case, but we can verify it by using the following formula : Qc (motor) = 2 x P (1 – Cos φ ), where :
– P : the Motor’s Power.
– Cos φ : the PF of the motor before compensation.

3- After calculation of Qc, the choosing of Capacitors type will be done according to the Harmonic Distortion percentage. Noting that in some case where the Harmonic Distortion percentage is high, we should use ” Detuned Reactors ” with Capacitors, and when this percentage is too high, we can’t install the Capacitors before minimizing or eliminating the harmonics that their percentages are too high.

AQ: The noise of variable frequency drive fed motors

The rotating electrical machines have basically three noise sources:

  • The ventilation system
  • The rolling bearings
  • Electromagnetic excitation

Bearings in perfect conditions produce practically despicable noise, in comparison with other sources of the noise emitted by the motor.

In motors fed by sinusoidal supply, especially those with reduced pole numbers (higher speeds), the main source of noise is the ventilation system. On the other hand, in motors of higher polarities and lower operation speeds often stands out the electromagnetic noise.

However, in variable frequency drive (VFD) systems, especially at low operating speeds when ventilation is reduced, the electromagnetically excited noise can be the main source of noise whatever the motor polarity, owing to the harmonic content of the voltage.
Higher switching frequencies tend to reduce the magnetically excited noise of the motor.

Criteria regarding the noise emitted by motors on variable frequency drive applications
Results of laboratory tests (4 point measurements accomplished in semi-anechoic acoustic chamber with the variable frequency drive out of the room) realized with several motors and variable frequency drives using different switching frequencies have shown that the three phase induction motors, when fed by VFDs and operating at base speed (typically 50 or 60 Hz), present and increment on the sound pressure level of 11 dB(A) at most.

Considerations about the noise of variable frequency drive fed motors

  • NEMA MG1 Part 30 – the sound level is dependent upon the construction of the motor, the number of poles, the pulse pattern and pulse frequency, and the fundamental frequency and resulting speed of the motor. The response frequencies of the driven equipment should also be considered. Sound levels produced thus will be higher than published values when operated above rated speed. At certain frequencies mechanical resonance or magnetic noise may cause a significant increase in sound levels, while a change in frequency and/or voltage may reduce the sound level. Experience has shown that (…) an increase of up to 5 to 15 dB(A) can occur at rated frequency in the case when motors are used with PWM controls. For other frequencies the noise levels may be higher.
  • IEC 60034-17 – due to harmonics the excitation mechanism for magnetic noise becomes more complex than for operation on a sinusoidal supply. (…) In particular, resonance may occur at some points in the speed range. (…) According to experience the increase at constant flux is likely to be in the range 1 to 15 dB(A).
  • IEC 60034-25 – the variable frequency drive and its function creates three variables which directly affect emitted noise: changes in rotational speed, which influence bearings and lubrication, ventilation and any other features that are affected by temperature changes; motor power supply frequency and harmonic content which have a large effect on the magnetic noise excited in the stator core and, to a lesser extent, on the bearing noise; and torsional oscillations due to the interaction of waves of different frequencies of the magnetic field in the motor air gap. (…) The increment of noise of motors supplied from PWM controlled variable frequency drives compared with the same motor supplied from a sinusoidal supply is relatively small (a few dB(A) only) when the switching frequency is above about 3 kHz. For lower switching frequencies, the noise increase may be tremendous (up to 15 dB(A) by experience). In some circumstances, it may be necessary to create “skip bands” in the operating speed range in order

AQ: TIA portal, a nightmare!

I have been using TIA since it was launched and it has come on leaps and bounds since it was first launched. Its a great tool and as already mentioned it has its bad aspects but it also has its good aspects. The biggest improvement (in my opinion) is the drag and drop functionality in the WinCC part and the code editor. Just need a field PG to be launched with screens to fold out so you can have multiple screen!!

They are moving in the right direction and it was always going to be resource hungry WinCC was bad enough for that in previous versions.

New improvements make a long list but one of the most recent is being able to switch a DB to and from optimised. How many times in previous versions did I forget to check the box then have to delete the DB and create it again. PID loop tuning function within TIA is useful and if you look on the Siemens Automation website (UK/Europe) the example files are growing all the time and they have some great examples that can be integrated easily in to application, I have used the ASi maintenance and monitoring example which was very well put together along with a few others. Even if you don’t use them but need some pointers on which way to go they are a good starting point.

I could list the gripes I have, but all in all its coming together nicely, just need a decent well priced Field PG to run it on £5K is a bit steep for an M4 which maybe no great improvement on the M3 which, in my opinion, wasn’t very good.

Few months ago I had a project with TIA Portal v11. Hardware targets: Simatic S7-300 and Simatic Comfort Panels.
Compared to RSLogix 5000 / FactoryTalk View for example, TIA Portal is a nightmare, especially on commissioning and start-up, when the pressure is huge and you have to work FAST.

The main problems:
1. Very slow on every operation (compiling, downloading, on-line editing, project printing/documenting).
2. Requires a very high resolution display (it is almost unusable on a 1366×768 laptop)

3. Weird behavior (HMI display alterations, crashes).