Architecture for chemical plant DCS + SIS boards

Hello

I'm designing a control system for a small pilot plant.

I have it set on the use of State diagrams to encode the actuator low level i/o (input sensor readings and instructions, output control signals). However, I am puzzled about how to architect the system as a whole in LabVIEW. I need to support sequences of quite complex locking, which allows the security system to do its thing without blocking unrelated parts of the plant.

for example if high-high fires, open the valve B close valve c. condition D wait to fill out, then close the B valve and open valve C. In the meantime, valve X is planned to open for 5 seconds every 10 minutes under normal operations - it should continue its pattern, without taking into account the high-high alarm A. High-high alarm is valve however, X must be immediately opened until Z condition is met.

Anyone with experience have any advice or resources to share?

Thanks in advance!

Consider placing the parts of the code that deal with non related (more correctly: independent) parts of your plant in parallel loops. These loops can run without interference from each other. Transmit messages between the loops as needed through queues.

Watch the producer/consumer architecture and examples of Message Queuing as ideas to help you get started.  Probably none of these is entirely adapted to your needs in the basic shapes, but the concepts are useful.  The State machines for different parts of the plant can be implemented within these forms.

A lot of planning before writing code is paid in terms of necessity reduced to go back and start over.

Lynn

Tags: NI Software

