# Voting logic 3ooN (only binary elements)

**URL:** <https://forumautomation.com/t/voting-logic-3oon-only-binary-elements/9743>\
**Category:** PLC (Programmable Logic Controllers)\
**Created:** [August 14, 2021, 7:00am UTC](https://forumautomation.com/t/voting-logic-3oon-only-binary-elements/9743 "2021-08-14T07:00:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kairat](https://forumautomation.com/user_avatar/forumautomation.com/kairat/32/5945_2.png) [@Kairat](https://forumautomation.com/u/Kairat)\
**Post date:** [August 14, 2021, 7:00am UTC](https://forumautomation.com/t/voting-logic-3oon-only-binary-elements/9743/1 "2021-08-14T07:00:23Z")

</div>

Good day!

This is continuing of my topic about [voting logic](https://forumautomation.com/t/voting-logic-2oon-only-binary-elements/9742). Here you can see simple example of 3ooN voting logic that uses only binary elements.

 ![image](https://cdn.forumautomation.com/original/2X/5/57c9708874388f8b5a163ed0dd68d0e50f1dbc33.png)

As you can see, conception of voting logic based only on binary elements is scalable.

Could you share your opinion?

Best regards,

Kairat Abdukarimov,

Process Automation Engineer

---

<div class="post-metadata">

**Author:** ![Rabert](https://forumautomation.com/user_avatar/forumautomation.com/rabert/32/6784_2.png) [@Rabert](https://forumautomation.com/u/Rabert)\
**Post date:** [September 11, 2024, 9:23am UTC](https://forumautomation.com/t/voting-logic-3oon-only-binary-elements/9743/2 "2024-09-11T09:23:10Z")

</div>

The “3ooN” **[voting logic](https://automationforum.co/what-is-voting-logic-and-various-types-of-voting-logic-in-the-industrial-system/)** (3 out of N) is a fault-tolerant system that is widely utilized in safety-critical applications.

It assures that the system’s choice or output is based on the majority rule, which states that at least 3 of N binary inputs have to agree (be in the same state) before the system may create an output. Here’s how it works, with binary inputs (0 or 1):

# Steps for 3oN Voting Logic

## Step-1: Inputs

There are N binary inputs (0 or 1), with N larger than or equal to three.

## Step-2: Vote Calculation

This logic determines how many of the N inputs are equal to one.

## Step-3: Decision Rule

If three (or) more of the inputs are 1, the result will be 1 (the system selects 1). Alternatively, the output is zero.

# Key Characteristics

## Fault Tolerance

The system can accept up to N-3 inaccurate or wrong inputs while still providing a consistent output.

## Majority Agreement

The decision is valid if at least 3 components valid.

# Illustration

Example for

**N = 5**

- Inputs are [1, 0, 1, 1, 0]
- Since 3 of the 5 inputs are 1, the output will also be 1.

This voting logic is commonly employed in redundant systems such as power plants, avionics, & other important systems that require high levels of safety and reliability.

You can also follow us on [[color=#1E00A3] **AutomationForum.co** [/color]](https://automationforum.co/), [url= [https://www.facebook.com/instrumentation.control](https://www.facebook.com/instrumentation.control)][color=#1E00A3] **Facebook** [/color][/url] and [url= [https://www.linkedin.com/showcase/81532759/feed/posts/](https://www.linkedin.com/showcase/81532759/feed/posts/)][color=#1E00A3] **Linkedin** [/color][/url] to receive daily Instrumentation updates.

You can also follow us on [[color=#1E00A3] **ForumElectrical.com** [/color]](https://forumelectrical.com/), [[color=#1E00A3] **Facebook** [/color]](https://www.facebook.com/profile.php?id=100091841583670) and [[color=#1E00A3] **Linkedin** [/color]](https://www.linkedin.com/showcase/91130242/feed/posts/) to receive daily Electrical updates.
