Quantitative Evaluation of the Emissions of a Transport Engine Operating with Diesel-Biodiesel

: The present work is about evaluating the emission characteristics of biodiesel-diesel blends in a reciprocating engine. The biodiesel was produced and characterized before the test. A virtual instrument was developed to evaluate the velocity, fuel consumption, temperature, and emissions of O 2 , CO, SO 2 and NO from an ignition-compression engine of four cylinders with a constant rate of 850 rpm. The percentages of soybean-biodiesel (B) blended with Mexican-diesel (D) analyzed were 2% B-98% D (B2), 5% B-95% B (B5), and 20% B-80% D (B20). The biodiesel was obtained through a transesteriﬁcation process and was characterized using Fourier-Transform Infrared spectroscopy and Raman spectroscopy. Our results indicate that CO emission is 6%, 10%, and 18% lower for B2, B5, and B20, respectively, in comparison with 100% (D100). The O 2 emission is 12% greater in B20 than D100. A reduction of 3% NO and 2.6% SO 2 was found in comparison to D100. The obtained results show 44.9 kJ / g of diesel’s lower heating value, this result which is 13% less than the biodiesel value, 2.8% less than B20, 1.3% than B5, and practically the same as B2. The speciﬁc viscosity stands out with 0.024 Poise for the B100 at 73 ◦ C, which is 63% greater than D100. The infrared spectra show characteristics signals of esters groups (C-O) and the pronounced peak from the carbonyl group (C = O). It is observed that the increase in absorbance of the carbonyl group corresponds to an increase in biodiesel concentration.


Introduction
In recent decades, many studies on biofuels have been conducted to reduce air pollution generated primarily by internal combustion engines (ICEs). The ICE is used in different means of transport as well as in other internal combustion equipment. As above, the dependence on fossil fuels has increased without neglecting the decrease in the production of petroleum-based energetics [1][2][3]. It is important to take into account that the increase in fossil fuels consumption also produces an increase in environmental problems. Considering the Statistical Review of World Energy issued by the British Petroleum Statistical Review (BP), it was mentioned that in 2016, the global consumption of primary energy increased 1% with respect to the 0.9% of 2015, and in turn, the production and consumption of all the fuels increased except the production of nuclear energy [4]. The worldwide production of biodiesel was 25 billion L in 2013, and in 2015 it increased to 129 billion L approximately. It represents an increment of 5.1% [5,6].

Virtual Instrument for Measuring Engine Parameters
The virtual instrument developed to measure engine parameters (VIMEP) is composed of four systems. The first comprises temperature sensors, revolutions per minute, fuel consumption, and O 2 , NO, CO, SO 2 gas content. A Faraday cage was used to isolate electromagnetic noise, which could cause interference and alterations in the sensors used for emission readings. The second system consists of conditioners and signal amplifiers for each sensor. In third place, the Data Acquisitions Systems (DAQ) board and the PC with the virtual instrument. Finally, the fourth system is the acquisition and data processing DAQ board 6009 USB model, with eight analogic input of 14 bits, 48 kS/s, and two static analogic output of 12 bits, 12 digital input-output, and a 32-bit counter by National Instruments. The digital signals are transferred to the Lenovo Intel ® Core ™ i7-471CHQ CPU at 2.50 GHz with Windows 10 operating system. Table 2 shows the properties and operating ranges of each sensor used to detect each type of emission. The sensors have an infrared and electrochemical response [22]. In Figure 1, we can observe the block programming diagram that constitutes the VIMEP used for the characterization of the CIE when works with diesel-biodiesel mixtures.

