CN111736520A - Core controller circuit for PLC practical training device - Google Patents

Core controller circuit for PLC practical training device Download PDF

Info

Publication number
CN111736520A
CN111736520A CN202010691257.1A CN202010691257A CN111736520A CN 111736520 A CN111736520 A CN 111736520A CN 202010691257 A CN202010691257 A CN 202010691257A CN 111736520 A CN111736520 A CN 111736520A
Authority
CN
China
Prior art keywords
plc
core controller
control object
practical training
input
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
Application number
CN202010691257.1A
Other languages
Chinese (zh)
Inventor
周游游
黄艋
马丹
陈凯杰
吴陈钏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI ELECTRICAL AUTOMATION
Original Assignee
SHANGHAI ELECTRICAL AUTOMATION
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHANGHAI ELECTRICAL AUTOMATION filed Critical SHANGHAI ELECTRICAL AUTOMATION
Priority to CN202010691257.1A priority Critical patent/CN111736520A/en
Publication of CN111736520A publication Critical patent/CN111736520A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

A core controller circuit for a PLC practical training device comprises a digital quantity input and output module, an analog quantity input and output module, a PLC practical training device and a control object simulation device, wherein the PLC practical training device comprises a PLC through which a student exercises actual operation; the core controller is arranged in the control object simulation device and is used for being connected with an I/O port of the PLC and transmitting the state parameters of the control object to a control object virtual scene model stored in a memory of the embedded computer.

Description

Core controller circuit for PLC practical training device
Technical Field
The invention belongs to the technical field of education equipment, and particularly relates to a core controller circuit for a PLC practical training device.
Background
Programmable Logic Controller (PLC) course experiments are a long-term professional course established in various vocational schools and electrician vocational training institutions, and are professional courses integrating wiring, programming, debugging and maintenance. The lesson requires the ability of the student to have an actual PLC application.
The PLC experimental equipment commonly used in the market at present generally comprises a PLC host, an analog control module and a test connecting wire. The simulation control module is mostly composed of buttons, indicator lights and control object schematic diagrams, and is not vivid and visual enough. When a student carries out PLC experiment operation, the working process of a control object is difficult to visually see, and a real physical control object is manufactured according to different control object entities, so that the cost is high and the damage is easy.
Disclosure of Invention
One embodiment of the present invention provides a core controller circuit for a PLC practical training device, which includes a digital input/output module and an analog input/output module,
the PLC practical training device comprises a PLC, a student practices actual operation through the PLC,
the PLC practical training device also comprises a control object simulation device, wherein the control object simulation device comprises an embedded computer, and the embedded computer displays the control object of the PLC on a display interface of the control object simulation device in a virtual mode;
the core controller is arranged in the control object simulation device and is used for connecting an I/O port of the PLC and transmitting the state parameters of the control object to a control object virtual scene model stored in a memory of the embedded computer,
the core controller can be used for a PLC practical training device and is a key component of the PLC practical training device, and the core controller is used for providing real I/O signals for the PLC in practical training and simultaneously driving each virtual control object in a three-dimensional simulation animation interface of a control object simulation device to enter corresponding actions.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a diagram of a PLC training device system according to an embodiment of the present invention.
Fig. 2 is a hardware configuration diagram of a core controller according to one embodiment of the present invention.
FIG. 3 is a circuit diagram of a core controller digital input module according to one embodiment of the present invention.
FIG. 4 is a circuit diagram of a core controller digital output module according to one embodiment of the present invention.
FIG. 5 is a circuit diagram of an analog input module of a core controller according to an embodiment of the present invention.
FIG. 6 is a circuit diagram of an analog output module of a core controller according to an embodiment of the present invention.
Fig. 7 is a circuit diagram of a core controller CAN bus module according to one embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a core controller of a PLC practical training experiment simulation device based on a virtual control object. The controller can define the functions of the I/O ports according to the action instructions of various simulated controls in the three-dimensional simulation animation interface, provide real I/O signals for the PLC, receive the control instructions of the PLC written by an experimenter, and drive various virtual control objects in the three-dimensional simulation animation interface to perform corresponding actions.
Referring to fig. 1, the PLC experimental simulation apparatus based on a virtual control object is composed of an embedded computer, a core controller, an analog input/output module, and a digital input/output expansion module. The core controller is communicated with the three-dimensional simulation software through the CAN bus, receives configuration information of the simulation software on each I/O port, sets the state of each I/O port according to the configuration information, sends the state to the DO port, outputs the state to the PLC experiment host and drives the PLC internal program to run. Meanwhile, PLC control instructions received by the DI port are processed by the processor and then sent to the simulation software, and the software picture is driven to act.
Referring to fig. 2, the core controller is in the form of an ARM processor-based core board integrated with a control board. The core board integrates a main control chip, a crystal oscillator, a reset circuit, a data memory and other circuits; the main control board integrates peripheral circuits such as a power supply module, a communication circuit, a digital input/output circuit, an analog input/output circuit, an isolation circuit, a relay drive circuit and the like. The main control panel is provided with a system operation indicator lamp interface and a power switch interface which are used for being connected with an indicator lamp and a switch on the panel, and the indicator lamp comprises a power indicator lamp, a normal operation indicator lamp, a fault indicator lamp and a communication indicator lamp. The main control board is provided with two communication interfaces, and one serial port is used for programming the ARM; a CAN bus interface is used for communicating with the embedded computer. Receiving configuration information of the simulation software for each I/O port, setting the state of each I/O port according to the configuration information and sending the state to a DO port for output; the 0/1 status of the DI port is sent to the emulation software. Meanwhile, the CAN bus interface CAN be used for expanding the I/O point number of the core controller. The expansion port can expand at least one group of digital quantity input and output modules for increasing the types and the number of control objects and simulating scenes with more control objects or complex control logic. Each digital quantity input and output module comprises 8 paths of digital quantity input and output (8DI \8 DO).
Referring to fig. 3, the digital quantity input modules integrated on the main control board respectively have 24DI ports. And an integrated optocoupler TLP521-4 is adopted between each port and the ARM processor for photoelectric isolation. In 24 digital quantity input ports, 16 digital quantity input ports share a common end, and the other 8 digital quantity input ports are independent respectively. The digital input port is connected with the output end of the PLC for experiments. And receiving a control instruction of the PLC. The digital quantity input module on the main control board adopts an optical coupling isolation circuit form, and can convert a 24V high-level signal output by the PLC for practical training into a level signal which can be born by each I/O port of the ARM processor. Meanwhile, complete electrical isolation between the PLC output signal and the input signal of the core controller is achieved, and the PLC output signal has no influence on the input end of the core controller. The anti-interference and stability of the system are enhanced. The integrated optocoupler TLP521-4 is used for greatly reducing the area of a circuit board and enabling the integration level of the system to be higher.
In 24 digital quantity input ports, 16 digital quantity input ports share a common end, and the other 8 digital quantity input ports are independent respectively. The core controller can be adapted to the PLCs of different manufacturers and different models, and the flexibility of the system is improved.
Referring to fig. 4, the digital quantity output modules integrated on the main control board respectively have 24DO ports. And an integrated optocoupler TLP521-4 is adopted between each port and the ARM processor for photoelectric isolation. And each output end uses a large-current Darlington transistor array ULN2803 to drive a 24V relay, and the relay is used for feeding back a switching value signal to the input end of the PLC and driving the execution of a PLC control command. Of the 24 digital quantity output ports, 16 ports share a common end, and the other 8 ports are independent.
The digital output module on the main control board adopts an optical coupling isolation circuit form, and can convert a 5V high level signal output by the core board into a 24V high level signal for driving the relay. The ARM core board realizes complete electrical isolation between the output signal of the ARM core board and the relay, and enhances the anti-interference performance and stability of the system. The 24V voltage for driving the relay is provided from the outside, and the power consumption of the core controller can be reduced by using the output structure of the circuit.
A relay is used between a digital quantity output module of the core controller and the practical-training PLC for electrical isolation, and the level of a switching value signal provided for the PLC is not limited by the driving level of the core controller. Therefore, the types of PLC input signals for practical training can be unlimited, and the types of virtual control objects which can be simulated by the core controller are more.
Of the 24 digital quantity output ports, 16 ports share a common end, and the other 8 ports are independent. The core controller can be adapted to the PLCs of different manufacturers and different models, and the flexibility of the system is improved.
Referring to fig. 5 and 6, the analog input/output module integrated on the main control board includes 4 completely isolated analog/digital conversion (ADC) channels and 2 completely isolated digital/analog conversion (DAC) channels. The ADC channel uses an analog quantity signal with the input measuring range of 0-5V and 4-20 mA, which can be configured by hardware. The DAC channel uses software programmable analog quantity signals with the output ranges of 0-5V and 4-20 mA.
The analog quantity input and output circuit used on the main control board enables the PLC practical training device to simulate a field sensor (such as a temperature sensor and a pressure sensor) to output an analog quantity signal of 0-5V or 4-20 mA to the PLC for practical training. The student can simulate the signal of the sensor arranged on the spot on the practical training device to detect, collect and process.
The analog quantity input and output circuit which uses the linear optocoupler to carry out complete isolation can avoid errors caused by unequal ground potentials of the circuit between the core controller and the practical training PLC. The internal circuit of the core controller is protected from being influenced by the fault of the PLC circuit, and the reliability of the system is improved.
Referring to fig. 7, the CAN bus communication module integrated on the main control board is isolated from the ARM processor using a high-speed optocoupler 6N 137. The CAN bus communication module is used for communicating with three-dimensional simulation software of the upper computer, receiving configuration information of the simulation software to each I/O port of the core controller and carrying out corresponding configuration. Meanwhile, the CAN bus communication module is used for expanding the digital quantity input and output modules. The expansion module is connected with the core controller through a CAN bus and used for expanding the number of input and output points. The method is used for increasing the types and the number of the control objects and simulating scenes with more control objects or complex control logic. Each digital quantity input and output module comprises 8 paths of digital quantity input and output (8DI \8 DO).
In the embodiment, the CAN bus isolated by the high-speed optocoupler 6N137 is used for electrically isolating the core controller from the practical training PLC and the expansion module, so that high voltage possibly connected into the bus in an external complex environment CAN be effectively blocked outside the practical training system. Meanwhile, various common mode interferences caused by the grounding potential difference and the grounding loop are inhibited, and the uninterrupted and error-free operation of the bus is ensured under the conditions of serious interferences and other system noises. In the embodiment, the isolated CAN bus is used, so that a ground loop formed by a single bus CAN be prevented, the reference ground of the bus CAN fluctuate along with fluctuation of common-mode voltage, the common-mode voltage is completely born by the isolation chip 6N137, the influence of the common-mode voltage on bus electric signals is restrained, and stable and reliable communication of the bus is ensured.
The core controller provided by the embodiment of the invention is used for a simulation device based on a virtual control object used in a PLC experiment for practical training of middle-level and high-level technicians and high-tech technicians of a maintenance electrician. The controller has a programmable input-output port. The functions of the I/O ports can be defined according to the action instructions of the various simulated controls in the three-dimensional simulation animation interface, real I/O signals are provided for the PLC, and meanwhile, the control instructions of the PLC written by an experimenter are received to drive the corresponding actions of various virtual control objects in the three-dimensional simulation animation interface. The core controller comprises a main control MCU and 24 paths of digital quantity input and output modules (24DI \24DO) with optical coupling isolation; the device comprises a 4-path analog input and 2-path analog output module (4AI \2AO) with isolation, a CAN bus module with isolation and at least one group of digital input and output expansion modules.
Compared with the prior art, the invention has the beneficial effects that: the core controller adopts a modular design. The core controller adopts the form of core board and control panel integration based on the ARM processor, and core board and main control board are respectively made board alone, and the function is separated. The core board is responsible for program operation and data storage, and the main control board is responsible for system power supply, peripheral equipment driving and information indication. The normal work of other modules is not influenced when certain module damages to modular design, and the maintenance of being convenient for is changed, reduces the maintenance cost.
All circuits connected with external equipment on the main control board are electrically isolated, so that the safety and reliability of the system are ensured. The CAN bus module with the isolation CAN be used for communicating with upper computer simulation software, CAN also be used as an expansion interface of a digital quantity input module and a digital quantity output module, and is used for increasing the types and the quantity of control objects and simulating scenes with more control objects or complex control logic. In 24 paths of digital quantity input and output ports on the main control board, 16 paths share a common end, and the other 8 paths are independent respectively. The core controller can be adapted to the PLCs of different manufacturers and different models, and the flexibility of the system is improved.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (3)

