หมวดไฟฟ้า/อิเล็กทรอนิกส์/คอมพิวเตอร์ => ห้องอิเล็กทรอนิกส์ => พื้นฐานอิเล็กฯ => ข้อความที่เริ่มโดย: Auto Man ที่ 13 กรกฎาคม 2566, 07:28:20

หัวข้อ: How to Generate PWM with variable Duty Cycle and Frequency Using IC 555
เริ่มหัวข้อโดย: Auto Man ที่ 13 กรกฎาคม 2566, 07:28:20
   How to Generate PWM with variable Duty Cycle and Frequency Using IC 555   
   We are supplying +9Volt as input to IC555 timer but we can give input from +4.5 volt
to +16 volts, it depends on output waveform we desire. Say we need an output waveform
of +12Volts then we will give input  as +12volts.

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ


Components used are:

U1 - IC555 Timer

Capacitors:

C2 - Electrolytic capacitor of 10uF 100Volts
C1 - Ceramic capacitor of 10uF
C3 - Ceramic capacitor of 0.1uF

Resistors:

R1 - 4.7 K ohms
R2 - 470 ohms

Diodes:
D1 - D2 - 1N4148

Potentiometer:
P1 - P2 - 100k

P1 and P2 are variable potentiometers Rpot1 and Rpot2 respectively.

I had used 100k potentiometers but you can also use 1k or say 1M potentiometers,
it all depends upon the resolution you want, more precise resolution you require,
more should be the value of potentiometer.

Now by varying the potentiometers Rpot1 and Rpot2 we can vary Duty cycle and
frequency respectively of the output waveform as shown below. If we want more
frequency we have to reduce size of C2 electrolytic capacitor, C2 capacitor and Rpot1
and Rpot2 are known as Timing circuit, by varying Rpot1, Rpot2 and C2 we can get
different different frequencies from 1HZ to 1Mhz.

Frequency depends upon the formula:

Freq = 1.44 / ((R1 + R2) * C)

Output waveform:

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804548)

   ข้อมูลมาจากที่นี่... (https://www.tu-eshop.com/index.php?route=tublog/blog&id=83)
หัวข้อ: How to Generate PWM with variable Duty Cycle and Frequency Using IC 555
เริ่มหัวข้อโดย: Auto Man ที่ 13 กรกฎาคม 2566, 07:36:21
   - ส่วนวงจรนี้เป็นแบบฟิกซ์ความถี่ที่ 1 Hz

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804549)
  ขอบคุณเจ้าของภาพ

   มาจากที่นี่... (https://www.etshatyai.com/article/1/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B9%88%E0%B8%AD%E0%B8%A7%E0%B8%87%E0%B8%88%E0%B8%A3%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%96%E0%B8%B5%E0%B9%88-1hz-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2-ic-555)
หัวข้อ: How to Generate PWM with variable Duty Cycle and Frequency Using IC 555
เริ่มหัวข้อโดย: Auto Man ที่ 13 กรกฎาคม 2566, 07:46:13
  เอาไว้เทียบเคียงดูแนวทางการปรับ Duty Cycle

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804550)
หัวข้อ: How to Generate PWM with variable Duty Cycle and Frequency Using IC 555
เริ่มหัวข้อโดย: Auto Man ที่ 13 กรกฎาคม 2566, 08:31:15
   การคำนวณหาค่า RA RB C ความถี่ คาบเวลา
การแปลง การเทียบหน่วย แอดก็เริ่มงงล่ะ ลองไปดูคร่าวๆ
เพื่อเป็นแนวทางที่ลิ้งค์นี้ (https://ake-remake.blogspot.com/2018/05/555.html)

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804551)
หัวข้อ: How to Generate PWM with variable Duty Cycle and Frequency Using IC 555
เริ่มหัวข้อโดย: Auto Man ที่ 13 กรกฎาคม 2566, 08:43:30
ต้องการต่อวงจรไฟกระพริบด้วย ic555 ความถี่ 11 เฮิร์ต คำนวณยังไงคะ

มาดูวงจรกันก่อนนะครับ  จากวงจร Astable multivibrator นี้
จากสมการความถี่ของมัน  จะมี 3 ตัวแปรคือ R1  R2  และ  C
หากเราแทนค่าเองด้วยมือ  จะยุ่งยากมากเพราะต้องปรับเปลี่ยน
ค่าทั้ง 3 ตัวจนได้ความถี่ และ duty cycle ที่ต้องการ  ซึ่งค่า duty cycle นี้ก็สำคัญนะครับ
หากมันเข้าใกล้ 5%  หรือ  100%  ไฟจะกระพริบไม่สวย

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804552)

ดังนั้น  พี่แนะนำให้ใช้เวบคำนวณให้เลย
น้องลองใส่ค่า R1  R2  ไปเรื่อย ๆ ก็ได้
โดยค่า C กำหนดตายตัวไว้ที่ 4.7uF  .....  พี่ลองปรับให้แล้วคือค่าที่เห็นในภาพนี้
https://circuitdigest.com/calculators/555-timer-astable-circuit-calculator

ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ
 (http://upic.me/show/62804553)

หรือ .... เมื่อต่อวงจรจริง 
น้องก็แทน R1 ด้วย Potentiometer ขนาด 10K ก็ได้
เพื่อความสะดวกในการหมุนปรับความถี่ได้ในช่วง 10 - 15 Hz ครับ
(เอ .... สงสัยนิดนึง  คือว่าความถี่ 11Hz เนี่ย
มันจะไม่เรียกว่ากระพริบนะ แต่มันจะรัว ๆๆๆ จนปวดตามากกว่า)

   ขอบคุณแหล่งที่มา... (https://pantip.com/topic/40450691)