Method of inspecting magnetic recording tape using image sensor

A magnetic tape device (100) includes: a winding reel (101) winding a magnetic tape (201); a drive head (103) performing writing information onto the magnetic tape (201) and/or reading the information recorded on the magnetic tape (201); an image sensor (104) picking up an image of a surface of the magnetic tape (201); and a control unit (105) performing image processing on the image picked up the image sensor (104) and determining presence/absence of an abnormality on the surface of the magnetic tape (201), in which the control unit (105) adjusts, in accordance with at least either one of a type of the drive head (103) and a recording density of the magnetic tape (201), a winding speed at which the magnetic tape (201) is wound by the winding reel (101) when the image sensor (104) picks up the image of the surface of the magnetic tape (201).

This application is a National Stage Entry of PCT/JP2019/010225 filed on Mar. 13, 2019, which claims priority from Japanese Patent Application 2018-065058 filed on Mar. 29, 2018, the contents of all of which are incorporated herein by reference, in their entirety.

TECHNICAL FIELD

The present disclosure relates to a magnetic tape device, a method of inspecting a magnetic tape, and a non-transitory computer readable medium.

BACKGROUND ART

A magnetic tape device writes information on a magnetic tape and reads information recorded on the magnetic tape. When the installation environment or the operation method of the magnetic tape device is poor, a media error, in which writing on and reading from the magnetic tape cannot be performed, may occur repeatedly. The media error depends on the state of the tape and the state of the drive head, and it is caused depending on a combination of a certain state of the tape and a certain state of the drive head. Therefore, there is a problem that it is difficult to determine, under the user's environment where the magnetic tape device is installed, which of the state of the magnetic tape or the state of the drive head is the cause of the error.

Patent Literature 1 discloses a magnetic tape device including a tape monitoring mechanism that observes a recording surface of the magnetic tape and detects scratches and stains of the tape.

CITATION LIST

Patent Literature

SUMMARY OF INVENTION

Technical Problem

When a magnetic tape device is equipped with a DAT (Digital Audio Tape) drive or the like of a relatively slow tape speed of around 1 cm/second at the time of reading/writing, it is possible to detect scratches and stains of the tape with a normal image sensor disclosed in Patent Literature 1. However, when a magnetic tape device is equipped with a LTO (Linear Tape-Open) drive or the like of a relatively fast tape speed of around 4 m/second to 9 m/second at the time of reading/writing, it is difficult to detect scratches and stains with a normal image sensor. Further, since the sizes of the scratches and the stains that cause errors become small as the recording density of the magnetic tape improves, it is necessary to detect such scratches and stains of smaller sizes.

An object of the present disclosure is to provide a magnetic tape device capable of detecting a state of a magnetic tape more accurately, a method of inspecting a magnetic tape, and a non-transitory computer readable medium.

Solution to Problem

A magnetic tape device according to a first aspect includes: a winding unit configured to wind a magnetic tape;

a drive head configured to perform at least either one of writing information onto the magnetic tape and reading the information recorded on the magnetic tape;

a sensor unit configured to pick up an image of a surface of the magnetic tape; and

a control unit configured to perform image processing on the image picked up by the sensor unit and to determine presence/absence of an abnormality on the surface of the magnetic tape, in which

the control unit adjusts, in accordance with at least either one of a type of the drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound by the winding unit when the sensor unit picks up the image of the surface of the magnetic tape.

A method of inspecting a magnetic tape according to a second aspect includes:

winding a magnetic tape;

picking up an image of a surface of the magnetic tape;

performing image processing on the picked-up image and determining presence/absence of an abnormality on the surface of the magnetic tape; and

adjusting, in accordance with at least either one of a type of a drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound when picking up the image of the surface of the magnetic tape.

A non-transitory computer readable medium according to a third aspect configured to store a program for causing a control unit to execute the processes of:

winding a magnetic tape by a winding unit;

picking up an image of a surface of the magnetic tape by a sensor unit;

performing image processing on the image picked up by the sensor unit and determining presence/absence of an abnormality on the surface of the magnetic tape; and

adjusting, in accordance with at least either one of a type of a drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound by the winding unit when the sensor unit picks up the image of the surface of the magnetic tape.

Advantageous Effects of Invention

