CN202870588U - Fruit grading control system based on machine vision and PLC communication - Google Patents
Fruit grading control system based on machine vision and PLC communication Download PDFInfo
- Publication number
- CN202870588U CN202870588U CN2012205135942U CN201220513594U CN202870588U CN 202870588 U CN202870588 U CN 202870588U CN 2012205135942 U CN2012205135942 U CN 2012205135942U CN 201220513594 U CN201220513594 U CN 201220513594U CN 202870588 U CN202870588 U CN 202870588U
- Authority
- CN
- China
- Prior art keywords
- plc
- links
- fruit
- photoelectric sensor
- relay
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Sorting Of Articles (AREA)
Abstract
The utility model discloses a fruit grading control system based on machine vision and PLC communication. The system is composed of an image collection control part and an automatic grading control part; the image collection control part comprises a camera, a photoelectric sensor, a PLC and a computer; and the automatic grading control part comprises a conveying device and a grading device, wherein the conveying device comprises a conveying belt, a three-phase motor, an inverter and a D/A module, and the grading device comprises a photoelectric sensor, a material pushing cylinder, a relay and a PLC. Compared with the traditional control system, the system is simple in design, the stability and reliability of the system are improved as the PLCs are used as core control elements, the structure of the system is simplified, and the maintenance is more convenient and quicker.
Description
Technical field
The utility model relates to a kind of plc communication control system, particularly a kind of fruit grading control system based on machine vision and plc communication.
Background technology
Scientific research and statistics show that the human information that obtains from the external world has 75% to come from vision system approximately, that is to say, human most information all obtains from image.Image most important, the abundantest, quantity of information that to be people experienced since the birth are obtained the best part.And machine vision is mainly simulated people's visual performance with computing machine, and information extraction from the image of objective things is processed and understood, and final being used for actually detected, measures and control.The characteristics of machine vision technique maximum be speed fast, contain much information, function is many.Along with the continuous appearance of new electric elements and the development of computer technology, Electrical Control Technology is also in sustainable development.Modern Electrical Control Technology combines many scientific and technological achievements such as computing machine, automatically control, electronic technology and precision measurement just, and obtains develop rapidly.Programmable logic controller (PLC) is a kind of universal controller that is adapted to industrial environment, it gets up the advantages such as convenient and simple for operation understandable, cheap of the advantages such as the complete function of computing machine, versatility and dirigibility are good and relay control system, not only increased the functions such as arithmetical operation, data-switching, process control, data communication, can also finish large-scale and complicated control and appoint.
The utility model content
The purpose of this utility model provides a kind of fruit grading control system based on machine vision and plc communication, has realized processing for the classification of fruit.In system's operational process, the state of COMPUTER DETECTION PLC input port is judged the position of fruit, carries out the sampling and processing of fruit image in the image acquisition control stage, obtains the classification results of fruit.At automatic classification control stepped reckoner classification results is turned back among the PLC, and carry out classification action according to classification results in conjunction with the fruit positional information control cylinder that detects by PLC.
For solving the problems of the technologies described above, the invention provides following technical scheme:
Described fruit grading control system is comprised of image acquisition control section and automatic classification control section, the image acquisition control section comprises camera, photoelectric sensor, PLC and computing machine, the automatic classification control section comprises conveying device and grading plant, conveying device comprises travelling belt, three phase electric machine, frequency converter and D/A module, grading plant comprises photoelectric sensor, the pusher cylinder, relay and PLC.
The image acquisition control section quality information that can also collect fruit in enclosed environment comprises light box and light source, camera, photoelectric sensor, PLC and computing machine.
At the image acquisition control section, the photoelectric sensor output terminal links to each other with the PLC input end, the programming port RS422 interface of PLC is communicated by letter by the adaptive download cable of SC-09 with the serial communication port RS-232C interface of computing machine, when fruit process photoelectric sensor, photoelectric sensor is that high level is to the input end of PLC by low transition, COMPUTER DETECTION gathers fruit image to this status information control camera, and the fruit image after the collection obtains the class information of fruit via Computer Processing.
At the automatic classification control section, the D/A module links to each other with PLC by the I/O extended busbar of PLC, the photoelectric sensor output terminal links to each other with the input end of PLC, three phase electric machine respectively with the U of frequency converter, V, the W end links to each other, the PLC output terminal links to each other with the relay input end, relay output end links to each other with the electromagnetism of pusher cylinder, its rating information of fruit that obtains classification results is turned back to the grade result among the PLC by computing machine, when fruit arrives corresponding classification mouth, the high point of photoelectric sensor output is flat, PLC output this moment high level makes relay get the electric control cylinder solenoid valve, finally makes cylinder carry out the classification action.
The utility model utilizes PLC as the core devices of control, and it is good to have real-time, and stability is strong, the cost performance advantages of higher.The Vision Builder for Automated Inspection of this control system can gather the image of various fruits and process, such as apple, and the multiple fruit such as oranges and tangerines and pears, its versatility is better.
Description of drawings
Fig. 1 is system architecture diagram of the present utility model
Fig. 2 is image collecting device of the present utility model (1 light source, 2 light boxs, 3 photoelectric sensors, 4, camera, 5 light sources, 6, fruit, 7 conveying devices)
Fig. 3 is the communication mode of KingView of the present utility model and MATLAB
Fig. 4 is program flow diagram of the present utility model
Embodiment
Below in conjunction with accompanying drawing the utility model is described in further detail.
Fig. 1 is system architecture diagram of the present utility model, and native system mainly comprises computing machine, PLC, image collecting device, conveying device, grading plant and photoelectric sensor (SB03-1K).Described computing machine is as the Surveillance center of system, and by mounted configuration software (KingView) in advance, image processing software (MATALB) and PLC programming software (GX Develop) can be realized the equipment of system is carried out programming Control.Described image collecting device comprises the adopting surface mounted LED light source, light box, and camera (DH-HV1351UC of Daheng) and photoelectric sensor (SB03-1K) form.Described conveyer is by travelling belt, three phase electric machine (the 25W three phase electric machine of JSCC is joined the standard reducer casing), frequency converter (E700 of Mitsubishi) and D/A modular converter (FX2N-2D/A).Described automatic classification control comprises photoelectric sensor, pusher cylinder and PLC.The fruit sample successively by image collecting device and grading plant, by the positional information of photoelectric sensor real-time tracing fruit, and is reflected to the input end of PLC on travelling belt.Computing machine is connected communication with PLC, read the status information of PLC input end.During fruit process image collecting device, computer control camera collection image is also processed, and generates classification results.When fruit arrived corresponding classification mouth, in conjunction with classification results information, PLC control grading plant was carried out the classification action, finishes final classification.
Fig. 2 is image acquisition control section of the present utility model, and it comprises light source 1 and 5, light box 2, camera 4.Its material of described light box is engineering plastics, rectangular structure, and long is 20cm, wide 15cm, height is 50cm, inwall pastes black flicker free diffuse-reflective material.Described camera is placed on apart from the high 30cm of travelling belt place.Described light source is placed on both sides, camera top.When fruit 6 process photoelectric sensors 3 rear drive camera photographic images information, and the fruit of inciting somebody to action is delivered to conveying device 7.Described image collecting device purpose is in order to collect clearly image of fruit sample.
KingView shown in Figure 3 and MATLAB communicate by the mode of OPC.Start KingView and will automatically start the opc server function.The server sign is KingView.View.1, selects this object to be attached thereto.The server name of configuration running environment is KingView.View.1; At running background, the user only needs given server, just can be by the data item of directly browsing to check that all are available by configuration for the establishment of group objects and management.
Shown in Figure 4 in MATLAB, create target opc server by opcda () after connect () function connect opc server, as do not start KingView and can automatically start through connect ().Addgroup () function adds group objects, then add in the group by the variable of additem () function with KingView, next step is for using set () function to set interval, number of times, type, the position of preserving, and MATLAB periodically reads with the parameter the set variable to KingView.Variable object allows MATLAB to carry out image reading in the KingView if read, and does not continue to read if do not allow then to return.Then in MATLAB, carry out data after the MATLAB reading images and process, the output classification results.Be written in the KingView after the output classification results, create successively project team, classification results is added in the group as variable, finally use writeasync () function to write results in the KingView.KingView is connected with PLC, in conjunction with the event command language control PLC output terminal of classification results by KingView.KingView is as the real-time data acquisition of monitoring, and links to each other with opc server namely and the communicating by letter of MATLAB realization data.
Consider, system described in the utility model preferred version is by a computing machine, PLC (mitsubishi FX2N-16MT), and D/A module (mitsubishi FX2N-2D/A), a frequency converter, a three phase electric machine (JSCC25W joins the standard reducer casing), five photoelectric sensors, a camera, a pair of adopting surface mounted LED light source, a light box, four pusher cylinders, a group relay and DC power supplier form; Camera, image acquisition control sensor and light source are fixed on light box inside, camera, PLC links to each other with computing machine; The photoelectric sensor output terminal links to each other with the PLC input end; The PLC output terminal links to each other with relay; Relay links to each other with the solenoid valve of cylinder; Frequency converter links to each other with three phase electric machine; Frequency converter links to each other with the D/A module; The forward control end of frequency converter links to each other with the output terminal of PLC.
Claims (5)
1. the fruit grading control system based on machine vision and plc communication is characterized in that, is comprised of image acquisition control section and automatic classification control section, the image acquisition control section comprises camera, photoelectric sensor, PLC and computing machine, the automatic classification control section comprises conveying device and grading plant, conveying device comprises travelling belt, three phase electric machine, frequency converter and D/A module, grading plant comprises photoelectric sensor, the pusher cylinder, relay and PLC.
2. described system according to claim 1 is characterized in that, the image acquisition control section quality information that in enclosed environment, collects fruit, and described image acquisition control section also has light box and light source.
3. described system according to claim 1, it is characterized in that, at the image acquisition control section, the photoelectric sensor output terminal links to each other with the PLC input end, the programming port RS422 interface of PLC is communicated by letter by the adaptive download cable of SC-09 with the serial communication port RS-232C interface of computing machine, when fruit process photoelectric sensor, photoelectric sensor is that high level is to the input end of PLC by low transition, COMPUTER DETECTION gathers fruit image to this status information control camera, and the fruit image after the collection obtains the class information of fruit via Computer Processing.
4. described system according to claim 1, it is characterized in that, at the automatic classification control section, the D/A module links to each other with PLC by the I/O extended busbar of PLC, the photoelectric sensor output terminal links to each other with the input end of PLC, three phase electric machine respectively with the U of frequency converter, V, the W end links to each other, the PLC output terminal links to each other with the relay input end, relay output end links to each other with the electromagnetism of pusher cylinder, its rating information of fruit that obtains classification results is turned back to the grade result among the PLC by computing machine, and when fruit arrived corresponding classification mouth, the high point of photoelectric sensor output was flat, PLC output this moment high level makes relay get the electric control cylinder solenoid valve, finally makes cylinder carry out the classification action.
5. described system according to claim 1 is characterized in that, by a computing machine, a PLC, a D/A module, a frequency converter, a three phase electric machine, five photoelectric sensors, a camera, a pair of adopting surface mounted LED light source, a light box, four pusher cylinders, a group relay and DC power supplier form; Camera, image acquisition control sensor and light source are fixed on light box inside, camera, PLC links to each other with computing machine; The photoelectric sensor output terminal links to each other with the PLC input end; The PLC output terminal links to each other with relay; Relay links to each other with the solenoid valve of cylinder; Frequency converter links to each other with three phase electric machine; Frequency converter links to each other with the D/A module; The forward control end of frequency converter links to each other with the output terminal of PLC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012205135942U CN202870588U (en) | 2012-09-29 | 2012-09-29 | Fruit grading control system based on machine vision and PLC communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012205135942U CN202870588U (en) | 2012-09-29 | 2012-09-29 | Fruit grading control system based on machine vision and PLC communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202870588U true CN202870588U (en) | 2013-04-10 |
Family
ID=48037295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012205135942U Expired - Fee Related CN202870588U (en) | 2012-09-29 | 2012-09-29 | Fruit grading control system based on machine vision and PLC communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202870588U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105424716A (en) * | 2015-12-25 | 2016-03-23 | 广西丰林木业集团股份有限公司 | Board sorting system for artificial board production line |
CN107478659A (en) * | 2017-07-12 | 2017-12-15 | 广东文鼎智能科技有限公司 | Using the general tea fruit grading plant of the mandarin orange of machine vision technique and method |
CN108099612A (en) * | 2017-12-29 | 2018-06-01 | 苏州凯博易控驱动技术有限公司 | It is a kind of to capture system for the automatic of Electricity collecting frame |
-
2012
- 2012-09-29 CN CN2012205135942U patent/CN202870588U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105424716A (en) * | 2015-12-25 | 2016-03-23 | 广西丰林木业集团股份有限公司 | Board sorting system for artificial board production line |
CN105424716B (en) * | 2015-12-25 | 2018-05-15 | 广西丰林木业集团股份有限公司 | Artificial board product line pick plate system |
CN107478659A (en) * | 2017-07-12 | 2017-12-15 | 广东文鼎智能科技有限公司 | Using the general tea fruit grading plant of the mandarin orange of machine vision technique and method |
CN108099612A (en) * | 2017-12-29 | 2018-06-01 | 苏州凯博易控驱动技术有限公司 | It is a kind of to capture system for the automatic of Electricity collecting frame |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202870588U (en) | Fruit grading control system based on machine vision and PLC communication | |
CN201186270Y (en) | Multichannel fruit classification and separation system based on machine vision | |
CN202649135U (en) | Image acquisition device for citrus classification and detection | |
CN104007409A (en) | Device and method for automatically detecting intelligent ammeter liquid crystal wheel display content | |
CN101221439B (en) | Embedded system for high speed parallel duplex digital image capturing and processing | |
CN209372414U (en) | A kind of planetary gear fault diagnosis system | |
CN107222164B (en) | High controlization high-intelligentization solar photovoltaic assembly O&M method | |
CN106802644A (en) | Vehicle-mounted controller testing system | |
CN203298726U (en) | Component dimension detection system | |
CN114301947A (en) | Industrial internet practical training assessment system | |
CN105681457A (en) | Embedded-wireless-network-sensor-based real-time multi-machine efficiency monitoring system | |
CN2601754Y (en) | Fruit-grading device controlled in synchronization controlled by single chip processor | |
CN108287307A (en) | Data processing system for electromechanical testing | |
CN106992753B (en) | High-intelligentization solar photovoltaic assembly O&M method | |
CN104697996A (en) | System for automatically recognizing and picking mature fruit of lychees in natural environment | |
CN204332187U (en) | A kind of electric power meter simulation training platform | |
CN206435498U (en) | Componentselected system | |
CN107065741B (en) | Skill training equipment and method based on soft PLC | |
CN205889176U (en) | Novel oranges and tangerines picking manipulator's control device | |
CN105258945B (en) | Using automatic gear grinding technology quantified controlling servo control mechanism running stability method | |
CN202995341U (en) | A signal collection device for digital values and analog values | |
CN206619014U (en) | A kind of material sorting device controlled based on PLC | |
CN205910332U (en) | Automatic verification system of acquisition terminal | |
CN203230742U (en) | Energy storage flywheel magnetic bearing control system based on DSP (digital signal processor) and FPGA (field programmable gate array) | |
CN202782169U (en) | Serial number detection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130410 Termination date: 20180929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |