CN219476026U - General programmable controller - Google Patents

General programmable controller Download PDF

Info

Publication number
CN219476026U
CN219476026U CN202320293098.9U CN202320293098U CN219476026U CN 219476026 U CN219476026 U CN 219476026U CN 202320293098 U CN202320293098 U CN 202320293098U CN 219476026 U CN219476026 U CN 219476026U
Authority
CN
China
Prior art keywords
interface
microcontroller
gate array
universal
expansion module
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
CN202320293098.9U
Other languages
Chinese (zh)
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.)
Wuhan Sine Electric Technology Co ltd
Original Assignee
Wuhan Sine Electric Technology 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 Wuhan Sine Electric Technology Co ltd filed Critical Wuhan Sine Electric Technology Co ltd
Priority to CN202320293098.9U priority Critical patent/CN219476026U/en
Application granted granted Critical
Publication of CN219476026U publication Critical patent/CN219476026U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Programmable Controllers (AREA)

Abstract

The utility model relates to a general programmable controller which comprises a microcontroller, a programmable logic gate array, a general socket and a communication expansion module, wherein the microcontroller is respectively connected with the programmable logic gate array and the general socket, the programmable logic gate array is connected with the general socket, and the general socket is connected with the communication expansion module. The universal programmable controller provided by the utility model has the advantages that the universality of the universal programmable controller is enhanced, the size of the universal programmable controller is reduced, the use cost of a user is saved, the dependence on a specific microcontroller MCU is reduced, and the substitutability of the microcontroller MCU is enhanced.

Description

