CN202615787U - Optical reading device - Google Patents

Optical reading device Download PDF

Info

Publication number
CN202615787U
CN202615787U CN 201220041700 CN201220041700U CN202615787U CN 202615787 U CN202615787 U CN 202615787U CN 201220041700 CN201220041700 CN 201220041700 CN 201220041700 U CN201220041700 U CN 201220041700U CN 202615787 U CN202615787 U CN 202615787U
Authority
CN
China
Prior art keywords
pointer
read
data
row
reading
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
Application number
CN 201220041700
Other languages
Chinese (zh)
Inventor
浅田健司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Application granted granted Critical
Publication of CN202615787U publication Critical patent/CN202615787U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Image Input (AREA)

Abstract

The utility model provides an optical reading device, which can effectively prevent new data from being written to a region to which the data read out but not finished is written. A control part (40) controls the movement of a writing pointer in such a way that a writing pointer part is not exceeded an abolished pointer toward a specified direction side by following the abolished pointer of a reading pointer, and controls the movement of the abolished pointer in such a way that regardless of the position of the reading pointer, the abolished pointer is not exceeded the position of a row to which the row data comprising the data read out but not finished is written.

Description

Optical pickup device
Technical field
The utility model design is a kind of carries out optically read optical pickup device to the medium as reading object.
Background technology
In the past, known have the medium as reading object is carried out optically read and will read the result writing the optical pickup device (for example, with reference to patent documentation 1) of ring in the impact damper successively.
In this kind optical pickup device, the data that normally are written into the ring impact damper are read successively.
[technical literature formerly]
[patent documentation]
[patent documentation 1] TOHKEMY 2004-94735 communique
Yet, writing the structure of ring in the impact damper if as above-mentioned optical pickup device, will read the result, must prevent that new data are written to read the zone that still unclosed data write.
The utility model content
The utility model is In view of the foregoing accomplished, and its purpose is, is writing in the optical pickup device that reads the result to the ring impact damper, prevents effectively that new data are written to read the zone that still unclosed data write.
To achieve these goals, the utility model provides a kind of optical pickup device, it is characterized in that, possesses: optically read portion, and it has medium is carried out optically read optical element, this optical element shape that arranges in a row; Storage part; The ring impact damper, it is formed on the storage area of said storage part; Control part; It will write said ring impact damper circularly through said optically read reading of data that reads according to the row unit; And the said reading of data in the zone of the regulation in the said ring impact damper read; Said control part is through writing pointer and reading the said row that pointer is managed becomes the object that said reading of data writes and read; The said write pointer representes said reading of data is write the position of the said row of said ring impact damper; Saidly read the position that pointer representes to include the said row of the said reading of data of reading, in addition, said control part is controlled as follows; Promptly; Through represent in the said ring impact damper delete or the pointer of abrogating of the position of rewritable said row is controlled to this with the said write pointer and writes pointer and can not surpass said position of abrogating pointer, and said control part is controlled to the said pointer of abrogating said position of reading pointer how this is abrogated pointer and can not surpass and comprise and read the position of the said row of uncompleted said reading of data still.
According to this structure; That abrogates pointer mobilely is controlled so as to following mode; That is, regardless of the position of reading pointer, it can not read the position of the row of uncompleted reading of data still above comprising; And mobile not being controlled so as to that writes pointer can not surpass this and abrogate the position of pointer, therefore can effectively prevent will comprise that because of reading of data reading still the row of uncompleted reading of data rewrites and cause new data to be written into or be included in the situation that the reading of data in this row is deleted.
At this, in the ring impact damper, only read useful reading of data, the mode of only the regulation zone of the reading of data that includes usefulness being handled is efficiently.In this case; In identical row, exist under the situation in the regulation zone comprise a plurality of useful reading of data; If because of read read behind the zone pointer temporary transient before so that make and write before the pointer and then write, then possibly cause writing to reading still unclosed regulation zone.Only depend on the management that writes pointer and read pointer will have such problem.Therefore, through abrogating pointer,, the position that reading the row that finishes and can delete or rewrite that whole regulations of representing this row are regional is managed to be no more than the mode of the position that comprises the row of reading still unclosed regulation zone.If line pointer is no more than the position of abrogating pointer, then can not write to reading still unclosed regulation zone.In addition, owing to clear and definite write pointer and may be advanced to the position of abrogating pointer, thereby can read action efficiently.
In addition, on the basis of the optical pickup device of above-mentioned utility model, the utility model is characterised in that; Said control part to be to control as follows, that is, and and when being a plurality of in the zone of said regulation; Can carry out reading of said reading of data with the mode of reading according to each zone; And, when in delegation, comprising the said reading of data that belongs to a plurality of said regulations zone respectively, the said reading of data that belongs to each zone read completion separately before; Regardless of said position of reading pointer, the said pointer of abrogating can be above the position of this delegation.
According to this formation; Under the situation of the reading of data that belongs to a plurality of zones in the ring impact damper being read according to each zone; Even in a row, comprise under the situation of the reading of data that belongs to a plurality of different zones respectively, also can prevent effectively the whole reading of data that comprised read completion before new reading of data be written in this delegation.
In addition; On the basis of the optical pickup device of above-mentioned utility model; The utility model is characterised in that; Said control part is controlled as follows; That is,, in this piece, make said position of reading pointer move and read the said reading of data of the said row that belongs to this piece accomplishing to the writing after the completion of said reading of data that each the said row that belongs to a piece carries out according to be about to each piece that said ring buffer divides forms according in a plurality of said row each; When a plurality of regulations zone belongs to a piece, the said pointer of abrogating is controlled to said position of reading pointer and how all makes this abrogate pointer to be no more than comprising in the said row that belongs to this piece and to read the position of the said row of unclosed said reading of data still.
According to this formation; Through carry out the high efficiency that can realize reading processing of reading of reading of data according to mounting blocks unit; Even and in piece, exist under the situation in a plurality of regulations zone; Mobilely be controlled to it and be no more than to comprise and read the row of unclosed reading of data still through what will abrogate pointer, can prevent effectively that also new reading of data is written in this row.
[utility model effect]
According to the utility model, can prevent effectively that new data are written to read the zone that still unclosed data write.
Description of drawings
Fig. 1 is the stereoscopic figure of the related point impact printer of this embodiment (dot impact printer).
Fig. 2 is the stereographic map of expression printer main body.
Fig. 3 is the sectional view of printer main body.
Fig. 4 is the block diagram that the function of expression point impact printer constitutes.
Fig. 5 is the figure that schematically shows frame buffer.
Fig. 6 is the figure that schematically shows frame buffer that is used for illustrated block.
Fig. 7 is the figure that schematically shows frame buffer that is used for declare area scanning.
Fig. 8 is used to explain the figure that schematically shows frame buffer that abrogates pointer.
Fig. 9 is the figure of the frame buffer when schematically showing sector scanning.
Figure 10 is the figure of the frame buffer when schematically showing sector scanning.
Symbol description
10... point impact printer (optical pickup device), 40... control part, 41...RAM (storage part), 60... frame buffer (ring impact damper), 60a... first frame buffer (ring impact damper), 60b... second frame buffer (ring impact damper), 111... first scanner (reading part), 112... second scanner (reading part), 200... main frame, PH... abrogate, and pointer, PR... are read pointer, PW... writes pointer, S... recording medium (medium)
Embodiment
Below, describe with reference to the embodiment of accompanying drawing the utility model.
Fig. 1 is the isometric front view of the outward appearance of the related point impact printer 10 (optical pickup device) of this embodiment of expression.Fig. 2 is the stereoscopic figure of expression printer main body 11.Fig. 3 is the sectional view of the point impact printer 10 of presentation graphs 1.
Point impact printer 10 shown in Figure 1 is pushed via the China ink band (omitting diagram) of emitting from tape drum (omitting diagram) a plurality of stylus points (record wire) that record-header 18 (with reference to Fig. 3) is possessed to recording medium S; On the record surface of this recording medium S, form a little, thereby record comprises the image of literal.Point impact printer 10 possesses optically read 110 (with reference to Fig. 3), also plays a role as optical pickup device, can optically readly be presented at lip-deep literal, symbol, image of recording medium S etc.
Recording medium S (medium) as in point impact printer 10, using can enumerate the continuous paper that cuts medium, many connections that cuts into specified length.As cutting medium, except for example single-sheet stationery, the single page transfer paper etc., also comprise bankbook, postcard, envelope etc., continuous paper comprises continuous transfer paper, through cutting the folding paper that hole line etc. connects.In this embodiment, use the bankbook of the distribution such as check or bill (below, be referred to as check), financial institution of distribution such as financial institution as recording medium S.Check is the single-sheet stationery that on a part of regional MA on its surface, is printed with user's Bank Account Number, the MICR such as sequence number of this check (Magnetic Ink Character Recognition, magnetic ink word recognition) information through magnetic ink.Bankbook becomes the form of ordering the book that many paper used for recording are housed, and the face of opening the inboard of this book becomes record surface.Rear portion with respect to the face of front cover (lining table) paper of bankbook is provided with the magnetic stripe that comprises information such as Bank Account Number.
As shown in Figure 1, point impact printer 10 possesses upper lid 12, upper body 13 and the lower case 14 as exterior body, offers the insertion mouth 15 of insertion and discharge recording medium S at the front surface of upper body 13 and lower case 14.On the other hand, offer the escape hole 20 of discharging recording medium S at the back side of upper body 13 and lower case 14.Recording medium S after handling via point impact printer 10 be from insert mouthfuls 15 discharge or from escape hole 20 discharge can through from after the instruction of sending of 200 pairs of point impact printers of main frame 10 of stating set.With a side of inserting mouthful 15 openings be left side among Fig. 3 as preceding (front) side, be that right side among Fig. 3 is as back (rear) side with a side of escape hole 20 openings.
As shown in Figure 2, point impact printer 10 has the printer main body 11 that is covered by above-mentioned exterior body.Printer main body 11 possess following main part 11A, the rearward end of this time main part 11A by axle 11C supporting on main part (omitting diagram).The operation of the opening of the left surface of last main part through being arranged on main part (omitting diagram) and can rotating, if main part is gone up in rotation, then expose the inside of printer main body 11.
Like Fig. 2 and shown in Figure 3, printer main body 11 possesses base frame 16, is fixed on a pair of right side frame 17A and the left side frame 17B at the two ends of this base frame 16.Two body side frames of main part on the outside of two body side frame 17A, 17B has (omitting diagram); Between them, set up balladeur train leading axle 31, and between two body side frame 17A, 17B, be set with the place ahead medium guiding piece 24 and the rear medium guiding piece 25 of tabular surface shape.Between described the place ahead medium guiding piece 24 and rear medium guiding piece 25, dispose the pressing plate 21 of flat shape, above this pressing plate 21 to dispose record-header 18 with pressing plate 21 opposed modes.
Record-header 18 is equipped on the balladeur train 19 that passes balladeur train leading axle 31 sliding freely.Balladeur train 19 is driven through being with (omitting diagram) synchronously under the effect of just changeing or reversing of the sledge drive motor 56 (Fig. 4) that drives this balladeur train 19, thereby is moved back and forth by 31 guiding of balladeur train leading axle.Balladeur train 19 in Fig. 1 the direction shown in the symbol C promptly with balladeur train leading axle 31 axially and the consistent main scanning direction of length direction of pressing plate 21 between last main part two body side frames, carry out shuttle-scanning.Need to prove, will be with the direction of the main scanning direction C quadrature of balladeur train 19 among Fig. 1 the direction shown in the symbol D as sub scanning direction.
Be equipped on record-header 18 on the balladeur train 19 during balladeur train 19 walking; Make stylus point from giving prominence to and collide at its front end face with the China ink band with pressing plate 21 opposed pin teats (omitting diagram); Make the black liquid that on the recording medium S that carries between pressing plate 21 and the record-header 18, adheres to the China ink band, thereby on recording medium S, write down the image that comprises literal.China ink band is folding to be accommodated in the tape drum (omitting diagram) that is installed on above-mentioned main body frame or the balladeur train 19, is accompanied by the scanning of balladeur train 19 and is emitted.In addition, as shown in Figure 3, be equipped with medium width sensor 55 at the rear side of record-header 18, this medium width sensor 55 is positioned at the top of pressing plate 21.Medium width sensor 55 carries on balladeur train 19 and scans on pressing plate 21 with balladeur train 19, is used to obtain position and the width of recording medium S etc. of the side of recording medium S.
Like Fig. 2, shown in Figure 3, pressing plate 21 extends and forms flat shape along the direction of travel of balladeur train 19, through force application spring 180 by to record-header 18 application of forces and by elastic bearing.Force application spring 180 is a compression helical spring, the outstanding power of the stylus point when the acting force supporting record-header 18 through this force application spring 180 carries out operation of recording.In addition; When the thickness of this recording medium S changes in the conveying of recording medium S or when moving into the different recording medium S of thickness to printer main body 11; Pressing plate 21 overcomes the acting force of force application spring 180, is pushed and moves to the direction of leaving from record-header 18 by the front end of record-header 18.Thus, regardless of the thickness of recording medium, guarantee that all the gap between the record surface of front end and recording medium S of record-header 18 is fixed.
As shown in Figure 3, printer main body 11 has: the media conveying mechanism of conveying recording medium S (delivery section) 100; Run into the front end of the recording medium S that carries by this media conveying mechanism 100 and make the proper alignment mechanism 28 of this recording medium S proper alignment; Possess the MICR information on the check of being located at is read or carries out the magnetic data read-write portion 29 of the magnetic head 34 that magnetic information reads or write to being located at magnetic stripe on the bankbook; When magnetic head 34 execution of this magnetic data read-write portion 29 comprise that the magnetic information that reads MICR information is handled, the medium press section 30 that is used to suppress the perk of recording medium S, pushes recording medium S from the top.
Like Fig. 2, shown in Figure 3, media conveying mechanism 100 constitutes possesses pressing plate 21, the first driven roller 22A, the first driven voller 22B, the second driven roller 23A, the second driven voller 23B, the 3rd driven roller 124A, the 3rd driven voller 124B, the place ahead medium guiding piece 24, rear medium guiding piece 25, medium transport motor 26 and driving wheel row portion 27.Media conveying mechanism 100 is formed on the place ahead medium guiding piece 24 and the rear medium guiding piece 25 via the feed path P of each roller conveying recording medium S, and the upper surface of the place ahead medium guiding piece 24 and rear medium guiding piece 25 becomes the conveyor surface PA of feed path P.
In this structure; The first driven roller 22A, the first driven voller 22B are configured in the front side of printer main body 11 with respect to pressing plate 21 and record-header 18, and the second driven roller 23A, the second driven voller 23B and the 3rd driven roller 124A, the 3rd driven voller 124B are configured in the rear side of printer main body 11 successively with respect to pressing plate 21 and record-header 18.
The first driven roller 22A, the first driven voller 22B dispose and in pairs along the vertical direction, and the second driven roller 23A and the second driven voller 23B dispose and in pairs along the vertical direction, and the 3rd driven roller 124A and the 3rd driven voller 124B dispose and in pairs along the vertical direction.
The first driven roller 22A, the second driven roller 23A and the 3rd driven roller 124A are the driven rollers that is driven in rotation through medium transport motor 26 and driving wheel row portion 27, and the first driven voller 22B, the second driven voller 23B and the 3rd driven voller 124B are the driven vollers that is applied elastic force respectively by spring 42,42B, 42C with the pressing force of regulation to the first driven roller 22A, the second driven roller 23A and the 3rd driven roller 124A side.Thus; The first driven roller 22A and the first driven voller 22B are driven to the opposite directions rotation; The second driven roller 23A and the second driven voller 23B are driven to the opposite directions rotation, and the 3rd driven roller 124A and the 3rd driven voller 124B are driven to the opposite directions rotation.
As shown in Figure 2, driving wheel row portion 27 is configured in the outside of right side frame 17A.This driving wheel row portion 27 possesses the motor pinion 51 on the driving shaft that mode with one rotation is fixed on the medium transport motor 26 that can just change or reverse.Driving force from this motor pinion 51 is transmitted via the second driven wheel 53B of reduction gearing 52 on second roll shaft 33 that is installed in the second driven roller 23A, and then transmits via the first driven wheel 53A of neutral gear 54 on first roll shaft 32 that is installed in the first driven roller 22A from this second driven wheel 53B.In addition, the revolving force of second roll shaft 33 of the second driven roller 23A for example transmits through the 3rd roll shaft 134 of rotating band (omitting diagram) to the 3rd driven roller 124A.Thus, the first driven roller 22A shown in Figure 3, the second driven roller 23A and the 3rd driven roller 124A rotate to same direction, can recording medium S be carried in printer main body 11.Promptly; The first driven roller 22A shown in Figure 3, the second driven roller 23A and the 3rd driven roller 124A under the situation that medium transport motor 26 is just changeing along sub scanning direction Y in figure shown in the symbol F such to printer main body 11 in conveying recording medium S, when medium transport motor 26 reverses shown in symbol R among the figure such direction conveying recording medium S to discharge in printer main body 11.
Proper alignment mechanism 28 writes down the parts that the surface of reading 110 couples of recording medium S of printing equipment with information makes this recording medium S proper alignment before reading at 18 couples of recording medium S of record-header.Proper alignment mechanism 28 possesses between the first driven roller 22A and the first driven voller 22B and record-header 18 and the pressing plate 21 arranges a plurality of proper alignment plates 38 that are provided with and in feed path P, give prominence to, the proper alignment motor 58 (Fig. 4) that drives proper alignment plate 38 along main scanning direction, can run into the direction proper alignment that said proper alignment plate 38 makes recording medium S through the leading section that makes recording medium S.
As shown in Figure 2, possess a plurality of proper alignment sensors 39 near the upstream side of the proper alignment plate 38 of printer main body 11 in feed path P, whether the recording medium S that said proper alignment plate 38 is run in its detection exists.Proper alignment sensor 39 is to possess the feed path P of clipping respectively and the sensor of the light transmission type of opposed illuminating part (LED etc.) and light accepting part (optotransistor etc.), and it is arranged along main scanning direction and is provided with.According to the quantity and the configuration of the sensor of the front end that detects recording medium S in a plurality of proper alignment sensors 39, can judge through the recording medium S after proper alignment mechanism 28 proper alignment with respect to the inclination of throughput direction whether in allowed band.
In addition; In point impact printer 10; Read the whole control part of reference mark impact printer 10 of the control of reading action etc. of printing equipment 110 as control, the information of the operation of recording of the stylus point of the walking control of the drive controlling of carrying out medium transport motor 26, balladeur train 19, record-header 18, below the rear side of for example printer main body 11, possess control basal plate portion (omitting diagram).
In printer main body 11, be set side by side with a plurality of media end sensors 47 of detection record medium S in the front side of the first driven roller 22A to the insertion of feed path P.Said media end sensor 47 is to possess towards feed path P luminous illuminating part and the optical reflective-type sensor that detects its catoptrical light accepting part, and it detects from inserting the recording medium S that mouth 15 inserts.Need to prove that media end sensor 47 also can be that opposed mode disposes the light transmission type sensor of illuminating part and light accepting part to clip feed path P.In this structure, under the light accepting part from whole media end sensors 47 is become by the state of light to receive arbitrary media end sensor 47 situation that light is blocked, judge that recording medium S inserts in the feed path P.
In addition, as shown in Figure 3, the information that printer main body 11 possesses literal, symbol or the image etc. of the surface demonstration that reads in recording medium S reads printing equipment 110 (optically read portion).This information reads printing equipment 110 to be possessed: first scanner (first reading part) 111, and its upper surface side that reads in recording medium S waits the information that shows through printing; Second scanner (second reading part) 112, itself and this first scanner, 111 arranged opposite, the lower face side that reads in this recording medium S waits the information that shows through printing.Usually, the recording medium S mode that becomes lower surface with the face that is printed with MICR information is inserted from inserting mouthfuls 15.
First scanner 111 and second scanner 112 are configured between the second driven roller 23A and the 3rd driven roller 124A, are the optical image sensors that on feed path P, reads the information of the recording medium S in the conveying continuously.
First scanner 111 and second scanner 112 are image read sensors of CIS (Contact Image Sensor) type for example, and it possesses smooth cover glass 140,150 that connects airtight with recording medium S and the body shell 141,151 that keeps said cover glass 140,150 respectively.Inboard in said body shell 141,151 contains respectively: the irradiating part (omitting diagram) that will shine in the zone reading of recording medium S from the light of light sources such as LED output; Be arranged in a plurality of optical sensors (omitting diagram) that receive of row along main scanning direction (C direction); Will be from the efferent (omit diagram) of this signal that receives optical sensor to the output of above-mentioned control basal plate portion.Need to prove that first scanner 111 and second scanner 112 are not limited to the parts that possess CIS, also can be the parts that possess CCD (Charge Coupled Device).
In addition; As shown in Figure 2; Second scanner 112 possesses with pressing plate 21 almost parallel ground and extends and constitute the body shell 151 and the cover glass 150 of elongate in shape along the Width of point impact printer 10, and the upper surface (glass) that this body shell 151 is configured to cover glass 150 exposes to feed path P through being formed on the opening on the rear medium guiding piece 25.As shown in Figure 3; First scanner 111 is arranged on the top of second scanner 112 with the opposed mode of upper surface of lower surface (glass) and the above-mentioned cover glass 150 of cover glass 140, on Width, also forms the elongate in shape with second scanner, 112 roughly the same length.
Be provided with force application component 113, the first scanners 111 on the top of first scanner 111 and become recording medium S near rear medium guiding piece 25 by force application component 113 application of forces.In addition, force application component 113 is to support first scanner 111 in the roughly uniform on the whole power of Width to 112 side pressures of second scanner.At this, can use the buffer component of volute spring, leaf spring or elasticity system etc. as force application component 113.Between the glass of cover glass 140,150, be provided with the interval that the recording medium of specific thickness can get into; When reading & recording medium S; The recording medium S that utilization is transferred presses first scanner 111 and moves back to the top; Force application component 113 shrinks, thereby recording medium S can be through cover glass 140, between 150.Promptly; Read in the printing equipment 110 in information; Utilization is supported recording medium S by first scanner 111 of force application component 113 application of forces to 112 side pressures of second scanner, the recording medium S and the glass of cover glass 140,150 are connected airtight reliably, thereby improve reading quality.
The optical sensor (omitting diagram) that receives of first scanner 111 and second scanner 112 forms a line along the main scanning direction of point impact printer 10, and reads with the wire of extending along main scanning direction.That is the optical element that, has the shape that arranges in a row as optically read first scanner 111 and second scanner 112.The optical sensor that receives of first scanner 111 and second scanner 112 is provided in than in the bigger scope of the printable scope of the record-header on the main scanning direction 18, and point impact printer 10 can read than the wide width of printable whole recording mediums.That is, information reads printing equipment 110 and can the whole face of whole recording medium S of in point impact printer 10, using be read.
First scanner 111 and second scanner, 112 that kind as shown in Figure 3 set across feed path P is opposed, but the optical sensor that receives that receives the wire that the optical sensor and second scanner 112 possessed of the wire that first scanner 111 is possessed staggers about 5mm on the throughput direction of recording medium S.Utilize this structure, can eliminate from the light of each other light source the optical sensor that receives impacting, can access higher reading quality the opposing party.
First scanner 111 and second scanner 112 possess the light source of R, G, B respectively, can carry out reading of monochrome image (2 values, 16 tones, 256 tones) and full-colour image.In addition, first scanner 111 and second scanner 112 reads sharpness and can be set at for example 3 grades of 200dpi (point/inch), 300dpi, 600dpi.The line number that reads on the throughput direction of recording medium S (sub scanning direction) cooperates the sharpness that reads on the main scanning direction to set, the transporting velocity of the recording medium S when reading cooperate read sharpness, receive optical sensor detected value specification such as processing speed and adjust.
Fig. 4 is the block diagram of structure of the control system of expression point impact printer 10.
This each several part shown in Figure 4 is realized through the hardware and software concerted action that is installed on the control basal plate (omitting diagram).
Point impact printer 10 possesses: according to the control part that possesses CPU and peripheral circuit thereof 40 of control program reference mark impact printer 10 integral body; The RAM41 (storage part) of control program that interim storage is read from EEPROM42 through control part 40 and data etc.; Store the EEPROM42 of control program that utilizes control part 40 execution or the data that are processed etc.; To and the main frame 200 of reference mark impact printer 10 between the interface (I/F) 43 changed of data mode when receiving and sending messages; The gate array (G/A) 45 that is connected with various sensor classes; Drive the motor driver 46 of various motor and the head driver 48 of driving head, described each several part connects via bus (bus) 49.
On RAM41, be formed with the frame buffer 60 that writes the reads image data that optical pickup device 110 read.This frame buffer 60 be according to the rules sequential loop write the ring impact damper of data, state after will carrying out its detailed structure, control part 40 is read the reads image data that is written in this frame buffer 60 and to main frame 200 outputs.
Be connected with proper alignment sensor 39, media end sensor 47, medium width sensor 55, first scanner 111 and second scanner 112 with gate array 45.Gate array 45 will be from the aanalogvoltage quantumization of proper alignment sensor 39, media end sensor 47 and 55 inputs of medium width sensor and as numerical data, and exports to CPU40.
First scanner 111 and second scanner 112 are through the surface of the optically read recording medium S of CIS; The detection voltage of CIS is supplied with the aanalogvoltage quantumization that gate array 45 will be supplied with from first scanner 111 and second scanner 112 and exporting to CPU40 as numerical data to gate array 45 according to the pixel of each CIS.Control part 40 according to after the regulation order stated according to the numerical data that obtains reads image data is launched in frame buffer 60.
Motor driver 46 is connected with medium transport motor 26, sledge drive motor 56, magnetic head driving motor 57 and proper alignment motor 58, supplies with drive current, driving pulse to said each motor, thereby makes described motor action.Need to prove, on motor driver 46, also can connect the proper alignment motor 58 (Fig. 4) that makes proper alignment plate 38 (Fig. 3) action etc.
Media end sensor 47 is connected with record-header 18 and magnetic head 34; Through being supplied with drive current, record-header 18 make stylus point outstanding; On the other hand, the drive current that magnetic head 34 output read/writes are used is when carrying out the reading of magnetic data; Detect the detection voltage (aanalogvoltage) of magnetic head 34, its conversion is exported to control part 40 as numerical data.
CPU40 obtains the detected state of various sensors and drives each motor via gate array 45, motor driver 46 and head driver 48 according to being stored in the control program among the EEPROM42 and comes conveying recording medium S; And drive each head, thereby carry out record to recording medium S.
Action when next, subtend frame buffer 60 writes reads image data and reads the reads image data that is write successively is elaborated.
Fig. 5 is the figure that is formed on the state of the frame buffer 60 among the RAM41 when single-sheet stationery that sharpness (for example 600dpi) reads given size is recording medium S that reads that is shown schematically in regulation.Fig. 5 (A) expression is read the i.e. first frame buffer 60a of frame buffer 60 that the result writes reads image data according to first scanner 111, and Fig. 5 (B) expression is read the i.e. second frame buffer 60b of frame buffer 60 that the result writes reads image data according to second scanner 112.
As shown in Figure 5; In this embodiment; In RAM41, be formed with two impact dampers; According to first scanner 111 read the result to a side impact damper promptly the first frame buffer 60a write reads image data, in addition, according to second scanner 112 read the result to the opposing party's impact damper promptly the second frame buffer 60b write reads image data.
In following explanation, utilize the first frame buffer 60a that the structure of frame buffer 60 and the mode of utilizing of frame buffer 60 are described, the second frame buffer 60b and the first frame buffer 60a are that the mode of same structure and utilization is also identical.
The first frame buffer 60a is the impact damper that reads image data is launched.
Reads image data is the data of bitmap form; For on data, being each pixel that the spacing of benchmark is configured to lattice-like to read sharpness; According to each pixel with the colour content of RGB system as tone value (value that the tone value that for example, will be represented by the 0-256 stage respectively for the colour content of RGB system and the related colour content of monochrome image are represented with 2 values) maintenance.Below, explanation for ease, existence will show as the situation of " pixel " simply according to the information that pixel keeps.
In the example of Fig. 5 (A), the first frame buffer 60a constitutes and can launch 8400 points to prescribed direction (arrow Y1), and can be that line direction (arrow Y2) launches 5100 pixel to the direction with this prescribed direction quadrature.In addition, the first frame buffer 60a forms along a plurality of (8400) capable (row L1~row L8400) of line direction extension and disposes side by side along prescribed direction.Shown in Fig. 5 (A), prescribed direction specifically is meant the direction towards row L8400 from row L1.
The result that reads according to first scanner 111 goes up according to every row towards prescribed direction writing line data successively (reading of data) to each row of the first frame buffer 60a.
In detail; As stated; First scanner 111 possesses a plurality of optical sensors that receive that are arranged in row along main scanning direction (the C direction of Fig. 1); When the upper surface to recording medium S read, the conveying of incident record medium S was through the upper surface that receives optical sensor (opposite direction of throughput direction) reading & recording medium S intermittently towards the direction of scanning of row.At this moment; That whenever carries out row receives reading of optical sensor, and then the output valve that receives optical sensor according to row produces the line data by 5100 pixel (information that each color of pixel the is related) formation of extending along the direction corresponding with main scanning direction (C direction) successively.
In the first frame buffer 60a, line direction (arrow Y2) is and the corresponding direction of main scanning direction (C direction), and prescribed direction (arrow Y1) is the direction corresponding with the direction of scanning.In addition, the line data of above-mentioned such generation is written into towards prescribed direction according to row successively.More specifically; The line data that reads result's generation at first that receives optical sensor according to row is written among the capable L; According to row next receive the reading among the line data writing line L2 that the result generates of optical sensor, successively line data is write towards prescribed direction according to every row according to such situation.
At this, the first frame buffer 60a is the ring impact damper, and writing towards prescribed direction of line data carried out circularly.More specifically, writing of line data is fashionable carrying out to row L8400, and next the line data of the capable L1 of heading writes.In this case, though write line data on the L1 that is expert at, utilize new line data to rewrite.
In this embodiment, control part 40 is through writing pointer PW and reading the advance administration-management reason of pointer PR to the object that writes and read that becomes line data.
In detail, writing pointer PW is the pointer of the row of expression writing line data.Pointer for example, can be the variable that defines on the program of managing pointer being used for so long as keep the information of the value of the specific row of expression to get final product, and perhaps also can be in the regulation zone of RAM41, to be stored as the data that can rewrite.Above-mentioned situation for read pointer PR with after state to abrogate pointer PH also identical.
When the line data that generates being write the first frame buffer 60a capable, line data is write represented row of pointer PW and line data write end after, control part 40 makes and writes the represented row of pointer PW to the prescribed direction side shifting once.
In following explanation, with making the row shown in the pointer show as " pointer is moved to prescribed direction " simply to this situation of prescribed direction side shifting.
In addition, in following explanation, " position of pointer " is meant the row that pointer is represented.
In addition, reading pointer PR is the pointer that the row of line data is read in expression.
When the line data in will being written to impact damper 60a is read, the line data in will being written to the row shown in the pointer PR read and line data read end after, control part 40 makes reads the represented row of pointer PR to the prescribed direction side shifting once.Need to prove, control part 40 according to after the regulation order stated via interface 43 line data of reading is transmitted to main frame 200.
Reading pointer PR basically follows and writes the mobile of pointer PW and move.Thus, the line data that is written to the first frame buffer 60a is read according to the order that writes and is transmitted to main frame 200.
In this embodiment, reading and transmit according to block unit of line data carried out.
Fig. 6 is the figure that is used for illustrated block, is the figure that schematically shows the form of the first frame buffer 60a after cutting apart according to piece.
As shown in Figure 6, in this embodiment, the first frame buffer 60a is cut apart according to a plurality of row, is formed with n piece (piece B1~piece Bn).About the quantity of the row that constitutes a piece, in being no more than 500 scope, consider the communication speed etc. between point impact printer 10 and the main frame 200 and be specified to the value that is suitable for the line data transmission.
In this embodiment, carry out the transmission of line data with the block unit that as above-mentioned, forms.
In detail, can know that when the reading of the image of the upper surface through first scanner, 111 executive logging medium S, L1 carries out writing of line data towards prescribed direction according to row successively from row with reference to Fig. 6.In this case, before the capable line data that carries out of K1 to the piece B1 under the formation row L1 writes completion, do not carry out reading of line data, thus, read the state that pointer PR keeps expression row L1.
And when writing of the capable line data of the whole K1 that constitute piece B1 accomplished, each row that constitutes piece B1 through 40 pairs of control parts was carried out reading of line data successively towards prescribed direction when carrying out writing of line data.And, constitute piece B1 whole row line data read completion after, whole line data agreement according to the rules that control part 40 will be read transmits to main frame 200.Need to prove,, read the state that pointer PR becomes the foremost row of expression piece B2 in the moment of reading completion of the line data of the whole row that constitute piece B1.
Control part 40 transmits line data to piece B2 similarly after the transmission of the line data of the row that constitutes piece B1 finishes.Promptly; Writing before the completion of the line data that carries out to the whole row that constitute piece B2; The reading of line data that is written in the row that constitutes piece B2 stopped; The line data that carries out to the whole row that constitute piece B2 write completion after, reading of begin column data blanketly transmits the line data of reading to main frame 200.
So; Control part 40 is the transmission that unit carries out line data with the piece; Thus, can be to writing line data and consider to transmit and the one group of zone (piece) that stipulate its size (line number) is carried out blanketly and read and transmit related processing, make and read and transmit related highly-efficient treatmentization.
In addition, the related point impact printer 10 of this embodiment can be carried out the sector scanning of the line data of only reading and transmit the zone that belongs to regulation among the first frame buffer 60a.
Fig. 7 is the figure that schematically shows the first frame buffer 60a that is used for declare area scanning.
In Fig. 7, the first frame buffer 60a is launched into the regulation coordinate system, with in the pixel that constitutes the first frame buffer 60a (=be formed in the pixel of the reads image data of launching among the first frame buffer 60a), the most upper left in the drawings pixel of configuration is as initial point; Give coordinate (0 to this pixel; 0), and will be x axle+direction towards the direction dictates of figure right-of-center in political views direction, and will be y axle+direction from the direction dictates of this initial point lower direction towards figure from this initial point; Give coordinate (5100 to the most top-right in the drawings pixel of configuration; 0), gives coordinate (0,8400) to the pixel of the in the drawings lower left of configuration; To dispose the most bottom-right in the drawings pixel and give coordinate (5100,8400).The whole pixels that constitute the first frame buffer 60a are confirmed apart from the coordinate of the relative position of initial point is unique by expression.
In the example of Fig. 7,, for example can only read and transmit and be included in (belonging to) by the line data among the regional A1 of this four somes definition of P1 (1000,4000), P2 (4000,4000), P3 (1000,8000) and P4 (4000,8000) in sector scanning.In this case, only the view data of the image that belongs to regional A1 in the image of recording medium S is ultimately delivered in the main frame 200.
Need to prove that when execution area scanned, the user interface that the user utilizes the regulation that main frame 200 provides was specified the zone of wanting to carry out the rectangle that image transmits at the upper surface of recording medium S.Specify according to this, main frame 200 is calculated in the first frame buffer 60a 4 coordinate with the regional corresponding zone of appointment, and the coordinate of calculating is exported to the control part 40 of point impact printer 10.
Action when utilizing Fig. 7 to specify regional A1 carried out sector scanning.Need to prove that as shown in Figure 7, regional A1 is the zone of striding piece B (i-1), piece Bi and these three pieces of piece B (i+1).
In sector scanning, equally also carry out writing of line data successively towards prescribed direction when not carrying out sector scanning according to row.And, along with carry out based on first scanner 111 to the reading of the upper surface of recording medium S, carry out line data to the writing of prescribed direction, make to previous that constitutes piece B (i-1) be piece B (i-2) whole row line data write end.In this case, write the state that pointer PW becomes the capable La that moves ahead most of expression piece B (i-1).
On the other hand, in the moment that writes end of piece B (i-2), because the line data that does not exist needs to carry out to read, so control part 40 does not make and reads pointer PR and move and keep the state that pointer PR representes capable L1 of reading.
To the line data of piece B (i-2) write completion after, further carry out to the writing of the line data of prescribed direction, thereby accomplish to constituting writing of whole line data that piece B (i-1) carries out.In piece B (i-1); Though regional A1 extends; But because as stated; Reading and transmit according to block unit of line data carried out, so control part 40 do not make before the completion writing of the line data that carries out to the whole line data that constitute piece B (i-1) and read pointer PR and move, and keeps the state that pointer PR representes row L1 of reading.
When writing of carrying out to the whole line data that constitute piece B (i-1) accomplished, control part 40 makes to be read pointer PR and moves until arriving row La towards prescribed direction.Carrying out this when moving, can't carry out reading of line data.Next; 40 pairs of control parts write the row of the line data that regional A1 do not belong to, particularly do not carry out reading of line data for the row (comprising that capable La does not comprise capable Lb) that is clipped between capable La and the row Lb; Read the represented row of pointer PR after prescribed direction moves successively making, make and read the represented row of pointer PR and become capable Lb.This row Lb comprises the line data that belongs to the data among the regional A1, and is written into and in piece B (i-1), is positioned at the line data that leans on most the opposite direction side of prescribed direction.
Next, data (data in the zone of representing with diagonal among Fig. 7) in the line data among the control part 40 execution writing line Lb, that belong to regional A1 reads.Next, control part 40 makes to be read pointer PR and moves once to prescribed direction, carries out to be written to this and to read reading of data line data, that belong to regional A1 in the represented row of pointer PR.So, 40 couples of piece B of control part (i-1) read the data that belong to regional A1 according to row towards prescribed direction successively.
So; In piece B (i-1); Carry out successively and read the reading of data of moving and belong to regional A1 of pointer PR to prescribed direction; Become moving ahead most the moment of Lc at once of piece Bi reading the represented row of pointer PR, control part 40 transmits the data of reading (=in piece B (i-1), belong to the data of regional A1) to main frame 200.
40 couples of piece Bi of control part and piece B (i+1) also likewise carry out the transmission of reading of data that belong to regional A1 in block unit and data with piece B (i-1).Thus, the total data that belongs among the regional A1 is transmitted to main frame 200.
So, for the data that belong to regional A1, read and transmit, therefore can realize reading and transmitting the high efficiency of processing owing to carry out blanketly according to block unit.
As stated; The first frame buffer 60a is the ring impact damper; Write pointer PW and follow this pointer PR that reads that writes pointer PW and constitute, then the row of the end of the first frame buffer 60a (being row L8400 in the example of Fig. 5 (A)) moves to move ahead most (being row L1 in the example of Fig. 5 (A)).
In this case, possibly write pointer PW moves and surpasses the situation read pointer PR to the prescribed direction side to prescribed direction.In this case, there is new line data to be written into, therefore must prevents the generation of above-mentioned situation the row of reading that does not carry out line data as yet.
In order to prevent this situation; In this embodiment,, also possesses the pointer of abrogating PH except writing pointer PW and reading the pointer PR; Control part 40 is abrogated pointer PH management through this and is write the position of pointer PW, can be to the prescribed direction side above reading pointer PR so that write pointer PW.
Fig. 8 is the figure that schematically shows the first frame buffer 60a that is used to explain the elemental motion of abrogating pointer PH.
In Fig. 8, schematically show and write pointer PW, read pointer PR and abrogate pointer PH, the indicated row of the front end of the figure of each pointer is the row that each pointer is represented.
In following explanation, make clear in order to make, be not with above-mentioned sector scanning but, in addition, do not consider the situation of piece with whole prerequisites that are transmitted as of the reads image data in the first frame buffer 60a, launched.
Shown in Fig. 8 (A), abrogate pointer PH except after state the situation of exception, follow basically and read pointer PR action.In this embodiment; Abrogating pointer PH follows basically in the following manner and reads pointer PR; That is, abrogating pointer PH keeps expression and is positioned at from reading the represented row of pointer PR and differs the mode of state of the row at 10 row places to the opposite direction of prescribed direction (below, be called for short " in the other direction ").
And then the position that writes pointer PW is controlled so as to can not surpass to the prescribed direction side abrogates pointer PH.Thus, prevent to write pointer PW and surpass and to read pointer PR, thereby preventing that new line data is written to reads in the row that still unclosed line data write.
For example use Fig. 8 to specify, hence one can see that, and the position relation that writes pointer PW, reads pointer PR and abrogate pointer PH is the state shown in Fig. 8 (A).Need to prove, in Fig. 8 (A), be clipped in write pointer PW and read between the pointer PR row (being included in the row in the zone of representing with oblique line) though in the line data that writes be to write to finish the line data also do not read.
And, writing pointer PW to the moving of prescribed direction from the state shown in Fig. 8 (A), state will convert the state shown in Fig. 8 (B) to.In this case; The position that writes pointer PW is controlled so as to can not surpass towards the prescribed direction side abrogates pointer PH, writes the existing zone of row (zone of representing with oblique line among Fig. 8 (B)) that the line data that does not carry out is as yet read in end though therefore prevent to write pointer PW arrival reliably.
In addition, in above-mentioned sector scanning, in the first frame buffer 60a, can only read and transmit the data in a plurality of zones that belong to different.And a plurality of zones for different exist in the situation that lap is arranged on the line direction respectively.Under these circumstances, execution belongs to the reading of data in different a plurality of zones as following.
Fig. 9 is the figure that schematically shows the first frame buffer 60a that is used to explain the processing the when data that belong to the existing zone of part overlapping on line direction are respectively read.
In the example of Fig. 9, regional A2 and regional A3 are carried out sector scanning.That is, only read and transmit the data that belong to regional A2 and regional A3.As shown in Figure 9, there are each other part overlapping on line direction in regional A2 and regional A3 in scope Q1.
Under these circumstances, be that the zone that belongs to piece Bi among regional a2 and the regional A3 is that regional a3 carries out respectively and reads for the zone that belongs to piece Bi among the regional A2.
Need to prove; In following explanation; The information that control part 40 bases are relevant with piece Bi and in advance detect from the state (scope) to regional a2 the piece Bi and regional a3 such as the regional A2 of main frame 200 input and each apex coordinate of regional A3, and read moving of pointer PR according to this testing result management.
End up being prerequisite with writing of the line data that carries out to the whole row that constitute piece Bi and detail, control part 40 is at first read towards prescribed direction according to row through the data that said method will belong to regional a2 successively.In this case, read pointer PR such moving shown in arrow Y4, and final in-position T1.When reading of the data that belong to regional a2 finished, control part 40 transmitted the data of reading to main frame 200.So; In this embodiment; In identical piece, exist under the situation in different a plurality of zones, carry out reading and transmitting of data according to the zone, thus; Can the data that belong to zones of different be carried out reading and transmitting of data according to the zone respectively blanketly, realize the raising of reading and transmitting the simplification of related processing and following the treatment effeciency of this simplification.
When reading of the data that belong to regional a2 finished, control part 40 makes to be read pointer PR and moves to the front position of regional a3 T2.Next, control part 40 data that will belong to regional a3 are read towards prescribed direction according to row successively.In this case, read pointer PR such moving shown in arrow Y5.Next, the data that belong to regional a3 that control part 40 will be read are to main frame 200 outputs.
As above, the data that 40 pairs of control parts belong to the data of regional a2 and belong to regional a3 are read respectively individually, and transmit to main frame 200.
At this; Make above-mentioned abrogate pointer PH under any circumstance all keep expression be positioned at from read the represented row of pointer PR to opposite direction differ 10 row row state and when mobile; As the example of Fig. 9 under the existing a plurality of regional execution area scan condition of superposed part on the line direction, possibly produce following unfavorable condition.
That is, when reading of the data that belong to regional a2 accomplished and read pointer PR in-position T1, follow in this, the position T3 of the position of side 10 row moves to lean in the other direction than it to abrogate pointer PH.
In this case, for the row that belongs to the scope Q2 between position T2 and the position T3, become the residual state that read and read still unclosed data (data that belong to regional a3) that has.Thus, for the row that belongs to scope Q2, the data that belong to regional a3 read end before, should not write new line data.Yet; Owing to abrogate pointer PH and be positioned at position T3, so it moves not to be controlled so as to and can not surpass this pointer PW that writes that abrogates pointer PH to the prescribed direction side and arrive the position of abrogating pointer PH, follows therewith; Following situation possibly take place; That is, for the row that belongs to scope Q2, maybe the unclosed stage has new line data to write reading still.
According to above situation, control part 40 is controlled the position of abrogating pointer PH in the following manner under the situation of above-mentioned that kind.
That is, control part 40 is abrogated pointer PH when prescribed direction moves the amount of 1 row making, and whether it at first judges to comprise in the line data in writing the row of predetermined movement and read and read still unclosed data.Then, control part 40 makes the amount that pointer PH moves 1 row of abrogating not comprising under this data conditions, abrogates the mobile of pointer PH and stops comprising to make under this data conditions.Then; Control part 40 keep watch in the line data in the row that is written to after above-mentioned the moving, should read and read still unclosed data and whether be all over and read; Read this data whole and to finish and abrogate pointer PH and read distance on the prescribed direction between pointer PR when surpassing 10 row, make and abrogate pointer PH and move 1 capable amount to prescribed direction.
For example, with reference to Fig. 9, abrogate pointer PH be positioned at position T2 to the opposite direction side differ 1 the row position T4.And then, though belong to regional a2 data read end, the data that belong to regional a3 are fully carried out and are read.Under such situation, suppose that control part 40 makes the pointer PH situation that T4 moves to position T2 from the position of abrogating along with what read pointer PR to moving of prescribed direction.
In this case, whether control part 40 is writing to comprise in the line data in the row corresponding with position T2 and read and read still unclosed data abrogating pointer PH judgement before the moving of position T2.This judgement can be carried out through the information of the situation of reading of storage representation data in advance and according to this information; Perhaps; Also can manage in line data, whether to exist according to row and read and read still unclosed data, also can carry out according to the state of this chart through chart.
And owing to comprise and read and read still unclosed data (data that regional a3 is related) in the line data in writing the row corresponding with position T2, so control part 40 makes and abrogates pointer PH and stop to the mobile of position T2.
Next; Control part 40 keep watch on be written to position T2 corresponding row in line data in the reading of the data that belong to regional a3 that comprise whether finish; In other words; In the line data of supervision in being written to the row corresponding with position T2, should read and read still whole the reading of unclosed data and whether finish; Finish and abrogate pointer PH and read distance on the prescribed direction between pointer PR and surpass 10 when capable reading of the data that belong to regional a3, make and abrogate pointer PH T4 moves to position T3 from the position.
So; In this embodiment; Comprise in the line data in being written to certain delegation in the time of reading and read still unclosed data, control part 40 is controlled as follows and is abrogated moving of pointer PH, promptly; Regardless of the position of reading pointer PR, do not make and abrogate pointer PH and move and surpass this 1 row to prescribed direction.
Thus, can prevent suitably that line data is written to existence again and should reads and read in the row of unclosed data still.
And then, abrogate the mobile of pointer PH if as above-mentioned, control, when in piece, having a plurality of zones of different; To said zone underlapped scope (for example, the scope Q3 of Fig. 9) on line direction; Suitably make according to being included in the reading situation of data that should read in the line data and to abrogate pointer PH and move to prescribed direction; The unnecessary movement of pointer PH to prescribed direction abrogated in restriction thus, follows in this, can prevent to write the situation that the zone of new line data unnecessarily diminishes.Utilizing Fig. 9 to specify can know; For scope Q3, if the related data of regional a2 read end, then write the end of reading of data in the line data in the row that belongs to this scope Q3, that should read; Therefore can make and abrogate pointer PH and move to prescribed direction; But, abrogate moving of pointer PH through control as above-mentioned, for scope Q3, suitably make and abrogate pointer PH and move to prescribed direction according to related the reading of data of regional a2.
In addition, in above-mentioned sector scanning, can carry out reading of the data that belong to the zone of configured separate on prescribed direction.
Figure 10 is the figure that schematically shows the first frame buffer 60a that reads that is used for explaining the data that belong to the zone of configured separate on prescribed direction.
At first, utilize Figure 10 (A) that the related processing of reading in the past that is suitable for before the application's utility model is described.
In the example of Figure 10 (A), scan along the regional A5 execution area of prescribed direction configured separate to regional A4 and with this zone A4.
Shown in Figure 10 (A), the most preceding piece that regional A4 belongs in a plurality of that in the first frame buffer 60a, form is piece B1, and in addition, the end block that regional A5 belongs in a plurality of that in the first frame buffer 60a, form is piece Bn.
In the past; When regional A4 of regulation and regional A5 as above-mentioned; When the processing of reading with the upper surface of the recording medium S of first scanner 111 makes accordingly when writing of the line data of the whole row that constitute piece B1 accomplished, control part 40 is carried out reading and transmitting of the data that belong to regional A4 as above-mentioned.In the moment of reading and transmitting end of the data in belonging to the regional A4 that is included among the piece B1, reading pointer PR becomes the state of putting T6 with the corresponding position that moves ahead most of piece B2 that is positioned at.
To the line data of the whole row that constitute piece B1 write completion after, continue to carry out writing of line data, make the completion that writes to the line data of the whole row that constitute piece B2~piece B (n-1).In this case; Owing in piece B2~piece B (n-1), do not have the data that read; Therefore; Control part 40 will be read the state that pointer PR is maintained in the moment of reading and transmitting completion that belongs to the data that are included in the regional A4 among the piece B1,, be maintained in the state that is positioned at the position T6 that moves ahead corresponding most of piece B2 that is.
And then, carry out line data to the writing of prescribed direction, make the completion that writes to the line data of the whole row that constitute piece Bn.Being that the completion that writes of the line data that carries out of the piece of inclusion region A5 is an opportunity to piece Bn, control part 40 begins to make to be read pointer PR and moves to prescribed direction.In this case,, do not exist, therefore in fact need not carry out reading of data, make and read pointer PR and move to prescribed direction owing to should carry out the data of reading for the row that constitutes piece B2~piece B (n-1).
Then, control part 40 make read pointer PR and move to moving ahead most of piece Bn after, the data that belong to the regional A5 in the piece Bn are carried out reading and transmitting of data.
When utilizing such method in the past that sector scanning is carried out in the different zone of separating along prescribed direction, such unfavorable condition below possibly producing.
Promptly; Under above-mentioned situation; Owing to the completion that writes that constitutes with the line data that carries out to piece Bn is that opportunity begins to make the pointer PR that reads that is positioned at position T6 to move to prescribed direction, therefore, chase after the approaching state of distance (the represented distance of arrow of label symbol D1 Figure 10 (A)) appearance on pointer PH and the prescribed direction that writes pointer PW of abrogating of reading pointer PR from this; As cause; Through abrogating the action that pointer PH restriction writes pointer PW, no matter whether generate the new line data that should write, the line data that all possibly generate can't write the situation of the first frame buffer 60a.
According to above-mentioned situation, in this embodiment, control part 40 is controlled the position of reading pointer PR as follows.
That is, control part 40 is kept watch on all the time and is write pointer PW and read the line number between the pointer PR.
And, writing pointer PW and reading that line number between pointer PR has surpassed as threshold value and during predefined line number, judge that being write pointer PW by this carry out the data of reading with reading whether to exist in the zone that pointer PR clips.Do not exist carry out the data of reading the time, 40 pairs of control parts belong to by said write pointer PW with read zone that pointer PR clips capablely do not carry out reading of line data and carry out to make and read pointer PR and virtually read processing to what prescribed direction moved.
Utilize Figure 10 (B) to specify, hence one can see that, and the reading and transmit and accomplish and read under the state that pointer PR is positioned at position T6 of the regional A4 that belongs to piece B1, control part 40 is kept watch on and write pointer PW and read the line number between pointer PR.And, shown in Figure 10 (B), writing pointer PW and reading line number between pointer PR when surpassing " 1000 " as prescribed threshold, control part 40 is judged at said write pointer PW and is read whether there are the data that read among the scope Q4 between pointer PR.And, when in scope Q4, not having the data that read, control part 40 for the enforcement that belongs to said scope Q4 read pointer PR towards prescribed direction move and carry out do not carry out line data read virtually read processing.
So; For scope Q4, through carrying out the virtual processing of reading, the line data that carries out to the whole row that constitute piece Bn write completion before; Read pointer PR and move, abrogate pointer PH and follow this and read moving and moving of pointer PR towards prescribed direction to position T7.Need to prove; Reading pointer PR after position T7 moves; Surpass threshold value and be clipped in and do not exist in the scope of said pointer carry out the data of reading the time when writing pointer PW and reading line number between the pointer PR; Suitably carry out the virtual processing of reading, make and read pointer PR and abrogate pointer PH and move to prescribed direction.
So; In this embodiment; Surpass threshold value and do not exist carry out the data of reading the time writing pointer PW and read line number between pointer PR, suitably carry out the virtual processing of reading, and make and read pointer PR and abrogate pointer PH and move to prescribed direction in the scope that clips said pointer.At this; Owing to abrogate pointer PH is to be used to limit the pointer with stopper function that moves that writes pointer PW; Therefore through following the virtual pointer PH that abrogates that reads processing to move to prescribed direction; In the first frame buffer 60a, the zone that can write new line data is bigger than in the past, can reduce the risk that line data that generation generates can't write this situation of the first frame buffer 60a thus.In addition; Even the zones of different of separating along prescribed direction is being carried out under the situation of sector scanning; The approaching situation of distance that also is difficult to write pointer PW and abrogates pointer PH; No matter whether generate the new line data that should write, can both prevent the situation that can't the line data that generated be write the first frame buffer 60a with doing one's utmost.
Need to prove, in this embodiment, become " 1000 " with the threshold setting of reading the line number between pointer PR, but this threshold value is set according to following viewpoint as writing pointer PW.
That is, as stated, in this embodiment, the quantity that constitutes the row of a piece can not surpass 500.And threshold value is two the pairing values of piece (1000 row) as the piece of line number maximum (500 row).This be because; When writing pointer PW and reading pointer PR and separate with the amount of two pieces of the piece that is equivalent to line number maximum (500 row); According to the relation of the line number (8400 row) of the prescribed direction in the whole zone of the first frame buffer 60a, we can say to write pointer PW and read pointer PR and separate relatively enough big distance.
That kind as described above; In this embodiment, control part 40 is controlled as follows and is abrogated moving of pointer PH, promptly; Regardless of the position of reading pointer PR, abrogate pointer PH and can not read the position of the row that line data write of uncompleted data still above comprising to the prescribed direction side.
In view of the above; Abrogating the mobile of pointer PH is controlled so as to; Regardless of the position of reading pointer PR; Can not surpass and comprise and not read the position of the row that line data write of uncompleted data still,, can prevent effectively therefore that new line data is written to comprise in the row that line data write of reading uncompleted data still because mobile not being controlled so as to that writes pointer PW can not surpass this to the prescribed direction side and abrogate pointer PH to the prescribed direction side.
In addition, in this embodiment, control part 40 can carry out reading of data as follows, that is, in sector scanning, belong to as the data in a plurality of different zone among the first frame buffer 60a of ring impact damper and read according to the zone.And; Control part 40 is controlled as follows; That is, when in a line data, including the data that belong to a plurality of different zones respectively, to belong to that each regional data carries out respectively read completion before; Regardless of the position of reading pointer PR, all make and abrogate pointer PH does not surpass position from the row that this line data is written into to the prescribed direction side.
In view of the above; When sector scanning; Reading according to the zone when belonging to as the data of a plurality of zoness of different among the first frame buffer 60a of ring impact damper; Even when in a line data, comprising the data that belong to a plurality of different zones respectively, the total data that is comprised be done read before, also can effectively prevent in the row that this line data is written into, to write new line data.
In addition; In this embodiment; Control part 40 is controlled as follows, that is, promptly the first frame buffer 60a and the piece that forms are accomplished after the writing of line data that each row that belongs to a piece carries out cut apart the ring impact damper according to a plurality of row according to each; In this piece, make and read pointer PR and move to said prescribed direction; And read the line data of the row that belongs to this piece towards prescribed direction, belong in different zones under the situation of a piece, regardless of the position of reading pointer PR; All control and abrogate moving of pointer PH, so that it does not surpass the position of reading the row that the line data of uncompleted data still is written into comprising in the row that belongs to this piece to the prescribed direction side.
In view of the above; Can be through carry out the high efficiency that realizes reading processing of reading of line data with block unit; And; In piece, exist to comprise under the situation of reading the line data of uncompleted data still, abrogate moving of pointer PH so that the mode that does not surpass the row that this line data is written into to the prescribed direction side is controlled, thereby can prevent in this row, to have new line data to be written into effectively.
In addition; In this embodiment; Control part 40 is controlled as follows, that is, promptly the first frame buffer 60a and the piece that forms are accomplished after the writing of line data that each row that belongs to a piece carries out cut apart the ring impact damper according to a plurality of row according to each; The position of reading the row that should read of pointer PR in this piece of expression is moved; And in this piece, make and read pointer PR and move to prescribed direction, meanwhile, the line data that will belong to the row of this piece towards prescribed direction is read; Write pointer PW and read between the pointer PR and the row that line data write that need not read for being clipped in, carry out and not read and make and read pointer PR and virtually read processing towards what prescribed direction moved to being written to line data in this row.
In view of the above, write pointer PW and read between the pointer PR and write the row of the line data that need not read, carry out and do not read the line data that is written to this row and make and read pointer PR and virtually read processing towards what prescribed direction moved for being clipped in; Therefore; The line data that carries out to the whole row that belong to piece write completion before, can make and read pointer PR and move, thus towards prescribed direction; In the first frame buffer 60a, accomplish and read, can guarantee to write the zone of new line data more.
In addition; In this embodiment; Control part 40 is controlled as follows, that is, writing pointer PW and reading pointer PR under the situation of separating on the prescribed direction more than the threshold value; Being written to the line data during that is clipped in each row between said pointer, the row that is clipped between said pointer is carried out the virtual processing of reading for the data that need not read.
In view of the above; Writing pointer PW and reading pointer PR and on prescribed direction, separate more than the threshold value and when being written to line data in each row that is clipped between said pointer for the data that need not read; Because the row to being clipped between said pointer is carried out the virtual processing of reading, and therefore can under the situation of necessity, suitably carry out the virtual processing of reading.
In addition; In this embodiment; Control part 40 is controlled as follows; Promptly; Can carry out reading of line data with the mode of the line data that belongs to a plurality of zoness of different among the first frame buffer 60a being read according to the zone, separate along prescribed direction between zone in the first frame buffer 60a and another zone and this zone under piece and another piece under this another zone between accompany when being written into the line data that need not read capable, read processing to said row execution is virtual.
In view of the above; To being present in a piece and the row between another piece under another zone under the zone, carry out the virtual processing of reading under the data conditions that need read not existing, thus; Line data that whole row of the piece under constituting another zone carry out write completion before; Reading pointer PR can move towards prescribed direction, thus, can guarantee in the first frame buffer 60a, to read the zone of completion more, in other words promptly can write the zone of new line data.
In addition, in this embodiment, control part 40 is controlled as follows, writes moving of pointer PW through following the pointer PH control abrogated of reading pointer PR, writes pointer PW and does not surpass this to the prescribed direction side and do not abrogate pointer PH thereby make.
In view of the above, along with through virtual read to handle to make read pointer PR and move to prescribed direction, follow this pointer PH that abrogates that reads pointer PR and also move to prescribed direction, corresponding to this, can guarantee to write the zone of new line data more.
More than, the embodiment of the utility model is illustrated, but the utility model is not limited to this.
In the above-described embodiment; Control basal plate (omitting diagram) being equipped on the point impact printer 10 goes up control part 40 each pointer of management of installing, but also can constitute for example through managing said pointer with the point impact printer 10 outside devices that are connected.That is, each functional block shown in Figure 4 realizes that through the concerted action of hardware and software the mounting means of concrete hardware and the specification of software etc. are for arbitrarily, and the formation of other detail sections also can at random change.
In addition; In the above-described embodiment; Enumerate out the utility model is applicable to that the situation of the platypelloid type device of horizontal feed recording medium S is illustrated as an example and to it; But the utility model is not limited to this, can also be applicable to certainly in the device of recording medium S with the transport path of the state conveying of setting that possesses account page or leaf forms such as checks.In addition; In the above-described embodiment; Enumerate and possess the point impact printer 10 that optical information reads printing equipment 110 and be illustrated as an example and to it; But the utility model is not limited to this, for example, also can constitute to be provided with in printer at ink jet type, thermal printer, the laser printer etc. with information and read the suitable optically read portion of printing equipment 110.In addition; Be not limited to the equipment that uses as independent printer, also can be equivalent to optically read the structure that information reads printing equipment 110 for being provided with in the device in other equipment of packing into (ATM (ATM, Automated Teller Machine) or CD (ATM, Cash Dispenser) etc.).
And then, being not limited in the structure that optical pickup device 110 is set on the device of recording medium recording literal such as paper or image integratedly, the utility model goes for for example comprising in the plurality of devices of scanner device independently or duplicating machine.
That is, the application's utility model can extensively suitably be applicable to can the optical pickup device of optically read medium in.

