Please use this identifier to cite or link to this item: https://cuir.car.chula.ac.th/handle/123456789/5477
Title: เทคนิคของเมทริกซ์มากเลขศูนย์สำหรับการจำลองวงจรไฟฟ้าในโปรแกรม "เล็ก"
Other Titles: A sparse matrix techniques for circuit simulation in the "LEK" program
Authors: นภดล จิตต์จรัส
Advisors: เอกชัย ลีลารัศมี
Other author: จุฬาลงกรณ์มหาวิทยาลัย. คณะวิศวกรรมศาสตร์
Advisor's Email: Ekachai.L@Chula.ac.th
Subjects: วงจรไฟฟ้า
การวิเคราะห์วงจรไฟฟ้า
เล็ก (โปรแกรมคอมพิวเตอร์)
Issue Date: 2543
Publisher: จุฬาลงกรณ์มหาวิทยาลัย
Abstract: วิทยานิพนธ์ฉบับนี้กล่าวถึงการใช้เทคนิคของเมทริกซ์มากเลขศูนย์ เพื่อเพิ่มความเร็วในการทำงานของโปรแกรมจำลองวงจร "เล็ก" โดยใช้ประโยชน์จากความจริงที่ว่าเมทริกซ์สัมประสิทธิ์ของสมการวงจรไฟฟ้า โดยมากจะมีสมาชิกส่วนใหญ่เป็นค่าศูนย์หรือเรียกว่าเป็นเมทริกซ์มากเลขศูนย์ และโปรแกรมจำเป็นต้องแก้สมการวงจรเดิมซ้ำๆ กันหลายครั้ง เทคนิคดังกล่าวประกอบด้วยการใช้โครงสร้างข้อมูลเฉพาะ สำหรับเก็บค่าของเมทริกซ์มากเลขศูนย์ซึ่งช่วยลดขนาดหน่วยความจำ ที่เก็บเมทริกซ์, การเรียงลำดับใหม่ตามวิธีของ Markowitz เพื่อลดจำนวนสมาชิกที่ไม่ใช่ค่าศูนย์ และการข้ามการคำนวณกับค่าศูนย์ ในระหว่างการแก้สมการเมทริกซ์ด้วยวิธีแยกตัวประกอบแอล-ยู การใช้เทคนิคเหล่านี้มีผลให้ความซับซ้อน ของการแก้สมการวงจรไฟฟ้าลดลงอย่างชัดเจน นอกจากนี้ยังมีการใช้เทคนิคการสร้างสูตรสำเร็จการแก้สมการเมทริกซ์ ในรูปของรหัสแบบแปลย่อยและรหัสคำสั่งเครื่อง โดยรหัสทั้งสองเป็นขั้นตอนแก้สมการวงจรที่ไม่มีคำสั่งวนรอบหรือคำสั่งกระโดดและอ่านค่าจากสมาชิกแต่ละตัวในเมทริกซ์โดยตรง ซึ่งช่วยให้ลดเวลาแก้สมการวงจรไฟฟ้าลงได้ถึง 10 เท่า อย่างไรก็ตาม โปรแกรมจะต้องใช้หน่วยความจำเพิ่มขึ้นสำหรับเก็บรหัสทั้งสองแบบ ซึ่งขนาดหน่วยความจำที่ใช้จะแปรตามจำนวนสมาชิกที่ไม่เป็นศูนย์ในเมทริกซ์ โดยถ้าเป็นวงจรขนาดใหญ่หน่วยความจำส่วนนี้จะมีขนาดใหญ่อย่างมาก
Other Abstract: This dissertation describes the implementation of sparse matrix techniques to speed up the execution of a circuit simulation program called "LEK". Its key idea is based on the facts that the coefficient matrix of the simulated circuit equation is usually sparse, i.e. consists of a large percentage of zero elements, and that the circuit equation is to be solved many times with the same zero-nonzero matrix structure. These techniques include a sparse matrix data structuring to reduce the memory storage of a sparse matrix, a Markowitz matrix reordering to reduce the amount of nonzero matrix operations and a sparse LU factorization procedure for performing only the nonzero operations. Using these techniques, the computational complexity of the circuit equation solving subroutine has been significantly reduced. Furthermore, a technique to generate a specialized runtime code for executing the sparse LU factorization is also described in details. Two types of code, namely an interpretive code and a machine code, have been implemented. These codes contain no loop nor jump instruction and access each matrix elements directly. Using these codes, the executiion of the sparse matrix equation solving can be furhter reduces up to 10 times. However, these codes also require additional memory whose amount depends on the number of nonzero matrix elements and therefore can be significants for a large circuit
Description: วิทยานิพนธ์ (วศ.ม.)--จุฬาลงกรณ์มหาวิทยาลัย, 2543
Degree Name: วิศวกรรมศาสตรมหาบัณฑิต
Degree Level: ปริญญาโท
Degree Discipline: วิศวกรรมไฟฟ้า
URI: http://cuir.car.chula.ac.th/handle/123456789/5477
ISBN: 9743463917
Type: Thesis
Appears in Collections:Eng - Theses

Files in This Item:
File Description SizeFormat 
noppadol.pdf2.34 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.