Lọc theo danh mục
  • Năm xuất bản
    Xem thêm
  • Lĩnh vực
liên kết website
Lượt truy cập
 Lượt truy cập :  24,065,419
  • Công bố khoa học và công nghệ Việt Nam

Các hệ thống và kỹ thuật truyền thông

Đặng Văn Ngọc(1), Nguyễn Duy Minh, Ninh Văn Hoạt

Xây dựng bộ chuyển đổi tín hiệu đầu vào cho PLC sử dụng chuẩn ethernet

Construction of the input signal transducer of the PLC using ethernet

Khoa học và Công nghệ - Đại học Thái Nguyên

2019

11

173-179

1859-2171

Hiện nay, PLC (Programmable Logic Controller) không còn xa lạ đối với chúng ta, sự xuất hiện của PLC trong các nhà máy, xí nghiệp hay các công ty đã đem lại lợi ích rất lớn cho con người. Tuy nhiên, đối với các bài toán xử lý tín hiệu analog thì PLC gặp một số hạn chế đó là có rất ít đầu vào tín hiệu analog tích hợp sẵn trên CPU. Trên thực tế đã có các module chuyển đổi cho PLC nhưng giá thành cao, cần phải đồng bộ nguồn sử dụng, phức tạp trong quá trình lắp ráp đấu nối, chính vì vậy trong bài báo này chúng tôi sẽ trình bày giải pháp xây dựng bộ chuyển đổi tín hiệu đầu vào cho PLC có thể giao tiếp với các loại cảm biến bằng các chuẩn giao tiếp khác nhau như I2C, SPI, OneWire, Analog và tạo ra sản phẩm có giá thành thấp mà vẫn đảm bảo được các hệ thống hoạt động tốt, ổn định trong môi trường công nghiệp. Module chuyển đổi tín hiệu đầu vào sử dụng Kit Arduino ghép nối với PLC theo chuẩn Ethernet (TCP/IP) trong đó Kit Arduino có nhiệm vụ thu thập tín hiệu từ các cảm biến có độ chính xác cao (3.3V, 5V) sau đó xử lý, tính toán rồi truyền dữ liệu lên PLC (24V). Bằng phương pháp trên ta có thể thực hiện các bài toán cho PLC với các loại cảm biến như cảm biến nhiệt độ (LM35, TMP36), độ ẩm (DHT11, DHT12), ánh sáng (BH1750), cảm biến bụi (Sharp GP2Y10), thẻ RFID (RFID-RC 522), vv.

Currently, the PLC (Programmable Logic Controller) is no longer stranger to human, their appearances in factories or companies have brought great benefits to us. However, regarding analog signal processing problems, PLC has got some limitations that there are very few analog signal inputs availble intergrated in the CPU. In fact, there are transforming modules for PLC, but they are high price, required to synchronize the source of use, complicated in the connection assembly process; therefore, in this article we will present the the input signal converter construction solution for PLC to communicate with sensors by different communication standards such as I2C, SPI, OneWire, Analog and create low- cost products while ensuring the systems works well and stable in industrial environment. Input signal conversion module uses Kit Arduino paired with PLC according to Ethernet standard (TCP / IP) in which the Arduino Kit is responsible for collecting signals from high- accuracy sensors (3.3V, 5V) then processing, calculating and transmitting data to the PLC (24V). By the above method, we can perform problems of the PLC with sensors such as temperature sensor (LM35, TMP36), humidity (DHT11, DHT12), light (BH1750), dust sensor (Sharp GP2Y10), RFID card (RFID-RC 522), etc.

TTKHCNQG, CTv 178

  • [1] (2007), NXP Semiconductors, MFRC522 Contactless Reader IC, NXP Semiconductors,
  • [2] (), BH1750FVI Datasheet. url: https://pdf1.alldatasheet.com/datasheetpdf/view/338083/ROHM/BH1750FVI.html,
  • [3] (), DS18B20 Datasheet. url: https://pdf1.alldatasheet.com/datasheetpdf/view/58557/DALLAS/DS18B20.html,
  • [4] (2017), LM35 Precision Centigrade Temperature Sensors,Texas Instruments
  • [5] (2009), SIMATIC S7 – 1200, EasyBook manual,Siemens AG
  • [6] Simon Monk (2016), Programming Arduino Getting Started with Sketches,McGraw-Hill Education
  • [7] Phạm Quang Huy; Nguyễn Trọng Hiếu (2019), Vi Điều Khiển Và Ứng Dụng Arduino Dành Cho Người Tự Học,
  • [8] Lê Ngọc Bích; Phạm Quang Huy (2016), Lập Trình PLC Scada Mạng Truyền Thông Công Nghiệp,
  • [9] (1998), Industrial Communication network,Siemens AG
  • [10] Vishesh Pamadi; Bradford G. Nickerson (2015), Getting Started With 1-Wire Bus Devices,Faculty of Computer Science University of New Brunswick
  • [11] Li-li Li; Jing-yu He; Yong-peng Zhao; Jianhong Yang (2014), Design of Microcontroller Standard SPI Interface,Applied Mechanics and Materials, Vol. 618, pp. 563-568
  • [12] (2014), NXP Semiconductors, I2C-bus specification and user manual, NXP Semiconductors,
  • [13] Douglas E. Comer; David L. Stevens (2001), Internetworking with TCP/IP Client-server programming and applications,Prentice Hall