an embodiment of the present invention will be described in detail below with reference to drawings . fig1 is a block diagram of a circuit pattern inspection apparatus using a charged particle beam and represents a main constitution by a substantially longitudinal sectional view and a functional diagram . a circuit pattern inspection apparatus 1 includes an inspection chamber 2 from which the air is evacuated and a spare chamber ( not shown ) for transporting an inspected substrate 9 into the inspection chamber 2 , and the spare chamber is constructed such that the air can be evacuated therefrom independently of the inspection chamber 2 . in addition to the inspection chamber 2 and the spare chamber , the circuit pattern inspection apparatus 1 includes an image processing part 5 . the inspection chamber 2 mainly comprises an electron - optical column 3 , a sample chamber 8 , and an optical microscope chamber 4 . the electron - optical column 3 includes an electron gun 10 , electron beam induction electrodes 11 , a condensing lens 12 , a blanking deflector 13 , a diaphragm 14 , a scanning deflector 15 , an objective lens 16 , a reflector 17 , an e × b deflector 18 , and a secondary electron detector 20 , and irradiates the inspected substrate 9 with a primary electron beam 19 and detects secondary electrons generated from the inspected substrate 9 . the optical microscope chamber 4 is arranged near the electron - optical column 3 inside the inspection chamber 2 and apart from the inspection chamber 2 so as not to be mutually affected . the optical microscope chamber 4 includes a light source 40 , an optical lens 41 , and a ccd camera 42 . the distance between the electron - optical column 3 and the optical microscope chamber 4 is known , and an x stage 31 or a y stage 32 moves reciprocatingly across the known distance between the electron - optical column 3 and the optical microscope chamber 4 . a secondary electron detection part 7 includes a preamplifier 21 for amplifying an output signal from the secondary electron detector 20 , an ad converter 22 for converting an amplified signal from an analog signal into a digital signal , a preamplifier driving power supply 27 and an ad converter driving power supply 28 for driving them respectively , a reverse bias power supply 29 , and a high - voltage power supply 26 for supplying electricity to these power supplies . an amplified digital signal is converted into an optical signal by a light conversion means 23 and the optical signal passes through an optical transmission means 24 and is converted into an electric signal by an electrical conversion means 25 before being sent to a storage unit 45 of the image processing part 5 . though not shown , an optical image acquired by the ccd camera 42 is also sent to the image processing part 5 in the same manner . the image processing part 5 includes the storage unit 45 , an image processing circuit 46 , a defect data buffer 47 , an operation part 48 , and an overall control part 49 . a signal stored in the storage unit 45 is converted into images by the image processing circuit 46 , which also performs various kinds of image processing such as alignment of images that are specific positions apart , normalization of signal levels , and removal of signal noise and performs a comparison operation of image signals . the operation part 48 compares an absolute value of a differential image signal obtained after the comparison operation with a predetermined threshold and judges the image signals to be defect candidates if the differential image signal level is larger than the predetermined threshold before sending positions thereof , the number of defects and the like to the interface 6 . the overall control part 49 controls the image processing and operations before sending such states to a correction control circuit 61 . an electron beam image or optical image is displayed in an image display part 56 of the interface 6 . operation instructions and operation conditions of each part of the circuit pattern inspection apparatus 1 are input from the interface 6 before being sent to the correction control circuit 61 from the overall control part 49 of the image processing part 5 . conditions of an accelerating voltage , deflection width , and deflection speed when the primary electron beam 19 is generated , timing of capturing a signal by the secondary electron detection part 7 , movement speed of the x stage 31 and the y stage 32 and the like can be set in the interface 6 optionally or selectively in accordance with purposes . the interface 6 has , for example , a function of display and a distribution of a plurality of detected defects is displayed on a map schematically representing a wafer , with symbols in a map display part 55 . an image acquisition instruction area 57 is a part for issuing instructions to acquire electron beam images or optical images for each detected defect or area . an image processing instruction area 58 is a part for instructing brightness adjustments or contrast adjustments of an acquired image . a processing condition setting instruction part 59 is a part for setting various conditions such as the deflection width , deflection speed , and focal length and focal depth of an objective lens when the inspected substrate 9 is irradiated with the primary electron beam 19 . the correction control circuit 61 exercises control so that the accelerating voltage , deflection width , and deflection speed when the primary electron beam 19 is generated , timing of capturing a signal by the secondary electron detection part 7 , movement speed of the x stage 31 and the y stage 32 , and the like follow instructions sent from the overall control part 49 of the image processing part 5 . the correction control circuit 61 also monitors the position and height of the inspected substrate 9 from signals of a position monitor length measuring machine 34 and an inspected substrate height measuring device 35 , generates a correction signal based on a result thereof , sends the correction signal to a scanning signal generator 43 and an objective lens power supply 44 , and changes the deflection width , deflection speed , and focal length and focal depth of an objective lens so that the primary electron beam 19 is irradiated with on a correct position . a diffusion / re - supply type thermal field - emission electron source is used as the electron gun 10 . a stable electron beam current can be secured by using the electron gun 10 , as compared , for example , with a conventional tungsten ( w ) filament electron source and a cold field - emission electron source and therefore , electron beam images with less fluctuations in brightness can be obtained . moreover , the electron beam current can be set to be large with the electron gun 10 and therefore , a high - speed inspection described later can be carried out . the primary electron beam 19 is withdrawn from the electron gun 10 by applying a voltage to between the electron gun 10 and the electron beam induction electrodes 11 . acceleration of the primary electron beam 19 is determined by applying a high - voltage negative potential to the electron gun 10 . accordingly , the primary electron beam 19 travels toward a sample stand 30 with energy corresponding to the potential thereof and is converged by the condensing lens 12 and further thinly narrowed down by the objective lens 16 before being irradiated with on the subjected substrate 9 on the sample stand 30 . the blanking deflector 13 and the scanning deflector 15 are controlled by the scanning signal generator 43 that generates a blanking signal and a scanning signal . the blanking deflector 13 can deflect the primary electron beam 19 so that the primary electron beam 19 does not pass through an opening of the diaphragm 14 to prevent irradiation of the inspected substrate 9 with the primary electron beam 19 . since the primary electron beam 19 is thinly narrowed down by the objective lens 16 , the primary electron beam 19 is caused to scan on the inspected substrate 9 by the scanning deflector 15 . a fast inspection speed is required for an automatic inspection apparatus . therefore , unlike a normal sem , a low - speed scan of an electron beam of an electron beam current on the order of pa , a repetitive scan , and superposition of respective images are not performed . also in order to inhibit insulating material from being charged , an electron beam scan needs to be fast and limited to once or several times . thus , in the present embodiment , an image is formed by performing a scan of a large - current electron beam of , for example , 100 na , which is about 100 times or more that of a normal sem , only once . the scan width is set , for example , to 100 μm , one pixel to 0 . 1 square - μm , and one scan is performed in 1 μs . the objective lens power supply 44 is connected to the objective lens 16 . a lens power supply ( not shown ) is also connected to the condensing lens 12 . intensity of these lenses is adjusted by the correction control circuit 61 by changing the voltage of the lens power supply . a negative voltage can be applied to the inspected substrate 9 by a retarding power supply 36 . by adjusting the voltage of the retarding power supply 36 , the primary electron beam 19 is decelerated so that electron beam irradiation energy to the inspected substrate 9 can be adjusted without changing the potential of the electron gun 10 . the inspected substrate 9 is placed on the x stage 31 or the y stage 32 . a method by which the x stage 31 and the y stage 32 are put to rest when an inspection is carried out and the primary electron beam 19 is scanned with two - dimensionally and another method by which the x stage 31 is put to rest and the primary electron beam 19 is scanned with in the x direction while the y stage 32 being moved continuously at a constant speed are known . when a specific and relatively small area is inspected , the former method by which the stages are put to rest for inspection is effective and when a relatively large area is inspected , the latter method by which the stage is continuously moved at a constant speed is effective . when an image of the inspected substrate 9 is acquired while one of the x stage 31 and the y stage 32 being moved continuously , the primary electron beam 19 is scanned with in a direction substantially perpendicular to the direction of movement of the stage and secondary electrons generated from the inspected substrate 9 are detected by the secondary electron detector 20 in synchronization with scanning of the primary electron beam 19 and movement of the stage . secondary electrons generated by the inspected substrate 9 being irradiated with the primary electron beam 19 are accelerated by a negative voltage applied to the inspected substrate 9 . the e × b deflector 18 is arranged above the inspected substrate 9 , thereby deflecting accelerated secondary electrons in a predetermined direction . the amount of deflection can be adjusted by changing the intensity of magnetic field with a voltage applied to the e × b deflector 18 . an electromagnetic field of the e × b deflector 18 can be made variable in coordination with a negative voltage applied to the inspected substrate 9 . secondary electrons deflected by the e × b deflector 18 collide against the reflector 17 under predetermined conditions . the reflector 17 serves also as a shield pipe of the scanning deflector 15 of the primary electron beam 19 irradiated with on the inspected substrate 9 and has a conical shape . when accelerated secondary electrons collide against the reflector 17 , second secondary electrons having energy of several v to 50 ev are generated from the reflector 17 . in the present embodiment , the position monitor length measuring machine 34 is constructed such that it uses a length measuring machine based on the principle of laser interference in the x and y directions and measures positions of the x stage 31 and the y stage 32 while the primary electron beam 19 being irradiated with , to send the positions to the correction control circuit 61 . moreover , the number of rotations of each driving motor of the x stage 31 , the y stage 32 , and a rotation stage 33 is sent to the correction control circuit 61 from the respective driver circuit . the correction control circuit 61 can correctly grasp the area or position on which the primary electron beam 19 is irradiated with based on the above data and corrects position displacements of the irradiation position of the primary electron beam 19 . the correction control circuit 61 can also store the area on which the primary electron beam 19 has been irradiated with . an optical measuring device using a measurement method other than an electron beam , for example , a laser interference measuring device or a reflected light type measuring device for measuring changes based on the position of reflected light is used as the inspected substrate height measuring device 35 . for example , a method by which the inspected substrate 9 is irradiated with an elongated white light after passing through a slit through a window and , the position of the reflected light is detected by a position detection monitor , and the amount of changes in height is calculated from position fluctuations is known . the inspected substrate height measuring device 35 is mounted on the x stage 31 and the y stage 32 to measure the height of the inspected substrate 9 . the focal length of the objective lens 16 for thinly narrowing down the primary electron beam 19 is dynamically corrected based on data measured with the inspected substrate height measuring device 35 so that the primary electron beam 19 always focused on an inspected area can be irradiated with . moreover , by measuring warping and height distortion of the inspected substrate 9 before irradiation of the primary electron beam 19 , correction conditions of the objective lens 16 for each inspection area can be set based on the resultant data . fig2 is a screen diagram exemplifying a screen displayed in an interface display . a map display part 55 and an image display part 56 are arranged in a large area of the display screen . a mode switching button 60 is arranged at the bottom and each mode of “ inspect ”, “ check defect ”, “ create recipe ”, and “ utilities ” can be selected . the “ create recipe ” mode is a mode for setting conditions for automatic inspection . the “ utilities ” mode is a mode for invoking an auxiliary function that does not appear in other modes and is not usually used . fig3 is a conceptual diagram illustrating control of scanning the inspected substrate 9 with the primary electron beam 19 . fig3 a is a plan view of the inspected substrate 9 , fig3 b is an enlarged view of an a portion of fig3 a , fig3 c is an enlarged view of a b portion of fig3 b , and fig3 d is a relational diagram showing a relationship between a scanning time of the primary electron beam 19 and the position in the x direction . as shown in fig3 a , the primary electron beam 19 is caused to scan in a direction perpendicular to the direction of movement of the stage while the stage being moved . since the stage is moving , the primary electron beam 19 travels in the direction of an inspection stripe 101 denoted by arrows in the figure while scanning on the inspected substrate 9 . each rectangle represents a chip 102 . a final product of it is cut off along boundary lines between rectangles and then is bonded to electric terminals . fig3 b is an enlargement of one chip 102 enclosed by the a portion in fig3 a , and a plurality of cells 103 are arranged therein . if the width of scanning of the primary electron beam 19 is 100 μm and that of the cell 103 is 100 μm or less , one column of the cells 103 will be scanned in one stage movement . fig3 c is an enlargement of the b portion in fig3 b and shows a situation in which a plurality of circuits called plugs 104 is arranged in one cell 103 . the cell 103 is scanned with the primary electron beam 19 in turn like in the order of sampling ( 1 ), sampling ( 2 ), sampling ( 3 ), and generated secondary electrons are detected at the same time before being converted into images . fig3 d is a relational diagram showing a relationship between the scanning time of the primary electron beam 19 and the position in the x direction , and the scanning time for sampling ( 1 ) is defined as a t 1 time ( for example , 1 μs ) and this is repeated as a time interval between irradiations ( hereinafter , referred to as an irradiation interval ). by controlling the irradiation interval and the irradiation position in the movement axis direction in real time in accordance with an electrification state of the inspection target , precision of transport means , or inspection purposes , quality of inspection images to be detected and throughput of the inspection can be improved . this is called an adjustment function and an example thereof will be shown below . a method of carrying out an inspection by continuously moving at a constant speed a stage that moves an inspection target is taken as an example . it is assumed that the stage moves in the y direction and the primary electron beam 19 is scanned with in the x direction ( substantially perpendicular to the direction of movement ). in the inspection method , the primary electron beam 19 can be controlled by adjusting the amount of y deflection and the irradiation interval , and the following four control methods can be considered : ( 1 ) a method in which both the amount of y deflection and the irradiation interval are fixed , ( 2 ) a method in which the amount of y deflection is fixed and the irradiation interval is adjusted , ( 3 ) a method in which the amount of y deflection is adjusted and the irradiation interval is fixed , and ( 4 ) a method in which both the amount of y deflection and the irradiation interval are adjusted . the control method ( 1 ) will be described using fig4 . a in fig4 is a conceptual diagram illustrating the irradiation position of an electron beam when viewed from a deflecting view field 201 , and a in fig4 shows a state in which the primary electron beam 19 is irradiated with such that it always passes through a center 202 of the deflecting view field 201 . b in fig4 is a relational diagram showing a relationship among the scanning time and wait time of the primary electron beam 19 and the position in the x direction in this method , and it is assumed that the scanning time t 1 is an irradiation interval between scan ( 1 ) and scan ( 2 ) and the scanning time t 2 is an irradiation interval between scan ( 2 ) and scan ( 3 ). when the scanning time t 3 is controlled unchangeably , wait times t 4 and t 5 for their respective irradiations are made uniform by making a scan so that t 1 and t 2 become equal . by making the irradiation interval constant just like the control method ( 1 ), it becomes possible to make the electrification state uniform and suppress an occurrence of contrast unevenness . moreover , by making the amount of y deflection constant , correction processing for focus distortion and the like due to deflection in the y direction , processing of determining whether or not within the deflecting view field , and the like are made unnecessary , contributing to enhancement of reliability and processing speed and improvement of throughput due to simplification of processing . the control method ( 2 ) will be described using fig5 . like a in fig4 , a in fig5 is a conceptual diagram illustrating the irradiation position of an electron beam when viewed from the deflecting view field 201 , and a in fig5 shows a state in which the primary electron beam 19 is irradiated with such that it always passes through the center 202 of the deflecting view field 201 . like b in fig4 , b in fig5 is a relational diagram showing a relationship among the scanning time and wait time of the primary electron beam 19 and the position in the x direction in the method , and it is assumed that the scanning time t 1 is an irradiation interval between scan ( 1 ) and scan ( 2 ) and the scanning time t 2 is an irradiation interval between scan ( 2 ) and scan ( 3 ). when the scanning time t 3 is controlled unchangeably , the irradiation intervals t 1 and t 2 are changed when necessary . by making the irradiation interval variable just like the control method ( 2 ), it becomes possible to absorb unevenness of the stage speed and improve precision of the irradiation position of an electron beam . moreover , like the control method ( 1 ), it is possible to contribute to enhancement of reliability and processing speed and improvement of throughput , by making the amount of y deflection constant . the control method ( 3 ) will be described using fig6 . like a in fig5 , a in fig6 is a conceptual diagram illustrating the irradiation position of an electron beam when viewed from the deflecting view field 201 , and a in fig6 shows a state in which the primary electron beam 19 is irradiated with , being deflected also in the y direction according to circumstances so that the primary electron beam 19 is irradiated with on the irradiation target position on the cell 103 , which is the inspection target . like b in fig4 , b in fig6 is a relational diagram showing a relationship among the scanning time and wait time of the primary electron beam 19 and the position in the x direction in this method , and it is assumed that the scanning time t 1 is an irradiation interval between scan ( 1 ) and scan ( 2 ) and the scanning time t 2 is an irradiation interval between scan ( 2 ) and scan ( 3 ). b in fig6 shows a state in which a scan is performed so that t 1 and t 2 become equal . like the control method ( 1 ), by making the irradiation interval constant just like the control method ( 3 ), it becomes possible to make the electrification state uniform and suppress an occurrence of contrast unevenness . moreover , by adjusting the amount of y deflection according to circumstances , it becomes possible to absorb unevenness of the stage speed and improve precision of the irradiation position of an electron beam . the control method ( 4 ) will be described using fig7 . like a in fig6 , a in fig7 is a conceptual diagram illustrating the irradiation position of an electron beam when viewed from the deflecting view field 201 , and a in fig7 shows a state in which the primary electron beam 19 is irradiated with , being deflected also in the y direction according to circumstances so that the primary electron beam 19 is irradiated with on the irradiation target position on the cell 103 , which is the inspection target . like b in fig5 , b in fig7 is a relational diagram showing a relationship among the scanning time and wait time of the primary electron beam 19 and the position in the x direction in the method , and it is assumed that the scanning time t 1 is an irradiation interval between scan ( 1 ) and scan ( 2 ) and the scanning time t 2 is an irradiation interval between scan ( 2 ) and scan ( 3 ). when the scanning time t 3 is controlled unchangeably , the irradiation intervals t 1 and t 2 are changed when necessary . by adjusting both the irradiation interval and the amount of y deflection just like the control method ( 4 ), it becomes possible to absorb unevenness of the stage speed and improve precision of the irradiation position of an electron beam . also , by adjusting both , their respective amount of adjustments can be suppressed , and also effects of both preventing deviation of the irradiation position of an electron beam from the deflecting view field and suppressing an occurrence of contrast unevenness by uniformity of the electrification state can be expected . fig8 shows a processing flow of an adjustment function of the amount of y deflection and irradiation interval . conditions for the adjustment function are set by an operator ( step 301 ), first - time irradiation conditions such as the amount of y deflection and irradiation interval are calculated based on the conditions and other apparatus operation conditions such as the stage speed ( step 302 ), and when the irradiation target position of the initial scan reaches the vicinity of the position indicated by the amount of y deflection ( step 303 ), an inspection by the initial scan is started ( step 304 ). when irradiation conditions such as the passage of irradiation interval and arrival at the irradiation target position are met and a scan is performed ( step 305 ), the irradiation interval and amount of y deflection fluctuate depending on both various factors such as stage speed fluctuations and adjustments of the irradiation interval and amount of y deflection . irradiation conditions such as the next amount of y deflection and irradiation interval are calculated with input values such as the new irradiation interval and amount of y deflection and the irradiation target position with respect to the deflecting view field ( step 306 ). the scanning step 305 and calculation of irradiation conditions are repeated until a scan of any number of lines is completed to end the inspection ( step 307 ). in addition to monitoring of the amount of y deflection and irradiation interval , parameters for adjusting the amount of y deflection and irradiation interval need to be optimized for each scan condition and thus , an adjustment interface is needed . the stage speed , amount of y deflection , and irradiation interval are displayed in a processing condition setting instruction part 59 on the interface 6 or another screen for monitoring the amount of y deflection and irradiation interval . fig9 is an example of a monitoring screen 203 for monitoring the amount of y deflection and irradiation interval in which the stage speed is displayed in a stage speed change display part 204 , the amount of y deflection in a y deflection amount change display part 205 , and the time interval between irradiations in an irradiation interval change display part 206 as graphs of transitions of their respective states . furthermore , their respective numerical values can be displayed in a speed numeric information display part 207 , a distance numeric information display part 208 and an interval numeric information display part 209 . fig1 is an example of a condition instruction screen 210 of the amount of y deflection and irradiation interval or adjustments of control thereof , and a tracking mode selection part 211 enables or disables the adjustment function of the amount of y deflection and irradiation interval or makes algorithms , such as a feedback algorithm , for realizing the function , selectable . a setting value input part 212 makes input of parameters corresponding to the tracking mode possible . an automatic setting function start button 213 starts an auxiliary setting function . for example , when both the amount of y deflection and irradiation interval , which are in a trade - off relationship , are adjusted and controlled , it is sometimes difficult to make adjustments for optimizing control of the amount of y deflection and irradiation interval , and work efficiency of optimization of control parameters can be improved by displaying transitions of both the amount of y deflection and irradiation interval . the auxiliary start function can be considered , which has optimal parameters automatically determined from the amount of y deflection and irradiation interval by repeatedly performing a scan with different parameters without actually irradiating with a primary electron beam . thus , it becomes possible to reduce both fluctuations in contrast of detected images and distortion of images and to improve detection throughput by applying the deflection control method properly in accordance with apparatus conditions , inspection targets , and purposes .