Control in General Machinery

Control in General Machinery

1. Role of Control

In general machinery, control is not merely an auxiliary function used to operate an already defined mechanical structure.

Control is an implementation framework that converts required machine functions into executable motion commands, verifies the actual condition of the machine, and corrects, restricts, stops, or recovers operation when the machine deviates from normal conditions.

If mechanical design determines:

  • Which mechanisms should be used

  • How motion should be generated and transmitted

  • How loads should be supported

  • How components should be structurally arranged

Control determines:

  • When each mechanism should operate

  • At what position, speed, and force it should move

  • Under what conditions the next operation should be permitted

  • How the actual result of an operation should be verified

  • How the system should respond when the commanded and actual states differ

  • How the machine should stop and recover after an abnormal condition occurs

Control therefore converts mechanical function and structure into an executable operating system.

2. Position of Control within the Design Process

The design flow of general machinery can be understood as follows:

Functional Requirements → Mechanical Structure → Mechanism and Motion → Control Implementation → Assembly → Manufacturing and Testing

The role of each area is as follows:

Area

Central Question

Function

What must the machine perform?

Structure

How should the function be structurally supported and arranged?

Mechanism & Motion

How should the required motion be generated, transmitted, and converted?

Control

Under what conditions and logic should the motion be executed?

Assembly

How should control elements and mechanical components be accurately integrated?

Manufacturing

How should the control structure be produced, wired, configured, and tested?

Control is positioned between Mechanism & Motion and Assembly.

It receives the structure and motion defined in the preceding stages, converts them into logic, signals, and operating conditions, and delivers information that can be physically assembled and verified in the following stages.

3. Design Objects of Control

Control does not primarily deal with individual components. It deals with the relationships between the following elements.

3.1 Commands

Commands define what the machine is instructed to perform.

  • Move

  • Rotate

  • Stop

  • Press

  • Clamp

  • Heat

  • Cool

  • Feed

  • Discharge

  • Return

3.2 States

States define the current condition of the machine.

  • Position

  • Speed

  • Force

  • Torque

  • Pressure

  • Temperature

  • Product presence

  • Door condition

  • Operating mode

  • Fault condition

3.3 Conditions

Conditions define the criteria that permit or prohibit a specific operation.

  • Start conditions

  • Completion conditions

  • Transition conditions

  • Interlock conditions

  • Stop conditions

  • Restart conditions

  • Recovery conditions

3.4 Responses

Responses define how the machine reacts when its actual condition deviates from the target or allowable range.

  • Output correction

  • Speed limitation

  • Operation hold

  • Retry

  • Warning

  • Normal stop

  • Safety stop

  • Emergency stop

  • Operator intervention request

The essence of control is not the type of device being used, but the clear definition of the relationships between commands, states, conditions, and responses.

4. Basic Classification of Control

Control in general machinery can be divided into the following three areas:

  1. Machine Function Control

  2. Sensing, Feedback, and Interlock Control

  3. Safety-Related Control

These areas respectively perform execution, verification, and restriction.

Category

Role

Central Question

Machine Function Control

Executes machine functions and operations

What should operate, and in what sequence?

Sensing, Feedback, and Interlock Control

Detects conditions and corrects or permits operation

What is the actual condition, and may the next operation proceed?

Safety-Related Control

Blocks hazardous operation and maintains a safe state

Under what conditions must safety take priority over function?

5. Machine Function Control

5.1 Purpose

Machine Function Control organizes the operation of actuators and mechanisms so that the machine can perform its required process and work.

The important point is not the movement of an individual component, but the process result that the movement must produce.

The following expressions do not sufficiently define a control objective:

  • Extend the cylinder

  • Rotate the motor

  • Turn the valve ON

  • Move the servo by 100 mm

The function should instead be defined in terms of the intended result:

  • Align the product at the working position.

  • Clamp the product so that it cannot move during machining.

  • Move the cutting tool to the specified depth.

  • Feed the product to the next process at the specified speed.

  • Discharge the completed product outside the working area.

Function control must connect mechanism operation with process purpose.

5.2 Definition of Functional Units

The entire machine should not be expressed as one long operating sequence. It should be divided into controllable functional units.

