Category: Iacdrive_blog

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.

DC Drives Field Voltage Control

To control the speed of a DC motor below its base speed, the voltage applied to the armature of the motor is varied while the field voltage is held at its nominal value. To control the speed above its base speed, the armature is supplied with its rated voltage & the field is weakened. For this reason, an additional variable-voltage field regulator is needed for DC drives with field voltage control. Field weakening is the act of reducing the current applied to a DC motor shunt field. This action weakens the strength of the magnetic field & thereby increases the motor speed. The weakened field reduces the counter emf generated in the armature; therefore the armature current & the speed increase. Field loss detection must be pro vided for all DC drives to protect against excessive motor speed due to loss of motor field current.

DC drives with motor field control provide coordinated automatic armature & field voltage control for extended speed range & constant-horsepower applications. The motor is armature-voltage-controlled for constant-torque, variable-horsepower operation to base speed, where it s transferred to field control for constant-horsepower, variable-torque operation to motor maximum speed.

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.

Three Phase Input DC Drive

Controlled bridge rectifiers are not limited to single-phase designs. In most commercial & industrial control systems, AC power is available in three-phase form for maxi mum horsepower & efficiency. Typically six SCRs are connected together, to make a three-phase fully controlled rectifier. This three-phase bridge rectifier circuit has three legs, each phase connected to one of the three phase voltages. It can be seen that the bridge circuit has two halves, the positive half consisting of the SCRs S1, S3, & S5 & the negative half consisting of the SCRs S2, S4, & S6. At any time when there is current flow, one SCR from each half conducts.

The variable DC output voltage from the rectifier sup plies voltage to the motor armature in order to run it at the desired speed. The gate firing angle of the SCRs in the bridge rectifier, along with the maximum positive & negative values of the AC sine wave, determine the value of the motor armature voltage. The motor draws current from the three-phase AC power source in proportion to the amount of mechanical load applied to the motor shaft. Unlike AC drives, bypassing the drive to run the motor is not possible.

Larger-horsepower three-phase drive panels often consist of a power module mounted on a chassis with line fuses & disconnect. This design simplifies mounting & makes connecting power cables easier as well. A three phase input DC drive with the following drive power specifications:

  • Nominal line voltage for three-phase-230/460 V AC
  • Voltage variation-+15%, -10% of nominal
  • Nominal line frequency-50 or 60 cycles per second
  • DC voltage rating 230 V AC line: Armature voltage 240 V DC; field voltage 150 V DC
  • DC voltage rating 460 V AC line: Armature voltage 500 V DC; field voltage 300 V DC

Floor programmer and office programmer

The biggest differences between the floor programmer and the office programmer is often a piece of paper (knowledge and experience do not replace a piece of paper in the mind of HR person that has no understanding of the position they are seeking to fill) and that the floor programmer must produce a working machine. Also many an excellent programmer will never put up with the office politics seen in many companies. To appear right for me is worthless when being right is the goal. In a physical world it can be shown that a program is right or wrong because the machine works or does not. In the theory driven world of the office that can not happen, so appearing correct as well as being correct is necessary.

If you are the best programmer in your company or the worse. If you are the worse one then maybe you are correct. But if you are the best then please take a close look at the worse programmer’s work and tell us if there is not a need for some improvement.

I have cursed out more than one officer programmer for missing logic which on the floor is easy to see is necessary. The office programmer was more than once, myself. Making logic to control machine in theory is far more difficult a task than modifying that logic on a real running machine. Maybe your imagination and intelligence can create a theoretical image that matches the physical one.

Many office programmers are not up to that level. They lack the intelligence, imagination, experience or time to take an offline program that can be loaded and run a machine without help. But no fear, most start-up techs cannot debug a machine after the build is complete and remove all issues that will surface when the machine enters a customer’s plant and full production.

A good program will grow as time passes. To fill in the gaps in the software, to change the design from what design intended to what production requires and to cover the design changes as product models evolve. Static is not the floor condition of a good company, products and machines evolve and grow. More reliable, durable, quicker tool changes or device swaps, lower cycle times or more part types. There are examples of logic once written it never changes but that is not the whole of the world just one part of it.

Single Phase Input DC Drive

