Questions tagged [oscillator]
The oscillator tag has no usage guidance.
41
questions
0
votes
1
answer
40
views
Why is my FM synth getting out of phase?
I'm trying to create a software FM synth following the formula for frequency modulation:
$$
y(t) = A \cdot f_c(t + I \cdot f_m(t))
$$
Where $A$ is amplitude, $f_c$ the carrier function, $f_m$ is the ...
0
votes
1
answer
47
views
Wavelet signal analysis approach for multi-mode, noisy signal
I have a signal that I am trying to analyze via Matlab's CWT functions. The signal has two distinct oscillating components and I would like to extract the decay factor from each of them. Here is what ...
1
vote
0
answers
30
views
Sampling Oscillators for Lookup Table
I have couple of analog synthesizers and I want to turn their oscillators into code. I've been reading about how to do it for a while and making a lookup table seems just right for me. I've been ...
2
votes
1
answer
165
views
Why does my PLL simulation oscillate after locking?
I'm working on a crude circuit simulator with the goal of implementing PAL encoding and decoding, so that I can experiment with generating images that look like video transmissions.
In the simulation ...
-1
votes
1
answer
242
views
Phase Noise and Multi-carrier Frequency conversion
I have a oscillator with a phase noise mask that was represented in dBc at specific offsets from a carrier.
Two options for a multicarrier signal going into a converter, apply the phase noise mask (...
0
votes
1
answer
103
views
How to choose frequency of local oscillator for heterodyne principal
I am trying to implement the heterodyne principle in order to make an AM signal demodulator that can demodulate signals on a set bandwidth(550 - 1720kHz). Is there a formula or some other method of ...
1
vote
1
answer
499
views
Adding phase noise to a signal results in amplitude variation on a constellation - whats the mistake? *plots inside*
I am attempting to add phase noise to a modulated signal.
I am doing this by taking a phase noise mask (single sided 0 Hz to 1
MHz), which shows dBc values away from central value or reference
value. ...
3
votes
1
answer
916
views
Allan Variance vs Autocorrelation - Advantages
I am currently studying oscillator stability and have come across the Allan variance. I gather that it was developed as an alternative to the standard variance as it doesn't necessarily converge for ...
-1
votes
1
answer
147
views
Pointers for digital FM synthesis
I am working on a digital synthesis project, in python and c currently. I have made a Sine and Saw wave generator and have now been working on FM between the two wave types. I have successfully made ...
7
votes
1
answer
464
views
How to calculate critical damping of a system with two springs and a damper (or two springs and two dampers)?
Background
For a simple system where you have a mass attached to a spring and damper in parallel:
We can calculate the critical damping from the equation of motion:
$mx_{tt} + cx_t + kx = 0$
$ms^2 + ...
0
votes
1
answer
178
views
What equation predicts the amplitudes of harmonics from a square/triangle/sawtooth/pulse oscillator?
I have seen pictures like this which depict the shapes of amplitudes from the various common types of audio oscillators:
Similar pictures of spectra are shown here.
I am attempting recreating these ...
2
votes
0
answers
460
views
PolyBLEP: solving two part residual
The Polynomial Bandlimited Step (PolyBLEP) methodology involves approximating the sinc() function with a polynomial. The most basic polynomial to choose is a uni-polar triangular pulse as it is the ...
1
vote
2
answers
108
views
Output of marginally stable systems
In' b.p lathi's book of systems and signal it is written that
"marginally stable systems have one important application in the oscillator, which is a system that generates a signal on its own ...
0
votes
1
answer
746
views
Detect when signal starts oscillating
I have a signal which consists of oscillations riding on square waves as shown in the image below. I wish to detect the time at which oscillatory events occur (as shown by the red star).
Each square ...
1
vote
0
answers
36
views
how to reduce signal noises
I am trying generate guided waves on simple metallic plate through piezo-ceramic material, I place two piezo on the surface of the plate at the different location and through Arbitrary pulse generator,...
3
votes
1
answer
177
views
NCO loses lock after a while for certain values of alpha
EDIT: So the transfer function for my system is
$$ F_{nco}(z)=\beta E(z)/(z-1)$$
$$ z\Theta_{nco} (z)=\Theta_{nco} (z)+\alpha E(z)+\beta E(z)/(z-1)$$
So I would like to obtain $\Theta_{nco} (z) / \...
1
vote
1
answer
169
views
Denoising Oscilloscope data the right way [python3]
I need to plot large oscilloscope data sets. They are too large (100 million Values) to plot all of them in a for loop. If I try to do that it results in a ...
2
votes
1
answer
1k
views
polyBLAMP anti-aliasing in C++
How should 4 point polyBLAMP work. It does not really seem to dampen aliasing.
I have an floating point digital audio oscillator that makes a +1.0f jump at the end of every period.
My question is, ...
1
vote
3
answers
4k
views
How to recover frequency and damping coefficient from superposition of damped oscillators?
I have a signal which is (more or less) the superposition of multiple damped oscillators. There are relatively few oscillators involved, 2-3 would account for most of the signal. They have periods ...
0
votes
1
answer
74
views
Is there any special when all Fourier components have the same angle?
When a square wave doesn't jump, its oscillators aren't aligned:
But if they are in sync, the wave will jump to its extrema:
However this is just an example of square waves. The tool Understanding ...
2
votes
4
answers
114
views
What is the moment when all oscillators aligned to make a jump called?
Say we have a square wave and its Fourier series. When the wave doesn't jump, its oscillators aren't aligned:
But if they are aligned, the wave will jump:
What is this moment called? They might not ...
0
votes
3
answers
556
views
How do I stabilize my oscillating system?
I have two scalars $x$ and $y$ that vary with time $t$ such that
\begin{align}
\frac{dx}{dt} &= ay + b + dx\\
\frac{dy}{dt} &= cx
\end{align}
but $a, b, c$ are unknown.
If $d$ is too small, ...
0
votes
1
answer
120
views
DC bias of waveform
I have a waveform which is built from a math function. I want to repeat it to make a oscillator.
Now to offset it to remove dc bias, do I just make total area equal zero?
1
vote
0
answers
97
views
Bandwidth enhanced sinusoidal model with oscillators banks
i am currently implementing the bandwidth enhanced sinusoidal model for an additive synthesizer, this model allow to accurately produce noisy sounds by adding a noise component to each sinusoids.
But ...
2
votes
1
answer
1k
views
How to account for multiple signals in the input to a Kalman filter
I am interested in using a Kalman filter to track an oscillating signal due to a physical oscillator in a signal which contains the signal from multiple such oscillators oscillating at different ...
0
votes
1
answer
210
views
How to implement a digital sawtooth oscillator? [closed]
In reference to this topic: How to implement a digital oscillator?, I would like to know how can I implement a solution similar to the one in the topic on a Sawtooth oscillator.
-1
votes
2
answers
380
views
How to look at Rubidium frequency standard using the oscilloscope?
This question is about the checking hardware, please help if someone who has done it before.
I have the Rubidium frequency standard: http://www.thinksrs.com/products/PRS10.htm
and the Oscilloscope: ...
3
votes
1
answer
5k
views
Numerically Controlled Oscillator (NCO) for phasor implementation?
If I want to simulate a digital oscillator (or phasor) to modulate an arbitrarily length signal:
$$y(t) = \cos(2\pi f_ct)\quad\text{where}\quad t = \frac{n}{f_s}\quad\text{for sample}\quad n$$
What ...
1
vote
1
answer
433
views
Resonance circuit peak filter with unity stopband in MATLAB
I would like to insert a filter with an resonant filter characteristic of a realistic mechanic oscillator. I need to apply it in the time domain, e.g. with a function such as ...
2
votes
1
answer
2k
views
Generate loopable sine wave cycle for given frequencies
I am somewhat new to DSP so bare with me. I am working on a simple wavetable oscillator. What I am trying to do is generate one cycle of a wave form for each note (frequency) and store it in an array ...
0
votes
1
answer
237
views
Freeform band-limited waveforms
I'm ready to dip my toes in the scary waters of non-aliasing waveforms and wavetables. Ideally, what I'd like to do is create a (naive) wavetable/waveform in memory and subsequently generate band-...
3
votes
1
answer
280
views
Why does signaling overhead for time synchronization scale up with the number of transmitter nodes in a multiple access system?
I was recently reading about random multiple access methods without time synchronisation (of the pure Aloha type). In this paper it is stated that,
The need for transmitter synchronization is a ...
0
votes
2
answers
770
views
Aliasing Square Wave
I'm having a really weird issue with generating waveforms from frequencies C1 to C8.
When I generate sine waves, everything sounds good; no problems whatsoever. However, when I generate a square ...
6
votes
3
answers
3k
views
Band limited wavetables
I am a bit confused with the concept of band limited wavetables and the methods such as BLET, BLIP, MinBLEP, polyBLEP etc.
As far as I understand certain waveforms contain infinite harmonics, which ...
3
votes
1
answer
701
views
how to correct minBLEP sawtooth oscillator DC bias
In my implementation of minBLEP, overlapping minBLEPs result in a DC bias as the frequency increases. This is because each minBLEP correction (i.e. the minBLEP minus the aliased step) has a DC bias.
...
0
votes
1
answer
440
views
efficient triangle to sine morphing?
I'm coding a synthesis external for MaxMSP in C.
It's based on Peter Blasser's bounds and bounce concept ( http://petermopar.blogspot.co.uk/2014_04_01_archive.html )- basically triangle waves with ...
0
votes
1
answer
1k
views
Best way to morph between waveforms
I am making an low-frequency oscillator (LFO) that should be able to output different kinds of waveforms.
If I, say, want to be able to create a smooth transition from a sine wave to a square wave, ...
3
votes
2
answers
2k
views
IIR oscillator produces stable output in MATLAB, unstable on chip, how do I tune it?
I'm trying to make an oscillator using IIR filter and I'm having problems tuning it so that it's stable on the platform I'm using (ARM Cortex M4F and CMSIS DSPLib's arm_biquad_cascade_df1_f32). Note ...
1
vote
2
answers
1k
views
Band Limited Table Look Up Oscillator C++
I would like to create a Band Limited Table Lookup Oscillator that functions much like the sin() function in C++ works where i would inout a phase value and receive ...
3
votes
3
answers
285
views
Is sinusoids the nature's default signals?
I know the basic working principle of sinusoidal oscillators. But I have a doubt on this matter when I came across Gram-Schmidt orthogonalization procedure. I have read that the source for sinusoid ...
21
votes
3
answers
11k
views
How to implement a digital oscillator?
I have a floating-point digital signal processing system that operates at a fixed sample rate of $f_s = 32768$ samples per second implemented using an x86-64 processor. Assuming that the DSP system ...