Examples include:

  • Product feeding

  • Position alignment

  • Clamping

  • Processing

  • Inspection

  • Clamp release

  • Product discharge

  • Return to initial position

The following should be defined for each functional unit:

  • Start condition

  • Execution command

  • Target state

  • Completion condition

  • Allowable time

  • Failure condition

  • Interruption condition

  • Recovery method

Clear functional units allow PLC programs, motion sequences, test procedures, and fault-recovery procedures to be structured consistently.

5.3 Operating Sequence and State Transition

A machine does not operate simply as a series of commands. It operates through transitions between states.

Typical states include:

  • Power Off

  • Initialization

  • Ready

  • Automatic Operation

  • Manual Operation

  • Paused

  • Normal Stop

  • Fault Stop

  • Emergency Stop

  • Recovery

  • Maintenance

An experienced designer defines not only individual operations, but also:

  • Which commands are permitted in each state

  • What conditions cause a state transition

  • Whether the machine can return to the previous state

  • What happens if power is lost during a transition

  • Which state the machine returns to after a fault is cleared

  • Whether homing is required before restarting

In control design, clearly defining state transition conditions is more important than merely listing the operating sequence.

5.4 Operating Modes

General machinery is not composed only of automatic operation.

Automatic Operation

The machine repeatedly operates according to a predefined process sequence.

Manual Operation

The operator directly controls individual actuators or functional units.

Setup Operation

Sensor positions, strokes, speeds, timing, and process conditions are adjusted.

Homing

The machine re-establishes its reference position.

Cleaning and Maintenance Mode

Limited operation may be permitted while some guards are open or some structures are disassembled.

Fault-Recovery Mode

The machine is returned to a safe and known state after product jamming, position mismatch, or process interruption.

The following should be defined separately for each operating mode:

  • Permitted operations

  • Speed limitations

  • Interlocks that must remain active

  • Conditions requiring continuous operator actuation

  • Conditions required to return to automatic operation

Control designed only for automatic operation often causes problems during assembly, commissioning, maintenance, and service.

6. Sensing, Feedback, and Interlock Control

6.1 Purpose

Sensing, Feedback, and Interlock Control measures the actual condition of the machine and uses the measured information to verify, regulate, and permit operation.

The key issue is not merely installing sensors, but determining:

  • What must be verified

  • Where it should be measured

  • How the measured result should be evaluated

  • Which operation should follow from that evaluation

6.2 Control Variables and State Variables

Not every measured value is a direct control target.

Control Variables

These are values with assigned targets that are directly regulated.

  • Position

  • Speed

  • Force

  • Torque

  • Temperature

  • Pressure

  • Flow rate

  • Tension

State Variables

These are monitored to determine whether the machine is operating normally.

  • Product presence

  • Door open or closed condition

  • Cylinder completion signal

  • Pneumatic supply condition

  • Lubrication condition

  • Motor overload

  • Product jamming

  • Communication condition

The designer must distinguish between values that are directly controlled and values that are monitored.

6.3 Determining Sensor Location

Sensors should not be installed where they are merely easy to mount. They should be placed where they best represent the actual controlled result.

For example, an encoder on the motor shaft can confirm motor rotation, but it may not guarantee that:

  • The coupling has not loosened

  • The belt has not broken

  • The table has actually moved

  • The product has reached the target position

The following should therefore be distinguished:

  • Actuator-state detection

  • Transmission-mechanism-state detection

  • Final working-element-state detection

  • Product-state detection

The more critical the function, the more important it becomes to verify the final result directly rather than relying only on actuator commands.

6.4 Feedback Control

Feedback control adjusts output to reduce the difference between the target value and the actual value.

Examples include:

  • Servo position control using an encoder

  • Rotational-speed control using a speed sensor

  • Pressing-force control using a load cell

  • Heater control using a temperature sensor

  • Pump control using a pressure sensor

The following should be considered when designing feedback control:

  • Required accuracy

  • Sensor resolution

  • Response speed

  • Mechanical stiffness

  • Backlash

  • Friction variation

  • Load variation

  • Structural vibration

  • Control stability

Controller performance alone cannot completely compensate for mechanical clearance and structural deformation.

6.5 Interlock Control

An interlock prevents a specific operation unless the required conditions are satisfied.

Examples include:

  • Cutting prohibited before clamping is complete

  • Pressing prohibited before product presence is confirmed

  • Spindle operation prohibited when lubrication pressure is insufficient

  • Automatic operation prohibited before homing is complete

  • Next product feed prohibited before discharge is complete

Interlock conditions can be divided into:

  • Functional interlocks

  • Process interlocks

  • Equipment-protection interlocks

  • Safety interlocks

Excessive interlocking makes recovery difficult, while insufficient interlocking can cause collision and malfunction.

The following should therefore be clearly defined for each interlock:

  • Protected target

  • Permissive condition

  • Blocked operation

  • Release condition

  • Whether bypass is permitted

  • Restrictions during bypass

6.6 Time Conditions and Fault Evaluation

It is not sufficient to check only whether a completion signal is eventually received.

The following time conditions should also be defined:

  • Maximum allowable time from command to signal

  • Minimum duration for which a signal must remain active

  • Allowable time difference between two signals

  • Waiting time before retry

  • Signal debounce time

  • Allowable communication delay

For example, if the forward-completion signal does not occur within the specified time after a cylinder-forward command, the system may:

  1. Stop the operation.

  2. Check the supply pressure.

  3. Attempt retraction.

  4. Retry the operation a limited number of times.

  5. Enter a fault state if recovery is unsuccessful.

  6. Display the cause and required corrective action to the operator.

Timeout and exception-handling logic are central elements of actual control implementation.

6.7 Signal Reliability and Diagnostics

Sensor signals should not be assumed to always represent the actual machine condition.

Typical failures include:

  • Broken wire

  • Short circuit

  • Stuck contact

  • Continuous detection caused by contamination

  • Sensor displacement

  • Electrical noise

  • Communication failure

  • Frozen measured value

  • Physically unrealistic sudden change

  • Simultaneous input of contradictory signals

Signal reliability can be improved through the following methods:

  • Monitor both ON and OFF states.

  • Compare opposing signals.

  • Verify the time relationship between command and response.

  • Cross-check sensor values with motor load.

  • Apply redundant detection to critical signals.

  • Diagnose unrealistic rates of change.

  • Perform sensor self-diagnostics during startup.

7. Safety-Related Control

7.1 Purpose

Safety-Related Control gives priority to the protection of personnel and equipment over machine function.

Even if a functional-control command exists, hazardous operation must not be permitted unless the safety conditions are satisfied.

The purposes of safety-related control include:

  • Prevention of hazardous motion start

  • Monitoring of access to hazardous areas

  • Stopping operation when danger occurs

  • Management of hazardous energy after stopping

  • Prevention of unexpected restart

  • Detection of safety-function failure

7.2 Definition of Safety Functions

The required safety function should be defined before selecting the safety device.

Examples include:

  • Stop the hazardous axis when the door is opened.

  • Do not release the door lock until the rotating element has stopped.

  • Prevent a vertical axis from falling when power is lost.

  • Prevent automatic restart after an emergency stop.

  • Permit only limited speed in maintenance mode.

  • Block pressing operation when an operator enters the hazardous area.

A safety function should be defined as one complete structure including the input device, logic processing, output device, and actual removal or limitation of the hazard.

7.3 Classification of Stop Methods

Stopping is not a single method.

Normal Stop

The machine completes the current operation or decelerates and stops at a planned state.

Controlled Stop

The drive is controlled during deceleration and then its output is removed.

Safety Stop

Motion and energy are restricted according to a defined safety procedure in order to reduce risk.

Emergency Stop

Hazardous motion is interrupted as quickly as reasonably possible in response to immediate danger.

Energy Isolation

Electrical, pneumatic, hydraulic, gravitational, and stored energy are isolated or removed.

Because the safest stopping method differs by situation, all stops should not be treated simply as power removal.

7.4 Verification of the Post-Stop State

Issuing a stop command does not necessarily mean that the hazard has been eliminated.

The following hazards may remain:

  • Inertia of rotating elements

  • Gravity acting on vertical axes

  • Residual pneumatic or hydraulic pressure

  • Stored spring energy

  • High-temperature components

  • Vacuum holding force

  • Elastic restoring force in moving components