Armature voltage-controlled DC drives are constant torque drives, capable of rated motor torque at any speed up to rated motor base speed. Fully controlled rectifier circuits are built with SCRs. The SCRs rectify the supply voltage (changing the voltage from AC to DC) as well as controlling the output DC voltage level. In this circuit, silicon controlled rectifiers S1 & S3 are triggered into conduction on the positive half of the input waveform & S2 & S4 on the negative half. Freewheeling diode D (also called a suppressor diode) is connected across the armature to provide a path for release of energy stored in the armature when the applied voltage drops to zero. A separate diode bridge rectifier is used to convert the alternating current to a constant direct current required for the field circuit.

Single-phase controlled bridge rectifiers are commonly used in the smaller-horsepower DC drives. The terminal diagram shows the input & output power & control terminations available for use with the drive. Features include:

  • Speed or torque control
  • Tachometer input
  • Fused input
  • Speed or current monitoring (0-10 V DC or 4-20 mA)

“critical” operation with a double-action cylinder, hydraulic or pneumatic

If I had a “critical” operation with a double-action cylinder, hydraulic or pneumatic, I’d put proximity sensors on both ends of travel, typically with small metal “marker” on the shaft. Each input “in series” with the “output” to each coil, time delayed to give the cylinder a chance to reach its destination. The “timer” feeds the “alarm.” If you want to spend the money for a pressure switch (or transducer) on each solenoid output, that’s a plus.

Now you can tell if there was an output to the solenoid from internal programming, if not another interlock prevented it from actuating. If there is an output to the solenoid and no pressure, then the signal did not reach the coil (loose wire somewhere), if it did the coil may be bad, if the coil is good and no pressure, the solenoid may be stuck or no pressure to it from another supervised failure or interlock. If there was sufficient pressure and the cylinder travel not reached, then the cylinder is stuck.

As a technician crawling over all kinds of other people’s equipment since 1975, I could figure out a lot of this from an old relay logic or TTL control system. A VOM confirms whether there is an output to the correct solenoid at the control panel terminals. This lets you now which direction to head next. If there is no power, it’s “upstream” of there, another interlock input that needs to be confirmed, time to dig into the “program.”

If there is power and the cylinder does not move it’s a problem outside of those terminals and the control system. I’d remove the wiring and check for coil resistance, confirming the coil and field wiring integrity while still at the panel. If everything checks out then go to the cylinder and see if a pressure gauge shows pressure on the line with the coil energized – presuming there is pressure to the valve. No pressure would be another “input alarm” from another pressure switch. If there is pressure and power to the valve and no pressure, the valve is bad. If there is pressure on the output side and the cylinder does not move – the cylinder is stuck or mechanically overloaded.

I&E “technicians” may know a lot about programming and code, but if they don’t know how a piece of equipment operates I/O wise then they don’t have a clue where to start looking. Then I guess you need all the sensors and step by step programmed sequences to “spell it out” for them on a screen. A device sequence “flow chart” may help run I/Os out for something like above. I/O status lights on the terminals like PLCs can easily confirm at a glance if you have the proper inputs for a sequence to complete, then you should have the proper outputs. Most output failures are a result of correct missing inputs. The more sensors you’re willing to install, the more the sequence can be monitored and spelled out on an HMI.

From a factory tech support in another location, being able to access the equipment remotely is a huge plus, whether directly through modem, or similar, or indirectly through the local technician’s computer to yours i.e. REMOTE ASSISTANCE. A tablet PC is a huge plus with IOMs, schematics and all kinds of info you can hold in one hand while trouble-shooting.

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.

Design and Implementation

The owner of the system should provide clear requirements of what the system should do and should define what constitutes “maintainability” of the system. This places a burden on the owner of the system to consider the full life-cycle of the system.

1. You need good design documentation.

2. All source code should be well-documented.

3. Coders should be trained on the techniques used and mentored,

4. The use of “templates” helps ensure that coders and maintenance alike are familiar with routine functions.

5. The HMI should provide clear indication of faults and interlocks.

6. The HMI should provide clear indication of equipment statuses.

7. Any code that is hidden must “work as advertised”. This means that it must be completely and unambiguously documented for all inputs, outputs, statuses, and configurations. It must be thoroughly tested and warranted by the vendor,

8. All code should be well-tested. (I have found that the first line of defense is to simply read the code!)

Post-Startup
1. The owner should have a change-control procedure to manage modifications.

2. All users and maintenance support personnel should have adequate training. Training needs to be periodically refreshed as it can become stale through lack of use.

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