Arduino Forum

Using Arduino => General Electronics => Topic started by: amine2 on Dec 18, 2015, 12:51 pm

Title: (solved) Wave voltage summing .
Post by: amine2 on Dec 18, 2015, 12:51 pm
THIS IS NOT FOR ANALOG VIDEO .

   - so i have a voltage running between 0v and 1v and that represents the first value i need to send X.
 then on top of that i need to overlay a sine wave , of a controllable faze Y and controllable amplitude Z.
the phase element is not crucial .

 so what i need is a chip that generates and alternative sine wave of controllable amplitude .
 and a circuit that would sum the voltage output of the sine wave generator with the already set value X .
 ( i think that could be done with an amplifier but i dont know how that's exactly done)
 

        thank you very much
Title: Re: Wave voltage summing .
Post by: yendis on Dec 18, 2015, 05:22 pm
I take it you mean controllable frequency not phase (since phase implies a reference to some other timed event)?   If so what range of frequencies do you want?

Also you want the sine wave to have a DC component variable from 0V to 1V?  That can easily be added to most circuits.

There are many ways to generate sine waves, be useful to know what freq and whether distortion/harmonics are important.

Title: Re: Wave voltage summing .
Post by: amine2 on Dec 18, 2015, 07:16 pm
Yendis thank you very much for your attention .
first the phase is given in the beginning in a short burst so that element should not matter , the frequency is also fixed to a specific N0 value . what changes is only the AMPLITUDE so if Um is the amplitude given by the microcontroller the sine wave should alternate between -Um and Um .
it should be a sine wave of a decent quality .
Title: Re: Wave voltage summing .
Post by: MarkT on Dec 18, 2015, 07:23 pm
You need to start explaining what you want with numbers.  "decent quality" is almost meaningless,
"< 0.1% harmonic distortion" is completely clear.

Rather than tell us what its "not for", how about telling what you want to do?  We've no idea at all
what frequencies are involved, whether you are talking purely analog, or whether D->A converter is
intended, or what...  Perhaps what you want to achieve can be done differently from what you believe?

http://xyproblem.info/ (http://xyproblem.info/)
Title: Re: Wave voltage summing .
Post by: amine2 on Dec 18, 2015, 07:45 pm
hey MarkT , i am attempting to send a signal that is very similar to colored TV analog signal but it's not for a TV , the signal is a voltage value that matches the preps i lists up there in my original , forget about the sine wave quality , all i need is a sine wave you can recognize as a sine wave by looking at on an oscilloscope , that's all , the quality is therefore not so important . as long as it's a sine wave it will work . the signal is purely analog .
Title: Re: Wave voltage summing .
Post by: MarkT on Dec 18, 2015, 07:50 pm
Numbers, need numbers.
Title: Re: Wave voltage summing .
Post by: amine2 on Dec 18, 2015, 08:01 pm
ok . all i need is a circuit to sum two voltages (with sign consideration) .

            Vout = Vin1 + Vin2
 
EXAMPLE (with numbers) : if Vin1 = 0.5v and Vin2 = -0.2v we get Vout=0.3 .


then i need a chip that would generate a sine wave with a fixed frequency and phase , but with a variable amplitude , the microcontroller must be able to control the amplitude via any mean of communication possible (preferably a fast one)

how compilcated is that
Title: Re: Wave voltage summing .
Post by: Grumpy_Mike on Dec 18, 2015, 08:21 pm
Numbers, need numbers.
No amine2 that is not what MarkT is asking. Fuzzy statements like
Quote
preferably a fast one)
Do not at all cut it in engineering, we need numbers that describe these concepts of fast. One Man's fast is another Man's slow.

Quote
i am attempting to send a signal that is very similar to colored TV analog signal but it's not for a TV ,
So would a TV pattern generator chip do?
Title: Re: Wave voltage summing .
Post by: MarkT on Dec 18, 2015, 08:21 pm
If you don't say what bandwidth is needed there's no point answering.
Title: Re: Wave voltage summing .
Post by: amine2 on Dec 18, 2015, 08:27 pm
ok , l'ets say i want to generate a color PAL signal , that's close enough .
hey Mike long time no see.
Title: Re: Wave voltage summing .
Post by: Grumpy_Mike on Dec 18, 2015, 08:35 pm
OK cheapest option is a Raspberry Pi, that has a PAL video output which you can change.
Title: Re: Wave voltage summing .
Post by: MarkT on Dec 18, 2015, 10:36 pm
So several MHz - rules out opamps, you're going to need a software defined radio chip or
something like that.   The final summing can be done by using transformer coupling - one side
of secondary goes to the (decoupled) DC offset voltage.

Use a tuned transformer and you've got "decent sine wave"!
Title: Re: Wave voltage summing .
Post by: yendis on Dec 19, 2015, 12:22 am
I am still not clear on your requirement.You started asking for one dc voltage to be added to the sine wave, but seem to have added an extra one? 

quote: ok . all i need is a circuit to sum two voltages (with sign consideration) .

            Vout = Vin1 + Vin2
 
EXAMPLE (with numbers) : if Vin1 = 0.5v and Vin2 = -0.2v we get Vout=0.3 .


I guess your sine wave is not audio, but more like video frequency?   And you want to generate bursts of sine wave starting at a known phase? 

Maybe you could draw the waveform?
Title: Re: Wave voltage summing .
Post by: amine2 on Dec 19, 2015, 12:36 pm
here are the diagrams , the first one is the DC voltage , the second one is the wave and the third is the output

(http://i.imgur.com/02n0gOp.png)
Title: Re: Wave voltage summing .
Post by: MarkT on Dec 19, 2015, 01:46 pm
ahem?
Title: Re: (solved) Wave voltage summing .
Post by: TomGeorge on Dec 20, 2015, 09:46 am
Hi,
How is it solved?
All that was found out was that the op wanted what is in post #13?????
A Picture Is Worth A Thousand Words.
What is the EXACT Application?

Tom...... :o