1. A core controller circuit for a PLC practical training device is characterized by comprising a digital quantity input and output module and
an analog quantity input-output module, a digital quantity input-output module,
the PLC practical training device comprises a PLC, a student practices actual operation through the PLC,
the PLC practical training device also comprises a control object simulation device, wherein the control object simulation device comprises an embedded computer, and the embedded computer displays the control object of the PLC on a display interface of the control object simulation device in a virtual mode;
the core controller is arranged in the control object simulation device and is used for connecting an I/O port of the PLC and transmitting the state parameters of the control object to a control object virtual scene model stored in a memory of the embedded computer,
a DI port in the digital quantity input/output module in the core controller circuit includes a first integrated optocoupler TLP521-4, the DI port is connected with an output end of the PLC and is used for receiving a control instruction of the PLC,
a DO port in the digital quantity input/output module in the core controller circuit includes a second integrated optocoupler TLP521-4, an output of the second integrated optocoupler TLP521-4 is connected to drive a darlington transistor ULN2803 to drive a 24V relay, and is used for feeding back a switching quantity signal to an input end of the PLC and driving execution of a PLC control instruction,
the analog input and output module comprises a completely isolated analog/digital conversion (ADC) channel and a completely isolated digital/analog conversion (DAC) channel, wherein the ADC channel comprises an LM358 and an analog signal with an input range of 0-5V and 4-20 mA, which can be configured by hardware, and the DAC channel comprises an LM224 and an analog signal with a programmable output range of 0-5V and 4-20 mA.
2. The core controller circuit for the PLC practical training device according to claim 1, further comprising an extended digital input output module connected through a CAN bus, wherein the CAN bus communication module is isolated from a processor of the core controller using an opto-coupler 6N 137.
3. The core controller circuit for a PLC practical training device according to claim 1,
the processor of the core controller adopts an ARM processor,
a core controller circuit board integrated power module, a CAN communication module, a crystal oscillator, a reset circuit and a memory,
the circuit board is provided with a system operation indicator light interface and a power switch interface which are connected with an indicator light and a switch on the panel,
the indicating lamp comprises a power indicating lamp, a normal operation and fault indicating lamp and a communication indicating lamp, the circuit board is provided with two communication interfaces, and a serial port is used for programming the ARM;
the CAN bus interface is used for communicating with the embedded computer.
CN202010691257.1A 2020-07-17 2020-07-17 Core controller circuit for PLC practical training device Pending CN111736520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010691257.1A CN111736520A (en) 2020-07-17 2020-07-17 Core controller circuit for PLC practical training device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010691257.1A CN111736520A (en) 2020-07-17 2020-07-17 Core controller circuit for PLC practical training device

