Showing posts with label Design. Show all posts

Thursday, December 14, 2017

Ladder Diagram Design : Petri Net Method

  No comments
4:46:00 PM

Some systems like manufacture system, telecommunication network & computer, and real-time system nowadays are more complex. All of those system are dynamic and discrete. With the increased system usage, then needs a way to model the system. 

Petri net is a method for modelling a dynamic and discrete system. Petri net could be simulated using computer so it easily to analyse attitude of the system. Petri net provide a form that could be used in process of system planning. Petri net illustrates the system using graphical way so it will easier to understand.

As graphical device, petri net could be used as visual-communication assistance like flowchart, block diagram, state diagram, and networking. 

COMPONENTS


Token is showing an active place.

Transition is showing an event that can happen in the system.

Directed Arc is showing a relationship between "Place" and "Transition".





Place is showing the state of system.






EXAMPLE

START, A+, B+, B-, A-
  • START
  • A+
  • B+
  • B-
  • A-
The merged petri net,


Reference:
[1] PPT System Automation (M. Rameli & Eka Iskandar)

Read More

Wednesday, December 13, 2017

Ladder Diagram Design : Flow Diagram Method

  No comments
10:27:00 PM

Many of systems from input signal are totally random. An example, Elevator control system. In every floor, there is up and down button, also in the elevator, one button for every floor and open/close button. Other than that, there is limit switch on every floor and when elevator pass a floor, it will active, so the control system know the position of elevator. This method is more simple than huffman method, and it more makes sense between length of programs and the needed time.   

Example 1.

Condition,
  • if x1 = 1 then z1 = 1
  • if x2 = 1 in a moment (after that x2 back to 0) then z1 = 0 and z2 = 1
  • if z1 = 1 and then x1 = 0, z1 will keep the state 1, and then change the state 0 if x2 is pushed 
  • if x1 = 0 then z2 = 0
The flow diagram,
The primitive and merged table,
The Merged flow table to flow diagram,
The ladder diagram, 


Example 2.

x1x2 = 00 10 11 10 11 10 01 01 11 10
    T =   0   0   0   0   1   1   1   0   0   0

The Primitive and Merged flow table,
The merged flow table to flow diagram
The ladder diagram



Reference:
[1] PPT System Automation (M. Rameli & Eka Iskandar)

Read More

Ladder Diagram Design : Huffman Method

  No comments
11:18:00 AM

Huffman method is classical method for planning a sequential system. This method is more complicated but the result will have a minimal relay. 

There are two kinds of state, Stable and Unstable. Stable state is where the output state is equal to input state. While unstable state is transition where the output is not same as input.
Procedures
  1. Build primitive flow table
  2. Merge flow table row
    Rules:
    -   Row can be merged as long as there is no different number in same column
    -   If there is unstable and stable state in same column, merged row get stable state
    -   If there is number and don't care in same column, merged row get number
    -   If there is only don't care, merged row get don't care
    -   
    In merging a row, output column ignored
  3. Create a state
  4. Decrease excitation and output function
  5. Add START signal
  6. Draw the ladder diagram
Example

START, A+, A-, A+, A-
  1. Build primitive flow table
    First, create a table with number of columns is 2^n, where n is number of input. Also add other column at the left for all state and at right for the output.
    Then fill each stable and unstable state also the don't care state.
  2. Merged flow table row
    Need to merge because it will decrease the number of components.
  3. Create state
    To avoid race, there is an important rule to ensure only one state is changed each moving state.
    The state flow are,
  4. Decrease excitation
    Y1
    Y2
    And the Set Reset function are,
    And the output function for A+ is
  5. with that output function, it will looping forever, so add a "START" to S1 and modify the output function to,
    so the final output function is, 
  6. Draw the Ladder Diagram

Reference:
[1] PPT System Automation (M. Rameli & Eka Iskandar)

Read More

Tuesday, December 12, 2017

Ladder Diagram Design : Cascade Method

  No comments
6:25:00 PM

Cascade method is a ladder diagram design method where various steps of the sequence are divided into groups. The rule of this method is "a new group must be started the moment it becomes necessary to shut off any output signal actuated during the presently active group". 

Example 1, Suppose four cylinders, A, B, C, D,

START / A+ B+ C+ / C- A- D+ / A+ D- B- / A-
                        G1             G2              G3       G4

Each group allocated one control relay and connected as RS flip-flop. The switching functions are,

  • Y1 = ((START && a1) || Y1) && !Y2
  • Y2 = ((Y1 && c2) || Y2) && !Y3
  • Y3 = ((Y2 && d2) || Y3) && !Y4
  • Y4 = ((Y3 && b1) || Y4) && !a1
  • A+ = Y1 || Y3
  • A- = (Y2 && c1) || Y4
  • B+ = Y1 && a2
  • B- = Y3 && d1
  • C+ = Y1 && b2
  • C- = Y2
  • D+ = Y2 && a1
  • D- = Y3 && a2
source [1]


Example 2, 

START / A+ B+ / B- A-
                 G1         G2
  • Y1 = ((START && a1) || Y1) && !Y2
  • Y2 = ((Y1 && b2) || Y2) && !a1
  • A+ = Y1
  • A- = Y2 && b1
  • B+ = Y1 && a2
  • B- = Y2
source [2]

information: 
&& = and, || = or, ! = not.



    reference:
    [1] Industrial Automation: Circuit Design and Components by David W. Pessen
    [2] PPT System Automation (M.Rameli & Eka Iskandar)

    Read More