Single-chip microcomputer slave module cluster control system
By using a microcontroller slave module cluster control system in the industrial control system and using 485 serial port to communicate with multiple valves in parallel, the complex problem of sedimentation tank sludge discharge control line is solved, and precise mud discharge and system reliability are improved.
Patent Information
- Application Number
- CN202421518162.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-30
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2034-06-30
AI Technical Summary
In the existing industrial control system, the sludge discharge control lines of the sedimentation tank are complex, resulting in chaos in cables, inconvenient maintenance and difficult inspection.
The microcontroller is used to connect multiple valves to the PLC cabinet in parallel through 485 serial port communication, reducing the number of control system cables and improving transmission speed.
The number of cables in the control system is reduced, the transmission speed is improved, and the precise slurry emission control is achieved, which enhances the maintainability, flexibility and reliability of the system.
Smart Images

Figure CN222636518U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of sedimentation tank mud discharge, in particular to a single-chip microcomputer slave module cluster control system. Background Art
[0002] In current industrial control systems, sedimentation tanks are usually designed with multiple mud discharge control valves to achieve mud discharge control. These mud discharge control valves are generally connected to multiple control and feedback cables, and then connected to the PLC cabinet for centralized control and monitoring. However, due to too many control lines, a large number of cables need to be laid to connect multiple mud discharge control valves and PLC cabinets, resulting in cable confusion, inconvenient maintenance, and difficult troubleshooting.
[0003] The Chinese patent with the announcement number CN219591448U discloses a hydrogen energy emergency power generation control system, which connects the manager such as a single-chip microcomputer with each valve through cables to enhance the output stability of the power generation voltage and reduce the hydrogen loss rate. However, the system has many control lines and requires a large number of cables to connect the valves, which makes the equipment maintenance inconvenient. Utility Model Content
[0004] In view of this, the utility model proposes a single-chip microcomputer slave module cluster control system, which controls signal transmission through a single-chip microcomputer slave module and a relay control module, and connects multiple valves in parallel to a PLC cabinet through a 485 serial port communication, thereby reducing the number of control system cables and improving transmission speed.
[0005] The technical solution of the utility model is implemented as follows: a single-chip microcomputer slave module cluster control system, the system includes a PLC, a 485 manager and a single-chip microcomputer slave module,
[0006] PLC is connected with 485 manager signal to generate control signal;
[0007] The 485 manager is connected to the single-chip microcomputer slave module signal to transmit the control signal generated by the PLC to the single-chip microcomputer slave module;
[0008] The single chip microcomputer slave module includes a relay control module, and the relay control module includes a plurality of relays, each relay is connected to a corresponding valve, and is used to output a switch signal to drive the valve to open and close.
[0009] Preferably, the single-chip slave module includes a 485 communication module and a CPU;
[0010] The 485 communication module is connected with the CPU and the 485 manager signal, and is used to transmit the control signal between the PLC and the CPU;
[0011] The CPU is connected to the 485 communication module signal and is used to process data to control the single chip slave module.
[0012] Preferably, the single-chip microcomputer slave module includes a reset circuit, and the reset circuit is electrically connected to the CPU and is used to reset the settings of the single-chip microcomputer slave module.
[0013] Preferably, the single-chip microcomputer slave module includes a crystal oscillator circuit, and the crystal oscillator circuit is electrically connected to the CPU for obtaining a clock signal.
[0014] Preferably, the single-chip microcomputer slave module includes a dip switch control module, and the dip switch control module is electrically connected to the CPU and is used to select the working mode of the single-chip microcomputer.
[0015] Preferably, the single-chip microcomputer slave module includes a switch quantity acquisition module, and the switch quantity acquisition module is electrically connected to the CPU and is used to collect switch quantity signals of the system.
[0016] Preferably, the single-chip slave module includes a display module, and the display module is electrically connected to the CPU and is used to display system information.
[0017] Preferably, the single-chip slave module includes a power supply circuit, and the power supply circuit is electrically connected to the CPU for providing electrical energy.
[0018] The utility model provides a single-chip microcomputer slave module cluster control system, which has the following beneficial effects compared with the prior art:
[0019] (1) The signal transmission is controlled by the single chip microcomputer slave module and the relay control module, and multiple valves are connected in parallel to the PLC cabinet through 485 serial port communication, which reduces the number of control system cables and improves the transmission speed;
[0020] (2) The relay control module integrated in the single-chip slave module is used to independently and flexibly control the opening and closing status of each mud discharge valve to achieve precise mud discharge control. Each mud discharge valve can be accurately driven to achieve refined control of the mud discharge process. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 This is a system module diagram of a single-chip microcomputer slave module cluster control system of the utility model;
[0023] Figure 2The utility model is a single-chip microcomputer slave module composition structure diagram of a single-chip microcomputer slave module cluster control system. DETAILED DESCRIPTION
[0024] The following will be combined with the implementation of the utility model to clearly and completely describe the technical solutions in the implementation of the utility model. Obviously, the described implementation is only a part of the implementation of the utility model, not all of the implementations. Based on the implementation of the utility model, all other implementations obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0025] Provide a single chip microcomputer slave module cluster control system, such as Figure 1 As shown, the system includes a PLC, a 485 manager and a single-chip slave module.
[0026] PLC is connected with 485 manager signal to generate control signal;
[0027] The 485 manager is connected to the single-chip microcomputer slave module signal to transmit the control signal generated by the PLC to the single-chip microcomputer slave module;
[0028] The single chip microcomputer slave module includes a relay control module, and the relay control module includes a plurality of relays, each relay is connected to a corresponding valve, and is used to output a switch signal to drive the valve to open and close.
[0029] It should be noted that:
[0030] A single-chip microcomputer slave module cluster control system of this embodiment has the following effects:
[0031] Reduce the layout of control cables. The traditional system requires a large number of cables to connect PLC and multiple valves, and the wiring is complicated. This system adopts 485 bus communication, which greatly reduces the number and complexity of control cables.
[0032] Improve the maintainability of the system. Traditional systems are difficult to maintain and troubleshoot due to the confusion of cables. This system adopts a modular design, and each functional module is connected through a standard interface to facilitate maintenance and troubleshooting.
[0033] Enhance the flexibility and scalability of the system. The traditional centralized control architecture is difficult to meet the changes in on-site requirements. This system adopts a distributed architecture, and each MCU slave module can be independently configured according to on-site requirements, which enhances the flexibility of the system.
[0034] The traditional system requires a large number of cables to directly connect the PLC and multiple mud discharge valves, and the control method is single. This system uses a relay control module integrated in the single-chip slave module, which can independently and flexibly control the opening and closing status of each mud discharge valve.
[0035] Achieve precise mud discharge control. Traditional systems have rough control and it is difficult to accurately control mud discharge for different working conditions.
[0036] The relay control module of this system can accurately drive each mud discharge valve to achieve refined control of the mud discharge process.
[0037] Improve the system's response speed. Traditional centralized control architecture reacts slowly in emergency situations.
[0038] The relay control module of this system is on-site and can quickly respond to the control instructions of the PLC, shortening the response time of the overall system.
[0039] Enhance the fault tolerance of the system. In traditional systems, a single point failure will lead to overall paralysis. In this system, a failure in the relay control module will not affect other modules, thus improving the fault tolerance of the system.
[0040] This single-chip module cluster control system effectively solves many problems existing in traditional centralized control systems through distributed architecture and modular design, and greatly improves the maintainability, flexibility and reliability of the system.
[0041] like Figure 2 As shown, the single-chip slave module includes a 485 communication module and a CPU;
[0042] The 485 communication module is connected with the CPU and the 485 manager signal, and is used to transmit the control signal between the PLC and the CPU;
[0043] The CPU is connected to the 485 communication module signal and is used to process data to control the single chip slave module.
[0044] It should be noted that:
[0045] The beneficial effects of the 485 communication module and the CPU of this embodiment are embodied in the following aspects:
[0046] Realize efficient communication between PLC and MCU: 485 communication module, as the communication interface between PLC and CPU, can quickly transmit control instructions and feedback signals. Through the standard 485 communication protocol, the reliability and real-time performance of data interaction between PLC and CPU are ensured.
[0047] Intelligent processing capability of single chip microcomputer: CPU module can independently process control instructions from PLC and make corresponding action control. This distributed intelligent processing capability reduces the burden of PLC and improves the response speed and processing efficiency of the whole system.
[0048] Flexibility of system integration: 485 communication module is used as a standard communication interface, which is convenient for the integration of single-chip slave module and PLC and other host computers. The CPU module can independently complete various control functions according to on-site requirements, which enhances the flexibility and scalability of the system.
[0049] Improve system reliability: The MCU slave module has an independent CPU and 485 communication module, which can operate autonomously when the PLC fails. This distributed control architecture improves the fault tolerance of the system and enhances the overall reliability.
[0050] The single-chip microcomputer slave module includes a reset circuit, which is electrically connected to the CPU and is used to reset the settings of the single-chip microcomputer slave module.
[0051] It should be noted that:
[0052] The beneficial effects of the reset circuit include the following aspects:
[0053] Enhanced system stability: The reset circuit can detect the operating status of the CPU and trigger the reset of the MCU slave module in time when an abnormality occurs. This self-healing mechanism helps prevent the entire control system from being paralyzed due to a malfunction of the MCU slave module, thereby improving the stability of the system.
[0054] Simplified troubleshooting and maintenance: The reset circuit can actively reset the MCU slave module, helping engineers quickly locate and solve faults. The MCU slave module can automatically restore to normal working state without human intervention, greatly improving maintenance efficiency.
[0055] Improve system reliability: The reset circuit can intervene in time when the MCU slave module is stuck or crashed, avoiding the risk of a single point failure causing the entire control system to fail. This self-healing feature enhances the system's fault tolerance and improves overall reliability.
[0056] Reduce maintenance costs: The automatic repair function of the reset circuit reduces the need for manual maintenance, reducing the frequency and cost of on-site maintenance. It also avoids the situation where the entire system is shut down due to a single slave module failure, reducing the economic losses caused by production interruptions.
[0057] The integrated reset circuit of the MCU slave module can effectively improve the stability, reliability and maintenance efficiency of the system, which is another important technical advantage of this control solution. This self-healing capability not only improves the overall performance of the system, but also greatly reduces the operation and maintenance costs, bringing significant economic benefits to users.
[0058] The single-chip microcomputer slave module includes a crystal oscillator circuit, which is electrically connected to the CPU and is used to obtain a clock signal.
[0059] It should be noted that:
[0060] The beneficial effects of the crystal oscillator circuit include the following aspects:
[0061] Improve the system time synchronization accuracy: The crystal oscillator circuit provides a stable and accurate clock signal for the CPU, ensuring the accuracy of the time timing of the microcontroller from the module. This precise time synchronization helps coordinate the action timing between various units in the entire control system and improve the system's time synchronization capability.
[0062] Enhance system response speed: The crystal oscillator circuit can provide sufficient operating frequency for the CPU, making the data processing and control instruction execution of the MCU slave module more efficient. Fast data processing capability helps to shorten the information interaction delay between the PLC and the MCU slave module, and improve the response speed of the entire control system.
[0063] Ensure system reliability: As the core clock source of the CPU, the reliability of the crystal oscillator circuit is directly related to the stable operation of the MCU slave module. Through the dedicated crystal oscillator circuit design, the interference and fluctuation of the clock signal can be effectively suppressed, thus improving the working reliability of the MCU slave module.
[0064] Simplify system integration and maintenance: The integrated crystal oscillator circuit enables the MCU slave module to have an independent clock source, without the need for an external clock synchronization signal. This simplifies the integration process with upper PLC and other devices, and also facilitates separate maintenance and troubleshooting.
[0065] The MCU slave module integrates a crystal oscillator circuit, which provides a stable and high-precision clock signal for the CPU, effectively improving the system's response speed, time synchronization accuracy and reliability. It not only improves the overall control performance, but also simplifies the system's integration and maintenance, bringing significant technical advantages to users.
[0066] The single-chip microcomputer slave module includes a dial switch control module, and the dial switch control module is electrically connected to the CPU and is used to select the working mode of the single-chip microcomputer.
[0067] It should be noted that:
[0068] Provide flexible working mode selection: The DIP switch control module allows the user to manually select the working mode of the MCU slave module, such as automatic / manual control, normal / debug mode, etc. This flexible mode switching function enables the MCU slave module to adapt to different application scenarios and usage requirements.
[0069] Simplify on-site configuration and debugging: The working mode of the MCU slave module can be directly controlled by the DIP switch, without the need for remote settings through the upper PLC and other devices. On-site engineers can quickly switch the status of the MCU slave module, which facilitates on-site debugging, maintenance and troubleshooting.
[0070] Enhance system reliability: The DIP switch control module provides an independent human-machine interaction interface for the MCU slave module, which can still ensure the most basic control function when the PLC fails. This redundant design improves the fault tolerance of the system and enhances the overall reliability and safety.
[0071] Improve the maintainability of the system: The DIP switch control module makes the state switching of the MCU from the module more intuitive and simple, which is conducive to engineers to quickly locate and solve on-site problems.
[0072] At the same time, it also reduces the skill requirements for maintenance personnel and improves the maintainability of the entire control system.
[0073] The microcontroller slave module integrates the DIP switch control module, providing users with flexible working mode selection and simple on-site maintenance methods. It not only enhances the reliability and safety of the system, but also greatly improves the maintainability of the entire control system, bringing significant convenience to users.
[0074] The single-chip microcomputer slave module includes a switch quantity acquisition module, which is electrically connected to the CPU and is used to collect switch quantity signals of the system.
[0075] It should be noted that:
[0076] The beneficial effects of the switch quantity acquisition module include the following aspects:
[0077] Rich sensing capabilities: The switch quantity acquisition module can collect various binary status signals, such as start-stop switches, alarm signals, limit switches, etc. This ability to sense discrete quantity signals enables the MCU slave module to fully grasp the current working status and fault conditions of the system.
[0078] Real-time monitoring and feedback: The switch quantity acquisition module can obtain the status changes of each component of the system in real time, and feed back this information to the CPU for processing in a timely manner. This real-time monitoring and feedback mechanism enables the MCU slave module to quickly respond to system changes and improve control accuracy.
[0079] Fault diagnosis and early warning: The switch quantity acquisition module can detect abnormal conditions of various switch quantity signals, such as overvoltage, open circuit and other faults. By timely capturing and reporting these fault signals, it helps the microcontroller to quickly diagnose problems from the module and provide fault early warning.
[0080] System linkage control: The various binary signals provided by the switch quantity acquisition module can be used as the input basis for the linkage control of the MCU slave module. Combined with the functions of other modules, the MCU slave module can automatically adjust the working status of related equipment according to the switch quantity signal to achieve more intelligent linkage control.
[0081] Reduce system integration costs: The integrated switch quantity acquisition module enables the MCU slave module to have a variety of input signal types, without the need to add special switch quantity acquisition equipment. This integrated design simplifies the integration process with upper PLC and other equipment and reduces the integration cost of the entire control system.
[0082] The MCU slave module integrates the switch quantity acquisition module, which greatly enhances its perception ability and fault diagnosis function, and also provides strong support for system linkage control and integrated optimization. These technical advantages greatly enhance the application value and control performance of the MCU slave module.
[0083] The single chip slave module comprises a display module, and the display module is electrically connected to the CPU and is used for displaying system information.
[0084] It should be noted that:
[0085] The beneficial effects of the display module include the following aspects:
[0086] Realize human-computer interaction: The display module provides an intuitive human-computer interface for the MCU slave module, allowing users to view and monitor various operating information of the system. This human-computer interaction function enhances the information exchange between the MCU slave module and the on-site operator, and improves the operational convenience of the entire control system.
[0087] Display system status: The display module can display various system parameters and operating status collected by the single chip microcomputer from the module in real time, such as temperature, pressure, fault information, etc. This intuitive status display helps operators to understand the working status of the system in a timely manner and make correct decisions and operations.
[0088] Auxiliary fault diagnosis: The display module can display the internal status information of the MCU from the module, such as CPU load, memory usage, etc. These diagnostic information helps engineers analyze and locate the root cause of system failures and improve maintenance efficiency.
[0089] Improve system visualization: The display module provides a visual information presentation interface, making the operation status of the MCU module more intuitive and clear. This visual design helps to improve the intelligence level of the entire control system and enhance the user experience.
[0090] Simplify on-site operation: The integrated display module enables the MCU slave module to have independent human-computer interaction capabilities, without relying on upper PLC and other devices for status viewing and operation. This independence simplifies the operation process of on-site engineers and improves the maintainability of the entire system.
[0091] The integrated display module of the MCU slave module provides users with intuitive system status monitoring and human-computer interaction interface, greatly improving the visualization level and operation convenience of the control system. This design not only enhances the functionality of the MCU slave module, but also helps to improve the intelligence level and maintainability of the entire control system.
[0092] The single-chip slave module includes a power supply circuit, which is electrically connected to the CPU and is used to provide electrical energy.
[0093] It should be noted that:
[0094] Stable power supply guarantee: The power supply circuit provides stable and reliable power support for each submodule of the MCU slave module. Through the voltage regulation and filtering functions of the power supply circuit, the normal working voltage of each component inside the MCU slave module is ensured, avoiding system failures caused by abnormal power supply voltage.
[0095] Power conversion adaptation: The power circuit can adapt and convert power supplies of different voltage types, such as converting AC to DC, adjusting voltage, etc. This power adaptation function enables the MCU slave module to be compatible with a wider range of power inputs, improving the applicability and flexibility of the system.
[0096] Overload protection function: The power circuit has built-in protection measures such as overload and short circuit, which can cut off the power supply in time when abnormal voltage or current is detected to protect the MCU slave module from damage. This safety protection mechanism effectively reduces the failure risk of the MCU slave module and improves the reliability of the system.
[0097] Power hot backup: The power circuit can adopt a dual power input design, that is, it has the function of main and backup power switching. When the main power fails, the backup power can be automatically enabled to ensure the continuous power supply of the microcontroller slave module, improving the fault tolerance of the system.
[0098] Power status monitoring: The power circuit can monitor the power supply voltage, current and other parameters in real time, and feed this information back to the CPU for analysis. This power status monitoring function helps the MCU to detect power supply anomalies from the module in time and take corresponding fault handling measures.
[0099] The MCU slave module integrates a power supply circuit, which provides a stable and reliable power supply for the system, and has safety protection functions such as overload protection and hot backup. At the same time, the power supply circuit can also achieve voltage adaptation and status monitoring, further enhancing the functionality and reliability of the MCU slave module, and providing strong support for the stable operation of the entire control system.
[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A single-chip microcomputer slave module cluster control system, characterized in that: The system includes PLC, 485 manager and single chip microcomputer slave module. PLC is connected with 485 manager signal to generate control signal; The 485 manager is connected to the single-chip microcomputer slave module signal to transmit the control signal generated by the PLC to the single-chip microcomputer slave module; The single chip microcomputer slave module includes a relay control module, and the relay control module includes a plurality of relays, each relay is connected to a corresponding valve, and is used to output a switch signal to drive the valve to open and close.
2. A single-chip microcomputer slave module cluster control system as claimed in claim 1, characterized in that: The single-chip microcomputer slave module includes a 485 communication module and a CPU; The 485 communication module is connected with the CPU and the 485 manager signal, and is used to transmit the control signal between the PLC and the CPU; The CPU is connected to the 485 communication module signal and is used to process data to control the single chip slave module.
3. A single-chip microcomputer slave module cluster control system as claimed in claim 2, characterized in that: The single-chip microcomputer slave module includes a reset circuit, which is electrically connected to the CPU and is used to reset the settings of the single-chip microcomputer slave module.
4. A single-chip microcomputer slave module cluster control system as claimed in claim 3, characterized in that: The single-chip microcomputer slave module includes a crystal oscillator circuit, which is electrically connected to the CPU and is used to obtain a clock signal.
5. A single-chip microcomputer slave module cluster control system as claimed in claim 4, characterized in that: The single-chip microcomputer slave module includes a dial switch control module, and the dial switch control module is electrically connected to the CPU and is used to select the working mode of the single-chip microcomputer.
6. A single-chip microcomputer slave module cluster control system as claimed in claim 5, characterized in that: The single-chip microcomputer slave module includes a switch quantity acquisition module, which is electrically connected to the CPU and is used to collect switch quantity signals of the system.
7. A single-chip microcomputer slave module cluster control system as claimed in claim 6, characterized in that: The single chip slave module comprises a display module, and the display module is electrically connected to the CPU and is used for displaying system information.
8. A single-chip microcomputer slave module cluster control system as claimed in claim 7, characterized in that: The single-chip slave module includes a power supply circuit, which is electrically connected to the CPU for providing electrical energy.
Citation Information
Patent Citations
Hydrogen energy emergency power generation control system
CN219591448U