tag:blogger.com,1999:blog-6338993703407602171.post3198687010702683257..comments2024-03-28T00:52:40.857-07:00Comments on Tahmid's blog: Generation and Implementation of Sine Wave TableTahmidhttp://www.blogger.com/profile/09117804893438710050noreply@blogger.comBlogger55125tag:blogger.com,1999:blog-6338993703407602171.post-37302752532282254442020-10-24T04:58:24.653-07:002020-10-24T04:58:24.653-07:00easy understanding thanks thamid once againeasy understanding thanks thamid once againEngr Rezaul Islamhttps://www.blogger.com/profile/02220084467356378670noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-65055220470470449152018-01-28T21:28:44.668-08:002018-01-28T21:28:44.668-08:00hello sir. i have been through your article relate...hello sir. i have been through your article related to SPWM and it is working fine and thanks for this. But my next point is i want to change frequency as well as voltage using a potentiometer. Please reply meAnonymoushttps://www.blogger.com/profile/02864196650223740691noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-3894214402052357162017-07-03T23:50:16.822-07:002017-07-03T23:50:16.822-07:00Where is number 4 in the duty ratio formula? what ...Where is number 4 in the duty ratio formula? what happened to the 4 on the denominator?Anonymoushttps://www.blogger.com/profile/16518778934144234798noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-20564020549527124702016-07-24T02:56:17.849-07:002016-07-24T02:56:17.849-07:00hi
thanks for all this information , what is the c...hi<br />thanks for all this information , what is the core of the transformer which used with this inverter ? can it be laminated iron core ?Anonymoushttps://www.blogger.com/profile/09660558709596197029noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-16801555028723363422016-06-13T01:26:51.207-07:002016-06-13T01:26:51.207-07:00Thank you so much .
I have one doubt how we can va...Thank you so much .<br />I have one doubt how we can vary the modulation index by changing amplitude of sine wave using this method?<br />teenu.sunrise123@gmail.com is my email address<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-14642041714218781792016-06-12T23:34:03.821-07:002016-06-12T23:34:03.821-07:00Thank you so much .
I have one doubt how we can v...Thank you so much .<br />I have one doubt how we can vary the modulation index by changing amplitude of sine wave using this method?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-13233420271154081462016-03-12T04:07:41.125-08:002016-03-12T04:07:41.125-08:00Hi Tahmid,
I understand your explanation...Hi Tahmid,<br /> I understand your explanation about Sine table, the thing i want to know is, i am using mikroc IDE for programming and it has built in PWM library, may i use that to generate Sine Wave.<br /><br />nuaman.saghir80@gmail.com is my email address.<br /><br />Thanks.Numanan Saghirnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-38145052236846630052015-07-29T13:14:14.143-07:002015-07-29T13:14:14.143-07:00Dear Tahmid:
For starters you for your notes. I w...Dear Tahmid:<br /><br />For starters you for your notes. I want to consult you.<br />I have understood your development table for the sine wave.<br />For your example of 10 values, with Fosc = 16Mhz, fPWM = 16kHz, results in a PR2 = 249.<br />After analysis you tell us 62.5x20 = 1,250 us, would be rebuilding a wave of 800Hz and not what we want to 50Hz. Therefore it is repeated 16 times each value and then changed to another value and is repeated 16 times to end the last value.<br /><br />Question:<br />Can you work the way I describe below?<br />It has 10x 16 = 160 values for a half cycle<br /><br />10ms / 160 = 62.5 us ===> Tpwm<br /><br />Then<br />Fosc = 16MHz, Tosc = 62.5 ns<br />Fpwm = 16Khz, Tpwm = 62.5 us<br /><br />Then PR2 = 250 and 160 entered the sine table and get the values 160 and 62.5 for each interrupt us we get a value ending with the last value.<br /><br />What advantage is there as you do you implement or you can work as I have described ?<br /><br />Please give me answer.<br /><br />Thank You.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-51867455660453935032015-05-19T16:57:16.271-07:002015-05-19T16:57:16.271-07:00hi mr tahmid i want to learn pwm well to use it to...hi mr tahmid i want to learn pwm well to use it to make ups and controlling leds can u help me plzpharoahshttps://www.blogger.com/profile/05951182823519516844noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-28413708695177063392015-03-31T23:16:40.191-07:002015-03-31T23:16:40.191-07:00i want generate 5 pwm gating signals using pic to ...i want generate 5 pwm gating signals using pic to control igbt.the carrier freq shld 20khz n osc shld be 20mhz ,at d output sine wave freq shld be 50hz.arunkumarhttps://www.blogger.com/profile/08089909851112383907noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-85380670263387813672015-03-10T04:03:57.518-07:002015-03-10T04:03:57.518-07:00Hello Tahmid
How we obtain the rate of sine wave-0...Hello Tahmid<br />How we obtain the rate of sine wave-0.13 0.59 -0.81 end etc.......<br />derser@mail.bgAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-78815038857784884742014-10-25T09:25:15.723-07:002014-10-25T09:25:15.723-07:00HI Tahmid .
where you are ?!
you don't answer...HI Tahmid .<br />where you are ?! <br />you don't answer my quastion ?<br />i hope the hindrance is benevolent :)<br /><br />rashad shubita<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-76713899189033224462014-09-19T02:21:20.040-07:002014-09-19T02:21:20.040-07:00Good morning Tahmid Mahbub >
at first i want t...Good morning Tahmid Mahbub ><br />at first i want to thank you about your exertion and Information that you give us .<br />seconds i want to Definition for myself ^^ I'm rashad shubita ,16 year old from palestine and i hope to be your friends.<br />at end i understand your presentation after i read it 5 or 6 time , and i'm make my code different ^^ and this is the way i write my code ,please tell me if i make some mistakes. <br />let's start : F=1/T >>T=1/50=0.02*1000000=20000us So each part is worth 20000/400=50us this is pwm period >and i'm used 20mhz osc<br />and used 20Khz carrier frequency so 1/20000= 0.00005*1000000=50 this is Required ^^ now let's calculate PR2 ><br />0.00005=(PR2+1)*4*1/20000000*1>> 0.00005=X*0.0000002>> X=0.00005/0.0000002=250 >>>PR2=249 .<br />this is the code :<br />const unsigned char sin_table[200]={0, 4, 8, 12, 16, 20, 24, 27, 31, 35, 39, 43, 47, 51, 55, 58, 62, 66, 70, 74, 77, 81, 85, 88, 92, 96,<br />99, 103, 106, 110, 113, 117, 120, 124, 127, 131, 134, 137, 141, 144, 147, 150, 153, 156, 159, 162, 165, 168, 171, 174, 177, 180,<br />182, 185, 188, 190, 193, 195, 198, 200, 202, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 226, 228, 229, 231, 232, 234,<br /> 235, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 246, 247, 248, 248, 248, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250,<br /> 250, 249, 249, 248, 248, 248, 247, 246, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 235, 234, 232, 231, 229, 228, 226, 225,<br /> 223, 221, 219, 217, 215, 213, 211, 209, 207, 205, 202, 200, 198, 195, 193, 190, 188, 185, 182, 180, 177, 174, 171, 168, 165,<br /> 162, 159, 156, 153, 150, 147, 144, 141, 137, 134, 131, 127, 124, 120, 117, 113, 110, 106, 103, 99, 96, 92, 88, 85, 81, 77, 74,<br /> 70, 66, 62, 58, 55, 51, 47, 43, 39, 35, 31, 27, 24, 20, 16, 12, 8, 4};<br /><br /><br />unsigned char DUTY_CYCLE=0;<br /><br />void interrupt(){<br /> if (TMR2IF_bit == 1)<br /> {<br /><br /> if (DUTY_CYCLE >= 200){<br /> CCP1CON.P1M1 =~CCP1CON.P1M1; //Reverse direction of full-bridge<br /> DUTY_CYCLE=0;<br /> }<br /><br /> CCPR1L = sin_table[DUTY_CYCLE];<br /> DUTY_CYCLE ++;<br /> TMR2IF_bit = 0;<br /> }<br />}<br /><br />void main() {<br /><br /> ANSEL = 0; //Disable ADC<br /> CMCON0 = 7; //Disable Comparator<br /> PR2 = 249;<br /> TRISC = 0x3F;<br /> CCP1CON = 0x4C;<br /> TMR2IF_bit = 0;<br /> T2CON = 4; //TMR2 on, prescaler and postscaler 1:1<br /> while (TMR2IF_bit == 0);<br /> TMR2IF_bit = 0;<br /> TRISC = 0;<br /> TMR2IE_bit = 1;<br /> GIE_bit = 1;<br /> PEIE_bit = 1;<br /><br /> while(1);<br />} <br />best wishes <br />rashad shubita<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-30293447787037234122014-08-25T00:45:06.169-07:002014-08-25T00:45:06.169-07:00Hi tahmid I have got my softawere woking correctly...Hi tahmid I have got my softawere woking correctly in pic 16f690, but now i want to know the type of mosfets and diodes that can be used in this applicationKHosa Masananoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-30198572947765350172014-08-21T12:21:30.303-07:002014-08-21T12:21:30.303-07:00Thank you so much for taking your time to write ab...Thank you so much for taking your time to write about these things. This is really helpful. I have just found part of a solution for my project. thank you a lot Tahmid. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-2377223958948838662014-08-20T14:49:06.793-07:002014-08-20T14:49:06.793-07:00HI Tahmid
Congratulations for your excelent blog
I...HI Tahmid<br />Congratulations for your excelent blog<br />I have already done an inverter single phase in the dsPIC BASIC PRO compiler using a dsPIC30F4012. It works ok.<br />My question is how to generate a 3 phase inverter. What are the issues to solve? What should be added?<br />Could you make please a tutorial to make a three phase inverter? may be using a dsPIC, provided it has the hardware (Motor Control PWM) that supports 6 outputs, for a full bridge 3 phase inverter.<br />I hope you can spare a little time to help me and a lot of other guys interested.<br /><br />On the other hand, could you please recommend a book or pdf document to consult this issue?<br />Thanks a lot for your valuable help.<br /><br /><br />Alejandro Marquez<br />email: amarkues@hotmail.comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-68365249133411039222014-08-14T03:46:54.113-07:002014-08-14T03:46:54.113-07:00Hello, this helped me alot. i just wanted to know ...Hello, this helped me alot. i just wanted to know that if i wanted to generate a 40Hz sine wave what changes do i have to make in the code?Awais Shafiquenoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-14431858176417799082014-05-23T15:29:18.071-07:002014-05-23T15:29:18.071-07:00Please can you explain in detail the advantages of...Please can you explain in detail the advantages of FULL BRIDGE over CENTER TAPPED inverters apart from extra coil cost. Lets assume a transformer is wound with 12SWG 25 turns at the primary for FULL BRIDGE, and the same size of transformer is used to wind 25-0-25 CENTER TAPPED with also 12SWG, what will be the difference if all other parts of the inverter is built with equal material. Anonymoushttps://www.blogger.com/profile/16957473537170199304noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-9784419989835648562014-05-18T08:49:40.362-07:002014-05-18T08:49:40.362-07:00I want to make a pure sinewave inverter by using a...I want to make a pure sinewave inverter by using arduino.can you please guide for coding part.<br />The h bridge upper half are p-ch and lower half are n ch mosfet.Anonymoushttps://www.blogger.com/profile/15948313565606243252noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-14834087504095707282014-04-08T03:07:55.619-07:002014-04-08T03:07:55.619-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/02842016021516505686noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-44047636524612852922014-03-28T11:18:48.167-07:002014-03-28T11:18:48.167-07:00welll....
plz tell me the main ideas about PWM and...welll....<br />plz tell me the main ideas about PWM and include the C program.....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-44435870737972446732014-01-09T02:38:23.584-08:002014-01-09T02:38:23.584-08:00Hi Tahmid
Your work is good and i think, now I am...Hi Tahmid<br />Your work is good and i think, now I am able to complete my project with in time<br />Thanks for your article<br />Imbihttps://www.blogger.com/profile/09216695041907777930noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-18643570683138131352013-12-21T20:08:30.759-08:002013-12-21T20:08:30.759-08:00Yup, you've got it right.Yup, you've got it right.Tahmidhttps://www.blogger.com/profile/09117804893438710050noreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-48727486805578821632013-12-17T19:33:09.083-08:002013-12-17T19:33:09.083-08:00So, am I right in concluding that the number "...So, am I right in concluding that the number "32" comes from "a fraction of comparison between carrier freq vs mains freq"?<br />i.e if carrier freq is 6kHz and mains freq is 50Hz, then the comparison value is 120 for full cycle, or 60 for the half cycle. then we can use any fraction of that 60 for the sine table size, maybe 20,30,or 60?Pangestu Widodonoreply@blogger.comtag:blogger.com,1999:blog-6338993703407602171.post-12890770728890461212013-12-15T23:04:35.617-08:002013-12-15T23:04:35.617-08:00Hi tahmid,
i designed an inverter which is transfo...Hi tahmid,<br />i designed an inverter which is transformer less.<br />Bus Link Capacitor Voltage =800Vmax.<br />Power =10KVA<br />PWM Generated Using Analog Circuit.<br />Topology =Half Bridge<br />Switching Frequency =10KHz<br />Currently i have connected RC snubber across both MOSFET & using same Bus Link Capacitor as filter capacitor also.<br />The Driver used can Sink & Source 4A current.<br />But i want to use anti-parallel diode across gate resistor,for fast turn off.Which Diode to choose as frequency is 10KHz?<br />Also snubber required is across both or single in half bridge?<br /><br />Also Rg & Rgs resistor are connected.<br /><br />Thanks & waiting for knowledge enhance,<br />Anonymousnoreply@blogger.com