CN112486051A - Electric automatization controlling means - Google Patents
Electric automatization controlling means Download PDFInfo
- Publication number
- CN112486051A CN112486051A CN201910865124.9A CN201910865124A CN112486051A CN 112486051 A CN112486051 A CN 112486051A CN 201910865124 A CN201910865124 A CN 201910865124A CN 112486051 A CN112486051 A CN 112486051A
- Authority
- CN
- China
- Prior art keywords
- unit
- module
- analog input
- expansion module
- cascade
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
The invention discloses an electrical automation control device, which comprises: the system comprises a core control module, an IO expansion module and an analog input expansion module; the core control module is used for controlling the IO expansion module and the analog input expansion module; the IO expansion module is used for expanding a digital quantity IO interface; the analog input expansion module is used for expanding an analog data input interface of 0-10V; all modules are cascaded in a CAN bus and hardware interrupt line composite mode; and dial switches for setting IDs are configured in the IO expansion module and the analog input expansion module, and the core control module controls the corresponding modules according to the ID addresses of the IO expansion module and the analog input expansion module. In use, a user can operate the whole set of electric automation control device by only programming the core control module, and the automatic control of general electric equipment can be met.
Description
Technical Field
The invention relates to the technical field of electrical automation control, in particular to an electrical automation control device.
Background
In the field of automation control of electrical equipment, a PLC (programmable logic controller) is generally used to control electrical equipment. The PLC has the advantages of strong anti-interference performance, flexible use, high running speed and the like, is a controller with strong universality, and is suitable for most of electrical automation control occasions. However, the PLC has a drawback of being too costly for the case of the unit electrical automation control. For such a situation, many enterprises can independently develop and develop control systems to control electrical devices, but the control systems can only be used in specific occasions, and the universality is not strong.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an electrical automation control device, which effectively solves the technical problem that the existing control system is not strong in universality.
In order to achieve the purpose, the invention is realized by the following technical scheme:
an electrical automation control device comprising: the system comprises a core control module, an IO expansion module and an analog input expansion module; the core control module is used for controlling the IO expansion module and the analog input expansion module; the IO expansion module is used for expanding a digital quantity IO interface; the analog input expansion module is used for expanding an analog data input interface of 0-10V; all modules are cascaded in a CAN bus and hardware interrupt line composite mode; and dial switches for setting IDs are configured in the IO expansion module and the analog input expansion module, and the core control module controls the corresponding modules according to the ID addresses of the IO expansion module and the analog input expansion module.
Further preferably, the IO extension module and the analog input extension module are both configured with 4-bit dial switches for setting IDs, and the core control module can cascade 16 IO extension modules and analog input extension modules at most.
Further preferably, the core control module includes a first processing unit, a first IO unit, a first cascade unit, an ethernet port unit, a serial port unit, and a storage unit, where the first IO unit, the first cascade unit, the ethernet port unit, the serial port unit, and the storage unit are respectively connected to the first processing unit, where the first processing unit generates a control instruction according to an ID address of the IO expansion module or the analog input expansion module and sends a corresponding module and is configured to receive status information fed back by the IO expansion module and the analog input expansion module; the first IO unit is an optical coupling isolation input and output interface; the first cascade unit is used for cascading an interface of the IO expansion module or the analog input expansion module; the Ethernet interface unit is a standard TCP or UDP protocol interface; the serial port unit is a standard RS232 interface; the storage unit is used for storing the power failure data.
Further preferably, the IO extension module includes a second processing unit, a second IO unit, a second cascade unit, and a first ID setting unit, and the second IO unit, the second cascade unit, and the first ID setting unit are respectively connected to the second processing unit, where the processing unit is configured to process a control instruction sent by the core control module and is configured to feed back a current state of the IO extension module to the core control module, and the second IO unit is an interface for optical coupling isolation input and relay output; the second cascade unit is an interface for connecting the front cascade module and the rear cascade module, and the first ID setting unit is used for setting an ID address of the current IO extension module.
Further preferably, the analog input expansion module includes a third processing unit, an analog input unit, a third cascade unit and a second ID setting unit, and the analog input unit, the third cascade unit and the second ID setting unit are respectively connected to the third processing unit, where the third processing unit is configured to process a control instruction sent by the core control module and is configured to feed back a current state of the analog input expansion module to the core control module; the analog input unit is an analog input interface consisting of an operational amplifier and MCU analog-to-digital conversion; the third cascade unit is an interface for connecting the front cascade module and the rear cascade module; the second ID setting unit is used for setting the ID address of the current analog input expansion module.
The electrical automation control device provided by the invention is programmed by using C language, programs of the IO expansion module and the analog input expansion module are fixed, and in use, a user only needs to program the core control module to operate the whole set of electrical automation control device, so that the input and output of an interface of the electrical automation control device are controlled, and the automatic control of general electrical equipment can be met.
Drawings
A more complete understanding of the present invention, and the attendant advantages and features thereof, will be more readily understood by reference to the following detailed description when considered in conjunction with the accompanying drawings wherein:
FIG. 1 is a schematic block diagram of an electrical automation control apparatus of the present invention;
FIG. 2 is a hardware block diagram of a core control module according to the present invention;
FIG. 3 is a hardware block diagram of an IO expansion module in the present invention;
FIG. 4 is a hardware block diagram of an analog input module according to the present invention;
fig. 5 is a schematic diagram of an application scenario in an embodiment of the present invention.
Reference numerals:
10-core control module, 20-IO expansion module, 30-analog input expansion module, 11-first processing unit, 12-first IO unit, 13-first cascade unit, 14-Ethernet port unit, 15-serial port unit, 16-storage unit, 21-second processing unit, 22-second IO unit, 23-second cascade unit, 24-first ID setting unit, 31-third processing unit, 32-analog input unit, 33-third cascade unit and 34-second ID setting unit.
Detailed Description
In order to make the contents of the present invention more comprehensible, the present invention is further described below with reference to the accompanying drawings. The invention is of course not limited to this particular embodiment, and general alternatives known to those skilled in the art are also covered by the scope of the invention.
Fig. 1 is a schematic block diagram of an electrical automation control device provided by the present invention, and as can be seen from the diagram, the electrical automation control device includes: the system comprises a core control module 10, an IO expansion module 20 and an analog input expansion module 30, wherein the core control module is an operation processing center and is responsible for running programs written by users and controlling the IO expansion module and the analog input expansion module; the IO expansion module is used for expanding a digital quantity IO interface; the analog input expansion module is used for expanding an analog data input interface of 0-10V; all modules are cascaded in a CAN bus and hardware interrupt line composite mode. In addition, dial switches for setting IDs are configured in the IO expansion module and the analog input expansion module, and the core control module controls the corresponding modules according to the ID addresses of the IO expansion module and the analog input expansion module.
Before working, each expansion module (IO expansion module 20 and analog input expansion module 30) sets its own ID address and reports it to the core control module 10, so that, during working, the core control module 10 (communicating via the CAN bus) controls the corresponding expansion module to act via the ID address. If the expansion module has an emergency event, such as an emergency stop event, a power failure event, etc., the expansion module sends an emergency interrupt command to the core module through the hardware interrupt line, and simultaneously reports the event type to the core control module 10 through the CAN bus. The whole electric automation control device is programmed by using C language, programs of the IO expansion module 20 and the analog input expansion module 30 are fixed before, therefore, in use, a user only needs to program the core control module 10 to complete the operation of the whole set of electric automation control device, and the electric automation control device is simple and convenient and has strong universality.
In one example, the IO extension module and the analog input extension module have 4-bit dial switch setting IDs, so that the core control module can cascade 16 IO extension modules and analog input extension modules at most, and the core control module 10 controls the corresponding modules according to the ID addresses of the IO extension modules and the analog input extension modules.
As shown in fig. 2, the core control module 10 includes a first processing unit 11, a first IO unit 12, a first cascade unit 13, an ethernet port unit 14, a serial port unit 15, and a storage unit 16, where the first IO unit 12, the first cascade unit 13, the ethernet port unit 14, the serial port unit 15, and the storage unit 16 are respectively connected to the first processing unit 11, and the first processing unit 11 generates a control instruction according to an ID address of the IO extension module 20 or the analog input extension module 30 and sends a corresponding module and is used to receive status information fed back by the IO extension module 20 and the analog input extension module 30; the first IO unit 12 is an optical coupling isolation input/output interface; the first cascade unit 13 is used for cascading the interfaces of the IO expansion module 20 or the analog input expansion module 30; the ethernet port unit 14 is a standard TCP or UDP protocol interface; the serial port unit 15 is a standard RS232 interface; the storage unit 16 is used for storing power-down data.
In an example, the first processing unit 11 is implemented by a single chip microcomputer STM32F103VET6, and in operation, manages and controls the first IO unit 12, the ethernet port unit 14, the serial port unit 15, the first cascade unit 13, and the storage unit 16, where the first IO unit 12 is configured to implement input and output of an IO signal, and the input and output are all isolated by a TLP281 optical coupler. The ethernet port unit 14 is implemented by a W5500 chip, and can implement TCP protocol client, TCP protocol server and UDP protocol communication. The serial port unit 15 is realized by a MAX3232 chip, the communication form is RS232, and the communication baud rate can be set. The first cascade unit 13 is composed of a TJA1050 chip configuration and a hardware interrupt line, and is configured to cascade an interface of the IO expansion module 20 or the analog input expansion module 30. The memory unit 16 is implemented by an M24C02 chip and is used for storing data that needs to be maintained after power down.
As shown in fig. 3, the IO extension module 20 includes a second processing unit 21, a second IO unit 22, a second cascade unit 23, and a first ID setting unit 24, where the second IO unit 22, the second cascade unit 23, and the first ID setting unit 24 are respectively connected to the second processing unit 21, the processing unit is configured to process a control instruction sent by the core control module 10 and to feed back a current state of the IO extension module 20 to the core control module 10, and the second IO unit 22 is an interface for optical coupling isolation input and relay output; the second cascade unit 23 is an interface for connecting the tandem modules, and the first ID setting unit 24 is configured to set an ID address of the current IO extension module 20.
In an example, the second processing unit 21 is implemented by a single chip microcomputer STM32F103C8T6, and in operation, manages and controls the second IO unit 22, the first ID setting unit 24, and the second cascade unit 23. The second IO unit 22 is configured to implement input and output of an IO signal, where the input is TLP281 optical coupling isolation, and the output is relay output, and the specific implementation method of the output is: the ULN2803ADW chip amplifies the signal from the second processing unit 21, and drives the HF49FD/005 relay to output. The first ID setting unit 24 is implemented by a 4-bit dial switch, and is configured to set an ID number of the current IO extension module 20, and the core control module 10 controls the IO extension module 20 through the ID number. The second cascade unit 23 is composed of a TJA1050 chip configuration and a hardware interrupt line, and is responsible for communication with the core control module 10.
As shown in fig. 4, the analog input extension module 30 includes a third processing unit 31, an analog input unit 32, a third cascade unit 33, and a second ID setting unit 34, where the analog input unit 32, the third cascade unit 33, and the second ID setting unit 34 are respectively connected to the third processing unit 31, where the third processing unit 31 is configured to process a control instruction sent by the core control module 10 and is configured to feed back a current state of the analog input extension module 30 to the core control module 10; the analog input unit 32 is an analog input interface composed of an operational amplifier and MCU analog-to-digital conversion; the third cascade unit 33 is an interface for connecting the front and rear cascade modules; the second ID setting unit 34 is used to set the ID address of the current analog input extension module 30.
In an example, the third processing unit 31 is implemented by a single chip microcomputer STM32F103C8T6, and in operation, the analog input unit 32, the second ID setting unit 34, and the third cascade unit 33 are controlled. The analog input unit 32 is subjected to signal conversion by an AD620ARZ operational amplifier and then input to the third processing unit 31 for analog-to-digital conversion, and negative voltage required by an AD620ARZ chip is generated by an NE555 chip. The second ID setting unit 34 is implemented by a 4-bit dial switch, and is configured to set an ID number of the current analog input extension module 30, and the core control module 10 controls the analog input extension module 30 through the ID number. The third cascade unit 33 is composed of a TJA1050 chip configuration and a hardware interrupt line, and is responsible for communication with the core control module 10.
Fig. 5 is a schematic diagram of an example application scenario, in the application scenario, output terminals Q0 and Q1 of the electrical automation control device are respectively used for controlling the trolley to move forward and backward, a front limit I1 and a rear limit I2 are arranged in the moving direction of the trolley, signals are respectively input to input interfaces I1 and I2 of the electrical automation control device, and the start switch is connected to an input interface I0 of the electrical automation control device.
The working process includes that a starting switch is pressed (an input interface I0 is equal to 1), the trolley moves forwards rightwards (an output end Q0 of the electric automation control device is equal to 1, and an output end Q1 is equal to 0), the direction of the trolley is changed after the trolley touches a front limit (an input interface I1 is equal to 1), the trolley moves backwards leftwards (an output end Q0 of the electric automation control device is equal to 0, and an output end Q1 is equal to 1), and the trolley stops (an output end Q0 of the electric automation control device is equal to 0, and an output end Q1 is equal to 0) after the trolley touches a rear limit (an input interface I2 is equal to 1).
Claims (5)
1. An electrical automation control apparatus, comprising: the system comprises a core control module, an IO expansion module and an analog input expansion module; the core control module is used for controlling the IO expansion module and the analog input expansion module; the IO expansion module is used for expanding a digital quantity IO interface; the analog input expansion module is used for expanding an analog data input interface of 0-10V; all modules are cascaded in a CAN bus and hardware interrupt line composite mode; and dial switches for setting IDs are configured in the IO expansion module and the analog input expansion module, and the core control module controls the corresponding modules according to the ID addresses of the IO expansion module and the analog input expansion module.
2. The electrical automation control device of claim 1 wherein the IO extension module and the analog input extension module are each configured with a 4-bit dial switch for setting ID, and the core control module can be cascaded with up to 16 IO extension modules and analog input extension modules.
3. The electrical automation control device according to claim 1 or 2, wherein the core control module comprises a first processing unit, a first IO unit, a first cascade unit, an ethernet port unit, a serial port unit and a storage unit, the first IO unit, the first cascade unit, the ethernet port unit, the serial port unit and the storage unit are respectively connected to the first processing unit, wherein the first processing unit generates a control command according to an ID address of the IO expansion module or the analog input expansion module and transmits a corresponding module and is configured to receive status information fed back by the IO expansion module and the analog input expansion module; the first IO unit is an optical coupling isolation input and output interface; the first cascade unit is used for cascading an interface of the IO expansion module or the analog input expansion module; the Ethernet interface unit is a standard TCP or UDP protocol interface; the serial port unit is a standard RS232 interface; the storage unit is used for storing the power failure data.
4. The electrical automation control device according to claim 1 or 2, wherein the IO extension module includes a second processing unit, a second IO unit, a second cascade unit, and a first ID setting unit, and the second IO unit, the second cascade unit, and the first ID setting unit are respectively connected to the second processing unit, wherein the processing unit is configured to process a control command sent by the core control module and to feed back a current state of the IO extension module to the core control module, and the second IO unit is an interface for optical coupling isolation input and relay output; the second cascade unit is an interface for connecting the front cascade module and the rear cascade module, and the first ID setting unit is used for setting an ID address of the current IO extension module.
5. The electrical automation control device according to claim 1 or 2, wherein the analog input expansion module comprises a third processing unit, an analog input unit, a third cascade unit and a second ID setting unit, the analog input unit, the third cascade unit and the second ID setting unit are respectively connected to the third processing unit, wherein the third processing unit is configured to process a control command sent by the core control module and to feed back a current state of the analog input expansion module to the core control module; the analog input unit is an analog input interface consisting of an operational amplifier and MCU analog-to-digital conversion; the third cascade unit is an interface for connecting the front cascade module and the rear cascade module; the second ID setting unit is used for setting the ID address of the current analog input expansion module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910865124.9A CN112486051A (en) | 2019-09-12 | 2019-09-12 | Electric automatization controlling means |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910865124.9A CN112486051A (en) | 2019-09-12 | 2019-09-12 | Electric automatization controlling means |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112486051A true CN112486051A (en) | 2021-03-12 |
Family
ID=74920698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910865124.9A Pending CN112486051A (en) | 2019-09-12 | 2019-09-12 | Electric automatization controlling means |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112486051A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5930346A (en) * | 1996-10-17 | 1999-07-27 | Chen; Abraham Y. | Extended public switched telephone network architecture with enhanced subscriber control on call setup |
KR20080003619A (en) * | 2006-07-03 | 2008-01-08 | 한국전기연구원 | Apparatus for power line communications integrated gateway |
CN101272338A (en) * | 2008-05-14 | 2008-09-24 | 杭州华三通信技术有限公司 | Method for port band width configuration on non-line speed interface plate and non-line speed interface plate |
CN102608927A (en) * | 2012-03-07 | 2012-07-25 | 北京瀚景锦河科技有限公司 | Device for expanding semaphore acquisition port |
CN103218334A (en) * | 2013-03-30 | 2013-07-24 | 西北工业大学 | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus |
CN103576598A (en) * | 2012-07-27 | 2014-02-12 | 施耐德电器工业公司 | Programmable logic control system based on wireless expansion bus mode and control method |
CN204406134U (en) * | 2014-12-30 | 2015-06-17 | 福州富昌维控电子科技有限公司 | A kind of PLC expanding element device based on novel universal serial bus |
US20150244420A1 (en) * | 2014-02-27 | 2015-08-27 | Denso Corporation | Communication system, communication slave and communication master |
CN205067676U (en) * | 2015-10-27 | 2016-03-02 | 丰郅(上海)新能源科技有限公司 | Can cascade modularization photovoltaic arc detection ware of extension |
CN107272556A (en) * | 2017-06-30 | 2017-10-20 | 张碧陶 | A kind of Digital Control System for automatic assembling production line |
-
2019
- 2019-09-12 CN CN201910865124.9A patent/CN112486051A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5930346A (en) * | 1996-10-17 | 1999-07-27 | Chen; Abraham Y. | Extended public switched telephone network architecture with enhanced subscriber control on call setup |
KR20080003619A (en) * | 2006-07-03 | 2008-01-08 | 한국전기연구원 | Apparatus for power line communications integrated gateway |
CN101272338A (en) * | 2008-05-14 | 2008-09-24 | 杭州华三通信技术有限公司 | Method for port band width configuration on non-line speed interface plate and non-line speed interface plate |
CN102608927A (en) * | 2012-03-07 | 2012-07-25 | 北京瀚景锦河科技有限公司 | Device for expanding semaphore acquisition port |
CN103576598A (en) * | 2012-07-27 | 2014-02-12 | 施耐德电器工业公司 | Programmable logic control system based on wireless expansion bus mode and control method |
CN103218334A (en) * | 2013-03-30 | 2013-07-24 | 西北工业大学 | Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus |
US20150244420A1 (en) * | 2014-02-27 | 2015-08-27 | Denso Corporation | Communication system, communication slave and communication master |
CN204406134U (en) * | 2014-12-30 | 2015-06-17 | 福州富昌维控电子科技有限公司 | A kind of PLC expanding element device based on novel universal serial bus |
CN205067676U (en) * | 2015-10-27 | 2016-03-02 | 丰郅(上海)新能源科技有限公司 | Can cascade modularization photovoltaic arc detection ware of extension |
CN107272556A (en) * | 2017-06-30 | 2017-10-20 | 张碧陶 | A kind of Digital Control System for automatic assembling production line |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131240B (en) | CAN address allocation method and communication system based on sequential chain | |
CN101799689A (en) | Dual-redundancy steering engine controller | |
CN203240965U (en) | Dual-redundancy remote launch-control system for carrier rocket | |
CN204392278U (en) | A kind of CAN redundant circuit | |
CN105260002A (en) | Server POWER SUPPLY SYSTEM AND CONTROL METHOD THEREOF | |
CN104270306A (en) | Gateway controller with multi-channel CAN bus communication function | |
CN112486051A (en) | Electric automatization controlling means | |
CN111443659A (en) | Remote monitoring control system for numerical control machine tool | |
JP2000006070A (en) | Robot control system | |
CN104777805A (en) | Industrial robot safety control system as well as backup safety circuit and safety module | |
CN103955139A (en) | Method for achieving simulation of heavy duty gas turbine by adopting distributed control system | |
CN202583779U (en) | Embedded automatic switching control device | |
CN214412612U (en) | Double-circuit hub servo motor driving and controlling system | |
CN201876698U (en) | Multi-path isolated programmable controller | |
CN104407571A (en) | Transformation method for explosive machining using numerical control machine tool | |
CN111092799A (en) | Automatic ID setting method applied to battery management system BMS | |
CN204827891U (en) | Redundant control automation safety device of air compressor | |
CN211557467U (en) | Digital audio processing circuit with configurable port direction and equipment | |
CN203299575U (en) | Double-redundancy control signal communication display controller | |
CN110416966A (en) | A kind of auto-pilot controller delay cut-off system | |
CN109224322B (en) | Vacuum control system applied to proton treatment device | |
CN101532389A (en) | Control device of local fan of heading face and control method thereof | |
CN112462643B (en) | Self-cancellation state monitoring system based on power supply control switching | |
CN110233692A (en) | Lighting sound video time code synchronization system | |
CN210577735U (en) | Automatic drive controller time delay outage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210312 |
|
RJ01 | Rejection of invention patent application after publication |