Safety-related control should therefore include:

  • Verification of zero speed

  • Confirmation of brake operation

  • Verification of pressure release

  • Maintenance of door locking

  • Holding of axis position

  • Restart prevention

  • Safety reset requirement

8. Fault Handling and Recovery Design

Experienced control design defines behavior after abnormal events more clearly than behavior during normal operation.

8.1 Fault Types

  • Incomplete operation

  • Position mismatch

  • Product jamming

  • Overload

  • Overheating

  • Insufficient pressure

  • Sensor inconsistency

  • Communication failure

  • Power loss

  • Loss of pneumatic or hydraulic supply

  • Safety-device activation

8.2 Fault-Response Levels

Abnormal states may be handled at the following levels.

Automatic Correction

Small deviations are corrected through output adjustment.

Restricted Operation

The machine continues operating under reduced speed or output.

Automatic Retry

The operation is retried a limited number of times within a safe range.

Normal Stop

The current function is safely completed before stopping.

Fault Stop

The current operation is interrupted and operator action is required.

Safety Stop

Energy that may endanger personnel or equipment is limited.

8.3 Recovery Conditions

The machine should not return immediately to automatic operation merely because the fault signal has been cleared.

The following should be verified:

  • Has the cause of the fault been removed?

  • Are the product and tool positions clearly known?

  • Can the current axis position be trusted?

  • Is homing required?

  • Must residual products be removed?

  • Have safety devices returned to their normal state?

  • Has an intentional operator reset been performed?

Recovery procedures are not secondary PLC functions. They are core control items that should be defined during the design stage.

9. Interface between Control and Assembly

Control design must be physically implementable during assembly.

The following assembly information should therefore be provided.

9.1 Sensor Installation Criteria

  • Reference surface

  • Installation position

  • Sensing distance

  • Adjustment range

  • Repeatability

  • Cable exit direction

  • Protection from contamination and impact

  • Replacement accessibility

If the sensor position is left to the discretion of the assembler, control reliability becomes difficult to maintain.

9.2 Actuator Installation Criteria

  • Alignment with the reference axis

  • Allowable coupling misalignment

  • Cylinder-rod side-load limit

  • Servo-motor mounting stiffness

  • Brake installation direction

  • Home and mechanical-limit positions

  • Cable bending radius

  • Cable allowance for moving sections

9.3 Adjustment Elements

Control implementation often requires on-site adjustment of:

  • Sensor position

  • Stopper position

  • Belt tension

  • Brake clearance

  • Cylinder speed

  • Pressure regulator

  • Servo home position

  • Torque limit

Assembly drawings and work instructions should therefore include adjustment procedures and target values.

9.4 Inspectable Structure

The following should be verifiable after assembly:

  • Sensor ON/OFF condition

  • Home position

  • Final stroke

  • Direction of rotation

  • Valve operation

  • Brake operation

  • Safety-circuit condition

  • Wiring errors

  • Communication condition

Control design should minimize hidden conditions that cannot be verified after assembly.

10. Interface between Control and Manufacturing

During manufacturing, the designed control system must be produced repeatedly and reproduced with consistent performance.

10.1 Manufacturing Documents

The following documents are required:

  • I/O List

  • Sensor and Actuator List

  • Control Sequence Diagram

  • State Transition Diagram

  • Interlock Matrix

  • Alarm List

  • Electrical Schematic

  • Pneumatic and Hydraulic Diagram

  • Cable and Terminal List

  • Parameter Setting Sheet

  • Safety Function List

  • Commissioning Checklist

10.2 Tolerances and Control Performance

Machining and assembly tolerances directly affect control performance.

Examples include:

  • Sensor-bracket position error

  • Stopper machining error

  • Axis alignment error

  • Ball-screw backlash

  • Guide parallelism

  • Clamp position deviation

  • Gear clearance

Control is not a means of compensating for unlimited manufacturing error.

The following should therefore be distinguished:

  • Accuracy that must be guaranteed mechanically

  • Range that can be corrected through assembly adjustment

  • Range that can be compensated through control parameters

  • Range that must be continuously corrected through sensor feedback

