Support-focused enterprise controls: Object detection for automotive automation
The ability to sense objects and trigger an application is the most overlooked fundamental of control design. Two common forms of object detection are presence detection and movement detection. This is part 2 in a series on standardizing development of programmable logic controller (PLC) programming for controlling discrete manufacturing processes. Link to part 1, below.
Object detection is the generic name applied to the use of sensors to identify objects at unique locations in the manufacturing process. The ability to sense objects and trigger an application is the most overlooked fundamental of control design. For control applications, detecting moving objects is integral to setting and resetting application signals. For upper-level system designs, the ability to detect objects is critical to triggering PLC-based system applications. Regardless, many designers do not consider the significant effects various forms of object detection have on control applications. Failure to recognize the importance of this seemingly insignificant fundamental prevents them from grasping the single thread needed to standardize control application circuits.
Object detection is the primary design focus for triggering and synchronizing all controller-based applications. It involves strategically providing, wiring, and programming event-based sensor circuits to ensure their activations set and reset application variables. The trigger-generated signals are responsible for moving data and activation event-based applications. The physical placement of sensors and mechanical characteristics of mechanical actuators effect trigger designs. To understand these attributes better, designers must study the two base forms of object detection and how mechanical actuators activate sensors to enable trigger circuits. The following definitions help to describe both common forms of object detection:
- Presence detection: a trigger circuit design that uses one or more sensors to detect the presence of an object at one location.
- Movement detection: a trigger circuit design that uses multiple discrete sensors or one encoder to detect the presence and absence of an object at two locations.
Regardless of the form of object detection designers select, all designs need physical objects to activate sensors in a deterministic fashion. All control system designs have already adapted to the type and arrangement of sensors provided as part of a machine's mechanical design. The prearrangement of sensors dictates how objects need to actuate them. The sensors selected always match the physical characteristics of mechanical actuators.
4 object detection functions
The following names describe common sensor functions used to detect objects:
- Part present sensor: a sensing device strategically placed to detect the presence of an object.
- Entering sensor: a sensing device strategically placed to detect an object entering a process station.
- In-position sensor: a sensing device strategically placed to detect the arrival of an object at a process station.
- Exiting sensor: a sensing device strategically placed to detect an object exiting a process station.
It is imperative that designers recognize the various circuits used to enable object detection triggers. A presence detection circuit generates an application trigger after all circuit sensors activate. The enabled trigger represents the static presence of an object, whereas the disabled trigger represents the absence of the object. A movement detection circuit enables two momentary triggers when sensors identify an object passing through a station. This circuit design enables a signal when the object stops at a station. When the signal is on, it represents the presence of the object while it is at or between both sensor positions. When the signal is off, it denotes the departed absence of the object.
5 differences: presence, movement
There are five distinguishing design attributes that differentiate presence detection from movement detection.
- Total number of triggers a circuit produces.
- Minimum number of circuit sensors needed to enable a single trigger.
- Length of the mechanical actuator with respect to the length of an object.
- Sensor's on to off signal activation sequences.
- Complexity of circuit designs that affect the retentive or nonretentive nature of circuit signals.
For detailed comparisons, it is useful to examine both forms of object detection circuits using two sensors.
Object detection circuit designs produce application triggers when mechanical actuators activate sensors. Reliable movement detection designs rely on smaller length actuators, thus ensuring shorter sensor activation times. Presence detection designs rely on long actuators, thereby ensuring extended sensor activation times. Both types of object detection circuits need sensors to deactivate between each object. This is an important design consideration when arriving objects travel close or butted together.
Simply put, presence detection senses an object at one physical position, whereas movement detection senses an object at two positions. The difference is important when understanding the system-related benefits of movement detection. This includes the design details associated with sensor placements, mechanical sensor actuators, sensor activation timings, trigger circuits, and trigger reliability. Providing designers with this information will enable applications to obtain the beneficial effects of movement detection triggers.
Presence detection circuits typically use more than one sensor to identify the presence of objects as they enter or stop at stations. Most designs need two sensors where the initial sensor activates as an object enters, and then the other activates as an object stops in position. The second sensor acts as a filter because it eliminates the intermittent oscillating effects of the first sensor. This oscillation effect is the primary reason control applications do not use presence detection to activate event-based control applications.
Figure 1.1 shows the sensor and actuator arrangements for both the part and carrier-actuated forms of presence detection. The part-actuated form uses the part to activate both sensors, whereas the carrier version uses a long mechanical actuator attached to the carrier to activate and maintain both sensors. Some designs rely on two carrier actuators.Many manufacturers do not allow sensors to come in physical contact with the product. Carrier actuation is one way of presence detection.
Figure 1.2 shows the physical relationship between a part present sensor and two object sensors that detect a carrier's actuator. Since the object arriving at the station is a carrier, a presence detection circuit includes the enabled state of the part present sensor. The disabled state of this signal blocks the circuit from enabling a normal part in-position trigger and alternately activates an empty carrier trigger. One of the two triggers will always fire the moment both object sensors activate.
When objects are traveling close together, presence detection circuits rely on two physical object related dimensions. First, the length of an object's actuator must be greater than the distance between both sensors. This dimensional aspect of the mechanical design ensures an actuator has both sensors activated at the same time. Second, the distance between two consecutive carrier actuators must be greater than the length of the object's actuator. This dimensional aspect ensures both sensors are off at the same time between objects. Deactivation guarantees both sensors will separately reactivate for the next object to enter the station. Figure 1.3 shows the critical actuator and sensor spacing dimensions.
- L > S + C: The minimum sensor actuator length (L) must be greater than the spacing distance (S) between the two sensors plus a coast distance constant (C). The coast constant is the distance the actuator will travel when sensor and control power fails and before mechanical movement stops. This will ensure an applied controller always will see both sensors on after power restoration.
- A > S + F: The distance between the sensor actuators (A) must be greater than the spacing distance (S) between the two sensors plus the field width of a sensor (F).
Figure 1.4 shows a timing diagram for two presence detection sensors activating for two consecutive objects entering and exiting a station. When the objects enter the station, they sequentially activate and deactivate both sensors. The subsequent numeric sequence describes the numbered steps shown in the timing diagram.
- Object entering sensor on: The first sensor activates, signifying an object is entering the station while the second object in-position sensor remains deactivated.
- Object in-position sensor on: The second sensor activates, signifying an object is in position at the station while the first object entering sensor remains activated.
- Object entering sensor off: The first object entering sensor deactivates, signifying an object is exiting the station while the second in-position sensor remains activated.
- Object in-position sensor off: The second sensor deactivates, signifying an object has exited the station while the first object entering sensor remains deactivated.
Figure 1.5 shows how control system designers use hard-coded circuit triggers in support of event-based machine controller applications. The design uses a standard method for individually wiring sensor contacts to the machine controller's input module. The input module then separately sends discrete signals to the machine controller's control application. Control system designers use a ladder logic circuit that examines input signals from each sensor. When the hard-coded circuit recognizes that both inputs are on, it enables a discrete trigger signal.
Figure 1.6 shows a timing diagram for both presence detection sensors and a circuit produced in-position trigger. Specifically, the signal timing shows how the trigger remains enabled while an object moves through a station. This extended time makes presence detection triggering ideally suited for controllers that cannot quickly identify and react to fast-changing sensor inputs. If sensor inputs do not stay on long enough to activate controller applications, designers integrate timers with their trigger circuits to ensure triggers stay on for a predetermined minimum amount of time.
The use of presence detection circuits is the reason control systems have many undesirable design traits. Designers usually refer to these traits as idiosyncrasies or anomalies. In most cases, undesirable system traits directly result from designs using presence detection circuits, and the associated design needs to add redundant sensors. Presence detection circuits are unreliable because they are more likely to produce unwanted extra triggers. Alternatively, they may not activate, causing missing triggers. These types of events have an induced effect on control system applications that manifest themselves in many problematic ways.
Presence detection circuits activate to produce unwanted triggers when power failures occur, or when an object prematurely stops near an in-position sensor. Power failures cause extra triggers when power restoration reactivates circuit triggers. Objects that prematurely stop near a sensor's activation point make the trigger circuit susceptible to physical vibrations or temperature conditions that cause sensors to erroneously oscillate input signals. False triggers occur when associated circuits react to oscillating sensor input signals.
False sensor activations and added redundant sensors are the biggest reason why presence detection triggers misfire. False activation causes designers to add time delay circuit filters to ensure sensors remain off and then go on for a predetermined amount of time before they allow input signals to re-enable a circuit's trigger. These time-delayed trigger circuits are susceptible to the physical spacing delays between moving objects. If objects arrive too closely spaced together, and if deactivation delay times are too long, circuits fail to enable triggers. The failure of added redundant sensors to deactivate or activate is the cause of most missed triggers.
- Events & Awards
- Magazine Archives
- Digital Reports
- Global SI Database
- Oil & Gas Engineering
- Survey Prize Winners