20
Introduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes – 13 juin 2014

Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

  • Upload
    others

  • View
    14

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Introduction à VeriStandPrincipes, fonctionnement, exemples d’application

Mathieu REYROLLECertifié TestStand Developper, MESULOG

LUGE Rhône-Alpes – 13 juin 2014

Page 2: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Sommaire

1. Qu’est-ce que VeriStand ?– Applications ciblées

– Configuration, déploiement, exécution

– LabVIEW dans tout ça ?

2. Mises en œuvre chez nos clients– Épreuve hydraulique

– Test HIL d’électronique de puissance

3. Conclusion– Évolutions marquantes

– Ressources complémentaires

Introduction à VeriStandjuin 2014 2

Page 3: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Introduction à VeriStand 3juin 2014

Embarqué

Page 4: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Domaine d’application, les systèmes embarqués

Introduction à VeriStand 4juin 2014

Calculateur Système à piloter

Act

ion

neu

rs

Cap

teu

rs

Page 5: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Model-In-The-Loop

Système de test

Système à piloter

Calculateur

Prototypage rapide

Système de test

Système à piloter

Calculateur

Hardware-In-The-Loop

Système de test

Système à piloter

Calculateur

Chambre d’essai

Système de test

Système à piloter

Calculateur

Qu’est-ce que VeriStand ?

Un outil pour assurer la continuité des tests

Introduction à VeriStand 5juin 2014

Cf. présentation NI-Days 2014 « Comment concevoir, valider et tester en temps réel un système embarqué avec l'environnement NI VeriStand »

Modèle / Simulation

Système réel

Stimulus, Enregistrement de données, Interface utilisateur, Analyse

Page 6: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Configuration, déploiement, exécution

– Project Explorer : projet VeriStand (*.nivsproj)

• Lien entre Définition Système et au Workspace

• Déploiement de la définition système vers la cible d’exécution

– System Explorer : Définition Système (*.nivssdf)

• Configuration du système

• Alarmes, E/S, Voies utilisateur et calculées, mappings

– Workspace : IHM (*.nivsscreen)

• Interface utilisateur de l’application

• Modifiable lors de l’exécution

• Outils complémentaires

Page 7: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Configuration, déploiement, exécution

ConfigurationSystem Explorer

� Définition du système de test

� Une ou plusieurs cibles d’exécution

� Interface avec les matériel DAQ et XNET

� Interface avec les matériel FPGA

� Intégration de modèles compilés

� Connections entre ses composants

Introduction à VeriStand 8juin 2014

Page 8: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Configuration, déploiement, exécution

ExécutionWorkspace

� Supervision du système

� Interface éditable à la volée

� Pilotage manuel de la/des cibles

� Injection de stimulis

Introduction à VeriStand 9juin 2014

Page 9: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Qu’est-ce que VeriStand ?

Configuration, déploiement, exécution

DéploiementProject Explorer

� Gestion des fichiers constitutif d’un projet

• Définition système

• Workspace

• Profils de stimuli

� Gestion des services

� Liste des dépendances

� Déploiement du projet

Introduction à VeriStand 10juin 2014

Page 10: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

CIB

LE D

’EX

ECU

TIO

N

Qu’est-ce que VeriStand ?

Configuration, déploiement, supervisionP

C H

ÔTE

VeriStand Engine

Workspace

VeriStand Gateway

System Explorer

Page 11: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

CIB

LE D

’EX

ECU

TIO

NP

C H

ÔTE

Application Hôte

VeriStand Engine

Workspace

VeriStand Gateway

Qu’est-ce que VeriStand ?

LabVIEW dans tout ça ?

Application RT

Page 12: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Ajout/personnalisation de composants pour VeriStand

– Côté cible d’exécution• Définition FPGA personnalisée

(LabVIEW FPGA requis)

• Encapsulation d’un driver tiers sous forme de Custom Device

• Création d’un modèle à partir d’un VI (*.lvmodel)

– Côté supervision• Contrôle/indicateurs personnalisés

sous forme de Display Template

• Outils à intégrer au Workspace

• Services à intégrer au projet

IHM Custom

Workspace

VeriStand Engine

VeriStand Gateway

Qu’est-ce que VeriStand ?

LabVIEW dans tout ça?

Introduction à VeriStand 13juin 2014

Contrôles personnalisés

Outils complémentaires

Custom Devices

Personnalités FPGA

Modèles LabVIEWInteraction directe avec la Gateway

– Remontée d’information vers une interface opérateur

– Lanceur de projet

» Compléments logiciels NI VeriStand - http://www.ni.com/veristand/addons/f/

Page 13: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Mise en œuvre chez nos clients

