Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to remove AC signal from DC

443 views
Skip to first unread message

Prashant Sandhi

unread,
Oct 19, 2009, 10:12:02 AM10/19/09
to
Hallo Freinds,

I want to know how can I remove an AC 100 V 50 Hz signal from a DC 30 V.

For example when a AC signal is mixed or added to DC signal we see an AC signal in the scope output but my problem is I just want to see only DC signal even if AC signal is present.

I am looking for something which can Remove the AC component completely and enable me to see DC Component only.

Is there any MATLAB algoritham or Simulink block which can help me solve this problem?

I will be glad if some one can give solution.

With regrads,
Sandhi

Bogdan Cristea

unread,
Oct 19, 2009, 10:19:03 AM10/19/09
to
"Prashant Sandhi" <sand...@gmail.com> wrote in message <hbhs3i$5ii$1...@fred.mathworks.com>...

You could mean the signal samples on the AC signal period in order to extract its DC component.

Prashant Sandhi

unread,
Oct 19, 2009, 10:36:02 AM10/19/09
to
"Bogdan Cristea" <cris...@gmail.com> wrote in message <hbhsgn$3mc$1...@fred.mathworks.com>...

If I understood right, I want to extract only the DC component out of the AC signal.

Greg Heath

unread,
Oct 19, 2009, 8:48:49 PM10/19/09
to
On Oct 19, 10:36 am, "Prashant Sandhi" <sandd...@gmail.com> wrote:
> "Bogdan Cristea" <crist...@gmail.com> wrote in message <hbhsgn$3m...@fred.mathworks.com>...
> > "Prashant Sandhi" <sandd...@gmail.com> wrote in message <hbhs3i$5i...@fred.mathworks.com>...

> > > Hallo Freinds,
>
> > >     I want to know how can I remove an AC 100 V 50 Hz signal from a DC 30 V.
>
> > > For example when a AC signal is mixed or added to DC signal we see an AC signal in the scope output but my problem is I just want to see only DC signal even if AC signal is present.
>
> > >    I am looking for something which can Remove the AC component completely and enable me to see DC Component only.
>
> > > Is there any MATLAB algoritham or Simulink block which can help me solve this problem?
>
> > > I will be glad if some one can give solution.
>
> > > With regrads,
> > > Sandhi
>
> > You could mean the signal samples on the AC signal period in order to extract its DC component.
>
> If I understood right,  I want to extract only the DC component out of the AC signal

f0 = 50 % fundamental AC frequency
T0 = 1/fo %fundamental AC period
T = M*T0 %Time for M periods (integer M)
dt = T0/N % Sample at N points per period (integer N > 20)
t = dt*(M*N-1); % Sampling times

DC = mean(S);
AC = S-DC.

Hope this helps.

Greg

Prashant Sandhi

unread,
Oct 20, 2009, 2:27:04 AM10/20/09
to
Hallo Mr.Greg,

In this code What is 'S' here?
Will S-DC give me only AC component?

f0 = 50 % fundamental AC frequency
T0 = 1/fo %fundamental AC period
T = M*T0 %Time for M periods (integer M)
dt = T0/N % Sample at N points per period (integer N > 20)
t = dt*(M*N-1); % Sampling times

DC = mean(S);%What is 'S'Here ?
AC = S-DC.

Greg Heath <he...@alumni.brown.edu> wrote in message <41a93ac4-b5a3-4268...@33g2000vbe.googlegroups.com>...


> On Oct 19, 10:36?am, "Prashant Sandhi" <sandd...@gmail.com> wrote:
> > "Bogdan Cristea" <crist...@gmail.com> wrote in message <hbhsgn$3m...@fred.mathworks.com>...
> > > "Prashant Sandhi" <sandd...@gmail.com> wrote in message <hbhs3i$5i...@fred.mathworks.com>...
> > > > Hallo Freinds,
> >

> > > > ? ? I want to know how can I remove an AC 100 V 50 Hz signal from a DC 30 V.


> >
> > > > For example when a AC signal is mixed or added to DC signal we see an AC signal in the scope output but my problem is I just want to see only DC signal even if AC signal is present.
> >

> > > > ? ?I am looking for something which can Remove the AC component completely and enable me to see DC Component only.


> >
> > > > Is there any MATLAB algoritham or Simulink block which can help me solve this problem?
> >
> > > > I will be glad if some one can give solution.
> >
> > > > With regrads,
> > > > Sandhi
> >
> > > You could mean the signal samples on the AC signal period in order to extract its DC component.
> >

> > If I understood right, ?I want to extract only the DC component out of the AC signal

0 new messages