It is possible to provide a magnetic tape device capable of detecting a state of a magnetic tape more accurately, a method of inspecting a magnetic tape, and a non-transitory computer readable medium.

DESCRIPTION OF EMBODIMENTS

First Example Embodiment

Hereinbelow, example embodiments of the present disclosure are described with reference to the drawings.FIG. 1is a diagram showing an example of a magnetic tape device100according to a first example embodiment of the present disclosure.

As shown inFIG. 1, the magnetic tape device100according to the first example embodiment includes a winding reel101serving as a winding unit, a drive head103, an image sensor104serving as a sensor unit, and a control unit105.

The winding reel101winds a magnetic tape201contained in a tape cartridge200.

Further, the drive head103performs at least either one of writing information onto the magnetic tape201and reading the information recorded on the magnetic tape.

Further, the image sensor104picks up an image of a surface of the magnetic tape201wound from the tape cartridge200by the winding reel101.

Further, the control unit105processes the image picked up by the image sensor104and determines presence/absence of an abnormality on the surface of the magnetic tape201.

Further, when the image sensor104picks up an image of the surface of the magnetic tape201, the control unit105adjusts, in accordance with at least either one of the type of the drive head103and the recording density of the magnetic tape201, a winding speed (a tape speed) at which the winding reel101winds the magnetic tape201.

Specifically, when the recording density of the magnetic tape201is higher than the prescribed recording density, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow.

Further, when the winding speed suitable for the drive head103is faster than the prescribed speed, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow.

According to an example of the magnetic tape device100according to the first example embodiment described above, when the image sensor104picks up an image of the surface of the magnetic tape201, the winding speed at which the winding reel101winds the magnetic tape201is adjusted in accordance with at least either one of the type of the drive head103and the recording density of the magnetic tape201.

Therefore, since the recording density of the magnetic tape201is high, even if the sizes of the scratches and the stains (foreign matters) that cause the errors are small, it is possible to detect such scratches and stains of smaller sizes more reliably.

Further, even in the case of the magnetic tape device100equipped with the drive head103that is relatively fast in the winding speed at which the magnetic tape is wound at the time of reading/writing, the winding speed at which the winding reel101winds the magnetic tape201is adjusted when the image sensor104picks up an image of the surface of the magnetic tape201. Therefore, even in the case of the magnetic tape device100equipped with the drive head103that is relatively fast in the winding speed at which the magnetic tape201is wound at the time of reading/writing, it is possible to detect the scratches and the stains that cause the errors more reliably.

Accordingly, it is possible to provide the magnetic tape device100capable of detecting a state of the magnetic tape201more accurately. Therefore, when an error such as a media error occurs, the user can more easily determine whether the cause of the error is in the state of the magnetic tape201or in the state of the drive head103.

Next, another example of the magnetic tape device100according to the first example embodiment of the present disclosure is described.FIG. 2is a diagram showing another example of the magnetic tape device100according to the first example embodiment of the present disclosure.FIGS. 3A and 3Bare examples of photographs of a surface of the magnetic tape201taken by the image sensor104of the magnetic tape device100according to the first example embodiment.FIG. 4is a flowchart explaining a method of inspecting a magnetic tape in the magnetic tape device100according to the first example embodiment.

As shown inFIG. 2, the magnetic tape device100according to the first example embodiment includes the winding reel101serving as the winding unit, at least one roller102, the drive head103, the image sensor104serving as the sensor unit, the control unit105, a storage unit106, and a display unit107.

The winding reel101winds the magnetic tape201contained in the tape cartridge200by being rotated by a motor which is not shown in the drawings. The control unit105controls the motor so as to adjust the speed (the winding speed) at which the winding reel101winds the magnetic tape201.

The roller102is disposed between the winding reel101and the tape cartridge200, and the roller102supports the magnetic tape201wound from the tape cartridge200such that the magnetic tape201passes the prescribed position. Further, by rotating the roller102, the magnetic tape201passes through the prescribed position and is conveyed to the winding reel101. Specifically, the position on the magnetic tape201that passes through the drive head103is adjusted by rotating the winding reel101and the roller102. Accordingly, the positions on the magnetic tape201where the drive head103performs writing and reading are adjusted.

The drive head103performs at least either one of writing information onto the magnetic tape201and reading information recorded on the magnetic tape.