Publications (1)

Publication Number Publication Date
CN111736520A true CN111736520A (en) 2020-10-02

Family

ID=72654867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010691257.1A Pending CN111736520A (en) 2020-07-17 2020-07-17 Core controller circuit for PLC practical training device

Country Status (1)

Country Link
CN (1) CN111736520A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867235A (en) * 2021-11-08 2021-12-31 内蒙古一机集团宏远电器股份有限公司 Acquisition device based on TCPIP agreement armored vehicle simulation training
CN114815720A (en) * 2022-06-29 2022-07-29 天津飞旋科技股份有限公司 Programmable controller, analog quantity multiplexing interface control method thereof and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8520124D0 (en) * 1985-08-10 1985-09-18 Ferranti Plc Plant maintenance training
CN101162389A (en) * 2007-08-07 2008-04-16 广西工学院 Universal small-sized programmable controller and control method thereof
CN201340541Y (en) * 2009-01-20 2009-11-04 武汉光庭汽车电子有限公司 FPGA-based industrial mixed signal output control equipment
CN102610135A (en) * 2012-03-16 2012-07-25 海南经保科技实业有限公司 FLASH electrical automatic control visual simulation science education system
CN102722167A (en) * 2012-06-30 2012-10-10 李钢 Integrated controller for floor
CN207817492U (en) * 2018-02-28 2018-09-04 丹东贝特自动化工程仪表有限公司 A kind of On-off signal output module
CN208834164U (en) * 2018-08-24 2019-05-07 浙江中腾科教设备有限公司 A kind of actual situation one PLC programmable controller actual training device
CN110658740A (en) * 2019-10-11 2020-01-07 焦作大学 PLC-based semi-physical virtual process control practical training platform
CN110660288A (en) * 2019-10-14 2020-01-07 焦作大学 Interactive practical training platform based on real PLC and computer virtual elevator component

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8520124D0 (en) * 1985-08-10 1985-09-18 Ferranti Plc Plant maintenance training
CN101162389A (en) * 2007-08-07 2008-04-16 广西工学院 Universal small-sized programmable controller and control method thereof
CN201340541Y (en) * 2009-01-20 2009-11-04 武汉光庭汽车电子有限公司 FPGA-based industrial mixed signal output control equipment
CN102610135A (en) * 2012-03-16 2012-07-25 海南经保科技实业有限公司 FLASH electrical automatic control visual simulation science education system
CN102722167A (en) * 2012-06-30 2012-10-10 李钢 Integrated controller for floor
CN207817492U (en) * 2018-02-28 2018-09-04 丹东贝特自动化工程仪表有限公司 A kind of On-off signal output module
CN208834164U (en) * 2018-08-24 2019-05-07 浙江中腾科教设备有限公司 A kind of actual situation one PLC programmable controller actual training device
CN110658740A (en) * 2019-10-11 2020-01-07 焦作大学 PLC-based semi-physical virtual process control practical training platform
CN110660288A (en) * 2019-10-14 2020-01-07 焦作大学 Interactive practical training platform based on real PLC and computer virtual elevator component

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867235A (en) * 2021-11-08 2021-12-31 内蒙古一机集团宏远电器股份有限公司 Acquisition device based on TCPIP agreement armored vehicle simulation training
CN114815720A (en) * 2022-06-29 2022-07-29 天津飞旋科技股份有限公司 Programmable controller, analog quantity multiplexing interface control method thereof and storage medium
CN114815720B (en) * 2022-06-29 2022-09-09 天津飞旋科技股份有限公司 Programmable controller, analog quantity multiplexing interface control method thereof and storage medium

