Design Guide for PLC Systems
We offer here some suggestions for best practice when designing automation control systems.
Project Execution Plan
Even small projects that involve minor modifications to existing systems benefit from formal planning that helps ensure commissioning goes smoothly. Such a plan would have the following content:
- A statement of purpose – why are we doing this, what are the benefits, who are the stakeholders and how will success be determined?
- Who is on the team? What are their roles, where are the lines of responsibility? What external expertise is required?
- What is the budget, and where are the areas that will stress it?
- Is there to be any development of new tools / procedures / methods etc to be undertake on the project?
- What are the risks, how bad might the be, and what can you do to address them?
This is a major section – the more thought that goes into considering what could go wrong and what to do about it, the better.
In industrial automation projects, Process Description and Functional Description are two essential but distinct types of documentation. Here’s a breakdown of each and how they differ.
Project Management Plan
How the project elements will be sliced up, allocated, design reviewed, tested and validated is a critical decision. Traditional Project Management was dubeed the Waterfall method, where the various teams worked in parallel, but often with insufficient collaboration, and checking of assumptions each team was making. This often lead to rework when assumptions or communications proved to be poor. Various approaches have been developed to address these issues, we will discuss two – Agile and Prince2. There are similarities across these two.
Agile Project Management
The agile approach is to break the project into multiple small ‘sprints’ of a defined piece of work for all the teams. At the end of the sprint, the components are tested as a whole – PLC, SCADA, Networks for example. The first of these tests will reveal where poor assumptions have been made – the use of 16 bit v 32 registers, tag naming convention misunderstandings, mismatched communication protocols across networks etc. There will be other revelations during the testing of other sprints, but at least they will not propagate through multiple areas, minimising rework.
Prince2 Project Management
PRINCE2 (PRojects IN Controlled Environments) is a structured, process-based project management framework focused on business justification, governance, and defined roles. Significantly, like Agile, the project is broken up into multiple stages separated by ‘gates’, for which approval to work are granted by the appointed Board. No work may be undertaken beyond each gate without the Board’s approval. Such approval is generally based on validation that the work in the preceding stage is in fact complete, tested and validated, and forms a solid foundation for the next phase.
There are many benefits of both of these approaches:
- Measurement of project progress is quantifiable by evidence, rather than an optimistic estimate that can be exagerated to appease management.
- Customer billing can be more frequent, as the completed works of each sprint / stage, together with the test / validation reports, can be delivered to the customer as verifiable progress claims.
- The delays and cost of rework are significantly reduced.
- Business credibility is enhanced.
Other systems such as SCrum and Kanban have some similarities, and will be discussed at a later time. Having worked with Agile and Prince2, our recommendation is for Agile, especially in small businesses. The project board in PRINCE2 is often difficult to convene, leaveing people to plough on and working outside the system. Agile is much easier for a single Project Manager to take charge of.
Project Documentation
In industrial automation projects, Process Description and Functional Description are two essential but distinct types of documentation. Here’s a breakdown of each and how they differ.
Process Description
A Process Description outlines what the process is, focusing on the sequence of operations, physical flow, and interactions involved in the production or manufacturing process. It is typically written from the perspective of the process engineers or operators and describes the technical or physical behavior of the system under normal and abnormal operating conditions.
Contents typically include:
- Description of equipment and machinery involved, including a detailed device list with identity tags
- Material flow and handling
- Process steps and sequences (e.g., mixing, heating, cooling)
- Operating conditions (temperatures, pressures, speeds, etc.)
- Interlocks, alarms, and safety considerations
- Start-up and shutdown procedures
Purpose:
To provide a clear understanding of how the physical process works and what needs to be automated. This serves as a foundational document for control system design, operator training, and safety analysis.
Functional Description
A Functional Description specifies how the automation system should behave, detailing the logic and control strategy used to automate the process described in the Process Description. It’s often written from the perspective of control engineers or programmers and defines the behavior of programmable logic controllers (PLCs), distributed control systems (DCS), or SCADA systems.
Contents typically include:
- Control logic sequences and flowcharts
- Input/output (I/O) definitions
- PLC tags and variable names
- HMI interactions and screen logic
- Alarms and event logic
- Interlocks and safety logic (mapped to control logic)
- Communication with other systems
Purpose:
To provide a blueprint for coding the control system, enabling software engineers to implement automation systems that control the real-world process as specified. They are essentially translating the language from the written word to a software model.
Key Differences between the Process Description and Functional Description
| Aspect | Process Description | Functional Description |
|---|---|---|
| Focus | Physical process & operations | Control system behavior |
| Perspective | Process/operations engineer | Automation/control engineer |
| Describes | What happens in the plant | How it’s controlled via automation |
| Used for | Understanding the real-world process | Designing and programming control systems |
| Typical Output | Narrative with process steps | Logic diagrams, pseudo-code, function blocks |
Simple Analogy:
- Process Description is like describing a recipe—ingredients, steps, tools, and expected results.
- Functional Description is like explaining how the robot chef should follow that recipe—turn on the stove, stir for 2 minutes, monitor temperature, etc.
Electrical Hardware Design
There are many aspects to optimal hardware design, we list here a few of our design standards
- We recommend buying the DC versions and using a quality AC to DC power supply. This is on the basis that the power supply is a crucial part of the product’s design and the most exposed to electrical disturbance. We find that Mean Well supplies are extremely reliable and value for money, but Weidmuller, and the Allen-Bradley 1606 range are also reliable.
- Preferably, a surge filter (as opposed to a simple surge diverter) is also remommended to take out not only voltage excursions, but the damaging fast voltage spikes with high dV/dt that damage electronics. Erico (now owned by nVent) have a good range of surge protection products.
- When developing Digital Input circuit drawings, define the asserted state of the input, and use fail-safe principles as a starting point. That is, what does a logical 1 represent? Here are some examples.
- A tank Low Level switch must indicate that the tank is empty if it fails (that is, if the wire falls off for example). So a 0 represents empty, therefore 1 must represent that the sensor is Covered.
- A tank High Level switch on the other hand has to indicate that the tank is full if it fails (so that it will stop being filled). So a 0 represents full, then 1 must represent that the sensor is Uncovered.
- A similar approach is used for Pressure, Temperature and Flow Switches.