Fuel and Its Mixtures Elaboration
Soybean oil was used to obtain biodiesel. Furthermore, to remove the moisture present in the oil, the oil was preheated to 110 °C. The transesterification method was implemented, in which sodium methoxide and soybean oil were treaties. The chemical reaction was carried out for 1 h at 60 °C with agitation. A funnel was used to separate the glycerin and biodiesel by density difference, a volumetric ratio of 4:1 was used to wash the biodiesel with water. The final step consisted of heating the biodiesel to 110 °C, to evaporate the biodiesel water from the biodiesel [32][33][34][35]. The biodiesel was prepared in the Institute of Engineering of the Autonomous University of Baja California (UABC). The fuel mixtures were characterized using a CAP 2000+ viscometer and to determine the kinematic viscosity of Mexican diesel a value between 1.9 and 4.1 mm 2 /s was used from PEMEX data sheet [36]. The calorific value was determined using an IKA C2000 calorimeter. For the measurements, approximately 0.5 g were placed inside the equipment and duplicate tests were performed to determine the average value of heat released by combustion of the fuel mixture. Additionally, the optical characterization of the fuels was carried out to obtain their characteristic spectra. For Raman spectroscopy, a Perkin-Elmer Raman Station 400F with a 785 nm laser at room temperature was used. Additionally, FTIR spectra were measured by Perkin Elmer Spectrum One FTIR spectrometer in the range of 400-4000 cm −1 and 4 cm −1 resolutions. The uncertainties of the engine performance and calibration of the measuring instruments, as well as environmental conditions, were then determined for the measured and calculated values. The percentage uncertainties of the measuring instruments used in this study are tabulated in Table 3. Each parameter was measured three times to reduce the uncertainties of the observed values and the average value was then determined. The percentage uncertainty of the engine performance and exhaust emission parameters measured in this study was found to be around 1%, which is deemed satisfactory.

Fuel and Its Mixtures Elaboration
Soybean oil was used to obtain biodiesel. Furthermore, to remove the moisture present in the oil, the oil was preheated to 110 • C. The transesterification method was implemented, in which sodium methoxide and soybean oil were treaties. The chemical reaction was carried out for 1 h at 60 • C with agitation. A funnel was used to separate the glycerin and biodiesel by density difference, a volumetric ratio of 4:1 was used to wash the biodiesel with water. The final step consisted of heating the biodiesel to 110 • C, to evaporate the biodiesel water from the biodiesel [32][33][34][35]. The biodiesel was prepared in the Institute of Engineering of the Autonomous University of Baja California (UABC). The fuel mixtures were characterized using a CAP 2000+ viscometer and to determine the kinematic viscosity of Mexican diesel a value between 1.9 and 4.1 mm 2 /s was used from PEMEX data sheet [36]. The calorific value was determined using an IKA C2000 calorimeter. For the measurements, approximately 0.5 g were placed inside the equipment and duplicate tests were performed to determine the average value of heat released by combustion of the fuel mixture. Additionally, the optical characterization of the fuels was carried out to obtain their characteristic spectra. For Raman spectroscopy, a Perkin-Elmer Raman Station 400F with a 785 nm laser at room temperature was used. Additionally, FTIR spectra were measured by Perkin Elmer Spectrum One FTIR spectrometer in the range of 400-4000 cm −1 and 4 cm −1 resolutions. The uncertainties of the engine performance and calibration of the measuring instruments, as well as environmental conditions, were then determined for the measured and calculated values. The percentage uncertainties of the measuring instruments used in this study are tabulated in Table 3. Each parameter was measured three times to reduce the uncertainties of the observed values and the average value was then determined. The percentage uncertainty of the engine performance and exhaust emission parameters measured in this study was found to be around 1%, which is deemed satisfactory.

Operation Conditions of CI-Engine
The engine works with B2, B5, and B20 mixtures and D100. Three repetitions were carried out for each mixture under the following conditions: controlled ambient temperature 23 • C with a variation of +/−1 • C, the air supply to the engine of 1 atm of pressure, a relative humidity of 40% with a variation of +/−5%, and 2 L of fuel as initial volume. When a fuel change is made, the fuel tank, lines, fuel filters, priming pump, high-pressure pump are purged and finally, the engine is turned up for 20 min, to ensure that no residue of the previous mixture remains inside the system. The physical measurement system of emissions has a heat exchanger. To guarantee the right function of the sensors the temperature of the gases was set at 50 • C, also three general humidity and four individuality traps were added. The operation of all systems together is explained, starting from the ICE with a copper pipeline reduction from 4 to 1 2 in. of diameter, two safety valves to control the pressure and the exhaust gas flow. The gases continue their way to a heat exchanger where the temperature is reduced from 60 to 35 • C. In a straight way, the gases flow through two gas condensate traps and two humidity traps placed in series, when the gas comes out from the humidity traps it goes to individual humidity traps for each gas. Then the gases are analyzed and finally exhausted into the atmosphere. During the process, the temperature, consumption, and rpm of each test were recorded. Figure 2 shows a diagram that explains the electricity connections, fuel lines, water, air, exhaust gases, communication cables, and equipment used.

