Patent ID: 12196143

DESCRIPTION OF EMBODIMENTS

Embodiments of the present invention will hereinafter be described with reference to the drawings.

EMBODIMENTS

First Embodiment

An example will be described, in which a first embodiment of the present invention is applied to a control system for an engine incorporated in a vehicle.

FIG.1is a schematic configuration diagram of an engine control system to which the first embodiment of the present invention is applied.

InFIG.1, an engine1includes an air intake passage3through which atmospheric air is taken in. The air intake passage3includes an air cleaner4that filters foreign substances in the atmospheric air, an air flow rate meter6that measures the amount of taken-in air, a throttle valve5that adjusts the amount of taken-in air, a throttle position sensor22, and an air intake temperature sensor19that measures the temperature of taken-in air. Taken-in air is sent into a combustion chamber2by opening/closing operations of an air intake valve8.

The combustion chamber2is provided with a fuel injection valve7and with an ignition plug9that ignites a fuel-air mixture. On an outer wall of the combustion chamber2, a knocking sensor10is disposed, which detects abnormal combustion. A piston11and a crankshaft12are provided as components that convert pressure created by combustion, into rotation. The crankshaft12is fitted with a crank angle sensor13that measures a rotation angle.

Following a combustion cycle, an exhaust gas is discharged to an exhaust passage by opening/closing of an exhaust valve14. The exhaust passage is provided with a catalyst15for purifying the exhaust gas. The engine1is fitted also with a water temperature sensor20that measures the temperature of cooling water for the engine1and with an oil temperature sensor21that measures the temperature of lubricating oil. Locations of placement of these sensors are, however, not shown inFIG.1.

A control system for the engine1will be described.

The engine1according to the first embodiment includes sensor-type components that measure engine conditions, such as the air flow rate meter6, the throttle position sensor22, the knocking sensor10, the air intake temperature sensor19, the crank angle sensor13, the water temperature sensor20, and the oil temperature sensor21.

The engine1includes also actuator-type components that are physically driven to adjust an operation condition of the engine1, such as the throttle valve5, the fuel injection valve7, the air intake valve8, and the exhaust valve14.

Signal lines for transmitting sensor data obtained by sensor-type components are connected to the hub unit16, which serves as a data collecting unit. The sensor data is, therefore, collected together at the hub unit16. The sensor data collected at the hub unit16is transmitted to a control unit18via a serial communication line17for serially transmitting the sensor data. Based on the sensor data, the control unit18calculates optimum operation parameters for an actuator-type component, and the calculated operation parameters are transmitted to the hub unit16via the serial communication line17. Based on the received operating parameters, the hub unit16drives an actuator or transmits a drive signal.

FIG.2depicts a configuration of the hub unit16and the control unit18according to the first embodiment of the present invention.

InFIG.2, the sensor-type components (the air flow rate meter6, the knocking sensor10, the crank angle sensor13, the air intake temperature sensor19, the water temperature sensor20, the oil temperature sensor21) are connected to the hub unit16, the sensor-type components being a plurality of detectors that detect a plurality of operation conditions of the engine1(power generator). These sensor-type components are connected to amplifiers AMP included in the hub unit16. Analog signals, which are pieces of detection data obtained and outputted by the sensor-type components, are amplified by the amplifiers AMP.

The signals from the air flow rate meter6, the knocking sensor10, the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21, the signals being amplified by the amplifiers AMP, are converted into digital values by a multiplexer MPX and analog/digital converters A/D. The multiplexer MPX switches an input channel for analog/digital conversion in accordance with an instruction from a second serial communication unit SC2. The sensor data having been converted into digital values (data given by converting the signals from the air flow rate meter6, the knocking sensor10, the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21into digital values) are transmitted to the second serial communication unit SC2.

The sensor data collected at the second serial communication unit SC2are transmitted from the second serial communication unit SC2to a first serial communication unit SC1via the serial communication line17, the first serial communication unit SC1being included in the control unit18, which is a control unit that controls the engine1serving as a power generator. The control unit18includes an arithmetic unit MC, which calculates operation parameters for the actuator-type components, from the sensor data received by the first serial communication unit SC1.

