CN219609477U - Beam line scanning synchronous control device based on ZYNQ7020 - Google Patents
Beam line scanning synchronous control device based on ZYNQ7020 Download PDFInfo
- Publication number
- CN219609477U CN219609477U CN202320666797.3U CN202320666797U CN219609477U CN 219609477 U CN219609477 U CN 219609477U CN 202320666797 U CN202320666797 U CN 202320666797U CN 219609477 U CN219609477 U CN 219609477U
- Authority
- CN
- China
- Prior art keywords
- module
- signal
- chip
- input
- output
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
The utility model discloses a beam line scanning synchronous control device based on ZYNQ7020 in the field of beam line stations, which comprises a ZYNQ chip, at least one encoder control unit, at least one pulse IO unit and a device monitoring unit, wherein the PL end and the PS end of the ZYNQ chip are interconnected through an AXI bus, the PS end of the ZYNQ chip is connected with an upper computer, the PL end comprises an encoder control module, a pulse generation module, an interface configuration module and a device monitoring module, the encoder control module and the pulse generation module are both connected with the interface configuration module, the encoder control unit is connected with the encoder control module, the pulse IO unit is connected with the pulse generation module, and the device monitoring unit is connected with the device monitoring module. The utility model greatly improves the debugging and testing efficiency of technicians, and can also improve the time precision and efficiency of synchronous pulse generation.
Description
Technical Field
The utility model relates to the field of beam line stations, in particular to a beam line scanning synchronous control device based on ZYNQ 7020.
Background
In the field of synchrotron radiation beam line station control, especially in scanning experimental data acquisition applications, the synchronization performance of a scanning execution device and a data acquisition device is one of the key factors related to the quality of scanning data and experimental efficiency. The traditional experimental beam line station scanning synchronous control generally adopts a software processing mode, and the problems of overlong scanning time, low scanning efficiency and poor synchronous precision are caused by a large amount of dead time.
The synchronous control technology by adopting hardware can effectively improve the synchronous time precision, the prior art [1] adopts a mode that the Zynq chip sends an instruction to the low-speed FPGA chip to control an external circuit, and the Zynq chip and the low-speed FPGA chip are high in debugging difficulty and high in equipment cost due to the communication and synchronization between the Zynq chip and the low-speed FPGA chip, so that the application is limited in a small-sized scanning experiment.
Disclosure of Invention
The utility model aims to provide a light beam line scanning synchronous control device based on ZYNQ7020, which adopts a single-chip Zynq to realize the direct input and output of common encoder coding formats (SSI coding, BISS coding, incremental coding and the like) and encoder signals, has the function of collecting position data in real time, and generates synchronous pulses according to parameters controlled by an upper computer so as to realize the rapid synchronization between a motion mechanism and an experimental data collection mechanism, and is suitable for the occasions such as rapid walking and flying experiments of a light beam line station.
In order to achieve the above purpose, the present utility model provides the following technical solutions:
the utility model provides a beam line scanning synchronous control device based on ZYNQ7020, includes ZYNQ chip, at least one encoder control unit, at least one pulse IO unit, equipment monitoring unit, the PL end and the PS end of ZYNQ chip pass through the AXI bus interconnect, and the PS end of ZYNQ chip is connected the host computer, and the PL end is including encoder control module, pulse generation module, interface configuration module and equipment monitoring module, encoder control module and pulse generation module all are connected with interface configuration module, encoder control unit is connected with encoder control module, and pulse IO unit is connected with pulse generation module, and equipment monitoring unit is connected with equipment monitoring module.
Further, the model of the ZYNQ chip is XC7Z020.
Further, the pulse IO unit comprises a signal conversion configuration module, an input conversion module and an output conversion module; the signal conversion configuration module is used for configuring TTL signals as input or output according to the direction signals sent by the ZYNQ chip; the input conversion module is used for carrying out level conversion on externally input pulses and sending the externally input pulses to the PL end of the ZYNQ chip when the signal conversion configuration module configures TTL signal level as input; the output conversion module is used for receiving the pulse signal sent by the PL end of the ZYNQ chip when the signal conversion configuration module configures the TTL signal level as output, and outputting the pulse after level conversion.
Further, the chip model of the signal conversion configuration module is SN74LVC16T245PW, the chip model of the input conversion module is FIN1028MX, and the chip model of the output conversion module is FIN1028MX.
Further, the encoder control unit comprises an input control module and an output control module, wherein the input control module and the output control module are respectively connected with the PL end of the ZYNQ chip and receive control signals sent by the ZYPQ chip, the input control module is used for converting externally input differential coding signals into single-ended signals according to the control signals and outputting the single-ended signals to the ZYNQ chip, and the output control module is used for receiving the single-ended signals of the ZYNQ chip and converting the single-ended signals into the coding signals to be output to the outside.
Further, the encoder control unit, the pulse IO unit, the equipment monitoring unit and the ZYNQ chip are all powered by a power supply unit, the power supply unit comprises a first DC/DC module, a second DC/DC module, a third DC/DC module, a fourth DC/DC module and an LDO module, the input end of the first DC/DC module is connected with an external direct current power supply end, and the output end of the first DC/DC module outputs a second voltage output signal; the input end of the second DC/DC module is connected with a second voltage output signal, and the output end of the second DC/DC module outputs a third voltage output signal; the input end of the LDO module is connected with the third voltage output signal, and the output end of the LDO module outputs a fourth voltage output signal; the input end of the third DC/DC module is connected with the second voltage output signal, and the output end of the third DC/DC module outputs a fifth voltage output signal; and the input end of the fourth DC/DC module is connected with the second voltage output signal, and the output end of the fourth DC/DC module outputs a sixth voltage output signal.
Further, the chip of the first DC/DC module is configured as LMT4613, the chip of the second DC/DC module is configured as TPS62135, and the chips of the third and fourth DC/DC modules are configured as MP2145; the chip configuration of the LDO module is AMS1117-1.8.
The beneficial effects are that: the PS end of the ZYNQ chip realizes the communication with the host computer, configures the parameters of each module in the PL end in real time according to the configuration information of the host computer, and simultaneously packages, stores and transmits the collected position number and the state monitoring data. In addition, the real-time acquisition of the position data is realized by adopting a mode of directly decoding the encoder by hardware, so that the time precision and the efficiency of synchronous pulse generation can be greatly improved.
Drawings
FIG. 1 is an overall block diagram of the present utility model;
FIG. 2 is a connection block diagram of a ZYNQ chip of the present utility model;
FIG. 3 is a block diagram showing the connection of a ZYNQ chip to an encoder control unit of the present utility model;
FIG. 4 is a block diagram showing the connection of a ZYNQ chip to a pulse IO unit in accordance with the present utility model;
FIG. 5 is a schematic block diagram of a power supply unit of the present utility model;
fig. 6 is a flow chart of the operation of the present utility model.
Detailed Description
The following description of the embodiments of the present utility model will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present utility model, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model.
Referring to fig. 1-2, a light beam line scanning synchronous control device based on a ZYNQ7020 comprises a ZYNQ chip, at least one encoder control unit, at least one pulse IO unit and a device monitoring unit. The ZYNQ chip is XC7Z020-2CLG400, and the external main components are DDR3, QSPI-flash, USB serial port, SD card and Ethernet PHY. The ZYNQ chip comprises a PS end and a PL end, and the PS end and the PL end are interconnected through an AXI bus; the PL end is interconnected with the encoder control unit, the pulse IO unit and the equipment monitoring unit through electric signals to provide basic input and output control; and the PS end network receives pulse synchronous control parameters and data acquisition requirements sent by an external upper computer, and uploads the position data to the upper computer.
As shown in fig. 3, the encoder control unit includes an input control module and an output control module, where the input control module is configured to receive signals of an external position encoder, identify a type of the input encoder according to different jumper settings, perform configuration of an external port, receive coded waveform signals of the external port, perform level conversion, and output the coded waveform signals to a PL end of a ZYNQ chip; the output control module is used for configuring an external output port according to the jumper setting identification output coding protocol, receiving the waveform data output by the PL end of the ZYNQ chip, performing level conversion and outputting the waveform data to the external port.
Specifically, the input control module includes a 74HC153D chip and a plurality of SN75LBC175A chips, and the output control module includes a 74HC153D chip and a plurality of MAX3485EESA chips. The 74HC153D chip is used for being connected with the PL end of the ZYNQ chip and receiving a control signal sent by the ZYPQ chip, so that input and output signals are selected. The SN75LBC175A chip is used for receiving an externally input differential coding signal, converting the differential coding signal into a single-ended signal and outputting the single-ended signal to the ZYNQ chip. The MAX3485EESA chip is used for receiving the single-ended signal of the ZYNQ chip and converting the single-ended signal into a coded signal to be output to the outside.
The PL end of the ZYNQ chip comprises an encoder control module, a pulse generation module, an interface configuration module and an equipment monitoring module, and the PS end comprises a position acquisition module, a pulse configuration module and a communication control module, wherein the upper computer is connected with the communication control module.
The encoder control module at the PL end is used for communicating with the encoder control unit, providing the control signal of the encoder control unit, collecting the waveform data of the encoder and decoding to obtain the position data; the encoder control module can generate an encoded signal according to the position data and send the encoded signal to the encoder, and the function can be used for cascade connection between the encoders and loop test of the encoder control module.
As shown in fig. 4, the pulse IO unit is configured to input and output a synchronization pulse to the outside, and specifically includes a signal conversion configuration module, an input conversion module, and an output conversion module. The signal conversion configuration module adopts SN74LVC16T245PW to perform TTL signal level conversion, and configures TTL signals as input or output according to a direction signal (DIR) sent by the ZYNQ chip. When the input state is configured, the input conversion module carries out level conversion on an externally input pulse signal in a single-ended or differential mode and then sends the pulse signal to the PL end of the ZYNQ chip, specifically, the chip model of the input conversion module is FIN1028MX, and 5V or 3.3V TTL input is converted into 3.3V TTL according to jumper setting and sent to the ZYNQ chip. When the output state is configured, the output conversion module receives a pulse signal sent by the PL end of the ZYNQ chip, and externally outputs a pulse in a single-ended or differential mode after level conversion, specifically, the chip model of the output conversion module is FIN1028MX, and the VCCB converts 3.3V TTL received by the ZYNQ chip into 5V or 3.3V TTL output according to jumper setting.
The pulse generation module is used for communicating with the pulse IO unit, providing a pulse IO unit control signal and collecting an input pulse signal of the pulse IO; the pulse generation module can configure parameters such as the number of pulses generated by the synchronous pulse, pulse width, pulse frequency, pulse triggering condition and the like according to the pulse control requirement of the upper computer, dynamically configure logic of the PL terminal, generate pulse signals and output the pulse signals to the pulse IO unit.
The equipment monitoring unit is used for collecting the states of various working voltages in the equipment, the fan rotating speed and the temperature data, and is connected with the PL end of the ZYNQ chip through an IIC or SPI bus. The equipment monitoring unit monitors the voltages of 24V, 5V, 3.3V and 1.8V in the equipment by adopting a voltage monitoring chip LTC2991 and is connected with a ZYNQ chip through an IIC bus; the LM75AIM is used as a temperature sensor for temperature monitoring, and is connected with the ZYNQ chip through an IIC bus; the fan rotating speed signal is sent to the ZYNQ chip after being divided, and is used for monitoring the rotating speed of the fan.
The interface configuration module is used for receiving the control requirement and the data acquisition requirement sent by the PS end through the AXI bus, providing interface configuration parameter control for the encoder control module and the pulse generation module, collecting the position data of the encoder control module and the monitoring data of the equipment monitoring module, packaging the data and sending the data to the PS end through the AXI bus. The position acquisition module at the PS end acquires the position data acquired by the PL end, further packages the data, and sends the data to the communication control module. The communication control module is communicated with the upper computer through the Ethernet chip, receives the control instruction of the upper computer, and uploads the acquired data to the upper computer.
The ZYNQ chip, the encoder control unit, the pulse IO unit and the equipment monitoring unit are all powered by the power supply unit. The power supply unit receives external direct-current voltage input, outputs voltage for other units to use, and the working state of the power supply is monitored by the equipment monitoring unit.
As shown in fig. 5, the power supply unit includes a first DC/DC module, a second DC/DC module, a third DC/DC module, a fourth DC/DC module, and an LDO module. The chip signal of the first DC/DC module may be configured as LMT4613, where an input end thereof is connected to an external DC power end, receives a 24V power input, and an output end outputs a second voltage output signal to convert 24V into 5V output. The second DC/DC module may be configured as TPS62135, and has an input connected to the second voltage output signal and an output outputting the third voltage output signal, converting 5V to 3.3V. The chip model of the LDO module can be configured as AMS1117-1.8, the input end of the LDO module is connected with the third voltage output signal, the output end of the LDO module outputs the fourth voltage output signal, and 3.3V is converted into 1.8V to be output. The chip model of the third DC/DC module may be configured as MP2145, and an input terminal thereof is connected to the second voltage output signal, and an output terminal thereof outputs the fifth voltage output signal, converting 5V into 1.0V output. The chip type of the fourth DC/DC module may be configured as MP2145, and an input terminal thereof is connected to the second voltage output signal, and an output terminal thereof outputs the sixth voltage output signal, converting 5V into 1.5V output.
As shown in fig. 6, the operation flow of the beam line scanning synchronization control apparatus includes the steps of:
(1) Powering on the device for self-checking; after power-on, the device loads a soft firmware program from the SD card, then checks the state of software and hardware, reads the information of the equipment monitoring unit in real time on the PS side of ZYNQ, sends the information to the upper computer client through a TCP service provided by the local area, and runs all the time after the equipment is powered on as an independent thread so as to monitor the state of the equipment in real time;
(2) Judging whether to update the configuration parameters; the PS end monitors user operation, judges whether to update the configuration parameters according to the upper computer instruction, and enters the step (4) if the parameters need to be updated, and enters the step (3) if the parameters do not need to be updated
(3) Reading the last configuration information; the PS end reads the last effective configuration parameter and updates the last effective configuration parameter as the current working parameter;
(4) Updating configuration parameters; the device respectively carries out encoder configuration and pulse parameter configuration operation according to parameters configured by the upper computer
(5) Executing pulse generation logic; the PL side of ZYNQ automatically captures pulse generation conditions according to parameters of the pulse configuration module to generate synchronous pulses;
(6) Recording position data; the PL side of ZYNQ synchronously decodes the encoder data according to the configuration parameters acquired by the position and sends the encoder data to a position acquisition module of the PS side in a DMA mode;
(7) Data transmission; transmitting the position data processed in the step (5) to an upper computer through a communication control module at a PS end;
(8) Notifying completion; and (5) after all the pulses are generated, informing the upper computer of completing scanning.
Although the present disclosure describes embodiments, not every embodiment is described in terms of a single embodiment, and such description is for clarity only, and one skilled in the art will recognize that the embodiments described in the disclosure as a whole may be combined appropriately to form other embodiments that will be apparent to those skilled in the art.
Therefore, the above description is not intended to limit the scope of the utility model; all changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims (7)
1. The utility model provides a beam line scanning synchronous control device based on ZYNQ7020, its characterized in that includes ZYNQ chip, at least one encoder control unit, at least one pulse IO unit, equipment monitoring unit, the PL end and the PS end of ZYNQ chip pass through AXI bus interconnection, and the PS end of ZYNQ chip is connected the host computer, and the PL end is including encoder control module, pulse generation module, interface configuration module and equipment monitoring module, encoder control module and pulse generation module all are connected with interface configuration module, encoder control unit is connected with encoder control module, and pulse IO unit is connected with pulse generation module, and equipment monitoring unit is connected with equipment monitoring module.
2. The ZYNQ 7020-based beam line scanning synchronization control apparatus of claim 1 wherein the ZYNQ chip is XC7Z020.
3. The light beam line scanning synchronization control device based on ZYNQ7020 according to claim 1 or 2, wherein the pulse IO unit comprises a signal conversion configuration module, an input conversion module and an output conversion module; the signal conversion configuration module is used for configuring TTL signals as input or output according to the direction signals sent by the ZYNQ chip; the input conversion module is used for carrying out level conversion on externally input pulses and sending the externally input pulses to the PL end of the ZYNQ chip when the signal conversion configuration module configures TTL signal level as input; the output conversion module is used for receiving the pulse signal sent by the PL end of the ZYNQ chip when the signal conversion configuration module configures the TTL signal level as output, and outputting the pulse after level conversion.
4. The light beam line scanning synchronization control device based on ZYNQ7020 of claim 3, wherein the chip model of the signal conversion configuration module is SN74LVC16T245PW, the chip model of the input conversion module is FIN1028MX, and the chip model of the output conversion module is FIN1028MX.
5. The light beam line scanning synchronization control device based on the ZYNQ7020 of claim 1, wherein the encoder control unit comprises an input control module and an output control module, the input control module and the output control module are respectively connected with the PL end of the ZYNQ chip and receive a control signal sent by the ZYNQ chip, the input control module is used for converting an externally input differential coding signal into a single-ended signal and outputting the single-ended signal to the ZYNQ chip according to the control signal, and the output control module is used for receiving the single-ended signal of the ZYNQ chip and converting the single-ended signal into the coding signal to output the coding signal to the outside.
6. The light beam line scanning synchronous control device based on ZYNQ7020 of claim 1, wherein the encoder control unit, the pulse IO unit, the equipment monitoring unit and the ZYNQ chip are all powered by a power supply unit, the power supply unit comprises a first DC/DC module, a second DC/DC module, a third DC/DC module, a fourth DC/DC module and an LDO module, the input end of the first DC/DC module is connected with an external direct current power supply end, and the output end of the first DC/DC module outputs a second voltage output signal; the input end of the second DC/DC module is connected with a second voltage output signal, and the output end of the second DC/DC module outputs a third voltage output signal; the input end of the LDO module is connected with the third voltage output signal, and the output end of the LDO module outputs a fourth voltage output signal; the input end of the third DC/DC module is connected with the second voltage output signal, and the output end of the third DC/DC module outputs a fifth voltage output signal; and the input end of the fourth DC/DC module is connected with the second voltage output signal, and the output end of the fourth DC/DC module outputs a sixth voltage output signal.
7. The ZYNQ 7020-based beam line scan synchronization control apparatus of claim 6 wherein a chip of the first DC/DC module is configured as LMT4613, a chip of the second DC/DC module is configured as TPS62135, and a chip of the third and fourth DC/DC modules is configured as MP2145; the chip configuration of the LDO module is AMS1117-1.8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320666797.3U CN219609477U (en) | 2023-03-29 | 2023-03-29 | Beam line scanning synchronous control device based on ZYNQ7020 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320666797.3U CN219609477U (en) | 2023-03-29 | 2023-03-29 | Beam line scanning synchronous control device based on ZYNQ7020 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219609477U true CN219609477U (en) | 2023-08-29 |
Family
ID=87753862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320666797.3U Active CN219609477U (en) | 2023-03-29 | 2023-03-29 | Beam line scanning synchronous control device based on ZYNQ7020 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219609477U (en) |
-
2023
- 2023-03-29 CN CN202320666797.3U patent/CN219609477U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107360477B (en) | Multifunctional remote debugging device | |
CN102437800A (en) | Direct current motor servo driver | |
CN101957806A (en) | Peripheral component interconnection standard acquisition device for synchronous serial interface signal | |
CN102572283A (en) | External synchronous signal card and image collection system for linear array camera | |
CN111175601A (en) | Modular functional test system | |
CN219609477U (en) | Beam line scanning synchronous control device based on ZYNQ7020 | |
CN202975800U (en) | CAN (controller area network) bus diagnosis system based on WIFI (wireless fidelity) and mobile intelligent terminal | |
CN101718985B (en) | EPA bus and Profibus-DP bus conversion adapter | |
CN110855581B (en) | Domestic exchange blade device suitable for VPX framework 40G and SRIO multiplexing | |
CN101726708A (en) | Battery voltage data acquisition system | |
CN107592286A (en) | A kind of intelligent communications terminal and its implementation for supporting multi-protocols | |
CN109541437A (en) | Integrated circuit and system | |
CN112690816B (en) | CT detector framework, information processing method thereof and CT scanner | |
CN214014269U (en) | Train network communication device and system | |
CN202093382U (en) | Field bus control module of electric operating mechanism based on ADM2468 chip | |
CN101729453B (en) | EPA bus and MODBUS bus conversion adapter | |
TWI770654B (en) | Signal transmission device | |
CN210666762U (en) | Universal board card | |
CN106771654A (en) | Pulse generation and pulse width measure board based on pci bus | |
CN111355437A (en) | Servo driving system and method based on wireless communication | |
CN217639994U (en) | MCU mainboard for water and electricity control system IO module | |
CN105048787A (en) | Fiber integrated communication method for multi-level cascading type high-voltage frequency converter | |
CN210864369U (en) | Frequency conversion controller | |
CN217902298U (en) | Multi-interface high-speed acquisition card | |
CN110267304A (en) | A kind of airborne wireless network converging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |