Embodiment
Fig. 2 is the structural representation of first embodiment of pattern generator of the present invention.As shown in Figure 2, said PG is made up of main functional modules 21, power module 22 and SG module 23 3 parts.Said main functional modules 21 links to each other with power module 22 with said SG module 23.The main functional modules 21 of said PG comprises peripheral I/O unit 211, CPU212, FPGA unit 213, random memory unit 214 and radio frequency units 215.
In main functional modules 21, increase radio frequency units 215, link to each other with random memory unit 214 with CPU212.Said radio frequency units 215 adopts the single-chip solution; Chip operation is on 2.4GHz; Adopt IEEE 802.11b/g standard; Be used for acceptance test graph data and zone bit, and resolution chart data and zone bit be sent in the random memory unit 214 according to the data transfer instruction of CPU212.In the present embodiment, peripheral I/O unit 211 includes controller, mouse, and USB interface, interfaces such as PCWCIA storage card slot are connected with CPU212, are used to utilize PCWCIA storage card or USB flash disk to load the resolution chart data for PG.
Specifically set forth in the face of the principle of work of PG shown in Figure 2 down.When PG normal in service or normal boot-strap or power-off restarting; CPU212 assigns data transfer instruction to radio frequency units 215; Radio frequency units 215 is sent in the random memory unit 214 resolution chart data that receive and zone bit temporary under the control of this instruction.In the present embodiment, random memory unit 214 is a synchronous dynamic RAM (Synchronous DRAM; Hereinafter to be referred as SDRAM), SDRAM is made up of static asynchronous circuit fully, need not input clock signal; Also needn't refresh chip; Can directly cover gibberish, in case be characterized in outage, storage information above that will all disappear and can't recover.The capacity of SDRAM is 128Mb, enough stores 10 groups of above resolution chart data.After the temporary completion of buffering; CPU212 sends download instruction to SDRAM; The resolution chart data that buffering is temporary among the SDRAM download in the FPGA unit 213; Utilize circuit structure to realize the sequential control parameter that comprises in the resolution chart data through FPGA unit 213, after the configuration of completion controlled variable data output is passed to SG module 23 and power module 22.Power module 22 is system's power supply, and SG module 23 is the receivable signal of liquid crystal panel with the data-switching of main functional modules 21 outputs, finally on panel, shows with graphics mode, and the characteristic through test pattern is to judge liquid crystal panel defective and grade.In the present embodiment, FPGA unit 213 uses the Virtex-II series of Xilinx company, and the logic gate of this Series FPGA and I/O interface are extremely abundant, support most popular I/O interface standards.
Present embodiment is through adding radio frequency units 215 in the main functional modules 21 of PG; Make PG needn't use the manual work of PCWICA storage card to carry out the resolution chart Data Update of unit, can utilize the radio frequency units 215 automatic also resolution chart data of down loading updating that detect among the PG.And in the present embodiment, can make resource realization on central processing unit and the partial logic unit by using FPGA sheet, reduce PCB layout complexity through using high performance fpga chip.In the present embodiment, less radio-frequency functional unit 215 also can be bluetooth (Bluetooth), and infrared grade possesses the integrated circuit or the combinational circuit of wireless transmission merit.
Fig. 3 is the structural representation of second embodiment of pattern generator of the present invention.As shown in Figure 3, said PG is made up of main functional modules 31, power module 32 and SG module 33 3 parts.The main functional modules 31 of said PG comprises peripheral I/O unit 311, CPU312, FPGA unit 313, random memory unit 314, radio frequency units 315 and non-volatile memory cells 316.Wherein, The function of power module 32, SG module 33, peripheral I/O unit 311, FPGA unit 313, random memory unit 314 and radio frequency units 315 is identical with radio frequency units 215 with power module 22, SG module 23, peripheral I/O unit 211, FPGA unit 213, random memory unit 214 among first embodiment, repeats no more at this.
In the present embodiment, non-volatile memory cells 316 is a nonvolatile memory, like flash memory Flash; Be connected with CPU312, random memory unit 314 and FPGA unit 313, through voltage data are carried out erasable, be characterized in cutting off the power supply the back data can not disappear; Read or write speed is fast; Good stability is used for when knowing CPU312 when random memory unit 314 transmission download resolution chart data arrive the download instruction of FPGA unit 313, resolution chart data and zone bit in the backup random memory unit 314; When receiving the download instruction of CPU312 transmission, the resolution chart data of preserving are downloaded in the FPGA unit 313.
In the present embodiment, CPU312 comprises the detecting unit 312a and the first instruction sending unit 312b.Detecting unit 312a is used to detect radio frequency units 315 and whether receives the updating mark position; The first instruction sending unit 312b; Be used to receive the testing result that detecting unit 312a sends; If radio frequency units 315 receives the updating mark position, then send first data transfer instruction, control radio frequency units 315 is sent the resolution chart data to random memory unit 314; Also be used for when PG power-off restarting and detecting unit 312a detect radio frequency units 315 and do not receive the updating mark position, send to non-volatile memory cells 316 and download the resolution chart data of preserving download instruction to FPGA unit 313.
Specifically set forth in the face of the principle of work of PG shown in Figure 3 down.PG is normally in service, whether receives the resolution chart data and the zone bit of renewal in the detecting unit 312a detecting real-time radio frequency units 315.The first instruction sending unit 312b receives the testing result of detecting unit 312a; If the updating mark position is arranged; Then send first data transfer instruction to radio frequency units 315; Be sent among the SDRAM resolution chart data that receive and zone bit temporary; SDRAM downloads to the resolution chart data among the SDRAM in the FPGA unit 313 in the control of the download instruction of the first instruction sending unit 312b down on the one hand, the resolution chart data of keeping among the SDRAM and zone bit is sent among the Flash preserve on the other hand; Do not Update Information if having, PG normally moves.After PG normal boot-strap or outage are restarted; If detecting unit 312a does not detect radio frequency units 315 and receives the updating mark position; Then the first instruction sending unit 312b sends download instruction to Flash, and the resolution chart data of preserving among the Flash are downloaded in the FPGA unit 313.
Present embodiment increases non-volatile memory cells 316, makes the data that are stored in the non-volatile memory cells 316 can not lose because of outage.Non-volatile memory cells 316 is used for preserving the data that random memory unit 314 is kept in; Make when PG power-off restarting and radio frequency units 315 take place does not receive renewal; Needn't utilize the PCWCIA storage card; Only need to accomplish reconfiguring to FPGA unit 313 through being used to dispose the resolution chart data of FPGA unit 313 before the outage of downloading preservation in the non-volatile memory cells 316.After present embodiment has overcome the PG power-off restarting; Do not detecting under the situation about Updating Information; Need to insert the shortcoming that the PCWCIA storage card reconfigures PG; Make PG can realize loading fully automatically of resolution chart data, the defective of having avoided manual loading to bring has improved the dirigibility and the stability of PG operation.
Fig. 4 is the structural representation of the 3rd embodiment of pattern generator of the present invention.As shown in Figure 4, said PG is made up of main functional modules 41, power module 42 and SG module 43 3 parts.The main functional modules 41 of said PG comprises peripheral I/O unit 411, CPU412, FPGA unit 413, random memory unit 414, radio frequency units 415, non-volatile memory cells 416 and judgement unit 417.Wherein, The function of power module 42, SG module 43, peripheral I/O unit 411, FPGA unit 413, random memory unit 414 and radio frequency units 415 is identical with radio frequency units 315 with power module 32, SG module 33, peripheral I/O unit 311, FPGA unit 313, random memory unit 314 among second embodiment, repeats no more at this.
In the present embodiment, increase judgement unit 417, constitute by a numerical value comparator circuit.Fig. 5 is judgement unit workflow synoptic diagram among the 3rd embodiment of pattern generator of the present invention.As shown in Figure 5; Judgement unit 417 is used for when detecting unit 412a detects radio frequency units 415 and receives the updating mark position; Receive the updating mark position of radio frequency units 415 transmissions and the zone bit of the current saved that non-volatile memory cells 416 sends; Whether the zone bit of judging updating mark position and current saved is identical, and sends the differentiation result to CPU412.
In the present embodiment, CPU412 also comprises the second instruction sending unit 412c, receiving element 412d and the 3rd instruction sending unit 412e.The second instruction sending unit 412c; Be used for when detecting unit 412a has detected the updating mark position; Send the zone bit transfer instruction respectively to radio frequency units 415 and non-volatile memory cells 416, control radio frequency units 415 sends updating mark position to judgement unit 417 and non-volatile memory cells 416 sends zone bit to the judgement unit 417 of current saved; Also be used for detecting when not having the updating mark position, send to non-volatile memory cells 416 and download the resolution chart data of preserving download instruction to FPGA unit 413 as PG power-off restarting and detecting unit 412a.Receiving element 412d is used to receive the differentiation result that judgement unit 417 sends.The 3rd instruction sending unit 412e; Be used for if the differentiation result that receiving element 412d receives is different for the zone bit of updating mark position and current saved; Then send second data transfer instruction to radio frequency units 415, control radio frequency units 415 is sent resolution chart data and zone bit to random memory unit 414; If the differentiation result that receiving element 412d receives is identical for the zone bit of updating mark position and current saved; Then send the refusal data transfer instruction, stop radio frequency units 415 to send resolution chart data and zone bit to random memory unit 414 to radio frequency units 415.
Below in conjunction with Fig. 5 the principle of work of PG shown in Figure 4 is specifically set forth.PG is normally in service, whether receives the resolution chart data and the zone bit of renewal in the detecting unit 412a detecting real-time radio frequency units 415.The second instruction sending unit 412c receives the testing result of detecting unit 412a; Update Information if detected; Then on the one hand send the zone bit transfer instructions, the zone bit of the renewal that receives in the radio frequency units 415 is sent in the judgement unit 417 to radio frequency units 415; Send the zone bit transfer instruction to Flash on the other hand, the zone bit of preserving among the Flash is sent in the judgement unit 417.417 pairs of above-mentioned two zone bits of judgement unit compare, and judge whether the zone bit that upgrades is identical with the zone bit of current saved, and comparative result is sent among the receiving element 412d of CPU412.The 3rd instruction sending unit 412e sends instruction according to the differentiation result of receiving element 412d to radio frequency units 415; If it is different with the zone bit of current saved for the zone bit that upgrades to differentiate the result; Then send second data transfer instruction, the resolution chart data and the zone bit of the renewal that radio frequency units 415 is received are sent to SDRAM; If it is identical with the zone bit of current saved for the zone bit that upgrades to differentiate the result, then send the refusal data transfer instruction, stop radio frequency units 415 to send the resolution chart data that receive to SDRAM, PG continues normal operation.Behind PG normal boot-strap or power-off restarting; If detecting unit 412a detects and does not have the updating mark position; Then the second instruction sending unit 412c sends download instruction to Flash, and the resolution chart data of preserving among the Flash are downloaded to configuration circuit parameter in the FPGA unit 413.
Present embodiment increases judgement unit 417, has avoided the repeated downloads to the resolution chart data with identical zone bit, has improved the work efficiency when the PG Automatic Program is upgraded, and has reduced the Internet resources expense.
On the basis of the 3rd embodiment, judgement unit 417 is integrated in the CPU412, can improve the decision process speed of CPU412, simplify the PG inner structure, reduce production costs.Each Elementary Function is identical with the 3rd embodiment of PG among the PG, repeats no more at this.
Fig. 6 is the structural representation of the embodiment of graph data update system of the present invention.As shown in Figure 6, the graph data update system comprises a plurality of pattern generators with less radio-frequency function, graph data transmitting apparatus and wireless router.The 26S Proteasome Structure and Function of pattern generator can repeat no more at this with reference to above-mentioned Fig. 2 to embodiment shown in Figure 4.The graph data transmitting apparatus can be the PC main frame or the hand-hold wireless launch terminal of a band less radio-frequency function, and the PG that is used in the network sends the resolution chart data of upgrading.Wireless router to every PG dynamic assignment IP address, through the control of less radio-frequency transmitting apparatus, can selectively send the resolution chart data of upgrading to the PG of particular ip address through built-in DHCP function.Pattern generator is used for receiving the resolution chart data of the renewal of network, and pattern generator is upgraded.
Present embodiment utilizes wireless router to accomplish many networkings between the PG with less radio-frequency function; Accomplish the PG Configuration Online in batches through the graph data transmitting apparatus; Make a plurality of PG can be in a LAN by overall situation control, realize the Automatic Program down loading updating, greatly reduce manual work upgrade one by one PG consumed time and manpower; Simplify a plurality of PG updating steps, improved the dirigibility that a plurality of PG upgrade.
Fig. 7 is the method flow synoptic diagram of first embodiment of graph data update method of the present invention.As shown in Figure 7, specifically comprise following processing operation:
Step 101, PG normal boot-strap or because of power-off restarting;
Step 102, CPU detect in the radio frequency units whether have the resolution chart data of renewal and the zone bit of renewal, if there is the updating mark position, then execution in step 103, if there is not the updating mark position, then execution in step 104;
Step 103, under the control of CPU first data transfer instruction, it is temporary that the resolution chart data of the renewal that radio frequency units will receive and zone bit are sent in the random memory unit buffering, execution in step 105;
Random memory unit is a SDRAM, can directly cover gibberish, in case be characterized in outage, storage information above that will all disappear and can't recover.SDRAM is used for the resolution chart data and the zone bit of the renewal that temporary radio frequency units will receive.
Step 104, CPU send download instruction to non-volatile memory cells, the resolution chart data of preserving in the non-volatile memory cells are downloaded in the FPGA unit execution in step 106;
Non-volatile memory cells carries out erasable to data through voltage, the back data that are characterized in cutting off the power supply can not disappear, and read or write speed is fast, and good stability is used for backing up the resolution chart data and the zone bit of random memory unit.
Step 105, under the control of CPU download instruction; Random memory unit downloads to the resolution chart data of its storage in the FPGA unit; Utilize circuit to realize the parameter in the resolution chart data, and resolution chart data and zone bit temporary in the random memory unit backuped to non-volatile memory cells;
Step 106, PG normally move, and produce the signal that is fit to liquid crystal panel, finally on liquid crystal panel, present new resolution chart.
Fig. 8 is the normal runtime data update method of a PG schematic flow sheet among first embodiment of graph data update method.As shown in Figure 8, specifically comprise following processing operation:
Step 111, PG normally move;
Step 112, CPU detect the resolution chart data that whether there are renewal in the radio frequency units and the zone bit of renewal in real time, if there is the updating mark position, then execution in step 113, if there is not the updating mark position, then execution in step 111;
Step 113, under the control of CPU first data transfer instruction, it is temporary that the resolution chart data of the renewal that radio frequency units will receive and zone bit are sent in the random memory unit buffering;
Step 114, under the control of CPU download instruction; Random memory unit downloads to the resolution chart data of its storage in the FPGA unit; Utilize circuit to realize the parameter in the resolution chart data; And resolution chart data and zone bit temporary in the random memory unit backuped to non-volatile memory cells, execution in step 111.
Present embodiment utilizes the less radio-frequency function through making PG, the resolution chart data that automatic reception is upgraded, and the resolution chart data that are used for the configuration circuit parameter are backed up, make PG to load renewal fully automatically, simplified the step of PG artificial regeneration.
Fig. 9 is the method flow synoptic diagram of second embodiment of graph data update method of the present invention.On the basis of the said embodiment of Fig. 7; After CPU detects radio frequency units existence renewal; CPU sends before first data transfer instruction; Can also increase a discriminating step, be used for judging the current resolution chart data that are used for the configuration circuit parameter of resolution chart data and the PG of renewal which for up-to-date.As shown in Figure 9, specifically comprise following processing operation:
Step 201, PG normal boot-strap or because of power-off restarting;
Step 202, CPU detect in the radio frequency units whether have the resolution chart data of renewal and the zone bit of renewal, if there is the updating mark position, then execution in step 203, if there is not the updating mark position, then execution in step 204;
Step 203, CPU assign the zone bit transfer instruction to radio frequency units on the one hand; The zone bit of the renewal that receives is sent to judgement unit; Assign the zone bit transfer instruction to non-volatile memory cells on the other hand, the zone bit of preserving is sent to judgement unit, execution in step 205;
Step 204, CPU send download instruction to non-volatile memory cells, the resolution chart data of preserving in the non-volatile memory cells are downloaded in the FPGA unit execution in step 209;
Step 205, CPU receive the differentiation result that judgement unit sends; Send the instruction control data transmission according to differentiating the result; If the differentiation result is that the zone bit of updating mark position and current saved is different; Then execution in step 206, are that the zone bit of updating mark position and current saved is identical if differentiate the result, and then execution in step 207;
Step 206, CPU send second data transfer instruction to radio frequency units, and the control radio frequency units is sent resolution chart data and updating mark position, execution in step 208 to random memory unit;
Step 207, CPU send the refusal data transfer instruction to radio frequency units, and the renewal that stops radio frequency units to receive is sent to random memory unit, execution in step 204;
Step 208, under the control of CPU download instruction; Random memory unit downloads to the resolution chart data of its storage in the FPGA unit; Utilize circuit to realize the parameter in the resolution chart data, and resolution chart data and zone bit temporary in the random memory unit backuped to non-volatile memory cells;
Step 209, PG normally move, and produce the signal that is fit to liquid crystal panel, finally on liquid crystal panel, present new resolution chart.
Figure 10 is the normal runtime data update method of a PG schematic flow sheet among second embodiment of graph data update method.Shown in figure 10, specifically comprise following processing operation:
Step 211, PG normally move;
Step 212, CPU detect the resolution chart data that whether there are renewal in the radio frequency units and the zone bit of renewal in real time, if there is the updating mark position, then execution in step 213, if there is not the updating mark position, then execution in step 211;
Step 213, CPU assign the zone bit transfer instruction to radio frequency units on the one hand; The zone bit of the renewal that receives is sent to judgement unit; Assign the zone bit transfer instruction to non-volatile memory cells on the other hand, the zone bit of preserving is sent to judgement unit;
Step 214, CPU receive the differentiation result that judgement unit sends; Send the instruction control data transmission according to differentiating the result; If the differentiation result is that the zone bit of updating mark position and current saved is different; Then execution in step 216, are that the zone bit of updating mark position and current saved is identical if differentiate the result, and then execution in step 215;
Step 215, CPU send the refusal data transfer instruction to radio frequency units, and the renewal that stops radio frequency units to receive is sent to random memory unit, execution in step 211;
Step 216, CPU send second data transfer instruction to radio frequency units, and the control radio frequency units is sent resolution chart data and updating mark position to random memory unit;
Step 217, under the control of CPU download instruction; Random memory unit downloads to the resolution chart data of its storage in the FPGA unit; Utilize circuit to realize the parameter in the resolution chart data; And resolution chart data and zone bit temporary in the random memory unit backuped to non-volatile memory cells, execution in step 211.
Present embodiment is through adding the less radio-frequency function in PG; Between PG, increase communication channel; Through to the renewal version information that receives and the comparison of current version information, the resolution chart data that are used to dispose PG are carried out automatic down loading updating, avoided the artificial shortcoming that is written into renewal; Improve PG and upgraded dirigibility, validity.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.