# US 2013/0305031 A1 · Digital control device and execution method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0305031 A1
- Document ID: US20130305031A1
- Status: Published application
- Kind: A1
- Application number: 13/980,361
- Filed: 2012-01-31
- Published: 2013-11-14
- Earliest claimed: 2011-01-31
- Assignees: Kabushiki Kaisha Toshiba
- Inventors: Yoshiyuki Nitta; Yukitaka Yoshida; Hirotaka Sakai; Tomonari Ishizaka; Susumu Yoshizawa; Yoshito Sameda; Atsushi Kojima; Mamoru Kato; Toshifumi Hayashi
- Web page: https://patentgrep.com/patent/US20130305031A1

## CPC

- G06F 9/441: {Multiboot arrangements, i.e. selecting an operating system to be loaded}
- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G06F 11/26: Functional testing
- G05B 2219/23311: Load new program together with test program
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

In a digital control device, when a normal mode for carrying out a normal process is selected by a mode switch, a computation unit transfers base process code and APL process code which controls the normal process from a code storage device to a main memory, loads the base process code and the APL process code which are transferred to the main memory, and carries out the normal process. When a test mode for carrying out a test process is selected by the mode switch, the computation unit transfers the base process code and test process code which controls the test process from the code storage device to the main memory, loads the base process code and the test process code which are transferred to the main memory, and carries out the test process.

## Claims

### Claim 1

A digital control device comprising:
a mode switch capable of selecting either of a normal mode for carrying out a normal process and a test mode for carrying out a test process;
a code storage device for storing a base process code, an application process code for controlling the normal process, and a test process code for controlling the test process;
a main memory capable of receiving and storing codes transferred from the code storage device;
a boot process code storage memory for storing a boot process code indicative of a code to be transferred from the code storage device to the main memory in each of the normal mode and the test mode; and
a computation unit for reading the boot process code from the boot process code storage memory after power activation, wherein:
when the normal mode is selected by the mode switch, the computation unit causes the base process code and the application process code to be transferred to the main memory by use of the boot process code, so that the computation unit reads the base process code and the application process code thus transferred to the main memory and carries out the normal process, and
when the test mode is selected by the mode switch, the computation unit causes the base process code and the test process code to be transferred to the main memory by use of the boot process code, so that the computation unit reads the base process code and the test process code thus transferred to the main memory and carries out the test process.

### Claim 2

A digital control device comprising:
a mode switch capable of selecting either of a normal mode for carrying out a normal process or a test mode for carrying out a test process;
a code storage device for storing a base process code and an application process code for controlling the normal process;
a main memory capable of receiving and storing codes transferred from the code storage device;
a boot process code storage memory for storing a boot process code indicative of a code to be transferred from the code storage device to the main memory in each of the normal mode and the test mode;
a computation unit for reading the boot process code from the boot process code storage memory after power activation; and
an outer code storage device capable of storing a test process code for controlling the test process and transferring the test process code to the code storage device so that the test process code is stored in the code storage device, wherein:
when the normal mode is selected by the mode switch, the computation unit causes the base process code and the application process code to be transferred to the main memory by use of the boot process code, so that the computation unit reads the base process code and the application process code thus transferred to the main memory and carries out the normal process, and
when the test mode is selected by the mode switch, the computation unit causes the outer code storage device to transfer the test process code to the code storage device so that the test process code is stored therein, and causes the test process code transferred to and stored in the code storage device and the base process code stored in the code storage device in advance to be transferred to the main memory, so that the computation unit reads the base process code and the test process code thus transferred to the main memory and carries out the test process.

### Claim 3 (depends on 2)

The digital control device according to claim 2, wherein:
when the normal mode is selected after the test mode is selected by the mode switch, the computation unit erases, from the code storage device, the test process code transferred to and stored in the code storage device.

### Claim 4 (depends on 1)

The digital control device according to claim 1, wherein:
the code storage device further stores an application test process code;
the boot process code further indicates a storage region of the application test process code within the code storage device;
the mode switch is able to select any of the normal mode, the test mode, and an application test mode; and
when the application test mode is selected by the mode switch, the computation unit causes the application test process code and the base process code to be transferred to the main memory by use of the boot process code, so that the computation unit reads the base process and the test process code thus transferred to the main memory and carries out the test process.

### Claim 5 (depends on 2)

The digital control device according to claim 2, wherein
the outer code storage device stores an application test code,
the boot process code indicates a storage area of the application test process code in the code storage device,
the mode switch can select either of the normal mode, the test mode, or an application test mode, to be transferred;
when the application test mode is selected by the mode switch, the computation unit causes the outer code storage device to transfer the test process code stored in the outer code storage device to the code storage device so that the test process code is stored therein, and causes the test process code thus transferred to and stored in the code storage device and the base process code stored in the code storage device in advance to be transferred to the main memory, so that the computation unit reads the base process code and the test process code thus transferred to the main memory and carries out the test process by use of the base process code and the test process code; and
when the test mode is selected by the mode switch, the computation unit causes the outer code storage device to transfer the application test process code to the code storage device so that the application test process code is stored therein, and causes the application test process code thus transferred to and stored in the code storage device and the base process code and the application process code stored in the code storage device in advance to be transferred to the main memory, so that the computation unit reads the application test process code, the base process code, and the application process code thus transferred to the main memory and carries out the application test process by use of the application test process code, the base process code, and the test process code.

### Claim 6 (depends on 5)

The digital control device according to claim 5, wherein:
when the normal mode is selected after the test mode is selected by the mode switch, the computation unit erases, from the code storage device, the test process code transferred to and stored in the code storage device; and
when the normal mode is selected after the application test mode is selected by the mode switch, the computation unit erases, from the code storage device, the application test process code transferred to and stored in the code storage device.

### Claim 7 (depends on 1)

The digital control device according to claim 1, further comprising a function to erase a code stored in the main memory when a mode is changed by the mode switch.

### Claim 8

An execution method of a digital control device, comprising:
a step of selecting, by a mode switch, either of a normal mode for carrying out a normal process and a test mode for carrying out a test process;
a step of, when the normal mode is selected by the mode switch, a computation unit causing a base process code and an application process code for controlling the normal process to be transferred to a main memory from a code storage device so as to carry out the normal process by reading the base process code and the application process code thus transferred to the main memory; and
a step of, when the test mode is selected by the mode switch, the computation unit causing the base process code and a test process code for controlling the test process, to be transferred to the main memory from the code storage device so as to carry out the test process by reading the base process code and the test process code thus transferred to the main memory.

### Claim 9 (depends on 2)

The digital control device according to claim 2, further comprising a function to erase a code stored in the main memory when a mode is changed by the mode switch.