General programmable controller
Technical Field
The utility model relates to the technical field of programmable controllers, in particular to a general programmable controller.
Background
In general-purpose programmable controllers, with the development of the era, the external interfaces of the programmable controllers selectable by users become various, and in order to meet the needs of different clients, the general-purpose programmable controllers generally take two forms, one scheme is to enable the programmable controllers to be compatible with a large number of external interfaces, but the cost is greatly increased, and the other scheme is to classify the programmable controllers, so that different types of programmable controllers correspond to different interface combinations, but the universality is poor, and the use cost of the users is increased.
Aiming at the programmable controller in the prior art, how to further enhance the universality of the programmable controller and reduce the use cost is a technical problem to be solved.
Disclosure of Invention
Aiming at the technical problems in the prior art, the utility model provides a general programmable controller, which solves the problem of reducing the use cost while further enhancing the universality of the programmable controller.
The technical scheme for solving the technical problems is as follows:
the general programmable controller comprises a microcontroller 1, a programmable gate array 2, a general socket 3 and a communication expansion module 4, wherein the microcontroller 1 is respectively connected with the programmable gate array 2 and the general socket 3, the programmable gate array 2 is connected with the general socket 3, and the general socket 3 is connected with the communication expansion module 4;
the communication expansion module 4 sends an AD signal to the microcontroller 1 through the universal socket 3, the microcontroller 1 obtains a module type of the communication expansion module 4 based on the AD signal and sends the module type to the programmable logic gate array 2, and the programmable logic gate array 2 switches pins connected with the communication expansion module 4 through the universal socket 3 by the microcontroller 1 based on the module type.
On the basis of the technical scheme, the utility model can be improved as follows.
Preferably, the microcontroller 1 comprises: the first DA interface is connected with the DA output pin of the communication expansion module 4 through the universal socket 3, and the first SPI interface, the first CAN interface, the first UART/USART interface and the first I2C interface are respectively connected with the programmable logic gate array 2.
Preferably, the programmable gate array 2 includes: the first universal socket 3 is connected with the microcontroller 1, and the second universal signal interface is connected with the microcontroller 1.
Preferably, the universal socket 3 includes: a second DA interface and a second general signal interface;
the second DA interface is configured to access a DA output pin of the communication expansion module 4 to a first DA interface of the microcontroller 1;
the second common signal interface is configured to access the signal interface of the communication expansion module 4 to the first common signal interface of the programmable gate array 2.
Preferably, the communication expansion module 4 includes: the third DA interface is connected to the first DA interface of the microcontroller 1 through the second DA interface of the universal socket 3, and the signal interface is connected with the second universal signal interface of the universal socket 3.
The beneficial effects of the utility model are as follows: the general programmable controller of the utility model detects the AD signal of the DA interface of the communication expansion module through the general socket, judges the module type of the communication expansion module according to the AD signal, and transmits the module type to the programmable logic gate array, so that the programmable logic gate array determines the communication interface on the interface, and the signal of the interface corresponding to the microcontroller can be transmitted to the communication expansion module.
Drawings
FIG. 1 is a block diagram of the overall principle of the utility model;
FIG. 2 is a schematic diagram of a connection model according to the present utility model;
FIG. 3 is a schematic diagram of an internal model of a programmable gate array according to the present utility model.
Detailed Description
The principles and features of the present utility model are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the utility model and are not to be construed as limiting the scope of the utility model.
The present embodiment provides a general-purpose programmable controller, as shown in the schematic block diagram of fig. 1, including: the micro controller 1 is respectively connected with the programmable gate array 2 and the universal socket 3, the programmable gate array 2 is connected with the universal socket 3, and the universal socket 3 is connected with the communication expansion module 4.
In the general-purpose programmable controller in this embodiment, the communication expansion module 4 sends an AD signal to the microcontroller 1 through the general-purpose socket 3, the microcontroller 1 obtains a module type of the communication expansion module 4 based on the AD signal, and sends the module type to the programmable logic gate array 2, and the programmable logic gate array 2 switches pins connected to the microcontroller 1 through the general-purpose socket 3 and the communication expansion module 4 based on the module type.
It will be appreciated that the microcontroller may be any MCU that can be used for multi-protocol communications, the types of which include, but are not limited to: STM32F10C8T6, ATmega328 and/or PIC16F877A. The microcontroller is also called a single-chip microcomputer or a single-chip microcomputer, which properly reduces the frequency and specification of a central processing unit (Central ProcessUnit CPU), and integrates peripheral interfaces such as a memory (memory), a counter (Timer), USB, A/D conversion, UART, PLC, DMA and the like, and even an LCD driving circuit on a single chip to form a chip-level computer for different application occasions to perform different combination control.
It should be appreciated that the programmable gate array (Field Programmable Gate ArrayFPGA) described above is a product of further development on the basis of programmable devices such as PAL, GAL, CPLD. The programmable device is used as a semi-custom circuit in the field of application specific integrated circuits, not only solves the defect of custom circuits, but also overcomes the defect of limited gate circuits of the original programmable device. FPGAs are generally slower than ASICs (application specific integrated circuits) and achieve the same functionality over a larger area than ASIC circuits. They also have many advantages such as quick results, can be modified to correct errors in the procedure and are cheaper to manufacture. Vendors may also offer inexpensive but poorly editable FPGAs. Because of the relatively poor editable capabilities of these chips, the development of these designs is done on a common FPGA, and then the design is transferred to a chip similar to an ASIC.
In this embodiment, the universal programmable controller is connected to different interfaces through the programmable gate array in a despread manner, and then transmits physical signals to the MCU in a transparent manner, so as to realize compatibility with different interfaces, thereby realizing universality of the programmable controller, reducing use cost of a user, and increasing the replaceability of the cpu chip.
Specifically, all peripheral interfaces required by the MCU are directly connected to the programmable logic gate array, then the peripheral interfaces are connected with the communication expansion module through the universal socket, the communication expansion module is connected with the MCU through the universal socket, two AD signal lines are connected with other signal lines, the MCU identifies the type of the external communication expansion module through the AD signal lines and transmits information to the programmable logic gate array, the programmable logic gate array determines the type of the communication expansion module connected to the interface according to the received information, then signals on pins of the MCU corresponding to the peripheral pins and signals on pins of the universal socket are transmitted, and the signals of the interface corresponding to the MCU can be transmitted to the expansion module.
The general programmable controller of the utility model detects the AD signal of the DA interface of the communication expansion module through the general socket, judges the module type of the communication expansion module according to the AD signal, and transmits the module type to the programmable logic gate array, so that the programmable logic gate array determines the communication interface on the interface, and the signal of the interface corresponding to the microcontroller can be transmitted to the communication expansion module.
On the basis of the technical scheme, the utility model can be improved as follows.
As shown in fig. 2, the microcontroller 1 includes: the first DA interface is connected with the DA output pin of the communication expansion module 4 through the universal socket 3, and the first SPI interface, the first CAN interface, the first UART/USART interface and the first I2C interface are respectively connected with the programmable logic gate array 2.
As shown in fig. 2, the universal socket 3 includes: a second DA interface and a second general signal interface; the second DA interface is configured to access a DA output pin of the communication expansion module 4 to a first DA interface of the microcontroller 1; the second common signal interface is configured to access the signal interface of the communication expansion module 4 to the first common signal interface of the programmable gate array 2.
As shown in fig. 2, the communication expansion module 4 includes: the third DA interface is connected to the first DA interface of the microcontroller 1 through the second DA interface of the universal socket 3, and the signal interface is connected with the second universal signal interface of the universal socket 3.
As shown in fig. 3, the programmable logic gate array 2 includes: the first universal socket 3 is connected with the microcontroller 1, and the second universal signal interface is connected with the microcontroller 1.
It will be appreciated that the communication interface between the microcontroller MCU and the programmable logic gate array includes, but is not limited to, SPI, CAN, UART/USART and/or I2C, which is not limited in this embodiment, and when the microcontroller MCU detects the voltage values on the two DA output pins of the communication expansion module and determines the module type of the communication expansion module, the microcontroller MCU can determine the type of communication interface (SPI, CAN, UART/USART or one of I2C) that needs to be used, and then send a signal to the programmable logic gate array through the communication interface, and then the programmable logic gate array transmits the signal to the communication expansion module through a universal socket.
As shown in fig. 2 and fig. 3, in the general programmable controller in this embodiment, first, two DA output pins on different communication expansion modules can output different voltage combinations, the microcontroller MCU can identify the module type of the connected communication expansion module by detecting the voltage of the corresponding DA pin, the microcontroller MCU notifies the CPLD/FPGA of the module type connected by the internal bus, and the CPLD/FPGA can transmit signals of the peripheral interface corresponding to the MCU to the interface corresponding to the communication expansion module.
Working principle:
the general programmable controller provided by the embodiment obtains the AD signal of the DA interface of the communication expansion module through the general socket, judges the module type of the communication expansion module according to the AD signal, and transmits the module type to the programmable logic gate array, so that the programmable logic gate array determines the communication interface on the interface, and the signal of the interface corresponding to the microcontroller can be transmitted to the communication expansion module.
The foregoing description of the preferred embodiments of the utility model is not intended to limit the utility model to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the utility model are intended to be included within the scope of the utility model.

Claims (5)

1. A universal programmable controller, comprising: the device comprises a microcontroller (1), a programmable logic gate array (2), a universal socket (3) and a communication expansion module (4), wherein the microcontroller (1) is respectively connected with the programmable logic gate array (2) and the universal socket (3), the programmable logic gate array (2) is connected with the universal socket (3), and the universal socket (3) is connected with the communication expansion module (4);
the communication expansion module (4) sends an AD signal to the microcontroller (1) through the universal socket (3), the microcontroller (1) obtains a module type of the communication expansion module (4) based on the AD signal and sends the module type to the programmable logic gate array (2), and the programmable logic gate array (2) switches pins connected with the communication expansion module (4) through the universal socket (3) by the microcontroller (1) based on the module type.
2. A universal programmable controller according to claim 1, characterized in that the microcontroller (1) comprises: the device comprises a programmable logic gate array (2), a first DA interface, a first SPI interface, a first CAN interface, a first UART/USART interface and a first I2C interface, wherein the first DA interface is connected with a DA output pin of a communication expansion module (4) through a universal socket (3), and the first SPI interface, the first CAN interface, the first UART/USART interface and the first I2C interface are respectively connected with the programmable logic gate array (2).
3. A universal programmable controller according to claim 1, characterized in that the programmable logic gate array (2) comprises: the remote controller comprises a first SPI interface, a first CAN interface, a first UART/USART interface, a first I2C interface and a first universal signal interface, wherein the first SPI interface, the first CAN interface, the first UART/USART interface and the first I2C interface are respectively connected with a microcontroller (1), and the first universal signal interface is connected with a universal socket (3).
4. A universal programmable controller according to claim 1, characterized in that the universal socket (3) comprises: a second DA interface and a second general signal interface;
the second DA interface is used for connecting the DA output pin of the communication expansion module (4) to the first DA interface of the microcontroller (1);
the second general signal interface is used for accessing the signal interface of the communication expansion module (4) to the first general signal interface of the programmable logic gate array (2).
5. The universal programmable controller according to claim 1, wherein the communication expansion module (4) comprises: the third DA interface is connected to the first DA interface of the microcontroller (1) through the second DA interface of the universal socket (3), and the signal interface is connected with the second universal signal interface of the universal socket (3).
CN202320293098.9U 2023-02-22 2023-02-22 General programmable controller Active CN219476026U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202320293098.9U CN219476026U (en) 2023-02-22 2023-02-22 General programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202320293098.9U CN219476026U (en) 2023-02-22 2023-02-22 General programmable controller

Publications (1)

Publication Number Publication Date
CN219476026U true CN219476026U (en) 2023-08-04

Family

ID=87434827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202320293098.9U Active CN219476026U (en) 2023-02-22 2023-02-22 General programmable controller

Country Status (1)

Country Link
CN (1) CN219476026U (en)

Similar Documents

Publication Publication Date Title
KR101830691B1 (en) Low-Power Type-C Receiver with High Idle Noise and DC-Level Rejection
CN107273329B (en) Virtual GPIO
US10873193B2 (en) Intelligent switch system
KR20090004508A (en) Pci express interface apparatus
CN101226516A (en) Device and method capable of automatically switching into USB host or peripherals
CN108134599B (en) A kind of I3C bus control interface circuit
CN107153814B (en) Fingerprint module data acquisition device
CN219476026U (en) General programmable controller
CN110362058A (en) The system tested for multiple interfaces
TWI528161B (en) Data transmitting system and data transmitting method
KR20210075878A (en) I3c hub promoting backward compatibility with i2c
CN103777733A (en) Computer device and power supply method of universal connecting port module
TWI817862B (en) Computer assembly and control method therefor
CN204241137U (en) Two-wire system intelligent pressure transmitter
CN102931988B (en) Complex programmable logic device (CPLD) programme based test system of analog-to-digital (AD) converter
CN210123521U (en) Industrial control circuit
WO2020233575A1 (en) Method for realizing usb otg function
CN109960677B (en) Extension circuit for USB interface
CN113535623A (en) Port configuration circuit, method and server
CN103019994B (en) Variable Baud rate serial communication interface circuit based on FPGA (field programmable gate array)
CN112968332A (en) Compatible device and method for switching TYPE-C interface of tablet personal computer mainboard to UART serial port communication
Navaneethan et al. Industrial Application of the Serial Peripheral Interface Protocol on Field Programmable Gate Arrays
CN211454293U (en) UART communication circuit
CN213817977U (en) Join in marriage screen interface circuit and display
CN213690605U (en) Adapter for converting USB interface into SPI interface

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant