introduction
Currently, most PLC manufacturers only launch redundant PLCs in large PLC systems, but not in small PLC systems, and large redundant PLC systems are expensive.
As the requirements for control system reliability in various industries increase, how to use small PLC to achieve low-cost redundant control system solutions has become a topic. This article discusses a solution to achieve redundant configuration using small PLC, and introduces its principle and application.
1 Introduction to the solution of using small PLC to realize redundant configuration
The scheme of realizing redundant control by using small PLC is shown in Figure 1. In the redundant control system built by using small PLC, two small PLCs of exactly the same model are configured, which are called PLCA and PLCB respectively. In addition, a watchdog signal detection device is configured to determine whether PLCA and PLCB are in normal working state and realize the switching of master and slave PLC. PLCA and PLCB receive the same input signal, and the output signal is determined by the watchdog signal detection device to determine which PLC output is used as the output of the redundant control system. The watchdog signal detection device can be a small PLC with a small number of points, or a single-chip microcomputer.
2 Judgment and switching principle of master-slave PLC
In a redundant PLC system, the most critical issue is how to judge the master and slave PLCs and implement the switching between the master and slave PLCs.
2.1 How to determine the status of PLCA and PLCB
PLCA and PLCB each generate a watchdog pulse signal, and send the watchdog pulse signal to the watchdog signal detection device through the Do point. The watchdog signal detection device detects the watchdog pulse signal sent by PLCA and PLCB, and if the signal is abnormal, it determines that the PLC has a fault.
2.2 Master-slave status at power-on and master-slave PLC switching during normal operation
If PLCA and PLCB are both normal, and the startup sequence at power-on is watchdog signal detection device + PLCA + PLCB, the watchdog signal detection device will give priority to detecting the watchdog signal of PLCA, and take PLCA as the host, and then detect the status of PLCB, and take PLCB as the backup machine: If the power-on startup sequence is watchdog signal detection device + PLCB + PLC A, the watchdog signal detection device will give priority to detecting the watchdog signal of PLCB, and take PLCB as the host, and then detect the status of PLCA, and take PLCA as the backup machine: If the power-on startup sequence is PLCA (or PLCB) + PLCB (or PLCA) + watchdog signal detection device, the watchdog signal detection device detects the watchdog signals of PLCA and PLCB at the same time. In this case, PLCA is given priority as the host and PLCB is used as the backup machine.
During normal operation, if the PLCA (or PLCB) serving as the host fails, it stops sending watchdog signals to the watchdog signal detection device. The watchdog signal detection device detects that the watchdog signal of the PLCA (or PLCB) is abnormal, determines that it has failed, and sends a master-slave switching signal.
3 Lo points for redundancy
3.1 PLCA and PLCB are used to realize redundant lo points
Dol:watchdog pulse signal (towatchdog signal detection device):
D11: A is the host, B is the standby (from watchdog signal detection device):
D12: B is the host machine, A is the standby machine (from watchdog signal detection device).
3.2 Lo point of Watchdog signal detection device
D1l: watchdog pulse signal of PLCA (fromPLCA): D12: watchdog pulse signal of PLCB (fromPLCB): Dol: A is the host, B is the backup machine (toPLCA & PLCB): Do2: B is the host, A is the backup machine (toPLCA & PLCB): Do3: Use the output pulse signal of PLCA (to output switching device): Do4: Use the output pulse signal of PLCB (to output switching device).
4 Input and output signal processing
4.1 Processing of switch input signals
The switch quantity input signal can be divided into two signals by using a relay and connected to PLCA and PLCB at the same time.
4.2 Processing of analog input signals
The analog input signal can be divided into two signals by using a one-input and two-output analog signal isolator and connected to PLCA and PLCB at the same time.
4.3 Processing of switch output signals
The switch output signal uses an R/s holding relay as the switching device of the output signal. Do3 of the watchdog signal detection device (using the output of PLCA) is connected to the R end of the R/s holding relay, and Do4 of the watchdog signal detection device (using the output of PLCB) is connected to the s end of the R/s holding relay.
4.4 Analog output signal processing
The analog output signal uses a homemade electronic circuit board as the output signal switching device. The circuit board selects the PLC output of the host according to the Do3 and Do4 signals of the watchdog signal detection device.
5. Program Implementation
This article takes oMRoNPLC as an example to introduce the implementation method of the program.
(1) The program used to generate the watchdog pulse signal in PLCA (PLCB) is shown in Figure 2.
(2) The status judgment procedure of the watchdog signal detection device for PLCA is shown in Figure 3. The status judgment procedure of the watchdog signal detection device for PLCB is consistent with that of PLCA.
(3) The watchdog signal detection device selects the program of the master and slave PLCs, as shown in Figure 4.
6 Conclusion
The redundant control system built with small PLC has been applied in many actual engineering projects, and the feedback effect is good.
As long as you are diligent in thinking, researching and practicing in your daily work, you will be able to find a low-cost, highly reliable redundant solution suitable for small-point (less than 10 points) occasions to achieve unmanned operation. This will not only save users money and investment during the construction period, but also reduce subsequent maintenance costs and save a lot of labor costs.
Previous article:Application of automatic mixing and delivery system in the production of powder metallurgy friction materials
Next article:Application and improvement of high-energy micro-mist dust suppression system for mobile hopper
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Tips for selecting inductors in switching power supplies
- Watch! Millimeter wave applied to liquid level measurement design case,,,
- Can anyone share the motor stall detection circuit? Similar to the motor stall detection circuit of door locks and sweepers,
- STM32F10x stepper motor encoder position control CANWeb source program
- MSP430F249_TimerA timer
- Synthesizable Verilog Syntax (Cambridge University, photocopy)
- [RVB2601 Creative Application Development] Short recording, playback and printing of recording data
- When the carrier data reaches the receiving end, how does the receiving end identify this information?
- SparkRoad Review (7) - FPGA Serial Port Test
- Disable AD auto-start JLink