An A/D conversion control apparatus for an internal combustion engine

Abstract: An A/D conversion control apparatus(10) includes a control circuit (129) for controlling various actuators and an A/D converter (14) having a plurality of signal input channels. The control circuit (12) and the A/D converter (14) are packed in different IC packages and perform communication of a handshake system therebetween. Because the control of the A/D converter (14) is performed based on channel start signals which are sequentially transmitted from a time synchronous register (32), complicated control such as schedule control in software is not required. A start signal stored in an asynchronous register (30) is transmitted in response to a signal generated at an asynchronous timing and therefore can be processed at a different timing.

Description: The present invention relates to an A/D conversion control apparatus for internal combustion engine, which apparatus has a plurality of signal input channels. For control of an internal combustion engine for an automobile or the like, an analog/digital (A/D) converter is provided for converting analog signals inputted from various sensors for detecting states of an objective to be controlled, into digital signals. In JP-A-2-153248 is proposed an A/D conversion control apparatus in which a plurality of analog signals are sequentially A/D-converted at a predetermined period by a hardware construction to be stored in predetermined storage areas so that the load of software processing can be decreased. In the control of an internal combustion engine, however, the A/D conversion needs to be performed in synchronism with external signals such as a signal indicating engine rotation positions, as well as the A/D conversion at the predetermined period as in the above conventional apparatus. Thus, because the A/D conversion is performed only at the predetermined period in the conventional A/D conversion control apparatus, the internal combustion engine can not be controlled precisely. The present invention has been made to solve the above problem and has, as an object, to provide an A/D conversion control apparatus in which not only the load of software processing can be decreased but also the A/D conversion can be performed both at a predetermined period and in synchronism with an external signal. EP 474025 discloses an analogue to digital conversion system module for use in an automotive engine control system to convert analogue signals from transducers for processing by an engine micro-computer. The module comprises an A/D converter which has inputs through a plurality of external multiplexers. A control register and logic circuit is provided with signal paths between it and RAM storing a table of command control words, a results table and an address decode circuit. A trigger select and priority circuit coupled to a periodic timer in responsive to external trigger signals to initiate A/D conversion. Said document also discloses, for example, instead of restarting the lower priority queue at its beginning after the higher priority queue has completed its conversion sequence, the lower priority queue could be resumed with the next in its sequence. According to the invention there is provided an A/D conversion control apparatus for an internal combustion engine comprising: A/D converter means having a plurality of input channels; first means for storing start signals for starting designated ones of said plurality of input channels; and second means for storing a start signal required for starting a designated one of said plurality of input channels and for transmitting said start signal based on an external signal, wherein said A/D converter means starts the input channel corresponding to the start signal based on the start signal transmitted from the first and second means, the apparatus further comprising: an analog multiplexer connecting a plurality of input channels to said A/D converter means in response to start signals such that the analog signals are inputted to said A/D converter means through the input channels; and wherein the first means comprises a time synchronous register having a plurality of storage areas, for storing the start signals for said input channels and for sequentially outputting start signals for starting the input channels start, in synchronism with time; and said second means comprises an asynchronous register for outputting a prestored start signal at a time synchronous with generation of the external signal; an AD schedule control circuit for receiving the start signals from both said registers and selecting one of the received start signals to output the selected start signal to said A/D converter means and digital signal storage means for storing digital signals converted by said A/D converter means and, wherein said AD schedule control circuit is arranged to interrupt the output of the start signal supplied from said time synchronous register to said A/D converter means to output the start signal supplied from said asynchronous register to said A/D converter means when the start signal is received from said asynchronous register while the series of start signals are being received from said time synchronous register and then to output to said A/D converter means the start signals supplied from said time synchronous register from the start signal immediately before the interruption. Thus the first means stores the plurality of start signals for starting the designated ones of the plurality of input channels of the A/D converter means. Similarly, the second means stores the start signal for starting the designated one of the plurality of input channels of the A/D converter means and outputs the start signal based on the external signal. The A/D converter means starts the input channels corresponding to the start signals from the first means or the start signal from the second means, respectively. The control of the A/D converter means is performed based on the start signals sequentially transmitted from the first means and the start signal transmitted from the second means. Because the start signal is transmitted from the second means in response to the external signal, the control of the A/D converter means can be performed not only based on the start signal from the first means but also at the timing different from the timing of the start signals from the first means. For the internal combustion engine, the control of the A/D converter means needs to be performed at the different timings, e.g., at every predetermined period and in response to engine rotation. Even in such a case, the start signals stored in the first means can be outputted at the timing of the predetermined period or completion of the A/D conversion and the start signal stored in the second means can be outputted in synchronism with engine rotation. Figs. 1A and 1B are schematic block diagrams; Fig. 2 is a block diagram showing the structure of an A/D conversion control apparatus for an internal combustion engine according to an embodiment of the present invention; Figs. 3A through 3B are diagrams for explaining a data communication system in a first embodiment, where Fig. 3A-1 shows a synchronous register, Fig. 3A-2 shows an asynchronous register and Fig. 3B shows the operation timing; Fig. 4 is a flow chart for explaining the operation when a CPU starts the synchronous register; Figs. 5A through 5C are timing charts of the operation of an A/D converter, where Fig. 5A shows the timing chart; Fig. 5B shows the timing chart in a normal scan mode and Fig. 5C shows the timing chart in an external trigger mode; Fig. 6 is a block diagram showing a control circuit in a second embodiment; Fig. 7 is a block diagram in which only the characterized portion in the second embodiment is extracted; and Figs. 8A and 8B are functional diagrams of the A/D converter, where Fig. 8A shows channel setting in a 4-channel scan mode and Fig. 8B shows timings in the 4-channel scan mode. Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Fig. 2 is a block diagram showing an A/D conversion control apparatus 10 according to an embodiment of the present invention. The apparatus 10 includes a control circuit 12 for controlling various actuators and an A/D converter 14 having a plurality of input channels. The control circuit 12 and the A/D converter 14 are constituted as separate or discrete IC packages and communication of a handshake system is performed therebetween. The control circuit 12 is a microcomputer for performing various types of controls such as fuel injection control, ignition timing control, idle rotation speed control and transmission control. Also, the control circuit 12 executes predetermined operations based on digital data supplied from various sensors, digital data A/D-converted by the A/D converter 14, control signals supplied from an external unit. The digital data supplied to the control circuit 12 from the various sensors are such as a crank position, an engine speed, an ignition monitor value, an oxygen sensor value, an automobile speed, an idle signal value, air conditioner signal and a starter signal value. The control circuit 12 includes a CPU 20, a ROM (read only memory) 22, a RAM (random access memory) 24, a timer 26, an asynchronous register 30, a time synchronous register 32, a data pickup register 34, an AD schedule control circuit 36, a shift clock 38 and a shift register 40 therein. The CPU 20 is a central processing unit for, based on a control program stored in the ROM 22, executing various processes, and storing in the RAM 24 or transmitting to the external unit the operation result. The timer 26 supplies synchronous clock pulses to control the whole control circuit 12. The asynchronous register 30 stores a start signal for starting or selecting a designated one of a plurality of signal input channels of the A/D converter 14 and is started or controlled by the CPU 20 based on an asynchronous timing signal which is synchronous with a crank position sensor input or the like so that. the start signal for the A/D conversion is outputted. The time synchronous register 32 stores a plurality of start signals for starting or selecting designated ones of the plurality of input channels of the A/D converter 14. The start signals stored therein are sequentially outputted in synchronism with a synchronous signal from the timer 26. The data pickup register 34 stores after-conversion data obtained by the A/D conversion by the A/D converter 14. The data pickup register 34 has storage addresses in correspondence to the start signal stored in the asynchronous register 30 and the start signals stored in the time synchronous register 32. The AD schedule control circuit 36 is a logic circuit for selecting one of the start signals supplied from the asynchronous register 30 or the time synchronous register 32 and supplying the selected start signal to the shift clock 38. Also, the AD schedule control circuit 36 receives the after-conversion data from the A/D converter 14 to write it in the data pickup register 34 at the same time. The shift clock 38 generates pulses for the number of bits in the after-conversion data at the timing determined by the AD schedule control circuit 36. Based on the pulses generated by the shift clock 38, the timings for the supply of the start signal for each channel of the A/D converter 14 and the reception of the after-conversion data from the A/D converter 14 are determined. In the embodiment, because 16-bit data is transmitted or received, the shift clock 38 generates the pulses for 16 bits. The timing synchronous with time and the timing determined by the synchronous signal which is generated based on the external input such as a crank position sensor input or the like could be considered as the timing determined by the AD schedule control circuit 36. The shift register 40 transmits the start signal for each channel of the A/D converter 14 and receives the after-conversion data from the A/D converter 14. It transmits or receives 16-bit serial data in the embodiment. The A/D converter 14 having a plurality of input channels converts each of analog signals supplied from various sensors into digital data and transmits the digital data to the control circuit 12. As the analog signals supplied to the A/D converter 14 are analog signals indicating a combustion pressure, a knock, an air flow rate, a battery voltage, a water temperature, an inlet air temperature, a throttle opening, and the like. The A/D converter 14 includes an analog multiplexer 50, an ADC core 52, an ADC control circuit 54 and a shift register 56. The analog multiplexer 50 switches 24 input channels of CH0 to CH23 to select the analog signal to be inputted to the A/D converter 14. The selection control of the input channel by the analog multiplexer 50 is controlled by the ADC control circuit 54. The analog signal inputted from the selected channel is supplied to the ADC core 52. The ADC core 52 converts the analog signals into digital signals. The function of A/D conversion by the ADC core 52 is used commonly to the analog signals from the input channels. Thus, one analog signal is selected from among the plurality of analog signals inputted to the analog multiplexer 50 and is subjected to the A/D conversion. The ADC control circuit 54 controls the analog multiplexer 50, the ADC core 52 and the shift register 56 to achieve the A/D conversion by the A/D converter 14. The ADC control circuit 54 transmits the channel start signal supplied from the shift register 56 to the analog multiplexer 50 to make the designated input channel selected and receives after-conversion data from the ADC core 52 to transmit the same to the shift register 56. The shift register 56 receives a start signal for each input channel from the control circuit 12 and transmits the after-conversion data from the ADC core 52 to the control circuit 12. In the embodiment, 16-bit serial data is transmitted and received. According to the above construction, the A/D converter 14 corresponds to A/D converter means and the CPU 20 corresponds to control means. Further, the time synchronous register 32 and the AD schedule control circuit 36 collectively correspond to first storage means and asynchronous register 30 and the AD schedule control circuit 36 collectively correspond to second storage means. A data communication system achieved by the above construction will be described below in detail. Figs. 3A-1, 3A-2, 3A-3 and 3B show a data communication system executed by the control circuit 12 in a first embodiment. In this system channel start signals SKCR0 to SKCR7 for 8 bytes are stored in the time synchronous register 32 as shown in Fig. 3A-1. When the predetermined number of channels is given from the CPU 20, the channel start signals SKCR0 to SKCR are sequentially read out to be transmitted to the A/D converter 14. The channel start signals are sequentially read out one by one from the largest address number based on a given address of the time synchronous register 32 and then the transmission of the channel start signals SKCR is stopped when the channel start signal SKCR0 is transmitted last. Also, as shown in Fig. 3A-2, a channel start signal ASCR for one byte is stored in the asynchronous register 30. When an interrupt is inputted from the external unit, the channel start signal ASCR is transmitted at a timing not synchronous with the reading out of the channel start signals SKCR. As shown in Fig. 3A-3, the data pickup register 34 stores after-conversion data SKBF0 to SKBF7 and ASBF for 9 bytes. These data correspond to the channel start signals SKCR0 to SKCR7 and ASCR, respectively. For instance, data obtained by A/D-converting analog signal inputted to the channel which is started by the channel start signal SKCR4 corresponds to the after-conversion data SKBF4. The timing when the registers 30 to 34 of the control circuit 12 perform a read operation or a write operation are shown in Fig. 3B. The control circuit 12 performs data communication of the handshake system with the A/D converter 14 and the transmission of the channel start signals SKCR0 to SKCR7 and ASCR and the reception of the after-conversion data SKBF0 to SKBF7 and ASBF from the A/D converter 14 are performed at the timing of pulses generated by the control circuit 12. Specifically, the transmission of the channel start signals SKCR0 to SKCR7 and the reception of the after-conversion data SKBF0 to SKBF7 are performed at a predetermined period f1 which satisfies f1 > t, where t is a time required for each A/D conversion. For instance, when an initiation signal is supplied such that the channel start signals are sequentially read out from the signal SKCR7, the channel start signals SKCR0 to SKCR7 stored in the time synchronous register 32 are sequentially transmitted to the A/D converter 14 at the period fl from the channel start signal SKCR7. In synchronism with the transmission of the start signals, data obtained as the result of A/D-conversion by the A/D converter 14 are received as the after-conversion data SKBF7 to be stored in the data pickup register 34. That is, the after-conversion data SKBF7 is received in synchronism with the pulse of the same timing as that when the channel start signal SKCR6 is transmitted. When the after-conversion data SKBF0 for the channel start signal SKCR0 is received, the processing for the transmission and reception is completed. Then the CPU 20 is interrupted and these after-conversion data SKBF0 to SKBF7 are collectively subjected to code error detection and various operation processes. In the system of the present embodiment, the A/D conversion by the A/D converter 14 is interrupted at the time when the asynchronous start signal is inputted and the A/D conversion for the analog signal inputted from the channel corresponding to the asynchronous start signal is executed. For instance, as shown in Fig. 3B, it is assumed that the asynchronous A/D conversion is requested after the channel start signal SKCR4 is transmitted and before the next channel start signal SKCR3 is transmitted. In this case, the A/D conversion for the channel start signal SKCR4 is interrupted temporarily and the channel start signal ASCR stored in the asynchronous register 30 is transmitted to the A/D converter 14 at the timing of the asynchronous request. The interrupted channel start signal SKCR3 is stored as N=4 in the other counter. After the period fl has elapsed, the after-conversion data ASBF is received and stored in the data pickup register 34. At the same time, N = 4 is read out from the counter and the channel start signal SKCR4 is transmitted to the A/D converter 14 again. Fig. 4 is a flow chart for explaining the transmission of the channel start signals SKCR0 to SKCR7 from the CPU 20 of the control circuit 12 in Fig. 3B. At first, a mode of the A/D converter 14 is determined (S401), and the number of channels (addresses where the channel start signals SKCRO through SKCR7 are stored) are set (S403). After this setting are performed, scanning is started (S405) and the channel start signals SKCR0 to SLCR7 are transmitted to the A/D converter 14. As described above, according to the A/D conversion control apparatus of the first embodiment, the control of the A/D converter 14 is performed based on the channel start signals SKCR0 to SKCR7 sequentially transmitted from the time synchronous register 32. Therefore, complicated control such as schedule control in software is not required. The channel start signal ASCR stored in the asynchronous register 30 is transmitted in response to the interrupt signal from the external unit. Therefore, the A/D converter 14 can be controlled for the signal ASCR at the different timing from the timings for the signals SKCR. For control of the internal combustion engine, the A/D converter 14 needs to be controlled at different timings, e.g., at the predetermined period and in synchronism with the engine rotation. For such a case, the present embodiment is so designed that the plurality of channel start signals SKCR0 to SKCR7 stored in the time synchronous register 32 are sequentially transmitted and the channel start signal ASCR stored in the asynchronous register 30 is additionally transmitted in synchronism with the crank position sensor input. In this embodiment, without being notified of the completion of the A/D conversion, the A/D conversion of the corresponding analog signal is considered as completed and the after-conversion data SKBF0 to SKBF7 and ASBF are transmitted at the timing from the control circuit 12. Since the control circuit 12 can execute processing of the after-conversion data SKBF0 through SKBF7 altogether after receiving the predetermined number of data, interrupt requests to CPU20 may be reduced. Further, in the first embodiment, the A/D conversion of the corresponding channels is performed without any waiting time in response to the channel start signal ASCR, whose transmission is asynchronously requested, so that the control can be achieved with good response characteristic. Specifically, it is effective in the ignition timing control for knock control. The knock control is always performed such that the ignition timing does not enter the knock limitation of the engine and is on a very near position to the limitation. Thus, the engine efficiency can be increased so that it is made possible not only to increase the output performance and save fuel consumption but also to use mixed fuels of different octane values. In the knock control, the knock sensor mounted on the cylinder block senses knocks as vibration and the output from the knock sensor is calculated in the control circuit 12 to retard or advance the ignition timing. In this case, the analog signal from the knock sensor needs to be A/D-converted within the time interval between the ignitions so that the next ignition time can be calculated. Therefore, the extremely high response characteristic is required. For instance, when the engine speed is 5000 rpm, the ignition is performed at a period of about 3 ms in the 8-cylinder engine, about 4 ms in the 6-cylinder engine and about 6 ms in the 4-cylinder engine. In addition, because the asynchronous control having the high response characteristic is required for sensor signals such as the combustion pressure signal for the ignition timing control, the first embodiment which performs the asynchronous control in high response characteristic is preferable. Next, the process executed by the A/D converter 14 will be described below. The embodiment is designed to receive the after-conversion data from the A/D converter 14 at the timings of pulses from the control circuit 12 . However, in order to obtain the effect according to the structure in which the channel start signals are transmitted at two different timings, there may be employed a structure in which an A/D conversion end flag from the A/D converter 14 may be detected and transmitted by the control circuit 12. Figs. 5A to 5C show the timings of the transmission and reception of data at the A/D converter 14. Fig. 5A shows the timing of the data communication system according to the embodiment. When the number of channels is set, the channel start signals SKCR are sequentially transmitted from the control circuit 12 at the period f1. At the same timing as this, the after-conversion data SCBF are transmitted. Because there is no after-conversion data for the first channel start signal SKCR3, dummy data is transmitted. At the timing when the asynchronous interrupt is inputted, the A/D conversion for the channel start signal SKCR3 is performed. Fig. 5B shows the case where the A/D converter 14 is set in a normal mode. The after-conversion data is transmitted based on a flag set at the time t when the A/D conversion by the A/D converter 14 is completed. In this construction, data is transmitted at the timing on the A/D converter 14 side but the effect according to the first embodiment can be obtained. Fig. 5C shows a case where the A/D converter 14 is set in an external trigger mode. The A/D conversion is started in response to an external trigger. The after-conversion data is also transmitted to the control circuit 12 at the timing on the A/D converter 14 side in this construction. The second embodiment will be described below. Fig. 6 shows a block diagram of a control circuit 112 of the second embodiment, and Fig. 7 shows a block diagram of only a characterized portion extracted from the second embodiment. It should be noted that the same components as in the first embodiment are assigned with the same reference numerals, respectively, and the description of the same components is omitted. The control circuit 112 of the second embodiment includes the CPU 20, the ROM 22, the RAM 24, the timer 26, the AD schedule control circuit 36, the shift clock 38, and the shift register 40 as in the first embodiment shown in Fig. 2, and further includes a programmable interaction controller (PIC) 128, an asynchronous register 130, a time synchronous register 132, a data pickup register 134, DMAout (a direct memory access) 140 and a DMAin 144. The PIC 128 receives an external interrupt signal and is inputted with a signal at the timing asynchronous with the timing of the timer 26 when the engine speed is high, for example. The asynchronous register 130 includes two registers, one for storing a start command to start one of input channels to be A/D-converted in time synchronism, of a plurality of input channels of the A/D converter 14 (Fig. 2) and the other for storing the A/D data corresponding to the asynchronous start command. The time synchronous register 132 stores the start command. The DMAout 140 sequentially reads out the start commands 0 to n stored in predetermined first storage areas of the RAM 24 to store them in the time synchronous register 132. On the contrary, the data pickup register 134 stores A/D data corresponding to the start command stored in the time synchronous register 132. The DMAin 144 stores A/D data stored in the data pickup register 134 in predetermined areas of RAM 24. The AD schedule control circuit 136 selects the start command transmitted from either the asynchronous register 130 or the time synchronous register 132 to transmit the selected start command to the shift register 40. Also, it receives the A/D data A/D-converted by the A/D converter 14 from the shift register 40. Further, it determines whether the received data is associated with the start command from the asynchronous register 130 or the time synchronous register 132 to store the A/D data in the data pickup register 134 or the asynchronous register 130. According to the control circuit 112 of the second embodiment having the construction as described above, the start commands 0 to n stored in the first predetermined storage areas of the RAM 24 are sequentially read out by the DMAout 140 at a predetermined period to be stored in the time synchronous register 132. The start command stored in the time synchronous register 132 is transmitted to the AD schedule control circuit 36, while other start command is transmitted from the asynchronous register 130 to the AD schedule control circuit 36 based on the asynchronous timing signal inputted to the PIC 128. The AD schedule control circuit 136 selects the start command transmitted from the asynchronous register 130 or the time synchronous register 132 to transmit it to the shift register 40. The second embodiment is the same as in the first embodiment in the process from processing in which there is stored in the shift register 40 the A/D data after the A/D conversion by the A/D converter 14 in accordance with the start command to processing in which the A/D data is transmitted to the AD schedule control circuit 36. The AD schedule control circuit 136 determines whether the received A/D data is for the start command transmitted from the asynchronous register 130 or for the start command transmitted from the time synchronous register 132. When the received A/D data is determined to be for the start command transmitted from the asynchronous register 130, the A/D data is stored in an A/D data register of the asynchronous register 130. On the other hand, when the received A/D data is for the start command transmitted from the time synchronous register 132, the A/D data is stored in the data pickup register 134. The A/D data stored in the data pickup register 134 is stored in a corresponding one of the second predetermined storage areas of the RAM 24 by the DMAin 144. According to the second embodiment, the numbers of the time synchronous register 132 and the data pickup register 134 need not to be set based on the number of input channels of the A/D converter 14, resulting in increasing adaptability of the control circuit. Figs. 8A and 8B show a case where the A/D converter 14 is set in a 4-channel (4ch) scan mode. In this mode shown in Fig. 8A, when one channel is set, the A/D conversion for 4 channels is automatically performed. This construction can be applied to the first embodiment. The time synchronous register 32 or the sequential register 32a may be integrated into the same IC package on the A/D converter 14 side in achieving this mode. Fig. 8B shows that the after-conversion data is transmitted to the control circuit 12 at the timing determined by the A/D converter 14 side. In this case, a flag is necessary to indicate completion of the A/D conversion for 4 channels. Not only the time synchronous register 32 and the sequential register 32a but also the asynchronous registers 30 and 30a may be disposed outside of the control circuit 12. According to the present embodiment, the transmission of the start signal and the reception of the after-conversion data are performed at the same timing so that the control can be made easy and very desirable. In this case, however, if the time t elapses after the start signal is transmitted, the A/D conversion can be regarded to be completed. Therefore, the reception of the after-conversion data needs not take the same timing. The transmission of the start signal and the reception of the after-conversion data may be controlled by an external timing signal from any unit other than the control circuit 12 or the A/D converter 14. As described above, in the control of A/D converter having a plurality of input channels it becomes possible to decrease the processing load of the control circuit, according to the A/D conversion control apparatus for the internal combustion engine of the present invention. According to the A/D conversion control apparatus for the internal combustion engine, the control of the A/D converter means is performed based on the start signals sequentially transmitted from the first storage means, and the start signals stored in the second storage means are transmitted based on the signal from the external unit. Therefore, the control of the second storage means can be performed at the different timing from that of the first storage means. The A/D conversion control apparatus for the internal combustion engine , the A/D converter means transmits the after-conversion data at the timing received from the external unit. Therefore, the control means is not interrupted frequently from the A/D converter means for the after-conversion data.