The calculated operation parameters are transmitted from the arithmetic unit MC to the first serial communication unit SC1and then are transmitted to the second serial communication unit SC2of the hub unit16via the serial communication line17. The second serial communication unit SC2determines types of the received operation parameters, and transmits the operation parameters to drivers DRIVER, which are drivers for the actuator-type components (the fuel injection valve7, the ignition plug9, the throttle valve5), or to a pulse generator PWM1and a pulse generator PWM2that generate signals to the drivers DRIVER, from the operation parameters.

The pulse generator PWM1generates a PWM waveform indicating an injection timing and an injection amount of the fuel injection valve7. In this PWM waveform, a frequency and a phase, which indicate the injection timing, are generated based on a crank angle measured by the crank angle sensor13and on an operation parameter of the ignition timing calculated by the control unit18. A pulse width indicating an injection amount is set based on the operation parameter calculated by the control unit18.

The pulse generator PWM1generates also a pulse wave for actuating the ignition plug9. In this pulse wave, a frequency and a phase that indicate ignition timing are generated based on a crank angle measured by the crank angle sensor13and on an operation parameter of the ignition timing calculated by the control unit18.

The pulse generator PWM2generates a PWM waveform for driving the throttle valve5. A degree of opening of the throttle valve5is determined by the duty ratio of the PWM waveform. The duty ratio is an operation parameter calculated by the arithmetic unit MC of the control unit18. To achieve a target degree of opening of the throttle valve5, the pulse generator PWM2generates and outputs the PWM wave, based on a signal from the throttle position sensor22, the signal being inputted to the pulse generator PWM2via the amplifier AMP.

The crank angle sensor13detects the rotation of the crankshaft12and generates a pulse signal with a frequency corresponding to a rotating speed. The pulse signal from the crank angle sensor13is amplified by the amplifier AMP. The pulse signal amplified by the amplifier AMP is inputted to a timer25, which counts pulses and outputs the number of pulses, i.e., a count value. This count value indicates a crank angle of the engine1, and based on this crank angle, whether the combustion chamber2is in an air intake cycle, in a compression cycle, in an expansion cycle, or in an exhaust cycle can be determined. Crank angle data is transmitted to the first serial communication unit SC1included in the control unit18.

As shown inFIG.2, the hub unit16acquires not only the sensor data from the sensor-type components but also operation signals for the actuator-type components, as sensor data, and transmits the sensor data to the control unit18via the serial communication line17.

The first embodiment shows a process in which an operating voltage and an operating current value, which are outputted from the driver for the fuel injection valve7, are converted into digital values by the A/D converter, and are transmitted to the second serial communication unit SC2.

As in the above configuration, when the sensor data from the sensor-type components and the operation parameters for the actuator-type components are transmitted (communicated) through the serial communication line17, such a large volume of sensor data need to be transmitted (communicated) in a real-time manner.

In a case where a communication system with a transmission rate (communication speed) high enough to handle a volume of data detected is adopted, all pieces of sensor data may be transmitted in sequence. In this case, however, using an expensive communication system is prerequisite.

In serial communication using a limited transmission rate, sensor data needs to be transmitted efficiently in order to execute stable data processing and control.

A transmission scheduling function configured to achieve the above-mentioned efficient transmission of sensor data will hereinafter be described.

FIG.3shows an example in which the first embodiment of the present invention is applied to a controller for a three-cylinder engine serving as a power generator.FIG.3depicts operation conditions of the engine1and sensor data that are transmitted in accordance with operation conditions of the engine1. The sensor data to be transmitted is determined by the operation conditions of the engine1, that is, the cycles of fuel injection, ignition, and combustion. Because the cycles of the engine1are correlated with crank angles measured by the crank angle sensor13of the engine1, an order in which pieces of sensor data are transmitted is set based on the crank angles (set with reference to the crank angles).