Specifically, the drive head103writes information onto the magnetic tape201and then reads the written information from the magnetic tape201. Then, the control unit105confirms, based on the Reed-Solomon code, whether or not correct information has been written onto the magnetic tape201based on the information read by the drive head103.

In the similar manner, the drive head103reads information from the magnetic tape201and then re-reads the same information from the magnetic tape201. Then, the control unit105confirms, based on the Reed-Solomon code, whether or not correct information has been read from the magnetic tape201based on the information re-read by the drive head103.

When writing or reading of information by the drive head103fails a predetermined number of times or more, the control unit105determines that a media error has occurred. Then, the display unit107of the magnetic tape device100displays that the media error has occurred. Note that when the magnetic tape device100is connected to an external device such as a higher order server or the like, the magnetic tape device100may notify the external device of the media error, and a display unit of the external device may display that the media error has occurred.

The image sensor104is, for example, a CMOS (Complementary MOS) sensor or a CCD (Charge Coupled Device) sensor used in a surveillance camera or the like, and picks up an image of a surface of the magnetic tape201wound from the tape cartridge200by the winding reel101. When the inside of the magnetic tape device100is dark and hence it is difficult to perform image processing of the image picked up by the image sensor104, a light source (omitted in the drawings) may be disposed inside the magnetic tape device100to irradiate the surface of the magnetic tape201.

The image of the surface of the magnetic tape201is picked up by the image sensor104simultaneously with the writing of information onto the magnetic tape201and the reading of information from the magnetic tape201by the drive head103.

However, depending on the type of the drive head103that is mounted on the magnetic tape device100and the type (the recording density) of the magnetic tape201, the winding speed at which the winding reel101winds the magnetic tape may be too fast for the image sensor104to pick up an image of the surface of the magnetic tape201. In such case, the image sensor104picks up an image of the surface of the magnetic tape201in a monitor-only mode different from the modes in which the writing of information onto the magnetic tape201and the reading of information from the magnetic tape201are performed by the drive head103. In the monitor-only mode, the magnetic tape201is wound at a speed slower than the winding speed that is suitable for the type of the drive head103or the recording density of the magnetic tape201, whereby the image sensor104picks up an image of the surface of the magnetic tape201.

The control unit105is an FPGA (Field-Programmable Gate Array) or the like, and controls each part of the magnetic tape device100by being operated in accordance with a hardware language written in the control unit105in advance. Note that the control unit105may be one that includes a CPU which is not shown in the drawings, a storage unit which is not shown in the drawings, and so on, and all of the processing performed by the control unit105may be implemented by causing the CPU execute the program stored in the storage unit.

In this case, the program stored in each storage unit of the control unit105includes a code for implementing processing performed in each storage unit of the control unit105by causing the CPU execute the program. Note that the storage unit may, for example, be configured to include an arbitral storage device that can store this program or various information used for the processing performed by the control unit105. The storage device may be, for example, a memory.

Further, the control unit105includes, for example, a control unit (a microprocessor) that performs control by a firmware with which the whole magnetic tape device100is controlled, a high-order host I/F control unit that controls the interface with the high-order host device, a formatter circuit (including a processor and a DSP) that converts data (information) to an LTO format, a buffer that temporarily stores data, an A/D convertor, a pre-amplifying unit, and a servo circuit that controls the motor.

Specifically, the control unit105controls the operations of the winding reel101, the drive head103, the image sensor104, the display unit107, and so on.

More specifically, the control unit105controls the motor (omitted in the drawings) that rotates the winding reel101when the drive head103writes information onto the magnetic tape201or the drive head103reads information from the magnetic tape201. For example, the control unit105controls the motor (omitted in the drawings) that rotates the winding reel101so that the winding reel101winds the magnetic tape201from the tape cartridge200at a speed suitable for the type of the drive head103or suitable for the recording density of the magnetic tape201.

Further, when the winding speed suitable for the type of the drive head103or suitable for the recording density of the magnetic tape201is too fast for the image sensor104to pick up an image of the surface of the magnetic tape201, the control unit105carries out the monitor-only mode as necessary. For example, when a media error occurs, the control unit105carries out the monitor-only mode. In the monitor-only mode, the control unit105controls the motor (omitted in the drawings) that rotates the winding reel101so that the winding reel101winds the magnetic tape201at a speed slower than the speed suitable for the type of the drive head103or suitable for the recording density of the magnetic tape201.

