• No results found

Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module. Jeffrey Habets & Roger Custers

N/A
N/A
Protected

Academic year: 2021

Share "Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module. Jeffrey Habets & Roger Custers"

Copied!
42
0
0

Loading.... (view fulltext now)

Full text

(1)

Testing high-power hydraulic pumps with NI

LabVIEW (RT) and the StateChart module

Jeffrey Habets & Roger Custers

(2)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 2

Agenda

Introduction to the teststand

The challenge

New setup – system overview

Windows application – User Interface

RT application

Statecharts – steam course!

RT application – Statechart

Conclusions....

(3)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 3

(4)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 4

(5)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 5

(6)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 6

(7)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 7

The challenge

Design, implement, integrate and going live within 8 weeks ...

During implementation and integration:

Surprise!

new requirements

Hydraulic drive motor is replaced by an electric 250kW motor

controlled by a Bosch Rexroth Indradrive

PLC is replaced by a cFP controller with an LV RT application

Several stand-alone data-acquisition units that where used to

record measurement data are replaced by doing DAQ via cFP

System operable by more than just the guy who created it and

knows all ins and outs

(8)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 8

New setup – system overview

Compact Field Point

E-HW

Motion control

PC

system

(HMI)

Analog I/O

&

Digital I/O

modules

Hydraulics

E th er ne t Profibus

Servo drive

DUT

(Hydraulic

pump

or

hydraulic

motor)

64 DI 24 AI 48 DO 16 AO

Servo

motor

stimuli &

control

DAQ &

Status

(9)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 9

PC

cFP

RT application

HMI application

Motion control process

(profibus)

shared variable engine

RT

FIFO's

write

outputs

read

inputs

network published

Shared variables

network published

Shared variables

RT

FIFO's

Control logic

StateChart

network published

Shared variables

citadel

DSC

history

alarm

control

visualize

report

(10)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 10

(11)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 11

(12)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 12

(13)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 13

(14)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 14

(15)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 15

(16)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 16

PC

cFP

RT application

HMI application

Motion control process

(profibus)

shared variable engine

RT

FIFO's

write

outputs

read

inputs

network published

Shared variables

network published

Shared variables

RT

FIFO's

Control logic

StateChart

network published

Shared variables

citadel

DSC

history

alarm

control

visualize

report

Software overview

PC

cFP

RT application

HMI application

Motion control process

(profibus)

shared variable engine

RT

FIFO's

write

outputs

read

inputs

network published

Shared variables

network published

Shared variables

RT

FIFO's

Control logic

StateChart

network published

Shared variables

citadel

DSC

history

alarm

control

visualize

(17)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 17

(18)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 18

Statecharts

Available as LabVIEW Addon module

Adds hierarchy and concurrency to statemachine

Design applications at a higher level

Generates LabVIEW code

(19)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 19

Vending machine state machine

States

1.) INIT

– initialize our Coke Machine

2.) WAIT FOR EVENT

– where the machine waits for coins

3.) RETURN CHANGE

– where the machine returns change

4.) COKE PRODUCT

– machine received 50 or more cents → dispense beverage

5.) QUARTER

– when the customer enters a quarter

6.) DIME

– when the customer enters a dime

7.) NICKLE

– when the customer enters a nickel

8.) EXIT

– after the change is returned and/or beverage dispensed,

the machine will power down (application will terminate)

(20)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 20

(21)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 21

(22)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 22

The components of a statechart

Initial pseudostate

Transition

State

Region

Terminal pseudostate

components

(23)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 23

(24)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 24

(25)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 25

(26)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 26

(27)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 27

(28)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 28

(29)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 29

(30)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 30

(31)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 31

(32)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 32

(33)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 33

(34)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 34

(35)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 35

(36)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 36

DEMO: Frontpanel Statechart StandAloneTest.vi

Inputs: 64 DI,24 AI,55 Control

Outputs: 48 DO,16 AO,40 Visualize

Debug diagram

(37)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 37

Benefits experienced

Changes in system behavior requirements easier

Offline debugging and simulating of system

Implementation together with customer / user

Statechart diagram is readable for other engineers

Quick overview state of system when online debugging

(38)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 38

Resources

LVUG: LabVIEW State Machines & Statechart Module

http://zone.ni.com/wv/app/doc/p/id/wv-417

LVUG: Programming Guidelines and Techniques for the

Statechart Module

http://zone.ni.com/wv/app/doc/p/id/wv-449

Frequently Asked Questions for the LabVIEW Statechart Module

http://digital.ni.com/public.nsf/allkb/06B32542713158ED862573A700830B28

Download the presentation:

www.vi-tech.nl

Stay in touch

(39)
(40)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 40

(41)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 41

(42)

27sept BE / 29 sept NL Testing high-power hydraulic pumps with NI LabVIEW (RT) and the StateChart module 42

References

Related documents