Claims (3)

1. optical pickup device is characterized in that possessing:
Optically read portion, it has optically read optical element is carried out on the surface of medium, this optical element shape that arranges in a row;
Storage part, it is formed with and writes through said optically read the ring impact damper according to the reading of data that reads of row unit, and stores: write pointer, it representes the position of the row that the reading of data of said capable unit is written into; Read pointer, the position of the row that the said reading of data that its expression is stored is read; Abrogate pointer, its expression can be deleted or the position of rewritable said row,
Control part is to the said write pointer that is stored in said storage part, saidly read pointer and the said pointer of abrogating is managed.
2. optical pickup device according to claim 1 is characterized in that,
Have the second optically read portion, it has the optical element that the second surface of said medium is carried out the optically read shape that arranges in a row, and the second surface of said medium is and surperficial different surface by said optically read said medium that reads,
Said storage part is formed with the second ring impact damper, and this second ring impact damper is written into the reading of data that reads according to the row unit through said second optically read.
3. optical pickup device according to claim 1 is characterized in that,
Have the conveying road of carrying said medium,
Said optically read reads in the said medium of carrying on the said conveying road.
CN 201220041700 2011-03-09 2012-02-09 Optical reading device Expired - Fee Related CN202615787U (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011-051963 2011-03-09
JP2011051963A JP2012190169A (en) 2011-03-09 2011-03-09 Optical reading device, control method for optical reading device, and program

Publications (1)

Publication Number Publication Date
CN202615787U true CN202615787U (en) 2012-12-19

Family

ID=47083272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220041700 Expired - Fee Related CN202615787U (en) 2011-03-09 2012-02-09 Optical reading device

Country Status (2)

Country Link
JP (1) JP2012190169A (en)
CN (1) CN202615787U (en)

Also Published As

Publication number Publication date
JP2012190169A (en) 2012-10-04

Similar Documents

Publication Publication Date Title
CN102131031B (en) Optical reading device, control method for optical reading device, and program
CN102196118B (en) Optical reading device, control method for an optical reading device, and program
CN102131032B (en) Optical reading device, control method for an optical reading device, and storage medium
CN102137213B (en) Optical reader, control method of optical reader
CN102348035A (en) Optical reading device, control method for an optical reading device, and storage medium
CN101987535B (en) Transportation alignment device, control method for a transportation alignment device, and recording device
CN102137212B (en) Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
CN202264499U (en) Information reading and printing apparatus
CN102447801B (en) The control method of electronic equipment, electronic equipment
CN202615787U (en) Optical reading device
CN100495248C (en) Image processing apparatus, image processing method, and computer product
JP2012029121A (en) Reading system, image acquisition device, optical reader, method of regulating image acquisition device, and program
CN202495248U (en) Optical reading device
CN100571322C (en) Image read-out and control method thereof
CN103685809B (en) The control method of electronic equipment and electronic equipment
CN202261520U (en) Electronic equipment
JP5664047B2 (en) Multifunction machine, control method of multi-function machine, and program
JP2011146834A (en) Optical reading device, and control method and control program for the same
JP2006255997A (en) Printer with built-in scanner, and data storage 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121219

Termination date: 20190209