Factory automation method of testing and system
(1) technical field
The relevant a kind of test macro of the present invention, particularly relevant a kind of Automatic monitoring systems, according to the dependence test result to carry out corresponding operation.
(2) background technology
Produced on-site Automatic monitoring systems (SFCS; Shop Floor Control System) mainly is record and collection production line state and information, offers the supvr, controlled and grasp factory's situation so that assign effective order.
No matter be that SFCS is playing the part of epochmaking role in tradition, robotization or computerized factory management, different is the difference of performance effect.Generally speaking, its data age of automatic factory is higher, and relatively the benefit that can bring into play of SFCS is also just big more.The fundamental purpose of SFCS, be to make factory order control, maintenance management, control in man-hour, production capacity control can both be within set objective with quality control, further provide on-the-spot integration to link up with related management system, as main production procedure, Capacity Requirement Planning, engineering and product information management system, the field data of collecting can both be assisted and feedback mutually, give full play to effect each other.
Aspect factory management, still exist following point to need to solve at present: how to learn the most instant production operation whole efficiency immediately? whether does production efficiency continue to improve? does manufacturing cost reduce? balance whether between the production and sales? is inventory problem improved? board management and tracking difficulty? how to give the client good production quality image? how to provide the client the most instant production information?
Aspect factory management, adopt SFCS, promptly can be used for solving the problem in the aforementioned factory management, that is SFCS can provide the function that obtains information immediately, use as giving birth to pipe, manufacturing, QC, engineering; And flow process control and warning function and workform management and on-site supervision can be provided, effectively reduce the careless mistake and the time of personnel's data processing by this and quicken to provide the time of customer information to set up rapid, the instant customer service image field management transparence of enterprise, with no paper.Because SFCS can be by the instant collection of field data on line management, instant corrects mistakes, avoid bigger loss, and making increases the automatic transmission capacity of process parameter by system automation, reduces mistake, increase yield, can respond to the client in the very first time simultaneously, can strengthen customer relationship by this, improve client's reliability.
No. the 478087th, the prosperous Taiwan patent announcement in May 11 calendar year 2001 application of Du Zhao, name is called the method for testing that discloses a kind of automatic control automatically in the patent of " control test macro ", utilize a tester table to test chip in the semiconductor wafer in regular turn, to expand a test result gradually, simultaneously check this test result with a process controller, wherein, when this test result meets a test stopping criterion of the semiconductor wafer that is stored in the storer, stop this test, and export corresponding being instructed on the display by this process controller.
By people such as Zhang Tongrui in No. the 473613rd, the Taiwan patent announcement of on November 17th, 1999 application, name is called the patent of " component test set between two computers and method ", it discloses a kind of in carry out the method for testing that component under test is tested between (Slave) end computer and master (Master) end computer, produce a test command and be sent to this master's end computer, set this master's end computer according to this test command and enter test mode, transmit test data to this main end computer from the end computer by this; According to this test data, utilize this testing element to produce a test result, relatively this test result and test data are to judge whether operate as normal of this component under test.
The difference of the present invention and aforementioned prior art is to obtain the testing process desired data by Local Area Network, and provides monitor component and the communication port made by oneself to make that SFCS system and product to be tested can be in order to transmission information or test results.
In addition, even it is automatically-monitored to adopt SFCS that factory testing is carried out, but, still need carry out with manual type being the information that produced of judgement system and taking on the corresponding action according to information.If product will test for a long time, manpower probably can't be born, and easily to cause the people be misjudgment, perhaps certain keyholed back plate is not carried out in error message, allows the product to be tested (unit under test) that produces error message finish testing process and shipment.Secondly, different products to be tested needs the hardware device of different tested media (test material) or test usefulness, as hard disk (Hard disc), floppy disk (Floppy Disc) or CD (CD-ROM).How many products to be tested are arranged, then need the tested media and the hardware device of equal number, can't effectively force down cost like this, and need expend the tested media of many times on product to be tested and the plug of hardware device.In addition, when product to be tested is desired to test, need the shelves of a utilization start earlier starting outfit, then re-use tested media test product to be tested, need waste many times therebetween and seek and substituting tested media and the shelves of starting shooting.
(3) summary of the invention
In view of this, the object of the present invention is to provide a kind of factory automation method of testing, the product to be tested that carries out testing process is monitored, collect dependence test information, and improve testing efficiency and reduce testing cost.
Based on above-mentioned purpose, the invention provides a kind of factory automation method of testing, be characterized in, comprise the following steps: to provide a start assembly in advance, by Local Area Network will be in advance start assembly be connected with a to-be-measured cell, described start assembly in advance and to-be-measured cell all meet and start standard in advance; Described to-be-measured cell is obtained a start reflection by described Local Area Network from described start assembly in advance; Utilize described start reflection to start described to-be-measured cell; Obtain a test procedure by described Local Area Network from described start assembly in advance; Utilize described test procedure to test described to-be-measured cell, thereby produce a test result; And described test result is passed to a described start assembly in advance and a monitor component by a communication port.
The present invention provides a kind of factory automation test macro in addition, is characterized in, comprising: a to-be-measured cell; One start assembly in advance is coupled to described to-be-measured cell, by Local Area Network in advance start assembly be connected with a to-be-measured cell, described start assembly in advance and to-be-measured cell all meet and start standard in advance; Described to-be-measured cell is obtained a start reflection by described Local Area Network from described start assembly in advance, utilize described start reflection to start described to-be-measured cell, obtain a test procedure by described Local Area Network from described start assembly in advance, test described to-be-measured cell according to described test procedure, thereby produce a test result, obtain described test result by a communication port; And a monitor component, being coupled to described start assembly in advance, it obtains described test result by described communication port.
Adopt its advantage of the present invention to be: reduce the factory testing flow process test duration, promote production capacity, simplify test procedure, fall end testing cost and avoid artificial careless mistake.
(4) description of drawings
Fig. 1 shows factory automation test macro synoptic diagram of the present invention.
Fig. 2 is the synoptic diagram that shows product to be tested related data of the present invention.
Fig. 3 shows factory automation test macro Organization Chart of the present invention.
Fig. 4 shows factory automation method of testing process flow diagram of the present invention.
(5) embodiment
For above-mentioned and other purposes of the present invention, characteristics and advantage can be become apparent, below especially exemplified by going out preferred embodiment, and conjunction with figs. is elaborated.
The present invention provides a kind of factory automation method of testing and system, and its framework is at existing disc operating system (DOS) (DOS) test environment, in order to the accelerated test flow process, reduce the tested media cost and the test environment of robotization is provided.
Fig. 1 shows factory automation test macro synoptic diagram of the present invention.Automatization test system of the present invention is improved according to existing on-the-spot Automatic monitoring systems (SFCS).Tradition is when factory testing, each product to be tested (present embodiment middle finger motherboard) will enter before the testing process, need earlier other related hardware equipment to be installed, as hard disk, floppy disk, CD, storer, central processing unit or the like, these hardware devices are all necessary equipment of when test, in addition also must installing operating system, testing software just can finish the action that product to be tested sets up.Yet but will test the product to be tested of another model the time, need reinstall the dependence test program again, between the installation procedure action, promptly need spend many manpowers and time.
The present invention will start (PXE in order to improve this shortcoming in advance by Local Area Network; Pre-booteXecution) servomechanism 120 couples together with each product to be tested 130~160, starting servomechanism 120 in advance all meets with product to be tested 130~160 and starts standard (PXE Standard) in advance, it is the bottom standard of Local Area Network driver, the network chip of all models all has support, does not therefore need extra Local Area Network driver.In the time will testing, system is according to the classification of adapting card position (MAC address) MA, sequence number (serial no) SN, model name (model name) MN automatic interpretation product to be tested 130~160, as shown in Figure 2, start standard in advance and download the corresponding reflection that starts from starting servomechanism 120 in advance by meeting, and utilize and start reflection and start product to be tested 130~160 by Local Area Network.
After finishing startup product to be tested 130~160, then download corresponding testing program, the testing process of being correlated with from starting servomechanism 120 in advance automatically again.Start servomechanism 120 in advance and utilize watchdog routine control testing process, with the test result passback, and according to the corresponding operation of test result execution.Test result is passed to monitoring servomechanism 110, carry out the reference that the follow-up test flow process is thought in statistical study.In order to adapt to different test environment (as Dos or Windows), the present invention at monitoring servomechanism 110, start 130~160 of servomechanism 120 and products to be tested in advance a communication port (communicationchannel) be provided, it is in order to passing to relevant information and test result monitoring servomechanism 110 and to start servomechanism 120 in advance, and this communication port meets and starts communications protocol (PXE protocal) in advance.
According to mentioned above, below utilize diagram summary factory automation test macro Organization Chart of the present invention.Fig. 3 shows factory automation test macro Organization Chart of the present invention.
Framework of the present invention comprises a to-be-measured cell 210, a start assembly 220 and a monitor component 230 in advance.To-be-measured cell 210 is obtained a start reflection 221 by Local Area Network from start assembly 220 in advance.Utilize start reflection 221 to start to-be-measured cells 210, then obtain a test procedure 223 from start assembly 220 in advance by Local Area Network.223 pairs of to-be-measured cells 210 of use test program are tested, thereby produce a test result 225.Start assembly 220 is obtained test result 225 to operate accordingly by a communication port 215 in advance.Monitor component 230 is obtained test result 225 with as reference by this communication port 215 then.
Then pass through the implementation step of a flowchart text the inventive method.Fig. 4 shows factory automation method of testing process flow diagram of the present invention.
In step S1, to-be-measured cell by a Local Area Network from one in advance start assembly obtain a start reflection.The present invention utilizes Local Area Network to obtain the start reflection of each to-be-detected machine, deposits the start reflection of the to-be-detected machine of corresponding each model in the start reflection.
In step S2, utilize the start reflection to start to-be-measured cell.When obtain mutually should to-be-measured cell the start reflection, promptly start to-be-measured cell according to this.
In step S3, obtain a test procedure from start assembly in advance by Local Area Network.Start assembly is deposited various test procedures in advance, equally downloads test procedure to carry out the testing process that desire is carried out by Local Area Network from start assembly in advance.
In step S4, utilize test procedure test to-be-measured cell, thereby produce a test result.After testing process is finished, promptly can produce the test result of relevant to-be-measured cell.
In step S5, described test result is passed to a described start assembly in advance and a monitor component by a communication port.Start assembly carries out stricter monitoring according to test result to next testing process in advance, and monitor component adds historical record to analyze usefulness with it after obtaining test result.
The careless mistake that factory automation method of testing of the present invention can avoid manual operation to cause, the minimizing time that install software spent is to improve the efficient of testing process, the dynamic collection test data to be avoiding artificial modification on the line, and need not provide the substantive test medium to reduce cost.
Though the present invention discloses as above with preferred embodiment; yet it is not in order to limit the present invention; any person skilled in the art person without departing from the spirit and scope of the present invention; various equivalence is changed or equivalence is replaced when making, so protection scope of the present invention is when looking being as the criterion that accompanying Claim defines.