Showing posts with label data acquisition software. Show all posts
Showing posts with label data acquisition software. Show all posts

Wednesday, 19 July 2017

How to keep multicloud complexity under control



Using multiple cloud providers provides needed flexibility, but it also multiplies the work and risk of getting out of sync
“Multicloud” means that you use multiple public cloud providers, such as Google and Amazon Web Services, AWS and Microsoft, or all three—you get the idea. Although this seems to provide the best flexibility, there are trade-offs to consider.
The drawbacks I see at enterprise clients relate to added complexity. Dealing with multiple cloud providers does give you a choice of storage and compute solutions, but you must still deal with two or more clouds, two or more companies, two or more security systems … basically, two or more ways of doing anything. It quickly can get confusing.
For example, one client confused security systems and thus inadvertently left portions of its database open to attack. It’s like locking the back door of your house but leaving the front door wide open. In another case, storage was allocated on two clouds at once, when only one was needed. The client did not find out until a very large bill arrived at the end of the month.
Part of the problem is that public cloud providers are not built to work together. Although they won’t push back if you want to use public clouds other than their own, they don’t actively support this usage pattern. Therefore, you must come up with your own approaches, management technology, and cost accounting.
The good news is that there are ways to reduce the multicloud burden.
For one, managed services providers (MSPs) can manage your multicloud deployments for you. They provide gateways to public clouds and out-of-the-box solutions for management, cost accounting, governance, and security. They will also be happy to take your money to host your applications, as well as provide access to public cloud services.
If you lean more toward the DIY approach, you can use cloud management platforms (CMPs). These place a layer of abstraction between you and the complexity of managing multiple public clouds. As a result, you use a single mechanism to provision storage and compute, as well as for security and management no matter how many clouds you are using.
I remain a fan of the multicloud approach. But you’ll get its best advantage if you understand the added complexity up front and the ways to reduce it.

6 Steps on How to Learn or Teach LabVIEW OOP - Part 2

Labview

Step 4 – Practice!
This stage is harder than the last. You need to make sure:
Each child class should exactly reflect the abstract methods. If your calling code ever cares which sub-class it is calling by using strange parameters or converting the type then you are violating LSP – the Liskov substitution principle – The L of solid.
Each child class should have something relevant to do in the abstract classes. If it has methods that make no sense this is a violation of the interface segregation principle.
Step 5 – Finish SOLID
Read about the open-closed principle and the dependency inversion principle and try it in a couple of sections of code.
Open-closed basically means that you leave interfaces (abstract classes in LabVIEW). Then you can change the behavior by creating a new child class (open for extension) without have to modify the original code (closed to modification). This goes well with the dependency inversion principle. This says that higher level classes should depend only on interfaces (again abstract classes). This means the lower level code implements these classes and so the high-level code can call the lower level code without a direct dependency.
This goes well with the dependency inversion principle. This says that higher level classes should depend only on interfaces (again abstract classes). This means the lower level code implements these classes and so the high-level code can call the lower level code without a direct dependency. This can help in places where coupling is difficult to design out.
I leave these principles to the end because I think they are the easiest to write difficult to read code. I’m still trying to find a balance with these – following them wholeheartedly creates lots of indirection which can affect readability. I also think we don’t get as much benefit in LabVIEW with these since we don’t tend to package code within projects in the same way as other languages. (this maybe a good topic for another post!)
Step 6 – Learn some design patterns
This was obviously part of the point of this article. When I came back to design patterns after understanding design better and the SOLID principles it allowed me to look at the patterns in a different way. I could relate them to the principles and I understood what problems they solved.
For example, the command pattern (where you effectively have a QMH which takes message classes) is a perfect example of a solution to meet the open-closed principle for an entire process. You can extend the message handler by adding support for new message types by creating new message classes instead of modifying the original code. This is how the actor framework works and has allowed the developers to create a framework where they have a reliable implementation of control of the actors but you can still add messages to define the functionality.
Once you understand why these design patterns exist you can then apply some critical thinking about why and when to use them. I personally dislike the command pattern in LabVIEW because I don’t think the additional overhead of a large number of message classes is worth the benefit of being able to add messages to a QMH without changing the original code.
I think this will help you to use them more effectively and are less likely to end up with a spaghetti of design patterns thrown together because that is what everyone was talking about.
Urmm… so what do I do?
So I know this doesn’t have the information you need to actually do this so much as set out a program. Actually, all the steps still follow the NI course on OOP so you could simply self-pace this for general learning material.

Thursday, 13 July 2017

6 Steps on How to Learn or Teach LabVIEW OOP - Part 1

