CN114023171A - PLC elevator control experiment device and method based on godson - Google Patents

PLC elevator control experiment device and method based on godson Download PDF

Info

Publication number
CN114023171A
CN114023171A CN202111438458.1A CN202111438458A CN114023171A CN 114023171 A CN114023171 A CN 114023171A CN 202111438458 A CN202111438458 A CN 202111438458A CN 114023171 A CN114023171 A CN 114023171A
Authority
CN
China
Prior art keywords
elevator
loongson
module
plc
pulley
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
CN202111438458.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.)
Jiangsu University of Science and Technology
Original Assignee
Jiangsu University of Science and Technology
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 Jiangsu University of Science and Technology filed Critical Jiangsu University of Science and Technology
Priority to CN202111438458.1A priority Critical patent/CN114023171A/en
Publication of CN114023171A publication Critical patent/CN114023171A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B23/00Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
    • G09B23/06Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
    • G09B23/18Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass

Abstract

The invention discloses a PLC elevator control experiment device and method based on a Loongson, the device comprises a PLC based on the Loongson and an elevator control device, the PLC based on the Loongson comprises a Loongson processor, a Debian10 system and an OpenPLC platform, the elevator control device comprises an elevator model and an execution module, interface expansion modules in the Loongson processor and the execution module are connected to the same local area network and adopt wireless communication, and the interface expansion modules are arranged on the elevator model. The invention provides a complete set of domestic PLC, a control experiment device and a control experiment method, reduces the difficulty of PLC test experiments, and has the advantages of simple principle, easy realization and low cost.

Description

