[go: up one dir, main page]

CN110543439B - Signal processing system - Google Patents

Signal processing system Download PDF

Info

Publication number
CN110543439B
CN110543439B CN201910854297.0A CN201910854297A CN110543439B CN 110543439 B CN110543439 B CN 110543439B CN 201910854297 A CN201910854297 A CN 201910854297A CN 110543439 B CN110543439 B CN 110543439B
Authority
CN
China
Prior art keywords
interface
signal
input
output
input signal
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
CN201910854297.0A
Other languages
Chinese (zh)
Other versions
CN110543439A (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.)
Southern University of Science and Technology
Original Assignee
Southern University of Science and Technology
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 Southern University of Science and Technology filed Critical Southern University of Science and Technology
Priority to CN201910854297.0A priority Critical patent/CN110543439B/en
Publication of CN110543439A publication Critical patent/CN110543439A/en
Application granted granted Critical
Publication of CN110543439B publication Critical patent/CN110543439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7817Specially adapted for signal processing, e.g. Harvard architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Stored Programmes (AREA)
  • Logic Circuits (AREA)

Abstract

The invention discloses a signal processing system, comprising: an input interface, a field programmable gate array module, and at least two output interfaces; the field programmable gate array module receives an input signal of external equipment through an input interface; the field programmable gate array module is used for detecting the interface type of the input signal, converting the input signal into a standard signal in a preset format if the interface type is a preset type, and outputting the standard signal through the first output interface; and if the interface type is a non-preset type, outputting an input signal through the second output interface. According to the technical scheme, the input signals are selectively processed according to the interface types, the input signals of the interfaces of the preset type are output after being converted, the input signals of the interfaces of the non-preset type are directly output from different output interfaces, the input signals of the two types of interfaces are respectively processed, and the efficiency of signal format conversion is improved.

Description

一种信号处理系统a signal processing system

技术领域technical field

本发明实施例涉及信号处理技术领域,尤其涉及一种信号处理系统。Embodiments of the present invention relate to the technical field of signal processing, and in particular, to a signal processing system.

背景技术Background technique

在对不同设备的信号进行采集和整合的过程中,要求不同设备的信号具有相同的格式,便于识别和处理。但实际应用中,不同设备的信号的格式通常不一致。例如,将眼动仪、动作捕捉设备的信号输入至脑电仪进行整合时,眼动仪和动作捕捉设备输入的信号具有各自的格式和时间戳,例如,输入信号中可能包括循环信号、频率固定的持续时钟信号、持续高电平信号等,这些不同格式的输入信号不能直接被脑电仪识别和运用,而是需要先转换为标准格式信号才能进一步处理。In the process of collecting and integrating signals from different devices, the signals from different devices are required to have the same format for easy identification and processing. However, in practical applications, the formats of signals of different devices are usually inconsistent. For example, when signals from eye trackers and motion capture devices are input to the EEG for integration, the signals input from the eye tracker and motion capture devices have their own formats and time stamps. For example, the input signals may include cyclic signals, frequency Fixed continuous clock signals, continuous high-level signals, etc. These input signals in different formats cannot be directly recognized and used by the EEG, but need to be converted into standard format signals before further processing.

现有的信号格式转换方法对采集到的所有信号都进行转换,无法对输入信号进行选择性的处理,导致信号格式转换的延迟高、效率低。The existing signal format conversion method converts all the collected signals, and cannot selectively process the input signal, resulting in high delay and low efficiency of signal format conversion.

发明内容Contents of the invention

本发明提供了一种信号处理系统,以提高信号格式转换的效率。The invention provides a signal processing system to improve the efficiency of signal format conversion.

本发明实施例提供了一种信号处理系统,包括:An embodiment of the present invention provides a signal processing system, including:

输入接口、现场可编程门阵列模块以及至少两个输出接口,所述现场可编程门阵列模块分别与所述输入接口和所述输出接口连接;所述现场可编程门阵列模块通过所述输入接口接收外部设备的输入信号;An input interface, a field programmable gate array module and at least two output interfaces, the field programmable gate array module is connected to the input interface and the output interface respectively; the field programmable gate array module passes through the input interface Receive input signals from external devices;

所述现场可编程门阵列模块用于检测所述输入信号的接口类型,若所述接口类型为预设类型,则将所述输入信号转换为预设格式的标准信号,并通过第一输出接口输出所述标准信号;若所述接口类型为非预设类型,则通过第二输出接口输出所述输入信号。The field programmable gate array module is used to detect the interface type of the input signal, if the interface type is a preset type, convert the input signal into a standard signal in a preset format, and pass the first output interface Outputting the standard signal; if the interface type is not a preset type, outputting the input signal through a second output interface.

所述现场可编程门阵列模块具体用于检测所述输入信号与预设格式是否匹配,若不匹配,则将所述输入接口的接口类型标记为预设类型。The field programmable gate array module is specifically used to detect whether the input signal matches a preset format, and if not, mark the interface type of the input interface as a preset type.

进一步的,所述输入接口至少为两个,所述现场可编程门阵列模块包括:Further, there are at least two input interfaces, and the field programmable gate array module includes:

接口标识识别单元,用于识别所述输入信号对应的输入接口的接口标识;an interface identification identification unit, configured to identify the interface identification of the input interface corresponding to the input signal;

接口类型识别单元,用于根据所述接口标识与接口类型的映射关系确定所述接口类型。An interface type identifying unit, configured to determine the interface type according to the mapping relationship between the interface identifier and the interface type.

进一步的,所述现场可编程门阵列模块还包括:Further, the field programmable gate array module also includes:

信号提取单元,用于提取所述输入信号中第一次出现的高电平;a signal extraction unit, configured to extract the high level that appears for the first time in the input signal;

信号调整单元,用于将所述高电平的持续时间调整为预设时长,得到所述标准信号;a signal adjustment unit, configured to adjust the duration of the high level to a preset duration to obtain the standard signal;

第一信号输出单元,用于通过第一输出接口输出所述标准信号。The first signal output unit is configured to output the standard signal through the first output interface.

进一步的,所述输入信号包括至少两个电平信号,所述现场可编程门阵列模块还包括:Further, the input signal includes at least two level signals, and the field programmable gate array module further includes:

信号解码单元,用于将所述输入信号解码成至少两个并行的预设格式的标准信号;A signal decoding unit, configured to decode the input signal into at least two parallel standard signals in a preset format;

第二信号输出单元,用于通过第一输出接口输出并行的标准信号。The second signal output unit is configured to output parallel standard signals through the first output interface.

进一步的,所述信号解码单元,具体用于:Further, the signal decoding unit is specifically used for:

提取所述输入信号中每个电平信号中第一次出现的高电平;Extracting the high level that appears for the first time in each level signal in the input signal;

将各所述高电平的持续时间调整为预设时长,得到所述的标准信号。The duration of each high level is adjusted to a preset duration to obtain the standard signal.

本发明实施例提供了一种信号处理系统,包括:输入接口、现场可编程门阵列模块以及至少两个输出接口,现场可编程门阵列模块分别与输入接口和输出接口连接;现场可编程门阵列模块通过输入接口接收外部设备的输入信号;现场可编程门阵列模块用于检测输入信号的接口类型,若接口类型为预设类型,则将输入信号转换为预设格式的标准信号,并通过第一输出接口输出标准信号;若接口类型为非预设类型,则通过第二输出接口输出输入信号。上述技术方案根据接口类型对输入信号进行选择性处理,对预设类型接口的输入信号转换后输出,对非预设类型接口的输入信号直接从不同的输出接口输出,实现了对两种类型接口的输入信号的分别处理,提高信号格式转换的效率。An embodiment of the present invention provides a signal processing system, including: an input interface, a field programmable gate array module and at least two output interfaces, the field programmable gate array module is connected to the input interface and the output interface respectively; The module receives the input signal of the external device through the input interface; the field programmable gate array module is used to detect the interface type of the input signal, if the interface type is the preset type, the input signal is converted into a standard signal of the preset format, and passed through the first An output interface outputs a standard signal; if the interface type is a non-preset type, the input signal is output through the second output interface. The above technical solution selectively processes the input signal according to the interface type, converts the input signal of the preset type interface and outputs it, and directly outputs the input signal of the non-preset type interface from different output interfaces, realizing the realization of the two types of interface The separate processing of the input signal improves the efficiency of signal format conversion.

附图说明Description of drawings

图1为本发明实施例一提供的一种信号处理系统的结构示意图;FIG. 1 is a schematic structural diagram of a signal processing system provided by Embodiment 1 of the present invention;

图2为本发明实施例一提供的一种信号处理系统的原理示意图;FIG. 2 is a schematic diagram of the principle of a signal processing system provided by Embodiment 1 of the present invention;

图3为本发明实施例二提供的一种信号处理系统的结构示意图;FIG. 3 is a schematic structural diagram of a signal processing system provided by Embodiment 2 of the present invention;

图4为本发明实施例二中的输入信号的示意图;FIG. 4 is a schematic diagram of an input signal in Embodiment 2 of the present invention;

图5为本发明实施例二中的输出信号的示意图。FIG. 5 is a schematic diagram of output signals in Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的一种信号处理系统的结构示意图。本实施例可适用于对外部设备的输入信号进行处理,保证其符合标准格式以供其他设备直接识别和利用的情况。具体的,如图1所示,该系统包括:输入接口10、现场可编程门阵列模块20以及至少两个输出接口30,现场可编程门阵列模块20分别与输入接口10和输出接口30连接;现场可编程门阵列模块20通过输入接口10接收外部设备的输入信号;现场可编程门阵列模块20用于检测输入信号的接口类型,若接口类型为预设类型,则将输入信号转换为预设格式的标准信号,并通过第一输出接口31输出标准信号;若接口类型为非预设类型,则通过第二输出接口32输出输入信号。FIG. 1 is a schematic structural diagram of a signal processing system provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the input signal of the external device is processed to ensure that it conforms to a standard format for direct identification and utilization by other devices. Specifically, as shown in Figure 1, the system includes: an input interface 10, a field programmable gate array module 20 and at least two output interfaces 30, and the field programmable gate array module 20 is connected to the input interface 10 and the output interface 30 respectively; Field programmable gate array module 20 receives the input signal of external equipment through input interface 10; Field programmable gate array module 20 is used for detecting the interface type of input signal, if interface type is preset type, then input signal is converted into preset format, and output the standard signal through the first output interface 31; if the interface type is not a preset type, then output the input signal through the second output interface 32.

具体的,接口类型为预设类型是指,该接口所输入的输入信号不符合预设格式、需要经过格式转换后再输出;非预设类型是指,该接口所输入的输入信号符合预设格式,可直接输出。需要说明的是,第一输出接口31和第二输出接口32分别可以为一个,也可以为多个。本实施例中,第一输出接口31指用于输出经过转换的标准信号的一类接口,第二输出接口32指用于直接输出非预设类型的接口所输入的输入信号的一类接口。Specifically, the interface type is the preset type means that the input signal input by the interface does not conform to the preset format and needs to be output after format conversion; the non-preset type means that the input signal input by the interface conforms to the preset format. format, which can be output directly. It should be noted that there may be one or more first output interfaces 31 and second output interfaces 32 respectively. In this embodiment, the first output interface 31 refers to a type of interface for outputting converted standard signals, and the second output interface 32 refers to a type of interface for directly outputting an input signal input by an interface of a non-preset type.

本实施例中,第一输出接口31和第二输出接口32可软定义。例如,在不拆解设备的情况下,可通过软定义的方式,预定义哪些输出接口是第一输出接口31,哪些输出接口是第二输出接口32,具体可根据实际需求定义。这种情况下,所述系统还包括用于升级固件的接口。In this embodiment, the first output interface 31 and the second output interface 32 can be soft-defined. For example, without dismantling the device, which output interfaces are the first output interface 31 and which output interfaces are the second output interface 32 can be predefined by means of soft definition, which can be specifically defined according to actual needs. In this case, the system also includes an interface for upgrading the firmware.

可选的,输入接口10至少为两个,所述系统可用于同步处理各输入接口10的触发信号(Trigger Signal)。Optionally, there are at least two input interfaces 10, and the system can be used to synchronously process the trigger signal (Trigger Signal) of each input interface 10.

可选的,现场可编程门阵列模块20具体用于检测输入信号与预设格式是否匹配,若不匹配,则将输入接口10的接口类型标记为预设类型。Optionally, the field programmable gate array module 20 is specifically used to detect whether the input signal matches the preset format, and if not, mark the interface type of the input interface 10 as the preset type.

具体的,输入接口10的接口类型可以是由现场可编程门阵列模块20标记的。例如,信号处理系统中共有5个输入接口,输入接口1接收到了外部设备提供的输入信号,此时,现场可编程门阵列模块20检测到该输入信号与预设格式不匹配,则将输入接口101标记为预设类型,对于预设类型的接口的输入信号,转换为预设格式的标准信号,并通过第一输出接口31输出。又如,输入接口2接收到了外部设备提供的输入信号,现场可编程门阵列模块20检测到该输入信号与预设格式匹配,则将输入接口2标记为非预设类型,对于非预设类型的接口的输入信号直接通过第二输出接口32输出。Specifically, the interface type of the input interface 10 may be marked by the field programmable gate array module 20 . For example, there are five input interfaces in the signal processing system, and input interface 1 has received an input signal provided by an external device. At this time, the field programmable gate array module 20 detects that the input signal does not match the preset format, and the input interface 101 is marked as a preset type, and the input signal of the interface of the preset type is converted into a standard signal of the preset format and output through the first output interface 31 . As another example, input interface 2 receives an input signal provided by an external device, and the field programmable gate array module 20 detects that the input signal matches a preset format, then marks input interface 2 as a non-preset type, and for a non-preset type The input signal of the interface is directly output through the second output interface 32.

可选的,输入接口10的接口类型也可以是预先设定的。现场可编程门阵列模块20检测到输入信号后,识别该输入信号所在的输入接口10的接口类型,以进行信号处理。例如,输入接口3为预设类型的接口,当现场可编程门阵列模块20检测到输入接口3的输入信号后,将其转换为标准信号从第一输出接口31输出。Optionally, the interface type of the input interface 10 may also be preset. After detecting the input signal, the FPGA module 20 identifies the interface type of the input interface 10 where the input signal is located for signal processing. For example, the input interface 3 is a preset type of interface. When the FPGA module 20 detects the input signal of the input interface 3 , it converts it into a standard signal and outputs it from the first output interface 31 .

可选的,在外部设备种类较少、为常用设备、输入信号的种类较为固定的情况下,可以预先设定接口类型,各种输入信号从对应的输入接口10输入,现场可编程门阵列模块20接收到输入信号后,无需再对输入信号的格式进行判断,通过识别接口的编号、标识即可确定接口类型,并据此进行信号处理,提高转换效率。在外部设备种类较多、不常用、输入信号的种类复杂多变的情况下,输入接口10的接口类型由现场可编程门阵列模块20根据实际接收到的输入信号进行标记,实际接收到的输入信号与预设格式不匹配,则标记为预设类型并进行格式转换,否则标记为非预设类型,从而对于多样的输入信号,能够保证识别到每一个与预设格式不匹配的信号,提高可靠性。Optionally, when there are few types of external equipment, commonly used equipment, and the types of input signals are relatively fixed, the interface type can be preset, and various input signals are input from the corresponding input interface 10, and the field programmable gate array module 20 After receiving the input signal, there is no need to judge the format of the input signal. The interface type can be determined by identifying the number and logo of the interface, and the signal processing is performed accordingly to improve the conversion efficiency. When there are many types of external devices, which are not commonly used, and the types of input signals are complex and changeable, the interface type of the input interface 10 is marked by the field programmable gate array module 20 according to the actually received input signal, and the actually received input If the signal does not match the preset format, it will be marked as the preset type and format converted, otherwise it will be marked as the non-preset type, so that for various input signals, it can ensure that every signal that does not match the preset format can be identified and improved. reliability.

图2为本发明实施例一提供的一种信号处理系统的原理示意图。如图2所示,输入接口可以为多个;现场可编程门阵列(Field-Programmable Gate Array,FPGA)模块作为信号处理的控制模块;输出接口可以为多个,其中,Parallel 1至n用于输出单独的信号,Serial 1-1至1-n可用于输出一个数据包解码后得到的多个并行信号。需要说明的是,在输入接口只有一个的情况下,接口类型不是预先设定,而是在每次检测到输入信号后,由FPGA模块标识该输入接口的接口类型。FIG. 2 is a schematic diagram of a signal processing system provided by Embodiment 1 of the present invention. As shown in Figure 2, the input interface can be multiple; the field programmable gate array (Field-Programmable Gate Array, FPGA) module is used as the control module of signal processing; the output interface can be multiple, wherein, Parallel 1 to n are used for Output a separate signal, Serial 1-1 to 1-n can be used to output multiple parallel signals obtained after decoding a data packet. It should be noted that when there is only one input interface, the interface type is not preset, but the FPGA module identifies the interface type of the input interface after each input signal is detected.

本发明实施例一提供的一种信号处理系统。通过现场可编程门阵列模块检测所述输入信号的接口类型,将预设类型的接口的输入信号转换为预设格式的标准信号,并通过第一输出接口输出,将非预设类型的接口的输入信号直接通过第二输出接口输出,降低了信号处理的延迟;根据接口类型对输入信号进行选择性处理,实现了对两种类型接口的输入信号的分别处理,提高信号格式转换的效率。Embodiment 1 of the present invention provides a signal processing system. Detect the interface type of the input signal through the field programmable gate array module, convert the input signal of the interface of the preset type into a standard signal of the preset format, and output it through the first output interface, and convert the input signal of the interface of the non-preset type The input signal is directly output through the second output interface, which reduces the delay of signal processing; the input signal is selectively processed according to the interface type, realizing the separate processing of the input signals of the two types of interfaces, and improving the efficiency of signal format conversion.

实施例二Embodiment two

图3为本发明实施例二提供的一种信号处理系统的结构示意图。本实施例是在上述实施例的基础上进行优化,对检测输入信号的接口类型以及输入信号的转换过程进行具体描述。未在本实施例中详尽描述的技术细节可参见上述任意实施例。FIG. 3 is a schematic structural diagram of a signal processing system provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, and specifically describes the interface type for detecting the input signal and the conversion process of the input signal. For technical details not exhaustively described in this embodiment, reference may be made to any of the foregoing embodiments.

如图3所示,输入接口10至少为两个。现场可编程门阵列模块20包括:接口标识识别单元21,用于识别输入信号对应的输入接口的接口标识;接口类型识别单元22,用于根据接口标识与接口类型的映射关系确定接口类型。As shown in FIG. 3 , there are at least two input interfaces 10 . The FPGA module 20 includes: an interface identification unit 21 for identifying the interface identification of the input interface corresponding to the input signal; an interface type identification unit 22 for determining the interface type according to the mapping relationship between the interface identification and the interface type.

具体的,本实施例中,输入接口10的接口类型预先设定,接口标识与接口类型的映射关系数据存储在系统中。检测到输入信号后,通过接口标识识别单元21识别接口标识,并通过接口类型识别单元22读取映射关系数据即可确定对应的接口类型。Specifically, in this embodiment, the interface type of the input interface 10 is preset, and the mapping relationship data between the interface identifier and the interface type is stored in the system. After the input signal is detected, the interface identification is identified by the interface identification identification unit 21, and the corresponding interface type is determined by reading the mapping relation data by the interface type identification unit 22.

进一步的,现场可编程门阵列模块20还包括:信号提取单元23,用于提取输入信号中第一次出现的高电平;信号调整单元24,用于将高电平的持续时间调整为预设时长,得到标准信号;第一信号输出单元25,用于通过第一输出接口31输出标准信号。Further, the field programmable gate array module 20 also includes: a signal extraction unit 23, which is used to extract the first high level in the input signal; a signal adjustment unit 24, which is used to adjust the duration of the high level to a predetermined Set the duration to obtain a standard signal; the first signal output unit 25 is configured to output the standard signal through the first output interface 31 .

具体的,信号提取单元23和信号调整单元24用于将输入信号转换为符合预设格式的标准信号。本实施例中,预设格式可以为将输入信号中第一次出现的高电平持续1秒,即标准信号中只有1秒的高电平,对应于输入信号中第一次出现的高电平的位置,从而实现信号格式的转换,以满足统一时间格式的需求。例如,来自不同外部设备的输入信号转换为标准信号后,根据标准信号即可直接识别到信号源中第一次高电平出现的位置(或时间)并读取相应的数据。Specifically, the signal extraction unit 23 and the signal adjustment unit 24 are used to convert the input signal into a standard signal conforming to a preset format. In this embodiment, the preset format can be that the first high level in the input signal lasts for 1 second, that is, the standard signal only has a high level for 1 second, corresponding to the first high level in the input signal. Flat position, so as to realize the conversion of the signal format to meet the requirements of a unified time format. For example, after the input signals from different external devices are converted into standard signals, the position (or time) where the first high level appears in the signal source can be directly identified according to the standard signals and the corresponding data can be read.

进一步的,输入信号包括至少两个电平信号,现场可编程门阵列模块20还包括:信号解码单元26,用于将输入信号解码成至少两个并行的预设格式的标准信号;第二信号输出单元27,用于通过第一输出接口31输出并行的标准信号。Further, the input signal includes at least two level signals, and the field programmable gate array module 20 also includes: a signal decoding unit 26, which is used to decode the input signal into at least two parallel standard signals in a preset format; the second signal The output unit 27 is configured to output parallel standard signals through the first output interface 31 .

具体的,输入信号为包括至少两个电平信号的数据包,信号解码单元26用于在转换格式的过程中将数据包解码成并行的预设格式的标准信号,第二信号输出单元27用于将这些并行的标准信号从不同的第一输出接口31输出,得到多路输出信号,解码和转换同步进行,提高格式转换的效率。Specifically, the input signal is a data packet including at least two level signals, and the signal decoding unit 26 is used to decode the data packet into a standard signal of a parallel preset format during the format conversion process, and the second signal output unit 27 uses These parallel standard signals are output from different first output interfaces 31 to obtain multiple output signals, and the decoding and conversion are performed synchronously to improve the efficiency of format conversion.

进一步的,信号解码单元26,具体用于:提取输入信号中每个电平信号中第一次出现的高电平;将各高电平的持续时间调整为预设时长,得到并行的标准信号。本实施例中,信号解码单元26对数据包中的每个电平信号分别进行转换,得到并行的标准信号。Further, the signal decoding unit 26 is specifically used to: extract the high level that appears for the first time in each level signal in the input signal; adjust the duration of each high level to a preset duration to obtain a parallel standard signal . In this embodiment, the signal decoding unit 26 respectively converts each level signal in the data packet to obtain parallel standard signals.

下面通过实例对信号处理过程进行说明。表1为输入信号与输出信号的映射关系表。如表1所示,不同的输入接口对应的输入信号可能不同,对应的输出接口也可能不同,其中,Parallel 1至Parallel n的输入信号为单独的电平信号,而Serial 1和Serial n的输入信号为数据包,则将数据包中的信号转换为预设格式的标准信号的过程中,对其解码得到并行信号,从多个输出接口并行输出。转换为预设格式的规则为采集第一次出现的高电平并持续1秒。The signal processing process is described below through an example. Table 1 is a mapping relationship between input signals and output signals. As shown in Table 1, the input signals corresponding to different input interfaces may be different, and the corresponding output interfaces may also be different. Among them, the input signals from Parallel 1 to Parallel n are separate level signals, while the input signals of Serial 1 and Serial n If the signal is a data packet, in the process of converting the signal in the data packet into a standard signal with a preset format, it is decoded to obtain a parallel signal, which is output in parallel from multiple output interfaces. The rule of converting to the preset format is to collect the first high level and last for 1 second.

表1输入信号与输出信号的映射关系表Table 1 Mapping relation between input signal and output signal

Figure BDA0002197855550000081
Figure BDA0002197855550000081

需要说明的是,预设格式可根据实际需求设定,信号处理系统的作用是对各种外部设备提供的输入信号进行处理,输出符合预设格式的标准信号,可供特定的设备识别和处理,本实施例不限定预设规则的具体内容和设定方式。It should be noted that the preset format can be set according to actual needs. The function of the signal processing system is to process the input signals provided by various external devices, and output standard signals conforming to the preset format, which can be recognized and processed by specific devices. , this embodiment does not limit the specific content and setting method of the preset rule.

图4为本发明实施例二中的输入信号的示意图。如图4所示,输入接口Parallel 1至Parallel n对应的输入信号都是单独的电平信号,Serial 1和Serial n对应的输入信号为数据包。FIG. 4 is a schematic diagram of input signals in Embodiment 2 of the present invention. As shown in Figure 4, the input signals corresponding to the input interfaces Parallel 1 to Parallel n are all separate level signals, and the input signals corresponding to Serial 1 and Serial n are data packets.

图5为本发明实施例二中的输出信号的示意图。以图4中Parallel 1的输入信号为例,该输入信号为1秒高电平、9秒低电平的循环信号,经过转换后,得到的是如图5中Parallel所示的只有在第一秒有1秒的高电平,对应于原始的输入信号中第一次出现的高电平的位置,从而实现信号格式的转换。而对于图4中Serial 1所示的数据包输入信号,经过转换后,得到的是如图5中Serial 1-1至1-n所示的并行信号。FIG. 5 is a schematic diagram of output signals in Embodiment 2 of the present invention. Take the input signal of Parallel 1 in Figure 4 as an example. The input signal is a cycle signal with a high level for 1 second and a low level for 9 seconds. The second has a high level of 1 second, corresponding to the position of the first high level in the original input signal, so as to realize the conversion of the signal format. For the packet input signal shown in Serial 1 in Figure 4, after conversion, the parallel signals shown in Serial 1-1 to 1-n in Figure 5 are obtained.

可选的,现场可编程门阵列模块20由FPGA最小系统构成。FPGA最小系统包括:芯片、电源、外部时钟、复位电路、下载与调试电路以及存储器。所述FPGA最小系统配置为,符合预设格式的输入信号将被直接输出,而不符合预设格式的输入信号经过转换后从对应的输出接口输出,同时,串行信号可被解码为多个通道的并行信号。Optionally, the field programmable gate array module 20 is constituted by an FPGA minimum system. FPGA minimum system includes: chip, power supply, external clock, reset circuit, download and debug circuit, and memory. The minimum system configuration of the FPGA is that the input signal conforming to the preset format will be directly output, and the input signal not conforming to the preset format will be output from the corresponding output interface after being converted. At the same time, the serial signal can be decoded into multiple channel parallel signals.

本发明实施例二提供的一种信号处理系统,在上述实施例的基础上进行优化,通过FPGA模块检测所述输入信号的接口类型,可实现对输入信号的快速判断和选择,对预设类型的接口输入的输入信号进行转换,对其他接口输入的输入信号直接输出,并且转换过程中可实现串行信号解码成并行信号,利用较少的数字器件即可实现转换和解码,提高信号格式转换的效率。The signal processing system provided by the second embodiment of the present invention is optimized on the basis of the above-mentioned embodiment, and the interface type of the input signal is detected by the FPGA module, which can realize the rapid judgment and selection of the input signal, and the preset type The input signal input by the interface is converted, and the input signal input by other interface is directly output, and the serial signal can be decoded into a parallel signal during the conversion process, and the conversion and decoding can be realized by using fewer digital devices, and the signal format conversion is improved. s efficiency.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, rearrangements and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (4)

1.一种信号处理系统,其特征在于,包括:输入接口、现场可编程门阵列模块以及至少两个输出接口,所述现场可编程门阵列模块分别与所述输入接口和所述输出接口连接;所述现场可编程门阵列模块通过所述输入接口接收外部设备的输入信号;其中,所述输入接口至少为两个;1. A signal processing system, characterized in that, comprising: an input interface, a Field Programmable Gate Array module and at least two output interfaces, and the Field Programmable Gate Array module is connected to the input interface and the output interface respectively ; The field programmable gate array module receives an input signal from an external device through the input interface; wherein, there are at least two input interfaces; 所述现场可编程门阵列模块用于检测所述输入信号的接口类型,若所述接口类型为预设类型,则将所述输入信号转换为预设格式的标准信号,并通过第一输出接口输出所述标准信号;若所述接口类型为非预设类型,则通过第二输出接口输出所述输入信号;The field programmable gate array module is used to detect the interface type of the input signal, if the interface type is a preset type, convert the input signal into a standard signal in a preset format, and pass the first output interface Outputting the standard signal; if the interface type is a non-preset type, outputting the input signal through a second output interface; 其中,所述现场可编程门阵列模块,包括:Wherein, the field programmable gate array module includes: 接口标识识别单元,用于识别所述输入信号对应的输入接口的接口标识;an interface identification identification unit, configured to identify the interface identification of the input interface corresponding to the input signal; 接口类型识别单元,用于根据所述接口标识与接口类型的映射关系确定所述接口类型;An interface type identification unit, configured to determine the interface type according to the mapping relationship between the interface identifier and the interface type; 信号提取单元,用于提取所述输入信号中第一次出现的高电平;a signal extraction unit, configured to extract the high level that appears for the first time in the input signal; 信号调整单元,用于将所述高电平的持续时间调整为预设时长,得到所述标准信号;a signal adjustment unit, configured to adjust the duration of the high level to a preset duration to obtain the standard signal; 第一信号输出单元,用于通过第一输出接口输出所述标准信号。The first signal output unit is configured to output the standard signal through the first output interface. 2.根据权利要求1所述的系统,其特征在于,所述现场可编程门阵列模块具体用于检测所述输入信号与预设格式是否匹配,若不匹配,则将所述输入接口的接口类型标记为预设类型。2. The system according to claim 1, wherein the field programmable gate array module is specifically used to detect whether the input signal matches a preset format, and if not match, the interface of the input interface Types are marked as preset types. 3.根据权利要求1或2所述的系统,其特征在于,所述输入信号包括至少两个电平信号,所述现场可编程门阵列模块还包括:3. The system according to claim 1 or 2, wherein the input signal comprises at least two level signals, and the field programmable gate array module further comprises: 信号解码单元,用于将所述输入信号解码成至少两个并行的预设格式的标准信号;A signal decoding unit, configured to decode the input signal into at least two parallel standard signals in a preset format; 第二信号输出单元,用于通过第一输出接口输出并行的标准信号。The second signal output unit is configured to output parallel standard signals through the first output interface. 4.根据权利要求3所述的系统,其特征在于,所述信号解码单元,具体用于:4. The system according to claim 3, wherein the signal decoding unit is specifically used for: 提取所述输入信号中每个电平信号中第一次出现的高电平;Extracting the high level that appears for the first time in each level signal in the input signal; 将各所述高电平的持续时间调整为预设时长,得到并行的标准信号。The duration of each high level is adjusted to a preset duration to obtain parallel standard signals.
CN201910854297.0A 2019-09-10 2019-09-10 Signal processing system Active CN110543439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910854297.0A CN110543439B (en) 2019-09-10 2019-09-10 Signal processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910854297.0A CN110543439B (en) 2019-09-10 2019-09-10 Signal processing system

