CN108829618B - High-speed data real-time exchange processing device - Google Patents

High-speed data real-time exchange processing device Download PDF

Info

Publication number
CN108829618B
CN108829618B CN201811076252.7A CN201811076252A CN108829618B CN 108829618 B CN108829618 B CN 108829618B CN 201811076252 A CN201811076252 A CN 201811076252A CN 108829618 B CN108829618 B CN 108829618B
Authority
CN
China
Prior art keywords
signal
buffer
data
time
control switch
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
Application number
CN201811076252.7A
Other languages
Chinese (zh)
Other versions
CN108829618A (en
Inventor
周磊
王亚会
尹中锋
李玉松
黄彦海
李红玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Costar Group Co Ltd
Original Assignee
Henan Costar Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Henan Costar Group Co Ltd filed Critical Henan Costar Group Co Ltd
Priority to CN201811076252.7A priority Critical patent/CN108829618B/en
Publication of CN108829618A publication Critical patent/CN108829618A/en
Application granted granted Critical
Publication of CN108829618B publication Critical patent/CN108829618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers

Abstract

The invention discloses a high-speed data real-time exchange processing device which comprises a data acquisition and analysis module, an input buffer module, a signal conflict processing module, an intermediate buffer module and an output buffer module, wherein the data acquisition and analysis module is respectively connected with the input buffer module and the signal conflict processing module, the input buffer module is respectively connected with a first control switch, the intermediate buffer module, a second control switch and the output buffer module, the output buffer module is connected with a processor bus, and the signal conflict processing module is respectively connected with the first control switch and the second control switch. Compared with the prior art, the method has the advantages that in the real-time control occasion in the high-speed data acquisition application, the real-time algorithm can acquire the high-speed acquired data quickly, accurately and without omission, the data interaction method is simple, efficient and flexible, quick and real-time data transmission can be realized, and the system performance is not influenced.

Description

High-speed data real-time exchange processing device
Technical Field
The invention relates to the technical field of signal acquisition and exchange, in particular to a high-speed data real-time exchange processing device.
Background
In high-speed data acquisition application, a general data transmission system has data blocking and low speed, and particularly in some real-time control occasions, a real-time algorithm needs to acquire data quickly, and the requirements cannot be met by adopting interrupt or inquiry modes and the like, and a reading interface is generally needed.
Disclosure of Invention
In order to solve the above-mentioned drawbacks, the present invention aims to provide a high-speed data real-time exchange processing device, which can realize flexible and rapid real-time data transmission without affecting the system performance, and solve the data exchange problem in the occasion requiring high real-time performance.
In order to achieve the above purpose, the invention adopts the following technical scheme: the high-speed Data real-time exchange processing device comprises a Data acquisition analysis module, an input buffer module, a signal conflict processing module, an intermediate buffer module and an output buffer module, wherein the Data acquisition analysis module is respectively connected with the input buffer module and the signal conflict processing module, the input buffer module is respectively connected with a first control switch, the intermediate buffer module, a second control switch and the output buffer module, the output buffer module is connected with a processor bus, the output buffer module transmits Data signals to the processor bus, the signal conflict processing module is respectively connected with the first control switch and the second control switch, and the signal conflict processing module and the processor bus are communicated with each other by reading signals RD and Busy;
when the device works, the data acquisition analysis module acquires and analyzes original high-speed bit stream data, the analyzed high-speed data is transmitted to the input buffer module, the output Ready mark is processed by the signal conflict processing module to generate a signal to conduct the first control switch, the high-speed data is transmitted to the middle buffer module, the upper computer reads the data of the middle buffer module through the processor bus, after the processing of the signal conflict processing module, the upper computer generates a signal to conduct the second control switch, the data in the middle buffer module is transmitted to the output buffer module after the connection, and the output buffer module is used for time-sharing reading of the installation word length under the bus reading control.
Furthermore, the signal conflict processing module can realize coordination processing of two operations of cache updating and cache reading according to the sequence of the signal receiving and signal reading of the intermediate cache module, so that simultaneous operation is avoided, and the real-time performance of the system is ensured.
The intermediate buffer module needs to apply signals when new data is acquired and new data is output each time, and if intermediate buffer can not be immediately carried out under the coordination of the signal conflict processing module, the buffer is subjected to complementary detection after the buffer reading operation is finished, so that the number leakage is avoided.
The signal conflict processing module in the invention has the functions of preventing the cache from being updated at high speed and the middle cache from being read at the same time, and ensuring the real-time performance of the system; the invention adopts three-level buffer and a signal conflict processing exchange logic to realize the real-time intermediate buffer of high-speed data, reads the buffer data in real time under the control of a bus, adopts large-scale programmable logic to realize, has high real-time performance and can be flexibly expanded; in the real-time control occasion in the high-speed data acquisition application, the real-time algorithm can acquire the high-speed acquired data quickly, accurately and without omission, and the data interaction method is simple, efficient and flexible, can realize flexible, quick and real-time data transmission, and does not influence the system performance.
Drawings
The structure and features of the present invention are further described below with reference to the drawings and examples.
Fig. 1 is a schematic diagram of the working principle of the present invention.
FIG. 2 is a flow chart of the present invention for high speed data during normal interaction.
FIG. 3 is a schematic diagram of the A-scenario in which high-speed data conflicts in interactions in the present invention.
FIG. 4 is a schematic diagram of the B-scenario in which high-speed data conflicts in interactions in the present invention.
FIG. 5 is a schematic diagram of the situation C when high-speed data conflicts in interactions in the present invention.
FIG. 6 is an embodiment of the invention employing an FPGA design to cache processing units for use in a control system.
Detailed Description
Referring to fig. 1, a high-speed Data real-time exchange processing device is disclosed, and the device comprises a Data acquisition analysis module U0, an input buffer module B0, a signal conflict processing module U1, an intermediate buffer module B1 and an output buffer module B2, wherein the Data acquisition analysis module U0 is respectively connected with the input buffer module B0 and the signal conflict processing module U1, the input buffer module B0 is respectively connected with a first control switch K1, the intermediate buffer module B1, a second control switch K2 and the output buffer module B2, the output buffer module B2 is connected with a processor bus, the output buffer module B2 transmits Data signals to the processor bus, the signal conflict processing module U1 is respectively connected with the first control switch K1 and the second control switch K2, and the read signals RD and Busy are mutually communicated between the signal conflict processing module U1 and the processor bus;
when the device works, the data acquisition analysis module U0 acquires and analyzes original high-speed bit stream data, the analyzed high-speed data is transmitted to the input buffer module B0, the output Ready mark is processed by the signal conflict processing module U1, a signal C1 is generated to conduct the first control switch K1, the high-speed data is transmitted to the middle buffer module B1, the upper computer reads the data of the middle buffer module B1 through the processor bus, after the signal conflict processing module U1 processes, a signal C2 is generated to conduct the second control switch K2, the data in the middle buffer module B1 after the connection is transmitted to the output buffer module B2, and the output buffer module B2 is read out in a time-sharing manner when the word length is installed under the control of bus reading.
Further, the signal conflict processing module U1 can realize coordination processing of two operations of cache updating and cache reading according to the sequence of the signals received by the intermediate cache module B1 and the read signals, so that simultaneous operation is avoided;
the intermediate buffer module B1 needs to apply a signal when acquiring new data and outputting new data each time, and if intermediate buffer cannot be immediately performed under the coordination of the signal conflict processing module U1, the buffer is detected after the buffer reading operation is completed, so as to avoid missing numbers.
Referring to fig. 2, in the case that no conflict occurs in the system, the update of the intermediate buffer and the buffer reading are performed at different time, and at this time, the data acquisition and analysis module U0 analyzes the effective data, updates the data input buffer at time T0, generates a Ready signal at time T1, updates the buffer B1 at time T2 under the control of the signal conflict processing module U1, and the RD signal arrives at time T3, and outputs the data to the buffer module B2 at time T4.
Figures 3-5 illustrate three embodiments of high-speed data when interactions collide, representing three scenarios when collisions occur:
a scenario: the start effective edge of the read signal is earlier than the start edge T5 of the cache update signal, the end edge of the read signal is earlier than the last system clock T7 in the defined time period of the cache update, when the read signal is invalid during the cache update operation, a C1 signal is immediately generated at the time T6 and the time T7, the first control switch K1 is controlled to be turned on, and the intermediate cache update is carried out in a complementary manner;
the B scene is that the initial effective edge of the read signal is earlier than the initial edge T5 of the cache update signal, but the final edge of the read signal is after the last system clock T7 in the defined time period of the cache update, at the moment, the cache update operation waits for the read signal to finish, and then a C1 signal is generated at the moment T6, and a first control switch K1 is conducted and controlled to perform the intermediate cache supplement update;
and C, the situation that the starting effective edge of a read signal is later than the starting edge T5 of a cache updating signal, the ending edge of the read signal is earlier than the moment T7, at the moment, a signal conflict processing module (U1) generates a Busy signal under the control of a CLK clock signal, then generates a C1 signal, controls a first control switch K1 to update the middle cache, an upper computer controller automatically delays and detects according to the Busy signal, generates a signal C2 at the moment T8 after waiting for the completion of the ongoing cache updating operation, controls a second control switch K2, and outputs the middle cache data to an output cache.
In fig. 6, an FPGA is used to design a cache processing unit according to the method principle, and the cache processing unit is successfully applied in a control system, wherein an input system clock CLK of the cache processing unit has a clock period of 10ns, input data including angle data and data flag signals are connected with an upper computer terminal through a bus, so that a path of angle data and the upper computer terminal are exchanged reliably at a high speed, the exchange rate of the path is 4KHZ, and through verification, a collision detection avoidance and delay compensation mechanism based on signal collision processing exchange logic is used, so that the problem of data exchange in the occasion of high real-time requirement is solved. The method can be realized by adopting large-scale programmable logic, has high real-time performance and can be flexibly expanded.
The embodiment of the invention adopts three-level buffer and one signal conflict processing exchange logic to realize the real-time intermediate buffer of high-speed data, reads the buffer data in real time under the control of a bus, adopts large-scale programmable logic to realize, has high instantaneity and can be flexibly expanded. In a real-time control occasion in high-speed data acquisition application, a real-time algorithm can acquire high-speed acquired data quickly, accurately and without omission, and the data interaction method is simple, efficient and flexible, can realize flexible, quick and real-time data transmission, and does not influence system performance; the signal conflict processing module in the embodiment of the invention has the function of preventing the cache from being updated at high speed and the intermediate cache from being read at the same time, and simultaneously ensuring the real-time performance of the system.
The above description is only of the preferred embodiments of the present invention, and the above embodiments are not intended to limit the present invention, and those skilled in the art may make modifications, adaptations or equivalent substitutions according to the above description, which fall within the scope of the present invention.

Claims (3)

1. A data interaction processing method of a high-speed data real-time exchange processing device is characterized by comprising the following steps of: the high-speed Data real-time exchange processing device comprises a Data acquisition analyzer, an input buffer, a signal conflict processor, an intermediate buffer and an output buffer, wherein the Data acquisition analyzer is respectively connected with the input buffer and the signal conflict processor, the input buffer is respectively connected with a first control switch, the intermediate buffer, a second control switch and an output buffer, the output buffer is connected with a bus processor, the output buffer transmits a Data signal Data to the bus processor, the signal conflict processor is respectively connected with the first control switch and the second control switch, and the signal conflict processor and the bus processor realize the intercommunication of a read signal RD and a Busy signal Busy;
when the high-speed data real-time exchange processing device works, the data acquisition analyzer acquires and analyzes original high-speed bit stream data, the analyzed high-speed data is transmitted to the input buffer, the output Ready signal Ready sign is processed by the signal conflict processor to generate a signal to conduct the first control switch, the high-speed data is transmitted to the middle buffer, the upper computer reads the data of the middle buffer through the bus processor, after the processing of the signal conflict processor, the signal to conduct the second control switch is generated, the data in the middle buffer after the conduction is transmitted to the output buffer, the output buffer is read out in a time-sharing mode under the control of bus reading, and particularly three situations exist when the high-speed data are in interaction conflict:
a scenario) the start valid edge of the read signal is earlier than the start edge T5 of the cache update signal, the end edge of the read signal is earlier than the last system clock T7 in the defined time period of the cache update, when the read signal is invalid during the cache update operation, a C1 signal is immediately generated at the time T6 and the time T7, and the first control switch K1 is turned on to perform the intermediate cache supplementary update;
b scenario) the reading signal start effective edge is earlier than the buffer update signal start edge T5, but the end edge is after the last system clock T7 in the buffer update definition time period, at this time, the buffer update operation waits for the reading signal to end and then generates a C1 signal at time T6, and the first control switch K1 is turned on to perform intermediate buffer supplementary update;
c scene) the reading signal start effective edge is later than the buffer updating signal start edge T5, the reading signal end edge is earlier than the time T7, at this moment, the signal conflict processor (U1) generates a Busy signal Busy under the control of a CLK clock signal, then generates a C1 signal, controls the first control switch K1 to update the intermediate buffer, the upper computer controller automatically delays and detects according to the Busy signal Busy, generates a signal C2 at the time T8 after waiting for the ongoing buffer updating operation to finish, and outputs the intermediate buffer data to the output buffer.
2. The data interaction processing method of the high-speed data real-time exchange processing device according to claim 1, wherein: the signal conflict processor can realize coordination processing of two operations of cache updating and cache reading according to the sequence of the signals received by the intermediate cache and the signals read by the intermediate cache, and avoid simultaneous operation.
3. The data interaction processing method of the high-speed data real-time exchange processing device according to claim 1, wherein: the intermediate buffer needs to apply for signals when new data is acquired and output each time, and if intermediate buffer cannot be immediately performed under the coordination of the signal conflict processor, supplementary detection is performed after the buffer reading operation is completed, so that the number leakage is avoided.
CN201811076252.7A 2018-09-14 2018-09-14 High-speed data real-time exchange processing device Active CN108829618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811076252.7A CN108829618B (en) 2018-09-14 2018-09-14 High-speed data real-time exchange processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811076252.7A CN108829618B (en) 2018-09-14 2018-09-14 High-speed data real-time exchange processing device

