Category: Blog

AQ: Electronic industry standards

You know standards for the electronic industry have been around for decades, so each of the interfaces we have discussed does have a standard. Those standards may be revised but will still be used by all segments of our respective engineering disciplines.

Note for example back in the early 1990s many big companies HP, Boeing, Honeywell … formed a standards board and developed the Software standards( basic recommendations) for software practices for programming of flight systems. It was not the government it was the industry that took on the effort. The recommendations are still used. So an effort is first needed by a meeting of the minds in the industry.

Now we have plenty of standards on the books for the industry, RS-422, RS-232, 802.1 … and the list goes on and on. The point is most of the companies are conforming to standards that may have been the preferred method when that product was developed.

In the discussion I have not seen what the top preferred interfaces are. I know in many of the developments I have been involved in we ended up using protocol converters, Rs-232 to 802.3, 422 to 485 … that’s the way it’s been in control systems, monitoring systems, Launch systems and factory automation. And in a few projects no technology existed for the interface layer, had to build from scratch. Note the evolution of ARPA net to Ethernet to the many variations that are available today.

So for the short hall if I wanted to be more comparative I would use multiple interfaces on my hardware say usb, wireless, and 422. Note for new developments. With the advancement in PSOCS and other forms of program logic interface solutions are available to the engineer.

Start the interface standards with the system engineers and a little research on the characteristic of the many automation components and select the ones that comply with the goals and the ones that don’t will eventually become obsolete. If anything, work on some system standards. If the customer is defining the system loan him a systems engineer, and make the case for the devises your system or box can support, if you find your product falls short build a new version. Team with other automation companies on projects and learn from each other. It’s easy to find issues as to why you can’t succeed because of product differences, so break down the issues into manageable objectives and solve one issue at a time. As they say divide and concur.

AQ: Spread spectrum of power supply

Having lead design efforts for very sensitive instrumentation with high frequency A/D converters with greater than 20-bits of resolution my viewpoint is mainly concerned about the noise in the regulated supply output. In these designs fairly typical 50-mV peak-to-peak noise is totally unacceptable and some customers cannot stand 1-uVrms noise at certain frequencies. While spread spectrum may help the power supply designer it may also raise havoc with the user of the regulated output. The amplitude of the switching spikes (input or output) as some have said, are not reduced by dithering the switching frequency. Sometimes locking the switching time, where in time, it does not interfere with the circuits using the output can help. Some may also think this is cheating but as was said it is very difficult getting rid of most 10megHz noise. This extremely difficulty applies for many of the harmonics above 100kHz. (For beginners who think that being 20 to 100 times higher than the LC filter will reduce the switching noise by 40 to 200 are sadly wrong as once you pass 100kHz many capacitors and inductors have parasitics making it very hard to get high attenuation in one LC stage and often there is not room for more. More inductors often introduce more losses as well.) We should be reducing all the noise we can and then use other techniques as necessary. With spread spectrum becoming more popular we may soon see regulation on its total noise output as well.

One form of troublesome noise is common mode noise coming out of the power inputs to the power supply. If this is present on the power input to the power supply it is very likely it is also present in the “regulated” output power if floating. Here careful design of the switching power magnetics and care in the layout can help minimize this noise enough, that filters may be able to keep the residual within acceptable limits. Ray discusses some of this in his class but many non-linear managers frequently do not think it is reasonable or necessary for the power supply design engineer to be involved in layout or location of copper traces. Why not, the companies that sell the multi-$100K+ software told their bosses the software automatically optimizes and routs the traces.

Spread spectrum is a tool that may be useful to some but not to all. I hope the sales pitch for those control chips do not lull unsuspecting new designers into complacency about their filter requirements.

AQ: 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

AQ: Why your project failed?

I have contracted with lots of different groups and moving within the same company to save failed projects or project in trouble or impossible to implement and helped these groups to achieve company goal. What I have noticed is that less the managers or groups know less they realize more knowledge or experience can help them. Less they know, less they understand they need help because they don’t know what they need. They think they are just fine until it is too late and a group or company goes under because of it.

I give you an example of one of the project I worked on at Nortel. I was assigned to write project specification for a product working with a director group with 100 designers and testers. During my research to get information to write the product specification I discover deficiency in the hardware they wanted to use that would cause the system reliability and availability unacceptable to the customer and did not meet customer requirement. I proposed design change in one of the interface card and firmware used in the system. The management did not agree with me on this item so I refused to write the specification the way they want it to not expose this deficiency. We had a large meeting with the president of the company with 20 people in that meeting looking at two different presentation to see if they need to change direction or stay on course and move me out of the way to another project activity. I am not the greatest in politics and making things look good when they are not.

The result was that I was moved to different project for 1 year implementing and releasing one more product that made the company lots of money. After a year development, they complete the project and released it to the customer. The customer starts validating the product and had lots of the test cases failing in the area that I proposed to change.
This was a large project and lots of money involve. The customer rejected the product and they went back on the drawing board after getting lots of this equipment on order for this project. The management came back to me and one of my team members to come back to the team and help.

Me and my team member both having experience over 15 years at that point came back and have a solution designing a new complex interface card with microcode firmware and some software to save the project. I and he had to work for 4 months for day and night having design review between two of us at 3 am in the cafeteria to get it done (defining specification to validated working product).

This project was completed and customer accepted this solution. The director group was dismantled and all people in the group were laid off and absolved in other groups in the company and some in the same group. The management groups were smart people with good intention, they were with software background and good intention for the project. They just did not have the knowledge and background to manage the system and hardware level because of lake of knowledge and experience in that area.

You see this in lots of companies when a software designer or manager is successful in their area, they get promoted and manage groups that are out of their area and lots of time they destroy groups or project because of not having the background to identify good or bad direction to go. You will always have engineers to not agree with each other and managements have to make decision to go one way or another. The wrong decision in these cases can destroy a project or company. Not all engineers can present a case in 1 hour to sell you their point of view, Remember they are not lawyer or sales man, they are engineers. So what do you do, Follow the sales man or lawyer to save your project or the reason to drive your decision and if you don’t have the knowledge or experience to lesson to the reason then you will make the wrong decision.

AQ: 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)

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.