10.3 Parameter Management

The following settings should be standardized so that they do not vary unpredictably between machines:

  • Servo gain

  • Acceleration and deceleration time

  • Speed limits

  • Torque limits

  • Temperature settings

  • Pressure settings

  • Sensor delay times

  • Timeouts

  • Retry counts

  • Alarm thresholds

Settings should not exist only inside the program. They should be linked to manufacturing and service documentation.

10.4 Factory Testing

The following tests should be performed before shipment.

I/O Test

Verify the wiring and operation of all inputs and outputs.

Individual-Operation Test

Verify the independent operation of each actuator and mechanism.

Interlock Test

Confirm that operation is blocked when required conditions are not satisfied.

Automatic-Operation Test

Verify the complete sequence and cycle repeatability.

Fault Test

Verify responses to sensor failure, product jamming, pressure reduction, and similar faults.

Safety-Function Test

Verify doors, emergency stop, light curtains, brakes, and restart prevention.

Recovery Test

Confirm that the machine returns safely to a normal state after the fault is cleared.

11. Major Control Design Deliverables

Implementation-oriented control design should produce the following outputs:

Deliverable

Purpose

Function List

Defines the functions the machine must perform

Operating Mode Definition

Defines automatic, manual, setup, and maintenance modes

Sequence Diagram

Defines the execution order of functions

State Transition Diagram

Defines operating states and transition conditions

I/O List

Defines connections between sensors and actuators

Interlock Matrix

Defines operating permissives and prohibitions

Control Parameter List

Manages speed, position, force, and timing settings

Alarm List

Defines abnormal conditions and required responses

Recovery Procedure

Defines recovery after faults

Safety Function List

Defines safety inputs, logic, outputs, and verification

Commissioning Checklist

Provides assembly and commissioning verification criteria

Acceptance Test Criteria

Defines final functional and performance acceptance criteria

These documents are not only for control engineers.

They provide a common interface through which mechanical design, electrical design, assembly, manufacturing, quality, commissioning, and service teams can share the same decision criteria.

12. Key Questions in Control Design

Function

  • What final result must the machine produce?

  • How should the overall function be divided into controllable units?

  • What are the start and completion conditions of each function?

  • How should operation differ between automatic, manual, and recovery modes?

State

  • Which conditions must be verified?

  • Is the final result being measured directly?

  • Can the sensor signal be trusted?

  • How should state inconsistency be diagnosed?

Control

  • How should the difference between target and actual values be corrected?

  • Under what conditions should operation be permitted or prohibited?

  • What are the timeout and retry conditions?

  • How should collisions between devices be prevented?

Fault and Recovery

  • What should happen if an operation is not completed?

  • Where is the boundary between automatic recovery and operator intervention?

  • Which state should the machine return to after recovery?

  • What should be done if the current position cannot be trusted?

Safety

  • What final state should the machine enter if functional control fails?

  • What hazardous energy remains after stopping?

  • What must be verified before restart?

  • How should failure of the safety function itself be detected?

Assembly and Manufacturing

  • Are sensor and actuator installation criteria clearly defined?

  • Can all control functions be inspected after assembly?

  • How do manufacturing variations affect control performance?

  • Can parameters and settings be reproduced consistently?

  • Are commissioning and final acceptance criteria defined?

13. Conclusion

Control in general machinery is not limited to the technology used to operate mechanical elements.

Control is an implementation framework that converts a machine defined by function and structure into an actual operable system.

Good control design clearly connects:

  • The function the machine must perform

  • The operation that executes the function

  • The signal that verifies the actual condition

  • The condition that permits operation

  • The response to deviation and abnormality

  • The safe state required when a hazard occurs

  • The recovery procedure after the abnormal condition is cleared

  • The implementation and verification methods used during assembly and manufacturing

The essence of control is therefore not to list as many functions as possible.

It is to define what the machine should execute in each state, how the result should be verified, how the machine should respond when the result differs from the target, and how it should finally stop and recover safely.

When this structure is clearly defined, Control connects the results of Mechanism & Motion to actual machine operation and enables Assembly and Manufacturing to produce a repeatable and verifiable system.