If you follow the NI training then you learn how to build a class on Thursday morning and by Friday afternoon you are introduced to design patterns. Similarly when I speak to people they seem keen to quickly get people on to learning design patterns – certainly, in the earlier days of adoption this topic always came up very early.
I think this is too fast. It adds additional complexity to learning OOP and personally I got very confused about where to begin.
Step 1 – The Basics
Learn how to make a class and the practical elements like how the private scope works. Use them instead of whatever you used before for modules. e.g. action engines or libraries. Don’t worry about inheritance or design patterns at this stage, that will come.
Step 2 – Practice!
Work with the encapsulation you now have and refine your design skills to make objects that are highly cohesive and easy to read. Does each class do one job? Great you have learned the single responsibility principle, the first of the SOLID principles of OO design. Personally, I feel this is the most important one.
If your classes are large then make them smaller until they do just one job. Also, pay attention to coupling. Try to design code that doesn’t couple too many classes together – this can be difficult at first but small, specific classes help.
Step 3 – Learn inheritance
Use dynamic dispatch methods to implement basic abstract classes when you need functionality that can be changed e.g. a simulated hardware class or support for two types of data logs. I’d look at the channeling pattern at this point too. Its a very simple pattern that uses inheritance and I have found helpful in a number of situations. But no peeking at the others!

Thursday, 29 June 2017

Getting Started with CompactRIO - Performing Basic Control

logger software 

The National Instruments Compact

An advanced embedded data and control acquisition system created for applications that require high performance and reliability equals RIO programmable automation controller. The system has open, embedded architecture, extreme ruggedness, small size, and flexibility, that engineers and embedded planners can use with COTS hardware to instantly build systems that are custom embedded. NI CompactRIO is powered by National Instruments LabVIEW FPGA and LabVIEW Real-Time technologies, it gives engineers the ability to program, design, and customize the CompactRIO embedded system with handy graphical programming tools.
This controller fuses a high-performance FPGA, an embedded real-time processor, and hot-swappable I/O modules. Every I/O module that grants low-level customization of timing and I/O signal processing is directly connected to the FPGA. The embedded real-time processor and the FPGA are connected via a high-speed PCI bus. A low-cost architecture with direct access to low-level hardware assets is shown by this. LabVIEW consists of built-in data transfer mechanisms that pass data from both the FPGA and the I/O modules to the FPGA to the embedded processor for real-time post-processing, analysis, data logging, or communication to a networked host CPU.

FPGA

A reconfigurable, high-performance chip that engineers may program with LabVIEW FPGA tools is the installed FPGA. FPGA designers were compelled to learn and use complex design languages such as VHDL to program FPGAs, and now, any scientist or engineer can adapt graphical LabVIEW tools to personalize and program FPGAs. One can implement custom triggering, timing, control, synchronization, and signal processing for an analog and digital I/O by using the FPGA hardware installed in CompactRIO.

C Series I/O Modules

A diversity of I/O types are accessible including current, voltage, thermocouple, accelerometer, RTD, and strain gauge inputs; 12, 24, and 48 V industrial digital I/O; up to ±60 V simultaneous sampling analogue I/O; 5 V/TTL digital I/O; pulse generation; counter/timers; and high voltage/current relays. People can frequently connect wires directly from the C Series modules to their actuators and sensors, for the modules contain built-in signal conditioning for extended voltage ranges or industrial signal samples.

Weight and Size

Demanding design requirements in many embedded applications are size, weight, and I/O channel density. A four-slot reconfigurable installed system weighs just 1.58 kg (3.47 lb) and measures 179.6 by 88.1 by 88.1 mm (7.07 by 3.47 by 3.47 in.).



Friday, 23 June 2017

Embedded Controller for Data Acquisition

data acquisition system
Embedded control is a subgroup of the overall data acquisition and control market. The I/O system is not connected to an external PC. The processor runs the system or the PC, which is incorporated into the I/O chassis itself, is the differentiating feature of an embedded system. One hosted DAQ system is usually introduced by some type of general purpose PC with a keyboard, monitor or some other human interface apparatus. However, an Embedded Control system's processor is normally designed specifically to control and monitor the system and often does not provide the direct connection to a monitor or any other human interface at all.

Still, the hardware differences between a standard PC and an embedded controller are evident. The differences in software are usually significant as well. Large operating systems (in terms of memory and disk space requirements) such as MAC OS X and Windows XP are the ones most PCs are based on, while the typical embedded system is more likely to be based on a smaller operating system developed to provide a simple and powerful GUI human interface. Nowadays, people are much more likely to work on operating systems such as Windows CE or Linux. Further, as many of these systems are in control of high speed or timing critical operations, people are much more likely to work on an embedded control DAQ system based on a real-time operating system such as RTX, QNX or Linux.

There is almost always some link to the outside world, even though the embedded control CPU is quite likely to run individually on any supervisory controller. Generally, it can be as complex as letting the supervisory computer take entire control any time the communication’s link between the two systems is active, but this may also be as limited as providing a simple "OK" or "not OK" situation. Usually, it is somewhere in between the supervisory control and data acquisition (SCADA) where computer looks over system status and provides a link that allows a human operator to manage the system's operation, or gives some direction (e.g. set points or PID control loop adjustments).

It is important to indicate that the heart of an industrial control system or a process control application is often some embedded controller. It should be at the center of a remote controller (that allows an application to keep running even if its significant link to the outside world is cut) or portable data acquisition system.

Friday, 2 June 2017

3 Steps to Understand RS232 Devices

data acquisition system 
Having troubles with controlling your RS232 device? This article will certainly help you understand almost all of the hardware and software standards for RS232.

Step 1: Understand RS232 Connection & Signals

RS-232C, EIA RS-232, or simply RS-232, refers to the same standard defined by the Electronic Industries Association in 1969 for serial communication.
DTE stands for Data Terminal Equipment. Any computer is a DTE. DCE stands for Data Communication Equipment. Any modem is a DCE.
DTE normally comes with a Male Connector, while DCE comes with a Female Connector. However, that is not always the case. Fortunately, there is a simple way to confirm this:
Measure Pin 3 and Pin 5 of a DB-9 Connector with a Volt Meter, if you get a voltage of -3V to -15V, then it is a DTE device. If the voltage is on Pin 2, then it is a DCE device. Simple and easy.
A straight-through cable is used to connect a DTE (e.g. computer) to a DCE (e.g. modem), all signals in one side connected to the corresponding signals in the other side in a one-to-one basis. A crossover (null modem) cable is used to connect two DTE directly, it does not require a modem in between. They cross-transmit and receive data signals between the two sides and there are many variations on how the other control signals are wired.

Step 2: Learn about the Protocol

A protocol is one or a few sets of hardware and software rules agreed to by all communication parties for exchanging data correctly and efficiently.
Synchronous and Asynchronous Communications
Synchronous Communication requires the sender and receiver to share the same clock. The sender provides a timing signal to the receiver so that the receiver knows when to "read" the data. Synchronous Communication generally has higher data rates and greater error-checking capability. A printer is a form of Synchronous Communication.
Asynchronous Communication has no timing signal or clock. Instead, it inserts Start / Stop bits into each byte of data to "synchronize" the communication. As it uses fewer wires for communication (no clock signals), Asynchronous Communication is simpler and more cost-effective. RS-232 / RS-485 / RS-422 / TTL are the forms of Asynchronous Communications.

Drilling Down: Bits and Bytes

Internal computer communications consist of digital electronics, represented by only two conditions: ON or OFF. We represent these with two numbers: 0 and 1, which in the binary system is termed a Bit.
A Byte consists of 8 bits, which represents decimal number 0 to 255, or Hexadecimal number 0 to FF. As described above, a byte is the basic unit of Asynchronous communications.

Step 3: Control your RS232 devices

After reading and understanding the first two steps we’ve talked about, it is easy to now test and controls your RS232 devices in order to get the perfect feel of how they work.
ReadyDAQ offers software solutions for RS232 devices, make sure to check them out.

Thursday, 1 June 2017

INTRODUCTION TO RS232 SERIAL COMMUNICATION - PART 2

http://www.readydaq.com/daq
Assume we want to send the letter ‘A’ over the serial port. The binary representation of the letter ‘A’ is 01000001. Remembering that bits are transmitted from least significant bit (LSB) to most significant bit (MSB), the bit stream transmitted would be as follows for the line characteristics 8 bits, no parity, 1 stop bit, 9600 baud.

LSB (0 1 0 0 0 0 0 1 0 1) MSB
The above represents (Start Bit) (Data Bits) (Stop Bit)
To calculate the actual byte transfer rate simply divide the baud rate by the number of bits that must be transferred for each byte of data. In the case of the above example, each character requires 10 bits to be transmitted for each character. As such, at 9600 baud, up to 960 bytes can be transferred in one second.
The first article was talking about the “electrical/logical” characteristics of the data stream. We will expand the discussion to line protocol.
Serial communication can be half duplex or full duplex. Full duplex communication means that a device can receive and transmit data at the same time. Half duplex means that the device cannot send and receive at the same time. It can do them both, but not at the same time. Half duplex communication is all but outdated except for a very small focused set of applications.
Half duplex serial communication needs at a minimum two wires, signal ground, and the data line. Full duplex serial communication needs at a minimum three wires, signal ground, transmit data line and receive data line. The RS232 specification governs the physical and electrical characteristics of serial communications. This specification defines several additional signals that are asserted (set to logical 1) for information and control beyond the data signals and signals ground.
These signals are the Carrier Detect Signal (CD), asserted by modems to signal a successful connection to another modem, Ring Indicator (RI), asserted by modems to signal the phone ringing, Data Set Ready (DSR), asserted by modems to show their presence, Clear To Send (CTS), asserted by modems if they can receive data, Data Terminal Ready (DTR), asserted by terminals to show their presence, Request To Send (
RTS), asserted by terminals when they want to send data. The section RS232 Cabling describes these signals and how they are connected.
The above paragraph alluded to hardware flow control. Hardware flow control is a method that two connected devices use to tell each other electronically when to send or when not to send data. A modem in general drops (logical 0) its CTS line when it can no longer receive characters. It re-asserts it when it can receive again. A terminal does the same thing instead with the RTS signal. Another method of hardware flow control in practice is to perform the same procedure in the previous paragraph except that the DSR and DTR signals are used for the handshake.
Note that hardware flow control requires the use of additional wires. The benefit to this, however, is crisp and reliable flow control. Another method of flow control used is known as software flow control. This method requires a simple 3 wire serial communication link, transmit data, receive data, and signal ground. If using this method, when a device can no longer receive, it will transmit a character that the two devices agreed on. This character is known as the XOFF character. This character is generally a hexadecimal 13. When a device can receive again it transmits an XON character that both devices agreed to. This character is generally a hexadecimal 11.

