Jump to content

Welcome to LN-Electronic
เพื่อการใช้งานได้อย่างเต็มประสิทธิ์ภาพ โปรดลงทะเบียนเป็นสมาชิก เพื่อที่คุณจะได้ รับข้อมูลข่าวสารอย่างครบถ่วน และ รับสิทธิ์ ในการเข้าชม และดาวน์โหลดได้อย่างเต็มรูปแบบ.
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

LN-ELECTRONIC.

ยินดีต้อนรับ ผู้ที่มีความสนใจในการเรียนรู้เกี่ยวกับ อิเล็กทรนิกส์ ทุกประเภท ได้ร่วมแบ่งปันความรู้แลกเปลี่ยนประสบการณ์ ณ ชุมชนแห่งนี้

เพื่อการเข้าถึงข้อมูล เช่น รูปภาพ,PDF, ดาวน์โหลด และอื่นๆอีกมากมายโปรดทำการ Login ทุกครั้งที่ใช้งาน หรือคุณยังไม่ได้เป็นสมาชิก สามารถสมัคสมาชิกฟรี ลงทะเบียนฟรี หลังจากลงทะเบียนครั้งแรกให้ทำการยืนยันการลงทะเบียนจาก Email. ที่ใช้สมัค.


Photo

test แผงpure sine EGS002


  • Please log in to reply
10 replies to this topic

#1
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

Avvi2Wph.png

 

lHhU8qHh.png

 

jORV7L9h.png

 

v1cu5Wlh.png

 

HjjsIFph.png

 

QUAwcroh.png

 

CTbU1Cyh.png

 

MDeotHsh.png



#2
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand



#3
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

รูปการทดสอบแผงดี

 

qhrVUB9h.jpg

 

8g3ePz0h.jpg

 

uuyjdgxh.jpg

 

W7e2dAnh.jpg

 

Qev7BW0h.jpg

 

orKugsph.jpg

 

IZm5nrth.jpg

 

2uNmRwVh.jpg

 

วัดครอม

nzI5dMMh.jpg

 

PHjT4qgh.jpg



#4
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

pdf

 

Attached Files



#5
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand



#6
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand



#7
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

arduino code 

 

#include <avr/io.h> #include <avr/interrupt.h> // Look up tables with 200 entries each, normalised to have max value of 1600 which is the period of the PWM loaded into register ICR1. int lookUp1[] = { 50 ,100 ,151 ,201 ,250 ,300 ,349 ,398 ,446 ,494 , 542 ,589 ,635 ,681 ,726 ,771 ,814 ,857 ,899 ,940 , 981 ,1020 ,1058 ,1095 ,1131 ,1166 ,1200 ,1233 ,1264 ,1294 , 1323 ,1351 ,1377 ,1402 ,1426 ,1448 ,1468 ,1488 ,1505 ,1522 , 1536 ,1550 ,1561 ,1572 ,1580 ,1587 ,1593 ,1597 ,1599 ,1600 , 1599 ,1597 ,1593 ,1587 ,1580 ,1572 ,1561 ,1550 ,1536 ,1522 , 1505 ,1488 ,1468 ,1448 ,1426 ,1402 ,1377 ,1351 ,1323 ,1294 , 1264 ,1233 ,1200 ,1166 ,1131 ,1095 ,1058 ,1020 ,981 ,940 , 899 ,857 ,814 ,771 ,726 ,681 ,635 ,589 ,542 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1505 ,1522 , 1536 ,1550 ,1561 ,1572 ,1580 ,1587 ,1593 ,1597 ,1599 ,1600 , 1599 ,1597 ,1593 ,1587 ,1580 ,1572 ,1561 ,1550 ,1536 ,1522 , 1505 ,1488 ,1468 ,1448 ,1426 ,1402 ,1377 ,1351 ,1323 ,1294 , 1264 ,1233 ,1200 ,1166 ,1131 ,1095 ,1058 ,1020 ,981 ,940 , 899 ,857 ,814 ,771 ,726 ,681 ,635 ,589 ,542 ,494 , 446 ,398 ,349 ,300 ,250 ,201 ,151 ,100 ,50 ,0}; void setup(){ // Register initilisation, see datasheet for more detail. TCCR1A = 0b10100010; /*10 clear on match, set at BOTTOM for compA. 10 clear on match, set at BOTTOM for compB. 00 10 WGM1 1:0 for waveform 15. */ TCCR1B = 0b00011001; /*000 11 WGM1 3:2 for waveform 15. 001 no prescale on the counter. */ TIMSK1 = 0b00000001; /*0000000 1 TOV1 Flag interrupt enable. */ ICR1 = 1600; // Period for 16MHz crystal, for a switching frequency of 100KHz for 200 subdevisions per 50Hz sin wave cycle. sei(); // Enable global interrupts. DDRB = 0b00000110; // Set PB1 and PB2 as outputs. pinMode(13,OUTPUT); } void loop(){; /*Do nothing . . . . forever!*/} ISR(TIMER1_OVF_vect){ static int num; // change duty-cycle every period. OCR1A = lookUp1[num]; OCR1B = lookUp2[num]; if(++num >= 200){ // Pre-increment num then check it's below 200. num = 0; // Reset num. }

Attached Files



#8
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand



#9
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

https://realstrannik...rukami?start=10



#10
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

pwm techinc

Attached Files



#11
surachit

surachit
  •  
  • Posts:
    2479

     
    Profile views:
    0

     
    ID:
    3

     
    Registered:
    15 Jul 2017

     
    Reputation:
    256

  • Locationbangkok thailand

http://www.lz2gl.com...r-inverter-3kw/

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users