{"id":201074,"date":"2020-01-24T09:29:51","date_gmt":"2020-01-24T12:29:51","guid":{"rendered":"https:\/\/embarcados.com.br\/iot-sensors-and-actuators\/"},"modified":"2024-11-11T20:36:54","modified_gmt":"2024-11-11T23:36:54","slug":"iot-sensors-and-actuators","status":"publish","type":"post","link":"https:\/\/embarcados.com.br\/en\/iot-sensors-and-actuators\/","title":{"rendered":"IoT sensors and actuators"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u00cdNDICE DE CONTE\u00daDO<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #333333;color:#333333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #333333;color:#333333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/embarcados.com.br\/en\/iot-sensors-and-actuators\/#IoT-sensors-and-actuators\" >IoT sensors and actuators<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/embarcados.com.br\/en\/iot-sensors-and-actuators\/#Example-of-using-actuators-and-sensors-for-simple-IoT-functions-such-as-making-a-cup-of-tea\" >Example of using actuators and sensors for simple IoT functions, such as making a cup of tea<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/embarcados.com.br\/en\/iot-sensors-and-actuators\/#Key-points\" >Key points:<\/a><\/li><\/ul><\/nav><\/div>\n\n<p><span style=\"font-weight: 400;\">The Internet of Things (IoT) brings the value of information technology to the physical world. By combining sensors and actuators with computer networks, we can detect what is happening in the physical world, make these readings available to software algorithms, calculate results based on the readings and, finally, direct actuators to use these calculations to modify the physical world. Generally, these networks are closed-loop, which means that the physical parameter that an actuator controls is immediately read back into the system by a sensor, closing a continuous loop in real time and allowing tight monitoring and control of physical processes.  <\/span><\/p>\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"IoT-sensors-and-actuators\"><\/span>IoT sensors and actuators<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p><span style=\"font-weight: 400;\">The IoT adds actuators to computer networks and the control of the physical world they provide adds layers of complication to IoT applications. In the past, system problems such as software errors, computer security breaches or component failures could cause IT managers significant concern because their data could be corrupted, lost or stolen. When actuators are added to the network &#8211; especially if these control powerful or dangerous systems such as locomotives, reactors, substations, vehicles or medical devices &#8211; if the systems are hacked or suffer failures, serious property damage, personal injury or even death can occur. We therefore need to take special care with connected devices (the IoT things) such as system integrity and security, if actuators are included.   <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Most sensors and actuators include transducer types. Transducers are devices that convert one form of energy into another. For example, the breaks in your car convert mechanical energy into thermal energy. For IoT systems, almost all sensors use some physical parameters and transform them into electrical signals. Likewise, almost all actuators in IoT systems pick up electrical signals and convert them into some kind of physical output. The physical parameters used in IoT systems run through the book of physics. They can include electrical (voltage, current, power, resistance, capacitance, inductance, frequency, phase, etc.), mechanical (position, velocity, acceleration, weight, compass direction, gravity, force, tension, pressure, flow, torque, magnetic field, etc.), acoustic (sound, vibration, seismic movement, etc.).), imaging (light intensity, cameras, monitors, infrared (IR), light detection and ranging (LiDAR, etc.), chemical (hydrogen potential (pH ) concentrations, composition, purity, etc.), medical (heart rate, respiration, blood pressure, temperature, electroencephalogram (EEG), etc.) and much more. There are literally thousands of types of sensors for all of these physical parameters and for most of the parameters that can be detected and there is an analogous actuator to modify that parameter in the physical world.<\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Sensors usually include a raw sensing element or transducer and a signal processing chain to make the raw readings available to networked computers. Often, the raw sensor element &#8211; something like a thermistor, accelerometer, microphone or light sensor &#8211; produces a modest\/simple analog signal. This signal must pass through a signal processing chain that amplifies, filters and converts the raw signal into a format that our control computers and their software can input. This usually involves analog to digital conversion and some kind of computer interface such as I\u00b2C or USB. Sophisticated sensors use digital signal processing techniques to filter, condition, average and format sensor readings in the digital domain.    <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Actuators have inverse functions. The digital output of the control computers and their software is delivered via an interface to the drivers that pick up the signals and convert them into whatever inputs the transducer in the actuator requires. This usually consists of a digital-to-analog converter, an output filter and some kind of amplifier. Increasingly, digital techniques such as digital signal processors (DSPs) and class D amplifiers are being employed in actuators to make them more precise, responsive and energy-efficient.   <\/span><\/p>\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Example-of-using-actuators-and-sensors-for-simple-IoT-functions-such-as-making-a-cup-of-tea\"><\/span>Example of using actuators and sensors for simple IoT functions, such as making a cup of tea<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p><span style=\"font-weight: 400;\">Often, the number and diversity of sensors and actuators in networks is unexpectedly high. Stop for a minute and consider your smartphone and all the types of sensors and actuators it includes. To further illustrate this point, let&#8217;s consider a robot system for making cups of tea. In Star Trek the Next Generation, Captain Pickard would approach his food replicator and say &#8220;Tea, Earl Grey, Hot&#8221; and in a few seconds he would be served. Although the transducers needed to materialize a tasty drink in seconds from pure energy may not exist, at least not yet, let&#8217;s consider a practical system that can perform a similar function and examine all the sensors and actuators that a fully possible version might contain:    <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">The first step in this process is to accept the user&#8217;s request. The request can be made via a keyboard (simple button sensors), a capacitive keyboard (capacitance sensors), a microphone (sound sensors) or a gesture-seeking camera (image sensors). Requests can also arrive via a computer network using connection types that can include fiber (optical sensors), wireless (RF sensors) or wired (electrical sensors). A local processor accepts this input and coordinates the sensors and actuators in the machine as a real-time control system. If it&#8217;s a vending machine, additional sensors and actuators accept the currency or credit cards and check that they are genuine (Figure 1).    <\/span><\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/embarcados.com.br\/wp-content\/uploads\/2020\/01\/Sensores-e-Atuadores-IoT-2-1-627x418.jpg\" alt=\"\" class=\"wp-image-80010\"\/><\/figure>\n\n<p><span style=\"font-weight: 400;\">Figure 1: Image of a beverage machine (Source: Mouser) <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Sensors continuously monitor the temperature and pressure of the infusion water in the reservoir. A resistance heater serves as the actuator that controls the water temperature. If there is a cold water reservoir for cold brewed beverages, it has its own temperature and pressure sensors, and perhaps a Peltier module as an actuator to provide thermoelectric cooling. There are feedback loops from the sensors, through the control processor and the actuators, to ensure that the water is at the desired temperature for optimal fermentation.   <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Next, we have to select a tea bag. Our machine may have a magazine of tea bags of different types that represent the varieties it can make. Sensors confirm the presence of the bags &#8211; perhaps optically or mechanically. Robotic actuators use motors to index the magazine to the correct position and lower the selected tea bag into the brewing station. Another robot actuator can move the cup to the brewing station and the sensors confirm that it is positioned correctly.    <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Now, the valve actuators open to let the water into the fermentation station. Ultrasonic level sensors measure the amount of cup and cut the valves at the right moment. Thermal sensors monitor the temperature of the tea as it is brewed. Motors that lower the tea bag can gently dip it up and down for easier dispensing. An optical sensor can measure the color of the tea to remove the tea bag when the desired strength is reached. An actuator, such as a solenoid, can release the used tea bag into the waste container.     <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">Additional actuators can add the selected condiments, for example a motor-controlled dispenser for measuring sugar or cream, or a valve for adding honey. Optical, weight or ultrasonic sensors in the condiment boxes check that the supply is adequate and the dispensers are measuring correctly. A little robotic spoon &#8211; requiring several motor-driven actuators to position, move and clean it &#8211; gives a final stir and the actuators open the delivery door and present the cup to the user.  <\/span><\/p>\n\n<p><span style=\"font-weight: 400;\">So using IoT techniques to automate something as simple as making a cup of tea could take several dozen sensors and actuators, their interface circuits, a fairly sophisticated processor and a lot of software. I don&#8217;t know if it&#8217;s worth making such a machine today, but as the capabilities of sensors and actuators continue to increase and their costs continue to fall, it&#8217;s likely that such systems will start to appear. <\/span><\/p>\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key-points\"><\/span><span style=\"font-weight: 400;\">Key points:<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Sensors and actuators are the elements that define Internet of Things networks.<\/span><\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Many electronic components are needed to amplify, condition and interface the signals from the raw transducers to the control processors.<\/span><\/li><li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It takes a surprisingly large number of different types of sensors and actuators to perform simple IoT functions, even to make a cup of tea.<\/span><\/li><\/ul>\n\n<p><span style=\"font-weight: 400;\">Article originally written by <\/span><span style=\"font-weight: 400;\">Charles Byers<\/span> <span style=\"font-weight: 400;\">for Mouser Electronics: <\/span><a href=\"https:\/\/br.mouser.com\/blog\/blog\/blog\/iot-actuators-and-sensors\"><span style=\"font-weight: 400;\">Access the original text at the link. <\/span><\/a><span style=\"font-weight: 400;\">Translated by Equipe Embarcados.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sensors and actuators are the elements that define Internet of Things networks. Check out the Mouser Electronics text. <\/p>\n","protected":false},"author":6814,"featured_media":164891,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25791],"tags":[25799],"series":[],"aplicacao":[],"class_list":["post-201074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet-das-coisas-en","tag-mouser-electronics"],"acf":[],"jetpack_featured_media_url":"https:\/\/embarcados.com.br\/wp-content\/uploads\/2020\/01\/Sensores-e-Atuadores-IoT.png","_links":{"self":[{"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/posts\/201074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/users\/6814"}],"replies":[{"embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/comments?post=201074"}],"version-history":[{"count":2,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/posts\/201074\/revisions"}],"predecessor-version":[{"id":201077,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/posts\/201074\/revisions\/201077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/media\/164891"}],"wp:attachment":[{"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/media?parent=201074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/categories?post=201074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/tags?post=201074"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/series?post=201074"},{"taxonomy":"aplicacao","embeddable":true,"href":"https:\/\/embarcados.com.br\/en\/wp-json\/wp\/v2\/aplicacao?post=201074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}