Specifically, when the recording density of the magnetic tape201is higher than the prescribed recording density, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow. Further, when the winding speed suitable for the drive head103is faster than the prescribed speed, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow.

Further, the control unit105controls the drive head103so that the drive head103performs at least either one of writing information onto the magnetic tape201and reading information recorded on the magnetic tape.

Further, when writing or reading of information by the drive head103fails a predetermined number of times or more, the control unit105determines that a media error has occurred. And, when a media error occurs, the control unit105controls the display unit107so as to display that the media error has occurred. Note that when the magnetic tape device100is connected to an external device such as a higher-order server or the like, the control unit105may notify the external device of the media error. For example, the control unit105notifies an SCSI (Small Computer System Interface) command control unit (omitted in the drawings), which is an interface between the magnetic tape device100and the external device, of the media error. Accordingly, an external device is notified of the media error by the SCSI command attention.

Further, the control unit105determines presence/absence of an abnormality on the surface of the magnetic tape201by performing image processing on the image picked up by the image sensor104.

Specifically, the control unit105detects the scratches or the stains present on the surface of the magnetic tape201by performing image processing on the image picked up by the image sensor104.

Then, when the sizes of the scratches or the stains that are detected are equal to or larger than the prescribed sizes, the control unit105determines that there is an abnormality on the surface of the magnetic tape201. Here, the prescribed sizes may be determined in accordance with the recording density of the magnetic tape201.

Further, the control unit105determines whether or not the detected stains are viscous based on the shapes of the detected stains, and determines that there is an abnormality on the surface of the magnetic tape201when it determines that the stains are viscous.

Further, when the number of the scratches or the number of the stains that are detected is equal to or larger than the prescribed number, the control unit105determines that there is an abnormality on the surface of the magnetic tape201. Here, the prescribed number may be determined in accordance with the type of the drive head103or the recording density of the magnetic tape201.

Further, when the control unit105determines that there is an abnormality on the surface of the magnetic tape201, it controls the display unit107so as to display the presence of the abnormality. Further, when the magnetic tape device100is connected to an external device such as the higher-order server or the like, the control unit105notifies the external device of the abnormality. For example, the control unit105notifies the SCSI command control unit (omitted in the drawings), which is an interface between the magnetic tape device100and the external device, of the abnormality. Accordingly, the external device is notified of the presence of an abnormality on the surface of the magnetic tape201by the SCSI command attention.

The storage unit106temporarily stores the image of the surface of the magnetic tape201acquired by the image sensor104across the overall length of the magnetic tape201. Accordingly, the control unit105can read out, from the storage unit106, an image at a desired position of the magnetic tape201from among the images across the overall length of the magnetic tape201at a desired timing. Thus, the control unit105can determine the state of the surface of the magnetic tape201across the overall length thereof. Further, the storage unit106may temporarily store the result of the image processing performed by the control unit105.

When the control unit105determines that there is an abnormality on the surface of surface of the magnetic tape201, the display unit107displays the presence of the abnormality.

Further, when a media error occurs, the display unit107displays that the media error has occurred.

For example, when the display unit107is an LED (Light Emitting Diode) provided to the magnetic tape device100, the display unit107displays the presence of an abnormality or the occurrence of a media error by turning on the LED.

FIGS. 3A and 3Bshow examples of photographs of the surface of the magnetic tape201taken by the image sensor104.FIG. 3Ashows that there are scratches on the surface of the magnetic tape201. Further,FIG. 3Bshows that there are stains (foreign matters) on the surface of the magnetic tape201. As shown inFIGS. 3A and 3B, there are a variety of scratches and stains on the surface of the magnetic tape201ranging from those having sizes that can be observed visually to those having sizes that cannot be observed visually and detected as a result of the image processing performed by the control unit105.

Next, the method of inspecting the magnetic tape201in the magnetic tape device100according to the example embodiment is described with reference toFIG. 4.

First, the control unit105determines whether or not the image of the surface of the magnetic tape201picked up by the image sensor104is stored in the storage unit106(Step S101).

Note that when the drive head103writes information on the magnetic tape201and when the drive head103reads information from the magnetic tape, the image sensor104picks up an image of the surface of the magnetic tape201.

