Professional Documents
Culture Documents
P4 Electronica
P4 Electronica
08/03/2022
the voltage RMS to show that the calculous and the simulation Matlab: MATLAB (short for MATrix LABoratory, "matrix
was correct. laboratory") is a numerical computation system that offers an
integrated development environment (IDE) with its own
II. THEORETICAL BACKGROUND programming language (M language). It is available for Unix,
Windows, macOS, and GNU/Linux platforms. [5]
Oscilloscope: An oscilloscope is a measuring instrument for
electronics. Plot a graph of amplitude on the vertical axis and
time on the horizontal axis. It is widely used by students, III. MATERIALS
designers, engineers in the field of electronics. It is often Oscilloscope
complemented by a multimeter, a power supply, and an Protoboard
arbitrary or function generator. [1] 24V/5A transformer
Oscilloscope probe
Electronics: Electronics can be defined as the study and
application of the behavior of electrons in various scenarios. IV. METHODOLOGY
These can be the vacuum, gases and semiconductors subjected
to the action of electric and magnetic fields. [2] Exercise 1: "Find the RMS value of the equation".
For Exercise 1, we were presented with the following
Electrical signals: Electrical signals are also called analog equation;
signals. They can have any reading within the range and are 𝑉(𝑡) = 180 sin(𝜃) 𝑓𝑜𝑟 0 < 𝜃 ≤ 2𝜋
only limited by the characteristics of the recording and
indicating instruments. They continuously transmit the values Where the naked eye can see that it is the equation of a
to the controller. [2] sinusoidal signal.
For this occasion, a code was made in the matlab software, to
Oscilloscope probe: It is a device that allows a physical check our results from the previous practice, in addition to
connection between a signal source or test point (DUT) and an graphing the same function, and even marking the RMS
electronic measurement instrument, such as an oscilloscope. voltage.
[3] For this, the variables begin to be declared and the meaning of
each of them is shown below.
In Figure 1.1 you can see T, which would be the period, in this
part it is remembered that the devices refresh their value 5
1
Electronics
08/03/2022
times/s, according to the IEEE, therefore each refresh lasts 0.2 Exercise 2: "Find the RMS value of the equation".
s.
On the other hand, there is Fs, which is the recommended For this problem we have the equation 20 sin(𝜃) + 5, which
frequency in instrumentation (1200/0.2=240). belongs to a sinusoidal signal, this equation also has an offset
Finally it have t, which is the time, for your understanding: (vertical displacement).
"start: interval: end"
𝑉(𝑡) = 20 sin(𝜃) + 5 𝑓𝑜𝑟 0 < 𝜃 ≤ 2𝜋
Figure 1.3 “Code for the graph” Figure 2.1 “Code for the graph”
Figure 2.5 “Code for the graph” The general formula for Vrms can then be entered, which is
known to be:
2
Electronics
08/03/2022
𝑉𝑝 previously the 0.2 s were handled, if this value is left only a
𝑉𝑟𝑚𝑠 = fraction of a first period is seen, fs is frequency of sampling
√2
Although in Matlab an equivalence was introduced (Figure and with more values it becomes more vertical and finally t is
2.4) the time vector (Figure 3.1)
Because the problem is going to be solved by the Matlab Finally, the necessary lines are introduced so that the Vrms is
software, the code that begins with the variables must be added to the graph in addition to activating the grid (Figure
developed again. 3.4).
Where 2pi does not represent angle, it represents a value
(period of the signal), f the frequency, in the case of T
3
Electronics
08/03/2022
4
Electronics
08/03/2022
1 𝑡
𝑣𝑅𝑀𝑆 = √ ∫ 𝑣(𝑡)2 𝑑𝑡 𝒆. 𝒄 (𝟐)
𝑡 0
5
Electronics
08/03/2022
Figure 5.5 “Code for the graph”
Exercise 2: "Find the RMS value of the equation".
Now we need to obtain the value of the voltage RMS of the
wave so we use the lines 14, 15 and 16 of the figure 5.5. First When running the program, the generated sine wave can be
we need a vector that have the same length of “x” that in this seen (Figure 2.6).
case is the sawtooth function, then we calculate the value of
1
the voltage RMS in line 15 by the formula √ ∑𝑖𝑛=0 𝑣(𝑛)2
𝑁
then we create the vector that contain the values of the RMS
voltage in line 16.
Finally we only need to plot the graph and the values of the
voltage RMS, so we use the lines 18 to 21.
6
Electronics
08/03/2022
𝑽𝑻𝒓𝒖𝒆𝑹𝑴𝑺
7
Electronics
08/03/2022
In figure 5.7 we can see the results of the graph showing only Thanks to the handling of specific functions in Matlab, it was
two periods, we can see that one period goes from 0 → 2𝜋 and possible for the collaborative team to replicate the graph in
it peak value was in π, we also can see the value of the voltage Figure 4.1, as well as to correctly perform the graph with the
RMS that matches with the value obtained in the previous real RMS value of the sawtooth graph of exercise
practice. 4. Remaining, as a result of practice, the source code made in
Matlab to carry out the graphing of the actual RMS value of
VI. DISCUSSION OF RESULTS the energy line presented in the saw graph (see Figure 1), and
Exercise 2: "Find the RMS value of the equation". ensures that it can be used for any graph that corresponds to
the type "sawtooth".
What is obtained with Matlab is equal to what is obtained by
analytically developing this sinusoidal signal and the Vrms Exercise 5: "saw graph to find the RMS value of the
coincides, therefore the developed code is correct. graphed voltage".
On the other hand, in Figure 2.7 you can see a variant in case With help of the software Matlab we can prove that the results
you want to see the area under the curve. obtained in the previous practice are correct and we can learn
how to plot the graph of the exercise and learn some news
functions in Matlab .
VII. CONCLUSIONS
A. General conclusion
8
Electronics
08/03/2022
Adair Téllez Aviles [3] Anónimo. (2022). señales electricas. 11-02-2022, de StuDocu Sitio web:
https://www.studocu.com/cl/document/universidad-tecnologica-de-
It was possible to notice that the results obtained by means of chile/proyecto-electrico/01-senales-electricas-y-formas-de-
the software are very similar to those obtained in an analytical ondas/6323980
way previously carried out in the previous practice, in this way [4] et al. (2019). ¿Qué es un transformador eléctrico y cómo funciona?.
we could notice that we have carried out the calculations in the febrero 11, 2021, de tecsa Sitio web:
https://www.tecsaqro.com.mx/blog/que-es-un-transformador-electrico/
appropriate way.
[5] The MathWorks, Inc.. (2020). MATLAB Product Description.
Eric Samuel Quiroz González 24/10/2020, de The MathWorks, Inc. Sitio web:
https://la.mathworks.com/help/matlab/learn_matlab/product-description.html
Simulating the wave of the excessive and the value of the [6] Anónimo. (2015). ¿Qué es el Voltaje RMS?. 04/03/2022, de Aprender
voltage RMs it’s a great way to prove our results and to sobre electrónica. Sitio web:
increase our capabilities to use the software because it is a http://www.learningaboutelectronics.com/Articulos/Voltaje-RMS.php
software that allows us many things and let us to work more
efficiently and quickly.
C: Individual contribution
REFERENCES
[1] Final Test S.A. de C.V.. (2022). ¿Que es un osciloscopio?. 11-02-2022, de
FiNAL TEST Sitio web: https://www.finaltest.com.mx/product-p/art-
9.htm
[2] Anónimo. (2022). Qué es la electrónica y cuál es su importancia. 11-02-
2022, de Aprende INSTITUDE Sitio web:
https://aprende.com/blog/oficios/reparacion-electronica/que-es-la-
electronica/