摘要
本文论述了用于兰州重离子加速器冷却储存环(HIRFL-CSR)控制系统的嵌入式数据库的设计和实现方法。控制系统采用三级数据库实现集中管理、分布式控制。前两级基于Windows平台,采用Oracle数据库通过ODBC进行互联,第三级根据控制系统的需要,采用基于嵌入式Linux平台的SQLite数据库引擎通过高速互联网与前两级交换数据。中控室预先将波形数据、事例表等分散存储到前端嵌入式数据库中,实验时,再由嵌入式数据库将数据传递给波形发生器DSP。在同步触发的控制下,DSP根据得到的波形数据产生所需的控制波形,进而控制电源、控制磁场,达到实验目的。
This article introduces design and implementation of embedded database for control system in HIRFL-CSR. The control system has three level database for centralized-manage and distributed control Level Ⅰ and level Ⅱ are based on Windows, connecting with each other by ODBC of Oracle database. Level Ⅲ according to the control system is based on Embedded - Linux to communicate with others by SQLite database engine. The overall control room sends wave-data, event-table and other data to front embedded database in advance, the embedded database SQLite relay the data to wave generator DSP while experimentation. On the control of synchronization trigger, the DSP generates wave-data for the control of power supply and magnetic field.
出处
《核电子学与探测技术》
CAS
CSCD
北大核心
2008年第3期590-592,共3页
Nuclear Electronics & Detection Technology