Similar Questions

  • Best architecture for the implementation of the cRIO

    Hello

    I need to fix a relative to the cRIO application architecture.

    My current operation involves

    1:flushing the elements of the FPGA to RT DMA FIFO when the number of items remaining in the FIFO is about 60 000

    2: my second loop on the fact cRIO treatment of each item by using a loop For and when the number of items that meet the criteria of treatment is higher than or equal to ten, I need to pass it using network flow. This is my current condition.

    3: I use queue to pass data in the buffer of the first loop for the second loop.

    My observation:

    1: the first loop runs fairly quickly, while the second loop, being processed and is much slower compared to the first loop. Accordingly, I am able to convey points very little data on my PC, after which the VI on the cRIO stops automatically.

    I guess the reason as a sort of behavior is probably the queue fills a lot faster that it is emptied due to the slow processing speed.

    I need an effective Architecture that handles this kind of memory constraints. Could anyone please offer an effective Architecture to manage this?

    Thank you.

    Right-click on the array constant left.  There should be an option to set the size of the array.  Also, remember that the tables in an FPGA must have a fixed size.  That's why you should use replace a subset of table instead of build.

  • What architecture for my application?

    Hello!

    For my test bench, I developed the LabVIEW software. In the last months, I asked several questions in this forum, but always about the details of my application. Until now, I never really questioned the general architecture (which is certainly a mistake, that I want to learn).

    What drives this desire to review my work, it's that I am currently not able to interrupt the complete progam or subfeatures of controlled prematurely or if errors occur.

    I hope you could give me some suggestions which would fit my application better. I'm not really experienced in structured programming, use for example architectures producer/consumer etc and I'll read up on them, but first I need a general boost in the right direction.

    First a brief overview of my hard - and software:

    HW:

    • 3 different controllers control of actuators
    • 2 different cameras

    SW:

    • Front for the interaction with the user
    • Several measurement routines that use different combinations of actuators and cameras. For example "move to position 1 and take a picture, then move on to position 2, etc.. These routines can be quite long, including the analysis of the images and decisions based on the results. These routines must sit in event of an event structure that in turn lies in my main program (the program of the façade).
    • Void / screw (lowest level in my software) who send the actual orders for controllers, for example 'move', 'read the current position' etc. These Sub VIs are separated from my Panel VI and consist of structures events themselves, an event for every basic function. These event structures are controlled from the front panel via the dynamic user events. So basically a push of button on the remote.

    Finally a very brief example of workflow in my software:

    1. Façade is started. Along the SubVIs for controllers are also started
    2. Lance user measure routine N1 with a button
    3. Start of the event in the front panel. In this case, other events are generated sequentally, according to the algorithm of measure.
    4. These remote events live Sub point 1, for example remote press the buttons for the basic functions in the desired order (move, take photo etc.).

    Problem is that the user cannot terminate measurement routines before they are completed, because the program is locked up in the case of corresponding event.

    In addition, when a controller reports an error (e.g., loss of power), as routine orders keep coming which results in more errors.

    This should be possible with my new architecture:

    • The user in the front panel (as before)
    • Premature termination of all auxiliary program if the user wants or if the error occurs. Then a defined State must be entered (including closure of all references, power off all devices, etc.)

    I'm not at work right now, but I'll upload some screenshots later because let's face it – which was a wall of text

    But maybe it's enough for a few first thoughts of you?

    Thank you!

    I tend to like to have HAL - so I tend to create a module that is designed just to communicate with the instrument and then my main loop of the program (e.g. routine measurement / logic program) interact with that and sends updates to the user interface. This is because if I want to use this material in another application, I can re - use the 'module '. It's perfectly OK to have your material combined with your message loop - loop, but if it takes a long time to read the data of the instrument, your application would be not as sensitive to the façade events (because it must wait to finish first).

    So, you could have:
    -UI event loop
    -The main Message loop (responds to user interface events and your program 'flow')
    -Hardware Loop (to initialize and communicate with the instrument)

  • Please help create an architecture for Forms 11 g on WebLogic Server

    Dear all,

    We intend to deploy Oracle Forms and reports GR 11, 2 on Oracle WebLogic Server 10.3.6 on AIX.

    In addition, we intend to create a domain in WebLogic 11 g for the high availability solution.

    At present, we have four cases (Live, QA, UAT and development) of the applications deployed on Oracle Application Server 10 g.

    Please help create architecture, optimization of resources.

    Can we deploy all instances of the application four (Live, UAT, development and QA) to single instance of WebLogic Server unique? or do we have to install separately to four WebLogic instances on separate servers?

    References to documents are much appreciated (step-by-step specially :-)).

    Thanks in advance.

    Lacotte

    Hi Lacotte,

    you are able to install all the applications forms on the only field of forms / Instance. You can create separate sections in your formsweb.cfg file.

    But I recommend you to separate four environment: 4 x forms Installation in 4 separate servers.

    Four production I'd do decide to install forms in the Cluster for HA.

    More information:

    http://www.DBI-services.com/index.php/blog/entry/install-Oracle-Fusion-Middleware-report-11gr2-1112-in-a-context-of-high-availability

    http://docs.Oracle.com/CD/E23943_01/core.1111/e10106/classic.htm#ASHIA4331

    HTH

    Borys

  • Recommended architecture for a production installation of OBIEE 11 g

    Hi all

    OBIEE...: 11.1.1.7

    ... OS: Oracle Linux 6.3

    I am immersed in this new world of OBIEE and I have a few questions of small (and possibly dumb). I want to install OBIEE 11 g in a virtual machine for testing only, but I would like the most experienced here on the OBIEE what is the architecture recommended for a production environment? I mean, I have a dedicated server only for the OBIEE software? The repository database must be on a different server? And Weblogic... it should be in a dedicated server (is that even possible)?

    Thanks in advance.

    Standard production deployment is OBIEE + WLS on servers of one (or several), with the database repository and the database of data from reports on separate computers. For a sandbox environment they can all sit on the same. SampleApp is an excellent place to start with OBIEE.

  • the initialization of the Horizon 6 Pod Cloud architecture, for the first time

    Which references to use to initialize the Federation? This should be a service account or can I use my creds?

    You must have the necessary permissions in the two pods, but you can use your own account - it is only used for the installation of the trust and the credentials are not preserved.

    Key permissions you need:

    * Full administrator on the pod from local to run the command

    * Full administrator on the pod from view remote to set up trusts and enable Federation when you perform a join

    See https://pubs.vmware.com/horizon-view-60/topic/com.vmware.ICbase/PDF/horizon-view-60-cloud-pod-architecture.pdf for more details.

  • Architecture for large Applications of ADF

    My developer team finished a web application that contains about 350 web pages, 45 entity object and as the view object 90 between 12 modules app.

    The problem of enforcement is that weakens.


    I use all the tips, I get to guide performance and tuning... then I think the problem is that the architecture is building.

    Is correct use a proyect for model think but is a viewController project correct use?

    Maybe we can get more performance with bills viewCOntroller multiple each of them using the dependence on the same model project and of multiple war file attached to file an ear?


    Thanks for the tips...


    NOTE: I use ADF 11 with webLogic... All queries that use in the application in 50 to 100 ms, are moments of database...

    Published by: user10363801 on 05/03/2011 15:52

    The first thing to do would be to understand what is the source of the slowness in your application. I don't think that the slowness has to do with how your split your application into modules.
    Try and pin-point where slow - is making the pages? is it to get the data? what queries - or maybe she receives the data from the database for the medium level?
    Without such information it will be very difficult to recommend on a way to solve the problem.

  • Architecture for the base product and custom versions of the product

    Hello

    We have a product written in Flex.

    We have several clients who have this product. The product is suitable for every customer.  When you start a new project, copy us the project to a customer who had similar requirements and then make other changes.

    We have this idea of having a layer of base product and then have a customization layer where we can place the project and personalized fuctionalities.   Also: when we update the base product, these updates can be incorporated into custom versions.

    I wonder how you can do this in Flex?

    Thank you

    Juan Esteban

    The development of a good architecture of plugin is * hard *. However, it is certainly worth it. The best approach depends on exactly what you want to do. At a high level, you can:

    1 write the base application and load the plugin modules and allow them to aspects of changes in the behavior of the application or style

    2. put your basic application into a logical application library and a library of custom components (separate) and turn each client application in a new project that pulls out of these.

    If you use dependency injection (e.g., SmartyPants or SwiftSuspenders), you can allow (1) a flexible way to interact with the application without function gynormous objects of 'context '. Simply perform injections on the loaded extensions, and they can pick up all the dependencies without having to worry about what anyone else.

    If (1) or (2) made most sense will depend on exactly what you're trying to do, but in general, (2) is more flexible (1) is a bit simpler (and usually work less by-implementation).

  • Can LabVIEW Embedded for ARM works with any Board or just with a few predefined?

    Hello

    Can LabVIEW Embedded for ARM works with any evaluation committee or just with a few predefined (MCB2300, MCB2400 and EK-LM3S8962)? I ask this question because even if I chose "another processor" in the definition of the new project only 3 options are the corresponding arm of Phillips and LuminaryMicro.

    Thanks in advance,

    Howdy,

    LabVIEW for ARM supports the feature of targets for tier 1 (the mentioned Evaluation Committee) following this schema:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7066

    But you can transfer to other weapons if you follow this porting guide:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/6994

    The uProcesser SDK is intended for the port of other targets of DEPENDENCE (32-bit, of course) and technically it covers ARM as well. Alternatively, there are the LabVIEW C Code Generator: http://sine.ni.com/nips/cds/view/p/lang/en/nid/209015

  • Recommend components for the plant of thumbnails that will be automated using NI USB-6009

    I build a treatment for a University project and I'm looking for a few recommendations of components that work well with the NI USB-6009 case. Because of what is a project of the University, my budget is $ 100 and I need the following:

    a float switch or something similar

    a solenoid valve two-way or three-way

    a pump

    a pH sensor

    a temperature sensor

    a camera

    I understand that I may not have a sufficient budget for all these components, but all product recommendations would be appreciated.

    Hello

    I recommend using the following tool to see examples of projects other users worked on in order to determine the appropriate components: http://www.ni.com/examples/

    I hope this helps!

  • What architecture for loop to hour of time timed with responsiveness front

    I cannot consider this application planning.  I was originally using an Event Driven Architecture with a State Machine in queue to analyse Panel UI changes and react accordingly.  (Something like the solution found here).

    Datalogging should be done in its own loop with the data passed by a queue.

    If you want, you can have multiple queues and several loops of consumer.

  • Pavilion n040us: need a replacement for cracked screen and key board

    cracked screen see very well but the touchscreen does not and that part of the key board works got rained on open window then close with the element inside this cracked screen thanks

    Hello

    Your machine:

    http://PartSurfer.HP.com/search.aspx?SearchText=E8B05UA

    You need the #732074-001 piece unfortunately you can not order from part store, you can order from:

    http://www.Amazon.co.UK/HP-display-panel-screen-732074-001/DP/B00H70T0GG

    or

    http://www.Amazon.es/HP-DSPLY-15-6-SKB-732074-001/DP/B00H71GP6S

    http://www.Amazon.de/dispaly-panel-touch-screen-737632-001/DP/B00H71GP6SRegards.

  • OfficeJet 5740: Missing cd of printer for the plant

    I bought a new computer and I would like to install my printer to it, BUT I don't have the installation CD. Can you please give me the steps to download the printer without the CD?

    Thank you

    Naasira

    Please read this post then provide some details.   What operating system? If Windows 7 or later version, I suggest installing the driver tool to http://www.hp.com/go/tools , or for these and other systems operating, you can download the complete driver recommended from HP here.  If you plan to use USB to connect the printer do not connect the USB up to be instructed by the installer.

  • Which driver to download for a SONY DCS - P1?

    This is in reference to:

    THE

    LawrencePage answered the

    Hi, if you click on the link you will find that the download is not compatible Windows 7; So what I do now?

    You can download the drivers for your camera from the link below.
    http://eSupport.Sony.com/us/Perl/SWU-list.pl?MDL=DSCP1

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

    There are no Windows 7 drivers, the latest driver is for Windows XP.

    http://eSupport.Sony.com/us/p/SWU-download.pl?MDL=DSCP1&upd_id=1452&os_group_id=13

    You try to install in compatibility mode.

    You can also try to run the program in compatibility mode

    You can find more information on compatibility modes in the articles below:

    http://Windows.Microsoft.com/en-us/Windows7/what-is-program-compatibility

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    http://Windows.Microsoft.com/en-us/Windows7/Program-Compatibility-Assistant-frequently-asked-question

  • When installing a windows 8, it gets stuck at 82% in «get files ready for the plant» and btw, this is a clean install. Help me

    I did a clean install of Windows 8 in my Emachines D730z. But he's stuck at 82% in "Getting files ready for installation. Help

    My installation 8.1 is also stuck at 82%. I let the installation continues and about an hour later, he was able to exceed 82% and complete the installation.

