Showing posts with label daq. Show all posts
Showing posts with label daq. Show all posts

Tuesday, 29 August 2017

IoT: Security and Privacy


data logger

Two key IoT issues, which are also intertwined, are security and privacy: the data IoT devices store and work with needs to be safe from hackers, so as not to have sensitive data exposed to third parties. It is of utmost importance that IoT devices be secure from vulnerabilities and private so that users would feel safe in their surroundings and trust that their data shall not be exposed or worse, sold through illegal channels. Also, since devices are becoming more and more integrated into our everyday lives (many people store their credentials on their devices, for example), poorly secured devices can serve as entry points for cyber-attacks and leave data unprotected.
 
The nature of IoT devices means that every unsecured or inadequately secured devices pose a potential threat. This security problem is even deeper since various devices can connect to each other automatically, thus refraining the user from knowing at first glance whether a security issue exists. Therefore, developers and users of IoT devices have an obligation to make sure that no other devices come in any potential harm, so they constantly develop and test security solutions for these challenges.
 
The second key issue, privacy, is thought to be a factor which holds back the full development and implementation of IoT. Many users are concerned about their rights when it comes to their data being tracked, collected and analyzed. IoT also raises concerns regarding the potential threat of being tracked, the inability of discarding certain data collection, surveillance etc. Strategies need to be implemented which, although bring innovation, still respect user privacy choices and expectations. In order for Internet of Things to truly be accepted, these challenges need to be looked into and these problems need to be overcome, which is a great task and a test both for developers and for users.

Saturday, 26 August 2017

IoT: Summary

data logging
The Internet of Things (or shortened ‘IoT’) is a hot topic in today’s world which carries extraordinary significance in socio-economic and technical aspects of everyday life. Products designed for consumers, long-lasting goods, automobiles and other vehicles, sensors, utilities and other everyday objects are able to become connected among themselves through the Internet and strong data analytic capabilities and therefore transform our surroundings. Internet of Things is forecast to have an enormous impact on the economy; some analysts anticipate almost 100 billion interconnected IoT devices. On the other hand, other analysts proclaim that IoT devices shall input into the global economy more than $11 trillion by 2025.
However, the Internet of Things comes with many important challenges which, if not overcome, could diminish or even put a stop to the progress of it thus failing to realize all its potential advantages. One of the greatest challenges is security: the newspapers are filled with headlines alerting the public to the dangers of hacking internet-connected devices, identity theft and privacy intrusion. These technical and security challenges remain and are constantly changing and developing; at the same time, new legal policies are emerging.
This document’s purpose is to help the Internet Society community find their way in the discourse about the Internet of Things regarding its pitfalls, shortcomings and promises.
Many broad ideas and complex thoughts surround the Internet of Things and in order to find one’s way, the key concepts that should be looked into as they represent the foundation of circumstances and problems of IoT are:
- Transformational Potential: If IoT takes off, a potential outcome of it would be a ‘hyperconnected world’ where limitations on applications or services that use technology cease to exist.
- IoT Definitions: although there is not one universal definition, the term Internet of Things basically refers to several connected objects, sensors or items (not considered computers) which create, exchange and control data with next to none human intervention.
- Enabling Technologies: Cloud computing, data analytics, connectivity and networking all lead to the ability to combine and interconnect computers, sensors and networks all in order to control other devices.
- Connectivity Models: There are four common communication models and are as following: Device-to-Device, Device-to-Cloud, Device-to-Gateway, and finally Back-End Data-Sharing. These models show how flexible IoT devices can be when connecting and when providing value to their respective users.

Wednesday, 19 July 2017

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!

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.

Friday, 26 May 2017

Computerized Outputs

data logger
Digital Outputs require a similar investigation and large portions of indistinguishable contemplation from advanced data sources. These incorporate watchful thought of yield voltage go, greatest refresh rate, and most extreme drive current required. In any case, the yields likewise have various particular contemplations, as portrayed beneath. Relays have the benefit of high off impedance, low off spillage, low on resistance, irresoluteness amongst AC and DC flags, and implicit segregation. Be that as it may, they are mechanical gadgets and consequently give bring down unwavering quality and commonly slower reaction rates. Semi-conductor yields regularly have a favorable position in speed and unwavering quality.
Semiconductor changes additionally have a tendency to be littler than their mechanical reciprocals, so a semiconductor-based advanced yield gadget will commonly give more yields per unit volume. When utilizing DC semiconductor gadgets, be mindful so as to consider whether your framework requires the yield to sink or source current. To fulfill varying necessities,

