CN103984279B - Mixed signal experiment module based on PLC - Google Patents
Mixed signal experiment module based on PLC Download PDFInfo
- Publication number
- CN103984279B CN103984279B CN201410172419.5A CN201410172419A CN103984279B CN 103984279 B CN103984279 B CN 103984279B CN 201410172419 A CN201410172419 A CN 201410172419A CN 103984279 B CN103984279 B CN 103984279B
- Authority
- CN
- China
- Prior art keywords
- circuit
- module
- input
- plc
- plc controller
- 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.)
- Active
Links
- 238000002474 experimental method Methods 0.000 title claims abstract description 34
- 238000012545 processing Methods 0.000 claims abstract description 14
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000002955 isolation Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007634 remodeling Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
本发明公开了一种基于PLC控制器的混合信号实验模块,包括PCB板、PLC控制器和PLC模拟量扩展模块;PCB板包括DC‑DC电路、信号给定及被控对象电路、数字信号输入输出电路、译码锁存及数码显示电路、PCB板输入输出接口、第一端子排和第二端子排;PLC控制器包括电源电路、PLC控制器输入输出接口和中央处理单元;PLC模拟量扩展模块包括PLC模拟量扩展模块输入输出接口;数字信号输入输出电路、译码锁存及数码显示电路和PCB板输入输出接口均通过第一端子排与PLC控制器输入输出接口相连接,信号给定及被控对象电路通过第二端子排与PLC模拟量扩展模块输入输出接口相连接。本发明具有成本低、输入输出接口通用、使用灵活方便、占用PLC资源少的特点,方便教学,具有良好的应用前景。
The invention discloses a mixed-signal experiment module based on a PLC controller, which includes a PCB board, a PLC controller and a PLC analog expansion module; the PCB board includes a DC-DC circuit, a signal setting and a controlled object circuit, and a digital signal input Output circuit, decoding latch and digital display circuit, PCB board input and output interface, first terminal block and second terminal block; PLC controller includes power supply circuit, PLC controller input and output interface and central processing unit; PLC analog expansion The module includes PLC analog expansion module input and output interface; digital signal input and output circuit, decoding latch and digital display circuit and PCB board input and output interface are all connected to the input and output interface of PLC controller through the first terminal block, and the signal is given and the controlled object circuit are connected to the input and output interfaces of the PLC analog expansion module through the second terminal block. The invention has the characteristics of low cost, common input and output interfaces, flexible and convenient use, less PLC resource occupation, convenient teaching and good application prospect.
Description
技术领域 technical field
本发明涉及一种基于PLC控制器的混合信号实验模块,属于可编程控制器教学技术领域。 The invention relates to a mixed signal experiment module based on a PLC controller, belonging to the technical field of programmable controller teaching.
背景技术 Background technique
在高校教学中,PLC应用技术是一门实践性较强的技术专业课程,迫切需要将理论和实践结合起来,因此,PLC实验是PLC教学的重要环节。目前,PLC实验模块通常是专一功能实验模块,例如,温度测控、开关量控制和其他一些过程模拟量控制实验模块,每做一种实验,需要更换一种实验模块,成本高,使用不方便,当需要对模拟量和数字量信号同时做实验时,现有技术中,需要数字量和模拟量单独的实验模块进行组合,设计复杂,价格昂贵。 In college teaching, PLC application technology is a technical professional course with strong practicality, and it is urgent to combine theory and practice. Therefore, PLC experiment is an important part of PLC teaching. At present, the PLC experiment module is usually a single-function experiment module, such as temperature measurement and control, switch value control and some other process analog control experiment modules. Every time an experiment is done, an experiment module needs to be replaced, which is costly and inconvenient to use. , when it is necessary to conduct experiments on analog and digital signals simultaneously, in the prior art, separate experimental modules for digital and analog signals are required to be combined, and the design is complex and expensive.
进一步地,现有技术中,随着PLC控制器的改型和升级,原来的实验装置也随之报废,造成不必要的浪费。 Furthermore, in the prior art, with the remodeling and upgrading of the PLC controller, the original experimental device is also scrapped, resulting in unnecessary waste.
因此,一方面PLC及应用技术不断的发展,现有的PLC实验装置存在的问题越来越突出,另一方面,学校也不可能频繁的更新实验装置,在这背景下,如何充分发挥现有PLC实验装置的作用,开发基于PLC控制器的通用混合信号实验模块是当前急需解决的问题。 Therefore, on the one hand, with the continuous development of PLC and application technology, the problems existing in the existing PLC experimental equipment are becoming more and more prominent; on the other hand, it is impossible for schools to update the experimental equipment frequently. The role of the PLC experimental device, the development of a general-purpose mixed-signal experimental module based on the PLC controller is an urgent problem to be solved at present.
发明内容 Contents of the invention
本发明的目的是克服现有技术存在的不足,本发明的基于PLC控制器的混合信号实验模块,可以实现基于PLC的数字PID的闭环控制、多通道信号测控、显示及报警、带倒计时的交通信号灯控制等实验,功能强大,成本低、输入输出接口通用、使用灵活方便,占用PLC控制器资源少,方便教学,具有良好的应用前景。 The purpose of the present invention is to overcome the deficiencies in the prior art. The mixed signal experiment module based on PLC controller of the present invention can realize the closed-loop control of digital PID based on PLC, multi-channel signal measurement and control, display and alarm, traffic with countdown Experiments such as signal light control have powerful functions, low cost, universal input and output interfaces, flexible and convenient use, less PLC controller resource occupation, convenient teaching, and good application prospects.
为了达到上述目的,本发明所采用的技术方案是: In order to achieve the above object, the technical scheme adopted in the present invention is:
基于PLC控制器的混合信号实验模块,包括PCB板、PLC控制器和PLC模拟量扩展模块。 A mixed signal experiment module based on PLC controller, including PCB board, PLC controller and PLC analog expansion module.
PCB板包括DC-DC电路、信号给定及被控对象电路、数字信号输入输出电路、译码锁存及数码显示电路、PCB板输入输出接口、第一端子排和第二端子排;DC-DC电路与信号给定及被控对象电路、数字信号输入输出电路、译码锁存及数码显示电路、PCB板输入输出接口相连接,信号给定及被控对象电路与第二端子排相连接。 PCB board includes DC-DC circuit, signal setting and controlled object circuit, digital signal input and output circuit, decoding latch and digital display circuit, PCB board input and output interface, first terminal block and second terminal block; DC- The DC circuit is connected with the signal setting and the controlled object circuit, the digital signal input and output circuit, the decoding latch and the digital display circuit, and the input and output interface of the PCB board, and the signal setting and the controlled object circuit are connected with the second terminal block .
所述PLC控制器包括电源电路、PLC控制器输入输出接口、中央处理单元,电源电路均与PLC控制器输入输出接口、中央处理单元相连接,所述中央处理单元与PLC控制器输入输出接口相连接。 Described PLC controller comprises power supply circuit, PLC controller input and output interface, central processing unit, and power supply circuit is connected with PLC controller input and output interface, central processing unit, and described central processing unit is connected with PLC controller input and output interface connect.
PLC模拟量扩展模块包括PLC模拟量扩展模块输入输出接口。 The PLC analog expansion module includes the input and output interfaces of the PLC analog expansion module.
数字信号输入输出电路、译码锁存及数码显示电路和PCB板输入输出接口均通过第一端子排与PLC控制器输入输出接口相连接,DC-DC电路与PLC控制器上的电源电路相连接,DC-DC电路将电压转换后给PCB板上所有组件供电,信号给定及被控对象电路通过第二端子排与PLC模拟量扩展模块输入输出接口相连接,所述PLC模拟量扩展模块输入输出接口通过扩展总线与中央处理单元相连接。实现PLC控制器、PCB板和PLC模拟量扩展模块的信号传输和控制,为基于PLC控制器混合试验提供设备,PLC控制器的的输入输出通过第一端子排扩展,可提供的多样化的实验项目。本专利的PCB板和PLC模拟量扩展模块的组件和组件之间的连接关系,能够适应多样的PLC控制器,PLC控制器的改型和升级,PCB板和PLC模拟量扩展模块能够继续使用。 The digital signal input and output circuit, decoding latch and digital display circuit and PCB board input and output interfaces are all connected to the input and output interfaces of the PLC controller through the first terminal block, and the DC-DC circuit is connected to the power supply circuit on the PLC controller , the DC-DC circuit converts the voltage to supply power to all components on the PCB, the signal given and the controlled object circuit are connected to the input and output interfaces of the PLC analog expansion module through the second terminal block, and the PLC analog expansion module input The output interface is connected with the central processing unit through the expansion bus. Realize the signal transmission and control of the PLC controller, PCB board and PLC analog expansion module, and provide equipment for mixed experiments based on the PLC controller. The input and output of the PLC controller are expanded through the first terminal block, which can provide a variety of experiments project. The PCB board and the components of the PLC analog expansion module and the connection relationship between the components of this patent can adapt to various PLC controllers, the modification and upgrade of the PLC controller, and the PCB board and the PLC analog expansion module can continue to be used.
信号给定及被控对象电路包括信号给定模块、模拟二阶被控对象模块,信号给定模块、模拟二阶被控对象模块通过第二端子排与PLC模拟量扩展模块输入输出接口相连接。 Signal given and controlled object circuit includes signal given module, analog second-order controlled object module, signal given module, simulated second-order controlled object module is connected with the input and output interface of PLC analog expansion module through the second terminal block .
信号给定及被控对象电路还包括模拟PI调节模块,模拟PI调节模块通过调试开关与模拟二阶被控对象模块相连接,模拟PI调节模块用于与PLC的数字PID调节控制的结果比对。模拟二阶被控对象模块包括第一运放模块,模拟PI调节模块包括第二运放模块和外围元件。 The signal setting and controlled object circuit also includes an analog PI adjustment module, which is connected to the analog second-order controlled object module through a debugging switch, and the analog PI adjustment module is used for comparison with the results of the digital PID adjustment control of the PLC . The analog second-order controlled object module includes a first operational amplifier module, and the analog PI adjustment module includes a second operational amplifier module and peripheral components.
译码锁存及数码显示电路包括若干个锁存译码驱动模块和若干个数码管,每个锁存译码驱动模块分别连接一个对应的数码管,锁存译码驱动模块均通过第一端子排连接PLC控制器输入输出接口。 The decoding latch and digital display circuit includes several latch decoding drive modules and several digital tubes, each latch decoding drive module is respectively connected to a corresponding digital tube, and the latch decoding drive modules are connected through the first terminal The row is connected to the input and output interfaces of the PLC controller.
较优地,锁存译码驱动模块和数码管均为4个。 Preferably, there are four latch decoding drive modules and digital tubes.
数字信号输入输出电路包括按钮开关模块和发光二极管,按钮开关模块包括不带自锁的开关和带自锁的开关,按钮开关模块和发光二极管均通过第一端子排连接PLC控制器输入输出接口。按钮开关模块用于模拟不同的信号需求,当需要模拟短信号时,使用不带自锁的开关用于模拟短信号,带自锁的开关用于模拟长信号。 The digital signal input and output circuit includes a button switch module and a light-emitting diode. The button switch module includes a switch without self-locking and a switch with self-locking. Both the button switch module and the light-emitting diode are connected to the input and output interfaces of the PLC controller through the first terminal block. The button switch module is used to simulate different signal requirements. When simulating short signals, use switches without self-locking for simulating short signals, and switches with self-locking for simulating long signals.
较优地,电源电路输出24V直流电,DC-DC电路将24V电压转换为12V电压,DC-DC电路为带隔离的DC-DC转换电路,减少外界信号对本试验装置的信号干扰。 Preferably, the power supply circuit outputs 24V direct current, and the DC-DC circuit converts the 24V voltage into 12V voltage, and the DC-DC circuit is a DC-DC conversion circuit with isolation to reduce the signal interference of external signals to the test device.
本发明的有益效果是:本发明提供的基于PLC控制器的混合信号实验模块,利用运放模块组成的被控对象,实现基于PLC的数字PID闭环控制,同时,接收来自PLC模拟量扩展模块的模拟信号,或利用混合信号试验模块的开关量输入输出,能够实现开关量信号检测和控制以及模拟过程物理量检测和控制,本专利的PCB板和PLC模拟量扩展模块的组件和组件之间的连接关系,能够适应多样的PLC控制器,PLC控制器的改型和升级后,PCB板和PLC模拟量扩展模块能够继续使用,可以进行多样PLC控制实验,成本低、输入输出接口通用、使用灵活方便、占用PLC资源少的特点,方便教学,具有良好的应用前景。 The beneficial effects of the present invention are: the mixed-signal experiment module based on the PLC controller provided by the present invention utilizes the controlled object composed of the operational amplifier module to realize the digital PID closed-loop control based on the PLC, and at the same time, receives the signal from the PLC analog expansion module Analog signal, or use the switch input and output of the mixed signal test module, can realize the detection and control of switch signal and the detection and control of physical quantity in the simulation process, the connection between the components and components of the PCB board and PLC analog expansion module of this patent relationship, can adapt to a variety of PLC controllers, after the modification and upgrade of the PLC controller, the PCB board and the PLC analog expansion module can continue to be used, and various PLC control experiments can be carried out, low cost, universal input and output interfaces, flexible and convenient to use , Occupying less PLC resources, convenient for teaching, and has a good application prospect.
进一步地,本专利PLC控制可与模拟控制的结果进行比较,参数控制设置灵活,还可以完成多通道的信号测控与显示、带倒计时的交通信号灯控制等实验,也可以作为复杂控制系统的检测单元和显示单元,满足PLC控制的多样教学。 Furthermore, the PLC control of this patent can be compared with the results of analog control, and the parameter control settings are flexible. It can also complete experiments such as multi-channel signal measurement, control and display, and traffic signal control with countdown. It can also be used as a detection unit for complex control systems. And display unit, to meet the diverse teaching of PLC control.
进一步地,本申请PCB板通过第一端子排和第二端子排分别与PLC控制器、PLC模拟量扩展模块相连接,实验接线方便清晰,方便实验操作。 Further, the PCB board of the present application is connected to the PLC controller and the PLC analog expansion module respectively through the first terminal block and the second terminal block, so that the experimental wiring is convenient and clear, and the experimental operation is convenient.
附图说明 Description of drawings
图1为本发明的基于PLC控制器的混合信号实验模块的结构示意图; Fig. 1 is the structural representation of the mixed signal experiment module based on PLC controller of the present invention;
图2为本发明包括信号给定及被控对象电路中组件的结构示意图; Fig. 2 is the structure schematic diagram of the present invention including the components in the signal given and controlled object circuit;
图3为本发明的译码锁存及数码显示电路的电路原理图。 Fig. 3 is a schematic circuit diagram of the decoding latch and digital display circuit of the present invention.
具体实施方式 detailed description
下面结合附图对本发明作更进一步的说明。 The present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,基于PLC控制器的混合信号实验模块,包括PCB板1、PLC控制器2和PLC模拟量扩展模块3。 As shown in Figure 1, the mixed signal experiment module based on PLC controller includes PCB board 1, PLC controller 2 and PLC analog expansion module 3.
PCB板1包括DC-DC电路101、信号给定及被控对象电路102、数字信号输入输出电路103、译码锁存及数码显示电路104、PCB板输入输出接口105、第一端子排106和第二端子排107;所述DC-DC电路101与信号给定及被控对象电路102、数字信号输入输出电路103、译码锁存及数码显示电路104、PCB板输入输出接口105相连接,所述信号给定及被控对象电路102与第二端子排107相连接。 PCB board 1 includes DC-DC circuit 101, signal setting and controlled object circuit 102, digital signal input and output circuit 103, decoding latch and digital display circuit 104, PCB board input and output interface 105, first terminal row 106 and The second terminal block 107; the DC-DC circuit 101 is connected with the signal setting and the controlled object circuit 102, the digital signal input and output circuit 103, the decoding latch and the digital display circuit 104, and the PCB board input and output interface 105, The signal setting and controlled object circuit 102 is connected to the second terminal block 107 .
PLC控制器2包括电源电路201和PLC控制器输入输出接口202、中央处理单元203,电源电路201均与PLC控制器输入输出接口202、中央处理单元203相连接,中央处理单元203与PLC控制器输入输出接口202相连接。PLC模拟量扩展模块3包括PLC模拟量扩展模块输入输出接口301。 PLC controller 2 comprises power supply circuit 201 and PLC controller input and output interface 202, central processing unit 203, and power supply circuit 201 is connected with PLC controller input and output interface 202, central processing unit 203, and central processing unit 203 is connected with PLC controller The input and output interfaces 202 are connected. The PLC analog expansion module 3 includes a PLC analog expansion module input and output interface 301 .
数字信号输入输出电路103、译码锁存及数码显示电路104和PCB板输入输出接口105均通过第一端子排106与PLC控制器输入输出接口202相连接,DC-DC电路101与PLC控制器2上的电源电路201相连接,DC-DC电路将电压转换后给PCB板上所有组件供电,信号给定及被控对象电路102通过第二端子排107与PLC模拟量扩展模块输入输出接口301相连接, PLC模拟量扩展模块输入输出接口301通过扩展总线与中央处理单元203相连接。 Digital signal input and output circuit 103, decoding latch and digital display circuit 104 and PCB board input and output interface 105 are all connected to PLC controller input and output interface 202 through first terminal block 106, DC-DC circuit 101 and PLC controller The power supply circuit 201 on the 2 is connected, and the DC-DC circuit converts the voltage to supply power to all components on the PCB board. The signal is given and the controlled object circuit 102 is connected to the input and output interface 301 of the PLC analog expansion module through the second terminal block 107 The input and output interface 301 of the PLC analog expansion module is connected with the central processing unit 203 through the expansion bus.
如图2所示,信号给定及被控对象电路102包括信号给定模块102a、模拟二阶被控对象模块102b和模拟PI调节模块102c,信号给定模块102a、模拟二阶被控对象模块102b通过第二端子排107与PLC模拟量扩展模块输入输出接口301相连接。模拟PI调节模块102c通过调试开关与模拟二阶被控对象模块102b相连接,模拟PI调节模块102c用于与PLC的数字PID调节控制的结果比对。 As shown in Figure 2, the signal given and controlled object circuit 102 includes a signal given module 102a, a simulated second-order controlled object module 102b and an simulated PI adjustment module 102c, the signal given module 102a, the simulated second-order controlled object module 102b is connected to the input and output interface 301 of the PLC analog expansion module through the second terminal block 107 . The analog PI adjustment module 102c is connected to the analog second-order controlled object module 102b through a debugging switch, and the analog PI adjustment module 102c is used for comparison with the result of the digital PID adjustment control of the PLC.
译码锁存及数码显示电路104包括四个锁存译码驱动模块和四个数码管,四个锁存译码驱动模块分别连接一个对应的数码管,四个锁存译码驱动模块均通过第一端子排106连接PLC控制器输入输出接口202。 The decoding latch and digital display circuit 104 includes four latch decoding drive modules and four digital tubes, the four latch decoding drive modules are respectively connected to a corresponding digital tube, and the four latch decoding drive modules are all connected through The first terminal block 106 is connected to the input and output interface 202 of the PLC controller.
数字信号输入输出电路103包括四个按钮开关模块和16只发光二极管,四个按钮开关模块包括两只不带自锁的开关和两只带自锁的开关,四个按钮开关模块和16只发光二极管均通过第一端子排106连接PLC控制器输入输出接口202。 The digital signal input and output circuit 103 includes four button switch modules and 16 light-emitting diodes, the four button switch modules include two switches without self-locking and two switches with self-locking, four button switch modules and 16 light-emitting diodes The diodes are all connected to the input and output interface 202 of the PLC controller through the first terminal block 106 .
电源电路201输出24V直流电,DC-DC电路101包括LM2596-12芯片和外围元件,DC-DC电路101将24V电压转换为12V电压,DC-DC电路101为带隔离的DC-DC转换电路,将PLC控制器的24V直流电变为12V直流电,再通过带隔离的DC-DC模块输出为PCB板上的各电路提供电能。 The power supply circuit 201 outputs 24V direct current, and the DC-DC circuit 101 includes the LM2596-12 chip and peripheral components. The DC-DC circuit 101 converts the 24V voltage into a 12V voltage. The DC-DC circuit 101 is a DC-DC conversion circuit with isolation. The 24V DC of the PLC controller is converted into 12V DC, and then output through the isolated DC-DC module to provide power for each circuit on the PCB.
信号给定模块102a由12V电源经电位器模拟0-5V给定信号,接PLC模拟量扩展模块输入输出接口301的1路输入端,通过四个按键开关接PLC控制器上的4路数字量输入端,模拟二阶被控对象模块102b包括第一运放模块 (型号为LM358),模拟二阶被控对象模块102b可与模拟PI调节模块102c相连用以验证控制效果,模拟PI调节模块102c包括第二运放模块 (型号为LM358),实现数字控制与模拟控制的区别。 The signal given module 102a simulates a 0-5V given signal from a 12V power supply through a potentiometer, connects to the 1-way input terminal of the input-output interface 301 of the PLC analog quantity expansion module, and connects to 4-way digital quantities on the PLC controller through four key switches At the input end, the simulated second-order controlled object module 102b includes a first operational amplifier module (the model is LM358), the simulated second-order controlled object module 102b can be connected with the simulated PI adjustment module 102c to verify the control effect, and the simulated PI adjustment module 102c Including the second operational amplifier module (model is LM358), to realize the difference between digital control and analog control.
如图3所示,所述译码锁存及数码显示电路包括四个锁存译码驱动模块U5、U6、U7、U8(型号为CD4511)和四个数码管DS1、DS2、DS3、DS4(可采用共阴数码管),四个锁存译码驱动模块分别外接PLC控制器输入输出接口202,并分别与对应的一个数码管相连接,具体连接如下,PLC控制器2的8路数字量输出信号经过电阻分压,其中4路译码信号接锁存译码驱动模块U5、U6、U7、U8的输入端,其他4路分别接锁存译码驱动模块U5、U6、U7、U8的锁存使能端,锁存译码驱动模块U5、U6、U7、U8的7段输出(a、b、c、d、e、f、g)分别接到数码管DS1、DS2、DS3、DS4的对应端。所述数字信号输入输出电路103包括十六路LED指示灯,其中6组(12个)指示灯分别接PLC的另外6路数字量输出口,2组(4个)指示灯分别接PLC剩下的2路数字量输出口, 即,2组(4个)指示灯CAR-N和 S_CAR、 CAR-E 和W_CAR分别接PLC剩下的2路数字量输出口。 As shown in Figure 3, described decoding latch and digital display circuit comprise four latch decoding driving modules U5, U6, U7, U8 (the model is CD4511) and four nixie tubes DS1, DS2, DS3, DS4 ( Common cathode digital tubes can be used), and the four latch decoding drive modules are respectively externally connected to the PLC controller input and output interface 202, and are respectively connected to a corresponding digital tube. The specific connection is as follows, the 8-way digital quantity of the PLC controller 2 The output signal is divided by resistors, among which 4 channels of decoding signals are connected to the input terminals of the latch decoding drive modules U5, U6, U7, and U8, and the other 4 channels are respectively connected to the input terminals of the latch decoding drive modules U5, U6, U7, and U8. Latch enable terminal, the 7-segment outputs (a, b, c, d, e, f, g) of the latch decoding drive modules U5, U6, U7, U8 are respectively connected to the digital tubes DS1, DS2, DS3, DS4 the corresponding end. The digital signal input and output circuit 103 includes sixteen LED indicator lights, of which 6 groups (12) of indicator lights are respectively connected to the other 6 digital output ports of the PLC, and 2 groups (4) of the indicator lights are respectively connected to the rest of the PLC. The 2-way digital output port, that is, 2 groups (4) indicator lights CAR-N and S_CAR, CAR-E and W_CAR are respectively connected to the remaining 2-way digital output ports of the PLC.
本发明的基于PLC控制器的混合信号实验模块工作过程如下:PLC控制器以西门子S7-200的PLC为例,本实验模块可作为三个典型实验的平台:基于PLC的测控系统、基于PLC的PID闭环控制系统、基于PLC的交通信号灯控制系统。 The working process of the mixed-signal experiment module based on the PLC controller of the present invention is as follows: PLC controller takes the PLC of Siemens S7-200 as an example, and this experiment module can be used as the platform of three typical experiments: based on the measurement and control system based on PLC, based on PLC PID closed-loop control system, PLC-based traffic signal light control system.
1、基于PLC的多路测控系统:由PCB板上的信号给定模块102a提供两路模拟实测物理量,经PLC模拟量扩展模块3(型号EM235)输入,与内给定值进行比较,输出控制信号,并且可以设定物理量的上下限值进行越限报警,同时实现实测物理量的显示。 1. PLC-based multi-channel measurement and control system: The signal given module 102a on the PCB provides two channels of simulated measured physical quantities, which are input through the PLC analog quantity expansion module 3 (model EM235), compared with the internal given value, and output control Signal, and the upper and lower limits of the physical quantity can be set to alarm when the limit is exceeded, and the display of the measured physical quantity can be realized at the same time.
2、基于PLC的PID闭环控制系统:可通过PCB板上的调试开关连接模拟PI调节模块102c和模拟二阶被控对象模块102b,模拟二阶被控对象模块102b的输出量通过PLC模拟量扩展模块3(型号EM235)输入,通过信号给定模块102a改变给定值,通过模拟对象输出量的显示观测PID闭环调节的过程及效果。 2. PLC-based PID closed-loop control system: the analog PI adjustment module 102c and the analog second-order controlled object module 102b can be connected through the debugging switch on the PCB board, and the output of the simulated second-order controlled object module 102b is expanded through the PLC analog quantity Module 3 (model EM235) inputs, changes the given value through the signal given module 102a, and observes the process and effect of PID closed-loop adjustment through the display of the output of the analog object.
3、基于PLC的交通信号灯控制系统:由PCB板上的16个LED指示灯分别模拟十字交通路口的12个红、黄、绿指示灯和4个路口的4辆汽车的行止状态,由PLC的数字量输出口进行控制,东西、南北向的交通控制时间可由数码管进行倒计数显示。 3. PLC-based traffic signal light control system: 16 LED indicators on the PCB board respectively simulate 12 red, yellow and green indicator lights at intersections and the state of 4 cars at 4 intersections, controlled by PLC The digital output port is used for control, and the traffic control time of east-west and north-south directions can be counted down and displayed by digital tubes.
本发明提供的基于PLC控制器的混合信号实验模块,利用运放组成的被控对象,实现基于PLC的数字PID闭环控制,并可与模拟控制的结果进行比较,参数设置灵活,还可以完成多通道的信号测控与显示、带倒计时的交通信号灯控制等实验,也可以作为复杂控制系统的检测单元和显示单元,成本低、输入输出接口通用、使用灵活方便、占用PLC资源少的特点,方便教学,具有良好的应用前景。 The mixed-signal experiment module based on the PLC controller provided by the present invention uses the controlled object composed of operational amplifiers to realize the digital PID closed-loop control based on the PLC, and can compare with the results of the analog control. The parameter setting is flexible, and multiple It can also be used as a detection unit and display unit for complex control systems, such as channel signal measurement, control and display, traffic signal control with countdown, etc. It has the characteristics of low cost, universal input and output interfaces, flexible and convenient use, and less PLC resource occupation, which is convenient for teaching , has a good application prospect.
以上显示和描述了本发明的基本原理、主要特征及优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。 The basic principles, main features and advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments. What are described in the above-mentioned embodiments and the description only illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will also have Variations and improvements all fall within the scope of the claimed invention. The protection scope of the present invention is defined by the appended claims and their equivalents.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410172419.5A CN103984279B (en) | 2014-04-28 | 2014-04-28 | Mixed signal experiment module based on PLC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410172419.5A CN103984279B (en) | 2014-04-28 | 2014-04-28 | Mixed signal experiment module based on PLC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103984279A CN103984279A (en) | 2014-08-13 |
CN103984279B true CN103984279B (en) | 2016-08-31 |
Family
ID=51276297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410172419.5A Active CN103984279B (en) | 2014-04-28 | 2014-04-28 | Mixed signal experiment module based on PLC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103984279B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106707847B (en) * | 2016-11-30 | 2018-11-13 | 中国船舶重工集团公司第七一六研究所 | A kind of Mixed design semaphore intelligent detection device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201340541Y (en) * | 2009-01-20 | 2009-11-04 | 武汉光庭汽车电子有限公司 | FPGA-based industrial mixed signal output control equipment |
CN201993633U (en) * | 2011-03-25 | 2011-09-28 | 扬州亚星客车股份有限公司 | Complete bus controller for electric bus based on PLC technology |
CN102385340A (en) * | 2011-09-22 | 2012-03-21 | 苏州能健电气有限公司 | Programmable logic controller (PLC) controlling system and signal collection circuit thereof |
CN102608946A (en) * | 2012-03-19 | 2012-07-25 | 南京理工大学常熟研究院有限公司 | Programmable logic controller (PLC) experimental system |
JP2013254487A (en) * | 2012-06-07 | 2013-12-19 | Ls Industrial Systems Co Ltd | Plc(programmable logic controller) control device and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6744393B2 (en) * | 2001-12-21 | 2004-06-01 | Schneider Automation Inc. | Low cost multi-range input circuit for industrial analog input modules |
-
2014
- 2014-04-28 CN CN201410172419.5A patent/CN103984279B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201340541Y (en) * | 2009-01-20 | 2009-11-04 | 武汉光庭汽车电子有限公司 | FPGA-based industrial mixed signal output control equipment |
CN201993633U (en) * | 2011-03-25 | 2011-09-28 | 扬州亚星客车股份有限公司 | Complete bus controller for electric bus based on PLC technology |
CN102385340A (en) * | 2011-09-22 | 2012-03-21 | 苏州能健电气有限公司 | Programmable logic controller (PLC) controlling system and signal collection circuit thereof |
CN102608946A (en) * | 2012-03-19 | 2012-07-25 | 南京理工大学常熟研究院有限公司 | Programmable logic controller (PLC) experimental system |
JP2013254487A (en) * | 2012-06-07 | 2013-12-19 | Ls Industrial Systems Co Ltd | Plc(programmable logic controller) control device and method |
Non-Patent Citations (1)
Title |
---|
"基于PLC控制的电机测试平台硬件系统";陈湘令;《工业控制计算机》;20060930;第19卷(第9期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103984279A (en) | 2014-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103149386B (en) | Electronic load module of power supply aging test and power supply aging test system | |
CN103208223B (en) | Simple industrial automatic comprehensive practical training control system | |
WO2018129893A1 (en) | Hardware-in-the-loop equipment based testing system | |
CN202454137U (en) | Electrician technique and electronic technique comprehensive experiment box | |
CN105222823A (en) | A kind of checkout equipment of integrated form of automobile combination meter | |
CN103984279B (en) | Mixed signal experiment module based on PLC | |
CN106250628B (en) | Surely take aim at control combination fault simulation system | |
CN203870434U (en) | Composite-signal experiment module based on PLC controller | |
CN109859583B (en) | A Power Comprehensive Simulation and Demonstration System | |
CN201600444U (en) | Voltage monitor intelligent verification platform | |
CN202661912U (en) | Portable programmable power supply device | |
CN103345879A (en) | Practical training device for production process automation | |
CN203588034U (en) | Temperature detection experiment module based on PLC controller | |
CN203966437U (en) | A kind of experience system of automatic sorting feeding | |
CN205375180U (en) | Central test system of row accuse | |
CN106125700A (en) | Distributed super multichannel adds heat pipe monitoring system and control method thereof | |
CN203502778U (en) | General simulator for PLC debugging | |
CN205405251U (en) | Vehicle control unit detection device that rolls off production line | |
CN203338621U (en) | A teaching experiment device for simulating industrial communication | |
CN205334195U (en) | Real case of instructing of portable PLC | |
CN206725719U (en) | PLC plate analog detection tools | |
CN215416307U (en) | Field bus training platform based on working process systematization | |
CN205827764U (en) | A bus experiment device | |
CN207488787U (en) | PLC control system Practical training equipment | |
CN203366550U (en) | Switching-value-automatic-control practical-training device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180523 Address after: 221000 Software Park E2-1102, Xuzhou Economic Development Zone, Jiangsu Patentee after: Jiangsu branch Intelligent Technology Co.,Ltd. Address before: 211167 1 Hong Kong Avenue, Jiangning Science Park, Nanjing, Jiangsu Patentee before: Nanjing Institute of Technology |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190110 Address after: 221000 Software Park E2-1328, Xuzhou Economic and Technological Development Zone, Xuzhou City, Jiangsu Province Patentee after: XUZHOU AIQI ROBOT TECHNOLOGY Co.,Ltd. Address before: 221000 Software Park E2-1102, Xuzhou Economic Development Zone, Jiangsu Patentee before: Jiangsu branch Intelligent Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240821 Address after: 211000 Factory No. 6, Comprehensive Bonded Zone, Jiangning District, Nanjing City, Jiangsu Province Patentee after: NANJING OMARK ROBOT TECHNOLOGY CO.,LTD. Country or region after: China Address before: 221000 Software Park E2-1328, Xuzhou Economic and Technological Development Zone, Xuzhou City, Jiangsu Province Patentee before: XUZHOU AIQI ROBOT TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |