摘要
文中针对某型声纳维修训练系统的通信需求,结合声纳信号发生器的特点,提出了基于C/S模式的通信控制模块设计方案。模块采用Winsock网络编程技术实现了客户机与服务器间高速局域网通信,服务器响应客户机的请求后,输出数字控制量并利用PCI-1711的12位D/A转换功能,将数字控制量转换为模拟信号,从而实现声纳信号发生器任意波形产生。该信号发生器输出信号的幅度、频率、脉宽、持续时间等参数均可通过网络通信方式设置,并易于调节。本系统控制灵活,具有较高的实用价值。
According to the requirement of certain sonar's maintenance system and combined with the features of sonar's generator, the design scheme of communication control module in the C/S pattern is presented. The Winsock network programming is adopted to complete high-speed LAN communication between client and server. Responding to client requests, the server outputs digital control value and convert it into analog signal by 12 bits D/A conversion in the PCI-1711. Then the arbitrary waveform signal in sonar's signal generator can be accomplished. The signal's parameters of generator, such as amplitude, frequency, pulse width, duration, can be set up and easily adjusted with network communication. The system has the flexibility of control and high practical value.
出处
《电子设计工程》
2012年第21期74-76,79,共4页
Electronic Design Engineering