Tuesday, 30 May 2017

Introduction to RS232 Serial Communication - Part 1

Labview consultant
Serial communication is basically the transmission or reception of data one bit at a time. Today’s computers generally address data in bytes or some multiple thereof. A byte contains 8 bits. A bit is basically either a logical 1 or zero. Every character on this page is actually expressed internally as one byte. The serial port is used to convert each byte to a stream of ones and zeroes as well as to convert streams of ones and zeroes to bytes. The serial port contains an electronic chip called Universal Asynchronous Receiver/Transmitter (UART) that actually does the conversion.
The serial port has many pins. We will discuss the transmit and receive pin first. Electrically speaking, whenever the serial port sends a logical one (1) a negative voltage is effected on the transmit pin. Whenever the serial port sends a logical zero (0) a positive voltage is effected. When no data is being sent, the serial port’s transmit pin’s voltage is negative (1) and is said to be in the MARK state. Note that the serial port can also be forced to keep the transmit pin at a positive voltage (0) and is said to be the SPACE or BREAK state. (The terms MARK and SPACE are also used to simply denote a negative voltage (1) or a positive voltage(0) at the transmit pin respectively).
When transmitting a byte, the UART (serial port) first sends a START BIT which is a positive voltage (0), followed by the data (general 8 bits, but could be 5, 6, 7, or 8 bits) followed by one or two STOP BITs which is a negative(1) voltage. The sequence is repeated for each byte sent.
At this point, you may want to know what is the duration of a bit. In other words, how long does the signal stay in a particular state to define a bit? The answer is simple. It is dependent on the baud rate. The baud rate is the number of times the signal can switch states in one second. Therefore, if the line is operating at 9600 baud, the line can switch states 9,600 times per second. This means each bit has the duration of 1/9600 of a second or about 100 µsec.
When transmitting a character there are other characteristics other than the baud rate that must be known or that must be setup. These characteristics define the entire interpretation of the data stream.
The first characteristic is the length of the byte that will be transmitted. This length, in general, can be anywhere from 5 to 8 bits.
The second characteristic is parity. The parity characteristic can be even, odd, mark, space, or none. If even parity, then the last data bit transmitted will be a logical 1 if the data transmitted had an even amount of 0 bits. If odd parity, then the last data bit transmitted will be a logical 1 if the data transmitted had an odd amount of 0 bits. If MARK parity, then the last transmitted data bit will always be a logical 1. If SPACE parity, then the last transmitted data bit will always be a logical 0. If no parity then there is no parity bit transmitted.
A third characteristic is a number of stop bits. This value, in general, is 1 or 2.
Stay tuned for part two, it will be published soon.

Tuesday, 23 May 2017

Synchros and Resolvers

daq
Synchros and Resolvers have been used to measure and control shaft angles in various applications for over 50 years. Though they predate WWII, these units became extremely popular during WWII in fire/gun control applications, as indicators/controllers for aircraft control surfaces and even for synchronizing the sound and video in early motion picture systems. In the past, these units were also called Selsyns (for Self-Synchronous.)
At a first glance, Synchros and Resolvers don’t look too different from electric motors. They share the same rotor, stator, and shaft components. The primary difference between a synchro and a resolver is a synchro has three stator windings installed at 120-degree offsets while the resolver has two stator windings installed at 90-degree angles. To monitor rotation with a synchro or resolver, the data acquisition system needs to provide an AC excitation signal and an analog input capable of digitizing the corresponding AC output.
Though it is possible to create such a system using standard analog input and output devices, it is a fairly complicated process to do so, and most people opt for a dedicated synchro/resolver interface. These DAQ products not only provide appropriate signal conditioning, they also typically take care of most of the “math” required to turn the analog input into rotational information. It always a good idea to check the software support of any synchro/resolver interface to ensure that it does provide results in a format you can use. Most synchro/resolvers require an excitation of roughly 26 Vrms at frequencies of either 60 or 400 Hz. It is important to check the requirements of the actual device you are using. Some units require 120 Vrms (and provide correspondingly large outputs…be careful.) Also, some synchro/resolver devices, and in particular those used in applications where rotational speed is high, require higher excitation frequencies, though you will seldom see a system requiring anything higher than a few kilohertz.
Finally, some synchro/resolver interfaces such as UEI’s DNx-AI-255 provide the ability to use the excitation outputs as simulated synchro/resolver signals. This capability is very helpful in developing aircraft or ground vehicle simulators as well as for providing a way to test and calibrate synchro/ resolver interfaces without requiring the installation of an actual hardware. Note: In some applications, the synchro/resolver excitation is provided by the DUT itself. In such cases, it is important to make sure that your DAQ interface is capable of synchronizing to the external excitation. This is typically accomplished by using an additional analog input channel.