Current Limiting/Fusing

Most yields, and especially those used to switch high streams (100 mA or something like that), offer some kind of yield security. There are three sorts most normally accessible. The first is a straightforward circuit. Cheap and dependable, the primary issue with circuits, is they can't be reset and should be supplanted when blown. The second sort of current constraining is given by a resettable breaker. Ordinarily, these gadgets are variable resistors. Once the current achieves a specific edge, their resistance starts to rise rapidly, at last constraining the current and stopping the current.
Once the culpable association is evacuated, the resettable circuit returns to its unique low impedance state. The third kind of limiter is a real current screen that turns the yield off if and when an overcurrent is recognized. This "controller" limiter has the upsides of not requiring substitution taking after an overcurrent occasion. Numerous usage of the controller setup additionally permits the overcurrent outing to be determined to a channel by channel premise, even with a solitary yield board.


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.

Wednesday, 10 May 2017

Quadrature Encoders

Daq
Quadrature encoders are likewise used to quantify rakish relocation and turn. Not at all like alternate gadgets, we have portrayed in this article, these items give a computerized yield. There are two essential computerized yields which are as 90-degree out-of-state advanced heartbeat trains. The recurrence of the beats decides the rakish speed, while the relative stage between the two (+90°or - 90°) portrays the bearing of turn.
These heartbeat trains can be checked by numerous nonspecific DAQ counter frameworks with one of the outputs being associated with a counter clock while the other is associated with an up/down stick. In any case, the encoder is such a typical piece of numerous DAQ frameworks that numerous merchants give an interface particularly created to quadrature estimations. One thing that can't be resolved from the beat tallies alone is the outright position of the pole.
Thus, most encoder frameworks likewise give a "File" yield. This list flag produces a heartbeat at a known rakish position. Once a known position is distinguished, the supreme position can be controlled by including (or subtracting) the relative pivot to the known record position. Numerous encoders give differential yields, however, differential commotion resistance is sometimes required unless the electrical condition is extremely cruel (e.g., neighborhood circular segment welding stations) or the keeps running from the encoder to the DAQ framework are long (100s of feet or more). Committed Encoders are accessible from numerous sellers in an assortment of setups.
ICP/IEPE Piezoelectric Crystal Sensors When considering piezoelectric precious stone gadgets for use in a DAQ framework, the vast majority consider vibration and accelerometer sensors as these gems are the reason for the pervasive ICP/IEPE sensors. It is by and large comprehended that when you apply a drive on a piezoelectric precious stone it makes the gem twist marginally and that this distortion incites a quantifiable voltage over the gem. Another component of these gems is that a voltage set over an unstressed piezoelectric precious stone makes the gem "distort".
This miss happening is in reality little, additionally exceptionally very much carried on and unsurprising. Piezoelectric precious stones have turned into an extremely normal movement control gadget in frameworks that require little avoidances. Specifically, they are utilized as a part of a wide assortment of laser control frameworks and also a large group of other optical control applications. In such applications, a mirror is connected to the gem, and as the voltage connected to the gem is changed, the mirror moves.
In spite of the fact that the development is ordinarily not discernible by the human eye, at the wavelength of light, the development is significant. Driving these piezoelectric gadgets presents two fascinating difficulties. To start with, accomplishing the coveted development from a piezoelectric precious stone frequently requires huge voltages, however benevolently 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. Exceptional drivers, for example, UEI's PD-AOAMP-115 are regularly required as the run of the mill simple yield board does not offer the yield voltage or capacitive driveability required.

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.

Wednesday, 12 April 2017

Other types of DAQ Hardware - Part 3

daq

Output Drive