A transmission schedule shown inFIG.3will be described. In the example shown inFIG.3, fuel injection, ignition, and combustion are performed in order at a cylinder2, a cylinder3, and a cylinder1, respectively.

First, a fuel is injected by the fuel injection valve7. At this time, to detect variations in timing of opening and closing of the fuel injection valve7, a drive voltage and a drive current of the fuel injection valve7are serially transmitted to the control unit18through the serial communication line17. The drive voltage and the drive current are transmitted only at a point of time of the fuel injection valve7being driven, and are not transmitted in a different period.

In other words, sensor data is serially transmitted only in the period during which sensor data needed for control is obtained. Transmitting data not needed for control, therefore, is unnecessary, in which case the volume of sensor data transmitted through serial communication can be reduced.

Subsequently, a fuel-air mixture is ignited by the ignition plug9to start combustion. At this time, to detect abnormal combustion, sensor data obtained by the knocking sensor10is transmitted to the control unit18via the serial communication line17. This sensor data from the knocking sensor10is transmitted in the period of combustion cycle. The sensor data is not transmitted in other periods, such as the air intake cycle in which knocking does not occur.

Because the sensor data is serially transmitted only in a period during which knocking may occur, transmitting unnecessary data is avoided. This reduces the volume of sensor data transmitted through the serial communication line17.

Sensor data from the air flow rate meter6, however, needs to be constantly transmitted without depending on the combustion cycles of the engine1because sensor data that follows air intake pulsations is needed constantly. This sensor data, therefore, is constantly transmitted through serial communication without depending on a crank angle indicating an operation condition of the engine1.

Data from the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21are data independent of the combustion cycles of the engine1. Measurements by these temperature sensors (the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21) gradually change in several seconds to several 10 seconds, depending on the temperature of the engine1. Sensor data from the temperature sensors thus change at low speed.

It is therefore OK to transmit such sensor data changing at low speed in an idle time in the operation cycles of the engine1, in which idle time fewer sensor data are transmitted.

In other words, such sensor data is transmitted in a period that does not overlap periods in which a drive voltage and a drive current of the fuel injection valve7and sensor data from the knocking sensor10are transmitted. In this period, other sensor data that change at low speed are transmitted as well.

As described above, based on a crank angle indicating an operation condition of the engine1, sensor data is transmitted only in the period in which the data is needed for control, instead of all sensor data being transmitted constantly.

In addition, sensor data can be efficiently transmitted by serially transmitting the sensor data, based on a scheduling table26(a transmission order setting unit included in the control unit18) which determines the order of data transmission in advance such that sensor data changing at low speed is transmitted in a period in which a communication volume is relatively small. The scheduling table26is the transmission order setting unit that sets in advance a transmission order in which sensor data are serially transmitted from the hub unit16, which is the data collecting unit that collects pieces of detection data, to the control unit18, which is the control unit.

FIG.4depicts a fact that in the first embodiment of the present invention, a time required for executing one cycle of the scheduling table26differs between a case where the engine1operates at a low rotating speed and a case where the engine1operates at a high rotating speed. As described above, sensor data transmitted via the serial communication line17is determined based on a crank angle of the engine1. Accordingly, as shown inFIG.4, observing sensor data transmission along the time axis reveals that the time required for executing one cycle of the scheduling table26differs between the case where the engine1operates at a low rotating speed and the case where the engine1operates at a high rotating speed.

Specifically, it is a characteristic fact that when sensor data are serially transmitted according to the scheduling table26that determines the order of transmission of sensor data in advance, based on crank angles indicating operation conditions of the engine1serving as the power generator, a volume of data transmitted through serial communication changes in accordance with an operation speed of the engine1.

As described above, by transmitting the sensor data through the serial communication line17in the order set in advance (transmitting (communicating) the sensor data in the order set based on operation conditions of the engine1serving as the power generator), transmission requests for pieces of sensor data do not collide with each other. As a result, delay times of the sensor data are fixed, which allows data processing, such as low-pass filter processing depending on sampling periods of the sensor data, to be executed without any problem.

An example of a specific method of the serial communication described in the first embodiment will then be described.

In the first embodiment, an example in which serial peripheral interface (SPI) communication, which is full-duplex communication, is adopted as a serial communication method will be described.

FIG.5is a timing chart of a communication method according to the first embodiment. According to this method, the first serial communication unit SC1included in the control unit18serves as a master in SPI communication, and the second serial communication unit SC2included in the hub unit16serves as a slave in SPI communication. In SPI communication, data is transmitted/received, using four communication lines (CS, SCK, MOSI, MISO).

First, a slave to communicate with is selected, according to a change in the logical level of a CS signal. In the first embodiment, communication between the control unit18and the hub unit16is one-to-one communication, and therefore a single CS line is used for the communication. The SCK line carries a clock signal, the MOSI line carries transmission data from the master, and the MISO line carries reception data from the slave.

When the CS signal goes low in a frame1, a clock signal is transmitted from the SCK line. At the same time, a signal requesting sensor data (DATA1) is transmitted from the MOSI line.

Subsequently, at a point of time at which the CS signal goes low in a frame2, the slave transmits a sensor data value (DATA1) through the MISO line. Meanwhile, in the frame2, the master then transmits a signal requesting sensor data (DATA2) through the MOSI line.

In a frame3to follow, the slave transmits a sensor data value (DATA2) through the MISO line. In this manner, the slave transmits sensor data requested by the master, to the master as a response thereto, and this process is repeated to exchange data between the master and the slave. The order and timing of transmission of sensor data requested by the master correspond to the order and timing set in a schedule based on rank angles.

FIG.6depicts an example of a data frame transmitted from the master and a reception frame received by the master.

The bit length of the transmission frame and that of the reception frame in the first embodiment are determined to be 32 bits.

The transmission frame is composed of an 8-bit reception address (R.ADR1), an 8-bit transmission address (T.ADR), and 16-bit transmission data (T.DATA). The reception address (R.ADR1) indicates which sensor's data is requested from the hub unit16, and the transmission address (T.ADR) indicates to which actuator's operation parameter an operation parameter calculated by the control unit18corresponds. The transmission data (T.DATA) indicates the value of an operation parameter.

The reception frame is composed of an 8-bit reception address (R.ADR2) and 24-bit reception data (R.DATA). The reception address (R.ADR2) indicates to which sensor's data received data corresponds, and the reception data (R.DATA) indicates the value of sensor data.

As described above, the first embodiment of the present invention includes the scheduling function that determines the order of transmission of the sensor signals to be transmitted from the hub unit16to the control unit18, and the scheduling function is configured to execute data transmission according to the scheduling table26that determines the order of transmission of the sensor data in advance, based on the operation conditions of the engine1serving as the power generator.

Specifically, based on a crank angle indicating an operation condition of the engine1, sensor data is transmitted only in the period in which the data is needed for control, instead of all sensor data being transmitted constantly, and sensor data are serially transmitted based on the scheduling table26that determines the order of data transmission in advance such that sensor data changing at low speed is transmitted in a period in which a communication volume is relatively small. This allows efficient transmission of the sensor data.

A vehicle controller that in serial transmission executed at a limited transmission rate, can efficiently transmit a large volume of sensor data and stably execute data processing and control, therefore, can be provided.

In the first embodiment described above, the transmission frame and the reception frame do not include an error detection code. A CRC code or the like, however, may be included in these frames when necessary.

In the first embodiment, the configuration in which all the sensors and actuators are connected to the hub unit16has been described. It is, however, not always necessary to connect all the sensors and actuators to the hub unit16. Setting the scheduling table26that determines the order of transmission of sensor data according to types of sensors or actuators connected to the hub unit16offers the same effects of the present invention as described above.

In the first embodiment, the configuration in which the hub unit16has the function of collecting signals from sensors and the function of driving actuators on the basis of operation parameters has been described. The configuration in which the hub unit16has only the function of collecting signals from sensors, however, offer the same effects of the present invention.

