A data processing device

Through the combination of parallel-to-serial chip and serial-to-parallel chip, the IO interface of the data processing equipment is expanded, which solves the problem of limited number of existing equipment interfaces and achieves low-cost, small-space expansion and improved stability.

CN114461567BActive Publication Date: 2024-10-18ZHEJIANG HECHUAN TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210198064.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-01
Publication Date
2024-10-18
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

Existing data processing equipment has a limited number of input and output interfaces, making it difficult to expand in a small space at low cost.

Method used

Through the combination of parallel-to-serial chips and serial-to-parallel chips, the number of IO interfaces of data processing equipment is expanded. The small size and low cost of these chips are used to save the number of pins of logic processing chips, and the interfaces are determined through level setting circuits. quantity.

Benefits of technology

It realizes the expansion of IO interfaces of data processing equipment, reduces cost and volume, and increases the number of interfaces to meet most interface requirements and ensure stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461567B_ABST
    Figure CN114461567B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing device. In order to save the number of pins on a logic processing chip, in the present application, multiple parallel-to-serial chips can be connected through a first serial port of the logic processing chip, and multiple serial-to-parallel chips can be connected through a second serial port. In this way, input data of multiple input interfaces provided by the parallel-to-serial chip can all be input into the logic processing chip through the first serial port, and the logic processing chip can also output a large amount of data to a designated output interface through the second serial port. Since the parallel-to-serial chip and the serial-to-parallel chip themselves have the characteristics of small size and low cost, the present application saves costs and controls the size of the data processing device while expanding the number of IOs of the data processing device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chips, and in particular to a data processing device. Background Art

[0002] In the era of big data, there are various data processing devices (such as PLC (Programmable Logic Controller), etc.). Currently, many data processing devices have a large demand for input interfaces and output interfaces. However, the number of input interfaces and output interfaces that can be provided by the logic processing chip itself (used for logical processing of data) in the data processing device is limited. How to expand the number of input and output interfaces IO of the data processing device at low cost and in a small space is a technical problem that needs to be solved urgently.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0004] The purpose of the present invention is to provide a data processing device. Since the parallel-to-serial chip and the serial-to-parallel chip themselves have the characteristics of small size and low cost, this application saves costs and controls the size of the data processing device while expanding the IO number of the data processing device.

[0005] In order to solve the above technical problems, the present invention provides a data processing device, comprising:

[0006] A main control device, used for sending the data to be processed to the logic processing chip;

[0007] The logic processing chip connected to the main control device is used to provide multiple input interfaces and multiple output interfaces, perform specified logic processing on the data to be processed and send it to the specified output interface, and perform specified logic processing on the data received from the input interface and send it to the specified main control device or the output interface;

[0008] A plurality of parallel-to-serial chips connected in series and having one end connected to the first serial port of the logic processing chip, used for converting parallel data input from a plurality of input interfaces provided by the chips into serial data and then sending the serial data to the logic processing chip;

[0009] A plurality of serial-to-parallel chips connected in series and having one end connected to the second serial port of the logic processing chip are used to convert the serial data sent by the logic processing chip into parallel data and output it through a plurality of output interfaces provided by themselves.

[0010] Preferably, the data processing device further includes:

[0011] The level setting circuit connected to the input interface provided by the parallel-to-serial chip closest to the logic processing chip is used to set the level combination of each connected input interface to a preset combination, so as to determine the total number of input interfaces provided by the parallel-to-serial chip and the total number of output interfaces provided by the serial-to-parallel chip through the preset combination.

[0012] Preferably, the level setting circuit includes a level pull-up circuit and a level pull-down circuit.

[0013] Preferably, the main control device is an ARM processor.

[0014] Preferably, the logic processing chip is a field programmable gate array FPGA or a complex programmable logic device CPLD.

[0015] Preferably, the first serial port and the second serial port are of the same type.

[0016] Preferably, the first serial port and the second serial port are both serial peripheral interface SPI interfaces.

[0017] Preferably, the data processing device is a programmable logic controller (PLC).

[0018] The present invention provides a data processing device. In order to save the number of pins on a logic processing chip, in the present application, multiple parallel-to-serial chips can be connected through a first serial port of the logic processing chip, and multiple serial-to-parallel chips can be connected through a second serial port. In this way, input data of multiple input interfaces provided by the parallel-to-serial chip can all be input into the logic processing chip through the first serial port, and the logic processing chip can also output a large amount of data to a designated output interface through the second serial port. Since the parallel-to-serial chip and the serial-to-parallel chip themselves have the characteristics of small size and low cost, the present application saves costs and controls the size of the data processing device while expanding the number of IOs of the data processing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A structural schematic diagram of a data processing device provided by the present invention;

