×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# 3 phase voltage

 Forum Search FAQs Links MVPs

## 3 phase voltage

(OP)
Hi!
Can anyone tell me how to generate 3 phase voltage in matlab with Simulink!
I know it is not a big deal, and I have a solution, but it just won't work the way it should!
Thanx !

### RE: 3 phase voltage

So, what are you doing and why do you say it isn't working the way it should?

### RE: 3 phase voltage

(OP)
I'm running a MATLAB simulation of a 3 phase induction motor! Everything is written down how to assemble the blocks in Simulink, I did everything accordingly but my results of the simulation don't match the real values!I started looking for mistakes, and when I connected a scope to the 3 phase voltage, discovered that the peak values of the 3 phase voltages are to close to each other, they should be arranged proportionally in a cycle.Lets say the cycle time is 40, the first peak should be  at 0, the second at 13.33, the third 26.67!I made some corrections to achieve these results, but the final results still don't match!Any advice??I'm desperate to find the mistake!?(I started thinking that the simulation itself has a mistake, but if that is the case I'm afraid I wont't find the mistake!)

### RE: 3 phase voltage

You still haven't said what you are doing.  I'm not that great with Matlab or Simulink and may not know the answer when there becomes enough information to begin to answer, but if you supply enough information someone may know the answer.

### RE: 3 phase voltage

Well, you know, either Matlab is broken, or you, "did everything accordingly," but wrongly.  Those are the only two options.  Gotta believe that Matlab can't screw up something that simple, which leaves operator error.

So complaining about the operator error without revealing what the operator did is rather pointless, don't you think?

This site went to the bother of providing an upload facility specifically for people like you.  So take advantage of it.

### RE: 3 phase voltage

Is yourproblem with the scope or with mathlab?
Is this a multiple trace scope?
Are your scope channels isolated?
Is your three phase wye or delta?
Was there a flash and a bang when you connected the last scope probe?
Is one of your channels inverted on the scope?

Bill
--------------------
"Why not the best?"
Jimmy Carter

### RE: 3 phase voltage

(OP)
Thank you for your support, but in the meantime I discovered  the mistake, which is a bit embarrassing!-)))
You know, pi sometimes means 3.14 or 180, this time I mixed them up, instead of using 3.14 I used 180!
Now, I'm facing difficulties when computing the ids, iqs,idr,iqr from Vds,Vqs, Vdr,Vqr!
But don't bother I've already found useful literature!
Thanx once again!

### RE: 3 phase voltage

Hello zolka;
Thank you for the feed back.

Bill
--------------------
"Why not the best?"
Jimmy Carter

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!