However, when the winding speed at which the winding reel101winds the magnetic tape201is too fast for the image sensor104to pick up an image of the surface of the magnetic tape201, the image sensor104picks up an image of the surface of the magnetic tape201in the monitor-only mode. In the monitor-only mode, the winding reel101winds the magnetic tape201at a speed slower than the winding speed that is suitable for the type of the drive head103or the recording density of the magnetic tape201, whereby the image sensor104picks up an image of the surface of the magnetic tape201. Specifically, the control unit105determines whether or not the winding speed suitable for the type of the drive head103or suitable for the recording density of the magnetic tape201is too fast for the image sensor104to pick up an image of the surface of the magnetic tape201. Specifically, the control unit105determines whether or not the recording density of the magnetic tape201is higher than the prescribed recording density, or whether or not the winding speed suitable for the drive head103is faster than the prescribed speed. Then, when the recording density of the magnetic tape201is higher than the prescribed recording density, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow. Further, when the winding speed suitable for the drive head103is faster than the prescribed speed, the control unit105adjusts the winding speed at which the winding reel101winds the magnetic tape201so that the winding speed at which the magnetic tape201is wound is made slow.

In Step S101, the control unit105repeats the processing of Step S101when the image of the surface of the magnetic tape201picked up by the image sensor104is not stored in the storage unit106(Step S101; No).

In Step S101, when the image of the surface of the magnetic tape201picked up the image sensor104is stored in the storage unit106(Step S101; Yes), the control unit105performs image processing on the image and determines whether or not there are scratches or stains on the magnetic tape201by performing image processing on the image (Step S102). In other words, the control unit105determines whether or not scratches or stains are detected from the image of the surface of the magnetic tape201as a result of the image processing.

In Step S102, when there are no scratches or stains on the magnetic tape201(Step S102; No), the control unit105proceeds to the processing of Step S107.

In Step S102, when there are scratches or stains on the magnetic tape201(Step S102; Yes), the control unit105determines whether or not the sizes of the scratches or the stains are equal to or larger than the prescribed sizes (Step S103).

In Step S103, when the sizes of the scratches or the stains that are detected are equal to or larger than the prescribed sizes (Step S103; Yes), the control unit105proceeds to the processing of Step S106.

In Step S103, when the sizes of the scratches or the stains that are detected are smaller than the prescribed sizes (Step S103; No), the control unit105determines whether or not the stains are viscous (Step S104). Specifically, the control unit105determines whether or not the stains are viscous based on the shapes of the stains.

In Step S104, when the stains are viscous (Step S104; Yes), the control unit105proceeds to the process of Step S106.

In Step S104, when the stains are not viscous (Step S104; No), the control unit105determines whether or not the number of the scratches or the number of the stains within the prescribed length of the magnetic tape201(the prescribed tape length) is equal to or larger than the prescribed number (Step S105).

In Step S105, when there are the prescribed number or more of the scratches or the prescribed number or more of the stains within the prescribed length of the magnetic tape201(the prescribed tape length) (Step S105; Yes), the display unit107displays that there is an abnormality on the surface of the magnetic tape201(Step S106). Further, when the magnetic tape device100is connected to an external device such as the higher-order server or the like, the control unit105notifies the external device of the abnormality (Step S106).

In Step S105, when there are less than the prescribed number of the scratches or less than the prescribed number of the stains within the prescribed length of the magnetic tape201(the prescribed tape length) (Step S105; No), the control unit105determines whether or not the image at the next position of the magnetic tape201is stored in the storage unit106(Step S107).

Note that the prescribed tape length is, for example, the length of the magnetic tape201that fits in one image picked up the image sensor104.

In Step S107, when the image at the next position of the magnetic tape201is stored in the storage unit106(Step S107; Yes), the control unit105proceeds to Step S102.

In Step S107, when the image at the next position of the magnetic tape201is not stored in the storage unit106(Step S107; No), the control unit105determines that the end (the tape end) of the magnetic tape201has been reached and ends the process.

As described above, according to other examples of the magnetic tape device100according to the first example embodiment and the method of inspecting the magnetic tape201, when the image sensor104picks up an image of the surface of the magnetic tape201, the winding speed at which the winding reel101winds the magnetic tape201is adjusted in accordance with at least either one of the type of the drive head103and the recording density of the magnetic tape201, likewise the example of the magnetic tape device100shown inFIG. 1. Accordingly, it is possible to provide the magnetic tape device100capable of detecting a state of the magnetic tape201more accurately. Therefore, when an error such as a media error occurs, the user can more easily determine whether the cause of the error is in the state of the magnetic tape201or in the state of the drive head103.

Further, the magnetic tape device100includes the display unit107that displays the presence of an abnormality when the control unit105determines that there is an abnormality on the surface of the magnetic tape201. Accordingly, the user of the magnetic tape device100can recognize that there is an abnormality on the surface of the magnetic tape201by confirming the display of the display unit107.

Further, the control unit105determines that there is an abnormality on the surface of the magnetic tape201when the sizes of the scratches or the stains detected from the picked-up image of the surface of the magnetic tape201are equal to or larger than the prescribed sizes. Accordingly, the scratches and the stains present on the surface of the magnetic tape201can be detected more reliably. For example, by determining the prescribed sizes in accordance with the recording density of the magnetic tape201, even when the sizes of the scratches and the stains that cause the errors become smaller as the recording density of the magnetic tape201becomes higher, it is possible to detect such scratches and errors more reliably.

Further, the control unit105determines whether or not the stains detected from the picked-up image of the surface of the magnetic tape201are viscous based on the shapes of the detected stains, and determines that there is an abnormality on the surface of the magnetic tape201when it determines that the stains are viscous. Accordingly, it is possible to detect, from among the stains that are present on the surface of the magnetic tape201, the stains that affect the reading and the writing of information by the drive head103more reliably. Further, even when there are stains on the surface of the magnetic tape201, the control unit105determines that there is no abnormality on the surface of the magnetic tape201when the stains are non-viscous stains that can be removed relatively easily by performing head cleaning or the like. Accordingly, the control unit105does not need to make an unnecessary determination that there is an abnormality on the surface of the magnetic tape201.

Further, the control unit105determines that there is an abnormality on the surface of the magnetic tape201when the number of the scratches or the number of the stains detected from the picked-up image of the surface of the magnetic tape201is equal to or larger than the prescribed number. Accordingly, when there are scratches or stains on the surface of the magnetic tape201by the number that causes errors such as media errors, the control unit105can determine that there is an abnormality on the surface of the magnetic tape201. For example, the prescribed number is determined in accordance with the type of the drive head103or the recording density of the magnetic tape201. Accordingly, even when errors occur due to a small number of scratches and a small number of stains depending on the type of the drive head103or the recording density of the magnetic tape201, it is possible to detect such scratches and stains more reliably.

In the example embodiments described above, the present disclosure has been described as a hardware configuration, however, the present disclosure is not limited thereto. The present disclosure can be realized by performing the processes shown in the flowchart ofFIG. 4by causing a CPU (Central Processing Unit) execute a computer program. Further, the program mentioned above can be stored and provided to a computer using any type of non-transitory computer readable media. Non-transitory computer readable media include any type of tangible storage media. Examples of non-transitory computer readable media include magnetic storage media (such as floppy disks, magnetic tapes, hard disk drives, etc.), optical magnetic storage media (e.g. magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R/W, and semiconductor memories (such as mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory), etc.). The program may be provided to a computer using any type of transitory computer readable media. Examples of transitory computer readable media include electric signals, optical signals, and electromagnetic waves. Transitory computer readable media can provide the program to a computer via a wired communication line such as electric wires and optical fibers, or a wireless communication line.

A magnetic tape device comprising:

a winding unit configured to wind a magnetic tape;

a drive head configured to perform at least either one of writing information onto the magnetic tape and reading the information recorded on the magnetic tape;

a sensor unit configured to pick up an image of a surface of the magnetic tape; and

a control unit configured to perform image processing on the image picked up by the sensor unit and to determine presence/absence of an abnormality on the surface of the magnetic tape, wherein

the control unit adjusts, in accordance with at least either one of a type of the drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound by the winding unit when the sensor unit picks up the image of the surface of the magnetic tape.

The magnetic tape device described in Supplementary note 1, further comprising a display unit configured to display the presence of the abnormality when the control unit determines the presence of the abnormality on the surface of the magnetic tape.

The magnetic tape device described in Supplementary note 1 or 2, wherein the control unit determines the presence of the abnormality on the surface of the magnetic tape when a size of a scratch or a size of a stain detected from the picked-up image of the surface of the magnetic tape is equal to or larger than a prescribed size.

The magnetic tape device described in any one of Supplementary notes 1 to 3, wherein the control unit determines whether or not the stain detected from the picked-up image of the surface of the magnetic tape is viscous based on a shape of the detected stain, and determines the presence of the abnormality on the surface of the magnetic tape when the stain is determined to be viscous.

The magnetic tape device described in any one of Supplementary notes 1 to 4, wherein the control unit determines the presence of the abnormality on the surface of the magnetic tape when a number of the scratches or a number of the stains detected from the picked-up image of the surface of the magnetic tape is equal to or larger than a prescribed number.

A method of inspecting a magnetic tape comprising: winding a magnetic tape;

picking up an image of a surface of the magnetic tape; performing image processing on the picked-up image and determining presence/absence of an abnormality on the surface of the magnetic tape; and

adjusting, in accordance with at least either one of a type of a drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound when picking up the image of the surface of the magnetic tape.

The method of inspecting the magnetic tape described in Supplementary note 6, wherein the presence of the abnormality is displayed when it is determined that the abnormality is present on the surface of the magnetic tape.

The method of inspecting the magnetic tape described in Supplementary note 6 or 7, wherein the presence of the abnormality on the surface of the magnetic tape is determined when a size of a scratch or a size of a stain detected from the picked-up image of the surface of the magnetic tape is equal to or larger than a prescribed size.

The method of inspecting the magnetic tape described in any one of Supplementary notes 6 to 8, wherein whether or not the stain detected from the picked-up image of the surface of the magnetic tape is viscous is determined based on a shape of the stain, and the presence of the abnormality on the surface of the magnetic tape is determined when the stain is determined to be viscous.

The method of inspecting the magnetic tape described in any one of Supplementary notes 6 to 9, wherein the presence of the abnormality on the surface of the magnetic tape is determined when a number of the scratches or a number of the stains detected from the picked-up image of the surface of the magnetic tape is equal to or larger than a prescribed number.

A program for causing a control unit to execute the processes of: winding a magnetic tape by a winding unit;

picking up an image of a surface of the magnetic tape by a sensor unit; performing image processing on the image picked up by the sensor unit and determining presence/absence of an abnormality on the surface of the magnetic tape; and

adjusting, in accordance with at least either one of a type of a drive head and a recording density of the magnetic tape, a winding speed at which the magnetic tape is wound by the winding unit when the sensor unit picks up the image of the surface of the magnetic tape.

The program described in Supplementary note 11 for causing the control unit to execute the process of displaying the presence of the abnormality by the display unit when the control unit determines the presence of the abnormality on the surface of the magnetic tape.

The program described in Supplementary note 11 or 12 for causing the control unit to execute the process of determining the presence of the abnormality on the surface of the magnetic tape when a number of scratches or a number of stains detected from the picked-up image of the surface of the magnetic tape is equal to or larger than a prescribed number.

The program described in any one of Supplementary notes 11 to 13 for causing the control unit to execute the process of determining whether or not the stain detected from the picked-up image of the surface of the magnetic tape is viscous based on a shape of the stain, and determining the presence of the abnormality on the surface of the magnetic tape when the stain is determined to be viscous.

The program described in any one of Supplementary notes 11 to 14 for causing the control unit to execute the process of determining the presence of the abnormality on the surface of the magnetic tape when the number of the scratches or the number of the stains detected from the picked-up image of the surface of the magnetic tape is equal to or larger than the prescribed number.

The present disclosure has been described above with reference to the example embodiments. However, the present disclosure is not to be limited to the above example embodiments. Note that the configuration and the details of the present disclosure can be changed in various ways within the scope of the present disclosure that can be understood by a skilled person.

This application is based upon and claims the benefit of priority from Japanese patent application No. 2018-065058, filed on Mar. 29, 2018, the disclosure of which is incorporated herein in its entirety by reference.

INDUSTRIAL APPLICABILITY

It is possible to provide a magnetic tape device capable of detecting a state of a magnetic tape more accurately, a method of inspecting a magnetic tape, and a non-transitory computer readable medium.

REFERENCE SIGNS LIST