PLC elevator control experiment device and method based on godson
Technical Field
The invention relates to the field of control experiments, in particular to a PLC elevator control experiment device and method based on a dragon core.
Background
The PLC is a digital operation controller for automation control having a microprocessor, controls various types of mechanical devices or production processes through digital or analog input and output, and is an indispensable part in the field of industrial automation control. In the development of a PLC project, the device for experimental test can play a role of getting twice the result with half the effort. The elevator is a common control object of the PLC, is closely connected with daily life, and has strong practicability.
At present, most of PLC control experiment devices are based on traditional PLC or PLC based on ARM and other foreign main control chips. The traditional PLC and the control circuit are mostly in wired connection, wiring is complex, time and labor are wasted, and the transmission distance is limited by the length of a wire; and the PLC based on the foreign main control chip is easily limited by foreign monopoly. The existing PLC based on the Loongson is mostly an independent PLC module, the structure is complex, the purchase cost is high, and no experimental device for elevator control is provided.
Disclosure of Invention
The purpose of the invention is as follows: the invention aims to provide a PLC elevator control experiment device and method based on a Loongson, which are based on a domestic chip, simple and easy to implement and low in cost.
The technical scheme is as follows: the PLC elevator control experiment device based on the godson comprises a PLC based on the godson and an elevator control device, wherein the PLC based on the godson comprises a godson processor, a Debian10 system and an OpenPLC platform, the elevator control device comprises an elevator model and an execution module, the elevator model comprises an elevator frame, a lift car is arranged in the elevator frame, a top expansion plate and a pulley are arranged at the top end of the elevator frame, a left front expansion plate is arranged on the left front side of the elevator frame, the pulley is arranged at the top end of the lift car, a motor and a coupler are mounted on the top expansion plate, a traction rope is arranged on the pulley, one end of the traction rope is connected with the coupler, and the other end of the traction rope is connected with the elevator frame; the elevator floor detection system comprises an execution module, a display module and a power module, wherein the execution module comprises a motor driving module, an interface expansion module, a floor detection module, a key module, the display module and the power module; the Loongson processor and the interface expansion module in the execution module are connected to the same local area network and adopt wireless communication.
Preferably, the integration process of the loongson-based PLC includes: transplanting a Debian10 system on a Loongson processor; transplanting OpenPLC platform software Runtime and Editor on the Loongson processor; opening Runtime, registering an OpenPLC platform account according to the prompt and logging in; and configuring an interface extension module in the PLC operation interface according to the requirement.
Preferably, the Loongson processor is Loongson 2K 1000.
Preferably, show and button module in the car inner wall installation car, left side front side expansion board all sets up the floor outside and shows and button module on every layer.
Preferably, the pulley is totally three, and two of them are established on the elevator frame top, and one is established on the car top, haulage rope one end is connected with the shaft coupling through a pulley on elevator frame top, and the other end passes the pulley on car top and is connected with the elevator frame through another pulley on elevator frame top.
The invention relates to a PLC elevator control experiment method based on a Loongson, which comprises the following steps:
(S1) simulating a traditional PLC device by combining an OpenPLC platform based on a Loongson processor and a PLC based on a Loongson;
(S2) the loongson-based PLC exchanges and processes data with the interface expansion module through the wireless connection interface expansion module, inputs and outputs data according to a control program, realizes control of an elevator model, and monitors the I/O state in real time;
(S3) the elevator model can realize functions of calling up and down inside and outside the floor, opening and closing the elevator door, displaying the floor, displaying the up and down state, etc. by the control program.
Has the advantages that: compared with the prior art, the invention has the following remarkable advantages: 1. the combination of a domestic chip and an open source platform is adopted, so that the method is simple and easy to realize, has low cost and is not restricted by foreign property rights; 2. the difficulty of a PLC test experiment is reduced, and the cost of a PLC experimental device is reduced; 3. the elevator and the main control device are in wireless connection, the wiring is simple, the limitation of the wire length is avoided, and the time and the space are saved.
Drawings
FIG. 1 is a schematic structural view of the present invention;
fig. 2 is a schematic diagram of the structure of an elevator model of the invention;
FIG. 3 is a flowchart of the execution module work of the present invention;
FIG. 4 is a circuit schematic of the interface expansion module of the present invention;
FIG. 5 is a schematic circuit diagram of a key module and a display module according to the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings.
As shown in fig. 1, the experiment device for controlling the PLC elevator based on the godson of the present invention includes two parts, namely, a PLC1 based on the godson and an elevator control device, the PLC1 based on the godson includes a godson processor 101, a deboan 10 system and an OpenPLC platform, the elevator control device includes an elevator model 2 and an execution module 3, the execution module 3 includes a motor driving module 301, an interface expansion module 302, a floor detection module 303, a key module 304, a display module 305 and a power module 306, the godson processor 101 and the interface expansion module 302 in the execution module 3 are connected to the same local area network, and wireless communication is adopted, and the interface expansion module 302 is disposed on the elevator model 2.
The loongson-based PLC1 takes loongson 2K1000 as a core, Debian10 as an operating system, and combines an OpenPLC platform to simulate a traditional PLC device, exchange data with the interface extension module 302 and process the data. The OpenPLC platform software Editor can edit and generate an executable PLC control program file, log a PLC operation interface in the OpenPLC platform software Runtime, and control the PLCl based on the Loongson to stop running, load and compile the PLC control program file, configure the interface extension module 302 and monitor the input and output states of the interface extension module 302 in real time.
The loongson-based PLC1 integration process comprises transplanting a Debian10 system on the loongson 2K 1000; OpenPLC platform software Runtime and Editor are planted on the Loongson 2K 1000; opening Runtime, registering an OpenPLC platform account according to the prompt and logging in; the interface extension module 302 is configured in the PLC operation interface as required.
Elevator model 2 is used for simulating daily elevator hardware device, including elevator frame 201, elevator frame 201 is inside to set up car 202, and the top sets up top expansion board 207 and a set of pulley 206, and left front side sets up left front side expansion board 208, car 202 top sets up pulley 206, install motor 203 and shaft coupling 204 on the top expansion board 207, there is haulage rope 205 on the pulley 206, a pulley 206 and the shaft coupling 204 on elevator frame 201 top are passed through to haulage rope 205 one end, and the other end passes the pulley 206 on car 202 top and is connected with elevator frame 201 through another pulley 206 on elevator frame 201 top, show and button module 210 in the car 202 inner wall installation car, left side front side expansion board 208 all sets up the outside floor demonstration and button module 209 on every layer, as shown in fig. 2.
The execution module 3 includes a motor driving module 301, an interface expansion module 302, a floor detection module 303, a key module 304, a display module 305, and a power module 306. The motor driving module 301 is used for controlling the motor 203 to rotate forward and backward, and pulling the car 202 to move up and down; the interface extension module 302 is used for communicating data with the loongson-based PLC1 and controlling the elevator model 2; the floor detection module 303 is a distance sensor for detecting the position of the car 202; the key module 304 comprises an inner car key and an outer floor key, and is used for calling and opening doors manually inside and outside floors; the display module 305 is used for displaying the floor where the elevator is located, the up-down state of the elevator, the door opening and closing state and the key response state. The floor detection module 303 is installed at the corner of each floor of the elevator frame 201, and the motor driving module 301, the interface expansion module 302 and the power supply module 306 are fixedly connected to the top expansion board 207.
The working process of the elevator execution module 3 includes that the interface expansion module 302 collects the information of the keys and the floors through the key module 304 and the floor detection module 303, transmits the information to the PLC1 based on the godson for processing, receives the control signal, transmits the control signal to the display module 305 and the motor driving module 301, displays the states of the floors and the elevators, controls the motor 203 to rotate forward and backward, and pulls the car 202 to move up and down, as shown in fig. 3.
The circuit design principle of the interface extension module 302 is shown in fig. 4, the interface extension module 302 selects an ESP8266-07S chip as an interface extension core chip, WIFI configuration and I/O port configuration need to be performed on the interface extension core chip, and the circuit can select connection of pins in a download mode and an operation mode through a jumper cap. GPIO pin, communication pin, download program and the power pin that need use are drawn forth through arranging the needle, facilitate the use. Because the sensor input signal of the floor detection module 303 is 5V voltage, the maximum input voltage of the pins of the ESP8266-07S is 3.3V, the sensor input signal is optically coupled and isolated and then connected with the GPIO pins of the ESP8266-07S, GPIO13, GPIO12, GPIO4 and GPIO5 are selected as the sensor signal input pins, in order to meet the universality, a jumper selection circuit is designed for the module, and when the 4 pins are used as general I/O, the 4 pins can be directly connected into the ESP8266-07S through a jumper cap. ESP8266-07S is programmed through Arduino, ESP8266-07S is connected to a wireless router, the number and IP address of interface extension module 302 are configured in a PLC operation interface, and interface extension module 302 is enabled to communicate with Loongson-based PLC1 through a wireless local area network.
The key module 304 and the display module 305 are designed according to the principle shown in fig. 5, and the circuit includes a key circuit and a display circuit. The key part comprises an inner key of the car and an outer key of the car, the inner key comprises an inner calling key and an inner door opening and closing key, and the outer key comprises an outer calling key of each floor. The display circuit comprises floor display, door opening and closing indicator light display, elevator up-down state display and up-down button indicator light display of each floor. The key module 304 and the display module 305 are wired to each I/O port of the interface expansion module 302, and the loongson-based PLC1 reads information of the key module 304 by exchanging data with the interface expansion module 302 and controls the display module 305 to display floor information.
A PLC elevator control experiment method based on a Loongson comprises the following steps:
step 1: connecting the loongson-based PLC1 and the interface expansion module 302 to the same local area network, configuring a wireless router, connecting an Ethernet interface of a loongson 2K1000 main control board and a wireless router LAN port through a network cable, and configuring an IP address of the loongson 2K1000 main control board in the wireless router;
step 2: opening Editor, editing an elevator control program according to a control requirement, and compiling to generate a st file;
and step 3: opening Runtime, logging in a platform, and setting and connecting an interface expansion module 302;
and 4, step 4: loading the st file compiled in the step 2 in Runtime, and clicking an interface key to operate a PLC and an elevator control program;
and 5: pressing a call button or a door opening and closing button in the elevator model 3, transmitting a signal to the PLC1 based on the Loongson by the interface expansion module 302, driving the motor 203 to rotate forward and backward according to a program, and pulling the car 202 to move up and down;
step 6: when the car 202 runs up and down, the signal of the floor detection module 303 is transmitted to the loongson-based PLC1 by the interface expansion module 302, and the control displays the information of the current floor of the car 202, the up-down state of the elevator and the indication of opening and closing the door.

