Anti-interference remote transmission controller
By designing a long-distance transmission controller integrating the MCU main chip and multiple communication modules, the PLC integrated controller has been solved, with large size, single functions and poor compatibility, and has achieved stronger real-time and anti-interference capabilities, suitable for a variety of Use of equipment environment.
Patent Information
- Application Number
- CN202411482191.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2024-12-17
AI Technical Summary
The existing controllers of engineering machinery, agricultural machinery and industrial equipment adopt PLC integration, resulting in large size, single functions, poor compatibility, and inability to meet the cutting-edge technology needs in the process of domestic production.
A long-distance transmission controller with anti-interference is designed, using the circuit board integrated MCU main chip, RS-485 module, power amplifier module, serial port and USB debugging interface, Wifi wireless module, Lora wireless module and other components, equipped with a real-time operating system , enhance real-time and compatibility, adopt low-power Lora wireless chips and high-gain antennas, improve transmission distance and anti-interference capabilities.
It realizes a controller with smaller size, stronger real-time and higher compatibility, suitable for a variety of device environments, with longer transmission distances, stronger anti-interference ability and more accurate movements.
Smart Images

Figure CN119148595A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of controllers, and in particular relates to an anti-interference long-distance transmission controller. Background Art
[0002] In the past, the controllers used in engineering machinery, agricultural machinery, mobile machinery and large industrial equipment mainly adopted PLC integration and relied on purchasing imported controllers. The PLC module integration method is not only large in size and high in price, but also has single functions and poor compatibility, and sometimes cannot meet actual needs. In addition, with the advancement of the national industry and the localization of industrial products, my country is developing from a manufacturing power to a manufacturing power. Cutting-edge technology can no longer be restricted by foreign countries. Based on the above two situations, our company independently developed this controller. Summary of the invention
[0003] The object of the present invention is to provide an anti-interference long-distance transmission controller to solve the problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an anti-interference long-distance transmission controller, comprising a circuit board, a wiring plug is provided on the circuit board, a plug external pin is provided in the wiring plug, a controller main chip MCU is provided on the circuit board, an MCU expansion pin 1 is provided on the circuit board, an RS-485 module is provided on the circuit board, a power amplifier module is provided on the circuit board, an MCU expansion pin 2 is provided on the circuit board, a serial port module is provided on the circuit board, an RS-232 interface is provided on the circuit board, a USB debugging interface is provided on the circuit board, a USB driver chip is provided on the circuit board, an RS-232 module is provided on the circuit board, a buzzer is provided on the circuit board, a Wifi wireless module is provided on the circuit board, a Lora wireless module is provided on the circuit board, and a program burning port is provided on the circuit board;
[0005] As a further preferred embodiment of the technical solution: the circuit board is fixedly connected to the lower housing of the controller by screws, mounting holes are provided on both sides of the lower housing of the controller, the upper housing of the controller is fixedly connected to the lower housing of the controller, a plastic insulating spring washer is provided between the threaded holes of the circuit board and the lower housing of the controller, and the wiring plug is threadedly connected to the upper housing of the controller and the lower housing of the controller by a plug fixing screw;
[0006] As a further preferred embodiment of the technical solution: the wiring plug is provided with two groups, the two groups of wiring plugs are adjacently distributed on the right side of the circuit board, the wiring plug is electrically connected to other external devices through male and female plugs, the plug has several groups of external pins, and the several groups of external pins of the plug are evenly distributed in the wiring plug;
[0007] As a further preferred embodiment of the technical solution: the RS-485 module is located in the middle of the circuit board, the RS-485 module is a combination of a balanced driver and a differential receiver, the controller main chip MCU is located at the upper left of the RS-485 module, and the controller main chip MCU is electrically connected to all components and peripherals inside the circuit board;
[0008] As a further preferred embodiment of the technical solution: the MCU extension pin 1 is located above the controller main chip MCU, the CAN module is located below the RS-485 module, and the CAN module is electrically connected to other controlled devices on the CAN bus;
[0009] As a further preferred embodiment of the technical solution: the power amplifier modules are arranged in a row on the left side of the wiring plug, the power amplifier modules are composed of eight BTS724G high-performance power amplifier chips, the MCU extension pin 2 is located on one side of the power amplifier module, the serial port module is located on the left side of the MCU extension pin 2, and the RS-232 interface is located on the left side of the serial port module;
[0010] As a further preferred embodiment of the present technical solution: the USB driver chip is located on the left side of the RS-232 interface, the USB debugging interface is located below the USB driver chip, and the USB debugging interface is a USB debugging interface of the Type-C socket type;
[0011] As a further preferred embodiment of the present technical solution: the RS-232 module is located on the left side of the USB debugging interface, and the buzzer is located on the left side of the RS-232 module;
[0012] As a further preferred embodiment of the technical solution: the Wifi wireless module is located above the buzzer, and the Wifi wireless module is a 2.4G wireless module;
[0013] As a further preferred embodiment of the technical solution: the Lora wireless module is located above the Wifi wireless module, the Lora wireless module is a 433 MHz wireless module, and the program burning port is located on the left side of the RS-485 module.
[0014] Compared with the prior art, the present invention has the following beneficial effects:
[0015] In the present invention, the controller replaces the PLC integrated module control mode, improves its large size, single function and poor compatibility problems, is equipped with a real-time operating system, and has stronger real-time operation. It integrates multiple proportional signals and digital signal input and output interfaces internally, which is suitable for the functional use environment of various devices. It adopts low-power Lora wireless chips and high-gain antennas, with longer transmission distances and stronger anti-interference capabilities; high-resolution PWM control makes the actions of the controlled devices more precise. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a structural schematic diagram of an anti-interference long-distance transmission controller of the present invention;
[0017] Figure 2 The figure is a schematic diagram of the internal structure of an anti-interference long-distance transmission controller of the present invention.
[0018] Legend: 1. Controller upper shell; 2. Circuit board; 3. Wiring plug; 4. Mounting hole; 5. Plug fixing screw; 6. Plug external pins; 7. Controller lower shell; 8. Controller main chip MCU; 9. MCU extension pin 1; 10. RS-485 module; 11. CAN module; 12. Power amplifier module; 13. MCU extension pin 2; 14. Serial port module; 15. RS-232 interface; 16. USB debugging interface; 17. USB driver chip; 18. RS-232 module; 19. Buzzer; 20. Wifi wireless module; 21. Lora wireless module; 22. Program burning port. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0020] Example
[0021] See also Figure 1-Figure 2As shown, the present invention provides a technical solution: an anti-interference long-distance transmission controller, including a circuit board 2, a wiring plug 3 is provided on the circuit board 2, a plug external pin 6 is provided in the wiring plug 3, a controller main chip MCU8 is provided on the circuit board 2, an MCU expansion pin one 9 is provided on the circuit board 2, an RS-485 module 10 is provided on the circuit board 2, a CAN module 11 is provided on the circuit board 2, a power amplifier module 12 is provided on the circuit board 2, an MCU expansion pin two 13 is provided on the circuit board 2, a serial port module 14 is provided on the circuit board 2, an RS-232 interface 15 is provided on the circuit board 2, a USB debugging interface 16 is provided on the circuit board 2, a USB driver chip 17 is provided on the circuit board 2, and an electric An RS-232 module is provided on the road board 2, a buzzer 19 is provided on the circuit board 2, a Wifi wireless module 20 is provided on the circuit board 2, a Lora wireless module 21 is provided on the circuit board 2, and a program burning port 22 is provided on the circuit board 2. The controller replaces the PLC integrated module control mode, improves its large size, single function and poor compatibility problems, is equipped with a real-time operating system, and has stronger real-time operation. It integrates multiple proportional signals and digital signal input and output interfaces internally, which is suitable for the functional use environment of various devices. It adopts low-power Lora wireless chips and high-gain antennas, with longer transmission distances and stronger anti-interference capabilities; high-resolution PWM control makes the actions of the controlled devices more precise.
[0022] In this embodiment, specifically: the circuit board 2 is fixedly connected to the controller lower shell 7 by screws, mounting holes 4 are provided on both sides of the controller lower shell 7, the controller upper shell 1 is fixedly connected to the controller lower shell 7, a plastic insulating spring pad is provided between the threaded holes of the circuit board 2 and the controller lower shell 7, the wiring plug 3 is threadedly connected to the plug fixing screw 5 through the controller upper shell 1 and the controller lower shell 7, the circuit board 2 inside the controller is fixed to the controller lower shell 7 by screws, and a plastic insulating spring pad is added between the circuit board 2 and the threaded holes of the controller lower shell 7 to buffer the vibration during the operation of the device;
[0023] In this embodiment, specifically: two groups of wiring plugs 3 are provided, and the two groups of wiring plugs 3 are adjacently distributed on the right side of the circuit board 2. The wiring plug 3 is electrically connected to other external devices through male and female plugs. The plug external pins 6 are provided with several groups, and the several groups of plug external pins 6 are evenly distributed in the wiring plug 3. Each plug has 35 external pins, which respectively correspond to the connection of the power line, data line, and control line of the controller;
[0024] In this embodiment, specifically: the RS-485 module 10 is located in the middle position of the circuit board 2, the RS-485 module 10 is a combination of a balanced driver and a differential receiver, the controller main chip MCU8 is located in the upper left of the RS-485 module 10, the controller main chip MCU8 is electrically connected to all components and peripherals inside the circuit board 2, the controller main chip MCU8 is an ARMCortex-M4 processor, the operating frequency reaches 168MHz, the main program firmware library is stored, all components and peripherals inside the circuit board are connected, and it is responsible for all operations of the entire device program. It adopts a combination of a balanced driver and a differential receiver, which is resistant to common-mode interference, and the maximum transmission rate is 10Mbps. The external output interface is led out by the "plug external pin", connected to other controlled devices on the RS-485 bus, and the output of the control signal is realized through the RS-485 protocol, thereby controlling other devices on the bus;
[0025] In this embodiment, specifically: MCU expansion pin 19 is located above the controller main chip MCU8, and the MCU expansion pin is reserved for program and function expansion when adding peripherals. The CAN module 11 is located below the RS-485 module 10. The external output interface of the CAN module 11 is led out by the "plug external pin" to connect other controlled devices on the CAN bus. Through the CAN communication protocol, the output of the control signal is realized, thereby controlling other devices on the bus;
[0026] In this embodiment, specifically: the power amplifier module 12 is distributed in a row on the left side of the wiring plug 3, the power amplifier module 12 is composed of 8 BTS724G high-performance power amplifier chips, which are used to amplify the power of the PWM pulse width modulation signal, and control the motor, solenoid valve and other power load devices by changing the size and frequency of the driving current. The MCU extension pin 2 13 is located on one side of the power amplifier module 12, and the serial port module 14 is located on the left side of the MCU extension pin 2 13. A fault reading / clearing interface is reserved, and the controller records the real-time status information and fault information of the device, which can be read and checked through this interface, and the fault information can be cleared. The RS-232 interface 15 is located on the left side of the serial port module 14, and the RS-232 protocol port is used to communicate with other devices that support the RS-232 protocol, thereby playing a control role;
[0027] In this embodiment, specifically: the USB driver chip 17 is located on the left side of the RS-232 interface 15, the USB debugging interface 16 is located below the USB driver chip 17, and the USB debugging interface 16 is a USB debugging interface of the Type-C socket type, which is used to burn and debug the controller program;
[0028] In this embodiment, specifically: the RS-232 module 18 is located on the left side of the USB debugging interface 16, converts the RS-232 level signal into a TTL or CMOS level level signal, and can complete bidirectional data transmission, and finally processes it through the MCU, and the buzzer 19 is located on the left side of the RS-232 module 18. When the controlled device is abnormal or needs warning information, the buzzer plays a prompt tone;
[0029] In this embodiment, specifically: the Wifi wireless module 20 is located above the buzzer 19, and the Wifi wireless module 20 is a 2.4G wireless module, which communicates with the MCU main chip to realize real-time wireless data transmission with the host computer or other devices;
[0030] In this embodiment, specifically: the Lora wireless module 21 is located above the Wifi wireless module 20. The Lora wireless module 21 is a 433MHz wireless module that communicates with the MCU main chip to achieve real-time wireless data transmission with the host computer or other devices. The program burning port 22 is located on the left side of the RS-485 module 10 and is used to burn the program to the controller.
[0031] Working principle or structural principle: The controller adopts a high-performance 32-bit ARMCortex-M4 processor with an operating frequency of 168MHz, 512K FLASH and 192K RAM, up to 114 IO interfaces and 17 timers, and is equipped with a FreeRTOS real-time operating system to make the system run more stable. The controller has CAN bus, RS485 bus, IIC bus, 16-channel AD acquisition circuits, 4-channel digital input circuits, 8-channel digital output circuits, and 30-channel PWM output circuits. The circuit design supports electrostatic protection. The controller adopts 12VDC or 24VDC power supply, and the communication mode is divided into wired and wireless. The wired communication interface adopts CAN bus, 485 bus, 232 / TTL serial bus for communication, and the wireless communication interface adopts LORA and WIFI for communication, which can meet the requirements of various use environments. The load interface adopts BTS724G high-performance power amplifier chip. The BTS724G chip is a high-side switch driver designed for N-channel vertical MOSFET tube. Under high-side conditions, it can drive the MOSFET power tube with a load voltage of 24V. BTS7 24G has CMOS input compatibility, high electromagnetic compatibility, fast demagnetization of inductive loads and a wide operating voltage range of 5.5V-40V, which meets the needs of driving 12V or 24V solenoid valves. The maximum single-channel output current is 3.3A. The controller is equipped with FreeRTOS operating system, which has higher real-time performance and stronger stability. It also has the function of communicating with the outside world, can receive command messages from the host device (such as remote control devices, APP, display controllers, operating consoles, etc.), send control commands to external control devices (such as accurately controlling the action of solenoid valves), and can also collect necessary The mainboard is designed with an EEPROM storage chip to store specific parameters without losing them during power failure. At the same time, there is a NORFlash chip on board to meet the fault storage needs. The ADC acquisition provides a proprietary power supply reference design to improve the acquisition accuracy. The power supply design adds overcurrent protection to ensure safety. A set of dip switches is added to facilitate the setting of the LORA address. A fault read / clear interface is reserved. The controller device has a specific fault recording function. The host can read the fault information through the reserved interface, confirm the information and clear it, and the reserved interface can be reused for the mainboard OTA upgrade.
[0032] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An anti-interference long-distance transmission controller, comprising a circuit board (2), characterized in that: The circuit board (2) is provided with a wiring plug (3), the wiring plug (3) is provided with a plug external pin (6), the circuit board (2) is provided with a controller main chip MCU (8), the circuit board (2) is provided with an MCU expansion pin one (9), the circuit board (2) is provided with an RS-485 module (10), the circuit board (2) is provided with a CAN module (11), the circuit board (2) is provided with a power amplifier module (12), the circuit board (2) is provided with an MCU expansion pin two (13), and the circuit board (2) is provided with A serial port module (14), an RS-232 interface (15) is provided on the circuit board (2), a USB debugging interface (16) is provided on the circuit board (2), a USB driver chip (17) is provided on the circuit board (2), an RS-232 module is provided on the circuit board (2), a buzzer (19) is provided on the circuit board (2), a Wifi wireless module (20) is provided on the circuit board (2), a Lora wireless module (21) is provided on the circuit board (2), and a program burning port (22) is provided on the circuit board (2).
2. The anti-interference long-distance transmission controller according to claim 1, characterized in that: The circuit board (2) is fixedly connected to the controller lower shell (7) by screws, the two sides of the controller lower shell (7) are provided with mounting holes (4), the controller upper shell (1) is fixedly connected to the controller lower shell (7), a plastic insulating spring washer is provided between the threaded holes of the circuit board (2) and the controller lower shell (7), and the wiring plug (3) is threadedly connected to the controller upper shell (1) and the controller lower shell (7) by a plug fixing screw (5).
3. The anti-interference long-distance transmission controller according to claim 2, characterized in that: The wiring plug (3) is provided with two groups, and the two groups of the wiring plug (3) are adjacently distributed on the right side of the circuit board (2) up and down. The wiring plug (3) is electrically connected to other external devices through male and female plugs. The plug has a plurality of groups of external pins (6), and the plurality of groups of external pins (6) of the plug are evenly distributed in the wiring plug (3).
4. The anti-interference long-distance transmission controller according to claim 3 is characterized in that: The RS-485 module (10) is located in the middle of the circuit board (2); the RS-485 module (10) is a combination of a balanced driver and a differential receiver; the controller main chip MCU (8) is located at the upper left of the RS-485 module (10); the controller main chip MCU (8) is electrically connected to all components and peripherals inside the circuit board (2).
5. The anti-interference long-distance transmission controller according to claim 4, characterized in that; The MCU expansion pin 1 (9) is located above the controller main chip MCU (8), the CAN module (11) is located below the RS-485 module (10), and the CAN module (11) is electrically connected to other controlled devices on the CAN bus.
6. The anti-interference long-distance transmission controller according to claim 5, characterized in that: The power amplifier modules (12) are arranged in a row on the left side of the wiring plug (3), the power amplifier modules (12) are composed of eight BTS724G high-performance power amplifier chips, the MCU extension pin 2 (13) is located on one side of the power amplifier module (12), the serial port module (14) is located on the left side of the MCU extension pin 2 (13), and the RS-232 interface (15) is located on the left side of the serial port module (14).
7. The anti-interference long-distance transmission controller according to claim 6, characterized in that: The USB driver chip (17) is located on the left side of the RS-232 interface (15), and the USB debugging interface (16) is located below the USB driver chip (17). The USB debugging interface (16) is a USB debugging interface of the Type-C socket type.
8. The anti-interference long-distance transmission controller according to claim 7, characterized in that: The RS-232 module (18) is located on the left side of the USB debugging interface (16), and the buzzer (19) is located on the left side of the RS-232 module (18).
9. The anti-interference long-distance transmission controller according to claim 8, characterized in that: The Wifi wireless module (20) is located above the buzzer (19), and the Wifi wireless module (20) is a 2.4G wireless module.
10. The anti-interference long-distance transmission controller according to claim 9, characterized in that: The Lora wireless module (21) is located above the Wifi wireless module (20), the Lora wireless module (21) is a 433 MHz wireless module, and the program burning port (22) is located on the left side of the RS-485 module (10).