In the first embodiment, the scheduling table26is disposed in the control unit18. The scheduling table26, however, may be disposed in the hub unit16.

Second Embodiment

A second embodiment of the present invention will then be described.

As the second embodiment of the present invention, a configuration in which the present invention is applied to the control system for the engine1will be described. In the second embodiment, the configuration in which the present invention is applied to the engine control system, as is in the first embodiment, will be described, with focus being placed on aspects of the second embodiment that are different from the first embodiment.

FIG.7depicts a configuration of the hub unit16and the control unit18according to the second embodiment.

The second embodiment is different from the first embodiment in that the hub unit16includes a buffer memory23. As described in the first embodiment, an operating voltage and an operating current of the fuel injection valve7are converted into digital values by the A/D converter. The digital values, i.e., converted data are stored in the buffer memory23.

FIG.8depicts engine operation conditions and a sensor data transmission schedule.

First, inFIG.8, a fuel is injected by the fuel injection valve7. At this time, to detect variations in timing of opening and closing of the fuel injection valve7, a drive voltage and a drive current of the fuel injection valve7are converted by the A/D converter into digital values, which are stored in the buffer memory23.

This data stored in the buffer memory23is data obtained at a point of time of the fuel injection valve7being driven, and data obtained in a different period is not stored in the buffer memory23. In other words, sensor data is buffered (stored) only in the period during which sensor data needed for control is obtained. This allows a reduction in a storage capacity the buffer needs.

Subsequently, a fuel-air mixture is ignited by the ignition plug9to start combustion. At this time, to detect abnormal combustion, sensor data obtained by the knocking sensor10is transmitted to the control unit18via the serial communication line17This sensor data from the knocking sensor10is transmitted in the period of combustion cycle, and is not transmitted in other periods, such as the air intake cycle in which knocking does not occur.

Because the sensor data is serially transmitted through the serial communication line17only in the period during which data needed for control is obtained, transmitting data not needed for control is avoided. This reduces the volume of sensor data transmitted through serial communication.

After the sensor data from the knocking sensor10is serially transmitted, the drive voltage and the drive current of the fuel injection valve7, the drive voltage and drive current being stored in the buffer memory23, are transmitted.

In this manner, by providing the buffer memory23, timing of serial transmission of different pieces of data can be shifted from each other.

Sensor data from the air flow rate meter6needs to be constantly obtained without depending on the combustion cycles of the engine1because sensor data that follows air intake pulsations is needed constantly. This sensor data, therefore, is constantly transmitted through the serial communication line17without depending on a crank angle indicating an operation condition of the engine1.

Data from the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21are data independent of the combustion cycles of the engine1. Measurements by these temperature sensors (the air intake temperature sensor19, the water temperature sensor20, and the oil temperature sensor21) gradually change in several seconds to several 10 seconds, depending on the temperature of the engine1. Sensor data from the temperature sensors thus change at low speed.

It is therefore OK to transmit such sensor data changing at low speed in an idle time in the operation cycles of the engine1, in which idle time fewer sensor data are transmitted.

In other words, such sensor data is transmitted in a period that does not overlap periods in which a drive voltage and a drive current of the fuel injection valve7and sensor data from the knocking sensor10are transmitted. In this period, other sensor data that change at low speed are transmitted as well.

The second embodiment offers the same effects as the first embodiment offers, and additionally offers the following effects as well.

In the second embodiment, sensor data is transmitted only in the period in which the data is needed for control, instead of all sensor data being transmitted constantly, and sensor data changing at low speed is transmitted in a period in which a communication volume is relatively small. In addition, sensor data is temporarily stored in the buffer memory23, and can be transmitted at timing shifted within a range in which the timing shift does not cause any control-related problem.

In the second embodiment, the drive voltage and current data of the fuel injection valve7are temporarily stored in the buffer memory23, and are serially transmitted at timing shifted from timing of transmission of sensor data from the knocking sensor10.

