NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
JCC_(SK)
Posts: 143
0 Kudos
Accepted Solution

RTD & Thermocouple Sensor Simulation

I am very new in VeriStand and I would like to ask you what is the best way to implement simulation of sensors in VeriStand.

 

I should implement simulation of RTD and Thermocouple Sensors in VeriStand.

Problem with temperature sensors are that Mathematical Equations has high order (RTD is 3rd order (this is not so bad) and Thermocouple is 9th order).

 

Do I have to implement this Equations on FPGA or VeriStand could calculate them for me in Real-Time engine (and then VeriStand will setup only AO channel level and on FPGA could be implemented only something like reaction/compensation of Excitation Currents from AI)?

What is the common practice to implement Temperature sensors simulation. Sampling/Update rate for Temperature sensors is usually very low.

 

My configuration is:

  • Host PC - developing tools
  • PXI controller - NI VeriStand RT Engine
    • R Series Multifunction RIO - PXI Card
      • NI9151 - R Series Expansion Chassis
        • C-series AI & AO  (electrical implementation)

 

 

 

 

I am looking forward to you answers.

 

Peter (CLA & CTD)

Member
joshe
Posts: 41
0 Kudos

Re: RTD & Thermocouple Sensor Simulation

[ Edited ]

We are using the 9213 crio module (T/C) and connect is using a Custom Device that NI gave us to do the math.  We had to do some minipulation on the FPGA since the module is slow and we are running at 1KHz.  This was basically putting the T/C in a separate loop and letting the FPGA publish the data at ever cycle even if the T/C data had not updated yet (the FPGA published old data for the T/C to keep up with the Analog Input modules we have).  The Custom Device does the mV to Temperature conversions.

 

PXI Chassis

9813R FPGA card

Expanson chassis with AI, AO, DI, DO and T/C (9213)

Member
JCC_(SK)
Posts: 143
0 Kudos

Re: RTD & Thermocouple Sensor Simulation

Hi Joshe

Thank you for replay.

 

My Custom Device should do conversion from T to mV (Thermocouple) and Ohms (Thermistor).

I am emulating Thermocouple and Thermistors.

Operator/VeriStand Script will enter Temperature and cRIO module should generate mV and Ohms corresponding to required Temperature.

Member
JohanS
Posts: 31

Re: RTD & Thermocouple Sensor Simulation

Hi,

I just wanted to inform you that we at WireFlow has released a cSeries resistor emulator module (WF3144) for these kind of simulations.

Take a look at www.wireflow.se to see if this can be of interest.

 

/Johan

Member
JCC_(SK)
Posts: 143
0 Kudos

Re: RTD & Thermocouple Sensor Simulation


JohanS wrote:

Hi,

I just wanted to inform you that we at WireFlow has released a cSeries resistor emulator module (WF3144) for these kind of simulations.

Take a look at www.wireflow.se to see if this can be of interest.

 

/Johan


Hi JohanS

Thank you for you replay.

It is very interesting.

Maybe next time.

 

 Peter

Member
JCC_(SK)
Posts: 143
0 Kudos

Re: RTD & Thermocouple Sensor Simulation

Thermocouple (9th order) I implemented on FPGA as Look-Up Table. Look-Up Table initialized by 9th order equation in required range.

 

RTD (3rd order) implemented directly on FPGA. VeriStand send all parameters every period.

 

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page