� Système portatif de contrôle d'épreuve hydraulique en centrale nucléaire

� Banc HIL pour les organes d’électronique de puissance d’un véhicule électrique

Introduction à VeriStand 14juin 2014

Page 14: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Mise en œuvre chez nos clients

Suivi d’épreuve hydraulique

L’objectif

• Système de surveillance autonome et portatif

• Enregistrement de données

• Gestion d’alarmes et de protections

• Environnement difficile

• Temps de réalisation réduit(moins d’un mois)

La solution

• CompactRIO

• Application temps-réel basée sur VeriStand 2012

• Tablette tactile pour afficher et rapatrier les données, visualiser les éventuelles alarmes

Introduction à VeriStand 15juin 2014

Page 15: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Mise en œuvre chez nos clients

Suivi d’épreuve hydraulique

Mise en œuvre• Composants natifs pours les E/S• Mise à l’échelle des capteurs• Alarmes et procédures• Custom Device pour les afficheurs

numériques (Modbus sur RS-485)• Display Template adapté pour avoir

1 heure d’historique (support NI)

Introduction à VeriStand 17juin 2014

Page 16: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Mise en œuvre chez nos clients

Banc HIL d’électronique de puissance

L’objectif

• Tester les organes d’électronique de puissance d’un véhicule électrique

• Emuler l’environnement électrique de puissance (machine synchrone, réseau, batterie)

• Emuler l’environnement véhicule (CAN, E/S)

• Mesurer les grandeurs physiques en périphérie des l’organes de puissance

La solution

• Mesures, intégration des modèles (machine électrique réseau, batterie), pilotage élémentaire de l’organe depuis VeriStand

• Pilotage des essais fonctionnel et des endurances depuis TestStand

Introduction à VeriStand 18juin 2014

Page 17: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

PO

STE

DE

SUP

ERV

ISIO

NP

ilota

ge m

anu

el e

t au

tom

atiq

ue

API (LabVIEW / .Net)

CH

ASS

IS P

XI P

UIS

SAN

CE

Co

nsi

gnes

de

ou

issa

nce

s Real-Time Engine

Modèles Simulink(batteries, moteurs, …)

Custom Device

CH

ASS

IS P

XI M

ESU

RE

Mes

ure

s, g

énér

atio

n s

ign

aux

Real-Time Engine

Modèles (ECU)

Standard ComponentCustom Device

Mise en œuvre chez nos clients

Banc HIL d’électronique de puissance

Séquences de test

Modules de code

Gateway

Workspace

BA

IE D

E P

UIS

SAN

CE

Systèmesous test

Emulation réseau électrique

Emulation batterie de traction

Emulation machine électrique

Shared Variable Engine

Modbus IO Server

Exécutables autonomes

Display Template

EQU

IPEM

ENTS

EX

TER

NES

Ence

inte

clim

atiq

ue

et t

her

mo

régu

late

ur

AI, AO, DI, DO, CANAI, AO

Mo

db

us

Eth

ern

et

Page 18: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Conclusion

Évolutions marquantes

• VeriStand 2010– LabVIEW Model Generator (.lvmodel)

– Support natif du driver XNET (CAN, LIN, FlexRay)

• VeriStand 2011 SP1– Documentation de l’API .NET

• VeriStand 2012– Support de l’acquisition continue (Waveform Data, graphes spécifique

pour le Workspace, API pour les Custom Devices)

– Échelles définies depuis le System Explorer

• Prochainement– Licence de déploiement basique?

Introduction à VeriStand 20juin 2014

Page 19: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Conclusion

Ressources complémentaires

• NI VeriStand Engine Architecturehttp://www.ni.com/white-paper/13033/en/

• Community » NI VeriStand Add-Onshttps://decibel.ni.com/content/groups/ni-veristand-add-ons

• Comment concevoir, valider et tester en temps réel un système embarqué avec l'environnement NI VeriStandftp://ftp.ni.com/pub/branches/france/2014/nidays/presentations/3-3_NI_VeriStand.pdf

• What's New in NI VeriStand 2013http://zone.ni.com/reference/en-XX/help/372846G-01/TOC1.htm

• Système portatif de contrôle d'épreuve hydraulique en centrale nucléairehttp://sine.ni.com/cs/app/doc/p/id/cs-15840

Introduction à VeriStand 21juin 2014

Page 20: Introduction à VeriStand - MesulogIntroduction à VeriStand Principes, fonctionnement, exemples d’application Mathieu REYROLLE Certifié TestStand Developper, MESULOG LUGE Rhône-Alpes

Questions

Introduction à VeriStand 22juin 2014