A kind of bilayer industrial control unit (ICU)
Technical field
The present invention relates to a kind of control processing system more particularly to a kind of double-deck industrial control unit (ICU)s of industrial application.
Background technique
PLC is usually used in industrial control field as a kind of programmable logic control, in exploitation using PLC as control
When the industrial control equipment of device, it is only necessary to PLC is installed in complete machine, designed accordingly further according to the control logic of control equipment
Software.But PLC is expensive, the price of a PLC is tens times of singlechip chip price even hundreds of times,
To the figure that often can not see PLC on the product of Price Sensitive.But it is in the industrial equipment designed and developed using single-chip microcontroller,
It needs first to design control mainboard using single-chip microcontroller, then designs corresponding software further according to the control logic of control equipment, by
In opposite PLC industrial control equipment, a link can be had more using single-chip microcontroller design industrial control equipment, i.e., set using single-chip microcontroller
One piece of control mainboard is counted, therefore longer using the development cycle of the industrial control equipment of single-chip microcontroller.The current double-deck Industry Control
Device can simply be divided into PLC industrial control unit (ICU) and the double-deck industrial control unit (ICU) of single-chip microcontroller industry, and PLC industrial control unit (ICU) price is high
Expensive, the single-chip microcontroller industrial control unit (ICU) development cycle is long, aiming at the problem that currently encountering, needs a kind of cheap and develops in practice
Period short industrial control unit (ICU).
At the same time, common power supply structure in industrial control unit (ICU), in order to improve level of integrated system, reduction system volume,
Often the power supply unit of system and power unit are integrated on same circuit board, and for the ease of system power supply, usually
Multiple processing of circuit units can be set and supply the power supply processing of input at the power unit that different voltage ratings is surrounding nearby
Electricity.But this power supply architecture there is a problem of very big, on the one hand be each self-dispersing of power supply processing unit, voltage change unit
In order to which close to power unit, the principle power protection unit often designed is easily damaged power protection when there is circuit abnormality
Circuit between unit and voltage transformation module increases circuit risk;On the other hand it is then, due to each self-dispersing of circuit unit,
When occurring with electric fault, circuit maintenance is difficult, cannot concentrate inspection power supply unit.In this regard, if there is it is a kind of will be at each circuit
It manages unit to integrate, and the scheme far from power unit, then can solve the problem of currently encountering.
Summary of the invention
The present invention provides a kind of double-deck industrial control unit (ICU)s, it is intended to solve the current single-chip microcontroller industrial control unit (ICU) development cycle
Long problem further solves the problems, such as that current industrial control unit (ICU) power supply architecture is unreasonable.
A kind of double-deck industrial control unit (ICU) of the present invention, including top plate and lower plywood;The lower plywood includes: power supply
Input terminal, upper and lower plates connection terminal, micro controller unit, digital signal input unit, analog signal input unit, output unit
And serial communication unit;The top plate includes: upper and lower plates connection terminal and power conversion unit;
The top plate and the lower plywood are connected by the upper and lower plates connection terminal of top plate and the upper and lower plates of lower plywood
Terminal connection;
The power input receives external power supply power supply, and will by the upper and lower plates connection terminal of top plate and lower plywood
Electric energy is transmitted to the power conversion unit;
Power conversion unit receives the input of external power supply, handles power supply, obtains to carry out for other units
The voltage rating of power supply is on lower plywood including microcontroller by upper and lower plates connection terminal by electrical energy transportation to lower plywood
Unit, digital signal input unit, analog signal input unit, output unit and serial communication unit power supply;
The micro controller unit receives the signal that digital signal input unit and analog signal input unit are sent, micro-control
Device unit processed is connect with output unit, and micro controller unit connect the communication realized with external equipment with communication unit;
The digital signal input unit receives the digital signal that external equipment issues and is sent to micro controller unit;
The analog signal input unit receives the analog signal that external equipment issues and is sent to micro controller unit;
The output unit receives the control signal that micro controller unit is sent, and controls external equipment;
The serial communication unit receives external signal and forwards to micro controller unit, receives micro controller unit and issues
Signal to external device forwards.
A kind of double-deck industrial control unit (ICU) of the present invention by power supply unit and is used by setting top plate and lower plywood
Electric unit separation, the power conversion unit handled power supply are arranged in top plate, and each power supply unit is integrated in lower plywood,
When there is abnormal electrical power supply, power supply layer can be overhauled first, quick lock in anomaly unit, avoid to whole system circuit into
The difficulty that row inspection and repair shop faces.Circuit input unit, which is not in same circuit board with other power units, can reduce power supply line
With approaching for communication line, line short risk is avoided.Also, the bilayer industrial control unit (ICU) is inputted single by setting digital signal
The signal of member, analog signal input unit and output unit, signal and untreated output to external equipment input is handled,
It solves the problems, such as the signal difference of other industrial equipments and micro controller unit, realizes control of the micro controller unit to external equipment
System.It is additionally provided with display unit simultaneously, by showing the electric power thus supplied of power conversion unit and the working condition of other units, just
The control situation of controller is grasped in user.Moreover communication unit is also set up, show micro controller unit and external equipment
Communication, can import or export the information in micro controller unit, if external equipment is display, equipment can also be by microcontroller
Specifying information in unit carries out screen and shows, so that user accurately grasps control situation.Industry Control described in the invention
Device is designed to universal controller, so that the industry by increasing peripheral circuit as micro controller unit using single-chip microcontroller
Controller not only has PLC stability high, is effectively isolated to strong and weak electricity, and client cost and big can also be greatly lowered
It is big to shorten the development cycle, for the demand of different clients, only needed using the industrial control unit (ICU) for different customer demands pair
Software carries out small-scale modification.The industrial control unit (ICU) has PLC industrial control unit (ICU) and single-chip microcontroller industrial control unit (ICU) simultaneously
A little, solve the problems, such as that current industrial control unit (ICU) is expensive or the development cycle is long.Further, since many users can be by work
For industry controller application in Temperature and Humidity Control, the control of salt spray test equipment etc., the output unit of the industrial control unit (ICU) is also special
Solid-state relay output module is set, to control solid-state relay.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram of the top plate of double-deck industrial control unit (ICU);
Fig. 2 is a kind of structural block diagram 1 of the lower plywood of double-deck industrial control unit (ICU);
Fig. 3 is a kind of structural block diagram 2 of the lower plywood of double-deck industrial control unit (ICU);
Fig. 4 is a kind of circuit diagram of the digital signal input unit 8 of double-deck industrial control unit (ICU);
Fig. 5 is a kind of circuit diagram of the digital signal output modules of double-deck industrial control unit (ICU);
Fig. 6 is a kind of circuit diagram of the solid-state relay output module 14 of double-deck industrial control unit (ICU).
Specific embodiment
As depicted in figs. 1 and 2, a kind of double-deck industrial control unit (ICU) of the present invention, including top plate and lower plywood;It is described
Lower plywood includes: power input 7, upper and lower plates connection terminal 1, micro controller unit 10, digital signal input unit 8, simulation
Signal input unit 11, output unit 12 and serial communication unit 9;The top plate includes: upper and lower plates connection terminal 1 and power supply
Converter unit 2;The top plate and the lower plywood are connected by the upper and lower plates connection terminal 1 of top plate and the upper and lower plates of lower plywood
Connecting terminal 1 connects;The power input 7 receives external power supply power supply, and is connected by top plate with the upper and lower plates of lower plywood
Electric energy is transmitted to the power conversion unit 2 by terminal 1;Power conversion unit 2 receives the input of external power supply, to power supply into
Row processing obtains the voltage rating that can be powered for other units, by upper and lower plates connection terminal 1 by electrical energy transportation under
Laminate is on lower plywood including micro controller unit 10, digital signal input unit 8, analog signal input unit 11, output
Unit 12 and serial communication unit 9 are powered;The micro controller unit 10 receives digital signal input unit 8 and analog signal is defeated
Enter the signal of the transmission of unit 11, micro controller unit 10 is connect with output unit 12, and micro controller unit 10 and communication unit connect
Connect realization and the communication of external equipment;The digital signal input unit 8 receives the digital signal that external equipment issues and transmission
To micro controller unit 10;The analog signal input unit 11 receives the analog signal that external equipment issues and is sent to micro-control
Device unit 10 processed;The output unit 12 receives the control signal that micro controller unit 10 is sent, and controls to external equipment
System;The serial communication unit 9 receives external signal and forwards to micro controller unit 10, receives micro controller unit 10 and issues
Signal to external device forwards.By setting top plate and lower plywood, power supply unit is separated with power unit, to power supply into
The power conversion unit 2 of row processing is arranged in top plate, and each power supply unit is integrated in lower plywood, when there is abnormal electrical power supply,
Power supply layer can be overhauled first, quick lock in anomaly unit, avoid facing whole system circuit progress inspection and repair shop tired
It is difficult.Circuit input unit is not in same circuit board with other power units can reduce connecing for power supply line and communication line
Closely, line short risk.Single-chip microcontroller is used to be designed to universal control by increasing peripheral circuit as micro controller unit 10
Device is effectively isolated strong and weak electricity so that the bilayer industrial control unit (ICU) not only has PLC stability high, can also be significantly
Reducing client cost and greatly shortening the development cycle is only needed for the demand of different clients using the bilayer industrial control unit (ICU)
Small-scale modification is carried out to software for different customer demands.The bilayer industrial control unit (ICU) has PLC work simultaneously
Industry controller and single-chip microcontroller industrial control unit (ICU) a little, solve that the double-deck industrial control unit (ICU) is expensive at present or the development cycle is long
The problem of.
As shown in Figure 1, the power conversion unit 2 includes power source protective module 3 and DC/DC voltage reduction module 4, the power supply
Protective module 3 receives and transmits electric energy to the DC/DC voltage reduction module 4, carries out overcurrent protection or anti-reverse protection to circuit, and
High-voltage power supply is provided by high voltage supply end for lower plywood;The DC/DC voltage reduction module 4 carries out voltage change to received electric energy
It changes, and provides low-tension supply by low-voltage power supply end for lower plywood and power source protective module 3 is set between voltage reduction module, avoid electricity
The power supply damage that source causes the damage of subsequent conditioning circuit that load short circuits is also avoided to may cause extremely.
As shown in Figure 1, the top plate further includes LED display unit 6, the LED display unit 6 receives power conversion list
The power supply of member 2, and indicate the working condition of other units.By the inner workings of LED light indicating double-layer industrial control unit (ICU),
Convenient for user's observation.
As shown in Figure 1, the top plate further includes usb communication unit 5, the usb communication unit 5 receives external signal simultaneously
It is forwarded to micro controller unit 10, receives signal that micro controller unit 10 issues to external device forwards.On lower plywood
Serial communication unit 9 realizes communication jointly, and serial communication unit 9 further includes serial communication terminal 26 and serial communication
Circuit 25.
As shown in figure 3, the digital signal input unit 8 includes digital input port 15 and light-coupled isolation module 16, institute
State the digital signal that digital input port 15 connect with external equipment and receives its sending;The light-coupled isolation module 16 receives number
The digital signal of the transmission of word input port 15 is simultaneously forwarded to micro controller unit 10.By light-coupled isolation module 16 to digital signal
It is isolated, the signal for avoiding other signal interference external equipments from inputting.
As shown in figure 4, light-coupled isolation module 16 described in one embodiment of this kind bilayer industrial control unit (ICU) includes the
One resistance, second resistance, 3rd resistor and the first optocoupler;Described first resistor one end is connect with external equipment, first electricity
The resistance other end is connect with the crus secunda of the first optocoupler input, and first foot of the first optocoupler input passes through second resistance and height
Feeder ear connection is pressed, first foot of the first optocoupler output is connect with low-voltage power supply end, first optocoupler output second
Foot is grounded by 3rd resistor, and the second pin of first optocoupler output is connected to the micro controller unit 10.
As shown in figure 4, the light-coupled isolation module 16 further includes first capacitor and the second capacitor;The one of the first capacitor
End is connected to the high voltage supply end, and the other end of the first capacitor is connected to the crus secunda of first optocoupler input;
One end of second capacitor is connected to the low-voltage power supply end, and the other end of second capacitor is connected to first optocoupler
The second output terminal of output end.
As shown in figure 3, the analog signal input unit 11 includes simulation input port 17, signal selection module 18 and mould
Number conversion module 19, the simulation input port 17 connect with external equipment and receive the analog signal of its sending;The signal
Selecting module 18 receives the analog signal that simulation input port 17 issues and is handled, and the analog signal needed is sent to
Analog-to-digital conversion module 19;Obtained analog signal is converted to digital signal and is sent to micro process by the analog-to-digital conversion module 19
Device.Digital-to-analogue conversion is carried out to analog signal, carries out signal processing convenient for micro controller unit 10.
As shown in figure 3, the output unit 12 includes the numeral output that output digit signals control external equipment
The solid-state relay output module of the control to solid-state relay is realized in module 13, and output with the matched signal of solid-state relay
14;The digital output module 13 includes level shifting circuit 20, relay isolation circuit 21 and digital output port 22, described
Level shifting circuit 20 converts the low-voltage signal of untreated output to the high-voltage signal that can drive relay;The relay
The high-voltage signal that isolation circuit 21 receives the sending of level shifting circuit 20 controls the opening and closing of relay with this;The numeral output
Port 22 realizes being opened or closed for circuit according to the opening and closing of relay, realizes the control exported to digital signal;The solid-state
Relay output module 14 includes that solid-state relay controls signal adjustment circuit 23 and solid-state relay control port 24, described solid
State relay control signal adjustment circuit 23 receive micro controller unit 10 issue control signal, after being handled issue solid-state after
Electrical equipment control is instructed to solid-state relay control port 24;The solid-state relay control port 24 forward the solid-state that receives after
Electrical equipment control is instructed to external solid-state relay.Since many users can apply the double-deck industrial control unit (ICU) in temperature and humidity control
System, salt spray test equipment control etc., the output unit 12 of the bilayer industrial control unit (ICU) also especially setting solid-state relay are defeated
Module 14 out, will pass through control of the control realization to heating tube, compressor etc. to solid-state relay.
As shown in figure 5, digital output module 13 described in one embodiment of this kind bilayer industrial control unit (ICU) includes electricity
Conversion chip and relay group are pressed, each input terminal of voltage conversion chip control terminal corresponding with micro controller unit 10 connects
It connects, each output end of shown voltage conversion chip connect opening for control relay with each relay in relay group respectively
It closes, the circuit of the open and close control digital output port 22 of relay is opened or closed.
As shown in fig. 6, solid-state relay output module 14 described in one embodiment of this kind bilayer industrial control unit (ICU)
Including the 4th resistance, the 5th resistance, the second optocoupler, the first triode and zener diode;Described 4th resistance one end with it is described
Micro-control unit connection, the other end are connect with first foot of the second optocoupler input, the second optocoupler input crus secunda
Ground connection;Second optocoupler output, first foot is connect with the low-voltage power supply end, the crus secunda of second optocoupler output
By the 5th resistance eutral grounding, the second optocoupler output crus secunda is connect with first transistor base, and the described 1st
Pole pipe emitter ground connection, first transistor collector are connect with external solid-state relay;The high voltage supply end connection
To the cathode of the zener diode, the anode of the zener diode is connect with the collector of first triode, described
The anode of zener diode with the external solid-state relay for connecting.
As shown in fig. 6, the solid-state relay control circuit further includes third capacitor and fuse;The third capacitor
One end is connected to the low-voltage power supply end, and what the other end of the third capacitor was connected to second optocoupler output second draws
Foot;The anode of the zener diode is connect with the collector of first triode specifically: the sun of the zener diode
Pole is connect by the fuse with the collector of first triode.
For those skilled in the art, it can make other each according to the above description of the technical scheme and ideas
Kind is corresponding to be changed and deforms, and all these change and deform the protection model that all should belong to the claims in the present invention
Within enclosing.