CPCI pulse quantity signal input and output board card based on domestic FPGA
By adopting domestically produced FPGA chips and CPCI bridge chips, combined with optocoupler isolation modules, bidirectional transmission of pulse signals was achieved, solving the problems of independent controllability and single function of the board, and improving flexibility and security.
Patent Information
- Application Number
- CN202422906549.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2034-11-27
AI Technical Summary
Existing pulse signal input and output boards suffer from poor controllability of the main control chip and limited functionality, and cannot achieve bidirectional signal transmission.
It uses domestically produced FPGA chips, combined with CPCI bridge chips and optocoupler isolation modules to realize signal decoding, control and acquisition, support bidirectional signal transmission, and ensure accurate transmission of instructions through storage devices.
It improves the board's autonomy, controllability, and flexibility, enables bidirectional signal transmission, enhances circuit security and compatibility, and ensures communication reliability.
Smart Images

Figure CN223611929U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model belongs to CPCI computer technical field, specifically relates to a kind of CPCI pulse quantity signal input-output board based on domestic FPGA. BACKGROUND
[0002] PCI (Peripheral Component Interconnect) is a standard for defining local bus by Intel Corporation, with bandwidth up to 264MB / s (under 32bit / 66Mhz), is CPU system bus in a bus, with plug and play, interrupt sharing easy expansion and other advantages, occupies important position in computer system.In current, in military computer system, still have most system used CPCI bus (namely for Cmpact PCI, it is industrial version of PCI, is designed for industry and military applications) communication mode.
[0003] Pulse quantity signal has the characteristics of large amplitude, wide bandwidth, short time, etc., is used to transmit target distance, speed and direction information in many automation equipment, has important significance for modern science and technology development.
[0004] Host computer (namely main control computer system) controls automation equipment by issuing instructions.The instructions issued by host computer comply with CPCI communication protocol (namely through CPCI bus transmission), these instructions need to be converted into pulse quantity signal that can be recognized by automation equipment, to ensure that instructions are correctly understood and executed in automation equipment.When automation equipment transmits data to host computer, data is output in the form of pulse quantity signal, so pulse quantity signal needs to be converted into signal complying with CPCI communication protocol, so that host computer can read and process.
[0005] At present, pulse quantity signal input and output are realized through special pulse quantity signal input board and pulse quantity signal output board.However, existing pulse quantity signal input board or pulse quantity signal output board has some limitations: first, the main control chip of board uses imported MCU, resulting in poor self-controllability of main control chip;Second, single board can only process pulse quantity signal input or output (i.e., only signal acquisition or signal transmission can be realized), resulting in single application environment of single board. UTILITY MODEL CONTENT
[0006] Therefore, the utility model provides a kind of CPCI pulse quantity signal input-output board based on domestic FPGA, main control chip uses domestic FPGA chip, can improve self-controllability, the FPGA chip is realized CPCI communication by connecting CPCI bridge piece, can send the instruction sent by host computer in the form of pulse quantity signal to automation equipment, while the pulse quantity signal emitted by automation equipment can be received, and set signal is collected from it, to increase the application range of board card, and improve flexibility.
[0007] The utility model is realized through the following technical solutions:
[0008] A kind of CPCI pulse quantity signal input-output board based on domestic FPGA, for connecting host computer and automation equipment;
[0009] The board card includes: CPCI bridge piece, domestic FPGA chip and pulse quantity signal transceiver circuit;
[0010] The domestic FPGA chip is connected with the CPCI bus on host computer by CPCI bridge piece, and is connected with automation equipment by pulse quantity signal transceiver circuit;
[0011] The instruction emitted by the host computer is transmitted to domestic FPGA chip by CPCI bridge piece, and domestic FPGA chip decodes instruction and converts into pulse quantity signal, then is transmitted to automation equipment by pulse quantity signal transceiver circuit;
[0012] Meanwhile, the domestic FPGA chip collects set information in the pulse quantity signal emitted by each automation equipment connected thereto, and is transmitted to host computer by CPCI bridge piece.
[0013] Further, the domestic FPGA chip includes: decoding module, control module and acquisition module;
[0014] The decoding module is used to receive instruction and decode and form pulse quantity signal, and is connected with CPCI bridge piece in communication;
[0015] The control module is used to adjust the output characteristic of pulse quantity signal, and is connected with decoding module in communication;
[0016] The acquisition module is used to collect set information in the pulse quantity signal output by automation equipment, and is connected with CPCI bridge piece in communication.
[0017] Further, when board card connects multiple automation equipment, the pulse quantity signal transceiver circuit includes: several optocoupler isolation modules;
[0018] The optocoupling isolation module corresponds to the automation equipment one by one, and each automation equipment is connected with the domestic FPGA chip through the corresponding optocoupling isolation module.
[0019] Further, the storage device is further included;
[0020] The storage device is used for storing the identification number and the supplier code number of the board card, and is connected with the CPCI bridge.
[0021] Further, the optocoupling isolation module includes an input signal optocoupler and an output signal optocoupler.
[0022] The pulse quantity signal sent by the automation equipment is input to the domestic FPGA chip through the input signal optocoupler;
[0023] The pulse quantity signal sent by the domestic FPGA chip is output to the automation equipment through the output signal optocoupler.
[0024] Further, the input signal optocoupler and the output signal optocoupler are high-speed optocouplers.
[0025] Advantages:
[0026] (1) The CPCI pulse quantity signal input and output board card based on the domestic FPGA, which comprises a CPCI bridge, solves the signal isolation between the CPCI communication suitable for the host computer and the local bus communication mode suitable for the FPGA chip through the CPCI bridge; the board card adopts the FPGA chip, realizes the input and output of the pulse quantity signal through the programmability of the FPGA chip, that is, the signal acquisition and transmission can be realized through a single board card, the application range of the board card is increased, and the flexibility is improved; the board card adopts the domestic FPGA chip, and the self-controllability is realized through the use of domestic devices; meanwhile, the domestic FPGA chip is connected with the automation equipment through the optocoupling isolation module, and the safety of the connection between the board card circuit and the automation equipment circuit is increased.
[0027] (2) The CPCI pulse quantity signal input and output board card based on the domestic FPGA, and the FPGA chip comprises a decoding module, a control module and a collection module; the decoding module and the control module can realize the interpretation and adjustment of the instruction sent by the host computer and the transmission; the collection module can collect the set information in the pulse quantity signal sent by the multiple automation equipment, so that the input and output of the pulse quantity signal are realized.
[0028] (3) The CPCI pulse signal input / output board based on domestic FPGA of this utility model also includes a storage device. The storage device is used to store the board identification number and supplier code number. When multiple boards are connected to the CPCI bus of the host computer, different boards can be identified by the identification number and supplier code number, so that the instructions can be accurately transmitted to the corresponding boards.
[0029] (4) The present invention provides a CPCI pulse signal input / output board based on a domestic FPGA. The optocoupler isolation module includes several input signal optocouplers and several output signal optocouplers, which can realize electrical isolation between the circuits in the board (i.e., CPCI pulse signal input / output board) and the internal circuits of the automation equipment, so that the high voltage on either side of the high-speed optocoupler will not damage the device on the other side; at the same time, it realizes the level conversion of the pulse signal, so that the level of the pulse signal output from either side of the high-speed optocoupler matches the level of the other side, which increases safety and ensures the compatibility and communication reliability between the automation equipment and the FPGA chip. Attached Figure Description
[0030] Figure 1 This is a schematic diagram of the pulse signal input / output board of this utility model (connecting multiple automated devices);
[0031] Figure 2 This is a schematic diagram of the pulse signal input / output board of this utility model;
[0032] Figure 3 This is a detailed frame diagram of the pulse signal input / output board of this utility model;
[0033] Figure 4 An architecture diagram (including storage devices) for connecting multiple boards to a host computer. Detailed Implementation
[0034] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0035] Example 1:
[0036] This embodiment provides a CPCI pulse signal input / output board based on a domestically produced FPGA, such as... Figure 1 As shown, it includes: CPCI bridge chip, domestic FPGA (Field-Programmable Gate Array) chip and pulse signal transceiver circuit.
[0037] The CPCI bridge is used as a connection interface between the CPCI bus and the FPGA chip, and the instructions issued by the host computer are transmitted to the domestic FPGA chip through the CPCI bridge. The CPCI bridge is used for mutual conversion between the CPCI communication mode of the CPCI bus and the local user local bus communication mode recognizable by the FPGA, so as to realize effective communication between the two. In the embodiment, the CPCI bridge is preferably a 9054 bridge.
[0038] The domestic FPGA chip is used for executing and outputting the instructions issued by the host computer and collecting the pulse quantity signals issued by each automation device connected thereto. As shown in Figure 2 The domestic FPGA chip includes a decoding module, a control module and a collection module. The decoding module is a preset logic and algorithm in the domestic FPGA chip, and is used for interpreting the instructions issued by the host computer. The decoding module is in communication connection with the CPCI bridge, and the decoding module receives the instructions and decodes and converts them into pulse quantity signals (let the pulse quantity signals be signal A). The control module is in communication connection with the decoding module, and is used for adjusting the output characteristics such as pulse width and duty cycle of the signal A. After the signal A is transmitted into the control module, the output characteristics such as pulse width and duty cycle of the signal A are controlled, different pulse quantity signals (let the pulse quantity signals be signal B) are generated in cooperation with different instructions. The collection module is used for collecting the set information (such as the rotating speed of the motor of the automation device) in the pulse quantity signals (let the pulse quantity signals be signal C) output by each automation device. The collection module is in communication connection with the CPCI bridge, and the set information collected by the collection module is converted into signals conforming to the CPCI communication through the CPCI bridge and is transmitted into the host computer.
[0039] As shown in Figure 3 The automation device is in communication connection with the FPGA through a pulse quantity signal transceiving circuit. The pulse quantity signal transceiving circuit includes a plurality of optocoupler isolation modules. The optocoupler isolation modules correspond to the automation devices one by one, and each optocoupler isolation module includes an input signal optocoupler and an output signal optocoupler.
[0040] The input signal optocoupler is in communication connection with the corresponding automation device and the collection module of the FPGA chip. The output signal optocoupler is in communication connection with the corresponding automation device and the control module of the FPGA chip. The input signal optocoupler and the output signal optocoupler are both used for realizing electrical isolation between the circuit in the board card (i.e. the CPCI pulse quantity signal input and output board card) and the internal circuit of the automation device, and are also used for level conversion between the pulse quantity signals output by the automation device and the pulse quantity signals input or output by the FPGA chip.
[0041] The level of the pulse quantity signal (i.e. signal B) emitted by the domestic FPGA chip is converted into a level matched with the automation device through the output signal optocoupler isolation module, and the level of the pulse quantity signal (i.e. signal C) transmitted by the automation device is converted into a level matched with the domestic FPGA chip through the input signal optocoupler isolation module. In the embodiment, the input signal optocoupler and the output signal optocoupler are preferably high-speed optocouplers.
[0042] Working principle:
[0043] As shown in Figure 1 and Figure 2 When the host computer issues an instruction to the automation device, the instruction is transmitted to the domestic FPGA chip through the CPCI bridge, the domestic FPGA chip decodes the instruction to form a pulse quantity signal, and the pulse quantity signal is adjusted by the control module (which has not appeared before) and then transmitted to the corresponding automation device through the output signal optocoupler isolation.
[0044] When the automation device issues data to the host computer, the data is transmitted in the form of a pulse quantity signal to the acquisition module of the domestic FPGA chip through the input signal optocoupler, and the acquired information (i.e. set information) is transmitted to the host computer through the CPCI bridge.
[0045] Embodiment 2:
[0046] The embodiment provides a CPCI pulse quantity signal input and output board card based on a domestic FPGA, as shown in Figure 4 The embodiment further comprises a storage device based on the embodiment 1.
[0047] The storage device is electrically connected with the CPCI bridge and is used for storing the identification number and the supplier code number and the like of the board card. The identification number and the supplier code number of each board card are unique.
[0048] When multiple board cards are connected on the CPCI bus, the host computer identifies different board cards according to the identification number and the supplier code number stored in the storage device of the board card, so that the issued instruction can be accurately transmitted to the corresponding board card, thereby ensuring an accurate communication path. In the embodiment, the storage device is preferably an EEPROM (Electrically Erasable Programmable Read-Only Memory).
[0049] In summary, the above is only a preferred embodiment of the utility model, and is not used to limit the protection scope of the utility model. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.
Claims
1. A CPCI pulse quantity signal input and output board card based on a domestic FPGA, used for connecting a host computer and automation equipment, comprising: a CPCI bridge, a domestic FPGA chip and a pulse quantity signal transceiver circuit; the domestic FPGA chip is connected with the CPCI bus of the host computer through the CPCI bridge and connected with the automation equipment through the pulse quantity signal transceiver circuit; the instruction sent by the host computer is transmitted to the domestic FPGA chip through the CPCI bridge, the domestic FPGA chip decodes the instruction and converts it into a pulse quantity signal, and then transmits it to the automation equipment through the pulse quantity signal transceiver circuit; meanwhile, the domestic FPGA chip collects the set information in the pulse quantity signal sent by each automation equipment connected therewith and transmits it to the host computer through the CPCI bridge. characterized in that The domestic FPGA chip comprises a decoding module, a control module and a collection module; the decoding module is used for receiving an instruction and decoding it to form a pulse quantity signal and is connected with the CPCI bridge in communication; the control module is used for adjusting the output characteristics of the pulse quantity signal and is connected with the decoding module in communication; and the collection module is used for collecting the set information in the pulse quantity signal output by the automation equipment and is connected with the CPCI bridge in communication. When the board card is connected with multiple automation equipment, the pulse quantity signal transceiver circuit comprises a plurality of optocoupler isolation modules; the optocoupler isolation modules correspond to the automation equipment one by one, and each automation equipment is connected with the domestic FPGA chip through the corresponding optocoupler isolation module. Further comprising a storage device; the storage device is used for storing the identification number and the supplier code number of the board card and is connected with the CPCI bridge in communication. The optocoupler isolation module comprises an input signal optocoupler and an output signal optocoupler; the pulse quantity signal sent by the automation equipment is input to the domestic FPGA chip through the input signal optocoupler; and the pulse quantity signal sent by the domestic FPGA chip is output to the automation equipment through the output signal optocoupler. The input signal optocoupler and the output signal optocoupler are both high-speed optocouplers.
2. The CPCI pulse quantity signal input and output board card based on the domestic FPGA of claim 1, wherein, 3. The CPCI pulse quantity signal input and output board card based on the domestic FPGA of claim 1, wherein, 4. The CPCI pulse quantity signal input and output board card based on the domestic FPGA according to any one of claims 1-3, wherein, 5. The CPCI pulse quantity signal input and output board card based on the domestic FPGA of claim 3, wherein, 6. The CPCI pulse quantity signal input and output board card based on the domestic FPGA of claim 5, wherein,