基于PLC的教室智能照明系統(tǒng)設(shè)計(jì)含4張CAD圖
基于PLC的教室智能照明系統(tǒng)設(shè)計(jì)含4張CAD圖,基于,plc,教室,智能,照明,系統(tǒng),設(shè)計(jì),cad
外文原文
PLC technique discussion and future development
Along with the development of the ages, the technique that is nowadays is also gradually perfect, the competition plays more strong; the operation that list depends the artificial has already can't satisfied with the current manufacturing industry foreground, also can't guarantee the request of the higher quantity and high new the image of the technique business enterprise.
The people see in produce practice, automate brought the tremendous convenience and the product quantities for people up of assurance, also eased the personnel's labor strength, reduce the establishment on the personnel. The target control of the hard realization in many complicated production lines, whole and excellent turn, the best decision etc., well-trained operation work, technical personnel or expert, governor but can judge and operate easily, can acquire the satisfied result. The research target of the artificial intelligence makes use of the calculator exactly to carry out, imitate these intelligences behavior, moderating the work through person's brain and calculators, with the mode that person's machine combine, for resolve the very complicated problem to look for the best path
We come in sight of the control that links after the electric appliances in various situation, that is already the that time generation past, now of after use in the mold a perhaps simple equipments of grass-roots control that the electric appliances can do for the low level only; And the PLC emergence also became the epoch-making topic, adding the vivid software control through a very and stable hardware, making the automation head for the new high tide.
The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculations of cost, as long as order the importation that the button switch or the importation of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can.
PLC internal containment have the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people's address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation; The I/ O add inner part is tired the input and output system of the machine and exterior link, and deposit the related data into the procedure saving machine or data saving machine; The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to become tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and dates, the ROM can do deposit of the data permanence in the saving machine, but RAM only for the CPU computes the temporary calculation usage of hour of buffer space.
The PLC anti- interference is very and excellent, our root need not concern its service life and the work situation bad, these all problems have already no longer become the topic that we fail, but stay to our is a concern to come to internal resources of make use of the PLC to strengthen the control ability of the equipments for us, make our equipments more gentle.
PLC language is not we imagine of edit collected materials the language or language of Cs to carry on weaving the distance, but the trapezoid diagram that the adoption is original after the electric appliances to control, make the electrical engineering teacher while weaving to write the procedure very easy comprehended the PLC language, and a lot of non- electricity professional also very quickly know and go deep into to the PLC.
Is PLC one of the advantage above and only, this is also one part that the people comprehend more and easily, in a lot of equipments, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easiest, small is not a main error perhaps you can still accept; But lead even is a fatal error greatly is what we can't is tolerant of. New technique always for bringing more safe and convenient operation for us, make we a lot of problems for face on sweep but light, do you understand the HMI? Says the HMI here you basically not clear what it is, also have no interest understanding, change one inside text explains it into the touch to hold or man-machine interface you knew, and it combines with the PLC to our larger space.
HMI the control not only is reduced the control press button, increase the vivid of the control, more main of it is can sequence of, and at can the change data input to output the feedback with data, control in the temperature curve of imitate but also can keep the manifestation of view to come out. And can write the function help procedure through a plait to provide the help of various what lies in one's power, the one who make operate reduces the otiose error. Currently the HMI factory is also more and more, the function is also more and more strong, the price is also more and more low, and the noodles of the usage are wide more and more. The HMI foreground can say that think ° to be good very.
At a lot of situations, the list is a smooth movement that can't guarantee the equipments by the control of the single machine, but pass the information exchanges of the equipments and equipments to attain the result that we want. For example fore pack and the examination of the empress work preface, we will arrive wrapping information feedback to examine the place, and examine the information of the place to also want the feedback to packing. Pass the information share thus to make both the chain connect, becoming a total body, the match of your that thus make is more close, at each other attain to reflect the result that mutually flick.
The PLC correspondence has already come more body now its value, at the PLC and correspondence between PLCs, can pass the communication of the information and the share of the dates to guarantee that of the equipments moderates mutually, the result that arrive already to repair with each other. Data conversion the adoption RS232 between PLC connect to come to the transmission data, but the RS232 pick up a people and can guarantee 10 meters only of deliver the distance, if in the distance of 1000 meters we can pass the RS485 to carry on the correspondence, the longer distance can pass the MODEL only to carry on deliver.
The PLC data transmission is just to be called a form to it in a piece of and continuous address that the data of the inner part delivers the other party, we, the PLC of the other party passes to read data in the watch to carry on the operation. If the data that data in the watch is a to establish generally, that is just the general data transmission, for example today of oil price rise, I want to deliver the price of the oil price to lose the oil ally on board, that is the share of the data; But take data in the watch for an instruction procedure that controls the PLC, that had the difficulty very much, for example you have to control one pedestal robot to press the action work that you imagine, you will draw up for it the form that a procedure combine with the data sends out to pass by.
The form that information transport contain single work, the half a work and the difference of a workers .The meaning of the single work also is to say both, a can send out only, but a can receive only, for example a spy he can receive the designation of the superior only, but can't give the superior reply; A work of half is also 2 and can send out similar to accept the data, but can't send out and accept at the same time, for example when you make a phone call is to can't answer the phone, the other party also; But whole pair works is both can send out and accept the data, and can send out and accept at the same time. Be like the Internet is a typical example.
The process that information transport also has synchronous and different step cent: The data line and the clock lines are synchronous when synchronous meaning lie in sending out the data, is also the data signal and the clock signals to be carry on by the CPU to send out at the same time, this needs to all want the specialized clock signal each other to carry on the transmission and connect to send, and is constrained, the characteristics of this kind of method lies in its speed very quick, but correspond work time of take up the CPU and also want to be long oppositely, at the same time the technique difficulty also very big. Its request lies in canting have an error margins in a dates deliver, otherwise the whole piece according to compare the occurrence mistake, this on the hardware is a bigger difficulty. Applied more and more extensive in some appropriative equipments, be like the appropriative medical treatment equipments, the numerical signal equipments...etc., in compare the one data deliver, its result is very good.
And the different step is an application the most extensive, this receive benefit in it of technique difficulty is opposite and want to be small, at the same time not need to prepare the specialized clock signal, its characteristics to lie in, its data is partition, the long-lost send out and accept, be the CPU is too busy of time can grind to a stop sex to work, also reduced the difficulty on the hardware, the data throw to lose at the same time opposite want to be little, we can pass the examination of the data to observe whether the data that we send out has the mistake or not, be like strange accidentally the method, tired addition and eight efficacies method etc., can use to helps whether the data that we examine to send out have or not the mistake occurrence, pass the feedback to carry on the discriminator.
A line of transmission of the information contains a string of and combine the cent of: The usual PLC is 8 machines, certainly also having 16 machines. We can be an at the time of sending out the data a send out to the other party, also can be 88 send out the data to the other party, an and 8 differentiations are also the as that we say to send out the data and combine sends out the data. A speed is more and slowly, but as long as 2 or three lines can solve problem, and can use the telephone line to carry on the long range control. But combine the ocular transmission speed is very quick of, it is a string of ocular of 25600%, occupy the advantage in the short distance, the in view of the fact TTL electricity is even, being limited by the scope of one meter generally, it combine unwell used for the data transmission of the long pull, thus the cost is too expensive.
Under a lot of circumstances we are total to like to adopt the string to combine the conversion chip to carry on deliver, under this kind of circumstance not need us to carry on to deposited the machine to establish too and complicatedly, but carry on the data exchanges through the data transmission instruction directly, but is not a very viable way in the correspondence, because the PLC of the other party must has been wait for your data exportation at the time of sending out the data, it can't do other works.
When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and combine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo come together knock on door to have a conversation, after dialogue complete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments, we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, for example the address of the procedure, CPU of tired add the machine data etc., be like to stick down which the book that we see is when we open the door the page or simply make a mark, because we treat and would still need to continue immediately after book of see the behind. The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same to do, this we must notice.
The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out the interruption of the higher Class according to person's request. This kind of breaks off the medium interruption to also became to break off the set. The Class that certainly break off is relevant according to various resources of CPU with internal PLC, also following a heap of capacity size of also relevant fasten.
The contents that break off has a lot of kinds, for example the exterior break off, correspondence in of send out and accept the interruption and settle and the clock that count break off, still have the WDT to reset the interruption etc., they enriched the CPU to respond to the category while handle various business. Speak thus perhaps you can't comprehend the internal structure and operation orders of the interruption completely also, we do a very small example to explain.
Each equipment always will not forget a button, it also is at we meet the urgent circumstance use of, which is nasty to stop the button. When we meet the Human body trouble and surprised circumstances we as long as press it, the machine stops all operations immediately, and wait for processing the over surprised empress recover the operation again. Nasty stop the internal I/ O of the internal CPU of the button conjunction PLC to connect up, be to press button an exterior to trigger signal for CPU, the CPU carries on to the I/ O to examine again, being to confirm to have the exterior to trigger the signal, CPU protection the spot breaks off procedure counts the machine turn the homologous exterior I/ O automatically in the procedure to go to also, be exterior interruption procedure processing complete, the procedure counts the machine to return the main procedure to continue to work. Have 1:00 can what to explain is we generally would nasty stop the button of exterior break off to rise to the tallest Class, thus guarantee the safety.
When we are work a work piece, giving the PLC a signal, counting PLC inner part the machine add 1 to compute us for a day of workload, a count the machine and can solve problem in brief, certainly they also can keep the data under the condition of dropping the electricity, urging the data not to throw to lose, this is also what we hope earnestly.
The PLC still has the function that the high class counts the machine, being us while accept some dates of high speed, the high speed that here say is the data of the in all aspects tiny second class, for example the bar code scanner is scanning the data continuously, calculating high-speed signal of the data processor DSP etc., we will adopt the high class to count the machine to help we carry on count. It at the PLC carries out the procedure once discover that the high class counts the machine to should of interruption, will let go of the work on the hand immediately. The trapezoid diagram procedure that passes by to weave the distance again explains the high class for us to carry out procedure to count machine would automatic performance to should of work, thus rise the Class that the high class counts the machine to high one Class.
You heard too many this phrases perhaps:" crash", the meaning that is mostly is a workload of CPU to lead greatly, the internal resources shortage etc. the circumstance can't result in procedure circulate. The PLC also has the similar circumstance, there is a watchdog WDT in the inner part of PLC, we can establish time that a procedure of WDT circulate, being to appear the procedure to jump to turn the mistake in the procedure movement process or the procedure is busy, movement time of the procedure exceeds WDT constitution time, the CPU turn but the WDT reset the appearance. The procedure restarts the movement, but will not carry on the breakage to the interruption.
The PLC development has already entered for network ages of correspondence from the mode of the one, and together other works control the net plank and I/ O card planks to carry on the share easily. A state software can pass all se hardwires link, more animation picture of keep the view to carries on the control, and cans pass the Internet to carry on the control in the foreign land, the blast-off that is like the absolute being boat No.5 is to adopt this kind of way to make airship go up the sky.
The development of the higher layer needs our continuous effort to obtain. The PLC emergence has already affected a few persons fully, we also obtained more knowledge and precepts from the top one experience of the generation, coming to the continuous development PLC technique, push it toward higher wave tide.
中文翻譯
可編程控制器技術(shù)討論與未來發(fā)展
隨著時(shí)代的發(fā)展,當(dāng)今的技術(shù)也日趨完善、競(jìng)爭(zhēng)愈演愈烈;單靠人工的操作已不能滿足于目前的制造業(yè)前景,也無法保證更高質(zhì)量的要求和高新技術(shù)企業(yè)的形象.
人們?cè)谏a(chǎn)實(shí)踐中看到,自動(dòng)化給人們帶來了極大的便利和產(chǎn)品質(zhì)量上的保證,同時(shí)也減輕了人員的勞動(dòng)強(qiáng)度,減少了人員上的編制.在許多復(fù)雜的生產(chǎn)過程中難以實(shí)現(xiàn)的目標(biāo)控制、整體優(yōu)化、最佳決策等,熟練的操作工、技術(shù)人員或?qū)<?、管理者卻能夠容易判斷和操作,可以獲得滿意的效果.人工智能的研究目標(biāo)正是利用計(jì)算機(jī)來實(shí)現(xiàn)、模擬這些智能行為,通過人腦與計(jì)算機(jī)協(xié)調(diào)工作,以人機(jī)結(jié)合的模式,為解決十分復(fù)雜的問題尋找最佳的途徑
我們?cè)诟鞣N場(chǎng)合看到了繼電器連接的控制,那已經(jīng)是時(shí)代的過去,如今的繼電器只能作為低端的基層控制模塊或者簡(jiǎn)單的設(shè)備中使用到;而PLC的出現(xiàn)也成為了劃時(shí)代的主題,通過極其穩(wěn)定的硬件穿插靈活的軟件控制,使得自動(dòng)化走向了新的高潮。
PLC的最大特點(diǎn)在于:電氣工程師已不再電氣的硬件上花費(fèi)太多的心計(jì),只要將按鈕開關(guān)或感應(yīng)器的輸入點(diǎn)連接到PLC的輸入點(diǎn)上就能解決問題,通過輸出點(diǎn)連接接觸器或繼電器來控制大功率的啟動(dòng)設(shè)備,而小功率的輸出設(shè)備直接連接就可以。
PLC的內(nèi)部包含了具有中央處理器的CPU,并帶有外部I/O口擴(kuò)展的I/O接口地址和存儲(chǔ)器三大塊組成,CPU的核心是由一個(gè)或者多個(gè)累加器組成,它們具有邏輯的數(shù)學(xué)運(yùn)算能力,并能讀取程序存儲(chǔ)器的內(nèi)容通過計(jì)算后去驅(qū)動(dòng)相應(yīng)的存儲(chǔ)器和I/O接口;I/O口將內(nèi)部累加器和外部的輸入和輸出系統(tǒng)連接起來,并將相關(guān)的數(shù)據(jù)存入程序存儲(chǔ)器或者數(shù)據(jù)存儲(chǔ)器中;存儲(chǔ)器可以將I/O口輸入的數(shù)據(jù)存入存儲(chǔ)器中,并在工作時(shí)調(diào)轉(zhuǎn)到累加器和I/O接口上,存儲(chǔ)器分程序存儲(chǔ)器ROM和數(shù)據(jù)存儲(chǔ)器RAM,ROM可以將數(shù)據(jù)永久的存入存儲(chǔ)器中,而RAM只能作為CPU計(jì)算時(shí)臨時(shí)計(jì)算使用的緩沖空間。
PLC的抗干擾是極其優(yōu)秀的,我們根本不用去關(guān)心它的使用壽命和工作場(chǎng)合的惡劣,這些所有的問題已不再成為我們失敗的主題,而留給我們的是關(guān)心如何來利用PLC的內(nèi)部資源為我們加強(qiáng)設(shè)備的控制能力,使我們的設(shè)備更加的柔性。
PLC的語言并不是我們所想象的匯編語言或C語言來進(jìn)行編程,而是采用原有的繼電器控制的梯形圖,使得電氣工程師在編寫程序時(shí)很容易就理解了PLC的語言,而且很多的非電氣專業(yè)人士也對(duì)PLC很快認(rèn)識(shí)并深入。
以上僅僅是PLC的優(yōu)點(diǎn)之一,這也是人們比較容易理解的一部分,在很多的設(shè)備中,人們已不再希望看到太多的控制按鈕,它們不但容易損壞而且極易產(chǎn)生人為的失誤,小的并不是主要的失誤也許你還能夠接受;但過大的甚至是致命的失誤是我們無法容忍的。新的技術(shù)總是為了給我們帶來更安全和便捷的操作,使得我們面臨的一大堆問題一掃而光,你有了解過HMI嗎?這里說HMI你根本不清楚它是什么,也沒有興趣了解,換一個(gè)中文把它說明為觸摸屏或者人機(jī)界面你就知道了,它和PLC的結(jié)合給了我們更大的空間。
HMI控制不僅僅是減少了控制按鈕,增加控制的靈活性,更主要的它是可順序性的,而且在能夠改變數(shù)據(jù)輸入和數(shù)據(jù)輸出反饋,在溫度控制曲線的模擬也能直觀的顯示出來。并且能夠通過編寫功能幫助程序來提供各種力所能及的幫助,使得操作者減少不必要的失誤。HMI的廠商目前也越來越多,功能也越來越強(qiáng),價(jià)格也越來越低,使用的面越來越廣。HMI的前景可以說十分的看好。
在很多場(chǎng)合,單靠單機(jī)的控制是無法保證設(shè)備的順暢運(yùn)行,而通過設(shè)備與設(shè)備的信息交流達(dá)到我們想要的效果。比如在前包裝和后工序的檢測(cè),我們就要將包裝的信息反饋到檢測(cè)處,而檢測(cè)處的信息也要反饋到包裝來。這樣通過信息共享來使得兩者之間鏈接起來,形成一個(gè)共體,從而使的兩者間的配合更加的緊密,在彼此間達(dá)到映影相揮的效果。
PLC的通信已經(jīng)愈來愈體現(xiàn)它的價(jià)值,在PLC與PLC之間的通信,能夠通過信息的溝通和數(shù)據(jù)的共享來保證設(shè)備之間的相互協(xié)調(diào),已達(dá)到互補(bǔ)的效果。PLC之間的數(shù)據(jù)轉(zhuǎn)換采用RS232接口來傳送數(shù)據(jù),而RS232接口只能保證10米的傳輸距離,如果在1000米的距離內(nèi)我們可以通過RS485來進(jìn)行通信,更長(zhǎng)的距離只能通過MODEL來進(jìn)行傳輸。
PLC的數(shù)據(jù)傳送只是將內(nèi)部的數(shù)據(jù)傳送到對(duì)方的一塊連續(xù)的地址中,我們把它稱為一個(gè)表,對(duì)方的PLC通過讀取表中的數(shù)據(jù)來進(jìn)行操作。如果表中的數(shù)據(jù)是一個(gè)一般設(shè)置的數(shù)據(jù)的話,那只是一般的數(shù)據(jù)傳送,比如今天的油價(jià)上升了,我要把油價(jià)的價(jià)格傳送到所有的輸油機(jī)上,那就是數(shù)據(jù)的共享;而當(dāng)表中的數(shù)據(jù)是一段控制PLC的指令程序,那就很有難度了,比如你要控制一臺(tái)機(jī)器人來按你想象的動(dòng)作工作,你會(huì)給它編制一段程序并以數(shù)據(jù)的形式發(fā)送過去。
信息輸送的形式有單工位、半雙工位和全雙工位的分別。單工位的意義也就是說兩者之間,一個(gè)只能發(fā)送,而一個(gè)只能接收,比如一個(gè)特務(wù)他只能接收上司的指示,而無法給上司回復(fù);半雙工位也就是兩個(gè)能都能發(fā)送和接受數(shù)據(jù),但不能同時(shí)發(fā)送和接受,比如你打電話時(shí)是不能接電話,對(duì)方也一樣;而全雙工位是兩者之間都能發(fā)送和接受數(shù)據(jù),并可同時(shí)發(fā)送和接受。像互聯(lián)網(wǎng)就是典型的例子。
信息輸送的過程也有同步和異步之分:同步的意義在于發(fā)送數(shù)據(jù)時(shí)數(shù)據(jù)線和時(shí)鐘線是同步的,也就是數(shù)據(jù)信號(hào)和時(shí)鐘信號(hào)同時(shí)由CPU進(jìn)行發(fā)送,這需要彼此都要專門的時(shí)鐘信號(hào)來進(jìn)行傳送和接送,并且是強(qiáng)制性的,這種方法的特點(diǎn)在于它的速度極快、但相應(yīng)占用CPU的工作時(shí)間也相對(duì)的要長(zhǎng)、同時(shí)技術(shù)難度也非常的大。它的要求在于在一幀的數(shù)據(jù)傳送中不能有一位的誤差,不然的話整個(gè)數(shù)據(jù)將發(fā)生錯(cuò)誤,這在硬件上是一個(gè)比較大的難度。在一些專用的設(shè)備中應(yīng)用的越來越廣泛,像專用的醫(yī)療設(shè)備、數(shù)字信號(hào)設(shè)備等,在比較單一數(shù)據(jù)的傳輸中,它的效果非常的好。
而異步是應(yīng)用范圍最
收藏