Friday, 19 May 2017

Simple Wiring of Clock and Trigger

data acquisition
One last part of "non-standard" information obtaining and control frameworks is the manner by which bigger frameworks are synchronized. Regularly, it is important that you know "what" happened, as well as "when" it happened. In little frameworks, this is normally simple to fulfill as the simple sources of info and even the yield excitation, are on a similar board. Be that as it may, frameworks with high channel include and, specific, applications spread over extensive zones require cautious thoughtfulness regarding timing. A top to bottom talk of this theme is well past the extent of this article, yet the accompanying brief segment may help the per user begin off in the correct bearing instantly.

Simple Wiring of Clock/Trigger

Simple Wiring of clock and trigger signs is regularly the snappiest, least demanding and most exact approach to synchronize occasions in better places. Most DAQ gadgets have at least one trigger/clock sources of info and it is as often as possible conceivable to just synchronize frameworks by interfacing these signs. Take note of that the engendering of an electronic flag in a wire is near the speed of light. A thousand feet of wire would commonly just present about a microsecond of postponement.
A great many people consider GPS (Global Positioning System) as a reasonable approach to discover the closest corner store or pizza parlor. Be that as it may, GPS is likewise a magnificent innovation for giving extremely exact time data. Truth be told, the whole reason for the GPS framework is amazingly exact timekeepers (and in addition satellites at known areas). Indeed, even a generally economical GPS can give supreme planning precision superior to 1 microsecond. In spite of the fact that the GPS on your pontoon or auto might not have a period yield flag, numerous reasonable GPS gadgets give a 1 or 5 Pulse for every Second flag exact to inside 1 uS of supreme UTC. Utilizing these straightforward and reasonable gadgets, it turns out to be straightforward to synchronize information tests anyplace on the planet.

Monday, 15 May 2017

Military’s equivalent to ARINC-429

Daq
MIL-STD-1553 is the military’s equivalent to ARINC-429, though structurally it is VERY different. The first and most obvious difference is that most 1553 links are designed with dual, redundant channels. Though commercial aircraft don’t typically get wires cut by bullets or flak, military aircraft are typically designed such that a single cut wire or wiring harness won’t cause a loss of system control.
If you are looking to “hook” to an MIL-1553 device, be sure your interface has both channels. Also, an MIL-1553 device can serve as Bus Controller, Bus Monitor, or Remote Terminal. Not all interfaces support all three functions. Be sure the interface you select has the capability you require. As with the ARINC-429 bus, when operating as a bus controller, the unit must be capable of detailed transmission scheduling (including major and minor frame timing) and this is best performed in hardware rather than via software timing.

CAN 

The CAN (Controller Area Network) bus is the standard communications interface for automotive and truck systems. Gone are the days when your car was controlled by mechanical linkages, gears, and high current switches. Your transmission now shifts gears based on CAN commands sent from a computer. Even such things as raising/lowering the windows and adjusting the outside rearview mirror are frequently no longer done via simple switches but are now done via CAN sensors and actuators.
Vehicle speed, engine RPM, transmission gear selection, even internal temperature are all available on the CAN bus. As with the ARINC-429 aircraft example, when running tests in a car or truck, it’s very useful to be able to coordinate the data available on the various CAN networks with any more conventional DAQ measurement you may be making. If you are measuring internal vibration, you’ll want to coordinate it with Engine RPM and speed (among other things). Like any data acquisition system, one of the first things you need to be aware of when specifying a CAN interface system is how many CAN ports you will need.
There are sometimes 50 or more different CAN networks in a given vehicle. Be sure your system has enough channels to grab all the data you still need. The CAN specification supports data rates up to 1 megabaud. Be sure the system you specify is capable of matching the speed of the network you wish to monitor

Friday, 12 May 2017

Do you know about ARINC-429?

Daq
ARINC-429 is the aeronautics interface utilized by all business air ship (however 429 is not the essential interface on the Boeing 777 and 787 and the Airbus A-380). It is utilized for everything from conveying between different complex frameworks, for example, flight executives and autopilots and in addition to observing more short-sighted gadgets, for example, velocity sensors or fold position pointers.
In test frameworks, it's frequently basic to organize information from ARINC-429 gadgets with more regular DAQ gadgets, for example, weight sensors and strain gages. When examining stress put on a wing fight, you'd positively jump at the chance to have the capacity to facilitate the anxiety comes about with so many parameters as velocity, elevation, and any turn or climb/plummet incited g-strengths.
While the ARINC-429 transport is all around characterized, PC-based interfaces for the 429 transport are altogether different. The 429 transport characterizes usefulness as far as names, with each name speaking to an alternate parameter. It's essential for the information procurement framework to have the capacity to separate between the names. On the off chance that your framework is just keen on velocity, you need to disregard different parameters. Take note of that some ARINC-429 interfaces enable you to make these determinations in interface equipment, while others put the weight of exertion on the product.
Numerous ARINC-429 gadgets keep running on a complete calendar. For instance, the attractive heading might be transmitted each 200 mS. Some ARINC interfaces rely on programming based planning while others incorporate the booking with an FPGA in the equipment. The more elements and parameters a given ARINC interface incorporates with equipment the better, as you might rely on those valuable host CPU cycles for different things.