Claims: An A/D conversion control apparatus for an internal combustion engine comprising: A/D converter means (14) having a plurality of input channels; first means (32,36,24,132,140) for storing start signals for starting designated ones of said plurality of input channels; and second means (30,36,128,130) for storing a start signal required for starting a designated one of said plurality of input channels and for transmitting said start signal based on an external signal, wherein said A/D converter means starts the input channel corresponding to the start signal based on the start signal transmitted from the first and second means, the apparatus further comprising: an analog multiplexer (50) connecting a plurality of input channels to said A/D converter means in response to start signals such that the analog signals are inputted to said A/D converter means through the input channels; and wherein the first means comprises a time synchronous register (32) having a plurality of storage areas, for storing the start signals for said input channels and for sequentially outputting start signals for starting the input channels start, in synchronism with time; and said second means comprises an asynchronous register (30) for outputting a prestored start signal at a time synchronous with generation of the external signal; an AD schedule control circuit (36,136) for receiving the start signals from both said registers (30,32) and selecting one of the received start signals to output the selected start signal to said A/D converter means (14) and digital signal storage means (34) for storing digital signals converted by said A/D converter means and, wherein said AD schedule control circuit is arranged to interrupt the output of the start signal supplied from said time synchronous register (32) to said A/D converter means (14) to output the start signal supplied from said asynchronous register to said A/D converter means when the start signal is received from said asynchronous register (30) while the series of start signals are being received from said time synchronous register and then to output to said A/D converter means (14) the start signals supplied from said time synchronous register (32) from the start signal immediately before the interruption. An A/D conversion control apparatus for an internal combustion engine according to claim 1, wherein the input channel corresponding to the start signal from said second means is arranged to be started with a priority higher than that corresponding to the start signal from said first means when the start signal is received from said second means while the start signals are sequentially received from said first means and, after a process for the start signal from said second means is completed, the input channels are arranged to be sequentially started for the start signals from said first means and the external signal is synchronised with rotation of the engine. An A/D conversion control apparatus for an internal combustion engine according to claim 1 or claim 2, wherein said first means is arranged to sequentially output the plurality of start signals at a predetermined period of time (f1) longer than a time (t) required for A/D conversion by said A/D converter means. An A/D conversion control apparatus for an internal combustion engine according to claim 3, wherein said first means is arranged to sequentially output the plurality of start signals at every predetermined period of time (f1) longer than a time (t) required for A/D conversion by said A/D converter means. An A/D conversion control apparatus for an internal combustion engine according to claim 4, wherein the apparatus further comprises a CPU (20) for designating the input channels corresponding to the analogue signals to be A/D converted. An A/D conversion control apparatus for an internal combustion engine according to claim 4, wherein said AD schedule control circuit is arranged to output the start signal supplied from said asynchronous register to said A/D converter means immediately when the start signal is received from said asynchronous register while the plurality of start signals are sequentially outputted, and then sequentially outputs the plurality of start signals supplied from said time synchronous register to said A/D converter means at every predetermined period of time (f1) from the start signal from said time synchronous register outputted immediately before the output of the start signal supplied from said asynchronous register, after the predetermined time (f1) has elapsed after the output of the start signal supplied from said asynchronous register to said A/D converter means. An A/D conversion control apparatus for an internal combustion engine according to any of claims 1 to 5 and further comprising: random access memory means (24) for storing in first storage areas thereof time-synchronous start commands for A/D conversion and storing in second storage areas thereof for storage of A/D data from said A/D converter means; the second storage means comprising asynchronous register means (130) for outputting an asynchronous start command in response to a signal applied externally and storing therein A/D data from said A/D converter means; the first storage means comprising AD schedule control means (36) for selecting one of said time-synchronous start commands and said asynchronous start command and instructing said A/D converter means so that the input analog signals are converted into the digital signals according to the order of selected commands, and transmitting the A/D data obtained in response to the asynchronous start command into said asynchronous register; and the apparatus further comprising direct memory access means (140 and 144) for transmitting the time-synchronous start commands from said random access memory means to said AD schedule means and transmitting the A/D data obtained in response to the time-synchronous start command into said random access memory means.

Inventors: GOTO YOSHINORI, OGINO TETSUYA, GOTO, YOSHINORI, OGINO, TETSUYA
Applicants: NIPPON DENSO CO, NIPPONDENSO CO., LTD.
Application year: 1994
Main classification: F02D41
IPC codes: F02D41, H03M1, F02D45, G06F3