Make certain to research how much momentum is required by whatever gadget you are endeavoring to drive with the analog yield channel. Most D/A channels are restricted to under ±5 mA or ±10 mA max. A few merchants offer higher yield streams in standard yield modules (e.g., UEI's DNA-AO-308-350 which will drive ±50 mA). For higher yield still, it is frequently conceivable to include an outer cushion intensifier. Take note of that on the off chance that you are driving more than 10 mA, you will probably need to indicate a system with sense leads in the event that you have to keep up high system exactness.

Output Range 

Another genuinely evident thought, the yield run must be coordinated to your application prerequisite. Like their analog input kin, it is feasible for a D/A channel to drive a littler range than its maximum, however, there is a decrease of powerful resolution. Most analog yield modules are intended to drive ±10 V, however a few, similar to UEI's DNA-AO-308-350, will specifically drive yields up to ±40V. Higher voltages might be obliged with outside support gadgets. Obviously, at voltages more prominent than ±40V, wellbeing turns into a critical element. Be cautious — and if all else fails, contact a specialist who will help guarantee your system is sheltered. A last note with respect to expanding the yield scope of a D/A channel is that if the gadget being driven is either disengaged from the analog yield systems, or on the off chance that it utilizes differential inputs, it might be conceivable to twofold the successful yield run by utilizing two channels that drive their yields in inverse headings.

Output Update Rate 

In spite of the fact that numerous DAQ systems "set and overlook" the analog yield, numerous more require that they react to intermittent updates. In control systems, circle security or a prerequisite for control "smoothness" will regularly direct that yields be refreshed a specific number of times each second. Additionally, applications where the D/A's give a system excitation, a specific number of updates every second might be required. Check that the system you are thinking about is fit for giving the refresh rate required by your application. It is likewise a smart thought to incorporate somewhat cushion with this spec on the off chance that you find not far off you have to "turn" the yields somewhat speedier. 2.1.9 Output Slew Rate The second some portion of the yield "speed" determination, the large number rate, decides how rapidly the yield voltage changes once the D/A converter has been ordered to another esteem. Commonly indicated in volts per microsecond, if your system requires the yields to change and balance out rapidly, you will need to check your D/A yield slew rate.

Output Glitch Energy

As the yield changes starting with one level then onto the next, a "glitch" is made. Essentially, the glitch is an overshoot that consequently vanishes by means of hose wavering. In DC applications, the glitch is from time to time tricky, yet in the event that you are hoping to make a waveform with the analog yield, the glitch can be a noteworthy issue as it might produce significant commotion on any excitation inferred. Most D/A gadgets are intended to limit glitch, and it is conceivable to basically dispense with it in the D/A system, yet it additionally for all intents and purposes ensures that the yield slew rate will be reduced.

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.

Monday, 10 April 2017

“Other” types of DAQ I/O Hardware - Part 1

daq
This article portrays the "other normal" sorts of DAQ I/O — gadgets, for example, Analog Outputs, Digital Inputs, Digital Inputs, Counter/Timers, and Special DAQ capacities, which covers such gadgets as Motion I/O, Synchro/Resolvers, LVDT/RVDTs, String Pots, Quadrature Encoders, and ICP/IEPE Piezoelectric Crystal Controllers. It likewise covers such themes as interchanges interfaces, timing, and synchronization capacities.
Analog Outputs Analog or D/A yields are utilized for an assortment of purposes in data acquisition and control systems. To appropriately coordinate the D/A gadget to your application, it is important to consider an assortment of determinations, which are recorded and clarified beneath.

Number of Channels 

As it's a genuinely clear necessity, we won't invest much energy in it. Ensure you have enough yields to take care of business. On the off chance that it's conceivable that your application might be extended or adjusted, later on, you may wish to determine a system with a couple "safe" yields. In any event, make certain you can add yields to the system not far off without significant trouble.
Resolution As with A/D channels, the resolution of a D/A yield is a key particular. The resolution depicts the number or scope of various conceivable yield states (regularly voltages or streams) the system is equipped for giving. This detail is all around given as far as "bits", where the resolution is characterized as 2(# of bits). For instance, 8-bit resolution relates to a resolution of one section in 28 or 256. So also, 16-bit resolution relates to one section in 216 or 65, 536. At the point when joined with the yield go, the resolution decides how little an adjustment in the yield might be summoned. To decide the resolution, essentially separate the full-scale scope of the yield by its resolution. A 16-bit yield with a 0-10 Volt full-scale yield gives 10 V/216 or 152.6 microvolts resolution. A 12-bit yield with a 4-20 mA full scale gives 16 mA/212 or 3.906 uA resolution.

Accuracy 

Despite the fact that precision is frequently compared to resolution, they are not the same. An analog yield with a one microvolt resolution doesn't really (or even regularly) mean the yield is precise to one microvolt resolution. Outside of sound yields, D/A system precision is commonly on the request of a couple LSBs. Be that as it may, it is critical to check this detail as not all analog yield systems are made equivalent. The most noteworthy and basic error commitments in analog yield systems are Offset, Gain/Reference, and Linearity errors.