Claims (6)

1. A PLC elevator control experimental device based on a Loongson is characterized by comprising a PLC (1) based on the Loongson and an elevator control device, the Loongson-based PLC (1) comprises a Loongson processor (101), a Debian10 system and an OpenPLC platform, the elevator control device comprises an elevator model (2) and an execution module (3), the elevator model (2) comprises an elevator frame (201), a lift car (202) is arranged in the elevator frame (201), the top end of the elevator frame is provided with a top expansion plate (207) and a pulley (206), the left front side of the elevator frame is provided with a left front side expansion plate (208), a pulley (206) is arranged at the top end of the cage (202), a motor (203) and a coupling (204) are arranged on the top expansion plate (207), a traction rope (205) is arranged on the pulley (206), one end of the traction rope (205) is connected with the coupler (204), and the other end of the traction rope (205) is connected with the elevator frame (201); the elevator control system is characterized in that the execution module (3) comprises a motor driving module (301), an interface expansion module (302), a floor detection module (303), a key module (304), a display module (305) and a power supply module (306), the motor driving module (301), the interface expansion module (302) and the power supply module (306) are all arranged on a top expansion plate (207) of the elevator model (2), and the floor detection module (303) is arranged at each floor corner of an elevator frame (201); the Loongson processor (101) and the interface expansion module (302) in the execution module (3) are connected to the same local area network, and wireless communication is adopted.
2. A loongson-based PLC elevator control experimental facility according to claim 1, characterized in that the loongson-based PLC (1) integration process includes: planting a Debian10 system on the Loongson processor (101); OpenPLC platform software Runtime and Editor are planted on the Loongson processor (101); opening Runtime, registering an OpenPLC platform account according to the prompt and logging in; and configuring an interface extension module (302) in the PLC operation interface according to the requirement.
3. The PLC elevator control experiment device based on the Loongson of claim 1, wherein the Loongson processor (101) is a Loongson 2K 1000.
4. The loongson-based PLC elevator control experiment device is characterized in that an in-car display and key module (210) is installed on the inner wall of the car (202), and an outside-floor display and key module (209) is arranged on each floor of the left front side expansion board (208).
5. The PLC elevator control experiment device based on the Loongson as set forth in claim 1, wherein the pulleys (206) are three in total, two of the pulleys are arranged at the top end of the elevator frame (201), one pulley is arranged at the top end of the elevator car (202), one end of the traction rope (205) is connected with the shaft coupling (204) through one pulley (206) at the top end of the elevator frame (201), and the other end of the traction rope passes through the pulley (206) at the top end of the elevator car (202) and is connected with the elevator frame (201) through the other pulley (206) at the top end of the elevator frame (201).
6. The loongson-based PLC elevator control experiment method according to claim 1, characterized by comprising the following steps:
(S1) simulating a traditional PLC device by combining an OpenPLC platform based on a Loongson processor and a PLC based on a Loongson;
(S2) the loongson-based PLC exchanges and processes data with the interface expansion module through the wireless connection interface expansion module, inputs and outputs data according to a control program, realizes control of an elevator model, and monitors the I/O state in real time;
(S3) the elevator model can realize functions of calling up and down inside and outside the floor, opening and closing the elevator door, displaying the floor, displaying the up and down state, etc. by the control program.
CN202111438458.1A 2021-11-29 2021-11-29 PLC elevator control experiment device and method based on godson Pending CN114023171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111438458.1A CN114023171A (en) 2021-11-29 2021-11-29 PLC elevator control experiment device and method based on godson

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111438458.1A CN114023171A (en) 2021-11-29 2021-11-29 PLC elevator control experiment device and method based on godson

Publications (1)

Publication Number Publication Date
CN114023171A true CN114023171A (en) 2022-02-08

Family

ID=80067036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111438458.1A Pending CN114023171A (en) 2021-11-29 2021-11-29 PLC elevator control experiment device and method based on godson

Country Status (1)

Country Link
CN (1) CN114023171A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5780788A (en) * 1994-03-07 1998-07-14 Otis Elevator Company Special emergency service control arrangement for elevator car
CN102520689A (en) * 2011-12-14 2012-06-27 杭州英若飞科技有限公司 Embedded controller based on Godson processor and FPGA (Field Programmable Gate Array) technology
CN202584541U (en) * 2012-08-17 2012-12-05 山东栋梁科技设备有限公司 A teaching elevator training device containing multiple control modes of PLC, single chip machine, and computer
CN204463676U (en) * 2015-03-08 2015-07-08 河南工业职业技术学院 A kind of teaching training apparatus of automatic control electric ladder
CN205527132U (en) * 2016-01-12 2016-08-31 陕西国际商贸学院 Elevator monitoring system based on thing networking
CN206489436U (en) * 2017-03-02 2017-09-12 上海固高欧辰智能科技有限公司 A kind of new PLC
CN108230867A (en) * 2018-02-08 2018-06-29 常熟理工学院 A kind of instructional device based on internet elevator model electric control system
CN110143503A (en) * 2019-05-20 2019-08-20 武汉轻工大学 Elevator safety component test facility and system
CN111273600A (en) * 2020-01-20 2020-06-12 江苏龙威中科技术有限公司 PLC module based on Loongson 2K1000 main processing chip

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5780788A (en) * 1994-03-07 1998-07-14 Otis Elevator Company Special emergency service control arrangement for elevator car
CN102520689A (en) * 2011-12-14 2012-06-27 杭州英若飞科技有限公司 Embedded controller based on Godson processor and FPGA (Field Programmable Gate Array) technology
CN202584541U (en) * 2012-08-17 2012-12-05 山东栋梁科技设备有限公司 A teaching elevator training device containing multiple control modes of PLC, single chip machine, and computer
CN204463676U (en) * 2015-03-08 2015-07-08 河南工业职业技术学院 A kind of teaching training apparatus of automatic control electric ladder
CN205527132U (en) * 2016-01-12 2016-08-31 陕西国际商贸学院 Elevator monitoring system based on thing networking
CN206489436U (en) * 2017-03-02 2017-09-12 上海固高欧辰智能科技有限公司 A kind of new PLC
CN108230867A (en) * 2018-02-08 2018-06-29 常熟理工学院 A kind of instructional device based on internet elevator model electric control system
CN110143503A (en) * 2019-05-20 2019-08-20 武汉轻工大学 Elevator safety component test facility and system
CN111273600A (en) * 2020-01-20 2020-06-12 江苏龙威中科技术有限公司 PLC module based on Loongson 2K1000 main processing chip

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姚家庆: "基于龙芯数控系统内置PLC的研究与实现", Retrieved from the Internet <URL:https://www.docin.com/p-864143276.html> *
张帆等: "基于开源OpenPLC的数据采集终端的系统设计", 《自动化应用》, no. 2021, pages 203 - 209 *