Publications (2)

Publication Number Publication Date
CN108829618A CN108829618A (en) 2018-11-16
CN108829618B true CN108829618B (en) 2023-09-29

Family

ID=64149875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811076252.7A Active CN108829618B (en) 2018-09-14 2018-09-14 High-speed data real-time exchange processing device

Country Status (1)

Country Link
CN (1) CN108829618B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4792926A (en) * 1985-12-09 1988-12-20 Kabushiki Kaisha Toshiba High speed memory system for use with a control bus bearing contiguous segmentially intermixed data read and data write request signals
JP2002033754A (en) * 2000-07-18 2002-01-31 Nec Microsystems Ltd Serial data transfer system, its control method, and communication system
CN101997490A (en) * 2009-08-26 2011-03-30 复旦大学 Constant gain time amplifier adopting digital calibration technology
CN102804152A (en) * 2009-05-15 2012-11-28 甲骨文美国公司 Cache coherent support for flash in a memory hierarchy
US8332590B1 (en) * 2008-06-25 2012-12-11 Marvell Israel (M.I.S.L.) Ltd. Multi-stage command processing pipeline and method for shared cache access
CN102857443A (en) * 2012-08-17 2013-01-02 华为技术有限公司 Data writing method, device and system
KR20140131781A (en) * 2013-05-06 2014-11-14 삼성전자주식회사 Memory control apparatus and method
CN209118264U (en) * 2018-09-14 2019-07-16 河南中光学集团有限公司 A kind of high-speed data real-time exchange processing unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8145844B2 (en) * 2007-12-13 2012-03-27 Arm Limited Memory controller with write data cache and read data cache

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4792926A (en) * 1985-12-09 1988-12-20 Kabushiki Kaisha Toshiba High speed memory system for use with a control bus bearing contiguous segmentially intermixed data read and data write request signals
JP2002033754A (en) * 2000-07-18 2002-01-31 Nec Microsystems Ltd Serial data transfer system, its control method, and communication system
US8332590B1 (en) * 2008-06-25 2012-12-11 Marvell Israel (M.I.S.L.) Ltd. Multi-stage command processing pipeline and method for shared cache access
CN102804152A (en) * 2009-05-15 2012-11-28 甲骨文美国公司 Cache coherent support for flash in a memory hierarchy
CN101997490A (en) * 2009-08-26 2011-03-30 复旦大学 Constant gain time amplifier adopting digital calibration technology
CN102857443A (en) * 2012-08-17 2013-01-02 华为技术有限公司 Data writing method, device and system
KR20140131781A (en) * 2013-05-06 2014-11-14 삼성전자주식회사 Memory control apparatus and method
CN209118264U (en) * 2018-09-14 2019-07-16 河南中光学集团有限公司 A kind of high-speed data real-time exchange processing unit