Publications (2)

Publication Number Publication Date
CN110543439A CN110543439A (en) 2019-12-06
CN110543439B true CN110543439B (en) 2023-05-12

Family

ID=68713364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910854297.0A Active CN110543439B (en) 2019-09-10 2019-09-10 Signal processing system

Country Status (1)

Country Link
CN (1) CN110543439B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016000376A1 (en) * 2014-06-30 2016-01-07 中兴通讯股份有限公司 Signal processing method and signal processing apparatus based on pci-e interfaces
CN105809940A (en) * 2016-03-08 2016-07-27 江苏港湾智广科技有限公司 Communication signal processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101329014B1 (en) * 2008-10-30 2013-11-12 삼성전자주식회사 Apparatus and method for controlling mode of switching ic in a portable device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016000376A1 (en) * 2014-06-30 2016-01-07 中兴通讯股份有限公司 Signal processing method and signal processing apparatus based on pci-e interfaces
CN105809940A (en) * 2016-03-08 2016-07-27 江苏港湾智广科技有限公司 Communication signal processing system

Also Published As

Publication number Publication date
CN110543439A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
WO2017193795A1 (en) Data transmission method and device for mobile terminal
CN104361374A (en) Collecting and processing system and method of radio-frequency signals
CN102298565A (en) Method for decoding and triggering asynchronous serial bus signals
CN110543439B (en) Signal processing system
CN105100813A (en) A video image preprocessing method and device
KR20180008196A (en) Baseband Integrated Circuit for communicating with RF Integrated Circuit using digital interface And Apparatus including the same
CN104361373A (en) Collecting and processing method of radio-frequency signals
CN107273322B (en) Parallel data output method and device
CN118611760A (en) Signal processing method, device, non-volatile storage medium and computer equipment
CN103699892A (en) Recognition device for electronic certificates, and trigger method thereof
CN109726604B (en) Data exchange communication method between contact card and terminal
CN115865276A (en) Unmanned aerial vehicle data processing system and method and electronic equipment
CN1677376B (en) Data generating device, data receiving device and image-data processing device
CN104009825B (en) FM0 coded data decoding device for ETC system
CN204795392U (en) Found equipment of different structure information structure ization of special equipment
CN204242207U (en) A kind of Acquire and process system of radiofrequency signal
TW201619823A (en) Testing apparatus and method for CPU serial voltage identification signal
WO2017113360A1 (en) Method, system and device for data analysis
CN107786309B (en) Chip data transmission method and system free of clock synchronization and electronic equipment
US9606857B2 (en) Electronic control unit
CN104536922A (en) Sensor data reading, converting and storing system in intelligent granary
CN206177352U (en) Multi -path sensor data acquisition device
CN106126466B (en) A kind of parallel data becomes the transmission method of serial data
US9602384B2 (en) Semiconductor integrated circuit and test method thereof
CN105024674B (en) A kind of asynchronous reset

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