When sensor data are transmitted through serial communication, therefore, separate pieces of sensor data are transmitted in a distributive manner, in which case a maximum transmission rate can be lowered. An example of sensor data that are transmitted using the buffer memory23is signals that need to be acquired in a short period at a high transmission rate. Transmitting such data using the buffer memory23offers an effect of reducing a peak value of a communication volume.

In addition, it is possible to store data acquired at a high transmission rate in the buffer memory23and then serially transmit the data at a low transmission rate. This offers an effect of further reducing the peak value of the communication volume.

Third Embodiment

A third embodiment of the present invention will hereinafter be described.

In the third embodiment, a configuration in which the present invention is applied to the control system for the engine1will be described. In the third embodiment, the configuration in which the present invention is applied to the engine control system, as is in the first and second embodiments, will be described, with focus being placed on aspects of the third embodiment that are different from the first and second embodiments.

FIG.9depicts a configuration of the hub unit16and the control unit18according to the third embodiment. The third embodiment is different from the first and second embodiments in that a diagnosis unit24is included in the hub unit16. Although the buffer memory23is shown inFIG.9, the buffer memory23may be omitted.

To diagnose a failure of each of the drivers that drive the ignition plug9and the throttle valve5, the diagnosis unit24compares an input value and an output value of the driver to determine whether the driver is in a normal state or in an abnormal state. When determining that the driver is in an abnormal state, the diagnosis unit24transmits a signal indicating the occurrence of abnormality to the second serial communication unit SC2. When receiving the signal indicating the occurrence of abnormality from the diagnosis unit24, the second serial communication unit SC2transmits an abnormality signal to the arithmetic unit MC of the control unit18, via the serial communication line17and the first serial communication unit SC1.

FIG.10depicts a data frame configuration in serial communication according to the third embodiment. This data frame configuration is difference from the data frame configuration of the first and second embodiments in that the reception frame to the master, the reception frame being transmitted from the second serial communication unit SC2serving as the slave to the first serial communication unit SC1serving as the master, includes a 8-bit diagnostic code DIAG indicating diagnostic information. A bit pattern indicating an abnormal part received from the diagnosis unit24is added to the diagnostic code DIAG. The resulting reception frame thus informs the control unit18of abnormality. To indicate a failure by a bit pattern difference, a bit pattern representing a normal state and a bit pattern representing an abnormal state are determined in advance.

The third embodiment offers the same effects as the first and second embodiments offer, and additionally offers the following effects as well.

According to the third embodiment, diagnosis of circuit components in the hub unit16can be executed in the hub unit16. Transmitting data for failure diagnosis to the control unit18is, therefore, unnecessary. As a result, the volume of data in serial communication can be reduced. In a case where a signal indicating the occurrence of abnormality is transmitted to the control unit18via the serial communication line17and then a fail-safe signal is transmitted to actuator-type components via the serial communication line17, a process of determining abnormality and then executing a fail-safe operation takes much time. In the case of the diagnosis unit24being included in the hub unit16, as in the third embodiment, however, the diagnosis unit24can immediately execute a fail-safe operation, such as stopping a failed component, which improves safety.

The example in which the diagnosis unit24diagnoses failures of the drivers that drive the ignition plug9and the throttle valve5has been described. Another configuration may also be possible, in which the diagnosis unit24diagnoses failures of other components making up the hub unit16(failure of the hub unit16), such as the amplifier AMP, the multiplexer MPX, the A\D converter A/D, the pulse generators PWM1and PWM2, and the timer25, and transmits (communicates) diagnosis results to the arithmetic unit MC via the first serial communication unit SC2and the first serial communication unit SC1.

Fourth Embodiment

A fourth embodiment of the present invention will then be described.

In the fourth embodiment, the example in which the present invention is applied to the engine control system, as is in the first and second embodiments, will be described, with focus being placed on aspects of the fourth embodiment that are different from the first and second embodiments.

FIG.11is a diagram showing sensor data along a time axis, the sensor data being transmitted through serial communication to which the fourth embodiment is applied. As shown inFIG.11, a time required for executing one cycle of the scheduling table26differs between a case where the engine1operates at a low rotating speed and a case where the engine1operates at a high rotating speed.

In addition, in a low rotating speed range, additional detection data (additional sensor data) are present, and therefore types of sensor data to be transmitted increases, as indicated inFIG.11. Specifically, the scheduling table26is provided as the scheduling table in which types of detection data partially differ between the case where the engine1, which is the power generator, operates at a low rotating speed and the case where the engine1operates at a high rotating speed, and the number of types of detection data in the case where the engine1operates at a low rotating speed is larger than the same in the case where the engine1operates at a high rotating speed.

In the fourth embodiment, the number of types of sensor data to be transmitted through serial communication in the case where the engine1operates at a low rotating speed is larger than the same in the case where the engine1operates at a high rotating speed.

When the engine1rotates at a high speed, the rotating speed of the crank increases, and consequently the volume of sensor data transmitted via the serial communication line17per unit time increases. Conversely, when the engine1rotates at a low speed, the volume of sensor data transmitted per unit time decreases. As a result, in the state of the engine's rotating at a row speed, a margin for transmitting extra data is created in transmission of data through serial communication. Other types of sensor data, therefore, can be transmitted, in which case the transmission efficiency of serial communication is high and is effectively utilized.

The fourth embodiment offers the same effects as the first embodiment offers, and additionally offers the effects described above.

Detection data added to the low rotating speed range includes, for example, service life data on an actuator or the like.

Fifth Embodiment

A fifth embodiment of the present invention will then be described.

In the fifth embodiment, the configuration in which the present invention is applied to the engine control system, as is in the first and second embodiments, will be described, with focus being placed on aspects of the fifth embodiment that are different from the first and second embodiments.

FIG.12depicts sensor data transmitted through serial communication to which the fifth embodiment is applied. As shown inFIG.12, the fifth embodiment includes the scheduling table26for executing different patterns of communication respectively in a case where the engine1is operating and in a case where the engine1is stopped.

When the engine1is operating, the scheduling table26is followed in data transmission, the scheduling table26determining the order of transmission of sensor data according to a crank angle. When the engine1is stopped, on the other hand, data transmission is scheduled by the arithmetic unit MC included in the control unit18or a timer included in the first serial communication unit SC1.

In other words, when the engine1is operating, sensor data are transmitted according to a schedule based on a crank angle, and when the engine1is stopped, sensor data are transmitted according to a schedule based on time sequence.

Timing of switching between the above two types of scheduling set in the scheduling table26is determined in the following manner: a given threshold for the rotating speed of the engine1is set, and scheduling is switched between a case where the rotating speed is lower than the threshold and a case where the rotating speed is higher than the threshold. The rotating speed can be calculated from a crank angle.

Even when the engine1is stopped and the crank angle does not change any more, therefore, necessary data can be transmitted and received via the serial communication line17.

The fifth embodiment offers the same effects as the first embodiment offers, and additionally offers the effects described above.

In the fifth embodiment, the example in which the scheduling table26for executing different patterns of communication respectively in the case where the engine1is operating and in the case where the engine1is stopped has been described. The fifth embodiment, however, may include the scheduling table26that sets communication executed in a case where the engine1shifts from a stopped state (idling) to an operation state (start) or the scheduling table26for executing different patterns of communication according to operation conditions of the engine1, such as its shifting from the operation state to the stopped state.

Sixth Embodiment

A sixth embodiment of the present invention will then be described.

The sixth embodiment is an example in which the present invention is applied to a controller for an electric motor, which is a power generator different from the engine1.

FIG.13is a schematic configuration diagram of the sixth embodiment.

InFIG.13, the power generator is an electric motor31, and the scheduling table26included in the control unit18or the hub unit16determines the order of transmission (communication) of sensor signals, based on a rotation angle of the electric motor31.