Also Published As

Publication number Publication date
CN108829618A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
Feiertag et al. A compositional framework for end-to-end path delay calculation of automotive systems under different path semantics
EP2816425B1 (en) Control device, image processing device, control method, computer-readable recording medium, and program
WO2017080274A1 (en) Multiprocessor system and clock synchronization method
JP5459807B2 (en) Debug signaling in multiprocessor data processing systems
US20100131692A1 (en) Bus bridge apparatus and bus bridge system
US20200218215A1 (en) Circuit for coupling a field bus and a local bus
US20100306430A1 (en) Bus control system and semiconductor integrated circuit
US7590146B2 (en) Information processing unit
CN102236623A (en) Signal control device and signal control method
CN103885421B (en) A kind of STD bus controller
CN102103564A (en) Method and system for realizing bus connection
US11347676B2 (en) Methods for managing communications involving a lockstep processing system
CN108829618B (en) High-speed data real-time exchange processing device
CN109067399B (en) Method for realizing ADC controller with multiple sampling rates
JP6290761B2 (en) Data transfer control system, data transfer control method, and data transfer control program
TWI750386B (en) Bus system
CN106844025B (en) Asynchronous interrupt processing method and interrupt controller
US11226790B2 (en) Arithmetic processing apparatus with delay-and-swap processing circuit
US8989203B2 (en) Electronic device, communication control method, and recording medium
CN110659236B (en) AXI bus transmission device capable of autonomously replying write response
CN209118264U (en) A kind of high-speed data real-time exchange processing unit
US9703730B2 (en) Arbitration circuit and processing method of arbitration circuit
CN111079922A (en) AXI-APB-based neural network interaction system, method, server and storage medium
EP3573342B1 (en) Multi-rate digital sensor synchronization
US9858221B2 (en) Producer/consumer remote synchronization

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
GR01 Patent grant
GR01 Patent grant