Thread Subject: How to remove AC signal from DC

Subject: How to remove AC signal from DC

From: Prashant Sandhi

Date: 19 Oct, 2009 14:12:02

Message: 1 of 5

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

Subject: How to remove AC signal from DC

From: Bogdan Cristea

Date: 19 Oct, 2009 14:19:03

Message: 2 of 5

"Prashant Sandhi" <sanddhi7@gmail.com> wrote in message <hbhs3i$5ii$1@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.

Subject: How to remove AC signal from DC

From: Prashant Sandhi

Date: 19 Oct, 2009 14:36:02

Message: 3 of 5

"Bogdan Cristea" <cristeab@gmail.com> wrote in message <hbhsgn$3mc$1@fred.mathworks.com>...
> "Prashant Sandhi" <sanddhi7@gmail.com> wrote in message <hbhs3i$5ii$1@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.

Subject: How to remove AC signal from DC

From: Greg Heath

Date: 20 Oct, 2009 00:48:49

Message: 4 of 5

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

Subject: How to remove AC signal from DC

From: Prashant Sandhi

Date: 20 Oct, 2009 06:27:04

Message: 5 of 5

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 <heath@alumni.brown.edu> wrote in message <41a93ac4-b5a3-4268-8631-5d449c0576d4@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
>
> 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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com