Pure Sine Wave Inverter

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Pure Sine Wave Inverter

Postby Derrihj » Fri Aug 16, 2019 10:41 pm

Hi friends is there anyone here that has an idea of how to make pure sine wave inverter in flowcode 8 things of sine table I totally have no idea how to start and end please share anyone with an idea on how to code pure sine wave oscillator

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

Re: Pure Sine Wave Inverter

Postby STibor » Sat Aug 17, 2019 12:07 pm

Hello,

Component: Frequency Generator (DSP)
Basic Sine Wave Generator:https://www.matrixtsl.com/wiki/index.php?title=Component:_Frequency_Generator_(DSP)

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Re: Pure Sine Wave Inverter

Postby Derrihj » Sun Aug 18, 2019 9:36 am

Thanks STibor but i need a live example for slow learners.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1086
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 440 times
Been thanked: 492 times
Contact:

Re: Pure Sine Wave Inverter

Postby Steve001 » Sun Aug 18, 2019 6:54 pm

Hi Derrihj

Have you tried a google search "microchip inverter reference design"

https://www.google.com/search?q=microchip+inverter+reference+design&oq=microschip+invert&aqs=chrome.2.69i57j0l5.12373j0j8&sourceid=chrome&ie=UTF-8

they are quite well documented and contain lots of information

Steve
These users thanked the author Steve001 for the post:
STibor (Mon Nov 25, 2019 3:44 am)
Rating: 5.26%
 
Success always occurs in private and failure in full view.

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Re: Pure Sine Wave Inverter

Postby Derrihj » Wed Oct 23, 2019 9:55 am

Guys how to obtain a sine table of 32 values in flowcode? Please help really need help on this and how to implement SPWM inverter.

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: Pure Sine Wave Inverter

Postby Benj » Wed Oct 23, 2019 3:54 pm

Hello,

Hopefully this should help. Currently the scaling is for a 16-bit signed int and will go between -32767 and 32767. If you need to change this to an unsigned value then I can provide an example for this too.

SineGen.fcfx
(11 KiB) Downloaded 62 times
These users thanked the author Benj for the post:
STibor (Mon Nov 25, 2019 3:44 am)
Rating: 5.26%
 

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Re: Pure Sine Wave Inverter

Postby Derrihj » Sat Oct 26, 2019 12:13 am

Thanks Benj but is this possible for you to provide this as a full complete spwm dc- ac inverter project with feed back say by having different sets of sine table with each having may be 32 values for different duty percentage values may be starting at lower duty of may be 65 percent when the inverter is first switched on then goes on increasing duty until the desired output is achieved say may be 220vac ,230vac or 240vac? we want to see how this is done in flowcode completly because we want to shift to flowcode since its easy to use than others.We want this to have 4 siginals ,that is 2 high and 2 low siginals to be fed to two IR2110 driver ICs.I dont know exactly how to bring out this clearly but i guess you get what am trying to say.THanks sir.

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: Pure Sine Wave Inverter

Postby Benj » Thu Oct 31, 2019 1:27 pm

Hello,

It's probably easier if you generate one sine wave at full scale and then use say the DSP scale component to allow you to dynamically scale the wave. You could maybe use the DSP control component to provide PID type feedback processing for the scaler.

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Re: Pure Sine Wave Inverter

Postby Derrihj » Fri Nov 15, 2019 7:29 am

Thanks Benj but Guys, i totally don't know how to do this which is why am requesting for a complete project if that is possible then discus where i get lost from which i think is the best way to learn especially for slow learners like me thanks guys.

DCW
Posts: 23
Joined: Mon Sep 28, 2015 8:19 pm
Has thanked: 14 times
Been thanked: 4 times
Contact:

Re: Pure Sine Wave Inverter

Postby DCW » Mon Nov 18, 2019 4:49 pm

Hello there... well now I believe that flowcode 8... has a facility whereby you can type in C-code ... and then it will.. 'create' flowchart (flowcode code) symbols...!!

So now if you go look on the internet.. and look for a brilliant indian fellow called - Tahmid - he has a brilliant working model, of a SINE wave inverter, that will not be too difficult to get around.

I studied it at length, and it seems very do-able... So buddy.. go check him out... Tahmid did it real nicely..

Ask Benj - to help you.. with procedure for creating flowcode - from C-code..

I sure it will work..

regards .. DCW ...

Derrihj
Posts: 61
Joined: Mon Jul 09, 2018 12:43 pm
Has thanked: 12 times
Been thanked: 3 times
Contact:

Re: Pure Sine Wave Inverter

Postby Derrihj » Fri Nov 22, 2019 1:39 pm

Thanks DCW yes i know that guy Tahmid i my self been using him for some time and he has been so helpful in my smp inverter research and about flowcode i think it cant translate all the C code directly into flow-chat maybe Benj can come in and help us out. My only worry is how do we get Benj visit Tahmid page look at the sine wave project there and translate it into flow code