Operation Conditions of CI-Engine
The engine works with B2, B5, and B20 mixtures and D100. Three repetitions were carried out for each mixture under the following conditions: controlled ambient temperature 23 °C with a variation of +/− 1 °C, the air supply to the engine of 1 atm of pressure, a relative humidity of 40% with a variation of +/− 5%, and 2 L of fuel as initial volume. When a fuel change is made, the fuel tank, lines, fuel filters, priming pump, high-pressure pump are purged and finally, the engine is turned up for 20 min, to ensure that no residue of the previous mixture remains inside the system. The physical measurement system of emissions has a heat exchanger. To guarantee the right function of the sensors the temperature of the gases was set at 50 °C, also three general humidity and four individuality traps were added. The operation of all systems together is explained, starting from the ICE with a copper pipeline reduction from 4 to ½ in. of diameter, two safety valves to control the pressure and the exhaust gas flow. The gases continue their way to a heat exchanger where the temperature is reduced from 60 to 35 °C. In a straight way, the gases flow through two gas condensate traps and two humidity traps placed in series, when the gas comes out from the humidity traps it goes to individual humidity traps for each gas. Then the gases are analyzed and finally exhausted into the atmosphere. During the process, the temperature, consumption, and rpm of each test were recorded. Figure 2 shows a diagram that explains the electricity connections, fuel lines, water, air, exhaust gases, communication cables, and equipment used.

Specific Viscosity of the Mixtures
To determine the viscosity of each fuel, three measurements were made for each sample and an average was obtained. Figure 3 shows an average of kinematic viscosity in a temperature range of 50-90 • C for B100, D100, and mixtures B2, B5, and B20 [32,35,36]. The viscosity of the B100 stands out with 0.024 Poise at 73 • C and it is 63% higher than the D100.

Specific Viscosity of the Mixtures
To determine the viscosity of each fuel, three measurements were made for each sample and an average was obtained. Figure 3 shows an average of kinematic viscosity in a temperature range of 50-90 °C for B100, D100, and mixtures B2, B5, and B20 [32,35,36]. The viscosity of the B100 stands out with 0.024 Poise at 73 °C and it is 63% higher than the D100.

Low Calorific Power of Fuels
An overall average of the lower calorific power of 44.97 kJ/g was obtained. Figure 4 shows that the increases in the percentage of biodiesel contained in the mixtures are proportional to the reduction of calorific values. The value for the B100 sample was 39.08 kJ/g and is close to the value of 37.50 kJ/g based on the molecular weight of methyl esters of soybean that are in agreement with those published in the literature [36][37][38].

Raman Analysis
Raman spectroscopy was carried out to obtain information about organic and inorganic compounds contained in B100, D100, and the different mixtures. Figure 5 shows the characteristic spectrum for D100, B100, B2, B5, and B20, where a bandwidth in ≈2800-3000 cm −1 is observed and

Low Calorific Power of Fuels
An overall average of the lower calorific power of 44.97 kJ/g was obtained. Figure 4 shows that the increases in the percentage of biodiesel contained in the mixtures are proportional to the reduction of calorific values. The value for the B100 sample was 39.08 kJ/g and is close to the value of 37.50 kJ/g based on the molecular weight of methyl esters of soybean that are in agreement with those published in the literature [36][37][38].

Specific Viscosity of the Mixtures
To determine the viscosity of each fuel, three measurements were made for each sample and an average was obtained. Figure 3 shows an average of kinematic viscosity in a temperature range of 50-90 °C for B100, D100, and mixtures B2, B5, and B20 [32,35,36]. The viscosity of the B100 stands out with 0.024 Poise at 73 °C and it is 63% higher than the D100.

Low Calorific Power of Fuels
An overall average of the lower calorific power of 44.97 kJ/g was obtained. Figure 4 shows that the increases in the percentage of biodiesel contained in the mixtures are proportional to the reduction of calorific values. The value for the B100 sample was 39.08 kJ/g and is close to the value of 37.50 kJ/g based on the molecular weight of methyl esters of soybean that are in agreement with those published in the literature [36][37][38].

