A control apparatus for an input-output device includes a hardware part and a software part, in which a controller in the hardware part carries out a control operation in accordance with a signal from the input-output device, outputs a result of the control operation to a process, and has a timer unit to be excited at a constant period; and the software part has an information process part, a control process part, and an interrupt control unit to switch over the information process part and control process part one another, in which the interrupt control unit suspends an execution of the information process part to execute the control process part in priority and resume the information process part by switching over to the information process part from the control process part, when the execution of the control process part is terminated.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A control apparatus, comprising: an input-output device configured to receive an input signal from a process configured to request a processing; a controller configured to carry out a control operation in accordance with the input signal, to output a result of the control operation to the process via the input-output device, and configured to have: a timer unit configured to be excited at a constant period, and a prediction timer configured to be excited before a constant period given by the timer unit; a hardware part connected between the input-output device and the controller, and including an I/O bus configured to function as a communication path of a control signal and data transmitted between the input-output device and the controller; and a software part configured to be executed in the controller, wherein the software part includes: an information process part configured to execute an information processing; a control process part configured to execute a control processing; and a switchover part configured to perform a switchover between: the information process part, and the control process part; wherein the information process part and switchover part are configured such that at every excitation of the prediction timer, the information process part is notified of a switchover, and the switchover part suspends an execution of the information process part in order to execute the control process part in priority; wherein the switchover part is configured such that at every excitation of the timer unit, the switchover part starts the execution of the control process part; and wherein the switchover part is configured such that after the execution of the control process part is terminated, and within a time period shorter than the constant period of the timer unit, the switchover part performs a switchover between the information process part and the control process part, such that the execution of the information process part is resumed.
2. A control method, comprising: receiving an input signal in an input-output device, from a process configured to request a processing; carrying out, in a controller, a control operation in accordance with the input signal; outputting, from the controller, a result of the control operation to the process via the input-output device; configuring, in the controller: a timer unit to be excited at a constant period, and a prediction timer configured to be excited before a constant period given by the timer unit; switching, in an switching part of a software part executed in the controller, between: an information processing executed in an information process part of a software part executed in the controller, and a control processing executed in a control process part of a software part executed in the controller; wherein at every excitation of the prediction timer, the information process part is notified of a switching, the switching including suspending an execution of the information process part in order to execute the control process part in priority; wherein at every excitation of the timer unit, the switchover part starts execution of the control process part; and wherein after the execution of the control process part is terminated and within a time period shorter than the constant period of the timer unit, the switching includes switching between the information process part and the control process part, such that the execution of the information process part is resumed.
3. A control apparatus, comprising: an input-output device configured to receive an input signal from a process configured to request a processing; a controller configured to carry out a control operation in accordance with the input signal, to output a result of the control operation to the process via the input-output device, and to act: as a timer unit excited at a constant period, and as a prediction timer excited before a constant period given by the timer unit; a hardware part connected between the input-output device and the controller, and including an I/O bus configured to function as a communication path of a control signal and data transmitted between the input-output device and the controller; and a software part configured to be executed in the controller, wherein the software part includes: an information process part configured to execute an information processing; a control process part configured to execute a control processing; and a switchover part configured to perform a switchover between: the information process part, and the control process part; wherein the information process part and switchover part are configured such that at every excitation of the prediction timer, the information process part is notified of a switchover, and the switchover part suspends an execution of the information process part in order to execute the control process part in priority; wherein the switchover part is configured such that at every excitation of the timer unit, the switchover part starts the execution of the control process part; and wherein the switchover part is configured such that after the execution of the control process part is terminated, and within a time period shorter than the constant period of the timer unit, the switchover part performs a switchover between the information process part and the control process part, such that the execution of the information process part is resumed.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
December 6, 2011
April 16, 2013
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.