Similar Documents

Publication Publication Date Title
CN102999425B (en) Based on the housekeeping software emulation test system of virtual instrument technique
CN111736520A (en) Core controller circuit for PLC practical training device
CN203490534U (en) CAN bus test box and testing device for testing CAN network of automobile
CN107678356A (en) Flexible direct current power transmission system nature imitation experiment device and method based on fpga chip platform
CN107819647B (en) Intelligent substation station control layer network tester
CN206835060U (en) A kind of motor-driven valve simulator
CN201926754U (en) Intelligent function detecting device of distribution network short circuit fault indicator
CN109828553A (en) A kind of air data computer detection system
CN111665805A (en) Control system training device and method based on 3D technology
CN112581850A (en) Virtual debugging system of multifunctional production line and equipment
CN109683593A (en) A kind of impulse type servo-driver Basic function testing method and apparatus
CN214729788U (en) Large and medium-sized fixed wing unmanned aerial vehicle ground simulation fault injection equipment
CN106527342A (en) Multi-PLC function control card running based on PC and use method thereof
CN202939877U (en) Plc test box
CN114563762B (en) Automatic testing device for receiver of airborne very high frequency navigation system
CN205301856U (en) Numerical control system lathe environment emulation appearance
CN205619837U (en) Whole bullet electricity performance simulation testing arrangement of gun -launched missile
CN113534004B (en) Automatic change distributor detecting system
CN211604434U (en) Programming education electronic device
CN211555171U (en) Novel Cube-Box virtual simulation all-in-one machine
CN207965644U (en) A kind of industrial personal computer apparatus front panel key detection device
CN105093965B (en) Emulation controller and device emulation system
CN111653145A (en) PLC training system
CN209117820U (en) A kind of relay protection test system
CN203616929U (en) Circuit breaker secondary circuit simulation aid

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201002