Questions tagged [function]
For questions about mathematical functions or computer functions (e.g. in VHDL, C++, etc.). Use the "transfer-function" tag instead for questions about transfer functions. Use in conjunction with tags that specify the type of function, e.g. "math", "vhdl", "c++", etc.
76 questions
2
votes
2
answers
194
views
Why is the value set on function generator different than the one measured in DSO?
I am a first year student of ECE.
There was this experiment of basic electronics where we had to generate function through function gen. and read the properties of thee output signal through DSO.
Func....
5
votes
4
answers
2k
views
Understanding the Differences Between Analog, Digital, Continuous, and Discrete Signals
I'm trying to better understand the differences between analog, digital, continuous, and discrete signals in the context of signal processing. Here's what I've gathered so far, but I’d like some ...
0
votes
1
answer
159
views
How Do I Simplify These Massive Boolean Equations?
I'm fairly new to this, and I am working on a computer that would play tic-tac-toe with you. It takes the position convert it into binary split it into different inputs, run it through some function ...
1
vote
2
answers
315
views
function generator outputs - difference between 50 ohm and 600 ohm
I am trying to use a PCI-Quad04 board to count pulses (from a rotary encoder). In order to test out counting, I have a 1000Hz square-wave signal from a signal generator (BK Precision, 3011B) as ...
0
votes
5
answers
161
views
Find a model with transfer function and real data
I am currently trying to create a model using a transfer function and my data. Here is my schematic:
Here is my transfer function:
My input signal is 2.5V for 10s, after which I decrease the voltage ...
1
vote
0
answers
110
views
Impedance for an equivalent circuit
In: Richard Reidl, N.O. Sokal & Laszlo Balogh (1990). A Novel Soft-Switching Full-Bridge DC/DC Converter: Analysis, Design Considerations, and Experimental Results at 1.5 kW, 100 kHz. IEEE ...
0
votes
1
answer
213
views
How can I find the transfer function with Laplace in the (s) domain?
How can I find the transfer function for this circuit with laplace in the (s) domain?
1
vote
5
answers
2k
views
Equation for a Triangle wave shape, x(t) ,a0, an and bn
How do I write the function \$u(t)\$ for a given graph, and what steps should I follow to derive expressions like \$\frac{4U_M}{T}\$, \$2U_M - \frac{4U_M}{T}\$, or \$-4U_M + \frac{4U_M}{T}\$?
I have ...
0
votes
0
answers
129
views
ESP32 Dual Core
Does anyone have experience with using the second ESP32 core? I searched the internet but I only came across two loops that run independently of each other. I would need to be able to call a function ...
1
vote
0
answers
79
views
Scroll Text Image right or left from memory on LED Matrix
In my new project based CPP on microcontroller,
I have Text as image row and column stored in W25Q32 memory. the width of image can vary but height is fixed. So if Image width is 32 bits wide first 4 ...
0
votes
3
answers
3k
views
RLC circuit transfer function
I'm trying to obtain the transfer function which relates the input voltage with the inductor's voltage H(s) = Vl(S)/U(s)
so far I've tried to use Kirchoff's Laws in order to find it. Any suggestions? ...
1
vote
2
answers
756
views
How do we get a -1 in a 1-bit ALU?
In the 1-bit ALU and the table that is shown below, as you can see, the output is -1 when F0 = 1, F1 = 1, ENA = 0, ENB = 0, INVA = 1, INC = 0. The table is taken from a book (Structured Computer ...
1
vote
3
answers
620
views
The functional relationship between LDR and output voltage in a light activated differential amplifier
while learning about amplifiers, I found that this circuit cannot be quantitatively analyzed and I need help.
I have two questions:
LDR as a function of the input and output voltage of the amplifier (...
0
votes
2
answers
1k
views
Does wire size matter? If so, how?
I took the transformer from a microwave to make a spot welder. I cut the secondary wire out. Now I'm supposed to wrap a wire around the iron base. Primary wire is much smaller gauge than the secondary,...
1
vote
1
answer
404
views
Construction of a Lagrangian function for a circuit
I was reading the paper "Introduction to quantum electromagnetic circuits", by U. Vool and M. Devoret and I am stuck in the construction of a Lagrangian function for the example LC circuit ...
2
votes
2
answers
443
views
What happens after Return 0 in C on an embedded microcontroller? [duplicate]
In an embedded microcontroller programmed using C, generally the code body is placed within a continuous loop like while(1) in the main function so execution never ...
4
votes
1
answer
546
views
How to remove unneeded SMD LEDs from a PCB without impairing function?
I am working on an ESP32 prototype project which uses two SW420 vibration sensors.
On this board there are two (fairly bright) SMD LEDs, their function is not only not necessary but also unwanted, ...
0
votes
1
answer
96
views
Express state of overflow as function?
Making an ALU I want a signal that signals whenever an addition or subtraction changes the binary number from - to +. Each number u and v is 4-bits and therefore is marked by 0, 1, 2, 3 where 3 is the ...
1
vote
2
answers
645
views
Filter coefficients and filter calculation methods
I'm trying to figure out the R and C elements for a second-order Bessel filter approximation. Unfortunately, in the below calculations the quality factor is negative, so it is wrong? (I checked by ...
1
vote
4
answers
493
views
Transfer Function Involving Transformer
I am interested in how you would approach finding the transfer function of a circuit that involves a linear transformer. For example, the circuit below
simulate this circuit – Schematic created ...
-1
votes
1
answer
91
views
Mosfet circuit-function
Hello,
I am doing digital electronics and I have never seen this notation 5o define a function. Can someone explain me with details what happens when CLK is 1 please
Thank you
5
votes
3
answers
5k
views
What is the meaning of the keyword "__weak" in this callback function in HAL GPIO function?
I have started learning STM32 programming in HAL and I am confused about what this function exactly does:
...
-1
votes
1
answer
483
views
Ramp(sin(t)) whats the graph of this function? [closed]
If T = 1 and ramp(t/T), when you substitute t for sin(t), the interval 0<t<=1 is now sin(0)< sin(t)<=sin(1) or is it 0< sin(t)<= 1?.Thank you.
1
vote
1
answer
1k
views
Changing PWM Pulse and GPIO Outputs Inside a Function (STM32)
hope you are all doing well.
I am trying to learn STM32 for about two weeks now and right now I need to create a Library file which includes just one function. This function changes PWM Duty Cycle and ...
0
votes
3
answers
2k
views
Transfer function of brushless DC motor
Can someone explain how can 2nd order transfer function be represented by 1st order transfer function as shown in the equation 16 in the attached picture. I was trying to google it, but I couldn't ...
2
votes
1
answer
697
views
Transfer Function of Parametric Equalizer
I'm trying to find the transfer function of a single band parametric equalizer. First stage is just a follower with an AC coupling capacitor. Output stage is an inverting amplifier. In the middle, ...
0
votes
1
answer
423
views
Help with functional block program from ladder logic
I'm learning some basic functional block diagram programming
and I'm trying to convert this ladder logic into block diagram but I don't know how because my book doesn't cover this.
Can someone please ...
0
votes
1
answer
832
views
Solution to unknown function 'v' for a voltage source in LTspice?
I have been getting this strange error. Has anyone else experienced this kind of error beforein LTspice?
-1
votes
1
answer
991
views
Oscilloscope can't detect voltage and waveform
I am having a trouble with my research.
I am using a function generator to deliver electrical voltage to a wire and when I check it with the oscilloscope, it detects nothing (waveform, voltage.) Is it ...
1
vote
0
answers
917
views
Follow-Up: LTSpice “Error:undefined symbol in:” problem
Thanks to those who have provided helpful answers on the original post. I've tried @Ernesto 's suggestions, but I must not be implementing them correctly as I'm still receiving similar errors. Please ...
1
vote
1
answer
739
views
How do I get the transfer function from this step response?
I have the following step response of a closed loop system. Using the calculations below, I tried to calculate the transfer function. I am trying to get the same response in Matlab. However, I seem ...
0
votes
1
answer
174
views
Writing function using sigma?
Suppose I was given:
$$g(w,x,y,z)=(x+ y ̅+ z ̅ )( w+ y ̅+ z ̅ )( w+ x ̅+ y ̅ )$$
Then I can write it like this:
\begin{align}
g(w,x,y,z)&=(ww ̅+x+ y ̅+ z ̅ )( w+ xx ̅+y ̅+ z ̅ )( w+ x ̅+ y ̅ +...
-2
votes
1
answer
2k
views
RiscV assembly, function arguments
I learnt that in RiscV assembly we save function arguments in registers s0,...,s7 but what if I had more that 8 arguments?
Plus what about the case where I have more than 32 arguments (let's say 40) ...
1
vote
2
answers
290
views
Is the disjunctive normal form unique?
Is the disjunctive normal form always unique?
And if no, is there an example of a function that has more than one DNF?
0
votes
1
answer
1k
views
LM358 waveform generator issue
I would like to generate a 30 kHz & 60 kHz sawtooth waveform using an LM358P operational amplifier per the following schematic.
Theoretically, and in the simulation, the circuit should work ...
-4
votes
2
answers
466
views
What are the two sensors doing in the automatic bread production line? [closed]
I want to know what is the name of these 2 sensors and what function they perform
Some of you were complaining about the picture quality. It is the highest quality image I can get. Also these sensors ...
1
vote
0
answers
68
views
A bus routing puzzle, does it ring a bell?
I am breaking my head over a puzzling bus routing puzzle, and I wonder if this sort of problem rings a bell. I have 4 memory cell ports, let's call them EE, OE, EO, and OO, that are being mapped to 4 ...
0
votes
1
answer
73
views
How can I determine what type of logic structure this circuit represents?
I have the following circuit:
How can I determine which one of the following functions it represents:
F = (AB+CD)'
F = ((A+B)(C+D))'
F = AB+CD
0
votes
2
answers
144
views
How does the \$Q\$-factor of a parallel RCL circuit scale with the inductance?
I want to be able to show in an expression that the $Q$-factor of a parallel RCL circuit scales with the inductance. If we remind ourselves of a RCL circuit:
simulate this circuit – Schematic ...
0
votes
3
answers
555
views
Flat line on output of single supply sawtooth generator
I have built the following sawtooth generator using LM358 opamps:
In simulation everything works fine, however in reality I get only flat line on output. Anyone got any idea what's going on?
1
vote
1
answer
1k
views
How to validate that a function is executing from RAM?
I'm trying to execute a control function as quickly as possible from SRAM on an STM32F3xx using GCC (System Workbench toolchain).
...
0
votes
3
answers
217
views
Is there is no math for adding the functions of two parallel filters?
I want to add two "parallel" functions. Each of them describes the frequency response of that individual filter.
Put in other words, I want to see what the frequency response looks like when ...
-1
votes
2
answers
512
views
Graphical nature of signal energy
In signals, we learn that the energy of a signal is the integral of its square.
E.g.
\$E=\int_{-\infty}^\infty x^2(t) dt\$
We know that integrals are the areas under the function in a graph. But ...
0
votes
2
answers
151
views
Frequency response simple question
I'm looking at answers to calculating the frequency response, but i don't understand one line. what are they doing to go from the first line to the second line?
0
votes
2
answers
179
views
total transfer function of a LTI System with feedback
I have calculated the transfer function of such systems many times, but now i feel like I`m going around in circles.
I have drawn a few help-signals to help me solve it, but they are dependent of one ...
0
votes
1
answer
94
views
How to choose which function to use depending on the parameter value? (MUX and Gates implementation)
Let's say we have A,B,C , which are all representation of decimal numbers. A and C are 4bit, B is 2bit.
if A is any of those numbers (eg: 0,5,6,11 ), the function is
F(A,B,C) = AB+C
If A is the ...
1
vote
1
answer
102
views
Code parts encapsulation method
I have a prototype of a simple monostable multivibrator components like this:
...
2
votes
2
answers
6k
views
Implementing a function using decoder, encoder and some gates
Implement the function F(A,B,C,D,E) = A’B’C’DE’+ABCD’E using only the components required from the ones given below:
One 3:8 decoder with active high outputs and an active high enable input
One 8:3 ...
5
votes
2
answers
7k
views
LTSpice: how do I pass to a function a component name as parameter?
Good morning all.
I am implementing a subcircuit in LTspice, and I want also to modify the plot.defs to calculate some quantities with the voltages/currents inside the subcircuit. Thus, I will have a ...
0
votes
1
answer
155
views
Special Function Registers value expressed as Hexadecimal & Bit shift
I was wondering if someone could help me solve one problem, because I am very new to this and I was given the code of a former programmer to work with.
I'm trying to figure out the value of 0x8008 &...