A kind of electric welding machine network management system based on S3C2440Technical field
The utility model relates to a kind of electric welding machine network management system based on S3C2440, belongs to the welding production automation, intelligent field.
Background technology
Along with the widespread use of computer technology, network technology and information and software engineering at welding field, the welding production automation, the intelligent important directions that has become 21 century solder technology development, and the proposition of Internet of Things and development provide opportunities and challenges for welding control and management ethernetization.
Prior art is a field control unit with the single-chip microcomputer generally, utilizes CAN, RS-232, and buses such as RS-485 are with little processing and control element (PCE) networking, and the effective radius of this network is limited, is to be isolated to beyond the Internet basically.More advanced network before data are sent into Ethernet, must be converted to Ethernet recognition data form (being protocol conversion) to data earlier with above bus data by gateway module, sends into Internet again, and vice versa.These technology are owing to be subjected to the restriction (speed and limited storage space) of single-chip microcomputer ability, and communication speed is lower, realize the variation of function thereby limited it, and transmission almost is impossible as image; In addition,,, except being subjected to above-mentioned bus speed restriction, also can cause the failure rate height, shortcoming such as data are unreliable because switching node is too many if access network based on ethernet needs the Additional Agreement change-over circuit.
The utility model content
Technical problem to be solved in the utility model is at the deficiencies in the prior art, and a kind of electric welding machine network management system based on S3C2440 is provided.
A kind of electric welding machine network management system based on S3C2440 comprises main control unit, Ethernet card, CCD camera, sensor module, storer, control circuit and host computer; Described main control unit adopts the S3C2440 processor as control chip, described main control unit is used to import, gather, handle the electrical quantity of electric welding machine, to control circuit output control command, output current, voltage and the wire feed rate of control electric welding machine, and on the LCD display device display parameter instantaneous value, simultaneously instantaneous value is sent into Ethernet or internal network by Ethernet card; The main control unit control command that receives control circuit realizes Arc Welding Power voltage, electric current and wire-feed motor speed control; Storer comprises NAND FLASH storer and SDRAM storer, and NAND FLASH storer is used for stored programme, and the SDRAM storer is used for working procedure; The sensor module is responsible for gathering voltage, electric current, speed, airshed parameter, and above-mentioned parameter is imported described main control unit, and main control unit is controlled electric welding machine automatically according to this parameter; The CCD camera is used to obtain weldment welding effect image, sends into Ethernet or internal network by Ethernet card, shows on described host computer.
Described electric welding machine network management system based on S3C2440 also comprises touch-screen load module, LCD display device, and described touch-screen load module is used for the various welding electrical quantitys of on-the-spot input; The LCD display device is used for the on-the-spot welding parameter that shows.
The utility model adopts the S3C2440 chip of ARM9 architecture as the electric welding machine field control unit, with Ethernet card as communication interface, be equipped with (SuSE) Linux OS as the application software operation platform, the realization field data is directly sent into Ethernet or is obtained control information from Ethernet.The utility model has solved the bottleneck of network transmission speed, quality that can the monitoring remote video welding object.
(1) owing to adopt the S3C2440 chip, the main control unit data processing speed is fast,
(2) in the Network Transmission owing to do not use RS-232 interface, but directly use the network interface card interface, so data rate is fast, promptly data traffic is big in the unit interval.
(3) do not have the intermediate circuit unit of the conversion of RS-232 serial ports and ICP/IP protocol, reduced the trouble spot.
(4) because main control unit adopts the (SuSE) Linux OS notion, the networking transmission is more easy, and remote computer is to the visit of main control unit, just as computing machine of visit, can realize between the two mutual by webpage.
(5) because the advantage of (1) (2) (4) makes remote computer to observe the scene by video, for bringing great convenience by network management and control electric welding machine.
Description of drawings
Fig. 1 is an electric welding machine network management system structural representation;
Fig. 2 software architecture figure;
Fig. 3 is the relation at hardware, driving, application program, networking.
Embodiment
Below in conjunction with specific embodiment, the utility model is elaborated.
Embodiment 1
Electric welding machine network management system based on S3C2440 comprises main control unit, Ethernet card, the CCD camera, the touch-screen load module, the LCD display device, the sensor module, storer, control circuit, host computer, described main control unit adopts the S3C2440 processor as control chip, described main control unit is used for input, gather, handle the electrical quantity of electric welding machine, the output current of control electric welding machine, voltage and wire feed rate, and on the LCD display device display parameter instantaneous value, simultaneously instantaneous value is sent into WWW or internal network by Ethernet card, host computer can be checked the welding machine parameter by network remote, host computer also can send instructions and be sent to main control unit change welding parameter, and host computer also can be by being installed in the CCD camera head monitor site welding effect image of main control unit.
Import various welding electrical quantitys by described touch-screen; The LCD liquid crystal display is used to show welding parameter; Realize Arc Welding Power voltage, electric current and wire-feed motor speed control by control circuit; Storer comprises NAND FLASH storer and SDRAM storer, and NAND FLASH storer is used for stored programme, and the SDRAM storer is used for working procedure to improve data processing speed; Sensor is responsible for gathering voltage, electric current, speed, airshed parameter, and above-mentioned parameter is imported described main control unit, according to this parameter electric welding machine is controlled automatically; The CCD camera is used to obtain weldment welding effect image.
Ethernet card is used to realize the communication of main control unit and external network.By Ethernet card, can realize that various welding parameters that main control unit is collected and image deliver to host computer through Ethernet and show, also PC control information can be sent into main control unit simultaneously.So just reached the purpose of network management and control bonding machine.
Embodiment 2
System introduces (SuSE) Linux OS as the application software operation platform, and the principal feature of (SuSE) Linux OS is that software is increased income, and transplantability is good, has powerful and sane network and realizes function.(SuSE) Linux OS is all assigned all hardware as file, and application program is by the operation of system call interfaces realization to hardware.
System software scheme framework as shown in Figure 2.More complicated general driving programs such as webcam driver, liquid crystal, touch-screen, network interface card, storer all can obtain source code or close source code in linux kernel catalogue/kernel/drivers/ in the framework, can be employed program and call as long as make suitable modification direct compilation kernel.Parameter (as voltage, electric current, wire travelling speed) the output controlling and driving such as driving and various electric welding machine controls of reporting to the police need connect according to hardware, oneself write, and kernel does not provide this type of strongly professional driver, and these drivers are also advanced kernel by direct compilation.
System call interfaces and graphical user interface are used to realize application program and bottom swap data, wherein system call interfaces is provided by operating system nucleus, for graphical user interface, what native system adopted is the MiniGUI user interface back-up system of increasing income, in essence, these two interfaces can be regarded function library as, application program is when realizing correlation function, in fact be exactly to call to carry out these interface functions, as when writing graphic user interface, as long as call API (application programming interface) function or the control that MiniGUI provides.
In software design, the program in inner nuclear layer and the interface layer is all increased income basically, thereby operation on the S3C2440 hardware platform (reporting to the police to drive with other electric welding machine controlling and driving needs developer oneself to write) is transplanted to these codes in groundwork exactly.In the design, code compiling mainly concentrates on the application program.Application program is to realize by the method that the respective drive program provides to the operation of hardware, and the available Fig. 3 of the relation at hardware, driving, application program, networking represents, is software section in the empty frame among Fig. 3.Application program is divided into two big class, i.e. rig-site utilization program and web applications.Only needing the rig-site utilization program to get final product for the equipment that need not to outside transmitted data on network, is touch-screen as controlled device, liquid crystal display, warning etc.; For the equipment that only needs to network transmission data, then as long as web application is a camera as controlled device; For wire-feed motor, controlled devices such as welder power, because preset parameter can obtain from this locality can obtain from the remote computer control desk again, and the data of gathering in real time should show on local LCD liquid crystal display, on remote computer, show again, so, have for these kind equipment two class application programs.Web application is write with the embedded Java Applet of HTML (hypertext markup language) script.The former is mainly used to the webpage layout, and the latter is mainly used in main control unit and external network data is mutual.
Because wire-feed motor, the parameter that presets of controlled devices such as welder power has two input sources, and in order to avoid a conflict, system adopts long-range input priority principle, promptly as long as the remote access main control unit is effective, and touch-screen input auto-idled.
As long as remote computer has been installed IE or other browsers and java plug-in, just can browse the webpage of depositing in the main control unit and can realize the mutual of data.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection domain of the utility model claims.