Sensors operating ranges.
Through a reaction of alkaline transesterification of soybean oil using sodium methoxide, biodiesel denominated as B100 was obtained, with which four mixtures of diesel-biodiesel B2, B5, B10, and B20 were prepared. Kinematic viscosity and high heating value of the four blends, B100, and diesel were determined. The blends, B100, and diesel were used in a motor of four cylinders in-line engine, air intake at atmospheric pressure with a power of 250 hp and 6000 cm3, operating at a constant rate of 850 ± 50 rpm, a temperature of 25°C, and a relative humidity of 50%. To monitor the emissions, rpm, fuel consumption, and temperature in the engine’s exhaust manifold, which operates with diesel-biodiesel mixtures, an integral instrument that uses the virtual instrumentation technology was developed in the programming platforms LabVIEW 2010 and ARDUINO. The development and implementation of the virtual instrument allow monitoring in real time the parameters of internal combustion engines and presents the versatility, flexibility, scalability, and capacity to function in equipment that operates with different liquid fuels at a lower cost than the one that conventional systems offered. These characteristics represent a significant benefit in comparison with the measurement and monitoring systems in the present market.
- virtual instrumentation
- operations parameters
- compression ignition engine
The trend in fossil fuel consumption is increasing; adding to that, the emissions of NO, CO, SO2, and CO2 caused by the use of fuel oils like diesel affect directly and indirectly the environment, as well as the population quality of life [1, 2, 3, 4]. Currently, engines with a highly developed torque are used for heavy work like urban transport, cargo transport, light passenger transport, agricultural machinery, emergency systems, craft and power generation powered by diesel, since diesel has a high heating value .
Some studies prove that increasing the percentage of biodiesel, that substitutes diesel, decreases the emissions produced by its combustion [6, 7]. The biodiesel is considered a renewable and ecological fuel drawn from lipids that are made to react with short-chain alcohol in the presence of a catalyst that can be acid, base or enzymatic, to produce a fatty acids’ mono-alkyl esters mixture .
The biodiesel contains oxygen in its molecule, which helps to increase the combustion efficiency inside the compression ignition engine’s (CIE) combustion chamber . The European Union is the leading producer of biodiesel across the world. In the case of America are the United States, Argentina and Brazil, who use soy, corn, canola, rapeseed, and palm oil, tallow yellow and white fat as raw materials.
Diesel substitution for biodiesel, because of their similar characteristics, represents an alternative in many diesel applications, ranging from boilers to internal combustion engines .
It is essential to quantify the emissions caused by the CIE fueled by diesel and to determine the decrease in emissions regarding diesel. Biodiesel is acquiring increasing importance in the international context for it represents a rapid expansion of the industrial sector as a biofuel alternative to diesel [13, 14].
Currently, international governments and organizations are introducing new regulations that establish a stricter limit to emissions as an effort to mitigate the emissions of greenhouse gases [15, 16, 17]. To verify that a reduction of emissions or more efficient combustion is being obtained, it is imperative to have systems to quantify the emissions. Usually, the systems to register the internal combustion gas emissions use specialized analyzers that operate based on standardized methodologies . These systems provide information about the concentration in parts-per-million (ppm) or concentration percentages according to the type of gas released in the combustion.
They are tools used to monitor and control combustion. At this time, there are many systems to determine the concentration of emissions; these systems can be portable or permanent, they present advantages and disadvantages, among these stands out the high acquisition cost with a range of 2000 up to 20,000 USD, rigidity, and the impossibility of being scalable [19, 20]. The use of these systems is limited to specific applications without having the versatility and flexibility to adapt them to other required uses. Nowadays, hybrid systems based on virtual instrumentations, a DAQ (data acquisition system), and a personal computer are being used as an alternative to the traditional systems customarily used to measure emissions.
The virtual instrumentation (VI) constitutes a new technology that covers the use of software and hardware systems that, with the use of a computer, replaces a measurement and control system in the real world. Any program and hardware that fulfill this function are a VI. In almost every commercial system, the concept of VI is realized in an object-oriented programming language . The modern scientific instrumentation promotes the introduction, development, and evolution of VI-based systems. The main advantages of virtual instrumentation consist that they are defined by the end user, are scalable, recyclable and can connect with the outside world using modern communication technologies in addition to having a low cost per acquisition channel. In most cases, the VI has the possibility of modification, the facility of personalization to the specific necessities of each user, and the use of programming language . The virtual instruments combine nonexclusive operation hardware with powerful software, obtaining a scalable architecture instrument, as a result, with the possibility of being modified if required [23, 24, 25].
Currently, the emission measurement of internal combustion gases originated from CIE is performed through the use of autonomous modular analyzers, dedicated and specialized, that provide the information about the quantity or concentration of the gases. In recent years, the application of virtual instrumentation for the measurement of said emissions has been proposed . It is because of a virtual system allows to measure and monitor the CO concentration in vehicle exhaust gases that have been developed .
Recently, National Instruments developed a virtual instrument for the emission measurement generated by internal combustion engines. This instrument is based on the international emission standards, in particular, the Euro 4 and EPA. These agencies specify the total amount of pollutants that an internal combustion engine must emit to the atmosphere. These emission factor units are defined in general as gram per mile .
In the present work, biodiesel (B100) was obtained through soybean oil, with which were prepared mixtures with diesel: B2, B5, B10, and B20. The kinematic viscosity and heating value were determined. A virtual instrument for the measurement and monitoring of emission (VIEM) based on the virtual programming platform LabVIEW 2010® was developed.
The measurement of fuel consumption (FC), revolutions per minute (rpm), and exhaust temperature were realized based on the ARDUINO platform. The VIEM was synchronized with the sensors, data acquisition card, and the signal conditioners to measure and register in real time parameters like O2, NO, CO, SO2, CO2, FC, rpm, and temperature. The VIEM programming, electrical schematic diagrams for the sensor signal conditioning, as well as the characterization of the O2, NO, CO, SO2, and CO2 sensors are presented as results .
2. Materials and methods
2.1. Diesel-biodiesel mixtures
The fuels used were PEMEX diesel, ultra-low sulfur, and biodiesel. It was obtained biodiesel through the transesterification of soybean oil in the presence of methanol, by alkaline catalysis. With these fuels, the following mixtures were prepared: B2, B5, B10, and B20. Some of the physicochemical properties for each of the mixes are presented below.
2.2. Fuel kinematic viscosity
The determination of the kinematic viscosity of the fuel mixtures B2, B5, B10, B20, and diesel was performed using a CAP 2000+ Viscometer, where the information of the PEMEX diesel kinematic viscosity was entered, whose value is between 1.9 and 4.1 (mm2/s) at 40°C . All determinations were performed in triplicate.
2.3. Fuel heating value
The high heating value (HHV) measurements were performed by the utilization of a calorimetric bomb IKA WERKE model C2000 basic. The equipment was calibrated before experimentation. The procedure was followed according to ASTM E711. The tests were performed in triplicate to obtain reliable results.
2.4. VI for the measurement of O2, CO, CO2, NO, and SO2 gases
The hardware system is composed of four systems. The first system is comprised of the O2, NO, CO, SO2, and CO2 sensors listed in Table 1. The characteristics and operating ranges of each of the used sensor are described, which were of infrared response and work under the nondispersive infrared (NDIR) principle. This analyzer is used to detect the presence of carbon dioxide up to a volume of 100%. It is possible to determine said gas concentration through an infrared source with a specific filtration, which is assembled inside the optical/gas cavity. The infrared sensor interconnects with an electronic signal. The signal processing implies the linearization and compensation in temperature using algorithms in the system software. The infrared gas sensor uses a low frequency flash lamp drive that is controlled by an excitation circuit. Infrared radiation pulses reflect inside providing a trajectory through the gas and objective. “Pyros” pyroelectric detectors are used to determine the infrared signal change. The active pyroelectric is sensitive to the changes in the infrared wavelengths that are usually absorbed by the gas, passing between the transmitter and receiver .
|Operating ranges||0–2000 ppm||0–250 ppm||0–30% O2||0–500 ppm||0–100% Vol.|
|Sensitivity||8–20 nA/ppm SO2||320–480 nA/ppm of NO||N/A||55–85 nA/ppm CO||N/A|
|Maximum overload||N/A||1000 ppm||100% O2||1500 ppm CO||N/A|
|Zero in air at 20°C||<±50 ppm SO2||−0.06–4.5 ppm NO||N/A||<±3.1 ppm of CO||N/A|
|Zero deviation (−20–+40°C)||0–4 ppm SO2||N/A||N/A||N/A||N/A|
|Resolution||5 ppm SO2||0.5 ppm NO||0.1% O2||1 ppm CO||N/A|
|response time||t 90 < 60 s||t 90 = 35 s||t 90 < 15 s||t 90 < 30 s||N/A|
|Temperature range||−20 to +50°C||−20 to +50°C||−20 to +55°C||−20 to +50°C||−20 to +55°C|
|Operating humidity||15–90% RH Noncondensing||15–90% RH Noncondensing||15–95% RH||15–90% RH Noncondensing||0–99% Noncondensing|
|Pressure range||90–110 kPa||90–110 kPa||90–110 kPa||90–110 kPa||80–120 kPa|
|DC supply recommended||N/A||N/A||N/A||N/A||5 V|
Electrocatalytic analyzers utilize sensors that were developed as an outgrowth of fuel cell technology and are commonly used to detect O2 concentrations in sample streams. These sensors use a solid catalytic electrolyte to aid the flow of electrons from a sample gas cell to a reference gas cell. In practice, catalyst-coated ceramic materials (such as ZrO2) separate the reference cell (containing a high concentration of O2) and the sample stream.
When heated, the electrolyte allows the transfer of ionic oxygen components from the reference cell to the sample cell. The surface of the electrolyte has a special electrocatalytic coating that catalyzes the transfer process and serves as an electrode surface to attract released electrons.
The ions are migrating from the reference side to the sample side release electrons on this surface, striving toward the equilibrium. However, since the sample is continuously replenished, a continual flow of electrons is induced across the measurement load resistor, and the current flow is used to infer the concentration of oxygen in the gas sample stream. Because the electrons contain a finite catalytic activity, it is necessary to establish a limit to the diffusion speed of objective gas in the sensor, guaranteeing that gas reacts appropriately. It is performed through a barrier taking the shape of a small hole or capillary located on the sensor cover .
The second system is composed of the conditioners and signal amplifiers for each one of the sensors. The third system is comprised of the DAQ card and PC. The function of the data acquisition card is to digitize the information provided by the signal conditioners.
The used DAQ was a USB model 6009, with eight analog inputs of 14 bits, 48 kS/s, two static analog outputs of 12 bits, 12 digital inputs-outputs, and a 32 bit counter of National Instruments. The digital signals are transferred to the PC model Sony Vaio VGN- CR190 Intel Core Duo T7100 @ 1.8 GHz, Windows 7 operating system.
2.5. Integrated circuits
The integrated circuits are used to condition and amplify the signal given by the sensors when the information about the gas quantity or concentration is registered. The voltage, Vo, registered is of 2.435 V when 1% of oxygen is present, being this the minimum concentration the sensor can detect. It means that the data acquiring card (DAQ) process increases equivalent to 0.065 V/1% of O2. To determine the output voltage, in the case of the O2 sensor’s conditioning output signal, Eq. (1) was used.
In Figure 1, the integrated circuit diagram used to condition and amplify the signal provided by the O2 sensor is presented.
The registered voltage, Vo, is of 2.508 V when 1 ppm of NO is present, being this the minimum concentration the sensor can detect.
It means that the data acquisition card DAQ process increases equivalent to 0.004 V/1 ppm of NO. Eq. (2) was used to determine the output voltage.
Figure 2 presents the integrated circuit diagram used to condition and amplify the signal provided by the NO sensor.
The registered voltage, Vo, is of 2.5047 V when 5 ppm of SO2 is present, being this the minimum concentration the sensor can detect. It means that the data acquisition card DAQ process increases equivalent to 0.00476 V/5 ppm of SO2. For the output voltage estimation, Eq. (3) was used.
In Figure 3, the integrated circuit diagram used to condition and amplify the signal provided by the SO2 sensor is presented.
The registered voltage, Vo, is of 2.5039 V when 1 ppm of CO is present, which is the lower limit the sensor can detect. It means that the data acquiring card DAQ process increases equivalent to 0.00392 V/1 ppm of CO. For the output voltage calculation, Eq. (4) was implemented.
In Figure 4, the integrated circuit diagram used to condition and amplify the signal provided by the CO sensor is presented.
In Figure 5, the absorbance fraction regarding the CO2 concentration is observed. It allows finding the sensor’s sensitivity that ranges between 0 and 100% of concentration volume of carbon dioxide.
In Figure 6, the integrated circuit diagram used to condition and amplify the signal provided by the CO2 is presented.
2.6. Virtual instrument for emission measurement (VIEM)
This section shows the programming description of the main blocks that are part of the virtual instrument for emission measurement that was developed in a LabVIEW 2010 platform. In the figures, the operation performed by each programming block is shown. The VIEM counts the tests performed to organize the file experiment. It is made through the test counter (Sub-Vl), which saves a text file (.txt) with a start value of zero and an increment of 1 for each VIEM implementation, in the “Configuration tab” through a “property node”, and the menus and the toolbar are configured by the VIEM. Figure 7 illustrates a programming block. Within while loop 1, routines are executed for test configuration and execution. The test duration, in turn, is selected through “Time test” control. The rhythm configuration of the sample is executed through “Acquisition time” control. The sub-Vl “Direction by test” generates the name and the address of the file, which will contain the test samples in the implementation process.
The sub-IV “Write to Spreadsheet File” generates a new file for each registered variable which will be shown through the graphics display “Test.” The latter is inside the “Event Structure” module, which allows synchronization with the computer clock through a timeout of 2000 ms, while loop 1 remains in continuous execution, while loop 2 is focused on the acquisition of sensor signals. It is possible because of the sub-Vl “Acquisition.” It also configures the entries of storage directions for the several variables to measure and as indicator outputs own numeric of the “double” type. The frequency of this cycle depends directly on the configured value in the “Acquisition time” control.
The cycle owns an implementation of the “Continue if true” type which is controlled through the “start/stop” button, and the sample of the program block is shown in Figure 7. The sub-Vl “Acquisition” is focused on sensor data recompilation through the use of Vl express “DAQ ASSISTANT,” which is configured as an analogical entry, referenced to earth type (RSE) for continuous sample taking of voltage, in an allowed measurement range from −10 to 10 V. The output of Vl “Acquisition” shows the measurements to the user through a numerical indicator. The data are processed for its storage using the sub-Vl “Write to spreadsheet”. All of this are made for a maximum amount of eight sensors, and the data flow is controlled by the “Flats sequence” structure to avoid information saturation in the acquisition time.
Graphical programming in LabVIEW 2010® uses the programming model by data flow unlike programming based on a text focused in a flow model control programming. Instead of laboriously write lines of text, with the risk of syntactic and logic errors, LabVIEW 2010® is based on the linked of icons with cables. Besides, to most of the users, including the experimented ones, it is easier to visualize and interpret graphical programming compared to text programming. The VIEM flowchart is displayed in Figure 8.
2.7. VI for temperature and revolutions per minute measurement
A virtual instrument was developed based on Arduino to register the run of the motor revolutions per minute using an infrared diode and a receiver diode. One of them is located in front of another with a distance no longer than 1.5 cm sending a continuous signal between the two: a “low” or a “0” V. Basically, the program quantifies the times that the signal was interrupted, and it divides them in a minute obtaining rpm as a result. In Figure 9, it can be seen a block diagram describing the program operation based on the ARDUINO platform.
Once the program was obtained, the circuit will be welded on a printed circuit board. For temperature measurement, LM35 solid sensors were used which provide us a linear output signal with a scaling factor of 10 mV/°C, considering a range of −55 with a conversion factor of −550 mV up to 150°C with a conversion factor of 1500 mV, and this temperature range is enough to measure all the system temperature. A sensor was programmed in ARDUINO to compare the sensor precision, as it is explained in the block diagram of the program in Figure 10.
2.8. VI for measurement of fuel consumption
The used motor consumes 1.30 L/h in experimentation. Fuel consumption of the engine per second was quantified, relying on the result, and a virtual instrument was designed as well as the hardware. The VI uses a proximity sensor to measure the fuel difference and determine its consumption. The measurement is made by emitting and receiving ultrasonic signals with the proximity sensor. The proximity sensor is designed as an accessory for Arduino and integrates a signal conditioning system. Figure 11 describes the operation of the virtual instrument with the use of Arduino as an interface for the measurement of fuel.
Tests were made to characterize the virtual instrument, using a measuring cylinder of 1 liter with a precision of ±10 mL. One of the benefits of this sensor is that it was not necessary to develop a signal conditioning circuit. It was programmed in ARDUINO. Based on the above, a 2.5 L capacity container was made using the acrylic material. The cubic container had a design area of 12.2 × 11.1 cm to obtain a total area of 135.4 cm2. With the container area, a correction factor was added to the programming obtaining a final margin of error of ±50 mL.
The viscosities of the different fuel mixtures in relation with temperature are listed in Table 2. The fact that the biodiesel viscosity is higher than the diesel one was observed. When improving the biodiesel percentage in the mixture, viscosity increases, which improves the lubrication of the parts that are in contact with the mix, such as the low pressure pump, the high pressure pump, injectors, and the system of fuel distribution [30, 31, 32].
|Temp (°C)||Viscosity (P)||Temp (°C)||Viscosity (P)||Temp (°C)||Viscosity (P)|
About the high heating value determination of fuels, the diesel (PEMEX) presented a higher value of 44.97 MJ/kg and for the B100 was of 39.08 MK/kg. As a consequence, depending on the percentage of the biodiesel increase in the mixture, the high heating value decreases. The following values were obtained for the mixtures: B2 44.97 MJ/kg, B5 44.81 MJ/kg, B10 44.37 MJ/kg, and B20 43.68 MJ/kg .
The result of the virtual instrument development used to measure the CIE parameters is shown in Figure 12. The main user screen that exhibits the graphic interface represents the instrument when choosing the configuration option. The software allows defining the time test, the acquisition time, and the start option to proceed to the predefined tests.
Figure 13 displays the user graphic interface, where the measures in real time of O2, NO, CO, SO2, and CO2 can be observed, such as the temperature, the fuel consumption, and the rpm, which are being monitored and where information is being obtained from each one of the parameters considering the predefined values by the user.
The results obtained from the integrated circuits are specific, because signal conditioning circuits were designed for each sensor. It is unlikely that there are circuits that are the same as those presented. It is not possible to access the programming of the other instruments sold commercially due to the protection of their programs.
The VIEM main function is to measure the concentration of gases coming from the manifold of the combustion chamber of the CIE, where the O2, NO, CO, SO2, and CO2 emissions of combustion gases are generated, by using infrared and electrochemical sensors. These sensors determine the gas concentration in ppm or percentage of the concentration of the emissions generated when burning diesel-biodiesel mixtures. When the combustion takes place in the engine, the gases are conducted by a pipeline and then passed to a heat exchanger to reduce the gas temperature at 40° C. This process is necessary to ensure a proper functioning of the sensors, because the maximum temperature for operation specified is 50
The development of hardware and software of the virtual instrument for the measurement of emissions (VIEM) and for the measurement of parameters such as emission gases of O2, NO, CO, SO2, CO2, rpm, FC, and temperature is constituted by the platforms of programming LabVIEW 2010® and ARDUINO MEGA as well as a data acquisition card model DAQ 6009 the National Instruments and an acquisition card model ARDUINO ONE, PC model Sony Vaio VGN-CR190 Intel Core Duo T7100 @ 1.8 GHz, Windows 7 operating system. These elements make up a combination of nonexclusive operation hardware with powerful software, obtaining an instrument of scalable architecture, with the possibility of being modified if necessary, presenting versatility and flexibility to adapt to other required uses, showing as the main advantage the cost of the system compared with conventional systems. The VIEM shows in real time the results of each of the measured parameters, graphs the results, and generates a database of each of the experimental activity.
As a result of the characterization of the diesel-biodiesel mixtures, the value of the calorific value of the diesel that was used as a reference point is 44.97 MJ/kg, and for the B100, it is 39.08 MJ/kg. It is necessary to develop specific circuits for gas sensors such as O2, NO, CO, SO2, and CO2, where the integrated circuits were designed to obtain equivalent increments of 0.065 V/1% of O2, 0.004 V/1 ppm of NO, 0.00476 V/5 ppm of SO2, and 0.00392 V/1 ppm of CO, with the schematic diagrams presented in this chapter and the model of the sensors, and it is possible to replicate the hardware used for gas measurement.
With the development of the VIEM, it is easier and accessible to implement a test bench used to quantify the performance, emissions, and efficiency of the CIE. It was obtained a more demanding control on the inputs and outputs of the system, as well as the operating parameters of the diesel engines using a biofuel, or any other engine that works with any other fuel, biofuel or mix of both considering the minimum and maximum parameters of the sensors.
The authors thank the Consejo Nacional de Ciencia y Tecnología (CONACYT) and the Instituto de Ingeniería of the Universidad Autónoma de Baja California for its support in the development of this work. They also thank the Programa de Fortalecimiento de la Calidad Educativa 2018 (PFCE) for the financial support in publishing this chapter.
Conflict of interest
The authors declare no conflict of interest.