CN106679698A - Absolute-value-encoder simulation system based on synchronized serial interface signal - Google Patents
Absolute-value-encoder simulation system based on synchronized serial interface signal Download PDFInfo
- Publication number
- CN106679698A CN106679698A CN201710041757.9A CN201710041757A CN106679698A CN 106679698 A CN106679698 A CN 106679698A CN 201710041757 A CN201710041757 A CN 201710041757A CN 106679698 A CN106679698 A CN 106679698A
- Authority
- CN
- China
- Prior art keywords
- ssi
- signal
- module
- absolute value
- board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 32
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 20
- 238000003860 storage Methods 0.000 claims description 18
- 239000013078 crystal Substances 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 3
- 230000014759 maintenance of location Effects 0.000 claims 3
- 230000005611 electricity Effects 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 2
- 230000006641 stabilisation Effects 0.000 description 7
- 238000011105 stabilization Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000000087 stabilizing effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/244—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
- G01D5/249—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using pulse code
- G01D5/2497—Absolute encoders
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种基于同步串行接口信号的绝对值编码器模拟系统,该系统包括设置终端和绝对值编码器模拟板卡;设置终端通过蓝牙搜索绝对值编码器模拟板卡,并将其显示在设备列表中;用户通过设置终端设定SSI信号参数,并将这些参数发送到绝对值编码器模拟板卡;绝对值编码器模拟板卡接收设置终端发送的参数,根据这些参数生成SSI信号,并由板卡上的串行接口输出SSI信号。系统模拟绝对编码器输出可靠的SSI信号,用于解决SSI信号采集装置故障在实际生产中难以被检测的问题,减少了SSI信号采集装置的检测成本。
The invention discloses an absolute value encoder simulation system based on a synchronous serial interface signal. The system includes a setting terminal and an absolute value encoder simulation board; the setting terminal searches the absolute value encoder simulation board through Bluetooth, and Displayed in the device list; the user sets the SSI signal parameters through the setting terminal, and sends these parameters to the absolute encoder simulation board; the absolute encoder simulation board receives the parameters sent by the setting terminal, and generates the SSI signal according to these parameters , and the SSI signal is output by the serial interface on the board. The system simulates the absolute encoder to output reliable SSI signals, which is used to solve the problem that the failure of the SSI signal acquisition device is difficult to be detected in actual production, and reduces the detection cost of the SSI signal acquisition device.
Description
技术领域technical field
本发明涉及一种模拟系统,更具体地说是一种基于同步串行接口信号的绝对值编码器模拟系统。The invention relates to a simulation system, more specifically to an absolute value encoder simulation system based on a synchronous serial interface signal.
背景技术Background technique
当今工业测量控制领域中同步串行信号接口(Synchronized Serial Interface,SSI)由于其抗干扰性好、传输距离远等优点在各类测量装置中有着广泛的应用,比如阀门开度、液压油缸行程的显示等。SSI信号的采集日益成为工业应用中重要的环节,而SSI信号采集装置的可靠性则是保证SSI信号被准确采集显示的关键。In today's industrial measurement and control field, the Synchronized Serial Interface (SSI) is widely used in various measurement devices due to its good anti-interference performance and long transmission distance, such as valve opening and hydraulic cylinder stroke. display etc. The collection of SSI signals has increasingly become an important link in industrial applications, and the reliability of the SSI signal collection device is the key to ensure that the SSI signals are accurately collected and displayed.
目前SSI信号采集装置的采集源主要依靠各类SSI信号绝对值编码器,如旋转式绝对值编码器和位移式绝对值编码器。SSI信号采集过程中,常出现SSI信号采集显示出现尖刺、错码、跳变等问题,而依靠手动控制的SSI信号绝对值编码器难以精确地输出有规律的SSI信号,从而对SSI信号采集装置的问题进行复现和诊断。At present, the acquisition sources of SSI signal acquisition devices mainly rely on various SSI signal absolute encoders, such as rotary absolute encoders and displacement absolute encoders. In the process of SSI signal acquisition, problems such as spikes, wrong codes, and jumps often appear in the SSI signal acquisition display, and it is difficult to accurately output regular SSI signals by relying on the SSI signal absolute value encoder controlled manually, so that the SSI signal acquisition Device problems are reproduced and diagnosed.
发明内容Contents of the invention
本发明的目的在于针对同步串行信号采集装置故障复现和诊断技术的不足,提供一种基于同步串行接口的绝对值编码器模拟系统。The object of the present invention is to provide a synchronous serial interface-based absolute encoder simulation system for the shortcomings of synchronous serial signal acquisition device fault reproduction and diagnosis technology.
本发明的目的是通过这样的技术方案实现的:一种基于同步串行接口信号的绝对值编码器模拟系统该系统包括设置终端和绝对值编码器模拟板卡;设置终端通过蓝牙搜索绝对值编码器模拟板卡,并将其显示在设备列表中;用户通过设置终端设定SSI信号参数,并将这些参数发送到绝对值编码器模拟板卡;绝对值编码器模拟板卡接收设置终端发送的参数,根据这些参数生成SSI信号,并由板卡上的串行接口输出SSI信号。The object of the present invention is achieved through such a technical solution: an absolute value encoder simulation system based on a synchronous serial interface signal. The system includes a setting terminal and an absolute value encoder simulation board; the setting terminal searches the absolute value code through Bluetooth and display it in the device list; the user sets the SSI signal parameters through the setting terminal and sends these parameters to the absolute encoder simulation board; the absolute encoder simulation board receives the signal sent by the setting terminal parameters, generate SSI signals according to these parameters, and output SSI signals through the serial interface on the board.
进一步地,所述SSI信号参数包括通道序号、位宽、最小值、最大值和增量。Further, the SSI signal parameters include channel number, bit width, minimum value, maximum value and increment.
进一步地,设置终端同步显示在设备列表中的绝对值编码器模拟板卡的连接状态、MAC地址和蓝牙信号RSSI强度值。Further, set the terminal to synchronously display the connection status, MAC address and RSSI strength value of the Bluetooth signal of the absolute encoder simulation board in the device list.
进一步地,所述绝对值编码器模拟板卡包括控制器、蓝牙模块、电源模块、电源模块指示灯、PROM存储模块、PROM程序存储指示灯、晶振模块、外部时钟信号采集模块和SSI信号输出模块;其中蓝牙模块、电源模块、PROM存储模块、晶振模块、外部时钟信号采集模块、SSI信号输出模块均与控制器相连;电源模块指示灯与电源输入相连;PROM程序存储指示灯与PROM存储模块相连。Further, the absolute encoder simulation board includes a controller, a Bluetooth module, a power supply module, a power supply module indicator light, a PROM storage module, a PROM program storage indicator light, a crystal oscillator module, an external clock signal acquisition module and an SSI signal output module ; Among them, the Bluetooth module, power module, PROM storage module, crystal oscillator module, external clock signal acquisition module, and SSI signal output module are all connected to the controller; the indicator light of the power module is connected to the power input; the PROM program storage indicator is connected to the PROM storage module .
进一步地,所述控制器上电后,先完成初始化工作,然后进入等待状态,等待外部时钟信号和设置终端的输入信号;用户在设置终端输入要输出的SSI信号的参数,将参数发送到绝对值编码器模拟板卡的蓝牙模块;发送SSI信号参数和接入外部时钟信号之后,控制器进入SSI信号输出状态,先采集蓝牙模块收到的SSI信号参数,然后生成SSI信号并通过SSI信号输出模块输出;用户再次发送新的SSI信号参数,控制器将重新从蓝牙模块采集新的SSI信号参数并通过SSI信号输出模块输出新的SSI信号。Further, after the controller is powered on, it first completes the initialization work, and then enters the waiting state, waiting for the external clock signal and the input signal of the setting terminal; the user inputs the parameters of the SSI signal to be output at the setting terminal, and sends the parameters to the absolute The value encoder simulates the Bluetooth module of the board; after sending the SSI signal parameters and accessing the external clock signal, the controller enters the SSI signal output state, first collects the SSI signal parameters received by the Bluetooth module, and then generates the SSI signal and outputs it through the SSI signal Module output; the user sends new SSI signal parameters again, and the controller will collect new SSI signal parameters from the Bluetooth module and output new SSI signals through the SSI signal output module.
进一步地,所述控制器基于FPGA,使用8MHz晶振,核心工作电压1.2V,IO接口工作电压为2.5V和3.3V;蓝牙模块芯片为CC2541,其串口通信速率为9600波特率;SSI信号输出模块所使用的电平信号转换芯片为MAX490;电源模块给其他所有模块供电,经过电平转换芯片之后分为1.2V、2.5V、3.3V三路供电线路;其中1.2V供电线路给FPGA芯片核心供电,2.5V线路给部分FPGA IO接口供电,3.3V线路给部分FPGA IO接口和PROM存储模块供电;PROM程序存储指示灯显示PROM存储模块的工作状态;电源模块指示灯显示电源模块的工作状态;该系统还包括外壳,外壳的一侧有2个接口,分别是DB9单路SSI信号输出接口和DB25四路SSI信号输出接口;另一侧有4个接口,分别是电源模块指示灯观察窗口、电源开关、电源接入孔和复位开关;DB9单路SSI信号输出接口用于向外部输出单路的SSI信号;DB25四路SSI信号输出接口用于向外部输出四路SSI信号;电源模块指示灯观察窗口显示该指示灯的状态;电源开关控制绝对值编码器模拟板卡的开断;电源接入孔和外部5V1A直流电源适配器相连;复位开关控制绝对值编码器模拟板卡的复位操作。Further, the controller is based on FPGA, uses 8MHz crystal oscillator, the core operating voltage is 1.2V, and the IO interface operating voltage is 2.5V and 3.3V; the Bluetooth module chip is CC2541, and its serial port communication rate is 9600 baud rate; SSI signal output The level signal conversion chip used by the module is MAX490; the power supply module supplies power to all other modules, and is divided into three power supply lines of 1.2V, 2.5V, and 3.3V after the level conversion chip; the 1.2V power supply line is for the core of the FPGA chip Power supply, the 2.5V line supplies power to some FPGA IO interfaces, and the 3.3V line supplies power to some FPGA IO interfaces and PROM storage modules; the PROM program storage indicator shows the working status of the PROM storage module; the power module indicator shows the working status of the power module; The system also includes a housing. There are two interfaces on one side of the housing, namely the DB9 single-channel SSI signal output interface and the DB25 four-channel SSI signal output interface; the other side has four interfaces, which are the power module indicator light observation window, Power switch, power access hole and reset switch; DB9 single-channel SSI signal output interface is used to output single-channel SSI signal to the outside; DB25 four-channel SSI signal output interface is used to output four-channel SSI signal to the outside; power module indicator light The observation window displays the status of the indicator light; the power switch controls the disconnection of the absolute encoder analog board; the power access hole is connected to an external 5V1A DC power adapter; the reset switch controls the reset operation of the absolute encoder analog board.
进一步地,所述设置终端由蓝牙设备搜索模块和信号参数设置模块构成;所述蓝牙设备搜索模块搜索并显示周围的蓝牙设备,建立与选定蓝牙设备的连接;信号参数设置模块显示与选定蓝牙设备的连接状态、MAC地址和蓝牙信号的RSSI强度,接受用户输入的SSI信号参数并将这些参数发送到绝对值编码器模拟板卡上。Further, the setting terminal is composed of a bluetooth device search module and a signal parameter setting module; the bluetooth device search module searches and displays surrounding bluetooth devices, and establishes a connection with the selected bluetooth device; the signal parameter setting module displays and selects The connection state of the Bluetooth device, the MAC address and the RSSI strength of the Bluetooth signal, accept the SSI signal parameters input by the user and send these parameters to the absolute encoder analog board.
本发明的有益效果是:本发明系统可通过设置终端灵活地配置不同的SSI信号参数,绝对值编码器模拟板卡能够准确地输出可靠的SSI信号,解决了当前绝对值编码器难以通过手动调节精确输出SSI信号的问题。通过有规律地输出准确的SSI信号,能够有效地复现SSI信号采集过程中出现的尖刺、错码、跳变等问题,从而能进一步地诊断SSI信号采集装置的故障,保证工业测量控制的可靠性。本发明系统支持单路SSI信号输出和四路SSI信号同时输出,成本低,软硬件设置方便,有效地减少了SSI信号采集装置的检测成本。The beneficial effects of the present invention are: the system of the present invention can flexibly configure different SSI signal parameters by setting the terminal, and the absolute value encoder analog board can accurately output reliable SSI signals, which solves the problem that the current absolute value encoder is difficult to adjust manually Issues with accurately outputting SSI signals. By regularly outputting accurate SSI signals, problems such as spikes, error codes, and jumps that occur during the SSI signal acquisition process can be effectively reproduced, thereby further diagnosing the faults of the SSI signal acquisition device and ensuring the reliability of industrial measurement and control. reliability. The system of the invention supports single-channel SSI signal output and four-channel SSI signal output at the same time, has low cost, convenient software and hardware setting, and effectively reduces the detection cost of the SSI signal acquisition device.
附图说明Description of drawings
图1是本发明的整体结构框图;Fig. 1 is an overall structural block diagram of the present invention;
图2是设置终端上位机的界面图,(a)为显示周围的蓝牙设备界面,(b)为参数设置界面;Fig. 2 is the interface diagram of setting the terminal host computer, (a) is to display the bluetooth device interface around, (b) is the parameter setting interface;
图3是绝对值编码器模拟板卡的硬件框图。Figure 3 is a hardware block diagram of the absolute encoder simulation board.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步说明。The present invention will be further described below in conjunction with drawings and embodiments.
如图1所示,本发明一种基于同步串行接口的绝对值编码器模拟系统,包括设置终端上位机软件和同步串行接口绝对值编码器模拟板卡。设置终端上位机软件设置要输出的SSI信号的通道序号、位宽、最小值、最大值和增量,通过蓝牙将这些参数发送到同步串行接口绝对值编码器模拟板卡上;同步串行接口模拟板卡接收并采集通过蓝牙发送过来的SSI信号参数,在接收到外部SSI采集装置所发送的SSI时钟信号之后,根据这些参数生成正弦式输出的SSI信号,通过DB9和DB25两个接口分别进行单路SSI信号输出和四路SSI信号输出到SSI信号采集装置。该模拟板卡采用市面上通用的5V1A直流适配器作为适配输入工作电流,能够长期稳定运行。As shown in Fig. 1, the present invention is an absolute value encoder simulation system based on a synchronous serial interface, including terminal host computer software and a synchronous serial interface absolute value encoder simulation board. Set the terminal host computer software to set the channel number, bit width, minimum value, maximum value and increment of the SSI signal to be output, and send these parameters to the synchronous serial interface absolute value encoder analog board through Bluetooth; synchronous serial interface The interface analog board receives and collects the SSI signal parameters sent by Bluetooth. After receiving the SSI clock signal sent by the external SSI collection device, it generates a sinusoidal output SSI signal according to these parameters, and passes through the two interfaces of DB9 and DB25 respectively. Perform single-channel SSI signal output and four-channel SSI signal output to the SSI signal acquisition device. The analog board uses a common 5V1A DC adapter on the market as the adapted input working current, which can run stably for a long time.
如图2所示,所述的设置终端由蓝牙设备搜索模块和信号参数设置模块构成;所述蓝牙设备搜索模块搜索并显示周围的蓝牙设备,建立与选定蓝牙设备的连接;信号参数设置模块显示与选定蓝牙设备的连接状态、MAC地址和蓝牙信号的RSSI强度,接受用户输入的SSI信号参数并将这些参数发送到绝对值编码器模拟板卡上。As shown in Figure 2, described setting terminal is made of bluetooth device search module and signal parameter setting module; Described bluetooth device search module searches and displays surrounding bluetooth device, establishes the connection with selected bluetooth device; Signal parameter setting module Display the connection status, MAC address and RSSI strength of the Bluetooth signal with the selected Bluetooth device, accept the SSI signal parameters input by the user and send these parameters to the absolute encoder analog board.
设置终端上位机软件工作过程如下:The working process of setting the terminal host computer software is as follows:
(1)设置终端上位机软件初始化:初始化程序界面,搜索并显示周围的蓝牙设备;(1) Set terminal host computer software initialization: initialize the program interface, search and display the surrounding Bluetooth devices;
(2)参数设置与发送操作:界面显示是否与之前选中的蓝牙设备相连接;用户在对应的输入栏中分别填写要输出SSI信号的通道序号、位宽、最小值、最大值和增量,全部参数输入完成之后即可发送数据到绝对值编码器模拟板卡。(2) Parameter setting and sending operation: the interface displays whether it is connected to the previously selected Bluetooth device; the user fills in the channel number, bit width, minimum value, maximum value and increment of the SSI signal to be output in the corresponding input column, After all parameters are input, the data can be sent to the absolute encoder simulation board.
(3)参数刷新配置操作:在需要输出新的SSI信号的时候,用户可在设置终端上位机软件中重新输入SSI信号的参数,全部参数输入完成后再次发送到绝对值编码器模拟板卡。(3) Parameter refresh configuration operation: When a new SSI signal needs to be output, the user can re-input the parameters of the SSI signal in the setting terminal host computer software, and send it to the absolute encoder simulation board again after all parameters are input.
如图3所示,所述同步串行接口绝对值编码器模拟板卡由控制器、蓝牙模块、电源输入和稳压模块、电源输入和稳压模块LED指示灯、PROM存储模块、PROM程序存储LED指示灯、8MHz晶振模块、外部时钟信号采集模块、SSI信号输出模块和外壳构成;其中蓝牙模块、电源输入和稳压模块、PROM存储模块、8MHz晶振模块、外部时钟信号采集模块、SSI信号输出模块与FPGA模块相连;电源输入和稳压模块LED指示灯与电源输入和稳压模块相连;PROM程序存储LED指示灯与PROM存储模块相连;FPGA控制器、蓝牙模块、电源输入和稳压模块、PROM存储模块、PROM程序存储LED指示灯、8MHz晶振模块和外部时钟信号采集模块位于外壳内,电源和稳压模块LED指示灯、SSI信号输出模块位于外壳边缘开口处。As shown in Figure 3, the synchronous serial interface absolute value encoder analog board is composed of a controller, a bluetooth module, a power input and voltage stabilizing module, an LED indicator light of the power input and voltage stabilizing module, a PROM storage module, and a PROM program storage LED indicator light, 8MHz crystal oscillator module, external clock signal acquisition module, SSI signal output module and shell; Bluetooth module, power input and voltage regulator module, PROM storage module, 8MHz crystal oscillator module, external clock signal acquisition module, SSI signal output The module is connected to the FPGA module; the power input and voltage stabilization module LED indicators are connected to the power input and voltage stabilization module; the PROM program storage LED indicator is connected to the PROM storage module; FPGA controller, Bluetooth module, power input and voltage stabilization module, The PROM storage module, PROM program storage LED indicator light, 8MHz crystal oscillator module and external clock signal acquisition module are located in the shell, the power supply and voltage stabilization module LED indicator light, and the SSI signal output module are located in the edge opening of the shell.
控制器基于FPGA,芯片型号为XC3S-4TQG144 400,使用8MHz晶振,核心工作电压1.2V,IO接口工作电压为2.5V和3.3V;控制器与PROM存储模块相连,PROM存储模块所使用的芯片型号为XCF04S,容量为4Mbit,存储控制器所执行的固件程序固件程序使用ISE 14.7开发,通过JTAG接口使用专用的烧写器将固件程序烧入到PROM存储模块中,控制器在上电时将固件程序从PROM存储模块中读出并执行;控制器与蓝牙模块相连,从蓝牙模块的串口读取手机终端上位机发送过来的SSI信号配置参数,蓝牙芯片型号为CC2541,其串口通信速率为9600波特率;控制器与外部时钟信号采集模块相连,读取外部输入的SSI时钟信号,外部时钟信号采集模块通过保护电路和MAX490电平转换芯片将外部输入的两路差分SSI时钟信号转换为单端信号以便控制器读取;控制器与SSI信号输出模块相连,输出固件程序执行后产生的SSI数据信号,SSI信号采集模块也通过保护电路和MAX490电平转换芯片将单端输出的SSI数据信号转换为两路差分SSI数据信号输出以便SSI信号采集装置的读取;控制器与8M晶振模块相连,8M晶振模块为FPGA提供全局时钟输入,驱动固件程序执行;控制器与电源输入与稳压模块相连,电源输入与稳压模块接受外部5V1A的直流电源输入,经过电平转换芯片后分为1.2V、2.5V、3.3V三路供电线路;其中1.2V供电线路给FPGA芯片核心供电,2.5V线路给部分FPGA IO接口供电,3.3V线路给部分FPGA IO接口和PROM存储模块供电,电平转换芯片的型号为LM2651和LM2655;电源输入和稳压模块LED指示灯为直插式红色发光二极管,显示电源的接入状态;PROM程序存储LED指示灯为直插式绿色发光二极管,指示PROM存储模块中是否存储有固件程序。The controller is based on FPGA, the chip model is XC3S-4TQG144 400, uses 8MHz crystal oscillator, the core operating voltage is 1.2V, and the IO interface operating voltage is 2.5V and 3.3V; the controller is connected to the PROM storage module, and the chip model used by the PROM storage module It is XCF04S with a capacity of 4Mbit. The firmware program executed by the storage controller is developed using ISE 14.7. The firmware program is burned into the PROM storage module through the JTAG interface using a dedicated programmer. When the controller is powered on, the firmware program is The program is read and executed from the PROM storage module; the controller is connected to the Bluetooth module, and reads the SSI signal configuration parameters sent by the host computer of the mobile terminal from the serial port of the Bluetooth module. The Bluetooth chip model is CC2541, and its serial port communication rate is 9600 waves baud rate; the controller is connected with the external clock signal acquisition module to read the external input SSI clock signal, and the external clock signal acquisition module converts the two-way differential SSI clock signal input from the outside into single-ended through the protection circuit and the MAX490 level conversion chip The signal is read by the controller; the controller is connected to the SSI signal output module to output the SSI data signal generated after the execution of the firmware program, and the SSI signal acquisition module also converts the single-ended output SSI data signal through the protection circuit and the MAX490 level conversion chip It is two-way differential SSI data signal output for the reading of SSI signal acquisition device; the controller is connected to the 8M crystal oscillator module, and the 8M crystal oscillator module provides the global clock input for the FPGA to drive the execution of the firmware program; the controller is connected to the power supply input and the voltage regulator module , the power input and voltage stabilization module accepts an external 5V1A DC power input, which is divided into three power supply lines of 1.2V, 2.5V, and 3.3V after the level conversion chip; the 1.2V power supply line supplies power to the core of the FPGA chip, and the 2.5V line Supply power to some FPGA IO interfaces, 3.3V line to supply power to some FPGA IO interfaces and PROM storage modules, the models of the level conversion chips are LM2651 and LM2655; The access state of the power supply; the PROM program storage LED indicator is an in-line green light-emitting diode, indicating whether there is a firmware program stored in the PROM storage module.
外壳的两侧共配有6个接口,一侧有2个接口,分别是分别是DB9单路SSI信号输出接口和DB25四路SSI信号输出接口;另一侧有4个接口,分别是电源输入和稳压模块LED指示灯观察窗口、电源开关、电源接入孔和复位开关;DB9单路SSI信号输出接口用于向外部输出单路的SSI信号;DB25四路SSI信号输出接口用于向外部输出四路SSI信号;电源输入和稳压模块LED指示灯观察窗口显示该LED指示灯的状态;电源开关控制绝对值编码器板卡的开断;电源接入孔和外部5V1A直流电源适配器相连;复位开关控制绝对值编码器的复位操作。There are 6 interfaces on both sides of the shell, 2 interfaces on one side, which are respectively DB9 single-channel SSI signal output interface and DB25 four-channel SSI signal output interface; the other side has 4 interfaces, which are power input and the voltage stabilization module LED indicator light observation window, power switch, power access hole and reset switch; DB9 single-channel SSI signal output interface is used to output single-channel SSI signal to the outside; DB25 four-channel SSI signal output interface is used to external Output four SSI signals; the power input and the LED indicator light observation window of the voltage stabilization module display the status of the LED indicator light; the power switch controls the on-off of the absolute encoder board; the power access hole is connected to the external 5V1A DC power adapter; The reset switch controls the reset operation of the absolute encoder.
同步串行接口绝对值编码器的工作过程如下:The working process of the synchronous serial interface absolute encoder is as follows:
(1)板卡初始化操作:板卡上电后从PROM存储模块中读取出固件程序开始执行,初始化固件程序中的各个寄存器,等待外部SSI时钟信号和从手机终端上位机软件发送的SSI数据信号配置参数的输入;(1) Board initialization operation: After the board is powered on, the firmware program is read from the PROM storage module and starts to execute, initialize each register in the firmware program, and wait for the external SSI clock signal and the SSI data sent from the upper computer software of the mobile phone terminal Input of signal configuration parameters;
(2)SSI数据信号配置参数采集操作:板卡通过低功耗蓝牙采集从手机终端上位机软件发送的SSI数据信号配置参数,并将这些参数分配到固件程序的各个寄存器中,准备输出SSI数据信号;(2) SSI data signal configuration parameter acquisition operation: the board collects the SSI data signal configuration parameters sent from the upper computer software of the mobile phone terminal through Bluetooth low energy consumption, and distributes these parameters to each register of the firmware program, and prepares to output SSI data Signal;
(3)SSI数据信号输出操作:板卡根据采集到的SSI信号配置参数,正弦式地输出SSI数据信号,DB9接口输出单路的SSI信号,DB25接口同步输出四路SSI信号;(3) SSI data signal output operation: the board outputs the SSI data signal sinusoidally according to the collected SSI signal configuration parameters, the DB9 interface outputs a single SSI signal, and the DB25 interface synchronously outputs four SSI signals;
(4)刷新与同步操作:板卡在采集到新的SSI信号配置参数时,会等待外部SSI时钟信号位宽与参数设置数据位宽一致。当一致条件达成时,板卡将按照新的参数继续正弦式地输出SSI数据信号,否则继续等待。(4) Refresh and synchronization operation: When the board collects new SSI signal configuration parameters, it will wait for the bit width of the external SSI clock signal to be consistent with the bit width of the parameter setting data. When the consistent condition is reached, the board will continue to output the SSI data signal sinusoidally according to the new parameters, otherwise continue to wait.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710041757.9A CN106679698A (en) | 2017-01-20 | 2017-01-20 | Absolute-value-encoder simulation system based on synchronized serial interface signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710041757.9A CN106679698A (en) | 2017-01-20 | 2017-01-20 | Absolute-value-encoder simulation system based on synchronized serial interface signal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106679698A true CN106679698A (en) | 2017-05-17 |
Family
ID=58859587
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710041757.9A Pending CN106679698A (en) | 2017-01-20 | 2017-01-20 | Absolute-value-encoder simulation system based on synchronized serial interface signal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106679698A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110806995A (en) * | 2019-12-02 | 2020-02-18 | 上海威固信息技术股份有限公司 | Signal acquisition, storage and dump device based on Bluetooth control |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB0115226D0 (en) * | 2001-06-21 | 2001-08-15 | Omron Europ B V | Signal processing system |
| US20040153683A1 (en) * | 2002-03-13 | 2004-08-05 | Chinyi Chiang | Circuit structure and signal encoding method for a serial ATA external physical layer |
| CN103792939A (en) * | 2014-01-28 | 2014-05-14 | 合肥三立自动化工程有限公司 | Absolute value encoder signal measuring and control instrument and detection method thereof |
| CN105809925A (en) * | 2016-03-09 | 2016-07-27 | 中国人民解放军91388部队 | Wireless control system of simulator signal source |
| CN106200613A (en) * | 2016-07-11 | 2016-12-07 | 浙江大学 | A kind of analog detecting synchronous serial signal fault and analog detecting method |
| CN206410716U (en) * | 2017-01-20 | 2017-08-15 | 浙江大学 | Absolute value encoder analogue means based on synchronous serial interface signal |
-
2017
- 2017-01-20 CN CN201710041757.9A patent/CN106679698A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB0115226D0 (en) * | 2001-06-21 | 2001-08-15 | Omron Europ B V | Signal processing system |
| US20040153683A1 (en) * | 2002-03-13 | 2004-08-05 | Chinyi Chiang | Circuit structure and signal encoding method for a serial ATA external physical layer |
| CN103792939A (en) * | 2014-01-28 | 2014-05-14 | 合肥三立自动化工程有限公司 | Absolute value encoder signal measuring and control instrument and detection method thereof |
| CN105809925A (en) * | 2016-03-09 | 2016-07-27 | 中国人民解放军91388部队 | Wireless control system of simulator signal source |
| CN106200613A (en) * | 2016-07-11 | 2016-12-07 | 浙江大学 | A kind of analog detecting synchronous serial signal fault and analog detecting method |
| CN206410716U (en) * | 2017-01-20 | 2017-08-15 | 浙江大学 | Absolute value encoder analogue means based on synchronous serial interface signal |
Non-Patent Citations (3)
| Title |
|---|
| 丁宝林等: "通用型绝对式编码器信号处理电路的开发", 《测试技术学报》 * |
| 张庆伟 等: "基于FPGA的通用串行信号产生器的设计", 《遥测遥控》 * |
| 徐洋 等: "基于STM32单片机的增量式编码器模拟装置设计", 《工业控制计算机》 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110806995A (en) * | 2019-12-02 | 2020-02-18 | 上海威固信息技术股份有限公司 | Signal acquisition, storage and dump device based on Bluetooth control |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105785199B (en) | Multifunctional ligand electric terminals integrated test system and its working method | |
| CN100573378C (en) | A kind of portable vibration data collector and method based on embedded technology | |
| CN106649166B (en) | A kind of universal used group of data processing system based on unified interface | |
| CN207337388U (en) | A kind of server serial port function test board | |
| CN104614593A (en) | Self-calibration based high-precision intelligent instrument system and application method thereof | |
| CN101706762A (en) | Intelligent type signal transfer system | |
| CN101873349B (en) | The multinode real-time power consumption monitoring system in the environment of wireless sensor network | |
| CN104467668A (en) | Multi-channel photovoltaic module generating capacity test data collection system | |
| CN108847869A (en) | Portable multifunctional electric power analog channel test device and its test method | |
| CN204272021U (en) | Multi-channel photovoltaic module power generation test data acquisition system | |
| CN204904026U (en) | Environmental protection data acquisition device | |
| CN206410716U (en) | Absolute value encoder analogue means based on synchronous serial interface signal | |
| CN204406391U (en) | A kind of data of optical fiber gyroscope R-T unit based on SPI | |
| CN106679698A (en) | Absolute-value-encoder simulation system based on synchronized serial interface signal | |
| CN207636755U (en) | A kind of performance detection analytical equipment of user power utilization information acquisition system | |
| CN204241910U (en) | Telecontrol Terminal Unit Test System Based on LPC1764 Single Chip Microcomputer | |
| CN201667071U (en) | A signal switching system | |
| CN208187447U (en) | A kind of pipeline gas parameter measuring instrument | |
| CN115129552B (en) | I2C bus transmission status monitoring method, device, equipment and storage medium | |
| CN202748161U (en) | Environmental factor acquisition system and measuring apparatus for production process of semiconductor integrated circuit | |
| CN202103909U (en) | Automatic luminaire photometric characteristic monitoring device with Modbus communication function | |
| CN102032000B (en) | Turbine status data acquisition device based on personal computer 104 (PC104) bus | |
| CN202904298U (en) | Remote measurement and control apparatus for oil pumping unit | |
| CN107748730B (en) | Cost control card table interaction fault analysis system based on PXIe bus | |
| CN202903939U (en) | Lighting circuit detection system based on field bus networking |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170517 |
|
| RJ01 | Rejection of invention patent application after publication |