A resolver can be used as a rotation angle sensor27that detects the rotation angle of the electric motor31. Sensor data transmitted to the control unit18via the hub unit16and the serial communication line17includes a temperature sensor signal detected by a temperature sensor28, a current sensor signal detected by a current sensor29, and a voltage detection signal detected by a voltage sensor30.

The internal configuration of the control unit18is the same as that of the first embodiment, and is therefore not described in detail. The internal configuration of the hub unit16includes the second serial communication unit SC2, the amplifier AMP, the multiplexer MPX, the driver DRIVER, the pulse generator PWM1, the pulse generator PWM2, and the timer25, as the internal configuration of the hub unit16of the first embodiment does.

In the sixth embodiment, to which the same technical concept of the first embodiment applies, sensor data is transmitted only in the period in which the data is needed for control, instead of all sensor data being transmitted constantly, based on a rotation angle of the electric motor31, the rotation angle indicating an operation condition of the electric motor31. In addition, sensor data can be efficiently transmitted by serially transmitting the sensor data, based on the scheduling table26which determines the order of data transmission in advance such that sensor data changing at low speed is transmitted in a period in which a communication volume is relatively small.

Thus, according to the sixth embodiment, a vehicle controller that in serial transmission executed at a limited transmission rate, can efficiently transmit a large volume of sensor data and stably execute data processing and control can be provided.

Seventh Embodiment

A seventh embodiment of the present invention will then be described.

The seventh embodiment is an example in which the present invention is applied to an autonomous driving device of a vehicle.

FIG.14is a schematic configuration diagram of the seventh embodiment. An internal combustion engine or an electric motor of the vehicle36and a brake and a steering (vehicle power generator37) of the same are power generators. The scheduling table26disposed in the control unit18or the hub unit17determines the order of transmission of sensor signals, based on a speed of the vehicle36.

A wheel speed sensor32can be used as a sensor that detects a speed of wheels of the vehicle36. Sensor data transmitted from the hub unit16to the control unit18via the serial communication line17include imaging data obtained by a camera33, distance data indicating a distance to an object, the distance data being obtained by a radar34, and distance data indicating a distance to an object, the distance data being obtained by a sonar35.

The internal configuration of the control unit18is the same as that of the first embodiment, and is therefore not described in detail. The internal configuration of the hub unit16includes the second serial communication unit SC2, the amplifier AMP, the multiplexer MPX, the driver DRIVER, the pulse generator PWM1, the pulse generator PWM2, and the timer25, as the internal configuration of the hub unit16of the first embodiment does.

In the seventh embodiment, to which the same technical concept of the first embodiment applies, sensor data is transmitted only in the period in which the data is needed for controlling the vehicle power generator37of the vehicle36, instead of all sensor data being transmitted constantly, based on a vehicle speed of the vehicle36. In addition, sensor data can be efficiently transmitted by serially transmitting the sensor data, based on the scheduling table26which determines the order of data transmission in advance such that sensor data changing at low speed is transmitted in a period in which a communication volume is relatively small.

Thus, according to the seventh embodiment, a vehicle controller (a vehicle controller incorporated in a vehicle) that in serial transmission executed at a limited transmission rate, can efficiently transmit a large volume of sensor data and stably execute data processing and control can be provided.

It should be noted that the internal combustion engine of the vehicle36or the electric motor31is defined as the power generator according to the seventh embodiment.

REFERENCE SIGNS LIST

1engine2combustion chamber3air intake passage4air cleaner5throttle valve6air flow rate meter7fuel injection valve8air intake valve9ignition plug10knocking sensor11piston12crankshaft13crank angle sensor14exhaust valve15catalyst16hub unit17serial communication line18control unit19air intake temperature sensor20water temperature sensor21oil temperature sensor22throttle position sensor23buffer memory24diagnosis unit25timer26scheduling table27rotation angle sensor28temperature sensor29current sensor30voltage sensor31electric motor32wheel speed sensor33camera34radar35sonar36vehicle37vehicle power generatorAMP amplifierMC arithmetic unitSC1first serial communication unitSC2second serial communication unit