Raman Analysis
Raman spectroscopy was carried out to obtain information about organic and inorganic compounds contained in B100, D100, and the different mixtures. Figure 5 shows the characteristic spectrum for D100, B100, B2, B5, and B20, where a bandwidth in ≈2800-3000 cm −1 is observed and

Raman Analysis
Raman spectroscopy was carried out to obtain information about organic and inorganic compounds contained in B100, D100, and the different mixtures. Figure 5 shows the characteristic spectrum for D100, B100, B2, B5, and B20, where a bandwidth in ≈2800-3000 cm −1 is observed and some characteristic Energies 2020, 13, 3594 7 of 14 peaks at 1450, 1306, 1076, and 837 cm −1 are also observed. The obtained results indicate that there is no presence of molecules of other substances and our results coincide with those reported in the literature [39,40], which helps us to guarantee the good quality of our biodiesel.  [39,40], which helps us to guarantee the good quality of our biodiesel.

FTIR Analysis
When comparing the spectra of Figure 6a,6b, characteristic biodiesel signals that are absent in the diesel are observed. The IR spectrum of PEMEX diesel exhibits a characteristic double peak at 1457 and 1377 cm −1 . Two groups of absorption bands of the methyl esters are shown, and in the region of the fingerprints, the band is between 1200 and 1300 cm −1 originating from the asymmetric CO axial deformation. In the region of the functional groups between 1750 and 1730 cm −1 , the intense peak corresponds to the carbonyl group (C=O), so the characteristic of the esters is found and related to relatively constant and interference-free stretching vibration [41,42]. This signal being the major difference with the diesel spectrum. For both spectra, the absorption band at 2950-3000 cm −1 , corresponds to the stretching of the bonds of aliphatic carbons: CH3, CH2, and CH. Additionally, the spectra of soybean-biodiesel mixture are presented at 2% (Figure 6c

FTIR Analysis
When comparing the spectra of Figure 6a,b, characteristic biodiesel signals that are absent in the diesel are observed. The IR spectrum of PEMEX diesel exhibits a characteristic double peak at 1457 and 1377 cm −1 . Two groups of absorption bands of the methyl esters are shown, and in the region of the fingerprints, the band is between 1200 and 1300 cm −1 originating from the asymmetric CO axial deformation. In the region of the functional groups between 1750 and 1730 cm −1 , the intense peak corresponds to the carbonyl group (C=O), so the characteristic of the esters is found and related to relatively constant and interference-free stretching vibration [41,42]. This signal being the major difference with the diesel spectrum. For both spectra, the absorption band at 2950-3000 cm −1 , corresponds to the stretching of the bonds of aliphatic carbons: CH 3 , CH 2 , and CH. Additionally, the spectra of soybean-biodiesel mixture are presented at 2% (Figure 6c), 5% (Figure 6d), and 20% (Figure 6e), respectively. A decrease in the intensity of the peaks can be observed as the presence of biodiesel increases  [39,40], which helps us to guarantee the good quality of our biodiesel. Figure 5. Raman spectra comparison of D100, B100, B2, B5, and B20.

FTIR Analysis
When comparing the spectra of Figure 6a,6b, characteristic biodiesel signals that are absent in the diesel are observed. The IR spectrum of PEMEX diesel exhibits a characteristic double peak at 1457 and 1377 cm −1 . Two groups of absorption bands of the methyl esters are shown, and in the region of the fingerprints, the band is between 1200 and 1300 cm −1 originating from the asymmetric CO axial deformation. In the region of the functional groups between 1750 and 1730 cm −1 , the intense peak corresponds to the carbonyl group (C=O), so the characteristic of the esters is found and related to relatively constant and interference-free stretching vibration [41,42]. This signal being the major difference with the diesel spectrum. For both spectra, the absorption band at 2950-3000 cm −1 , corresponds to the stretching of the bonds of aliphatic carbons: CH3, CH2, and CH. Additionally, the spectra of soybean-biodiesel mixture are presented at 2% (Figure 6c Figure 7 shows the interface of the VIMEP focus in the characterization of CIE using the dieselbiodiesel mixtures. The measuring of the set of parameters is a flexible tool and easily adjustable to the required emission type for a better evaluation of the CIE performance that uses conventional fuels, biofuel, or both. The system presented is not restricted to engines with a specific capacity, it presents the flexibility of being able to adapt to different CIE. For the above, the following aspects must be taken into consideration: operation capacity, fuel consumption, conditions of operation, and used fuel. The VIMEP developed in this investigation is constituted by sensors with a wide range of operation, a plotter that allows you to visualize the saved data of realized tests, thus analyzing, comparing, and importing in real-time the results of the tests. The result indicates a decrease of calorific value in each mixture: B20 = 2.87%, B5 = 1.33%, and B2 does not present a significant change for diesel, which was the fuel that presents the highest  Figure 7 shows the interface of the VIMEP focus in the characterization of CIE using the dieselbiodiesel mixtures. The measuring of the set of parameters is a flexible tool and easily adjustable to the required emission type for a better evaluation of the CIE performance that uses conventional fuels, biofuel, or both. The system presented is not restricted to engines with a specific capacity, it presents the flexibility of being able to adapt to different CIE. For the above, the following aspects must be taken into consideration: operation capacity, fuel consumption, conditions of operation, and used fuel. The VIMEP developed in this investigation is constituted by sensors with a wide range of operation, a plotter that allows you to visualize the saved data of realized tests, thus analyzing, comparing, and importing in real-time the results of the tests.  Figure 7 shows the interface of the VIMEP focus in the characterization of CIE using the dieselbiodiesel mixtures. The measuring of the set of parameters is a flexible tool and easily adjustable to the required emission type for a better evaluation of the CIE performance that uses conventional fuels, biofuel, or both. The system presented is not restricted to engines with a specific capacity, it presents the flexibility of being able to adapt to different CIE. For the above, the following aspects must be taken into consideration: operation capacity, fuel consumption, conditions of operation, and used fuel. The VIMEP developed in this investigation is constituted by sensors with a wide range of operation, a plotter that allows you to visualize the saved data of realized tests, thus analyzing, comparing, and importing in real-time the results of the tests. The result indicates a decrease of calorific value in each mixture: B20 = 2.87%, B5 = 1.33%, and B2 does not present a significant change for diesel, which was the fuel that presents the highest  The result indicates a decrease of calorific value in each mixture: B20 = 2.87%, B5 = 1.33%, and B2 does not present a significant change for diesel, which was the fuel that presents the highest calorific value. The increase of 7.7% in the fuel consumption when working at 850 rpm using the B20 mixture [36][37][38] was to be expected, because the diesel molecule has a dioxygen molecule and this can be reflected in more efficient combustion inside the combustion chamber of the CI-Engine [43,44]. As a result, an average total fuel consumption was obtained for each mixture of B2 = 1281.92 mL/h, B5 = 1356.58 mL/h, B20 = 1716.37 mL/h, and for the D100 = 1356.58 mL/h is shown in Figure 8. An average of 14% of O 2 emissions was measured for diesel and 12.7% for B20, as can be seen in Figure 9.

Results of Fuel Tests
Energies 2020, 13, x FOR PEER REVIEW 9 of 15 calorific value. The increase of 7.7% in the fuel consumption when working at 850 rpm using the B20 mixture [36][37][38] was to be expected, because the diesel molecule has a dioxygen molecule and this can be reflected in more efficient combustion inside the combustion chamber of the CI-Engine [43,44]. As a result, an average total fuel consumption was obtained for each mixture of B2 = 1281.92 mL/h, B5 = 1356.58 mL/h, B20 = 1716.37 mL/h, and for the D100 = 1356.58 mL/h is shown in Figure 8. An average of 14% of O2 emissions was measured for diesel and 12.7% for B20, as can be seen in Figure  9.   Figure 10 shows the behavior of the CO exhaust gases emitted by the CI-Engine when the different mixtures are burned. The amount of emissions is increased when the engine load and rpm increases, but they decreased when the biodiesel concentration of the mixture is increased, similar to the results reported by Di et al. [45]. At low speeds there is a low temperature of the combustion gases inside the combustion chamber, this avoids the CO becoming CO2 [46]. In general, a reduction of CO was obtained by the substitution of diesel to biodiesel, with an emission of 156 ppm by the diesel, 126 ppm by B20 mixture, 139 ppm by B5 mixture, and 146 ppm by B2 mixture. Concerning diesel, an emissions reduction was obtained on average of 18%, 10%, and 6%, respectively. In general, the biodiesel has approx. 10% of the oxygen on a mass basis and has a lower carbon content of carbon Energies 2020, 13, x FOR PEER REVIEW 9 of 15 calorific value. The increase of 7.7% in the fuel consumption when working at 850 rpm using the B20 mixture [36][37][38] was to be expected, because the diesel molecule has a dioxygen molecule and this can be reflected in more efficient combustion inside the combustion chamber of the CI-Engine [43,44]. As a result, an average total fuel consumption was obtained for each mixture of B2 = 1281.92 mL/h, B5 = 1356.58 mL/h, B20 = 1716.37 mL/h, and for the D100 = 1356.58 mL/h is shown in Figure 8. An average of 14% of O2 emissions was measured for diesel and 12.7% for B20, as can be seen in Figure  9.   Figure 10 shows the behavior of the CO exhaust gases emitted by the CI-Engine when the different mixtures are burned. The amount of emissions is increased when the engine load and rpm increases, but they decreased when the biodiesel concentration of the mixture is increased, similar to the results reported by Di et al. [45]. At low speeds there is a low temperature of the combustion gases inside the combustion chamber, this avoids the CO becoming CO2 [46]. In general, a reduction of CO was obtained by the substitution of diesel to biodiesel, with an emission of 156 ppm by the diesel, 126 ppm by B20 mixture, 139 ppm by B5 mixture, and 146 ppm by B2 mixture. Concerning diesel, an emissions reduction was obtained on average of 18%, 10%, and 6%, respectively. In general, the biodiesel has approx. 10% of the oxygen on a mass basis and has a lower carbon content of carbon Type of fuel (ml/h) Figure 9. Oxygen emission of the fuels. Figure 10 shows the behavior of the CO exhaust gases emitted by the CI-Engine when the different mixtures are burned. The amount of emissions is increased when the engine load and rpm increases, but they decreased when the biodiesel concentration of the mixture is increased, similar to the results reported by Di et al. [45]. At low speeds there is a low temperature of the combustion gases inside the combustion chamber, this avoids the CO becoming CO 2 [46]. In general, a reduction of CO was obtained by the substitution of diesel to biodiesel, with an emission of 156 ppm by the diesel, 126 ppm by B20 mixture, 139 ppm by B5 mixture, and 146 ppm by B2 mixture. Concerning diesel, an emissions reduction was obtained on average of 18%, 10%, and 6%, respectively. In general, the biodiesel has approx. 10% of the oxygen on a mass basis and has a lower carbon content of carbon than diesel, thus the ignition delay can be shortened, and the combustion efficiency increases with the oxygen in the fuel favoring the reduction of CO emissions [47].
Energies 2020, 13, x FOR PEER REVIEW 10 of 15 than diesel, thus the ignition delay can be shortened, and the combustion efficiency increases with the oxygen in the fuel favoring the reduction of CO emissions [47].  Figure 11 displays the average of SO2 emissions from fuels. There was a difference between D100 and B20 with a 2.6% reduction of SO2 [47]. This is because the CIE is working with 850 rpm, several authors agree that being a biofuel of vegetal origin there is no sulfur in the combustion of biodiesel from soybean oil, contributing to the decrease of sulfur dioxide in the CIE's emissions, meanwhile for diesel, values were up to 20% higher than biodiesel, and the results agree with those reported in [47][48][49]. When the biodiesel concentration of the mixture percentage increases the oxygen, the content increases to bring about a decrease in combustion fumes, this explains why the oxygen content in the fuel contributes to the complete oxidation of fuel [49]. The variability of the biodiesel properties can affect the CIE's in terms of gas emissions such as nitrogen oxide and carbon oxide. The nitric oxide (NO) is produced in greater amounts and predominates in the NOx production inside the combustion chamber when the combustion is performed with small portions of nitrogen dioxide (NO2). Some authors measure the NOx, which is the summary of NO and NO2, by a chemiluminescence analyzer [50]. The measurements of the NO of the exhaust manifold using commercially available equipment for measurement of combustion gases of CIE´s is considered a good approximation [51]. The experimental studies for measurement have shown that the NOx emissions vary according to the biodiesel composition; the degree of saturation of biodiesel, the longer and more saturated chain esters increase the cetane number (CN) of biodiesel and tend to decrease the NOx [52]. It is important to mention that the authors of this work did not focus on analyzing the NOX gas, however, during the tests the variation of this gas is observed, in [53], the authors publish an analysis of the behavior of the NOx, also the portions of optimal mixtures to mitigate the high emissions of this harmful gas, also in [52,[54][55][56][57][58], the authors present some solutions to this problem. The biodiesel chemical instauration, the biodiesel oxidative degradation, the relative stoichiometry the calorific value, the characteristics of the fuel spray, the type of biodiesel (methyl or ethyl ester), the oxygen availability, and the levels of aromatic compounds can be factors that influence the NOx emissions, because of its direct effects on flame temperature inside the combustion chamber of the engine [59]. Figure 12 illustrates the results of NO gas emissions not registered in the exhaust manifold on the engine working with all the mixtures. In general, the behavior does not have a significant change in the CO emissions of the engine, although the engine when working with B20 has obtained NO emissions on average of 72 ppm and only 3% less NO emissions than D100.  Figure 11 displays the average of SO 2 emissions from fuels. There was a difference between D100 and B20 with a 2.6% reduction of SO 2 [47]. This is because the CIE is working with 850 rpm, several authors agree that being a biofuel of vegetal origin there is no sulfur in the combustion of biodiesel from soybean oil, contributing to the decrease of sulfur dioxide in the CIE's emissions, meanwhile for diesel, values were up to 20% higher than biodiesel, and the results agree with those reported in [47][48][49]. When the biodiesel concentration of the mixture percentage increases the oxygen, the content increases to bring about a decrease in combustion fumes, this explains why the oxygen content in the fuel contributes to the complete oxidation of fuel [49]. The variability of the biodiesel properties can affect the CIE's in terms of gas emissions such as nitrogen oxide and carbon oxide. The nitric oxide (NO) is produced in greater amounts and predominates in the NO x production inside the combustion chamber when the combustion is performed with small portions of nitrogen dioxide (NO 2 ). Some authors measure the NO x , which is the summary of NO and NO 2 , by a chemiluminescence analyzer [50]. The measurements of the NO of the exhaust manifold using commercially available equipment for measurement of combustion gases of CIE´s is considered a good approximation [51]. The experimental studies for measurement have shown that the NO x emissions vary according to the biodiesel composition; the degree of saturation of biodiesel, the longer and more saturated chain esters increase the cetane number (CN) of biodiesel and tend to decrease the NO x [52]. It is important to mention that the authors of this work did not focus on analyzing the NO X gas, however, during the tests the variation of this gas is observed, in [53], the authors publish an analysis of the behavior of the NO x , also the portions of optimal mixtures to mitigate the high emissions of this harmful gas, also in [52,[54][55][56][57][58], the authors present some solutions to this problem. The biodiesel chemical instauration, the biodiesel oxidative degradation, the relative stoichiometry the calorific value, the characteristics of the fuel spray, the type of biodiesel (methyl or ethyl ester), the oxygen availability, and the levels of aromatic compounds can be factors that influence the NO x emissions, because of its direct effects on flame temperature inside the combustion chamber of the engine [59].

Conclusions
The VIMEP developed is an innovative and flexible virtual instrument based in the programming platform LabVIEW 2015, which can be adapted to characterize internal combustion engines as diesel using biofuel mixtures. The programming of VI that was used is shown in a general way. The VI is trustworthy and has a low price, with which the rpm, fuel consumption, temperatures and CO, O2, NO, and SO2 emissions parameters can be registered. When the biodiesel concentration in the mixtures increase, the calorific power decreases 2.8% for B20, 1.3% for B5, and 0% for B2. For viscosity, there is an increase of 4% for B20, 2% for B5, and B2 has the same value as D100.
The B20 mixture registered a lower emission of CO than the D100 emission. This result was obtained by operating the engine at 850 rpm as regime because the engine is not submitted to an electric charge and does not demand power and this decrease is due to biodiesel being a more oxygenated fuel. The levels of NO emitted when the B20 is combusted were slightly lower or like NO emitted by burning 100% diesel with just 3% of NO in ppm. The results obtained for SO2 gas are very similar in the reduction percentages with just 2.6% of SO2 decrease for B20 compared to D100, this was mainly due to the biodiesel being obtained from a new soybean oil, a feedstock that does not  Figure 12 illustrates the results of NO gas emissions not registered in the exhaust manifold on the engine working with all the mixtures. In general, the behavior does not have a significant change in the CO emissions of the engine, although the engine when working with B20 has obtained NO emissions on average of 72 ppm and only 3% less NO emissions than D100.

Conclusions
The VIMEP developed is an innovative and flexible virtual instrument based in the programming platform LabVIEW 2015, which can be adapted to characterize internal combustion engines as diesel using biofuel mixtures. The programming of VI that was used is shown in a general way. The VI is trustworthy and has a low price, with which the rpm, fuel consumption, temperatures and CO, O2, NO, and SO2 emissions parameters can be registered. When the biodiesel concentration in the mixtures increase, the calorific power decreases 2.8% for B20, 1.3% for B5, and 0% for B2. For viscosity, there is an increase of 4% for B20, 2% for B5, and B2 has the same value as D100.
The B20 mixture registered a lower emission of CO than the D100 emission. This result was obtained by operating the engine at 850 rpm as regime because the engine is not submitted to an electric charge and does not demand power and this decrease is due to biodiesel being a more oxygenated fuel. The levels of NO emitted when the B20 is combusted were slightly lower or like NO emitted by burning 100% diesel with just 3% of NO in ppm. The results obtained for SO2 gas are very similar in the reduction percentages with just 2.6% of SO2 decrease for B20 compared to D100, this was mainly due to the biodiesel being obtained from a new soybean oil, a feedstock that does not

Conclusions
The VIMEP developed is an innovative and flexible virtual instrument based in the programming platform LabVIEW 2015, which can be adapted to characterize internal combustion engines as diesel using biofuel mixtures. The programming of VI that was used is shown in a general way. The VI is trustworthy and has a low price, with which the rpm, fuel consumption, temperatures and CO, O 2 , NO, and SO 2 emissions parameters can be registered. When the biodiesel concentration in the mixtures increase, the calorific power decreases 2.8% for B20, 1.3% for B5, and 0% for B2. For viscosity, there is an increase of 4% for B20, 2% for B5, and B2 has the same value as D100.
The B20 mixture registered a lower emission of CO than the D100 emission. This result was obtained by operating the engine at 850 rpm as regime because the engine is not submitted to an electric charge and does not demand power and this decrease is due to biodiesel being a more oxygenated fuel. The levels of NO emitted when the B20 is combusted were slightly lower or like NO emitted by burning 100% diesel with just 3% of NO in ppm. The results obtained for SO 2 gas are very similar in the reduction percentages with just 2.6% of SO 2 decrease for B20 compared to D100, this was mainly due to the biodiesel being obtained from a new soybean oil, a feedstock that does not contain sulfur and has more oxygen availability to carry out the combustion process. The emission values obtained are below the limits allowed by the Official Mexican Standard NOM-044-SEMARNAT-2017. This result is expected as the engine was mounted on a test bench. The engine was operating in conditions of low and constant speed without power demand.
The infrared spectroscopy is an accessible technique that has shown an appropriate methodology to quantify the percentages of biodiesel mixture of cooking oil in a concentration range of 5-70%, taking as standard the increase of the carbonyl group attenuation as the biodiesel mixture concentrations increase. It can be deduced that this concentration range fulfills the law of the Beer-Lambert.
Author Contributions: Substantial contributions to the conception of the results was carried out by A.P. and D.M.; Methodology and analysis was conceptualized out by C.C.; The validation and formal analysis of the results was carried out by M.C. and C.G.; The final approval of the version was evaluated by G.M. and B.V. All authors read and approved the final manuscript.
Funding: This research received no external funding