Excitation device and method for simulating multipath SSI interface photoelectric encoder
Through the excitation device of the multi-channel SSI interface photocode disk, the analog angle control unit and the FPGA bus control data processing unit are used to realize the protocol analysis processing of the analog photocode disk angle data and the output of the SSI interface bus data, solving the problems of complex structure and expensive in the existing technology, and achieving efficient multi-channel SSI interface functional testing and debugging.
Patent Information
- Application Number
- CN202411722619.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-28
AI Technical Summary
The excitation device of the existing multi-channel SSI interface photoelectric code disk is realized by setting up a physical code disk, resulting in complex structure and expensive, which affects the efficient debugging and testing of the photoelectric follow-up control circuit board of the airborne photoelectric equipment during the debugging test and delivery acceptance test stages.
The excitation device that simulates the multi-channel SSI interface photocode disk includes an analog angle control unit, an FPGA bus control data processing unit, an analog angle real-time display unit, a multi-channel SSI interface bus interface unit and a power supply interface unit. These units realize the protocol analysis processing of the analog photocode disk angle data and the output of the SSI interface bus data.
The multi-channel SSI interface function is tested at one time, which reduces the cost of purchasing multiple optoelectronic code disks, improves scientific research production efficiency, and solves the problems of complex structure and expensive prices in the existing technology.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of optoelectronic technology, and in particular to an excitation device and method for simulating a multi-channel SSI interface optoelectronic code disk. Background Art
[0002] The SSI interface is a synchronous serial interface that is commonly used to transmit high-precision data in automation and control systems. This interface is usually used to connect devices such as position sensors and controllers to transmit precision information such as position and speed.
[0003] The airborne optoelectronic equipment mainly realizes air target detection and tracking, ground target search and tracking, battlefield situation awareness, incoming missile warning, navigation, take-off and landing, etc. It uses multiple SSI interface optoelectronic encoders and optoelectronic follow-up control circuit boards internally.
[0004] The existing multi-channel SSI interface photoelectric encoder excitation device is realized by setting up a physical encoder, and the physical encoder rotates to output angle information. However, one encoder can only output one channel of SSI bus information. If multiple channels of SSI bus information are required, multiple encoders are required, which leads to a complex structure and high price. This in turn affects the problem that it is difficult to efficiently debug and test the SSI interface function of the optoelectronic follow-up control circuit board of the airborne optoelectronic equipment during the debugging and testing as well as the delivery and acceptance test stages.
[0005] Therefore, it is necessary to provide an excitation device and method for simulating a multi-channel SSI interface photoelectric encoder to solve the above problems. Summary of the invention
[0006] The invention provides an excitation device and method for simulating a multi-channel SSI interface photoelectric encoder. By simulating the excitation device of the multi-channel SSI interface photoelectric encoder, the test of the multi-channel SSI interface function can be realized at one time, so as to solve the problem that the existing excitation device of the multi-channel SSI interface photoelectric encoder is realized by setting a physical encoder, and the physical encoder rotates to output angle information, but one encoder can only output one channel of SSI bus information. If multi-channel SSI bus information is required, multiple encoders are required, which leads to a complex structure and high price, thereby affecting the problem that the photoelectric follow-up control circuit board of the airborne optoelectronic equipment is difficult to efficiently debug and test the SSI interface function during the debugging test and delivery acceptance test stage.
[0007] The present invention provides an excitation device for simulating a multi-channel SSI interface photoelectric code disk, which adopts the following technical solution, including: An analog angle control unit, used to control the input analog photoelectric encoder angle data; The FPGA bus controls the data processing unit, which is used to receive the analog photoelectric encoder angle data and convert the analog photoelectric encoder angle data after protocol analysis into SSI interface bus data; The analog angle real-time display unit is used to display the analog photoelectric encoder angle in real time; Multi-channel SSI interface bus interface unit, used to output SSI interface bus data after protocol parsing; And a power supply interface unit is used to connect an external power supply and perform voltage adjustment and voltage conversion for the input power supply.
[0008] Preferably, the simulation angle control unit comprises: Analog angle manual control unit, used for manually controlling the input of analog photoelectric encoder angle data; And an analog angle automatic control unit is used for automatically controlling the input analog photoelectric code disk angle data.
[0009] Preferably, the simulation angle automatic control unit comprises: A CAN bus interface unit, comprising a CAN bus interface protocol module and a CAN bus interface driver isolation module, wherein the CAN bus interface driver isolation module is used to convert the level of the analog photoelectric encoder angle data automatically input by the CAN bus device into a TTA level, and the CAN bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit; The RS232 bus interface unit includes an RS232 bus interface protocol module and an RS232 bus interface driver isolation module. The RS232 bus interface driver isolation module is used to convert the level of the analog photoelectric encoder angle data automatically controlled by the RS232 bus device into a TTA level. The RS232 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit. The RS422 bus interface unit includes an RS422 bus interface protocol module and an RS422 bus interface drive isolation module. The RS422 bus interface drive isolation module is used to convert the level of the analog photoelectric encoder angle data automatically controlled by the RS422 bus device into a TTA level. The RS422 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit. And an RS485 bus interface unit, which includes an RS485 bus interface protocol module and an RS485 bus interface drive isolation module. The RS485 bus interface drive isolation module is used to convert the level of the RS485 bus device automatic control input analog photoelectric encoder angle data into a TTA level. The RS485 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
[0010] Preferably, the simulation angle manual control unit comprises: The matrix keyboard module is used to manually control the key input to simulate the angle data of the photoelectric encoder; And the simulated angle manual control input module is used to encode the corresponding key value and input it into the FPGA bus control data processing unit.
[0011] Preferably, the FPGA bus control data processing unit includes: CAN bus control data input unit, used to receive the simulated photoelectric encoder angle data after the CAN bus interface unit protocol analysis processing; RS232 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS232 bus interface unit protocol analysis processing; RS422 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS422 bus interface unit protocol analysis processing; RS485 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS485 bus interface unit protocol analysis processing; A receiving matrix keyboard key value unit is used to receive the simulated photoelectric encoder angle data input by the simulated angle manual control unit; The FPGA central data processing unit is used to perform protocol analysis on the analog photoelectric encoder angle data input by manual control or the analog photoelectric encoder angle data input by automatic control to obtain the analog photoelectric encoder angle data after protocol analysis; A multi-channel SSI bus control data output unit is used to convert the analog photoelectric encoder angle data after protocol analysis into SSI interface bus data and output it via a multi-channel SSI interface bus interface; The analog angle data real-time output unit is used to output the analog photoelectric encoder angle data to the analog angle real-time display unit.
[0012] Preferably, the power supply interface unit comprises: A voltage adjustment module is used to convert the voltage of the input 6~36V DC power supply into a +5V voltage; And a secondary power conversion module is used to convert the +5V voltage into a +3.3V voltage and supply power to the excitation device.
[0013] Preferably, the multi-channel SSI interface bus interface unit comprises: SSI interface bus driver isolation module is used to achieve photoelectric isolation and enhance the SSI bus interface serial signal driving capability; SSI interface bus protocol module, used to convert analog angle data into SSI bus interface serial signals.
[0014] Preferably, the simulation angle real-time display unit comprises: The analog angle data display encoding module is used to format the angle value of the digital signal into a string; LCD analog angle display module, used to display angle values in string form.
[0015] A method for simulating a multi-channel SSI interface photoelectric code disk excitation, comprising: Input the simulated photoelectric encoder angle data through automatic control or manual control; The analog photoelectric encoder angle data is processed by protocol parsing, and the analog photoelectric encoder angle data after protocol parsing is converted into SSI interface bus data for output.
[0016] The beneficial effects of the present invention are: The present invention solves the problem and product quality hidden danger caused by the lack of SSI interface photoelectric code disk and inability to debug and test the SSI interface of the photoelectric follow-up control circuit board of airborne photoelectric equipment during the debugging and testing and delivery acceptance test stages, realizes the function of simulating multi-channel SSI photoelectric interface code disks, reduces the cost of purchasing multiple photoelectric code disks, realizes simultaneous testing of multi-channel SSI interface functions, and improves scientific research and production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a structural block diagram of an excitation device for simulating a multi-channel SSI interface photoelectric code disk of the present invention; Figure 2 It is the structural block diagram of the FPGA bus control data processing unit; Figure 3 It is a structural block diagram of a multi-channel SSI interface bus interface unit; Figure 4 It is the structural block diagram of CAN bus interface unit; Figure 5 It is the structural block diagram of RS232 bus interface unit; Figure 6 It is the structural block diagram of RS422 bus interface unit; Figure 7 It is the structural block diagram of RS485 bus interface unit; Figure 8 It is the structural block diagram of the simulation angle real-time display unit; Fig. 9 It is the structural block diagram of the manual control unit of the simulation angle; Fig.10 This is a structural block diagram of the power supply interface unit. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] An embodiment of an excitation device for simulating a multi-channel SSI interface photoelectric code disk of the present invention is as follows: Figure 1 As shown, it includes: an analog angle control unit, an FPGA bus control data processing unit, an analog angle real-time display unit, a multi-channel SSI interface bus interface unit and a power supply interface unit, the analog angle control unit is used to control the input analog photoelectric encoder angle data; the FPGA bus control data processing unit is used to receive the analog photoelectric encoder angle data, and convert the analog photoelectric encoder angle data after protocol parsing processing into SSI interface bus data; the analog angle real-time display unit is used to display the analog photoelectric encoder angle in real time; the multi-channel SSI interface bus interface unit is used to output the SSI interface bus data after protocol parsing processing; and the power supply interface unit is used to connect an external power supply and perform voltage adjustment and voltage conversion for the input power supply.
[0021] like Figure 1 As shown, the analog angle control unit includes: an analog angle manual control unit and an analog angle automatic control unit. The analog angle manual control unit is used to manually control the input of analog photoelectric encoder angle data; the analog angle automatic control unit is used to automatically control the input of analog photoelectric encoder angle data. Specifically, the analog angle automatic control unit includes: a CAN bus interface unit, an RS232 bus interface unit, an RS422 bus interface unit, and an RS485 bus interface unit.
[0022] like Figure 4 As shown, the CAN bus interface unit includes a CAN bus interface protocol module and a CAN bus interface driver isolation module. The CAN bus interface driver isolation module is used to convert the level of the analog photoelectric encoder angle data automatically controlled by the CAN bus device into a TTA level. The CAN bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
[0023] like Figure 5 As shown, the RS232 bus interface unit includes an RS232 bus interface protocol module and an RS232 bus interface driver isolation module. The RS232 bus interface driver isolation module is used to convert the level of the RS232 bus device automatic control input analog photoelectric encoder angle data into a TTA level. The RS232 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
[0024] like Figure 6 As shown, the RS422 bus interface unit includes an RS422 bus interface protocol module and an RS422 bus interface drive isolation module. The RS422 bus interface drive isolation module is used to convert the level of the RS422 bus device automatic control input analog photoelectric encoder angle data into a TTA level. The RS422 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
[0025] like Figure 7 As shown, the RS485 bus interface unit includes an RS485 bus interface protocol module and an RS485 bus interface drive isolation module. The RS485 bus interface drive isolation module is used to convert the level of the RS485 bus device automatic control input analog photoelectric encoder angle data into a TTA level. The RS485 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
[0026] like Figure 2As shown, the FPGA bus control data processing unit includes: an FPGA central data processing unit, a CAN bus control data input unit, an RS232 bus control data input unit, an RS422 bus control data input unit, an RS485 bus control data input unit, a multi-channel SSI bus control data output unit, an analog angle data real-time output unit and a receiving matrix keyboard key value unit; the CAN bus control data input unit is used to receive the analog photoelectric encoder angle data after the CAN bus interface unit protocol parsing processing; the RS232 bus control data input unit is used to receive the analog photoelectric encoder angle data after the RS232 bus interface unit protocol parsing processing; the RS422 bus control data input unit is used to receive the analog photoelectric encoder angle data after the RS422 bus interface unit protocol parsing processing Angle data; the RS485 bus control data input unit is used to receive the analog photoelectric encoder angle data after the RS485 bus interface unit protocol analysis processing; the receiving matrix keyboard key value unit is used to receive the analog photoelectric encoder angle data input by the analog angle manual control unit; the FPGA central data processing unit is used to perform protocol analysis processing on the analog photoelectric encoder angle data input by manual control or the analog photoelectric encoder angle data input by automatic control to obtain the analog photoelectric encoder angle data after the protocol analysis processing; the multi-channel SSI bus control data output unit is used to convert the analog photoelectric encoder angle data after the protocol analysis processing into SSI interface bus data and output it via the multi-channel SSI interface bus interface; the analog angle data real-time output unit is used to output the analog photoelectric encoder angle data to the analog angle real-time display unit.
[0027] like Figure 3 As shown, the multi-channel SSI interface bus interface unit includes: an SSI interface bus drive isolation module and an SSI interface bus protocol module; the SSI interface bus drive isolation module is used to achieve photoelectric isolation and enhance the SSI bus interface serial signal driving capability. The SSI interface bus protocol module is used to convert analog angle data into SSI bus interface serial signals.
[0028] like Figure 8 As shown, the analog angle real-time display unit includes: an analog angle data display encoding module and an LCD analog angle display module. The analog angle data display encoding module is used to format the angle value of the digital signal into a character string; the LCD angle display module is used to display the angle value in the form of a character string.
[0029] like Fig. 9 As shown, the analog angle manual control unit includes: a matrix keyboard module and an analog angle manual control input module. The matrix keyboard module is used to manually control the key input to simulate the photoelectric code disk angle data. The analog angle manual control input module is used to encode the corresponding key value and input it into the FPGA bus control data processing unit.
[0030] like Fig.10 As shown, the power supply interface unit includes: a voltage adjustment module and a secondary power conversion module, the voltage adjustment module is used to convert the voltage of the input 6~36V DC power supply into a +5V voltage; the secondary power conversion module is used to convert the +5V voltage into a +3.3V voltage to power the excitation device; A method for simulating a multi-channel SSI interface photoelectric encoder excitation includes: inputting simulated photoelectric encoder angle data through automatic control or manual control; performing protocol parsing on the simulated photoelectric encoder angle data, and converting the simulated photoelectric encoder angle data after protocol parsing into SSI interface bus data for output.
[0031] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An excitation device for simulating a multi-channel SSI interface photoelectric encoder, characterized in that: include: An analog angle control unit, used to control the input analog photoelectric encoder angle data; The FPGA bus controls the data processing unit, which is used to receive the analog photoelectric encoder angle data and convert the analog photoelectric encoder angle data after protocol analysis into SSI interface bus data; The analog angle real-time display unit is used to display the analog photoelectric encoder angle in real time; Multi-channel SSI interface bus interface unit, used to output SSI interface bus data after protocol parsing; And a power supply interface unit is used to connect an external power supply and perform voltage adjustment and voltage conversion for the input power supply.
2. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 1, characterized in that: The analog angle control unit includes: Analog angle manual control unit, used for manually controlling the input of analog photoelectric encoder angle data; And an analog angle automatic control unit is used for automatically controlling the input analog photoelectric code disk angle data.
3. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 2, characterized in that: The analog angle automatic control unit includes: A CAN bus interface unit, comprising a CAN bus interface protocol module and a CAN bus interface driver isolation module, wherein the CAN bus interface driver isolation module is used to convert the level of the analog photoelectric encoder angle data automatically input by the CAN bus device into a TTA level, and the CAN bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit; The RS232 bus interface unit includes an RS232 bus interface protocol module and an RS232 bus interface driver isolation module. The RS232 bus interface driver isolation module is used to convert the level of the analog photoelectric encoder angle data automatically controlled by the RS232 bus device into a TTA level. The RS232 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit. The RS422 bus interface unit includes an RS422 bus interface protocol module and an RS422 bus interface drive isolation module. The RS422 bus interface drive isolation module is used to convert the level of the analog photoelectric encoder angle data automatically controlled by the RS422 bus device into a TTA level. The RS422 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit. And an RS485 bus interface unit, which includes an RS485 bus interface protocol module and an RS485 bus interface drive isolation module. The RS485 bus interface drive isolation module is used to convert the level of the RS485 bus device automatic control input analog photoelectric encoder angle data into a TTA level. The RS485 bus interface protocol module is used to receive the TTA level and perform protocol parsing on the analog photoelectric encoder angle data carried by the TTA level and then input it into the FPGA bus control data processing unit.
4. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 2, characterized in that: The analog angle manual control unit includes: The matrix keyboard module is used to manually control the key input to simulate the angle data of the photoelectric encoder; And the simulated angle manual control input module is used to encode the corresponding key value and input it into the FPGA bus control data processing unit.
5. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 1, characterized in that: The FPGA bus control data processing unit includes: CAN bus control data input unit, used to receive the simulated photoelectric encoder angle data after the CAN bus interface unit protocol analysis processing; RS232 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS232 bus interface unit protocol analysis processing; RS422 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS422 bus interface unit protocol analysis processing; RS485 bus control data input unit, used to receive the analog photoelectric encoder angle data after the RS485 bus interface unit protocol analysis processing; A receiving matrix keyboard key value unit is used to receive the simulated photoelectric encoder angle data input by the simulated angle manual control unit; The FPGA central data processing unit is used to perform protocol analysis on the analog photoelectric encoder angle data input by manual control or the analog photoelectric encoder angle data input by automatic control to obtain the analog photoelectric encoder angle data after protocol analysis; A multi-channel SSI bus control data output unit is used to convert the analog photoelectric encoder angle data after protocol analysis into SSI interface bus data and output it via a multi-channel SSI interface bus interface; The analog angle data real-time output unit is used to output the analog photoelectric encoder angle data to the analog angle real-time display unit.
6. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 1, characterized in that: The power supply interface unit includes: A voltage adjustment module is used to convert the voltage of the input 6~36V DC power supply into a +5V voltage; And a secondary power conversion module is used to convert the +5V voltage into a +3.3V voltage and supply power to the excitation device.
7. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 1, characterized in that: The multi-channel SSI interface bus interface unit includes: SSI interface bus driver isolation module is used to achieve photoelectric isolation and enhance the SSI bus interface serial signal driving capability; SSI interface bus protocol module, used to convert analog angle data into SSI bus interface serial signals.
8. The excitation device for simulating a multi-channel SSI interface photoelectric encoder according to claim 1, characterized in that: The simulation angle real-time display unit includes: The analog angle data display encoding module is used to format the angle value of the digital signal into a string; LCD analog angle display module, used to display angle values in string form.
9. A method for simulating a multi-channel SSI interface photoelectric code disk, characterized in that: include: Input the simulated photoelectric encoder angle data through automatic control or manual control; The analog photoelectric encoder angle data is processed by protocol parsing, and the analog photoelectric encoder angle data after protocol parsing is converted into SSI interface bus data for output.