[0021] Figure 2 A schematic diagram of the structure of another data processing device provided by the present invention;

[0022] Figure 3 A wiring diagram of a parallel-to-serial chip provided by the present invention;

[0023] Figure 4 A wiring diagram of a serial-to-parallel chip provided by the present invention. DETAILED DESCRIPTION

[0024] The core of the present invention is to provide a data processing device. Since the parallel-to-serial chip and the serial-to-parallel chip themselves have the characteristics of small size and low cost, this application saves costs and controls the size of the data processing device while expanding the IO number of the data processing device.

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] Please refer to Figure 1 , Figure 1 A schematic diagram of the structure of a data processing device provided by the present invention, the data processing device comprising:

[0027] The main control device 1 is used to send the data to be processed to the logic processing chip 2;

[0028] The logic processing chip 2 connected to the main control device 1 is used to provide multiple input interfaces and multiple output interfaces, and send the data to be processed to the specified output interface after performing specified logic processing, and send the data received from the input interface to the specified main control device 1 or output interface after performing specified logic processing;

[0029] A plurality of parallel-to-serial chips 3 connected in series and having one end connected to the first serial port of the logic processing chip 2, used for converting parallel data input from a plurality of input interfaces provided by the chips 3 into serial data and then sending the serial data to the logic processing chip 2;

[0030] The multiple serial-to-parallel chips 4, which are connected in series and have one end connected to the second serial port of the logic processing chip 2, are used to convert the serial data sent by the logic processing chip 2 into parallel data and output it through multiple output interfaces provided by themselves.

[0031] Specifically, taking into account the technical problems in the above background technology and the limited number of pins on the logic processing chip 2, the present application chooses to use an external serial port parallel-to-serial chip 3 and a serial-to-parallel chip 4. This will not occupy too many pins of the logic processing chip 2, and a large number of IO interface expansions can be completed. Among them, the data of the multiple input interfaces provided by the parallel-to-serial chip 3 are parallel data, that is, the data of each input interface is independent, which is equivalent to expanding the input interface of the data processing device. As for the serial-to-parallel chip 4, it can receive the serial data output by the logic processing chip 2 and convert it into parallel data and output it through the multiple output interfaces provided by itself. The data of each output interface is independent, which is equivalent to expanding the output interface of the data processing device.

[0032] Specifically, the number of the parallel-to-serial chips 3 and the serial-to-parallel chips 4 can be set independently, for example, 8 chips are set, etc., and the embodiment of the present invention is not limited here.

[0033] Among them, it is worth mentioning that the IO interface provided by the logic processing chip 2 can be a high-speed IO interface, while the IO interface provided by the parallel-to-serial chip 3 and the serial-to-parallel chip 4 can be a low-speed IO interface, which can meet most interface requirements and has strong stability.

[0034] The present invention provides a data processing device. In order to save the number of pins on a logic processing chip, in the present application, multiple parallel-to-serial chips can be connected through a first serial port of the logic processing chip, and multiple serial-to-parallel chips can be connected through a second serial port. In this way, input data of multiple input interfaces provided by the parallel-to-serial chip can all be input into the logic processing chip through the first serial port, and the logic processing chip can also output a large amount of data to a designated output interface through the second serial port. Since the parallel-to-serial chip and the serial-to-parallel chip themselves have the characteristics of small size and low cost, the present application saves costs and controls the size of the data processing device while expanding the number of IOs of the data processing device.

[0035] To better illustrate the embodiments of the present invention, please refer to Figures 2 to 4 , Figure 2 A schematic diagram of the structure of another data processing device provided by the present invention; Figure 3 A wiring diagram of a parallel-to-serial chip 3 provided by the present invention; Figure 4 A wiring diagram of a serial-to-parallel chip 4 provided by the present invention is based on the above embodiment:

[0036] As a preferred embodiment, the data processing device further includes:

[0037] The level setting circuit 5 connected to the input interface provided by the parallel-to-serial chip 3 closest to the logic processing chip 2 is used to set the level combination of each connected input interface to a preset combination, so as to determine the total number of input interfaces provided by the parallel-to-serial chip 3 and the total number of output interfaces provided by the serial-to-parallel chip 4 through the preset combination.

[0038] Specifically, in order to facilitate different data processing devices to know the number of IO interfaces expanded by themselves through the serial-to-parallel chip 4 and the parallel-to-serial chip 3, in the embodiment of the present invention, the level combination of the input interface provided by the parallel-to-serial chip 3 closest to the logic processing chip 2 can also be set as a preset combination through the level setting circuit 5. In this way, the logic processing chip 2 can determine the total number of input interfaces provided by the parallel-to-serial chip 3 and the total number of output interfaces provided by the serial-to-parallel chip 4 through the preset combination of the first few bits of the received serial data.