Similar Documents

Publication Publication Date Title
US10112799B2 (en) Elevator installation modernization using an existing interface
CN107848742B (en) Elevator control system and elevator system comprising same
CA2478465C (en) Method of checking a lift installation, and lift installation
CN206162142U (en) Over -and -under type scaffold puts up control system
CN202584541U (en) A teaching elevator training device containing multiple control modes of PLC, single chip machine, and computer
CN114023171A (en) PLC elevator control experiment device and method based on godson
CN111137765A (en) Custom elevator simulation method and system
CN105704484A (en) Testing device and method for simulating user operation on TV set
CN206479841U (en) A kind of current gate test device
JPS62111881A (en) Driving device for elevator
CN101021971A (en) Elevator debugging instrument utilizing bluetooth communication
CN113659887A (en) Multi-modular circuit board and connecting method thereof
CN211769585U (en) User-defined elevator simulation system
CN201347316Y (en) Elevator control system
CN203462264U (en) Intelligent control system of computer embroidery machine
CN114162688B (en) Control method and control device for construction elevator
CN212845647U (en) Frequency converter test system
KR101833311B1 (en) Control system of the automation equipment using a smart phone
CN216889563U (en) Elevator control system and elevator
CN110989586A (en) AGV general solution platform external member
EP3915918B1 (en) Method and system for configuring an elevator management device
CN218122484U (en) Simulation debugging device supporting user-defined universal industrial controller
CN211207166U (en) Motor synchronous test control device
CN200997175Y (en) Elevater debugging instrument by blue-tooth telecommunication
CN201707596U (en) Embedded technique based sewage treatment technology process controller

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