# what are and why are sine and cosine modulated integrals used?

I have found the definition of the following formulas in a paper regarding active vibration control, where they are called sine and cosine modulated integrals.

$y$ is measurement signal with a strong periodic component of frequency $N\Omega$

$$y^{(i)}_{Nc}=\frac{2}{T}\int^{T}_{0}y^{(i)}(ϕ)\cos(Nϕ)dϕ$$

$$y^{(i)}_{Ns}=\frac{2}{T}\int^{T}_{0}y^{(i)}(ϕ)\sin(Nϕ)dϕ$$

where $\phi=\Omega t$.

From these the vector $y_N^{(i)}$ is defined as $y_N^{(i)} = \begin{bmatrix} y_{Nc}^{(1)}\\ y_{Ns}^{(1)}\\\vdots\end{bmatrix}$

The same is done for the control input(s) $u$. Then a quadratic cost function to be minimised at each step is defined using these newly introduced signals in this way:

$J(k) = y^T_NQy_N+u^T_NRu_N$ where $Q$ and $R$ are just two weighing matrices.

Are they introduced to consider the sine and cosine components at the considered frequency of the signal?

Can someone explain their meaning and why are they introduced? Here the link for the paper

Another question: suppose I have the value $y_N$: how can I invert the relationship to get $y^{(i)}$

Here the link for the paper.

• You would need to give more context for us to know why they were introduced. – Jim Clay Jul 31 '14 at 14:50
• Usually it is a good idea to include the paper during it's citation. – jojek Jul 31 '14 at 14:59
• I modified the question explaining a little better the context and including the link for the paper. I hope my question is clearer. – Francesco Boi Aug 3 '14 at 14:17
• Are you familiar with Fourier series? – Batman Aug 4 '14 at 7:07
• yes, they seem to be the coefficients of the sine and cosine components at the considered frequency. – Francesco Boi Aug 4 '14 at 14:26

## 1 Answer

As someone made me notice in the comments, the integrals are just the coefficients of the Fourier Series for that frequency component (when the series is expressed with the cosine and sine parts separately).

The integral is performed on a period much bigger then the period corresponding to the frequency of the disturbance so that a better averaged is obtained.

To get back the signal in the time domain it is sufficient to multiply the two components by the cosine and sine respectively. Of course in this way the signal has only one frequency component.
{"ft_lang_label":"__label__en","ft_lang_prob":0.85698366,"math_prob":0.9911894,"size":1088,"snap":"2021-04-2021-17","text_gpt3_token_len":333,"char_repetition_ratio":0.10701107,"word_repetition_ratio":0.013333334,"special_character_ratio":0.2977941,"punctuation_ratio":0.051886793,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.999556,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-15T04:47:31Z\",\"WARC-Record-ID\":\"<urn:uuid:2bbddd13-51f5-42d1-a81c-3bad97e911bb>\",\"Content-Length\":\"180671\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:eeabb350-b40c-4127-9fb2-31c5e3883847>\",\"WARC-Concurrent-To\":\"<urn:uuid:6f781f1a-87a7-4c14-8bfd-670305e2e962>\",\"WARC-IP-Address\":\"151.101.193.69\",\"WARC-Target-URI\":\"https://dsp.stackexchange.com/questions/17566/what-are-and-why-are-sine-and-cosine-modulated-integrals-used\",\"WARC-Payload-Digest\":\"sha1:SCFMURG42EJMHGRUIQOQTBGYCDE4GQ4N\",\"WARC-Block-Digest\":\"sha1:TN2UUVDC2KZAXGCCXAZR3VT53NUVBNGS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038083007.51_warc_CC-MAIN-20210415035637-20210415065637-00425.warc.gz\"}"}