[0039] Among them, Figure 3 In the , the definitions of each pin are as follows:

[0040] CLK: clock input; CLK INH: data output enable; SH / LD: data load bit; SER: serial input; A~H: parallel input: QH: serial output; 'QH: serial output reverse.

[0041] Among them, Figure 4 In the , the definitions of each pin are as follows:

[0042] SRCLK: clock input; RCLK: data latch clock; OE: output enable; SRCLR: reset pin; SER: serial input; QA~QH: parallel output: QH: serial output; 'QH: serial output reverse.

[0043] As a preferred embodiment, the level setting circuit 5 includes a level pull-up circuit and a level pull-down circuit.

[0044] Specifically, the level pull-up circuit and the level pull-down circuit have the advantages of small size, simple structure and low cost.

[0045] Of course, in addition to the level pull-up circuit and the level pull-down circuit, the level setting circuit 5 may also be of other types, which is not limited in the embodiment of the present invention.

[0046] As a preferred embodiment, the main control device 1 is an ARM processor.

[0047] Specifically, the ARM processor has the advantages of high processing capability, small size and low cost.

[0048] Of course, in addition to the ARM processor, the main control device 1 can also be of other types, which is not limited in the embodiment of the present invention.

[0049] As a preferred embodiment, the logic processing chip 2 is a FPGA (Field Programmable Gate Array) or a CPLD (Complex Programmable logic device).

[0050] Specifically, FPGA and CPLD both have the advantages of high processing capability, small size and low cost.

[0051] Of course, in addition to FPGA and CPLD, the logic processing chip 2 may also be of other types, which is not limited in the embodiment of the present invention.

[0052] As a preferred embodiment, the first serial port and the second serial port are of the same type.

[0053] Specifically, setting the first serial port and the second serial port to the same type can improve work efficiency.

[0054] Of course, the first serial port and the second serial port may be set to different types, which is not limited in the embodiment of the present invention.

[0055] As a preferred embodiment, the first serial port and the second serial port are both SPI (Serial Peripheral Interface) interfaces.

[0056] Specifically, the SPI interface has the advantages of fast transmission speed and strong stability.

[0057] Of course, in addition to the SPI interface, the first serial port and the second serial port may also be other types, such as an I2C interface, etc., which is not limited in the embodiment of the present invention.

[0058] As a preferred embodiment, the data processing device is a programmable logic controller (PLC).

[0059] Specifically, PLC has advantages such as strong data processing capability and long life.

[0060] Of course, in addition to PLC, the data processing device may also be of other types, which is not limited in the embodiment of the present invention.

[0061] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other. It should also be noted that in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also include elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the element.

[0062] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data processing device, characterized in that: include: A main control device, used for sending the data to be processed to the logic processing chip; The logic processing chip connected to the main control device is used to provide multiple input interfaces and multiple output interfaces, perform specified logic processing on the data to be processed and send it to the specified output interface, and perform specified logic processing on the data received from the input interface and send it to the specified main control device or the output interface; A plurality of parallel-to-serial chips connected in series and having one end connected to the first serial port of the logic processing chip, used for converting parallel data input from a plurality of input interfaces provided by the chips into serial data and then sending the serial data to the logic processing chip; A plurality of serial-to-parallel chips connected in series with one end of which is connected to the second serial port of the logic processing chip, and used for converting the serial data sent by the logic processing chip into parallel data and outputting the data through a plurality of output interfaces provided by the chips; Using each input interface of each parallel-to-serial chip as an input interface of the logic processing chip; And each output interface of each serial-to-parallel chip is used as an output interface of the logic processing chip; The data processing device also includes: a level setting circuit connected to the input interface provided by the parallel-to-serial chip closest to the logic processing chip, used to set the level combination of each of the connected input interfaces to a preset combination, so as to determine the total number of input interfaces provided by the parallel-to-serial chip and the total number of output interfaces provided by the serial-to-parallel chip through the preset combination; The first serial port and the second serial port are of the same type; The level setting circuit includes a level pull-up circuit and a level pull-down circuit; The main control device is an ARM processor; The logic processing chip is a field programmable gate array FPGA or a complex programmable logic device CPLD; The data processing device is a programmable logic controller PLC.

2. The data processing device according to claim 1, characterized in that The first serial port and the second serial port are both serial peripheral interface SPI interfaces.

Citation Information

Patent Citations

  • Extended IO port circuit with standard SPI bus interface

    CN204496211U

  • Serial ports operating system based on numerical control control

    CN206877319U