Tuesday, 2 May 2017

LVDT and RVDT

Daq
LVDT and RVDT (Linear/Rotary Variable Differential Transformer) gadgets are like synchro/resolvers in that they utilize transformer loops to detect movement. Be that as it may, in an RVDT/LVDT, the curls are settled in the area and the coveted flag is prompted by the development of the ferromagnetic "center" with respect to the loops. (Obviously, an essential distinction of the LVDT and synchro/resolvers is that the LVDT is utilized to quantify straight movement, not pivot.)
Another contrast amongst RVDTs and synchro/resolvers are the RVDT has a restricted precise estimation go, while the synchro/resolver can be utilized for multi-turn rotational estimation with appraised exactness for the whole 0-360 degree range. While associating an RVDT/LVDT to your DAQ framework, the majority of the worries are like those of the synchros.
To begin with, you may fabricate an RVDT/LVDT interface out of non-exclusive A/D and D/A between countenances, yet it's not an unimportant exercise. A great many people decide on an extraordinary reason interface composed particularly for the assignment.
Notwithstanding wiping out the requirement for complex flag molding, the particularly outlined interface will for the most part change over the different signs into either turn (in degrees or percent of scale) or on account of the LVDT, into rate of full scale The LVDT/RVDT interface will likewise give the fundamental excitation, which is regularly in the 2-7 Vrms extend at frequencies of 100 Hz to 5 kHz.
A few frameworks may give their own particular excitation, and in such a case, make sure the LVDT/RVDT interface you pick has a way to synchronize to it. At last, similar to the synchro/resolver, LVDT/RVDT interfaces, for example, UEI's DNx-AI-254 give the capacity to utilize the excitation yields as a mimicked LVDT/RVDT signals. This capacity is extremely useful in creating airship or ground vehicle test systems, and also to provide an approach to test and align RVDT/LVDT interfaces without requiring the establishment of the real equipment.

Friday, 28 April 2017

The Temperature and Clamminess Sensors

Temperature data logger
The temperature and clamminess sensors are skilled in recognizing encompassing changes. One of the present sensors is used to recognize current of apparatus to be checked while the other one is used to distinguish the consistent data watching contraption. A comparative operation furthermore associated with both voltage sensors, where one of the voltage sensors is used for the ceaseless data checking device and the other one is used for central rigging watching.
Most of the sensors data scrutinizing will select the microcontroller unit nearby date and time stamp synchronously. The data will be exchanged over GSM/GPRS module to remote checking database to give the customer the steady data, meanwhile, the data is marked into microSD module. The data is open wherever through web base application where the data set away inside appropriated stockpiling application. The web base application fills in as remote data securing application which demonstrates steady numerical data and graphical data plotting. In this manner, the data is accessible wherever and any kind of web capable electronic contraptions, for instance, tablet, desktop, and PDA. The data accumulated by the sensors will be moved into site server and these data will be revived at the site-specific channel and appeared for an overview. The data will be invigorated at consistent interims.
A microcontroller carries on as a little farthest point PC on electronic gear building. The microcontroller will choose how the contraptions peripherals that annexed to it work and go about as fused system which in this way altered and expand into the microcontroller streak memory. The electronic peripherals that associated with the microcontroller talk with each other through serial correspondence either by methods for Inter-Integrated Circuit (I2C), Serial Peripheral Interface (SPI) or Universal Asynchronous Receiver/Transmitter (UART). In this wander, Atmel Atmega2560 microcontroller is played out the gear operation control and serial data taking care of an errand. The microcontroller involves 54 propelled data/yield pins where 15 of it can be used as pulse width adjust (PWM)

Tuesday, 25 April 2017

Real Time Data Monitoring

daq

Continuous data checking is a fundamental reinforce application to screening maintained electrical
device conditions especially when the watched parameters affect the maintained rigging electrical
contraption operation, for instance, temperature, moisture, voltage, current and wind condition.
Web embedded advancement makes data trading and openness around the globe possible where
the machine could talk with PC in playing out its operation. The likelihood of remote data transmission is
to give device straightforwardness instead of wired system and lower cost for long range correspondence.
Now and again, the normal human site visit is not sensible as a result of a couple of factors, for
instance, security, unsavory scene, huge cost per visit, atmosphere condition and risk regular life. To
beat the issues, a whole deal long-run remote watching system, which needed low help essential to
be set up. In nowadays Internet of Things (IoT) period, the sensor data reviewing can be live
sustained into a web page and can be gotten to wherever if web get to is acceptable. In taking the
upside of nowadays advancement achievement, an unmanned checking structure can be set up to
beat the communicated inconveniences. On top of that, by setting up the ceaseless watching
structure, the human site visits for plan and upkeep could be restricted.
Consequently, wander and work costs could be in like manner restricted. In this investigation
broaden, a persistent remote data checking sensors contraption is delivered close by online data
securing (DAQ) system for simple to utilize data get to.

Monday, 17 April 2017

Communication Interfaces

daq software

When considering piezoelectric precious stone gadgets for use in a DAQ system, a great many people consider vibration and accelerometer sensors as these gems are the reason for the universal ICP/IEPE sensors. It is, for the most part, comprehended that when you apply a compel on a piezoelectric precious stone it makes the gem misshape somewhat and that this misshapen prompts a quantifiable voltage over the gem.
Another element of these precious stones is that a voltage set over an unstressed piezoelectric gem makes the gem "twist". This twisting is in reality little, additionally exceptionally all around acted and unsurprising. Piezoelectric precious stones have turned into an exceptionally normal movement control gadget in systems that require little redirections. Specifically, they are utilized as a part of a wide assortment of laser control systems and additionally a large group of other optical control applications. In such applications, a mirror is connected to the precious stone, and as the voltage connected to the gem is changed, the mirror moves. In spite of the fact that the development is normally not noticeable by the human eye, at the wavelength of light, the development is considerable. Driving these piezoelectric gadgets presents two intriguing difficulties.
To begin with, accomplishing the coveted development from a piezoelectric precious stone regularly requires huge voltages, however leniently at low DC streams. Second, however, the precious stones have high DC impedances they additionally have high capacitance, and driving them at high rates is not a minor undertaking.
Correspondences is an "oft overlooked" some portion of numerous data acquisition and control systems. Take note of that we're not discussing the interchanges interface between the I/O gadget and the host PC. We're alluding to different gadgets to/and from which we either need to obtain data or issue control summons. Cases of this sort of gadget may be the CAN-transport in a car or the ARINC-429 interface in either a business airship or ship.

Tuesday, 11 April 2017

Other types of DAQ Hardware - Part 2

Monotonicity 

In spite of the fact that it's sound judgment to accept that on the off chance that you charge your yield to go to a higher voltage, it will, paying little respect to the general precision. In any case, this is not really the situation. D/A converters show an error called differential non-linearity (DNL). Generally, DNL error speaks to the variety in yield "step estimate" between adjoining codes. In a perfect world, instructing the yield to increment by 1LSB, would make the yield change by a sum equivalent to the general yield resolution. Notwithstanding, D/A converters are not immaculate and expanding the advanced code kept in touch with a D/A by one may make the yield change .5 LSB, 1.3 LSB, or some other subjective number. A D/A/channel is said to be monotonic if each time you increment the advanced code kept in touch with the D/A converter, the yield voltage does undoubtedly increment. In the event that the D/A converter DNL is under ±1 bit, the converter will be monotonic. If not, charging a higher yield voltage could in truth make the yield drop. In control applications, this can be extremely risky as it turns out to be hypothetically workable for the system to "bolt" onto a false set point, inaccessible from the one wanted. 2.1.5 Output Type Unlike analog inputs, which arrive in a bunch of sensor-particular input designs, analog yields ordinarily come in two flavors, voltage yield and current yield. Make certain to determine the correct sort of your system. A few gadgets offer a blend of voltage and current yields, however, most offer just a solitary sort. In the event that your system requires both, you might need to consider a present yield module, as the present yields can frequently be changed over to a reasonable voltage yield with the straightforward establishment of a shunt resistor. Take note of the exactness of the shunt resistor-made voltage yield is extremely subject to the precision of the resistor utilized. Additionally, take note of, the shunt resistor utilized will be in parallel with any heap or gadget associated with it. Make sure the input impedance of the gadget driven is sufficiently high not to influence the shunt work.

Thursday, 6 April 2017

DAQ “System” Considerations

daq
Be mindful so as to analyze the analog input systems you are thinking about to decide whether the specimen rate determination gave is to each channel or for the whole board. As talked about already, most DAQ input sheets utilize a multi-channel multiplexer associated with a solitary A/D converter. Most "item" depictions (e.g., 100-kilo samples/second, 8-channel, A/D board), indicate the aggregate specimen rate of the board or gadget. This permits examining of one channel at 100 kS/s, yet in the event that more channels are required, the 100 kS/s is shared among all channels. For instance, if two channels are examined, each may just be inspected at 50 kS/s each. So also, 5 channels could be tested at 20 kS/s each. In the event that the particular does not indicate the specimen rate "according to channel", it is likely the example rate must be separated among all channels inspected. Another example rate element ought to be considered when different input signals contain generally changing recurrence content. For instance, a car test system may need to screen vibration at 20 kS/s and temperature at 1 S/s. In the event that the analog input just examples at a solitary rate, the system will be compelled to test temperature at 20 kS/s and will squander a lot of memory/plate space with the 19,999 temperature S/s that aren't required.
The last testing rate concern is the need to test sufficiently quick or give separating to anticipate associating. On the off chance that signals incorporated into the input signal contain frequencies higher than the example rate, there is the danger of associating errors. Without going into the arithmetic of associating, we will simply say that these higher recurrence signals can and will show themselves as a low recurrence error.
A genuine case of associating is basic in motion pictures. The cutting edges of a helicopter/plane or the spokes of a wheel having all the earmarks of being moving gradually or potentially in reverse is a case of associating. In the motion pictures it doesn't make a difference, yet in the event that a similar wonder shows up in the deliberate input signal, it's an unadulterated and some of the time basic error.
There are truly two answers for associating. The to start with, and regularly least difficult, is to test at a rate higher than the most noteworthy recurrence segment in the signal measured. Some estimation idealists will state that you can never make certain what the most elevated recurrence in a signal will be, however in actuality many, if not most, systems originators have great from the earlier learning of the frequencies incorporated into a given input signal. Individuals don't utilize hostile to associating channels on thermocouples since they are never required. With a smart thought of the nuts and bolts of the signals measured, it is normally a clear choice to decide whether associating may or won't be an issue. In a few applications, for example, sound and vibration examination, associating is an undeniable concern and it is hard to ensure that a specimen rate is speedier than each recurrence part in the waveform. These applications require an against associating channel. These channels are commonly 4-shaft or more noteworthy channels set at one a large portion of the specimen rate. They keep the higher recurrence signals from getting to the system A/D converter, where they can make associating errors

Wednesday, 5 April 2017

How fast is fast enough?

data acquisition system
"How rapidly should I test my input signal?" is a genuinely basic question among DAQ system originators, and particularly those without formal preparing in either DAQ systems or test hypothesis. The straightforward answer is the system must example sufficiently quick to "see" the required changes in input. In an absolute input system, the base required specimen rate is commonly characterized by Nyquist inspecting hypothesis. Nyquist found that to reproduce a waveform, you have to test at any rate twice as quick as the most noteworthy recurrence segment contained in the waveform. For instance, if your input signal contains recurrence segments up to 1 kHz, you will need to test at any rate at 2 kHz, and all the more practically, at 2.5 – 3 kHz.
Likewise with input resolution and precision, there is an inclination among DAQ system fashioners, especially those new to the business, to "overdetermine" the system input test rate. There are not very many applications where it is important to test a thermocouple more than 10 times each second, and most will presumably be satisfactorily served at a tenth that rate. Keep away from the allurement to over-example as it regularly expands system cost, memory necessities, and ensuing examination costs without including any helpful data Note that the above relates for the most part to input just systems. Control systems speak to a totally unique arrangement of contemplations. Not exclusively should the input testing rate be sufficiently high, however, the CPU must have the "torque" to play out the figurines sufficiently quick to keep the system stable and the yield gadgets must have the speed and precision required to accomplish the coveted control comes about. An exchange of control hypothesis is well past the extent of this note, however there we will include a couple notes that might be useful.
To begin with, in the event that you require any kind of deterministic control, and additionally, a hiccup in your control calculation would be dangerous, or your system refresh rate is more than 10 refreshes per second, you will probably need to consider utilizing a constant or "pseudo ongoing" working system. ReadyDAQ offers to bolster for QNX, RT Linux, RTAI Linux, RTX, and XPC. Numerous clients additionally find that however, it is not a completely deterministic constant OS, Linux-based applications have sufficiently low latencies to be utilized as a part of some higher speed control applications.

Tuesday, 4 April 2017

Thermal Expansion/Contraction Issues

temperature data logger
A few writings regard the initial two things as a similar impact. All things considered, if the coefficients of the development of the gage and the thing under test are the same, they will contract or grow at similar rates in light of a temperature change. For this situation, an adjustment in system temperature would not bring on any adjustment in the demonstrated strain, with the exception of that in view of the gage's temperature coefficient of resistance.
It's essential to note that in a few applications, it might be alluring or even important that strain incited by temperature changes be noted. Imagine an application where a "hot segment" turbine cutting edge is being tried to guarantee appropriate freedom between the sharp edge tip and the encompassing cover. It's critical to know how much the cutting edge has stretched based upon temperature notwithstanding the radial compels of revolution. Then again, if the parameter of intrigue is truly stress or its nearby relative, constraint, any strain brought about by temperature changes would incite a genuine error in the outcome.
A strain gage used to quantify the "g" drives on a supersonic airplane wing skin may see temperatures from - 45°C to 200 °C. In the event that the g-compel data was basic to not overemphasizing the wing, you'd positively not need critical temperature-initiated error. In a more straightforward case, the heap cell used to quantify the drive set on a postal scale ought not to actuate errors basically on the grounds that the scale is alongside the window on a sunny summer day! Most applications fall into the second class, where the key estimation parameter is truly stretch, and the perfect system would be not to perceive any progressions brought on by warm extension or compression.
Like most building difficulties, there is more than one approach to skin this notorious feline.
They are:
  1. Calculate the error and dispense with it numerically, 
  2. Match the strain gage to the section, 
  3. Use an indistinguishable strain gage in another leg of the extension.