1. Field of the Invention
The present invention relates to data transmission equipment and, more particularly, to power interlocking between a main device which comprises a computer, and a peripheral device.
2. Description of the Related Art
Data transmission equipment is an equipment that performs data transmission (sends and receives data) between a main device (a computer) and a peripheral device that is connected to the main device. Such data transmission equipment includes an equipment that performs ‘power interlocking’ that turns a power supply of the peripheral device ON/OFF in tandem with the ON/OFF of the power supply of the main device. This equipment is constituted such that the main device and peripheral device are connected by means of parallel cables and, when the power supply of the main device is turned ON, a signal is transmitted by using one of a multiplicity of parallel cables such that the power supply of the peripheral device is also turned ON at substantially the same time.
However, because parallel cables are used, the cable length is limited to about one meter. This has therefore posed a problem that the main device and peripheral device must be installed within one meter of one another and the freedom of placement is reduced. As a method for resolving this problem of reduced freedom of placement, a connection using switch fabric technology between the main device and peripheral device has been considered. According to the switch fabric technology, by connecting the main device and peripheral device by means of serial cables, the distance between the main device and peripheral device can be extended to about twelve meters and the freedom for placing the peripheral device in a location apart from the main device can be raised.
However, when the freedom of placement is raised in this way, ‘power interlocking’ conversely becomes complicated. That is, due to the small number of lines the serial cables afford, one of these cables cannot be used as a line dedicated to power (a line that transmits a signal to confirm establishment of the power of the main device), and hence it is difficult to turn on the power supply simultaneously. Therefore, a power interlocking method may be considered in which a dedicated line is laid separately from the serial cable, a signal confirming establishment of the power supply of the main device is transmitted to the peripheral device via this dedicated line, the peripheral device detects this power establishment confirmation signal, and power is supplied to an installed PCI board. However, when a dedicated line is laid separately, a problem of increased costs arises.
Meanwhile, in the case of a main device composed of a notebook-type personal computer with a card slot (card bus controller), when the power supply switch is turned ON, the operating system (OS) starts up. When the OS starts up, it is confirmed whether a card is inserted in the card slot. When insertion of a card is confirmed, confirmation of whether a PC card for peripheral-device communication is inserted in the card slot follows. When a communication PC card is recognized, each substrate (PCI board) mounted in the peripheral device is then recognized. However, here, each substrate of the peripheral device must be in a standby state.
However, in the case of the above power interlocking method between a main device and a peripheral device, a power supply of the main device is turned ON, card slots (card bus controllers) are activated, a PC card for peripheral-device communication is recognized and a power supply of the peripheral device is turned ON when a connection with the peripheral-device side is established. Thereafter, each substrate (PCI board) of the peripheral device enters the standby state. Accordingly, when OS startup is completed early, a situation arises where the OS is unable to recognize each substrate of the peripheral device.
It is an object of the present invention is to provide a data transmission equipment that allows a power supply of a peripheral device to be turned ON/OFF in tandem with ON/OFF of a power supply of a main device without laying a dedicated line, and that permits reliable recognition of the peripheral device by the main device.
In order to achieve this object, the present invention provides first and second communication devices connected via a serial communication line, respectively in the main device and the peripheral device, for performing data communication by converting parallel data to serial data. The peripheral device is further provided with a detection circuit for detecting establishment of communication between these communication devices, and a power supply control circuit for powering on expansion portions of the peripheral device in accordance with the detection of establishment of communication by the detection circuit. The computer of the main device starts up an operating system by powering on the power supply to the computer and then recognizes the first communication device and supplies power to the first communication device. Further, after a fixed wait time, the first communication device recognizes the expansion portions provided in the peripheral device via the serial communication line and the second communication device.
With such a constitution, when the operating system is started up as a result of powering on the computer, the operating system recognizes the first communication device and supplies power to the first communication device. Accordingly, when communication is established between the first and second communication devices, the establishment of communication is detected by the detection circuit and power is supplied to the expansion portions as a result of the detection of the establishment of communication. That is, power interlocking is performed. Meanwhile, when the operating system recognizes the first communication device, the expansion portions provided in the peripheral device are recognized via the first communication device, the serial communication line and the second communication device after a fixed wait time. After the powered-on expansion portions have become stable and entered a standby state so as to be able to respond to bus conditions, in accordance with the fixed wait time, a logic of the operating system to seek expansion portions operates. By this, recognition of the expansion portions of the peripheral device is executed reliably by the operating system of the main device.
An embodiment of the present invention will be described hereinbelow with reference to the drawings.
As shown in
The notebook-type personal computer 2 is equipped with manipulation devices such as a liquid-crystal screen, keyboard, and so forth as shown in
Further, the expansion unit 8 is provided with a PCI board such as a digital I/O board or analog I/O board (the substrate of the peripheral device; an example of an expansion portion that extends the functions of the main device) 6; a power supply unit 7 that converts AC power to DC power, a main substrate 27 that comprises an expansion slot 16 in which the PCI board 6 is mounted; and a power supply control switch 17 that supplies DC power to the PCI board 6 via the main substrate 27 and expansion slot 16 by means of the power supply unit 7.
Further, as the main constituents of the data transmission equipment, a PC card (an example of the first communication device) 3, a serial cable (UTP cable; an example of the serial communication line) 4, and a communication board (an example of the second communication device) 5 are provided.
The PC card 3 is a card-type communication substrate that performs parallel-to-serial conversion of transmitted data that is transmitted from the computer of the notebook-type personal computer 2 to the PCI board 6 of an expansion unit 9 and performs serial-to-parallel conversion of received data that the computer of the notebook-type personal computer 2 receives from the PCI board 6 of the expansion unit 9. The PC card 3 is mounted in the card slot 1 of the notebook-type personal computer 2. Further, a first bus interface circuit 13 and a first serial/parallel interface circuit 14 are mounted on the PC card 3 as shown in
The first bus interface circuit 13 performs acts as a bus interface with the card bus controller 12 of the notebook-type personal computer 2.
The first serial/parallel interface circuit 14 is connected between the first bus interface circuit 13 and a serial cable 4, performs parallel-to-serial conversion of transmitted data, performs serial-to-parallel conversion of received data and executes data communication.
The communication board 5 is a communication substrate that performs parallel-to-serial conversion of transmitted data that is transmitted from the PCI board 6 of the expansion unit 8 to the computer of the notebook-type personal computer 2 and performs serial-to-parallel conversion of received data that the PCI board 6 of the expansion unit 8 receives from the computer of the notebook-type personal computer 2. The communication board 5 is mounted in the expansion unit 8 and is connected to the PC card 3 via the serial cable 4. Further, as shown in
The second bus interface circuit 18 acts as a bus interface with the PCI board 6.
The second serial/parallel interface circuit 19 is connected between the serial cable 4 and the second bus interface circuit 18, performs parallel-to-serial conversion of transmitted data, performs serial-to-parallel conversion of received data and executes data communication.
The detection circuit 20 is connected to the second serial/parallel interface circuit 19 and detects establishment of communication between the PC card 3 and the communication board 5.
The power supply control circuit 21 turns ON the power supply control switch 17 in accordance with the detection of the establishment of communication by the detection circuit 20 and thus powers on the PCI board 6.
Further, in
Further, in
Further, because there is no signal of the establishment of communication itself in the communication signals between the switch fabric chips 23 and 24, the detection circuit 20 defines the communication signals to make conditions and detect the establishment of communication.
The operation of the notebook-type personal computer 2 and the expansion unit 8 with the above constitutions will now be described.
As preparation, the PC card 3 and communication board 5 are connected by means of the serial cable 4 and the PC card 3 is inserted in the card slot 1 of the notebook-type personal computer 2. Thereafter, power is supplied from the AC electrical outlets 25, 26 to the notebook-type personal computer 2 and the expansion unit 8 respectively. Here, DC power is supplied by the power supply unit 7 to the communication board 5 of the expansion unit 8 to operate the second bus interface circuit 18 and second serial/parallel interface circuit 19. However, the DC power is not supplied to the PCI board 6 and therefore the expansion unit 8 is in a non-functional state.
When the power supply switch 11 of the notebook-type personal computer 2 is turned ON (step a1), the operating system (OS) of the notebook-type personal computer 2 is started up (step a2). Thereafter, the card bus controller 12 is started up by the OS (step a3) and it is recognized by the OS that a card is inserted in the card slot 1 via the card bus controller 12 (step a4). When a card is recognized by the OS, power is supplied to the card slot 1 (step a5), whereupon the type of card is recognized (step a6).
When power is supplied to the card slot 1 and power is supplied to the PC card 3, communication is established between the first serial/parallel interface circuit 14 of the PC card 3 and the second serial/parallel interface circuit 19 of the communication board 5. Thereupon, the establishment of communication is detected by the detection circuit 20 of the communication boards 5 (step b1), the power supply control switch 17 is turned ON by the power supply control circuit 21 on the basis of the detection of the establishment of communication (step b2), and power is supplied to the PCI board 6 (step b3). The PCI board 6 is then stabilized by the supply of power and enters an operational standby state in response to bus conditions (step b4).
Meanwhile, when the OS recognizes the PC card 3 (switch fabric root), the OS waits for a predetermined time T (for one second, for example; an example of the fixed wait time) (step a7), and then, upon waiting for the predetermined time T, recognizes (detects) the communication board 5 (switch fabric leaf) via the PC card 3 and serial cable 4 (step a8) and then recognizes (detects) the PCI board 6 that is mounted in the expansion slot 16 (step a9).
According to the above steps, the OS is started up by the supply of power to the notebook-type personal computer 2. Thereafter, the PC card 3 in the card slot 1 is recognized by the OS and supplied with power, whereby communication between the first serial/parallel interface circuit 14 of the PC card 3 and the second serial/parallel interface circuit 19 of the communication board 5 is established. Thereupon, the establishment of communication is detected by the detection circuit 20, the power supply control switch 17 is turned ON by the power supply control circuit 21 on the basis of the detection of the establishment of communication, and power interlocking is thus performed between the notebook-type personal computer 2 and the expansion unit 8, which is the peripheral device. Further, the OS of the notebook-type personal computer 2 recognizes the PC card 3 and waits (delays recognition) during the predetermined time T when the OS is going to sequentially recognize (detect) the communication board 5 and the PCI board 6 that is mounted in the expansion slot 16. Therefore, power is supplied to the PCI board 6 and the OS waits until the PCI board 6 is stabile and enters an operational standby state in response to bus conditions, whereby the PCI board 6 is correctly recognized by the OS.
Further, when the power supply switch 11 of the notebook-type personal computer 2 is turned OFF, the supply of power to the PC card 3 of the notebook-type personal computer 2 is shut off and hence communication between the first serial/parallel interface circuit 14 of the PC card 3 and the second serial/parallel interface circuit 19 of the communication board 5 is no longer established. Thus, the establishment of communication is no longer detected by the detection circuit 20 of the communication board 5, the power supply control switch 17 is turned OFF by the power supply control circuit 21, the supply of power to the PCI board 6 is shut off, and power interlocking is executed. Further, the current consumed is reduced because the supply of power to the PCI board 6 is shut off and thus power interlocking is executed. The current consumed is also reduced by shutting off the supply of power to the PCI board 6.
Further, the predetermined time T is calculated by adding together the time (maximum 500 ms) until the power supply control switch 17 is turned ON and the voltage is stable and the time required to set the environment of the chip mounted on the PCI board 6, which is a maximum of 300 ms when an FPGA (Field Programmable Gate Array), for example, is installed. The predetermined time T is set to one second to afford a margin.
As mentioned earlier, according to this embodiment, the OS is started up by powering on the notebook-type personal computer 2, the PC card 3 in the card slot 1 is recognized by the OS and supplied with power and then recognition of the PCI board 6 that is mounted in the expansion unit 8 is executed via the PC card 3, serial cable 4 and communication board 5 by extending the predetermined time T. Therefore, after communication has been established between the PC card 3 and the communication board 5 and the powered-on PCI board 6 has become stable and entered the standby state so as to be able to respond to bus conditions, a logic of the OS to seek the PCI board 6. By this, the PCI board 6 of the expansion unit 8 can be reliably recognized by the notebook-type personal computer 2.
Furthermore, according to this embodiment, because the establishment of communication between the PC card 3 and communication board 5 is detected by the detection circuit 20 and the PCI board 6 is powered on, the need to lay a dedicated line that transmits a confirmation signal confirming the establishment of the power supply of the notebook-type personal computer 2 (main device) to the expansion unit 8 (peripheral device) can be dispensed with.
Further, according to this embodiment, by converting the data of the notebook-type personal computer 2 and expansion unit 8 (parallel data) into serial data and sending and receiving this data by using the serial cable 4, the distance between the notebook-type personal computer 2 and expansion unit 8 can be extended and the freedom of placement of the notebook-type personal computer 2 and expansion unit 8, particularly of the expansion unit 8, can be increased.
In addition, according to this embodiment, because the PC card 3 of the notebook-type personal computer 2 and the communication board 5 of the expansion unit 8 form a switch-fabric (StarFabric) bridge, the OS of the notebook-type personal computer 2 is able to access the expansion unit 8 and easily expand the expansion unit 8 without an awareness of the PC card 3 and the communication board 5 of the expansion unit 8 (at least one peripheral device).
Further, although a digital I/O board or analog I/O board is mounted in the peripheral device (expansion unit) as an expansion portion (PCI board) that expands the functions of the main device in this embodiment, the boards that are mounted are not limited to such I/O boards. Boards on which other functions are installed are also possible.
Moreover, although the communication board 5 is used as the second communication device in this embodiment, the present invention is not limited to the communication board 5. Card-type communication devices such as the PC card 3 can also be used. The second communication device can also be formed by directly mounting a switch fabric (StarFabric) chip on the main substrate 27 of the expansion unit 8 and providing the main substrate 27 with a connector (connection means) that connects with the serial cable 4.
Further, although the expansion unit 8 is provided as a peripheral device in this embodiment, the peripheral device is not limited to or by this expansion unit 8. A hard disk, optical disk recording/playback device or the like can also be provided. Here, the second communication device is provided in the hard disk, optical disk recording/playback device, or the like.
Moreover, according to this embodiment, the PC card 3 of the notebook-type personal computer 2 and the communication board 5 of the expansion unit 8 form a switch fabric bridge, but it may not necessarily be a switch fabric bridge. Any constitution which enables serial communication is acceptable.
Number | Date | Country | Kind |
---|---|---|---|
2004-048841 | Feb 2004 | JP | national |