Maybe you are looking for

  • Bluetooth Windows 7

    Hello I am very happy with the RAZR, but it will not automatically install drivers bluetooth on windows 7. Is there a link to download and install the correct drivers? Thank you Sea

  • C & C generals zero hour cannot find directx

    Original title: update of directx problem I had DirectX 9 .0c and updated with the webinstaller (why? thought it was a good thing to do) and now my 8.1 game of c & c generals zero hour cannot find directx

  • Executable built with CVI 8.1 error-5093, the analysis library is not found

    Upgraded to 8.1 Labwindows/CVI of Labwindows/CVI 7.0 development machines. An earlier application was built using the ICB 7.0 and installed on a test computer. The same code built with CVI 8.1 is any error during execution of the function stdev, 5093

  • HP dv6 7040tx: compatibility mSATA for my laptop

    Hello is it my computer laptop support mSATA SSD? I intend to add an SSD for my laptop. I have 2 options: 1. Add an mSATA ssd 2. replace the current HDD with SSD normal and add the disk using Caddy. I don't know if my phone is compatible mSATA SSD. C

  • Update: Photoshop CC U43M1D207 error and then (42)?

    I have all the cc of adobe software. They all work fine but when I open photoshop CC, it works but then I get a message saying Windows "program stopped working" (french translation) and it closes automatically (I can't do anyting when photoshop cc is